Building Clean URLs Into a Site
Code: , ,
5 comments

I wrote about building a site with clean URLs, but that’s useless to you. No, you’ve got a creaking hulking monster of a site that coughs up URLs like “render.php?action=list_mailbox&id=42189”, was built “to meet an accelerated schedule”, and eats summer interns whole.

Continue this post

Rails Day 2006
Code: ,
No comments

I’m sort of participating in Rails Day 2006. I say “sorta” because I’m trying to build an app in one day but I’m not actually in the competition.

Continue this post

Ripping Unicode
Code: , ,
3 comments

some unicode glyphs
I love shoving around large amounts of data. Unicode is an industry standard for encoding data in most every written script there’s ever been. It has over 97,000 characters. A while ago I read about a guy who made his own Unicode poster and I realized I had an opportunity for a fun project. I think Unicode is an invaluable and beautiful project, and this is my tribute to it.

Continue this post

Developing With Evil
Code: , , , ,
No comments

Continue this post

Ripping Unicode at ChiPy
Code: , ,
1 comment

Last night at the June 2006 ChiPy meeting I gave a presentation on how I wrote a few small Python scripts to take apart the Unicode PDF of all its glyphs and recombine them into giant ascii-art-like posters.

Continue this post

Building a Site With Clean URLs
Code: , , ,
6 comments

As an aside in my post about Cambrian House I posted some code for making pretty URLs. A few people (no, not CH) have asked for a little more info, so I’ve written up an explanation of that code.

Continue this post

Strings are a Domain-Specific Language
Code: , , , ,
No comments

Question: Isn’t a domain-specific language just the same thing as a library?

Source: Pretty much everyone the first time they hear of DSLs.

Answer: No, a DSL is much more than a library, and I have an example that won’t make you say, “Well, sure, if you’re doing something that esoteric…”

Continue this post

Django And The Disappearing Template Tags
Code:
2 comments

If you are defining custom template tags, don’t put them in a file named log.py. You’ll be able to {% load log %} fine in your template, but you won’t be able to use your tags. No, this isn’t documented anywhere.

Continue this post

Know a Good Linux Feed Reader?
Code: , ,
13 comments

Could anyone recommend a good feed reader for Linux? I need to be able to organize my ~160 feeds in folders, read an entire feed or set of feeds without having to click incessantly, and get already-read items out of the way.

Continue this post

Ruby Blocks and Blocks
Code: , , ,
7 comments

I’m reading Programming Ruby: 2nd Ed. and an example on page 57 has captured my attention. (Code slightly modified for brevity)

Continue this post