My presentation on cybernetics at FMC: thoughts and photos

I gave a presentation titled "Cybernetics and Intelligent Search", as I had mentioned earlier, at the Faculty of Management and Computing at the Maldives Center for Higher Education in late September this year. The presentation went as planned and went well but I'm not too sure what impact it had on the attendees. The presentation was attended by about 20 or so students of FMC but they all kept awfully quiet throughout and especially in the Q&A slot. The only time anyone reacted was during the demonstration of some A.I systems in practice. I guess I have to take comfort in the reassurance by a FMC faculty member present that this was standard response by students!

I am very thankful to Adam Khalid (Assistant Coordinator, Bachelor of IT) and the Faculty for hosting my presentation and arranging it all. I am also grateful to the students who attended the presentation and sat through the entire hour and I sincerely hope that they found it interesting and informative.

I've put up some photos of the event here. :-)

Akunbakun for Facebook - Update

As I posted here on my blog, I launched a Facebook application called "Akunbakun" which is based on the old Maldivian game by the same name. Anyway, the application was a quick 'n dirty rush job and contained a few bugs and had several features left incomplete. I have now patched up all of the bugs found so far, completed the incomplete features and added a few more features as per requests by some users.

Fixes/Changes:
- Added a link for the application to the profile links (ie. under the profile photo).
- Fixed a bug that caused the list of challenge attempters (including the winners!) to not show.
- Fixed a bug that messed up display on Internet Explorer.
- Fixed some mistakes in the texts.
- Added some features to improve user experience.
- Increased the number of attempts allowed to three.

Click here to add the application to your Facebook profile now!

Enjoy :-)

Akunbakun for Facebook!

I worked on an application for Facebook on one of the many bored-to-death days during my summer holidays spent in Maldives recently. Facebook has a decent API framework for developers and it had me hooked for while, reading through the documentation on what is possible and what is not. Anyway, my interest in it evaporated soon after I created my first app and the project was doomed to the depths of used diskspace. But now, I'm bored again and seeing that fellow Maldivian blogger Afxal had recently released a Facebook application for listing MvBlog entries, I thought I'd throw my application out for everyone as well.

I created an Akunbakun (look up the word in the Radheef) game application which I hope fellow Maldivians can enjoy when they are really REALLY bored - I can't fathom any other reason anyone would ever want to play Akunbakun, be it in the virtual world or the real world! So far, the application allows you to hide a pebble and challenge your friends to try find it. If they find it, they get to be seen on the winners list for as long as you keep that challenge active. You can add the application to your Facebook by clicking here.

Please leave your thoughts about it here or on the application page on Facebook. Enjoy :-)

UPDATE (20/Oct/2007): I've increased the number of attempts anyone can have at any given challenge to three.

Snapshot of app on Facebook profile page

Announcement from the Office for Public Safety (1959)

Here is an interesting public announcement put out by the "Mahkamathul Aman Aammu" or the Office for Public Safety on 11 July 1959. This request by Ibrahim Nasir essentially calls for Maldivian men aged 15 and above, brave enough to do anything required of him and ready to sacrifice themselves in the name of the country and religion in the fight against the rebellion in the South, to come forward and submit their names and addresses.

Sort of amusing isn't it?


Source: "Iyye", 1997

"Cybernetics and Intelligent Search" @ MCHE on 24th Sept

I will be giving a presentation on cybernetics and (more specifically) artificial intelligence at the Faculty of Management and Computing (FMC) of the Maldives College of Higher Education (MCHE) on Monday 24th of September and will run from 11.30am - 1.30pm. I've titled the presentation "Cybernetics and Intelligent Search". Students at FMC (or elsewhere at the college, I suppose) are invited to attend. :-)

My presentation will include a general introduction to cybernetics (and it's sub-fied of AI), notes on some important intelligent search methods and finally some information on the various aspects of my intelligent search-related project at uni this year. I (hope to) have some interesting demo's and simulations packed in as well. There'd also be a Q&A session at the end to wrap things up.

I am doing this presentation towards fulfilling a requirement for my study programme at the University of Reading where I am currently working towards a MEng in Artificial Intelligence and Cybernetics. I hope that I'd be able to take this opportunity to fulfil my university obligations and at the same time impart something of value to everyone who attends.

(Please feel free to pass the message onto any of your friends attending FMC or MCHE. Thanks!)

Guide to using Thaana on the WWW

Developing Dhivehi web pages is pretty easy and there are quite a few methods to do it. However, information on how to go about it seems to be lacking, leaving newbies stumped. Here is a general overview on the various methods for displaying Thaana on the WWW and should contain enough information to help anyone, designer or programmer, get started.

1. CSS: rtl + bidi-override

This method is applicable only to non-Unicode text. It works on all modern browsers but requires for the user to have atleast one of the fonts specified in the page - otherwise the text would be displayed as a mostly meaningless jumble of English letters.

This is the least-effort route to getting any non-Unicode Thaana text (such as those written using MS Word 97/2000, Accent Express, MLS or Faseyha Thaana) on to the web. The websites of Haveeru and Miadhu currently take this approach.

Usage:
To use this method, apply the following CSS to any HTML elements that contain Thaana text. You may use inline style attributes or CSS class/ids to achieve this. You may change the font names to suit your needs but make sure you list several popular fonts and that the fonts specified are all non-Unicode fonts. You could, of course, also add further CSS styling (font size, font color, line height etc) but the following are the required minimum.
font-family: A_Ilham, A_Randhoo, A_Faruma, A_Waheed;
direction: rtl;
unicode-bidi: bidi-override;

Demo:
View example



2. Unicode Dhivehi

This method is applicable to text in Unicode. It works well on all modern browsers but requires for the user to have atleast one Unicode Thaana font - and unlike method (1) the system defaults to a Thaana font it does have if it cannot find any of the fonts named in the page.

This is the best method for any new and modern Thaana-based website. It is used in the online Radheef, Jazeera Daily and Haama Daily.

Usage:
To use this method, first add the following to the page's HTML HEAD section.


Next, apply the following CSS to any HTML elements that contain Thaana text. You may use inline style attributes or CSS class/ids to achieve this. You may change the font names to suit your needs but make sure that the fonts specified are all Unicode fonts. You could, of course, also add further CSS styling (font size, font color, line height etc) but the following are the required minimum.
font-family: Faruma, "MV Elaaf Normal";
direction: rtl;
text-align: right;

Demo:
View example



3. Image

This approach basically renders the Dhivehi text as an image. This is perhaps the most obvious and was the only method available early on. However, this method is still a pretty lucrative solution especially given that many computers just don't have the required fonts available. Using an image for the text rids the requirement on the client browser/computer to have the proper fonts available.

The basic approach of rendering the text into an image using Photoshop, MS Word etc is pretty tedious as the process is entirely manual. However, there is a more sophisticated approach that renders the text into Dhivehi on-the-fly on the web server side (perhaps coupled with caching to reduce load). A server-side scripting language such as PHP can be used to render text into an image using any font of choice by the designer/programmer. The rendered images (typically PNGs) are of very small size and hence have a negligible effect on the page load time in most cases.

Refer to the imagettftext function for details on how to do it in PHP.



4. Flash

This method uses text loaded in Macromedia Flash with the required font(s) being embedded in the Flash clip. ActionScript and/or Flash variables are used to load the text into text areas in the Flash file. This method has the advantage that it works whether the client computer/browser has Dhivehi font available or not but then again it does require the client to have Flash installed and enabled. If you are only seeking to have nice one-line headline sort of text in Dhivehi then you might consider using sIFR.

Refer to Font Embedding help page at Adobe LiveDocs for details on font embedding in Flash.



5. WEFT

Web Embedding Fonts Tools is a Internet Explorer only solution offered by Microsoft. It involves using the Windows-only WEFT utility to create font "objects" that can then be placed on web pages. This method is not recommended unless the target only involves use of Internet Explorer.

Refer to Microsoft WEFT page for more information.



6. TrueDoc

TrueDoc is a solution offered by Bitstream Inc. It is a solution similar to Microsoft's WEFT in that TrueDoc solutions create a embeddable font resource called a Portable Font Resource. Any font (ie. Dhivehi font) can be loaded once users install a custom font "viewer" (called the Character Shape Player by the company). This solution is NOT free and requires the purchase of special software from BitStream to produce the custom embeddable font packages.

Refer to the TrueDoc site for more information.



Good luck ;-)

Update (24-Nov-2008): Method 1 and 2 rewritten for clarity and demos added.

"Cosmos" please

I would like to request Television Maldives (and do urge them most earnestly!) to obtain permission and translate "Cosmos: A personal voyage" - the award-winning TV documentary series by Carl Sagan. It maybe a bit old by now but the scientific facts and explanations and the presentation of the series make it a remarkable and timeless production that truly is a candle in the dark. It would, or rather should, spark wonder in any young/old curious mind eager to learn and help achieve a better understanding of this crazy world we find ourselves in...

If TVM can find the time to translate and broadcast the utterly unscientific, pseudo-philosophical ramblings of Harun Yahya, then surely can it afford to do the same for some science proper?