"Super moon" misconceptions

There seems to be a lot of misunderstanding regarding the "super moon" event that took place on 5/6 May. A "super moon" is a non-technical term for when the elliptical orbit of the Moon brings it closest to the Earth - astronomers call that position the perigee.

However, the resultant change in size is not enough to produce much of a visually discernible difference. The awesome looking photos being spread on Facebook, news sites and elsewhere, where the Moon appears several times larger, are the result of common depth-of-field photographic techniques and/or post-editing. Also, it may help to keep in mind that the Moon appears larger when near the horizon thanks to an illusion called the "Moon illusion".

Full Moons are beautiful though :-)

Transit of Venus on 6th June visible in Maldives

There is an exciting and rare astronomical event occurring this coming June: Venus will be passing in front of the Sun (as viewed from Earth) on 5/6 of June. The transit can be seen in the Maldives on 6th June. The transit would have already started by the time the Sun rises over Maldives that morning, allowing us to catch the event just as Venus reaches center at 6:31 AM. Venus exits the exterior of the disc of the Sun at 9:52 AM.

Venus is the brightest star in the night sky but during the transit, when Venus' orbit around the Sun takes it in between the view of the Sun from the Earth, Venus will appear as a black spot moving across the bright disc of the Sun. Solar filters are required to watch this (otherwise, be ready for eye damage!) and so is a binocular or telescope.

The next earliest Venus transit will not occur until 2117, so if this kind of thing gets you excited you might want to wake up early in the morning on 6th June 2012! Maldivian Association for the Advancement of Science will be holding an event - details later.

More information:
- 2012 Transit of Venus (NASA)
- Transit of Venus (Wikipedia)
- Find out the exact time for your location


Source: http://hemel.waarnemen.com/venus/venusovergang_2012.html

Maldives Crime Statistics Visualized: 2008 - 2011

The Maldives Police Service revamped their website on the 29th, adding some interesting online services to their website. One of the things that I caught my interest was the crime statistics, a month by month tally of different crime categories from 2008 to 2012. As far as I am aware of, these data has not been easily, publicly available before. The data listing displayed on the site, while interesting, doesn't facilitate an understanding of the trends over the period - which I was more interested to see.

Anyway, I scraped the data from the site, put into a table on Google Spreadsheet and made a small trend chart. I am sharing it here in case anyone else is interested in such too. The data used for the chart can be accessed and downloaded in the related sheet.

There are a few interesting things that can be seen.
- Crime was apparently very low at the beginning of 2008, was high for much of 2009 and came back to 2009 levels in 2011.
- There is a drop in theft from 2009 to 2011.
- Traffic related issues has continued to drop through the years.
- Drug crimes reached a major peak at the end of 2008 and had a significant drop through 2009-2010.

Smoothing the trending lines should give a better view of overall trends but that's for another time...

- View chart on Google Spreadsheet and download data


Thaana on Android: Font Installer update

Early last year, I posted a font installer for Android that replaces the default fallback font with the free FreeSerif font that includes Thaana glyphs. That installer should still work on most older devices.

Here is a repackaged version of that installer which should work on most of the new devices with more recent versions of Android. This version has been tested on a Samsung Galaxy Note running Android 2.3.6 and a Samsung Galaxy S2 running the recently released Android 4.0 Ice Cream Sandwich.

Steps


1. As before, the device needs to be rooted. You can easily root your device using SuperOneClick (free/donationware).

2. Put the update zip file (see below) somewhere on your device. You could do this by downloading the file straight from the web on to the SD card of your device.

3. Power off your phone and boot into recovery mode. The specifics of how you do this depends on which recovery tool was installed during rooting of your phone. Try VolumeUp+Center Button+Power. If that doesn't work, use Google. If you have the CWM app installed, then you could just flash the zip through that.

4. Select the update from Zip option in your recovery tool and select the update_thaanafont_v2_jaa.zip file from the list and OK it.

5. The update should progress and will ask you to reboot once completed.

6. Congratulations you have a Thaana font installed. Thaana text on the Facebook, Twitter and other apps should appear OK now!


- Download update_thaanafont_v2_jaa.zip

Do drop me a message, here or on Twitter, if it works and if there are issues. Enjoy!

Enabling PHP error reporting on Dhiraagu hosting

Here's a quick tip for anyone stumped by the issue.

I have not dealt with the web hosting services from Dhiraagu for a long time but had a brief encounter earlier this week when I was attempting to setup the custom CMS we use at Semicolon for a client project. It turns out Dhiraagu has error reporting disabled for their PHP setup as well as disabled the phpinfo() function, which by themselves really are decent security measures. But as a developer, error reporting is essential when setting up a new application or testing out code and debugging.

You can get back error reporting on Dhiraagu hosting services by overriding their error reporting setting through a .htaccess or by adding a PHP statement at the start of the PHP files.

.htaccess:
php_value display_errors on
php_value display_startup_errors on


PHP:
ini_set('display_errors',1);
error_reporting(E_ALL); // Or whatever level of error reporting you would like


Unfortunately, short of asking Dhiraagu, there is no way (atleast, that I am aware of) to activate the phpinfo function if it has been disabled by adding it to the "disable_functions" list in php.ini. However, it is possible to cull all (if not most) the data available via the phpinfo() function using other functions available within PHP.

Kandu geri monster

The photo below seems to have gone viral in the Maldives. The photo was snapped by someone from the police station in the island of Kulhudhuffushi in HDh. Atoll and according to the news, has caused panic and fear among some in the island and elsewhere. Haveeru Daily reported that even the police have now started to look into it. All because the black "thing" seen behind the kid in the photo is not easily discernible as being something we are familiar with. The general conclusion seems to be that it is an unknown creature. Some are calling it a "kandu geri" (hippopotamus), some consider it to be a "fureytha" (jinn) and some consider it to be a walrus or seal. Anyone who has ever seen a hippopotamus or seal or walrus will easily dismiss those claims.


Original picture


I tend to agree with the people who think it is just a woman in a black abaya and large black "buruga" (burka). The person who took the photo apparently says that he did not notice the thing at the time he took the picture and only noticed it later when he was copying the pictures from the camera to a computer. That really is clue number 1 - people tend to ignore things they are familiar with. He most certainly had seen the "thing" at the time but ignored it because he had seen a woman in the background and was not really concerned with what she was doing or how she appears frozen-in-motion in the picture.


Processed to highlight various aspects


Clue number 2 comes from processed pictures where light levels have been manipulated to show more details, as I have done in the picture above. The thin material of the burka appears against the background as being translucent. The form of the human body is also discernible with the limbs and the cloth wrapping around it. Abayas and burkas are designed to obfuscate the human form and it performs its job well for the woman in the snapshot!

Will this madness persist and a myth like the Loch Ness monster be created in the Maldives? What shall it be called? "Kandu geri" monster? I doubt the woman will be flattered.

MAAS Public stargazing: Before Jupiter disappears!

The Maldivian Association for the Advancement of Science will be kicking off its public stargazing event series tonight. Like the recently launched MAAS public science lectures series, the stargazing series will also be regular events and will be held at least once a month.

Tonight's stargazing event will mainly focus on Jupiter and its Moons as the planet will start setting early in the evening in a few weeks and will not be easily visible in the waking hours of the night for the next several months. Jupiter is a beautiful planet to look at with the telescopes we have at hand; the equatorial bands are visible brightly and, depending on the time, around 3-5 of its 64 moons can also be visible.

Venue: Masveringe Park, Male' (infront of Jade Bistro, next to the Hulhule ferry departures) (map)
Time: 8pm - 10pm, 27 January 2012
Attendance: Free, open to all

If you haven't seen Jupiter up close and personal through a telescope, then do come and join us. See you there!