GFX::Monk Home

- page 30

Binary transparency: Maybe just don't bother?

I was just about to add some regrettable code to GRiS to deal with certain fools who antialias images against a white background and then leave the actual background transparent - leaving text completely inscruitable if it’s not rendered against a white background (thus negating the point of transparency in the first place!). My hack wasn’t working, so I dug further. Turns out they’re using PNGs - just really, really awfully.

Perhaps antialiasing is the new unicode, where people who care get all uppity because people who don’t are clearly doing it wrong…

Quote.289

why so phallic, google?

  • me, while searching for python code coverage tools (specifically, “figleaf” and “pinnochio”). I found other things instead…

mocktest

I’ve been working on this a little while now. At work, I use ruby. It has its good points, but my language of choice is still python. I am, however, blown away by rspec. So I’ve tried to bring some of its features into python (namely and should_receive matchers).

Thus was born mocktest. The readme has all the examples you should need to start using it in your own testing code.

It’s also available from the cheese shop, which means you can just run easy_install mocktest to install it on your system.

I should note that this code builds upon the excellent Mock library by Michael Foord.

(view link)

QR Code Generator

It would probably be cooler if I had a mobile phone that could read these things, but it’s cool nonetheless :)

(view link)

Quote.285

The only thing I ever use Lynx for is Googling how to configure X.org

Man Transports 20 bricks on his head (video)

what more can I say? He throws them up there himself, as well…

(view link)