1. Programming Tests - Because I'm lazy

    I recently had an epiphany, which may seem painfully obvious to most programmers, but it took me a little while longer to realize.

    Under Python there is a module called doctest, which allows you to script an interactive session and look at the results. A sample would be:

    >>> print 2 …

    read more
  2. Welcome Back

    I reinstalled the blog after unsuccessfully dealing with the latest Pharma Hack. Basically, this piece of shitcode detects if your site is being browsed by a search engine, and replaces all of your links with pharma spam. Splendid, no? More info is available at Chris Pearson's blog.

    Here's a little …

    read more

« Page 20 / 20