Ardekantur

Computer Science, Ruby, and Software Engineering.

Category: Ruby

From Code to Design Document: A Play in Four Acts

Act One: The Code and The Motivation

Here’s the first player, our code.

% ls Repository/trunk/clementine/interfaces/gesture CLGestureCue.cxx CLGestureCueAppearance.h CLGestureListener.cxx CLGestureParser.h CLGestureCue.h [...]

TextMate, Markdown, and following hyperlinks

I’m using Matt Webb’s excellent Plain Text Wiki TextMate bundle for gathering my thoughts, and needed a really basic way to quickly open hyperlinks I’ve saved without copying/pasting and all that nonsense. So, I added this command to the Plain Text Wiki bundle. I’m sure you could get it to work in Markdown’s bundle, as [...]

Multiruby and its Rubygems Mirror

# multiruby_setup update:rubygems Determining latest version for rubygems /opt/local/lib/ruby/1.8/net/http.rb:560:in `initialize’: Connection refused – connect(2) (Errno::ECONNREFUSED) from … [...]

Should Canticore Have a Web-based Editor? and Other Thoughts

So my school term is coming to a close very soon, and I’ll be able to get a little bit more work done on Canticore, which I’ve decided is one of my important projects that deserves my attention. I’ll be happy if I can add 50% more tests to the existing functionality, add a couple [...]

Sinatra 0.9 and Pre-RSpec Modifications

I have no idea if this is the right way to do this, but it certainly works. Say you’re working in Sinatra 0.9, and have an application that subclasses Sinatra::Base. Call it AwesomeApp. What if you want to fiddle around with it — in my case, set application options — before RSpec starts running with [...]