Apr 17

Getting raw GPS data from your mobile device


Want to know where you are right now? I am seriously. Well let me help you with that! I recently made a mini tool/website that displays the following GPS data from your mobile/desktop:

  • Longitude
  • Latitude
  • Horizontal Accuracy
  • Altitude
  • Altitude Accuracy
  • Heading
  • Speed

Its quick-n-easy to use. Why not check it out :)


Its interesting seeing that some web browsers dont provide all the information in the list above to mobile websites. Here is a quick overview of Continue reading

Oct 16

Conditional printf debug statements in C based programming languages

One of the first things people learn to do when learning to program is how to write an ‘Hello World’ application. For many programming languages this involves writing the iconic sentence to a console window. Its amazing how the same fundamental concepts from the ‘Hello World’ application can extend into hardcore application debugging. At university we called this ‘printf debugging’. However in the real world, its important to remember that having too many unnecessary logging statements in production applications can impact performance. In compiled programming languages there are ways to automatically remove all ‘printf debugging’ statements. Here is how to do it on C, C++ and Objective C… Continue reading

Feb 28

iWebKit for Firefox 4 based Gecko 2.0 browsers

A while ago, I released a CSS extension to iWebKit 5 that allows for pages to be rendered ‘ok-ish’ on Mozilla Firefox. Today I have released a update to iWebKitMozilla that aligns its style sheet with the current release of iWebKit… version 5.04. You can grab iWebKitMozilla for Firefox 4.0 (based on Gecko 2.0) from Continue reading