Don’t use wx.StaticBox as a parent — your program will segfault on wxGTK.
Don’t use wx.StaticBox as a parent — your program will segfault on wxGTK.
The (informal) proof of Hacker’s Delight Theorem D4:

The largest possible fractional part resulting from the division is
. In order for the output value of the floor function to change, you need to roll over to the next highest integer (even in the negative numbers — remember that we’re strictly adding a positive x); therefore, you need at least a positive delta of
to achieve this, which is impossible, because it contradicts the upper bounds on x we set forth initially.
Found this nice little demo of how to use setjmp in Cython through Google Code:
cdef extern from "setjmp.h":
struct __jump_buf_tag:
pass
ctypedef __jump_buf_tag jmp_buf
int setjmp(jmp_buf __env)
From http://sage.math.washington.edu/home/dfdeshom/sage/devel/sage-darcs.tar.gz
My favorite slide from the “How to write more clearly…” presentation by Michael A. Covington.
I hate receipts. I’m always suckered into taking them so I have proof in case I ripped off; however, the point is mostly moot because I have no automated way of checking whether I’m being ripped off, and I’ll be damned if I’m going to manually manage my micro-finances.
Create a pen-holder sized device that just scans receipts, OCRs the values, runs some simple classification AI on it, and aggregates data into something I can spit out as a CSV every month and check against my credit card statements. If it flattened and stored the receipts somewhere I can shred them every month, that would be even better.
The circle of life! (via Josh Susser at http://blog.hasmanythrough.com/2009/9/3/circle-of-death )
The more I read about usability the more I’m convinced that projects should have mandatory style guides, enforced by auto-linters. The less choices that the programmer has to think about in their style, the more they can focus on the task of programming.
I’m also of the opinion that auto-completion in IDEs, when not explicitly requested, is more distracting then helpful; however, I can see how it might increase the rate of code production for slower typists to a point of marginal utility.
I look at the dead bees on the windowsill and think it’s funny, then realize that’s how unjust imprisoners must feel. Then I realize how lame that train of thought was.