January 23, 2008 – 8:00 am
Last week a colleague pointed my at this post by Steve Yegge. It discusses ‘code’s worst enemy’ (size) and asks which new language, by being more expressive, can reduce line count.
Dijkstra said (via Overcoming Bias):
“If we wish to count lines of code, we should not regard them as ‘lines produced’ but as ‘lines [...]
January 1, 2008 – 9:42 pm
My choice for the highlight of OS X 10.5, Leopard, is that Spotlight is worth using. It’s fast enough that it’s replaced Quicksilver (I was never a power Quicksilver user) as my application launcher.
I’ve also found it useful for general searching for emails, contacts, PDF documents and so on.
This inspired my second current spare-time project, [...]
December 22, 2007 – 4:39 am
Update: EC2 will have persistent storage!
My side projects at the moment are both work related — that is, they’re related to Confluence, our enterprise Wiki. Even though I don’t work on that team any more the product still has a lot of mindshare with me.
My latest spare time project is running Confluence on EC2.
Amazon announced [...]
October 3, 2007 – 5:29 am
In my previous post I described how to use a CAL function as part of the implementation of a Java class.
This post looks at interfacing CAL to Tapestry 5 using the ‘Java Bean’ conventions of getter and setter methods for the fields in an object.
Tapestry 5 provides a BeanEditForm component which simplifies providing CRUD operations [...]
September 28, 2007 – 2:50 am
In the course of trying to adapt an ANTLR lexer to be used in an Intellij IDEA language plugin, I found that I’d written this:
token = lexer.nextToken();
if (token != null)
{
tokenStart = findCharPos(token.getLine(), token.getColumn());
if (token.getText() == null)
{
[...]
September 24, 2007 – 10:13 pm
The technique described in my previous post can be used to create Tapestry 5 pages which call CAL functions. Tapestry also uses Javassist to enhance pages, so adding CAL integration requires that Tapestry is reconfigured to apply the CAL transformations in addition to its own — I wasn’t able to find a way to transparently [...]
September 23, 2007 – 6:41 am
In order for CAL to interoperate with Java frameworks we need to provide a Java class which delegates method calls to CAL functions. The framework sees only the Java class, and is unaware of the delegation which is taking place.
How we do this depends on a number of factors:
How easy it is to hook into [...]
September 17, 2007 – 5:46 am
“Everyone is smart and beautiful, and I didn’t want to leave.”
September 17, 2007 – 4:14 am
This article discusses the differences between CAL as a client of Java libraries and CAL modules as clients of Java frameworks.
CAL is a functional programming language which runs on the JVM. One of the advantages of a language which compiles to Java bytecode is that it is simple to call any of the many available [...]
September 15, 2007 – 6:20 am
Perhaps not many people will miss SCO, given their desperate intellectual property shenanigans, but I only remember the good times.
My second job out of university was at an investment bank, Dominguez Barry Samuel Montagu, as the co-developer of an equities options trading system. We had a brand new Compaq 80386, running at 16MHz. I don’t [...]