Quicksearch

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

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.

Beautiful butterfly at home: growth in photos!

Last week, my mum found a caterpillar ravaging her young lemon tree. It had, like most caterpillars, camouflaged itself and blended in so smoothly that it managed to live unspotted right under her nose for days before the damage to the plant was too apparent to be missed. The caterpillar had eaten much of the leaves and shoots in a span of just 2-3 days and so my mum considered the fellow to be more active than any of the other caterpillars that we occasionally find on the plants at home. But that wasn't what caught my curiosity when she called me over to show it - the caterpillar was different from any that I had seen anywhere in Male'! This caterpillar was larger (~1cm across and ~3cm in length) and really sinister looking.

I decided to put the caterpillar under observation, afterall a caterpillar is just the larva stage of a butterfly and should go through the various stages over a few days to become a full grown adult butterfly. Over the course of almost 2 weeks, I watched as it first continued to consume leaves all day and then go into stasis for the pupa stage and remain apparently lifeless for several days, before (quite suddenly and unseen to me) the pupa metamorphosized into a beautiful large adult butterfly. The fellow had red spots/blotches on the hindwings, few white streaks on the forewings and was black everywhere else and sported wings with a wingspan of ~10-14cm.

The butterfly was of a specie I had not seen here in Male' previously, though its existence does necessitate that a butterfly laid eggs on the plant recently - quite unlike the way of the sudden-uncaused-creation ("gudhurathee ufedhun") of caterpillar larvae that some of our visitors and neighbours claim(ed)! I still am not sure what these butterflies are called but from all the web searches and butterfly indexes that I've gone through since, I am pretty sure this butterfly belongs to the Swallowtail Papilionidae family in the Papilionoidea class of butterflies. The most similar looking butterfly that I could find was the Common Rose butterflies which bear striking similarities. It might also be related to the Citrus Swallowtail specie too since the larva was found on a citrus tree plant and the caterpillars look very similar but the adult butterfly looks different while the Crimson Rose family has adult butterflies that look very similar but different caterpillars. This is, ofcourse, all just speculation simply based on my (very) crude and limited phenotypic observations and I could be wayyyy off mark...

Here are some pictures I snapped in keeping up with the development of this beautiful insect. The latter three stages (of the total four) of a butterfly have been captured to my best ability: the larva, the pupa and finally, the adult. Enjoy!


Caterpillar


Caterpillar


Pupa


Pupa


Soon after metamorphosis: the "tails" of the wings breaking off


Adult black butterfly with red spots, white streaks...


Adult/Imago close up - see the neat proboscis!?


The pupa shell that was left behind

Why do men have nipples?

The male nipple - it is something most of us take for granted. "It is there because it is there!". Every other part of the human seems to serve some purpose, each specialized to perform a particular function. As a kid, I pondered over many such mundane things and the male nipple was a baffling one. I didn't get a satisfactory answer or rather any real answer, from anyone. It really wasn't the sort of question you could ask just anybody. A Maldivian primary school teacher would most certainly have laughed at a student who asked such a 'silly' question and would most likely not know of a proper answer anyway. I had had some bitter encounters while in the primary school educational system and had learnt to not ask unwanted questions (I remember being ridiculed for stating Newton's third law of motion - for every action there is an equal but opposite reaction - AND being laughed at for saying that all it takes to make a navigational compass is a magnet and that they work on the principle of the attraction to the magnetic field of the earth). Since this was before the Internet was publicly available in the Maldives and knowledge had to be meticulously extracted from books and large encyclopaedias. To my disappointment, none of the latter that I had shed any light on the matter...

It maybe most obvious why women have nipples but why do men too sport those two so familiar dots on their chests? Is it an element of deliberate design? Placed there for aesthetics? Are they left over remnants on the male body from a time when they weren't so redundant? Has it something to do with the specifics of genetics? The male nipple is one oddity that, in my view atleast, deserves an answer. After all, it is such oddities that often shed greater understanding of ourselves and the world around us!

What do YOU think the answer is?

Anyway, if it tickles your interest, here are some answers that may help you put the question to rest.
- Quite a thorough scientific answer at Scientific American: Ask the Experts
- A shorter answer at A moment of science - Indiana University

Possessed by demons: A true story

Since I wrote about Jinns in my last post, I thought I'd follow up with this...

While at the Centre For Higher Secondary Education (Male', Maldives), I heard of this student who supposedly had been possessed by a jinn/demon and had to spend three months away from school. The school newspaper (called "CentrEye"), for which I was the editor then, immediately took an interest in getting his experiences published (we knew it would be a bit hit - our front page story!). He narrated everything in detail, right from the time that the demon Jinn started harassing him, how the demon eventually took possession of his body and the experiences that he was subjected to and how he came out of it all.

I had listened intently as he recalled the events and we shot questions to clear up this and that. The guy was very sincere in his belief in the events that had happened and had a pretty coherent story to tell. He was in almost all respects the normal sort of guy - friendly, kind and very entertaining. I was very much intrigued by the tale, especially since I was then pretty much accepting of the possibility of the existence of these so-called "supernatural beings"...

His experiences were published in 3 instalments, beginning with the Feb 2001 issue of the paper. Credits go to the original writers - the first instalment was written by Afu but the rest were written by the possessed himself. Here is the first 2 with the original text and has been converted to a PDF with some formatting applied for looks. I can't find the 3rd part but will put up when/if I find it...

- Possessed by Demons: A true story (Part 1)
- Possessed by Demons: A true story (Part 2)

Windows Vista - my new OS!

People have been bashing Microsoft's latest incarnation of its popular operating system, Windows Vista, ever since its conceptual stages. I don't know what people were expecting of the new operating system but some people claim that Vista is a disappointment. Me? I beg to disagree!

Some of Microsoft's OSes have indeed been dodgy, like Windows 95 or 98. However, of late, their software have been better and a lot more stable. Windows 2000 was pretty solid as a server OS. Windows XP was a decent OS for home and office use. I've used all of Microsoft's OS at some point in time although Windows 2000 and Windows 2003 has served as my main workhorse OS(es) for the past 6 or so years. Windows 2003 Server is undoubtedly the most stable Windows release, atleast in my experience. Despite it being a server OS, I used it for all my work on my laptop and since I keep my laptop switched on throughout the day I can say it goes without crashing or needing a restart for weeks. Since I move around quite a bit, I rely on the "hibernate" feature to retain the machine's state and Windows 2003 do well in that department to help me keep my work uninterrupted. I consider that more than acceptable performance as an OS...

I moved from Windows 2003 to Windows Vista last week after Microsoft included the Vista Business edition DVD in the list of Microsoft software that is downloadable to our university students via the Microsoft Academic Alliance program. I thought I'd jump the chance and grab my own copy of Vista since it comes with my own key so that I can avoid the registration and activation hassles that we, the pirate software ridden Maldivians, usually have to put up with :-P. I chose to go for a clean install rather than an upgrade as Vista has quite a few issues with "older" software. Starting afresh also gave me a chance to get rid of the accumulated mess that I've made now and then. :-P

Vista installed automatically and uneventfully after a short wizard driven process of collecting the information it wanted. My laptop booted straight into Windows and Vista had picked up and installed all the drivers except for the built-in Bluetooth module. What becomes apparent from the first boot is the shift toward a more graphical user interface. The new Aero skin gives Vista a visibly different feel to that of XP/2003 and the various graphical enhancements make for some good eye candy. Font smoothing, the technology that makes fonts looks so much better, is now enabled by default unlike previous versions - it's something I always had enabled manually in previous Windows'es. But it wasn't the looks of Vista that impressed me - it was the added options, the extra utilities and bits of software that has been integrated and united into the OS that really caught me eye. Windows Explorer, the taskbar, the Control Panel, the administration options etc have undergone changes. The security options have been beefed up - an adequate firewalling solution comes in the form of Windows Firewall and spyware/rogueware protection is offered by Windows Defender. The image viewing program has improved, although it is still not in the same league as ACDSee. Networking has been enhanced - Windows automatically figures out the network, finds nearby devices and has extensive Wifi support. Voice recognition and control is available out-of-the-box and is effective throughout the OS. There is also built in support for mobile devices via the cool new Windows Mobile Device Center which allows me to sync with my mobile phone easily. Fax, scanning and CD burning is available by default. A contacts manager and a calendaring program is also now available with the default install. The boot (and resume from hibernation) time has also increased significantly.

Anyway, enough of sugar-coating Vista. It's been a week since I moved to it, I've had my laptop switched on all the time as usual and Vista has remained stable thus far. If you are looking to move to Vista, do so by all means as long as your computer fits the hardware requirements.

>hibernate<

New website for Maldivian Students' Association-UK

I've been tied up past few days developing a new website for the Maldivian Students' Association-UK, as well as developing a new website Content Management System for Technova.

The new website for MSA is now online at http://www.msa-uk.org/. The website has a few more content updates to be done and is awaiting the member registration/management system to be put in place along with a few "community" tools to be also tied in.

MSA will be holding their Annual General Meeting(AGM) in London in just a few days. If you are a Maldivian student in the UK, you are welcome to pop into the MSA base anytime 22nd-24th Dec and join the activities.


MSA online presence revamped