Monthly Archives: January 2008

Austin Ruby Meetup 1-17-2008

We had a good time at the meetup tonight. Steven and I busted out the laptops and shared some code and ideas. He had a nice rails app for learning Latin that supported a tagging architecture. I know next to … Continue reading

Posted in meetup, ruby | Leave a comment

Pipe Directories Over SSH

My good friend Jayk showed me this nifty trick years ago for moving directories over ssh: From a local directory to a remote directory: tar -zcf – . | ssh name@host “tar -zvxf – -C <destination directory>” From a remote … Continue reading

Posted in friends, unix | Leave a comment

Bugfixing, Ruby-cubing and Reading

This last week I’ve spent primarily putting out fires and fixing issues in TR. Seems that everyone has woken up from their eggnog and shopping induced comas and realized that we need to get a solid release out the door. … Continue reading

Posted in personal, tabula rasa | Leave a comment

Build Huffman Compression in Ruby

Many wonderful things can be done with binary trees. One brilliant usage of the binary tree was proposed by David Huffman in 1951 at MIT which has since become the foundation for much of the compression technology available today. Huffman … Continue reading

Posted in algorithms, ruby | 5 Comments

Build a Binary Tree in Ruby

Building algorithms in ruby is fun and rewarding. This binary tree doesn’t balance itself but it is simple and flexible using ruby blocks for visit and insert. Traversal style can be selected optionally to visit with :inorder, :preorder or :postorder. … Continue reading

Posted in algorithms, ruby | 2 Comments

Alternatives to Lexical Binding with Ruby

In ruby the default way to get a name to return a value is via ruby’s lexical scoping rules. Lexical scoping rules use the way the code is written to determine what a variable name means. You can read the … Continue reading

Posted in ruby | Leave a comment

Using VIM as an Interactive Ruby Environment

I’m working on some ruby code today on a cleanly installed vim. I decided to improve my editing experience a bit and found some a couple enhancements that work quite nice together. Evaluate ruby with the press of a button … Continue reading

Posted in ruby, vim | Leave a comment

Laid-back New Years

Somehow I managed to hurt my back before new years and so I have been laid up in bed for three days. I am extremely fortunate to have a good friend (and neighbor) who is a chiropractor and it seems … Continue reading

Posted in misc, personal, research | Leave a comment