Friday, March 26, 2010

The ‘One’ theme again: 1Malaysia, Unifi, Monopoly


TM has announced its new ‘High Speed Broadband’ products, called Unifi, with the Prime Minister making the announcement. TM is Telekom Malaysia, the telecommunications monopoly in Malaysia. There is an alleged telecommunications regulator called the MCMC (Multimed… Commission, or something) but it doesn’t seem to actually do anything but help TM.

More bandwidth ought to be good news, but TM aren’t offering bandwidth, they’re offering an expensive new bundle which includes Video On Demand (VOD). In better regulated regimes, what TM is doing is against the law – it’s the same practice that resulted in Microsoft being forced to unbundle Internet Explorer from Windows in the EU. Internet access in the EU is fiercely competitive, which is why you can find 20Mbit/s (TM’s new ‘flagship’ package) connections available in the UK for RM35-RM80 per month. That’s in a country where the technicians’ (and customers’!) salaries and business overheads are many, many times that of TM’s!

We had a phone call from TM this morning, offering an upgrade from 512kbit/s to 1Mbit/s for an extra RM5 per month. Before moving to Malaysia, we lived in the UK and had ADSL for about 6 years prior to 2005. After the first two years (starting at 128kbit/s) , BT doubled the bandwidth every year or so FOR FREE. We were on 2Mbit/s when we left, for the equivalent of about RM40 per month, 5 years ago. And it never – ever – had a single problem or slow-down in that time. In the UK we lived in a hill-farming community in a little village of houses which were between 200 and 800 years old. In Malaysia we live in a modern development near a town. Before this year, it was a rare week that we didn’t have trouble (often complete breakdowns for days) with our TM Internet connection.

If you’re not in Malaysia, you might think this kind of thing is a joke. But if you’re in Malaysia and all you want is decent Internet access that works, at a fair price, so you can get more work done (and coincidentally contribute more tax to the government), it is desperately unfunny.

This is a re-post of my article at http://blog.lolyco.com/sean/2010/03/26/the-one-theme-again-1malaysia-unifi-monopoly/, because I want to get the little image to appear on bloggerunited, and this is quicker than figuring out what's wrong with the RSS on my WordPress blog.

Wednesday, March 03, 2010

Pos Malaysia Shipping Price World Map

The Pos Malaysia World Shipping Map is an example of what you can do with an API. Given a weight and a shipping method, you can draw a global map of relative shipping costs. Now that the Pos Malaysia data has been converted to use ISO3166-1 Country Codes, it’s trivial to take data from it and merge it with useful resources from elsewhere which also comply with international standards.

The map is a public domain SVG file from Wikipedia. The creators of the map specified ids for the countries using ISO3166 2-letter country codes. I generate CSS colour codes from the country code / relative price data obtained from the API, and build a coloured map on the server. The coloured map is about 2MB in size, so I convert it into a smaller PNG image and send the URL back to the browser.

Note that I’m not suggesting Pos should create fancy coloured maps. These maps arguably could be handy for checking completeness of shipping data coverage, or ‘eye-balling’ the global map to spot inconsistencies in charging. The world shipping map is just another example of what is possible for third parties IF Pos Malaysia exposed a usable API.

If you want to play with the world maps, be aware that spider.my is hosted on a tiny VPS (Virtual Private Server) in the USA – it only has 64MB of memory and 2GB of hard disk. It can be a little bit slow to convert the SVG graphics into an image. As long as I haven’t given up on getting Pos to adopt the API, you should be able to access the same features at pos.spider.my – that’s a bigger server sitting on my desk in Malaysia.

If the maps inspire you to try out an idea of your own, make sure you contact me first to encourage me to leave the API online! Better yet, find someone from Pos Malaysia to tell “Hey! Let that guy set up your API for you so we can do good stuff with your data!”.

You can send 10kg by Pos Parcel Surface very cheaply almost anywhere, except Bolivia and is that Uzbekistan?

10kg by Pos Parcel Surface

Pos Parcel Surface doesn’t permit sending 15kg to nearly as many destinations:

15kg by Pos Parcel Surface

And you’ll get eye strain spotting the countries to which you can (by Pos Parcel Surface) send 15kg, but you can’t send 20kg:

20kg by Pos Parcel Surface

These are tiny images, but they’re created from SVG on the server, so enormous versions are available on request!