Introducing: Encoding Tools
If you are a programmer, pen tester, or reverse engineer, you probably find
yourself needing to manipulate data between various representations, such as URL
encoding, base64 encoding, etc. There are a lot of web sites and utilities to do
this sort of thing interactively, but I've never been totally satisfied with any
So… I built my own! Today I am releasing Encoding Tools, an open source, browser-based utility for
transforming text and binary strings.
Debugging A Memory Leak In Python
I recently ran into a memory issue with Python: a long-running script would use
more and more memory until the kernel would eventually kill it. Python doesn't
have "memory leaks" in the same sense that lower level languages do, but it is
possible to tie up memory by maintaining a reference to it somewhere that you
forgot about. As it turns out, there are some awesome tools for troubleshooting
this kind of bug in Python.
Prefix Sum Kernel Visualizations
I am taking the Coursera HPP course, and I just
finished watching lectures 6-2 and 6-3. The visualizations of the prefix sum
kernels in these two lectures are hard to understand because there are lots of
curvy and overlapping arrows. I put together some cleaner, larger visualizations
to show how these kernels work. Hopefully this will be of use to other Coursera
Unit Tests for Python CouchDB Views
I recently wrote about how to write CouchDB views in
because I couldn't find any documentation online explaining a good way
to do it. Today I'd like to tackle a similarly neglected topic: writing
unit tests for your Python CouchDB views.
CouchDB Views in Python
I've been interested in CouchDB lately, and since I'm primarily working in
Python, I naturally want to use the two together. There's a pretty nice module
called couchdb-python that makes it
easy to get connected, create, edit, and delete documents, but the paucity of
information on how to write CouchDB views in Python is laughable.