Late influential people

An intentionally incomplete list of influential people who died during my lifetime:

  • 19770816 Elvis Presley
  • 19780319 Gaston Julia
  • 19911124 Freddie Mercury
  • 19951218 Konrad Zuse
  • 19961120 Paul Erdős
  • 20010224 Claude Shannon
  • 20010511 Douglas Adams
  • 20010729 Wau Holland
  • 20031112 Johnny Cash
  • 20060707 Rudi Carrell
  • 20061230 Saddam Hussein
  • 20071029 Itojun
  • 20080305 Joseph Weizenbaum
  • 20080519 Arthur C Clarke
  • 20090625 Michael Jackson
  • 20101014 Benoît Mandelbrot
  • 20110502 Osama bin Laden
  • 20110723 Amy Winehouse
  • 20110822 Vicco von Bülow
  • 20111005 Steve Jobs
  • 20111008 Dennis M Ritchie
  • 20111122 Georg Kreisler
  • 20160421 Prince
  • 20160110 David Bowie
  • 20161107 Leonard Cohen

Saving AllThingsD videos

I think Walt Mossberg's interviews with Steve Jobs at D1, D2, D3, D5 (with Bill Gates) and D8 are historically tremendously interesting. So I wanted to archive them myself which turned out to be a bit difficult as the Wall Street Journal has gone to quite some effort to make sure the normal video downloading tools don't work.

I ended up getting the RTMP URLs by installing Replay Media Catcher which shows URLs like rtmp://cp49988.edgefcs.net:1935/ondemand/74940/?ovpfv=2.1.4<break>video/20100502/040210atdjobsatd1/040210atdjobsatd1. The free trial version of this software only downloads the first half of any streams, so I wanted to use MPlayer to download the entire streams which I knew supports RTMP.

However, the URL is strange where it contains the odd <break> indicator which I didn't know what to do with. Googling around pointed me at RTMPDump which has separate options for the different components of the RTMP URL. The solution turned out to be the following command:

$ rtmpdump \
 -r 'rtmp://cp49988.edgefcs.net:1935' \
 -a 'ondemand/74940/?ovpfv=2.1.4' \
 -y 'video/20100502/040210atdjobsatd1/040210atdjobsatd1' \
 -o 'steve-jobs-d1-2003.flv'

Just to make sure, I'll also archive versions converted to MP4 using

$ ffmpeg \
 -i steve-jobs-d1-2003.flv \
 -qscale 5 -acodec copy \
 steve-jobs-d1-2003.mp4

Blackberry and Elderberry jellies

A year on and it's jelly-making time again!

This time, I used recipies from the book "The right way to make jams" by Cyril Grange Frhs.

On Saturday, I picked 2.5kg of blackberries and 750g of elderberries (with stalks). I also bought 1.6kg of Bramley apples.

The book suggests to add 25% of water to blackberries, and 50%-100% of water to the elderberries and apples (depending how you read the recipe). After boiling for 1h, I ended up with 2.0l of blackberry juice, 820ml of elderberry juice and 1.0l of apple juice.

The recipies I decided to make were:

Source Fruit Apples Sugar (per juice) Juice of lemons (per litre) Bottles of Certo (per litre)
Blackberry Apple TRWTMJ 75% 25% 75% - -
Blackberry Apple Certo 40% 60% 170% 1/3 1/2
Elderberry Apple TRWTMJ 50% 50% 75% - -
Elderberry Certo 100% - 230% 3/4 1.5
To convert weights into volumes, I measured the specific weight of fruit juice at 1.01kg/l.

Strictly, the juice from 833g of apples was for the blackberries and the juice from 750g of apples for the elderberries, equating to 520ml of juice for the blackberries and 480ml for the elderberries, but I ended up adding 655ml to the blackberries and only 345ml to the elderberries. I now had 2.7l of blackberry/apple mixture and 1.2l of elderberry/apple mixture. The pectin tests using methylated spirit for these mixtures were positive as far as I could tell.

The mixtures and respective results I ended up with are:

Batch Juice Sugar (per juice) Juice of lemons (per litre) Bottles of Certo (per litre) Result
Blackberry apple B1 1.3l 75% - 1/5 6 jars, set perfectly
Blackberry apple B2 670ml 150% 3/4 3/4 3 jars, set firmly
Blackberry apple B3 700ml 75% 3/4 3/4 3 jars
Elderberry apple E1 1.2l 75% - 1/5 4 jars, didn't set
Elderberry apple E2 600ml 205% 3/4 - 3 jars, set gooey
Elderberry apple E3 600ml 75% 3/4 3/4 2 jars, didn't set
Elderberry apple E4 600ml 125% 3/4 3/4 3 jars

Batches B1, B3, E1 and E2 were boiled rolling for 12 minutes after adding the sugar as instructed in TRWMTJ. Batches B2 and E3 were brought to boiling after adding lemon and sugar and boiled rolling for 30 seconds to 1 minute after adding the Certo, as stated in the Certo recipes.

Next time, I'd like to use a strategy where I make a small amount first to verify the properties of the fruit and all ingredients.

I'd also like to try extracting the juice from the berries and apples together as described by the blackberry and apple recipes in TRWTMJ and Certo, rather than separately (as prescribed by the elderberry/apple recipe in TRWTMJ). I should also experiment with adding lemon juice, pith or whole lemons at the start of the juice extraction.

Profiling SpiderMonkey in gecko-1.9.2

I've had a few problems trying to build a profiling version of SpiderMonkey from gecko-1.9.2 on OS X.

First, in order to build SpiderMonkey at all on OS X 10.6, it's necessary to pick GCC 4.0 because the standard GCC 4.2.1 can't build it.

$ CC=gcc-4.0 CXX=g++-4.0 ../configure --enable-optimize --disable-debug

Then, in order to turn on the profiling support, the -pg flag must be passed to the compiler and linker:

$ CC=gcc-4.0 CXX=g++-4.0 ../configure --enable-optimize="-O3 -fstrict-aliasing -pg" --disable-debug

Finally, to stop the resulting JS shell from instantly crashing, __attribute((fastcall)) needs to be turned off in jstypes.h, jsdhash.h and nanojit/avmplus.h.

Windows XP Mode in virtualBox

In order to run Windows XP under virtualBox, I did the following:

Firstly, in order to activate the XP Mode VM in virtualBox, I set HKLM\SOFTWARE\Microsoft\Windows NT\WPAEvents\CurrentVersion\WPAEvents\OOBETimer to FF D5 71 D6 8B 6A 8D 6F D5 33 93 FD and then denied SYSTEM's permission to the WPAEvents key.

To check activation, run %systemroot%\system32\oobe\msoobe.exe /a. Bad idea, grace period (a.k.a. time bomb) still expires this way and can be reset at most 4 times using rundll32.exe syssetup,SetupOobeBnk.

Although both processors show up in Device Manager, they don't show up in Task Manager. The "Computer" tab does not show a multiprocessor ACPI. In order to allow multiple processors to be used inside the VM, I have to install the multiprocessor HAL halmacpi.dll and kernel ntkrnlmp.exe. I find those files in sp3.cab and copied them to %systemroot%\system32. Then I added the options /kernel=ntkrnlmp.exe /hal=halmacpi.dll to the last line in \boot.ini and rebooted. Edit \boot.ini by selecting Startup and Recovery Settings from the System Properties "Advanced" tab.

After rebooting, new hardware is detected and both processors now show up in Task Manager.

Finally, it's a good idea to turn off the login window by running control userpasswords2 and clearing the "users must enter a user name and password" tick box.

Intelligentes Leben in Deutschland?

Es ist ein heißer Herbst: Noch nie fielen mir aus dem Stand so viele Gründe ein, nicht mehr in Deutschland leben zu wollen.

Liste wird fortgesetzt!

Jellies

The last few days I've been busying myself making jellies. The idea came when we noticed huge amounts of ripe blackberries by the roads when cycling around. So I went blackberry picking and I tried to make blackberry jelly.

Blackberry jelly

Blackberries are relatively low in pectin, especially the very ripe fruit that I picked. So I bought jam sugar which contains added pectin to help the jelly set. Because I wanted to make »reduced sugar« jelly, I only added half the amount of jam sugar to the fruit juice. I boiled it for a while and it didn't seem to set, but I filled it into jars anyway. Of course, by next morning it still hadn't set.

The next day, I opened the jars again and reboiled everything after adding the rest of the jam sugar which brought the ratio to about 1.6 parts of sugar per juice, considerably over 1:1. Again, the resulting jelly didn't set, maybe because I didn't boil it for long enough.

Later that day, we went blackberry picking together. I boiled the resulting juice with the same amount of normal sugar and some lemon juice and also added the first batch of liquid jelly, resulting in a sugar ration of 1.2:1. After boiling for 50 minutes, the jelly finally started to show signs of setting (for example, when dripping from a spoon, the last drop becomes long), so I filled it into jars and the jelly set. Most likely, the reason it had to boil for so long was because the pot was too full, so I had to keep the temperature very controlled in order to stop it from boiling over.

The next day, I went blackberry picking again and also bought a bottle of Certo, which is apple pectin. I picked blackberries and followed the instructions on the Certo, but used only half the amount of sugar. The instructions say to boil the juice for 2 minutes, reduce the heat, add the Certo, and then fill the jars. This mixture didn't set, which might have been because due to the low pectin blackberries need more boiling, maybe also after adding the Certo.

When I reboiled the jelly the next day, I added more sugar to one half, and more sugar and more Certo to the other half. Both mixtures started jelling after boiling for about 5 minutes and the half with the added Certo set considerably faster than the other, but might have turned out too solid (like toffee).

Quince jelly

I also bought quinces which I quartered, removed the kernels, and placed in a pot which I filled with water to just cover the fruit and added the juice of half a lemon to keep the fruit from turning brown. The mixture already started jelling while I was boiling it to extract the juice. Therefore, I didn't add any Certo, but just an equal amount of normal sugar and the juice of the second half of the lemon, and the jelly became very solid.

From the remaining fruit pulp I made quince paste by adding half its weight in sugar and boiling it until it became quite hard to stir.

Experiments using less sugar

For blackberries (or low-pectin fruit), it seems to be necessary to add equal amounts of sugar to the juice and improve the pectin content by using Certo or mixing with apples (or quinces?). I still think it may be possible to use only half the amount of sugar when using Certo.

A good strategy is probably to start with half the amount of sugar, adding the Certo at the start of the boiling and then increasing the amount of sugar if the juice does not begin to jell after 10 minutes. Another approach would be to try and make up for reduced sugar by adding more Certo.

A test for pectin is to drop some liquid into ethanol (I used burning alcohol for the trangia). If it forms a single blob, there is sufficient pectin. If it dissolves or forms several strains, more pectin is needed. When I tried this with blackberry juice that contained Certo, or quince juice, it nicely formed a single blob. I have yet to try it with untreated blackberry juice.

For quinces, I also think it might be possible to use much less sugar because the juice seemed to set even while extracting it before adding any sugar.

The other point about reducing the sugar is that the sugar binds excess moisture in the resulting jelly, thereby preventing the growth of microbes. Jam sugars for smaller amounts of sugar per fruit don't just contain special modified pectins (PDF) but also added preservatives. Jellies made with less sugar may therefore have a reduced storage life.