Posted by Mike on Sep 22nd, 2008
Sometimes the need arises to pass a python list, tuple, dictionary, etc. from one page to another. If you do not have a session service to hold it, the object may need to pass through a HTTP request (in cookie or get/post param), opening the possibility of tampering. Without some precautions, a serious [...]
Posted by Mike on Sep 22nd, 2008
When using automated code-style checkers, such as pylint, we often want to check that our documentation meets certain standards in addition to the code itself. If you want to stray from PEP8 and use PythonDoc aka pydoc instead of the traditional docstring-style comments, you might struggle for a moment to find something to [...]
Posted by Mike on Sep 17th, 2008
I’ve got some ideas that I need to find time to work on. In no particular order:
Port MockMe to the Dojo javascript framework
Utilize browser history sniffing to build a generalized user segmentation framework
Write a Ubiquity plugin for spreeder (to easily speed read a page in Firefox)
Port OWASP’s AntiSamy project to Python, to provide comprehensive [...]
Posted by Mike on Sep 15th, 2008
Just ran across another of many lists of javascript libraries. I found 3 things that I’ll probably end up using, 1 of which was especially interesting.
Sniffer browser history is something I’ve never thought of or heard of until reading Niall Kennedy’s post, which apparently he talked briefly about a few years earlier. The [...]
Posted by Mike on Sep 3rd, 2008
Often you run across a use-case where you want users to be able to fire off an XMLHttpRequest while another is ongoing. Sometimes, the requests are independent and affect independent objects as a result. But othertimes, the callback functions from the two could be affecting the same event.
For example, imagine you have a list of [...]
Posted by Mike on Aug 26th, 2008
I ran across some good info for getting started creating Facebook apps in python:
docs: http://wiki.developers.facebook.com/index.php/Python
api: http://code.google.com/p/pyfacebook/
tutorial: http://keepnix.com/articles/hellominifb.html
The author at Zen Habits recently talked about wanting someone to develop a “social karma” application. The idea would be that one could do good deeds and get some sort of recognition for it, thus encouraging more do-good-ing. [...]
Posted by Mike on Aug 26th, 2008
I want to eventually post about some of the great things I’ve learned about Firefox and how to become a power user. I get a lot of value out of plugins and Greasemonkey scripts.
For another day…