In my previous post I introduced FileDict. I did my best to get it right the first time, but as we all know, this is impossible for any non-trivial piece of code. I want to thank everyone for their comments and remarks. It's been very... View Article
Most of you may think that Microsoft's Ribbon is fairly new. However, the truth is it was already an optional feature in Word 5.5, as the following screenshot plainly demonstrates: I salute Microsoft for their foresight.
A few days ago I found myself writing pure ansi C code, after over two years of not touching it at all. In fact, these two years consisted mostly of Python, and a little of C#, both very far from it. While coding away, trying... View Article
My last post introduced the concept of X, a class which "absorbs" operations and behaves like a function. As many people pointed out, this was merely a syntactic alternative to lambda. You may like it, you may not. Now, after a rewrite, X can now... View Article
Readers, meet X. X is a class I wrote in Python as an alternative to using lambda. It has two main features: It acts as an identity function ( so X(3) == 3, etc. ) When performing operations on it, it returns a new class... View Article
Hi, I'm back from my long trip in China. It was great, and I have too many stories to tell. I would've written some posts during my trip, but my blog seems to be blocked by China's firewall (wordpress in general is not!). How curious... View Article