High-Tech Rojak
Blog by abdza. Open Source, Computers, Gadgets, Life, Love and everything in between.
Monday, February 13, 2012
Where has the love gone?
It makes me sad whenever people make fun of the prophet, the muslims rather than teach how the prophet was really like and his contribution to their lives and in doing so makes them understand why it is so disrespectful to make fun of such a person, choose to collectively call for murder of these people. Early in the days of his da'wah, people made fun of the prophet in even worse way, they called him even worse things, they put trash in his path, they even flung camels dung and intestines on him while he prayed. But when he finally won the conquest of Mecca, did he do the same to the people who hurt him so? No, he forgave them. When the people of Ta'if sent out their urchins and stoned him till he fled from them bleeding, and the angles were willing and ready to crush the town with mountains, did he approve of it. No, he just prayed that maybe their next generation would be muslims. A man who his companions say was never angry on his own account. Such a man, do you think if he was still amongs us today, would want us to react this way to such small and trivial things? I believe that he would rather not.
You can go here and here to see exactly what did he tweet. In his tweet he did not call the prophet any names, or associate with him any bad behaviour or anything. At most you can say was that he called the prophet a man, a normal man. And that was all that the prophet claimed he was. He was a normal man. With a message from Allah. And maybe that's the part where the contention is. With words like 'do not like the halos of divinity' and 'I shall speak to you as a friend, no more', people jump to the conclusion that he has renounced his religion. He even apologized and made shahadah and still people howl for his blood. Personally, I think these are extremely bad examples the muslims are making. You are not making the case of proving a 'most merciful and most forgiving' God by killing people. You are not making the case that if the muslims ruled the land, all the people will be treated fairly and justly with due respect and dignity no matter what they believe in. You are not making the case that Islam is the highest and none is higher because you are acting like you need to "protect" Islam and that it's followers are just dumb sheep that would be easily confused because their faith is so complicated.
On his death bed, the last words of the prophet was 'ummati, ummati, ummati' (My ummah, my ummah, my ummah). So concerned was he for his ummah, that even in the very last moment of his life, he was still thinking and worrying about them. He had such love for this ummah. He gave up everything and underwent countless challenges so that this beloved ummah would be properly guided and would find peace and safety in this world and in the next. Please do not bring shame to the prophet this way and make the world think that he was a lesser man than he actually was.
p/s: ummah means people. As the last messenger of Allah, Muhammad's ummah was the whole of mankind.
Wednesday, February 8, 2012
Running Android SDK on Arch Linux x86-64
Saturday, January 28, 2012
Ice Cream Sandwich on the cheap
My son keeps on playing with my htc phone until the batteries run dry. People can barely contact me because if my son answers the phone he doesn't want to pass it on to me. What's a techie to do? Why, get his son something else to play with of course.. :P So I scoured the low yatt plaza looking for something that would be cheap enough that if my son breaks it, I wouldn't mind, but fast enough that he can play his games on it. After searching high and low, the best I could find was the android pocket pc. It's basically just a very cheap android tablet that comes with a casing with a keyboard in it. Funny thing is, the keyboard is usb, the tablet only accepts mini usb (not even a micro usb) and so they also give an adapter from usb to mini usb. It costs rm 699 a pop. If it's still running by the year end, I'd consider that already as ROI. They claim the cpu is 1.5 Ghz and memory 1 GB. I haven't installed any diagnostics software to make sure, but the internal storage is 1 GB just by looking at the application management settings. It doesn't have a back facing camera to take any pictures, but it does have a 1.3MP webcam you can use to video chat or something. And it comes with a somewhat customized android 2.3 (customized as in it looks like a tablet interface, something like the original galaxy tab I think).
So I just had to do it. This morning I was already ready to try installing ICS on it. Mmmmm... manufacturer... none that I can find.. model.. oh err... damn these cheap things... How on earth am I going to find info on how to go about flashing it and all. Finally I just googled the build number, and I come to this gem of a post..
So basically the steps are, download the ics image either from:
MOMO9c ICS v1
build #1
Model 97FC
Kernel Version 3.0.8+ inet_dada@Inetsoftware #1 (without market, still has bug)
Build Number 97F1-D1-H2-H01-N412-20120105
- Momo9c ICS v1
Kevin Custom build 12
Model 97FC
Kernel Version 3.0.8+ inet_dada@Inetsoftware #12
Build Number 97F1-D1-H2-H01-N412-20120111
- Momo9c ICS v2
build #15
Model MOMO
Kernel Version 3.0.8+ inet_hxj@Inetsoftware #15
Build Number 97F2-D1-H1-H02-1553-20120113
I tried both the #12 and #15 build. Both seems to work fine.
After the image is downloaded, download the LiveSuitPack.
Run LiveSuitPack_v1.07.exe first,
then run LiveSuit.exe. (Yes, I did this in windows. Since it involves hardware, I would highly not recommend you try it in wine or something).
Running LiveSuit.exe will automatically run the wizard, if not click the third icon (the gears).
Click on "Yes",
then "Upgrade Mode",
then "Format",
then "Next",
then "Yes",
browse to the image you downloaded,
click "Finish".
Once that is done, there will be a progress bar but does not move. Now for the tablet.
First, switch off the tablet.
Then press the + volume button,
while keeping it (the volume button) pressed, connect the usb cable to the computer,
press the power button 6 times,
then let go of all the button. Fuh...
I had to go here to find out that.
Once that is done, the dialog box to confirm will pop up 2 times. Answer yes for both, and soon the progress bar will start moving.
Once it's finished, disconnect the table, turn it on, and there you have it, ice cream sandwich on the cheap.
Note about the build #15, it's in Japanese.
So you should first go to the settings page (flick the screen to the left to go to the pan on the right, it's the black box with control setting on it).
There choose the language options (it's the one with a capital A next to it),
click on the first option,
and select whichever english language you're comfortable in.
Then you can start playing around.
Both the build #12 and build #15 already has the market in it but I wasn't able to find the icon. What you should do is search for market, then you will find the market app. Install whatever you need.
Well, that's all for now. Time for me to keep on learning (playing) more about the ICS I've just downloaded.. :P
Friday, November 25, 2011
Changing to text in Excel
For i = 2 to 196
Range("C" & i).Select
ActiveCell.FormulaR1C1 = "'" & ActiveCell.Value
Next
Now I won't have to google all those mysterious command again the next time it happens..
p/s: don't laugh at me struggling with vb you insensitive clod.. :P
Saturday, November 19, 2011
Back into Gnome 3
But guess what? Even linux mint is moving to gnome 3 with it's upcoming release 12. Except it'll have a bunch of customization which keeps your workflow more the less the same. And not only that, it's even easy now to install the gnome-shell in ubuntu 11.10. So since now almost everyone is on that bandwagon, I might as well get on it myself.
I've bought myself a spanking new laptop recently and thought that'd be a good candidate for a new start on gnome 3. At first I thought maybe I'll try fedora first (I've always been unlucky with fedora for some reason). Since the new laptop already comes with Windows 7 and I wanted to dual boot anyway in case there might be situation where I might want to use windows, I wanted the installer to automatically resize the partition and install it side-by-side. But alas, my bad luck streak with fedora continues as trying to use the installer to resize the partition gives an error. I've forgotten exactly what the error was, but after 3 attempts at it, I said, well maybe I'll try something else. Burned an ubuntu cd and a few minutes later I've finished installing ubuntu 11.10 side-by-side with windows resizing the partition just using the installer. Sweeeeeeeet.. :) And one 'sudo apt-get install gnome-shell' and I'm in the game again. Oh, looked at unity a bit again first before installing gnome-shell, still don't quite like it.
One thing that I approach differently now when using gnome 3 is don't think so much of using it menus style, use it gnome-do style. Press the super key (that's windows key for those who don't know :) and just type a few letters of the app you want to start. Things I usually use like terminal and firefox usually come up right in front so it's really just pressing around 3 keys (super, f, enter). Apart from that I've wrapped my head around the idea of using the alt-tab and alt-"key above tab" for jumping between windows of the same app. So it's getting a whole lot more acceptable now. I might even convert my main desktop back to arch or something once I have the time. Starting to really like using gnome 3 again.
Sunday, August 7, 2011
When you have time...
Write your goals, then write your actions toward those goals, going from long term to short term. And very soon you'll end up with actions you can do here and now to reach your goals which might take years and years to reach. Write it down you so wont forget. Write it down so that you can focus. Write it down so that is your contract between you and the future you who might get distracted by other things happening around him/her. Have you written it down? No? Harder in practice than in theory eh?
Choose success...
Saturday, June 25, 2011
Android development
So the first android app I've written is about something which is quite dear to me, solat. I've wanted to write an application for referencing http://www.e-solat.gov.my (which I use on my blog to display solat times) even before I've got my desire. But once I've got it, I found that Syakhir Jaafar already beat me to it by releasing MySolat. So I've been using that one until I've finally got the drive to write my own. The title of my application is "Solat Malaysia", because, it shows solat times in Malaysia (Yeah, I'm really creative that way.. ). I am writing it more for my own use and practice in writing android app more than anything, so I'm releasing it as an open source software where you can get the code here. So if you are a muslim and using an android phone, please try to download it from the market and maybe give some feedback. I have a few ideas on what feature to add next and all, but some feedback from other users would be great too. But if you are not a muslim (as in you don't have any use for my app), you can still learn from the codes or maybe even advice me on how I can improve mine, check out my github. Any kind of input would be greatly appreciated. My development currently is mostly done in eclipse (yeah, haven't got raw yet.. :P).
Programming for the android is certainly different than what I usually do (web apps mostly) but I can relate to the mvc style with declaring the inteface in the xml resources and the logic in the java codes and all. I guess the main hurdle was actually just getting a feel on how everything glues together (and there is a lot of things, the resources - (strings, menus, layout), the android manifest, the codes, the intents etc). But once you've grokked it, it feels quite natural.
Whichever way it is, the book helped a lot. Expect me to continue to improve the "Solat Malaysia" app (it is very rough right now) and hopefully I'll write even more software for the android platform in the near future. Stay tuned.