Older blog entries for welisc (starting at number 43)

5 Apr 2008 (updated 6 Apr 2008 at 00:23 UTC) »

Thinking about creating a simple application for displaying my family genealogy database. Is it possible to create one that runs entirely in the browser?

Two interesting projects:

TaffyDB is a Javascript database that's designed to be run in a browser.

Mjt is an in-browser web framework.

6 Dec 2005 (updated 24 Mar 2007 at 21:49 UTC) »
Why Reddit was rewritten in Python explains why the Reddit engine, originally developed in Lisp, was rewritten in Python. Basically, it comes down to a lack of libraries in Lisp that are readily available in Python.
21 Oct 2005 (updated 5 Apr 2008 at 09:11 UTC) »
29 Aug 2005 (updated 29 Aug 2005 at 21:04 UTC) »
The horror, the horror.

Tim Bray on Ruby (via Lambda The Ultimate) contains a reference to

... COBOL's ALTER, deprecated 40 years ago and now often cited as the worst feature ever to appear in a major programming language.

How bad could this ALTER statement be?

Very bad indeed.

Style is Substance.

Ken Arnold's Style is Substance argues that programming languages should enforce programming style.

11 Apr 2003 (updated 7 May 2003 at 12:11 UTC) »
SuMO is a new server for finding ligand-binding sites in proteins. It's the first example I've seen of a bioinformatics application written in OCaml.

Been trying out Jeff Schrager's tutorial Intelligent Computational Biology in BioLisp.

Avoiding thesis work by writing an Eiffel version of Goldberg's Simple Genetic Algorithm. Appears to work but performance is disappointing: about half the speed of the C version. Turning off GC makes little difference.

6 Feb 2002 (updated 22 Jan 2003 at 12:44 UTC) »
OCaml and scsh

chalst suggests scsh as an alternative to OCaml. My main interest in OCaml is as a language that I can write can code in as quickly as in a scripting language and compile to get high performance if necessary. (My real interest is in modelling protein structures which needs every drop of performance I can get). That said, I like the design philosophy behind scsh and the idea of embedding domain-specific little languages.

The only real reasons I prefer OCaml over Scheme is that it's statically typed and it has a reputation for being very fast. I'm not sure these are good reasons. Scheme programmers seem to manage just fine without static typing and Brad Lucier showed that, using Gambit-C, you could get performance equivalent to C from Scheme code for number-crunching PDEs.

I think I'm a Scheme programmer at heart but for mercenary reasons I've learning to live with C++ and trying to ignore my suspicion that using Scheme would help me to "beat the averages".

Invested in a copy of The C++ Programming Language last weekend.

My other language is OCaml.

Tinkering with OCaml. An example in Chapitre 12 of the O'Reilly OCaml book shows how blocks allocated in external C code using malloc() can be reclaimed automatically by the OCaml GC using a finalisation function that calls free(). This would be very convenient for writing an OCaml interface to GSL.

34 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!