Re-introducing pydmtx

Just a quick note: pydmtx is now included with libdmtx. The project had been on hiatus to avoid any legal/patent problems, but is back and better than ever. Check out what's new here.

Read the rest of this entry...

Introducing pydmtx

pydmtx is a thin python wrapper around libdmtx. It does one and only one thing (for now) -- it creates DataMatrix barcode images.

Read the rest of this entry...

Sitemap Redux

Well, that was fast. My sitemap app made it's way into Django proper. I added a couple new convenience classes and fixed up the ping_google function. Adrian took it the rest of the way and cleaned up my code and documentation. You can read about it here, or have a look at the documentation. Viva Django!

Read the rest of this entry...

Google Sitemaps

Just wanted to share some code that I wrote to generate a sitemap.xml file in Google's sitemap format. It's a django application modeled off of django.contrib.syndication. Here's the rub:

Read the rest of this entry...

Fun with counting

This entry is more of a note to myself, as any SQL guru will probably read it and think less of me for just now realizing it. My problem was as follows.

Read the rest of this entry...

On Indentation

I don't understand why so many otherwise intelligent programmers insist on using spaces to indent lines of code. The whole purpose of a tab is to advance the cursor to a specific position. These positions are customizable in every capable editor out there. Why force your formatting on everyone who has to read or edit your code? It's not like you sit there and hit the spacebar 2, 3, 4, or 8 times; you hit tab and tell your editor to translate it to spaces. In fact, you go to great lengths to have your editor pretend a group of spaces at the beginning of a line is one unit -- a tab, if you will. What's the point? A tab is the semantically correct equivalent.

Read the rest of this entry...