Wednesday, January 16th, 2008
I’m not exactly sure how I’ve missed Enumerable#all? and #Enumerable#any?, but mark them as yet two more reasons to love Ruby. Both methods pass all elements of the collection to a block and they return true or false based on the collection’s matchy-ness. Examples follow:
["Joe Purdy", "Jonathon Coulton"].all? { |artist| artist.rocks? } #=>true
["Fortran", [...]
Tuesday, November 6th, 2007
Just FYI, if you’re using Vim to edit your Ruby code, you really want to be using the vim-ruby scripts, a-like so:
gem install vim-ruby
vim-ruby-install.rb
This will give you some nice ruby-style indention, syntax highlighting, etc etc etc.
Monday, November 5th, 2007
What the duece is Fingr?
Fingr is a Camping mini-app that Web 2.0-ifies Finger.
In other words, it takes something that works just fine and makes it kinda lame :).
The idea is that you can create a jabber account and link it to your Fingr install, send messages to said jabber account and VOILA! They appear as [...]
Wednesday, October 24th, 2007
I’ve been doing some work on the Valley Christian Assembly website: in particular, adding in a way for my Pop to share recorded sermons. The sermons are stored on S3 and I wanted to come up with a cool way for folks to listen to them.
Enter the JW MP3 Player.
Here’s a tip: If [...]
Monday, September 24th, 2007
Peter Seibel (author of Practical Common Lisp) has asked for some Google juice. I love the book and so I thought I would contribute what little Google juice I’VE got to helping getting Practical Common Lisp recognized as the defacto Lisp tutorial.
I know… real smooth :).
Since I always seem to forget how to do this, here are the steps to create a new Rails project and import it into subversion:
mkdir PROJECT_NAME
cd PROJECT_NAME
mkdir branches
mkdir tags
mkdir trunk
rails trunk
cd ../
svn import -m “Initial import.” PROJECT_NAME
Done and done :).
Tuesday, August 1st, 2006
Man, I hate Movable Type. All my posts left the front page because it’s now August. Great reason for a blank home page.I’m moving back to Word Press.
Friday, December 16th, 2005
I spent most of tonight distracted by Amazon’s web services. They have a real simple REST example in Perl, so I downloaded that and spent WAY too long getting LWP and XML::XPath installed on my Powerbook.I was in the middle of writing amazon.rb when I realized that I was spending too much time trying [...]
Thursday, December 15th, 2005
I got a little sidetracked watching Scrooged, but I was able to lay some more foundation for Nanned.My initial idea was to create a table for each item type (movie, book, game) and then link them to the user table via a library table. Unfortunately, this proved harder than I thought. I couldn’t [...]
Sunday, November 13th, 2005
I think I’m moving back to WordPress. I had all these high hopes of hacking on MovableType, but I’m just not up to it. I’m up to my ears in work and personal fun projects and I’m just not going to do it.And this rebuild entries stuff is just killing me.