A micro Lisp interpreter experiment

Posted on 21 June 2014 in Articles • Tagged with Python, Lisp, programming • 4 min read

While reading the Binary trees chapter from Programming Interviews Exposed by John Mongan et al. I started thinking of alternative recursion examples which do not involve sorting, generating Fibonacci sequence, binary tree traversal and similar tasks. Lisp! Lisp is inseparable from recursion and Lisp interpreter would be a good case to demonstrate what recursion is and how it can be used efficiently. What would be a minimal simplified Lisp interpreter written in Python? Surprisingly, I managed to do it just in 6 lines of Python code! And this is not just because of Python being a wonderful language, but because of Lisp being such a beautiful and simple concept.


Continue reading

ECCO online

Posted on 01 February 2014 in Articles • Tagged with life, shoes, ECCO • 2 min read

Ah, magnificent Finnish winter! First, it was jumping around zero (Celsius of course), so that people had to deal with slippery roads and pavement, then it dropped to -25, so that people put on layers of clothes. Then a snowstorm hit Finland, and it was above -10 again, with mountains of snow. There is an important part of the wardrobe that helps dealing with all these weather conditions: the shoes.


Continue reading

Kidomi - a JSON-based templating library

Posted on 05 January 2014 in Articles • Tagged with CoffeeScript, JavaScript, programming • 3 min read

kidomi - is a simple yet powerful javascript templating library which converts JSON input into a certain DOMNode output. Kidomi was written after I have had a chance to try the dommy ClojureScript library in production.


Continue reading

Is it a string?

Posted on 23 September 2013 in Articles • Tagged with JavaScript, programming • 1 min read

How do you know if a Javascript variable is actually a string? There are several ways to answer this simple question.


Continue reading

Kaylee v0.3

Posted on 20 June 2013 in Articles • Tagged with Kaylee, Python, programming • 2 min read

Ladies and Gentlemen! I am proud to announce that Kaylee v0.3 has been finally released!


Continue reading

Microsoft Wireless Mouse 5000: The Good, the Bad and the Ugly.

Posted on 28 May 2013 in Articles • Tagged with Microsoft, mouse, Linux, life • 4 min read

I have finally replaced my old Defender mouse with a brand-new, wireless blue laser-powered Microsoft Wireless Mouse 5000. Some of the reasons for picking this particular mouse are: symmetric, wireless, laser and GNU/Linux support :). A month of usage has passed and there is enough time to write a review with all tips'n'tricks which can help handling this mouse properly.


Continue reading

PyRegs: The Python Regex Debugger

Posted on 22 May 2013 in Articles • Tagged with programming, Python • 1 min read

Long ago, I learned the regular expressions in order to write a simple syntax highlighting engine. Regular expressions are not hard to master, but take time to practice. Kodos was the regex debugger of my choice, as it was written in Python. All these years Kodos was a "must have" tool on my development machines. Suddenly with the new version of Debian operating system, Kodos was not in the repositories anymore! Why? Kodos is based on QT3 widgets toolkit, which is a bit outdated nowadays (QT5 has been released recently) and was removed from Debian 7.0 ("Wheezy"). That is how I decided to write a small Python regex debugger in Python 3 and its de-facto standard Tkinter bindings to the Tk GUI toolkit.


Continue reading

Thoughts about XML structure: elements vs. attributes

Posted on 18 May 2013 in Articles • Tagged with programming, XML • 3 min read

Exploring XML elements versus attributes.


Continue reading

Kaylee

Posted on 28 August 2012 in Articles • Tagged with programming, projects, Python, CoffeeScript, Kaylee • 1 min read

I just returned from my summer vacation and can finally state: another summer is over. But wonderful summer it was! I finally graduated and got a Master's degree in computer science. I cycled a lot and upgraded my MTB skills. I read lot of fiction. And somewhere between work, sports reading and sleeping was Kaylee, a distributed and volunteer in-browser computing framework.


Continue reading

I have graduated

Posted on 08 July 2012 in Articles • Tagged with projects, life, science • 1 min read

I have graduated!


Continue reading