This wouldn't have happened with Gainsborough or one of those proper painters.

Monday, August 31

Geek

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

Geek

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 >>
44kb generated in CPU 0.02, elapsed 0.1345 seconds.
51 queries taking 0.117 seconds, 264 records returned.
Powered by Minx 1.1.6c-pink.