Lambda at Work
Code:
3 comments

Lambda Finally, several years after learning lambda expressions, I got a chance to use one at work a few days ago. As long as I’m putting a notch in my nerd belt, I’d like to write about what lambda is and how it can be useful.

Continue this post

Python Flyweights
Code:
6 comments

When I wrote Equality for Python, my example didn’t mention how the Card objects could actually be a terrific waste of memory. A commenter named versimilidude (great handle!) beat me to this post, briefly describing the Flyweight Pattern. Luckily he didn’t provide example code, so I still get to publish this post.

Continue this post

XmlHttpThrottleRequest
Code: , ,
No comments

Today in #luni we ranted a bit about developers. (I’m “Malaprop” in the exchange.)

Continue this post

Equality for Python
Code:
4 comments

A few days ago in #chipy, the chat room for the Chicago Python Users Group, we had a chat about how Python determines equality. It’s a pretty neat and extensible technique, so I’m going to walk through how I recently used it for playing cards.

Continue this post

Django Gets Transactions
Code: , ,
8 comments

Jacob Kaplan-Moss added transaction support to the magic-removal branch of Django just a few minutes ago. It’s one of the many changes to come out of the sprint. Usage will look something like this (based on Jacob’s docs and chatting with him in #django-sprint):

Continue this post

Versioning: The Next Big Thing
Code: , , ,
7 comments

In the web development world, anyways. So, in the grand scheme of things, maybe not a huge deal to anyone else. Versioning is going to be one of the biggest problems and opportunities there is in web development, and it’s going to take us at least five years to get it right.

Continue this post

Defeating Hardware Keyloggers
Code: , ,
2 comments

Keyboards Last week I saw a nice article on building hardware keyloggers and today I saw a response on how to defeat them.

Continue this post