Akunbakun update: 1 week expiry date

I made a slight change to Akunbakun, the Facebook application, over the weekend that makes Akunbakun challenges expire one week after they have been set. A message about the expiry is published to the mini feed and news feed along with the names of all those who managed to win that particular challenge.

I plan to add features to make it easier to find which of your friends has an active Akunbakun challenge running as an easier alternative to having to run through profiles to see if they have one.

Meanwhile, the number of users of the application keeps on increasing! :-)


Expiry notice as published in the mini feed


Thaana Unicode<->Ascii conversions PHP class

Here is something that would probably be very handy to Maldivian web developers dabbling with Dhivehi sites. This PHP class addresses the need for converting text to and from Thaana in Ascii and Thaana in Unicode.

The class makes it easy to standardize text into one format irrespective of how it was/is written. This means that you can take text written in Accent, MS Word 97 (and prior) or written using Unicode as featured on recent MS Word editions and use the class to present output in the format of your choice without the need for imposing restrictions on the people who write the text. The class comes in even more handy when you have a form submission that takes input in Unicode but needs to be stored in the database or presented later as Ascii, or vice versa.

The class was something I originally wrote around 2001 and was used in the free Online Document Converter that featured on maldivianunderground.net. I rewrote it for PHP 5 recently for use in a project I am working on. The original class had support for Letin dhivehi -> Unicode/Ascii conversions as well which I haven't included in this release but will add it a future update.

Usage should be pretty straightforward but here is an example just to illustrate:

Example:
<?php
$thaana 
= new Thaana_Conversions();
echo 
$thaana->convertUnicodeToAscii('&#1931;&#1960;&#1928;&#1964;&#1920;&#1960;');
echo 
$thaana->convertAsciiToUnicode('rWacje');
?>


Download:
- Thaana_Conversions.zip (v0.1, 2KB)

Enjoy :-)

Update (7-May-2008): This version is now superseded by v0.2.

Updated: PHP script for Hulhule flight info

I'm releasing an update to the Hulhule FlightInfo PHP class I released late last year as a response to a feature request I received recently. The update adds support for flight information for all the days as available on the Flight Information Services site rather than the current-day-only mode that the original script supported. A small demo script is packaged in the download to highlight the usage details.

The Hulhule Flight Info class simplifies access to the flight information by doing the dirty work of grabbing the HTML page from the FIS site, parsing it, extracting the required information and making it accessible as a multidimensional array. It supports grabbing both the arrival and departure information and is easy to use. It has since been integrated into a few sites by different people.

- Download the flightinfo class v0.2

Enjoy :-)

Intelligent Design on Trial

PBS just recently aired a very good documentary called "Judgement Day: Intelligent Design on Trial" profiling the Evolution vs Intelligent Design/Creationism trial in Dover, Pennsylvania in 2004. I recommend watching it to any of you interested in the ongoing battle between the scientific establishment and the religious creationists.

The Dover trial was and is important because it put to test and scrutinized the two mutually incompatible "explanations" for the diversity of life seen on the Earth. It saw some of the arguments against and for evolution be evaluated and had the same done for ID. More importantly, it saw science itself be somewhat questioned and definitions of what constitutes as science be elicited. The outcome of the trial was of no surprise - honest science and truth prevailed as the judge upheld evolution as a valid scientific theory and ruled ID/Creationism as bad science.

Whenever you hear a argument against evolution, do make an effort and read the scientific explanation. After all, the truth stands superior isn't it? :-)

EDIT (19/Nov/2007): The BBC Horizon series had a program in 2006 on the same topic and is an interesting watch too.

Akunbakun for Facebook - 100th user and Rankings

Akunbakun for Facebook, which I released last month, racked up it's 100th user today and so I'm celebrating the occasion by adding a new feature: Ranking.

Ranking is basically the success rate of the user on the Akunbakun challenges they take up. Numerically, it is simply a ratio between the number of wins and the number of tries taken. I added the feature to allow users to know how they are doing overall and to entice people to play more and get better scores. ;-)

Ranking, along with a few minor fixes and enhancements, has been rolled out a while ago and the Akunbakun box on the profile pages of all those who have added the application would now reflect the change.

Enjoy.


The new Ranking feature on Akunbakun