Tag: geek

  • (binary) C10CK app in App Store!

    My second (personal) iPhone app, C10CK, is now available in the App Store. It is a clock which displays time using binary notation – the same way everything is (eventually) stored in a digital computer. I’ve been using a binary clock since a staff member of ITP passed this past year and several alumni recalled […]

  • Simple things feel so good. (warning: geekery)

    Toggle an integer variable between 0 and 1. Useful for a flag to control program flow in C without boolean types. toggleVar = 1>>toggleVar; What this is doing is right shifting the integer 1 either zero or one place, depending on the current value of toggleVar. An 8-bit (unsigned – positive values only) integer has […]