Arash's Personal blog

Recent Posts

  • July 18, 2013

    Structure and Interpretation of Computer Programs, SICP

    In this semester I’d took an optional course titled “Declarative programming”. I was so thrilled about it because of two reasons :First of all, I’d already been enchanted by the whole idea of functional and declarative programming since I was fool...

  • August 12, 2012

    Prolog : How to implement if-then structure

    How to implement if-then-else in prolog ?This was a question posted on stack overflow and I though it might be good to say a few words about ot in here.There is nothing as if or else in a logical programming languages, all you have is some stupid ...

  • August 08, 2012

    BashTertainment

    There’s nothing out there that can be considered as a worthy replacement for bash. The power it gives you is so enormous that it takes year for someone to become a real proficient.I’m not an expert in terminal at all, but still I enjoy it in some ...

  • August 06, 2012

    Bomb defusing

    In here, we have executable file of a bomb. you’re mission is to defuse the bomb by enrtering correct keyword required in each phase. There’s total of 6 phases plus …It helps you to learn how to use gdb and objdump in Linux, also gives you a great...

  • July 27, 2012

    A simple scheduler in Python

    Here’s a simple scheduler simulator in Python that you can download from here.You give it a list of processes and scheduling algorithm you want to be used for scheduling and as result you get a simple output like this which shows you the sequence ...

  • June 10, 2012

    Concurrency problems

    In this semester I’ve taken a course in Concurrency . One of the most delightful courses I ever taken .As exercise, I started to work on some classical and less-classical problems on concurrency from “A little book on semaphores” by Daweny . the r...