1. Array permutation in Python

    Just saw this, in-place permutation (of a Java array, in this case).

    In Python, if you ignore the battery that's included (random.shuffle) you have this:

    import random
    l = range(0, 20) # array to permute
    
    for j in range(1, len(l)):
       k = random.randint(0, j)
       l[j], l …
    read more

    There are comments.

  2. A (Short) Meditation on Debugging

    I spent part of Saturday and Sunday working on Cartwheel, and then I spent part of Monday morning nailing down a bug that I thought I'd introduced. The process of tracking down and fixing this bug led me to give serious thanks for version control and automated tests, and at …

    read more

    There are comments.

  3. A quick "yo!"

    No, I'm not dead yet.

    I just finished reading The Children of Hurin, which led me to re-read The Silmarillion. Brilliant.

    I also just got my grubby little hands on a UK copy of Reaper's Gale, Steven Erikson's new book in the Malazan Empire series. It's big. Really big. I …

    read more

    There are comments.

  4. Looking for a Django Reader

    I've just finished the last rough draft of a short e-book, An Intro to Testing Web apps with twill and Selenium. The book has four sections:

    1. Introduction
    2. twill intro
    3. Selenium intro
    4. Testing an app with twill and Selenium

    The "app" being tested in #4 is just the very simple poll …

    read more

    There are comments.

  5. http://www.swordstyle.com/blog2/?p=1419

    http://lists.idyll.org/pipermail/testing-in-python/2007-March/000233.html (and associated thread)

    http://www.taniquetil.com.ar/facundo/py_patchs.html

    http://groups.google.com/group/turbogears/browse_thread/thread/5e20cd6515aa8332/c07131062e8d1596#c07131062e8d1596

    http://www.nabble.com/Document-instrumentation---metrics-%28long%29-was-Re%3A-Re%3A-The-nature-of-executive-%22pushback%22-to-agile-technologies--p9401494.html

    http://testanything.org/wiki/index.php/

    http …

    read more

    There are comments.

« Page 88 / 100 »

social