HTML5 WebSockets

HTML5 Web Sockets

Up to now, the main buzz around HTML5 has been playing video without javascript (notably AJAX), and the rounded corners.  Hardly felt revolutionary.  But then I came across another interesting feature that HTML5 and compatible browsers could deliver.  Real-time interaction, using websockets.  http only allows one way traffic, i.e. a request and response never happen at the same time, and a response cannot be sent without a request. Because of the speed of response/request traffic is of course beyond our comprehension, we cannot process any other evidence apart from what we see and experience. 
Continue reading

if … then … else

I always find it a little depressing when I start reading articles on the next level of programming languages, only for it to disappoint by simply plugging future of Ruby-off-rails or some catastrophic clunk like Adobe Flex. I think the future of programming has got to be speedier transition from requirements to functioning code. Domain-specific modelling using DSL(s), is in the right direction. If you study the progression of programming languages, they are becoming more readable in linguistic way.

Continue reading

Agile test automation

How does automated testing fit into Agile? It hasn’t changed that much, but a sensible approach (assuming development process is also sensible), is to do a combined UI and code level test, so you minimise the high-maintenance part (the UI tests). UI tests are always appealing, as easy to generate (with fine tuning, of course) but ultimately they are harder to maintain ongoing. The first flurry of automation can lead to a muddle of part-baked scripts, with no-one maintaining them and little relevance to requirements.
Continue reading

Generating coordinates from location (WordPress)

Though you can manually add in post meta values for coordinates, or use plugins such as geopress or geo-mashup, it is not that complicated to automatically generate these yourself, using mathematics to work out coordinates. First of all, lets create the file that will do that work of generating coordinates (save as class.googleHelper.php, and save somewhere)

Continue reading

Track and follow your position with openlayers

Track and follow your position with openlayers – a less saturated alternative maps api to googlemaps, and gowing steadily in popularity and support. Click the Track button to find your current location, and it will update as you move as with any other map tracking application. Probably best viewed on you phone I guess!

Locate me!

Track my position

Loads more examples here

Plurk

Twitter’s most comparable competitor Plurk has been languishing somewhat, though maybe harsh, as the positive is it has not become burdened down with gizmos, widgets, etc.  There are a few services using the Plurk API to generate web services such as this one.  Essentially a bookmarking tool, that uses shorted URL in posting.  Not particularly new or revolutionary, but one of the first few batch of Plurk-based services that have been coming up recently.

Plurl.me is a URL Shortening service, similar to Tinyurl.com. The different is that, with Plurl.me, you can post the resulting shortened URL to Plurk right from the site.

There is also handy bookmarklet tool, so you dont have to use plurl website to do this.
Plurl