HTML 5 Geolocation API

I’ve played today with this feature of HTML 5. If your browser supports it, using this, everyone can find out your exact location (it really is pretty accurate!). You will have to permit the browser to share your location.

Here’s the app I’ve made.

Even if it sounds a bit spooky, knowing where your site’s viewer are from may come in handy in various situations. And this method it more accurate than using the user’s IP address. This API uses Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs to find the location.

You can read the api specification here.

52 weeks of code haskell & html5

Yay! I’ve finally managed to finish reading my first haskell tutorial and write a bit of code. I’ve submitted something for the 52 weeks of code challenge, the solution for a problem from Project Euler. I hope I’ll get some free time and study haskell some more 🙂

As for last week’s challenge, html5, I’ve done a small page to test the new tags. But they aren’t working properly in all browsers. If you want, you can test your browser here. Html5 has some interesting new features, but they aren’t supported by all browsers.