-
Recent Posts
Archives
- June 2016 (1)
- December 2014 (1)
- June 2014 (1)
- March 2013 (1)
- February 2013 (1)
- November 2012 (1)
- October 2012 (1)
- September 2012 (2)
- August 2012 (3)
- July 2012 (7)
- June 2012 (2)
- May 2012 (5)
- April 2012 (4)
- March 2012 (2)
- February 2012 (5)
- January 2012 (5)
- December 2011 (5)
- November 2011 (2)
- October 2011 (6)
- September 2011 (9)
- August 2011 (3)
- July 2011 (2)
- June 2011 (2)
- May 2011 (11)
- April 2011 (9)
- March 2011 (7)
- February 2011 (4)
- January 2011 (1)
Categories (non-disjoint!)
- Games (11)
- Hardware (13)
- Programming (92)
- Higher-level C (5)
- Project 6014 (5)
- Simulation (6)
- Rants (13)
- Reflections (9)
- Reviews (1)
- Science (21)
- Math (8)
- Uncategorized (1)
Monthly Archives: May 2012
Some practical uses of goto
A few days ago there was another submission on Reddit on the evils of goto. The flow control primitive “goto” is “considered harmful” (the phrase was coined by the editor of the journal in which Dijkstra’s famous letter was published).
Debugging wxPython programs
wxPython is a great way to write full-featured native GUI applications in Python. It’s a wrapper for wxWidgets, a portable windowing toolkit written in C++. (wxWidgets used to be called wxWindows, but, thanks to Microsoft’s inexcusable penchant for giving all … Continue reading
Fixing a ZIP file
A certain firewall I know habitually chops off the last few bytes of some responses. It’s usually noticeable when large binaries are downloaded. Installers may fail to run (fortunately most of them contain an integrity check), and ZIP files may … Continue reading
Beyond Hello World
A common pattern for introducing a programming language is the Hello World program. But what exactly can you tell about a language from looking at its Hello World program?
Output XPaths for XML grep
A small improvement to the xmlgrep.py program. It now has an option for specifying output XPaths separately from the search XPath.