Monday, January 26, 2015

These are the lyrics I'm having trouble remembering

I can remember every other line of every verse of these songs, but not these particular lines.  They just don't stick.
Just to cheer up the boys she knew,
She made the gang sing this song:
and
In our hands is placed a power greater than their hoarded gold,
and

Now it catches the gleam of the morning's first beam,
In full glory reflected now shines in the stream:

Thursday, January 22, 2015

Non-fungible pleasures

A non-fungible pleasure is one which cannot be exactly replicated by any other experience.  It may be a great pleasure or a guilty pleasure or a public pleasure: a sunrise, ramen soup, a walk-off walk; each of these is unique.

Today's non-fungible pleasure: seeing a McDonald's restaurant being dismantled.


Wednesday, January 14, 2015

A discouraging documentation

When you have made a serious commitment to a software platform, and you try to learn a new trick, and you ask yourself, "in which file should I be putting the code for this new trick", and you find in the documentation a precise answer, you are very happy:
Where should this code live?
You can put signal handling and registration code anywhere you like. However, [reason].  This makes your app’s models.py a good place to put registration of signal handlers.
If, however, you look at the same documentation for one version later and find precisely opposite advice:
Strictly speaking, signal handling and registration code can live anywhere you like, although it’s recommended to avoid the application’s ... models module ...
 a certain crisis of confidence may seem appropriate.

Update: If, however, you have some code that should be run whenever something is saved, and so you put it in a place that will run whenever something is saved, but in that code you save that something, you have nobody but yourself to blame for the consequences.

Tuesday, January 13, 2015

National relativity


China builds a new city every week, but in the US, replacing one water main on one street takes a year.  And somehow, even though the project encompasses two miles of street, all of the construction is happening at the corner that faces my apartment.  Maybe they are doing some kind of street surgery, inspired by laparoscopy, where they only dig in one place but they push the pipes miles to the side.