Archive for August, 2008
Monday, August 18th, 2008
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. I still review papers on computational trust models which was ...
Posted in General | 4 Comments »
Friday, August 15th, 2008
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 exercises on the new Ruby 1.9 Fiber class since it ...
Posted in Extjs, General | 1 Comment »
Friday, August 15th, 2008
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?
...
Posted in General | 4 Comments »
Tuesday, August 12th, 2008
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 what namespace/using are, please read this)
namespace('dk.okooko.model');
using(dk.okooko.model).run(function(m){
...
Posted in General | 5 Comments »