Categories for:

The Evils Of Positional Arguments

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

4 Comments

Pickling Python Expressions

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

3 Comments

Fun While Avoiding Lambda (Python)

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

13 Comments

Namespaces in Python – Revisited

Taking a short break from my artwork craze (but I promise more is to come), I reviewed some of the new features and changes in Python, brought by versions 2.6 and 3.0. There are many interesting features, but a very specific one caught my eye:... View Article

Reply

Drawing in CSS – Parrot

So as I said in the previous post, I've started taking interest in making real drawings using just CSS. This had led me to create a parrot, which is made purely in CSS. It consists only of axis-aligned right-triangles, and so can be articulated using... View Article

7 Comments

Look what I found

Using the same technique I described in a previous post: http://snessiram.uni.cc/draw.html Pretty cute. You can probably do some really amazing drawings with it. I'm thinking of taking such a project, it would be interesting.

1 Comment