Friday, January 14, 2011

Updating Mac OS X to 10.6.6

Use combo update to 10.6.6 it doesn't break the Mac App Store.

In case if you have old CPU (< core duo) install before rebooting:
http://nawcom.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel-10.5.0.pkg.zip

In case if samba won't connect after updating:
cd /System/Library/Extensions/smbfs.kext/Contents/Resources
sudo chmod a+x load_smbfs

Friday, December 17, 2010

Embedding your own logo into QR code

BBC logo uses QR Code V05 (37x37), which may not be readable on mobile devices (Duncan Robertson should be punished :). Google Chart API is unable to generate those explicitly if the text isn't long enough (or I just didn't find the way to do it). We'll use this: http://www.racoindustries.com/barcodegenerator/2d/qr-code.aspx. Set options to "QR Code Version: V05", "QR Code Error Correction Level: H (~30% of codewords can be restored)" and you'll get exactly the same format that was used by BBC. Paint your own 30% logo (you may even cross the timing pattern) and you're done.
Also check this out http://research.swtch.com/qart - really cool.