Simon Willison’s Weblog

Subscribe

Tuesday, 23rd March 2010

Fun with TextMate and PDB. TextMate bookmarks (against lines in a file) are stored as OS X extended attributes, which can be accessed from Python using the xattr module. Here’s a clever piece of code that uses bookmarks to set breakpoints in the command-line pdb debugger.

# 9:48 am / debugging, osx, pdb, python, textmate, xattr

Side-Channel Leaks in Web Applications. Interesting new security research. SSL web connections encrypt the content but an attacker can still see the size of the HTTP requests going back and forward—which can be enough to extract significant pieces of information, especially in applications that make a lot of Ajax requests.

# 4:24 pm / ajax, http, security, sidechannel, ssl