Monthly Archives: March 2011

Installing a gem in JRuby without building the native extensions (and there’ a ruby facility to fall back on)

I use this in order to package and install grosser-algorithms in jruby. grosser-algorithms is cloned from Kanwei Li’s algorithms. Ruby string matching can be used (with speed penalty) so the Levenshtein distance extensions (which are written in C) can be … Continue reading

Share
Posted in Ruby | Comments Off on Installing a gem in JRuby without building the native extensions (and there’ a ruby facility to fall back on)

RSpec, Sinatra and Autotest

Setting up rspec for a sinatra up. First and foremost, the versions of the gems I’m using: rspec 2.5.0, rspec-core 2.5.1 sinatra 1.2.0 autotest 4.4.6 rack-test 0.5.7 Then, Testing Sinatra with Rack::Test is a must read. My bundler Gemfile follows: … Continue reading

Share
Posted in RSpec, Sinatra, Testing | Comments Off on RSpec, Sinatra and Autotest

Guest account to show in GDM user list

Spot on directions in order to create a true guest account and list it in GDM users list. http://askubuntu.com/questions/631/starting-a-guest-session-from-the-login-screen

Share
Posted in Ubuntu | Comments Off on Guest account to show in GDM user list

Notes and mind map on: Mocks Aren’t Stubs

Read the essay! It’s a beautiful piece of oversight which can clarify many grey areas and connect the dots. If you are new to testing, as I am, it’s absolutely necessary!  

Share
Posted in Testing | Comments Off on Notes and mind map on: Mocks Aren’t Stubs

Refactor you wetware chapter 4

Chapter 3 mind map of Pragmatic Thinking & Learning: Refactor Your Wetware

Share
Posted in Productivity | Comments Off on Refactor you wetware chapter 4