Pages
Me In Other Places
Planets
Archives
- May 2012
- April 2012
- March 2012
- January 2012
- November 2011
- October 2011
- August 2011
- March 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
Meta
Category Archives: programming
Python 3000
Python 3000 (aka Python v3.0) has just been released! Grab your source tarballs whilst they’re hot!
Growing a Language
I was recently pointed at a talk given by Guy Steele (who, amongst other things, co-invented Scheme), given at the 1998 OOPSLA Conference, entitled Growing a Language. In it, he talks about the need for Java to add features that … Continue reading
Fun with Sockets
Whilst doing some coding today for my semester research project I found a need to check for incoming data on a socket without taking any data out of the stream. Here’s the code I came up with: cp.sock.setblocking(False) try: cp.sock.recv(0) … Continue reading
ICPC 2008 Final Results
The 2008 ACM South Pacific Programming Contest Results have been confirmed: my team’s come 3rd overall (as expected). We find out whether or not we’ve achieved a wild card position in the World Finals in December.
ICPC 2008 (huge success)
The ACM ICPC South Pacific Region was on yesterday, and was great fun (as usual). My team this year, the Mehffort Musketeers consisted of Alex Berry (who’ll be competing in the Google Code Jam regionals soon as well), Michael Ford … Continue reading
Google Code Jam
Just a friendly reminder to you all that Google Code Jam 2008‘s qualifying round opens today. Code Jam is an individual programming competition, which lets you compete with a number of languages. Qualifying opens at 9AM Australian time, and you … Continue reading
LCA2009: Python Miniconf Proposal
I just posted the following announcement of my proposal for a Python Miniconf to be held at linux.conf.au 2009 to Australian Python mailing lists. I’m posting it here in case anyone has missed it: Linux.conf.au 2009 is to be held … Continue reading
Case-insensitive String Replacement (in Python)
One feature that Python’s built-in string replacement facilities does not provide is case-insensitive string replacement. This is a reasonably useful construct (that I use fairly frequently in other languages, such as PHP), which I couldn’t find code for after Googling … Continue reading
Python Ugliness
UPDATED: The code I posted initially had a slight bug in it, this has since been fixed. There is another bug in this code, which is addressed at the end of the post. This is part two in a continuing … Continue reading
Python Prettiness
Whilst in Melbourne, and on the recommendation of Anthony Baxter (current Python release manager) I picked up a copy of O’Reilly’s Python Cookbook, it’s certainly a worthwhile read. In it, I found the most beautiful piece of Python code I’ve … Continue reading