Category Archives: General

Annotated Clojure links – part 1

RESTafarians will tell you that hypermedia is one of the essential ingredients of REST (and the web in particular), and that most people aren’t taking this seriously enough. In my last posting I claimed that I will write a number … Continue reading

Posted in General | Comments Off

Jeene update: Performance, features and backlog

Don’t know what Jeene is? It will make your JavaScript code run faster read the intro first, then come back to this! Performance examples I was curious about the performance gains of functions specialized via Jeene, so I ran a … Continue reading

Posted in General | 2 Comments

Jeene: Status

I am happy that Jeene was mentioned on Ajaxian today. This is good it means that the project is more likely to attract potential contributors which is nice since there is quite some work yet to be done. I thought, … Continue reading

Posted in General | Tagged , , | Leave a comment

Jeene: An automatic partial evaluator for JavaScript

The purpose of this posting is to show that is is possible to create an online partial evaluator for JavaScript, written also in JavaScript. As far as I know, this has been not been done before. This post is the … Continue reading

Posted in code specialization, instanceof, JavaScript, partial evaluation | Tagged , , | 3 Comments

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

Syntax-highlighting in web pages

I’ve recently moved my blog to http://blog.higher-order.net. In this transition I used WordPress’ feature of importing blog content from my old blog: higher-order.blogspot.com. Unfortunately all the line-breaks from the pre-formatted JavaScript source code disappeared in the process, and so, I … Continue reading

Posted in General | Leave a comment

blog moved

I’ve moved my blog to blog.higher-order.net — welcome again

Posted in General | Tagged | Leave a comment