Archives

Posts Tagged ‘ruby’

Since my introduction to Ruby by way of talking foxes and chunky bacon, I’ve been fascinated with the works of the enigmatic “why the lucky stiff”, also known as _why. He became famous throughout the Ruby community for his eccentric demeanor and numerous quirky projects, all of which excellently demonstrated the power and beauty of the language in a [...]

Sep 5th, 2009 | Filed under Uncategorized

Twittjr is a system that allows an IBM PCjr to search the public timeline on Twitter. In case you weren’t aware, Twitter is a social micro-blogging service introduced in 2006 and has over five million active users. The IBM PCjr is a personal computer introduced in 1984 and has a 4.77MHz processor, 128KB of RAM, and uses 360KB floppy disks [...]

May 12th, 2009 | Filed under Uncategorized

I had a post half-written for today, but decided it wasn’t going anywhere interesting and scrapped it. I still wanted to post something, so in the spirit of half-finished things, here’s a nice Ruby one-liner from a half-finished project of mine: gets.chomp.strip.scan(/[^ "]+|”[^"]+”/).map{ |s| s.delete(‘”‘) } This takes a line from standard input and splits [...]

May 4th, 2009 | Filed under Uncategorized

These days, it seems like Python is the darling of high-level programming. People build MMOG servers with it, big companies build web app frameworks with it and start research projects to make it go faster, popular webcomic writers extol its virtues, major Linux distributions include it in their base package set, and its geek-tacular Monty Python references charm the pants [...]

Apr 30th, 2009 | Filed under Uncategorized