Monthly Archives: March 2009

Reverse the Bits in a Byte in 3 operations

This is among many brilliant hacks from this page. b = (b * 0x0202020202ULL & 0x010884422010ULL) % 1023; The multiply operation creates five separate copies of the 8-bit byte pattern to fan-out into a 64-bit value. The AND operation selects the bits that are in the correct (reversed) positions, relative to each 10-bit groups of […]

World of Goo, 75% off this weekend!

This weekend only, World of Goo is 75% off on Steam. This is down from an already low $19.95 to a mere FIVE DOLLARS. This is your chance to join the morally elite who pay for the things they consume. Strange concept, I know. World of Goo is one of an increasingly few games to […]