How to generate a failsafe xorg.conf

If you have a device that’s not supported in the bios and you don’t have the driver, you may not be able to get X working at all. Failure looks like anything from random streaking lines and jibberish to just a plain black screen.

Google Voice Transcription has Dramatically Improved

However, lately the messages have been near perfect with minor mix ups such as “Yeah” in place of “Yes”. The messages are nearly perfect, close enough to understand at the least. This is a dramatic change from three years ago and I’m quite happy with the voicemail transcription now.

Binary Buffers and Python Arrays

Python arrays, ctypes string_buffers, binary data payload and other usages in messaging interfaces. Per-allocate your buffers for high performance. Binaries used for decoding on two ends of a messaging interface can convey a lot of information and is quite a bit more efficient than sending structures full of other larger things like more arrays, doubles, etc.

GoDaddy Auto Renewal Failure

Yet they still try charging my credit card for renewal. If I never close the account and leave it alone with the expired card, will they just continue to bounce transactions?

Check to see if a button is sensitive in pygtk

Here’s a short example of checking for a save button’s sensitivity before proceeding to quit the main loop. This is something you may use when a quit button is clicked but changes have been made to a document and you want to give the user one last chance to save before exiting your application.

Automate login with mechanize and cookielib

Mechanize is good for loading pages and automating forms. This code will work as long as there’s not some weird javascript creating stuff needed for login on the fly that can’t be hand crafted on your side.

Install Expat Shield in a Virtual Machine to avoid security issues

Expat Shield proxies your browsing through the UK. Install it in a Virtual Machine to create a hard barrier for tunneled traffic to avoid security issues with your login and passwords.