Other articles


  1. My First Yesod App

    First off, I just wanted to say that I hope everyone had a relaxing and enjoyable holiday season and that you enjoyed your New Year's celebration. Whatever you did that day or night, don't name it after me.

    In my last post, I showed you how to create ...

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

  6. Pangrams

    Photo

    If you haven’t figured it out by now, I enjoy solving problems. And over the course of the last year or two, I’ve learned that interview questions make for great problems to work on. Actual interview problems are nice because they are usually quick, but have a quirk ...

    read more

    There are comments.

  7. The Devil is in the Details, part 2

    In the last blog post I made with this title, I told a little story on how I helped a learning Haskell programmer see why his version of the code wasn't as complete as the example given. I also thought that this series wouldn't be having a second ...

    read more

    There are comments.

Page 1 / 2 »

social