Archive 2012

How to fix laptop frequency governor on resume after suspend

Published at February 11, 2012 ·  2 min read

This is a lost post from my early blogs around 2012, rediscovered and posted here in mid-2020 If you are using Linux and the pm-utils suite from freedesktop.org to manage resume/suspend, and the chances are you are since most distros use it, then you could benefit from reading a recent post on my other blog [1]. Pm-utils’ implementation on CPU governor and CPU frequency is broken. If you use the userspace governor with a custom frequency, the frequency does not get restored on resume....


Hot Hot Hot

Published at January 26, 2012 ·  1 min read

This is a lost post from my early blogs around 2012, rediscovered and posted here in mid-2020 Hot, hot, hot. The weather has been unbelievably hot for the last few days, with the same forecast for the next week. Above is a screenshot from part of my status bar, showing 42°C (107°F), on Australia Day, 26th January 2012, at 3:00pm. It shows the current temperature, “feels like” temperature, humidity, and wind direction and speed with gusts....


Tcpdump Light-weight Alternative to Wireshark

Published at January 17, 2012 ·  2 min read

This is a lost post from my early blogs around 2012, rediscovered and posted here in mid-2020 I went to install Wireshark this morning and realised why I hadn’t bothered before. The source code is 20MB [^footnote]. God knows how long that will take to compile, especially since it seems to use autoconf and generates complex, multi-nested Makefiles many levels deep. I already had tcpdump installed, so I used that instead....


Calcc, A Programmers’ Calculator

Published at January 16, 2012 ·  1 min read

This is a lost post from my early blogs around 2012, rediscovered and posted here in mid-2020 I have been looking for a command-line programmers’ calculator for a while. I needed it to do the usual things like base number conversion, bit shifting and masking, and so on. I searched for quite a while and couldn’t find anything. Almost all were GUI, which I didn’t want, or were some ridiculous price, which I couldn’t justify being a programmer myself....


Vi Developed for Slow 300 baud Connections

Published at January 6, 2012 ·  1 min read

This is a lost post from my early blogs around 2012, rediscovered and posted here in mid-2020 Interesting discussion on Hacker News about an interview with Bill Joy, creator of Vi. Joy mentions that one of the most important use cases was that, in those days, everyone had only a 300 baud connection to the host. That meant the editor had to be efficient in screen repaints while interacting with commands from the user....


Highest Australian Scores in Test Cricket

Published at January 5, 2012 ·  1 min read

This is a lost post from my early blogs around 2012, rediscovered and posted here in mid-2020 With India playing Australia at Sydney right now, and captain Michael Clarke on 325, I thought it would be interesting to look at the top ten Australian scores of all time (which Channel Nine has conveniently provided for us viewers). Matthew Hayden is highest at 380, then Don Bradman at 334 (Leeds in 1930)....