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 pack­age and install gross­er-algo­­rithms in jru­by. gross­er-algo­­rithms is cloned from Kan­wei Li’s algo­rithms. Ruby string match­ing can be used (with speed penal­ty) so the Lev­en­shtein dis­tance exten­sions (which are writ­ten in C) can be … Con­tin­ue read­ing

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

Set­ting up rspec for a sina­tra up. First and fore­most, the ver­sions of the gems I’m using: rspec 2.5.0, rspec-core 2.5.1 sina­tra 1.2.0 autotest 4.4.6 rack-test 0.5.7 Then, Test­ing Sina­tra with Rack::Test is a must read. My bundler Gem­file fol­lows: Read this … Con­tin­ue read­ing

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

Guest account to show in GDM user list

Spot on direc­tions in order to cre­ate 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 beau­ti­ful piece of over­sight which can clar­i­fy many grey areas and con­nect the dots. If you are new to test­ing, as I am, it’s absolute­ly nec­es­sary!  

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

Refactor you wetware chapter 4

Chap­ter 3 mind map of Prag­mat­ic Think­ing & Learn­ing: Refac­tor Your Wet­ware

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