Monthly Archives: August 2008

Probability Theory: The Logic of Science

This is a bit of an unusual posting. It was triggered because I am frustrated, having just written my third review for the journal TAAS, which I accidentally agreed to do reviews for at some point during my PhD studies. … Continue reading

Posted in General | 4 Comments

Fibers: an exercise

I was involved with arranging and hosting the RubyFools 2008 conference (it was a great conference btw). One of my jobs was to come up with a bunch of Ruby exercises for our Ruby cave. I decided to go with … Continue reading

Posted in Extjs, General | 1 Comment

Fibers: a solution

Here I will post a solution to the Fibers exercise… Post your solutions as comments. Your code should at least pass the following simple test: require ‘fiber_stack’ require ‘test/unit’ class FiberStackTest < Test::Unit::TestCase def test_simple fs = FiberStack.new assert fs.empty? … Continue reading

Posted in General | 4 Comments

Keeping it dry: Generating JavaScript models from Rails models

As I’ve mentioned before, I advocate using a Model-View-Controller pattern for certain types of JavaScript-heavy web-app clients. In spite of recent licensing issues, I still think ExtJS is among the better libraries supporting MVC. For example, (if you don’t know … Continue reading

Posted in General | 5 Comments