Pages
Archive
- June 2010 (1)
- March 2010 (1)
- December 2009 (2)
- August 2009 (1)
- July 2009 (1)
- June 2009 (4)
- February 2009 (1)
- November 2008 (1)
- October 2008 (2)
- May 2008 (4)
- April 2008 (13)
- March 2008 (4)
- January 2008 (8)
- December 2007 (2)
- November 2007 (3)
- October 2007 (4)
- August 2007 (3)
- July 2007 (7)
- June 2007 (2)
- May 2007 (3)
- April 2007 (8)
- March 2007 (12)
- February 2007 (7)
- January 2007 (2)
- December 2006 (3)
- November 2006 (7)
- October 2006 (7)
- September 2006 (20)
- August 2006 (5)
Recent Comments
art
blogroll
demo scene
friends
game dev
music
programming
ruby
Category Archives: ruby
Tracking down Circular Dependencies in Static Libraries
The GNU linker has some trouble when you present it with multiple library archives that depend upon each other. Libraries with symbols resolved in other libraries must be presented earlier on the command line. You can work around this with … Continue reading
Posted in linking, programming, ruby
1 Comment
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
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
RubyCube on Ubuntu 7.10
I spent a few minutes on my new laptop with RubyCube. Since it uses GLUT as a foundation it was simple to port the extconf.rb to build on Ubuntu. I’m going to have to wait until after we ship TR … Continue reading
Posted in ruby, rubycube, ubuntu
Leave a comment
Implementing a Finite State Machine with a Ruby Domain Specific Language
DSL-FSM.. that kinda sounds like some wierd internet sub-culture. It stands for domain specific language – finite state machine. I proposed both topics as presentation material for the austin-ruby group that I meet with once a month. Steven Harms the … Continue reading
Posted in austin, game programming, meetup, programming, ruby
8 Comments
RubyCube 0.2.1 released to RubyForge
A new windows binary and source distribution is ready on ruby forge with inital support for sprites. I also took this opportunity to fix a few small bugs and update the documentation. This also marks the first public upload of … Continue reading
Posted in game programming, programming, ruby, rubycube
Leave a comment
RubyCube on Mac OS X
I’ve been making small incremental progress. First problem I ran into was: objc: failed objc_getClass(NSObject) for GLUTApplication->isa->isa objc: please link appropriate classes in your program Trace/BPT trap This was pretty easily fixed by making sure to pass ‘-framework Foundation’ to … Continue reading
Posted in macos, ruby, rubycube
Leave a comment