What is that?
It's a duck pond.
Why aren't there any ducks?
I don't know. There's never any ducks.
Then how do you know it's a duck pond?

Monday, August 31


Encroaching Rust

It's been too long since I studied set theory.

I was wondering why my code was confused.  Either Python implemented certain set operators backwards, or I'd done something wrong.

Turns out to be the latter:
the relative complement of A in B [is] also known as the set-theoretic difference of B and A
Python implements an operator for set differences, rather than complements.  The results are identical, but the order of the operands is reversed.  Or if the order of the operands isn't reversed, the results are...  Let's just say, unexpected.

Posted by: Pixy Misa at 06:38 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 90 words, total size 1 kb.

Wednesday, August 26


Damn You, Speed Of Light

I'm testing a new application I've developed at my day job, which takes key parts of the load off our old application.  ("Old" in social network / Web 2.x terms, i.e. more than three months.) 

I've optimised the hell out of the new system, and it's really efficient, on both the small and large scale of things.  It can handle 100,000 simultaneous users, and it responds to user requests in under 100 microseconds.

But the development server is in Dallas, and I'm in Sydney, so it still feels slow.

Posted by: Pixy Misa at 06:32 PM | Comments (6) | Add Comment | Trackbacks (Suck)
Post contains 94 words, total size 1 kb.

<< Page 1 of 1 >>
49kb generated in CPU 0.0167, elapsed 0.1862 seconds.
51 queries taking 0.1738 seconds, 338 records returned.
Powered by Minx 1.1.6c-pink.
Using http / http://ai.mee.nu / 336