Mar
02
2007
A while back I needed to reverse the order of the 4 8-bit bytes in a 32-bit word, in some Delphi code. I worked out a way to do it with bit shifting, read the docs for a few minutes, and got something to work with AND, SHL, SHR, and some $FF constants. Later I [...]
Tags: delphi, programming
Jan
05
2007
Here is a simple piece of software I wrote to help my children practice basic arithmetic facts. Of course there are no doubt already a thousand or more similar programs out there; but in a few minutes of searching I didn’t find one that did quite what I wanted. I ended up tinkering with this [...]
Tags: children, delphi, downloads
Sep
01
2006
Joel seems to “play it safe” … then goes off the deep end of irony in his final paragraph: “FogBugz is written in Wasabi, a very advanced, functional-programming dialect of Basic with closures and lambdas and Rails-like active records that can be compiled down to VBScript, JavaScript, PHP4 or PHP5. Wasabi is a private, in-house [...]
Tags: commentary, delphi, dot-net, java, lua, php, programming, ruby
Jun
23
2006
I just attended Dave Thomas’s keynote at RailsConf. He had many interesting things to say, most notably that 60%+ of his Java-centric conference-circuit friends, mostly people who have written books on Java, speak regularly on Java, and have lots of experience as Java “architects”, are now making a living with Ruby / Rails. Dave talked [...]
Tags: commentary, conferences, delphi, java, ruby
Jun
02
2006
The authors of the the VCL helpfully added multi monitor “support” a few versions back. Somewhat less helpfully, this support is very limited – it has no way to say “create form X on monitor 3″, which is a very useful thing to do in some kinds of applications – those intended to run on [...]
Tags: delphi, design
May
09
2006
At the St. Louis Code Camp on May 6, I gave a talk that was somewhat poorly titled “Painless Scripting with Lua”. The topic more mostly about the overall use of scripting as a configuration and extension mechanism, with Lua as an example language. The talk had no slides, only code and a 1-page handful [...]
Tags: delphi, lua