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

Rotating Cube in JavaScript

My CSS-Parrot gave me an appetite for more in-browser graphics. This, led to my newest creation: A rotating "3D" cube, written with JavaScript. Check it out here: http://kanelynchsucks.com/sfsr/rot_cube.html (glory to Tzahi for hosting it) Edit: The page is currently unavailible. If you're interested, email me... View Article

2 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

China and Worms (not a culinary post)

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

1 Comment