Other articles


  1. First Flask web app

    As everyone should know by now, I love coding challenges. A while ago I came across this one, which is rather long:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    Using python with gevent 0.13.x and your choice of additional ...
    read more

    There are comments.

  2. Project Euler: Problem 14

    1
    2
    3
    4
    5
    6
    7
    8
    9
    The following iterative sequence is defined for the set of positive
    integers: n → n/2 (n is even) n → 3n + 1 (n is odd).  Using the rule
    above and starting with 13, we generate the following sequence: 13 → 40
    → 20 → 10 ...
    read more

    There are comments.

  3. Project Euler: Problem 13

    Problem thirteen from Project Euler is one of those problems that's so simple, I don't understand why it's in the double digits section. The problem reads:

    1
    2
    Work out the first ten digits of the sum of the
    following one-hundred 50-digit numbers.
    

    It then proceeds to ...

    read more

    There are comments.

  4. Apache Log IP Counting

    It all started with a simple question: “Which single IP shows up the most in an apache log file?” To which I ultimately came up with an answer using a string of Bash commands:

    1
    less apache_log | cut -d '-' -f 1 | sort -r | uniq -c
    

    This produced some text displaying ...

    read more

    There are comments.

  5. Connect 4

    A couple of weeks ago I was lucky enough to have my employer send me to PyCon. If you weren't at PyCon you missed out on a lot of things...like the invading squirrel hordes. Thankfully, all of the talks are viewable here. But PyCon is not the focus ...

    read more

    There are comments.

  6. PyCon

    Hey Everybody, I will be attending the US PyCon starting tomorrow. If anyone of my readers are in town for the convention and are interested, I would happily meet up with you for drinks, food, or whatever. Send me a tweet.

    read more

    There are comments.

  7. Project Euler: Problem 12

    It’s time once again for a favorite blog theme, The Project Euler post. This time around I am answering problem twelve. The website states the problem as:

    1
    2
    3
    4
    5
    The sequence of triangle numbers is generated by adding the natural
    numbers. So the 7th triangle number ...
    read more

    There are comments.

  8. De Morgan’s and (un)Pythonic code

    Photo

    The term “Pythonic” is a subjective and ambiguous one. There are plenty of sites on the internet that try to explain what it means. Some of the better sties will even tell you why one way of doing something is better than another. I am adding my scrollingtext to the ...

    read more

    There are comments.

Page 1 / 4 »

social