Archive for the ‘Uncategorized’ Category
Uncategorized → Buzz lightyear with the homemade valpre helmet we just made
Uncategorized → My favourite machine
Uncategorized → Windows 7, so far so good!
I know that this is not a feature of Windows 7, but heck, its part of my experience. This is my 1st blog post, not done from the WP Admin console (I know, I know). I’m using Windows Live Writer, which I discovered while exploring Windows 7. And that’s that. Nothing more to say, except that I love the following about Windows 7 so far:
- Like the way the taskbar allows one to pin applications
- Like the way the themes work and backgrounds change
- Like the libraries feature, allowing me to collate multiple folders for My Documents, My Music etc, from different places.
- Like the bootup and shutdown times
Don’t like the fact that the licence is going to expire at some point!
Humour, Uncategorized → JK Divorce Entrance Dance
JK Divorce Entrance Dance
Humour, Uncategorized → JK Wedding Entrance Dance
JK Wedding Entrance Dance
Not sure how this can be done with purdah section, but needs to be done at next family wedding!
Uncategorized → iTools in Python
Calculating Islamic prayer times can be simple, if you are outside and have stick (where you can check if its sunrise, sunset, mid-day etc.) or quite complex if you want to calculate whether it’s sunrise, sunset, mid-day etc. Thankfully, there are people who have done the complex calculations and others that have pulled these into software.
Unfortunately however, the geniuses at http://www.arabeyes.org/ decided to use c as their preferred language for the iTools project. iTools is available as a package on Ubuntu, as well as libitl, the library where all the smart stuff happens. The guys at arabeyes were kind enough to also include with the libitl source code an example perl wrapper and the SWIG configuration files thereof!
A few hours of tinkering with SWIG got me to the point where I can succesfully calculate Salaah times using a decent programming language (Python).
Here is the wrapper library, compiled object and example code for anyone that wants it. I will explain the process in making the attached when I have more time (InshaAllah).
For anyone wishing to roll their own, download the SWIG interface file and Makefile and place these in the swig folder of the libitl source package. Build the itl source before running “make python” in the swig directory.






