Dethe Elza •
Mar 31, 2008 • Less than a minute read
MetaProgramming at VanPyZ
Just a reminder for Pythonistas in the Vancouver area: The Vancouver Python and Zope user group (VanPyZ) is tomorrow (Tuesday, April 1). Paul Prescod will be talking about metaprogramming in Python. Details and directions are on the VanPyZ site. And, as usual, we’ll be heading out to the pub afterwards for more discussion.
Hope to see you there!
Read →
Dethe Elza •
Mar 20, 2008 • 4 min read
Drawing Hexmaps
The other day, Thomas Guest talked about drawing chessboards, and ended with a challenge. I wanted to answer a different challenge, however. What if, instead of drawing on a rectangular grid, we wanted to draw on a hexagonal grid? The following is my slapdash answer. For real-world use I’d make nice classes and pass more parameters to the methods, but to demonstrate the math I’m just going to use global constants and functions.
Read →
Dethe Elza •
Mar 19, 2008 • 2 min read
The 419 Economy
Hello, my name is Sergio Arragones and I am writing to you for assistance in a matter that will be of great economic benefit to us both.
My late father was VICE PRESIDENT of the large American investment bankerage of Bear Stearns and he managed to put aside over two billion US dollars of bailout money from the puppet government of Mr. George Bush.
Read →