Bismillaahir Rahmaanir Raheem
michael.dehaan (his spelling, not mine!) posted something that you can take or leave (I don’t want to start a flame war on my own blog):
michaeldehaan.net | Popularity Contests Are So Junior High School.
But what is intriguing are the ideas that develop in the comments. Please take some time and read those first, and then come back here.
Continue Reading »
Bismillaahir Rahmaanir Raheem
Alhamdulillaah, while reading about integers and, subsequently, prime numbers last night, I decided the time had come for me to write a primality calculator in PHP. The test I use in my implementation is about as a naïve as one can possible get, but it was fun, nonetheless.
Interestingly enough, I discovered that there already exists a primality calculator for *nix-based systems - primes. It comes with the bsd-games package for Fedora. I assume the same is true for other distributions. Mine isn’t quite as fast yet…but it does accept, optionally, one or two arguments. If there are two arguments, then it will calculate all primes starting from the first going until the second. If there is only one argument, it will calculate from PRIME_START (defined to be 2) through to the largest integer PHP can handle on your platform (usually the maximum value of a signed int on your machine).
There are loads of potential optimizations that can be performed, and this was just something written on a whim as a proof of concept. It seems to be accurate, however. The code, released under the GNU GPL v. 3.0, can be found below.
Continue Reading »
Bismillaahir Rahmaanir Raheem
Alhamdulillaah, I was able to take some pictures on the beach near our home here in Kuala Terengganu (KT).

Beach Panorama

Kuala Terengganu "Island"
Bismillaahir Rahmaanir Raheem
Alhamdulillaah, I’ve been able to make some major- and sorely-needed-upgrades to Audio Islam. Interestingly enough, for the vast majority of people, these changes won’t really be that visible as they are all behind-the scenes.
Continue Reading »
Bismillaahir Rahmaanir Raheem
Alhamdulillaah, I’ve returned “home” to Kuala Terengganu (KT), which is my wife’s hometown, and I’ve taken it to be my home-away-from home. It’s a beautiful place, especially because we actually live in a kampung, or village, not to far away from the main part of KT. Additionally, compared to Kuala Lumpur (KL), the air here is so much cleaner, fresher, and easier to breathe, alhamdulillaah.
I haven’t gone anywhere notably picture-worthy yet, but I hope I will get a chance to soon, in shaaʾ Allaah. The weather today (after a fierce storm last night) is outstanding, and made me want to shoot some photos with a crystal-clear blue sky background. Maybe another time…;)
If you want to see some photos of KT, just view the Malaysia category and there are plenty in previous posts.