02 Apr 2008

The Tech Press Has Come Along Way

That’s doodoo, baby.

tomayko.com   05:22

27 Jan 2010

HANDY ONE-LINERS FOR RUBY

Nice list of Ruby one-liners when working at the shell. e.g., emulating nl(1):

# number each line of a file (left justified).
    $  ruby -ne 'printf("%-6s%s", $., $_)' < file.txt
# number each line of a file (right justified).
    $  ruby -ne 'printf("%6s%s", $., $_)' < file.txt
# number each line of a file, only print non-blank lines
    $  ruby -e 'while gets; end; puts $.' < file.txt

Unlike some other things, the -p and -e switches are something I’ve always been glad ruby adopted from perl.

fepus.net   10:08

12 Oct 2009

Everything is Unix

Jeremy Zawodny takes a look at the * is Unix thing and throws in some additional goodness: more on fork(2), the benefits of copy-on-write, and atomic file operations.

linux-mag.com   11:25

07 Oct 2009

Perl is Unix

Aristotle Pagaltzis comes through with the simple preforking echo server in Perl.

plasmasturm.org   04:29

05 Jan 2009

Extension/Scripting language comparisons - comp.lang.scheme

“While I do consider the adjective ‘baroque’ to be a compliment, I must point out that Perl is actually more of a romantic piece, with allusions to various classical motifs. My favorite composer is Mahler, which should surprise no one.” — Larry Wall

groups.google.com   15:51

03 Dec 2008

cowsay(1)

Best. Program. Ever.

linuxgazette.net   11:51

03 Apr 2008

Maintainable Programmers

This was a really great lesscode.org piece by Aristotle. The follow-up discussion in the comments was superb as well. Being in the middle of everything really warped my view of what was going on back then, I think.

lesscode.org   18:00

02 Apr 2008

Mistaking Cons for Pros

chromatic on million-line Java programs: “I can only imagine how much larger the Java code would be without all of those XML files.”

oreillynet.com   01:39

25 Jan 2008

Perl as a Web Scripting Language

No, but seriously, the only reason we’re not all using Perl for web development is because all the problems are already solved … and have been since around 1995 or so. (See Also: mod_perl, libwww-perl, Fielding et al.)

jeremy.zawodny.com   11:06

31 Dec 2007

depressing

“maybe try coding something in c”

bash.org   01:23

26 Oct 2007

users.pandora.be   21:32

15 Feb 2007

xkcd.com   18:47

09 Oct 2006

Shell script awk csv file

“I could whip you up something in Java that would take 2 minutes to design, 30 minutes to implement, a day to write the deployment descriptor for, and 3 months to get sign off from the app support people at the client site _b”

nzgames.com   15:33

13 Mar 2006

Tour de Babel

the best shit ever

cabochon.com   11:49