Monthly Archives: April 2013

Dict (Dictionary) Comprehensions in Python

In my never ending quest to grok Python and do more while writing less code, I came across dict (dictionary) comprehensions. See PEP 274. Dict comprehensions are the dictionary analog to list comprehensions. This post provides a simple problem space,

Tagged with: , ,
Posted in Computing, Python

Django Boston – User Authentication

Last night was my first Django Boston meetup. Max Uhlenhuth, one of the organizers, greeted me as I arrived. We chatted for a bit before the talks started. First up: Eddy Wong, CTO of Wanderu (who provided the space and bought pizza), gave

Tagged with: , , ,
Posted in Computing, Python, Web Frameworks

System security in 5 minute chunks

At Unixlore.net, Doug Maxwell has a couple of new posts out today on SSH security: Five Minutes to a More Secure SSH* Five Minutes to an Even More Secure SSH * Actually an update and expansion of his April 19, 2006 post. Another

Posted in Commentary, Computing, Security

Forget my flying car, I want my jar clock

You can usually tell when a jar has been opened. When you first open it or press down on the lid and release, it pops up. This behavior is a great mechanism for a one-way switch on a timer (day

Posted in Cuisine, Invention