Category Archives: Coding

pdf thingy

Update 2010-05-08:
Google has decided to discontinue Google wave, so  I  will stop updating pdf-thingy.
I’ve spent a couple of hours tinkering with pdf export from wave. I put the result here :
pdf-thingy@appspot.com . You can invite the bot to your wave, when you do it will present a link to a pdf version of the root [...]

icanhas javascript OOP?

In javascript we can express objects using the prototype notation:

var Cat = function () {
this.furry = true;
}
Cat.prototype.greet = function () {
return "meeow";
}

using class mimicking from prototype-js it would be :

var Cat = new Class({
initialize: function (){
[...]

gemcutter: the missing manual

Thanks to Jakob Kruse I now know how to operate RubyGems and gemcutter on windows. Here’s what I did:
1:I downloaded the 1.8.6 ruby installer here
2: I installed gemcutter like this:

gem update –system
gem install gemcutter
gem tumble
gem install jspec

this let me use gemcutter on windows using the current one-click installer

adventures with mingw , ruby,java, rhino and jspec

update 2009-10-21: This post is a writeup of my early experiences with gemcutter and rubygems. The strange runtime error I did not understand was probably related to that I needed to update rubygems to 1.3.5. I now know how to use gemcutter from ruby1.8.6 using the oneclick installer .
I have been using jspec on [...]

unclebob does the prime factor kata

update 2009-11-12: There is an updated version here
unclebob doing the prime factor kata: