Lambda at Work
Comments Off on Lambda at Work
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.
Comments Off on Python Flyweights
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.
Code: humor, web, work
Comments Off on XmlHttpThrottleRequest
Today in #luni we ranted a bit about developers. (I’m “Malaprop” in the exchange.)
Equality for Python
Comments Off on Equality for Python
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.
Django Gets Transactions
Code: databases, Django, web
Comments Off on Django Gets Transactions
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):
Versioning: The Next Big Thing
Code: databases, Django, math, web
Comments Off on Versioning: The Next Big Thing
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.