Blizzards

I was very impressed with the sheer amount of snow in America I could see on the news and Nat's blog, but never thought such a scene would happen in my own back yard. Ladies and gentleman, brace yourself for a photo of The Great Blizzard of 2005:

The Great Blizzard Of 2005

Brrr. It gives me the shivers just thinking about it. What a nightmare getting supplies will be...

NP: Ray Of Light, Madonna

21:25 Saturday, 18 Feb 2012 [#] [life] (1 comments)

Give Me Life

Congratulations Jeff and Pipka on your engagement!

It sounds like your proposal was a lot smoother than my own. We were in Rome over Easter, and our hotel (in the old part of the city) had a wonderful view over the city from the roof terrace. I was forming grand plans of proposing up on the terrace, with the city lights and fine wine... Then it turns a bit to cold to sit outside at 11pm and our hotel didn't sell wine, only small cans of beer. Not quite the vision I had, but a million things could have ruined the vision (someone else on the terrace for example). However, everything from that point went to plan and I still find myself grinning uncontrollably when I realise that in under 3 months we'll be Mr and Mrs!

21:24 Saturday, 18 Feb 2012 [#] [life] (3 comments)

Shoddy Compilers, Part 2

Some may remember the original shoddy compilers post from December. This is basically more of the same.

I mean, people. With this code:

int foo(void) {
  const int i = 42;
  return i + 3;
}

What compiler doesn't just optimise the body away to "return 45" when I ask for optimised code? Well, one which also doesn't optimise away the test in do {...} while(0), that is the answer.

This compiler has a positive plethora of optimisation options: you can optimise for either speed or size, from either level 0 to level 9. Set to size optimisation level 9, the generated code goes something like:

Grow stack by 2 bytes
Put 42 in R16
Put 0 in R17
Store R16 via Z (stack pointer)
Store R17 via Z+
Put 45 in R16
Shrink stack by 2 bytes
Return (R16/R17 pair is the return value)

Nothing quite like 6 wasted instructions out of 7 on a <4MHz processor... When people moan about GCC not doing the right thing, they don't know the meaning of "broken compiler". Amusingly the compiler didn't generate the code to clear R17 to 0, so it either noticed that had already happened, or the code generator is even worse than I thought. I'm not sure what case to believe in.

NP: When It Falls, Zero 7.

21:19 Saturday, 18 Feb 2012 [#] [computers] (5 comments)

Sound Juicer "Look In The Stars And Search For The Answer" 2.13.3

Sound Juicer "Look In The Stars And Search For The Answer" 2.13.3 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Only one change here:

Thanks to Tim-Philipp Mueller and James Livingston for helping me here. This needs lots of testing, there are bound to be many regressions that need hunting and fixing. Everyone grab it now!

21:16 Saturday, 18 Feb 2012 [#] [computers/sound-juicer] (1 comments)

Sound Juicer "Down The Middle Drops One More Grain Of Sand" 2.12.0

Sound Juicer "Down The Middle Drops One More Grain Of Sand" 2.12.0 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Very few changes since 2.11.x:

But plenty of changes for people who haven't used 2.11 including CD playback, threaded extraction, uses gnome-vfs to write the songs, and genre support.

Thanks to the ever-working translators: Danilo Šegan (sr), Mohammad Damt (id), Clytie Siddall (vi), Jean-Michel Ardantz (fr), Michiel Sikkes (nl), Roozbeh Pournader (fa).

21:15 Saturday, 18 Feb 2012 [#] [computers/sound-juicer] (4 comments)

Sound Juicer "Cover Me!" 0.5.15

Sound Juicer "Bust The Meter" 0.5.15 is available -- download the tarball here. Debian packages available in my repository and are in the upload queue as usual.

NP: Two Pages, 4 Hero

21:15 Saturday, 18 Feb 2012 [#] [computers/sound-juicer] (4 comments)

Devil's Pie "Sell Sell Sell" 0.19

Devil's Pie (someones favourite window manipulation tool) 0.19 is out. Just a fix for older systems here.

Downloads are in the usual place.

21:14 Saturday, 18 Feb 2012 [#] [computers/devilspie] (0 comments)