RSS
 

Archive for the ‘Open Source’ Category

Google Code Search Released

31 Aug

Finally, Google has released a code search that enables you to search through source code.

Similar to koders.com and others.

I haven’t seen too much of my own publical GPL code in here, but it’s a start.

The question is: Can I search for special characters?

VN:F [1.9.3_1094]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 
Comments Off

Posted in Development, Linux, Open Source

 

Linux Timeline

29 Aug

Linux Journal has a Linux Timeline starting from August 1991, when Linus Torvalds announced he was doing a free unix clone, up to February 2002.

There are lots of entries, the first few are nice. I was curious what’s been happening since 2002?

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 
Comments Off

Posted in Open Source

 

Learn to write “Proper Perl”

24 Aug

Perl::Critic is an excellent way to not only validate your Perl source code, but to learn some tips from the Perl monks who have contributed to the Perl::Critic documentation.

I uploaded one of my latest CGI scripts written in Perl to see how good my Perl chops are…turns out I picked up a few tips that I was unsure about in my previous Perl scripts.

A few simple techniques can be used to make your code more standardized in the event that your are not the only person reading it.

The Perl Critic web site has a nice usable web interface for uploading source code and checking its validity — although for obvious reasons if you’re working on enterprise code you should probably download an install the Perl::Critic CPAN module on your own server.

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 
Comments Off

Posted in Development, Open Source, Perl

 

Tweakin’ with Gimp

24 Aug

While waiting for my system to rebuild a few apps, I decided to tweak the Internet Map with Gimp…

here are the results

I opened up the internet map in gimp, resized it to 1600×1200 (so it’ll fit my resolution as a wallpaper), then starting playing with the filters and scripts from the pulldown menu.
Occasionally, you’ll have multiple layers created from script-fu items. Just merge them down.

If you loose all your color at any given moment, you can always hit the undo button.

Here’s a shot of my current desktop.

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 
Comments Off

Posted in Open Source

 

PHP 5 Objects, Patterns, and Practice – Book Review

19 Aug

I recently finished reading Matt Zandra’s PHP 5 Objects, Patterns, and Practice

Sample chapter: Ch. 08 – Some Pattern Principles can be downloaded from the APress web site.

I used to big a proponent of O’Reilly books, but there’s a new player on the block – APress…I’ve been quite satisfied with the two books, including Fast Track to UML 2.0 by Kendall Scott.

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 
Comments Off

Posted in Open Source

 

Pass by Reference in PHP5

14 Aug

PHP5 has a Pass-by-reference notation: &$bar in line 3 as seen here in the parameter to a function bar(); Basically, this is just a point from the sub routine’s “$bar” back to the caller’s $foo. In this case, a change to the reference variable $bar is reflected in the main variable $foo.

“bar points to/references foo”
$bar => $foo;


1

Output:


foo:foo
bar:foo
bar:bar
foo:bar

Recommended reading: PHP 5 Objects, Patterns, and Practice

VN:F [1.9.3_1094]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 

GQLPlus

09 Aug

If you’re from the MySQL world, and like the command history environment missing in SQL*Plus, take a look at GQLPlus.

You can install it locally and add it to your PATH.

I’ve read about “EDIT” too, which will let you either edit the last line in SQL*Plus, or a file: “EDIT file.sql”.

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Retweet
 
Comments Off

Posted in Open Source