Notes from PyCon 2009

Posted by Mike on Mar 29th, 2009

Just wrapping up a fantastic few days at PyCon Chicago 2009. I went with a group of about 10 guys from AGI, and we managed to have a little bit of fun in between some great mind-enriching talks.
Here are some notes I jotted down while at the conference. It’s a bit overwhelming, but [...]


Including external data with your unit tests

Posted by Mike on Jan 13th, 2009

We generally preach that you should not use real data in your unit tests. You should instead mock said data out in an effort to lesson potential side-effects, including degrading test performance and adversely affecting live data.
Sometimes, you’d like to test actual file handling in a unit test. If you do, you should [...]


CWE/SANS 25 Most Dangerous Programming Mistakes

Posted by Mike on Jan 13th, 2009

A new list of the most dangerous programming mistakes was released today by SANS Institute. This is a great followup to the OWASP Top 10. The list of potential application security flaws is broken up into three sections, one for dealing with each of application component interaction, resource management, and weak defenses.

CATEGORY: Insecure [...]


Readying Javascript for the Enterprise with Automated Testing

Posted by Mike on Jan 5th, 2009

<flame>
Javascript seems to gets left in the dust when we consider code quality. It’s been rigged, scattered, and smeared every which way from Sunday. Most sites of significant complexity have a severe amount of legacy, rotting code buried deep in a countless number of files. There is little separation of concerns in [...]


Checking for pythondoc comments with pylint

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 [...]