Mar
06
2007
A few weeks ago I was working on a web site that wasn’t getting as much attention from Google as the site owner expected. One (of many) issues was that for every “interesting” page (those that had link-worthy material), there were at least three URLs for that same content. Depending on how the user navigated [...]
Tags: www
Mar
02
2007
When I starting with Python sometime in 2001, I was briefly frustrated by the intentation-as-block-structure syntax; but after a few weeks I found it natural. Its most obvious advantage is that it avoid the duplication between indentation and braces / keywords. Yet this kind of syntax has not become popular outside of Python. Today I [...]
Tags: python, rails, ruby
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