-
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)
Tag Archives: python
IRC bot as a fun project
Something I started working on last year: yet another IRC bot. Since IRC is a simple protocol for sending plain text messages to channels or users, it provides opportunities for some good programming projects, such as a bot. An IRC … Continue reading
Schema diagrams for PostgreSQL
I have made some progress towards the longstanding goal of drawing nice diagrams of database schemas. Firstly, I’ve figured out how to use yEd‘s Entity Relationship node types as table nodes. These special node types have both a node label, … Continue reading
Coloured call graphs!
Juha Jeronen has added some features to the Python call-graph generator (pyan) I’ve previously blogged about. With a single command line, I can now get pictures like this: A bit of colour always shows a program’s structure in a better … Continue reading
Simple but efficient backups
Backups are perennially on my To-do list. Just having them would be good, but more than that I want to automate their creation and maintenance. My problem, of course, is I prefer to make my own system for doing this … Continue reading
Using the NTFS journal for backups
This post (in draft for almost 18 months) describes my amateur understanding of an interesting and useful NTFS feature, the USN Journal, and shows how I’m using it as part of a simple backup program in Python. It also gives … Continue reading
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
XML viewing and diffing
Another simple XML tool, and a neat recursive diffing algorithm. (Part of my growing toolkit of XML tools.)
Simple AI for bridges
I finally overcame several weeks of programmer’s block on the train this evening, by writing the AI for the bridges game.
Call graphs in Python part 2
I’ve made some improvements to the program discussed last month in Call graphs in Python. It’s had a significant rewrite in program analysis, paying more attention to how names are used. I’ve also experimented a little more with rendering the … Continue reading