Recent Posts

Stripping control characters in Python

Want to remove ASCII control characters from a string? Have Unicode control characters that can't be encoded into XML? Here is how to strip them with regex ...

Django: show me the sql!

This week, I noticed that there was a select query in our production system without a where clause, and it was running a lot. Tracking it down, I found the ...