Friday, May 27, 2011

lightning show 26/05/2011

From singapore through my eyes


From singapore through my eyes


From singapore through my eyes


The photos all come out slanted because the ledge outside my window is slanted. Now I'm regretting not getting the GorillaPod haha. Anyway there's nothing spectacular though; single streaks blocked by clouds aren't very impressive to me haha. All shot at ISO100, f8.0 and 30 second exposure.

Sunday, May 22, 2011

decisions

The fact is that in life, there is no one right way or one wrong way. There are many ways, many decisions, many branches and many outcomes, and once we have made a decision, we move down that branch, we accept that outcome, and we carry on with life from there. No use regretting or saying 'what if' because we have no idea what would have happened if a different decision had been made.

Now that the girl had been scalded by the hot plate, the father blamed the teacher for not moving her away from the hot plate fast enough, apparently because the teacher was afraid of doing so, like in vehicular accidents where the number 1 advice is actually not to touch the injured.

Perhaps in that scenario, common sense would have told us to move the girl away as quickly as possible, but if something else had happened to her had the teacher moved her (for example, her skin got torn off), I can rest assured the father will still be raining blame on the teacher now.

Blaming cannot undo what had already happened. Its unfortunate, but life goes on.

Saturday, May 07, 2011

End of 10/11 Sem 2

I really wanted to sit down and sort out my thoughts with regards to the General Elections, but currently I'm a little pissed, because Windows 7 refuses to detect and read my 1TB Samsung Spinpoint F3. I know its Windows, and not the hard disk, because both the BIOS and my Fedora 13 live CD detected it alright. But I suspect my hard disk is too new for my desktop [ok the hard truth, my desktop is too old for my hard disk].

Worst case scenario is to get a external hard disk enclosure or a hard disk docking station; not quite keen on them because they need external power sources.

************************************

My CS3241 lecturer compiled all the structures we created for our Lab 5 assignments into a 'village' and gave it to us!

Tuesday, May 03, 2011

radio stream on Linux

This is a post more to remind myself; had a scare when I did my Ubuntu upgrade and I thought I lost it. I just might as well share it here.

Since Maverick Meerkat, the default music player has been neatly integrated into the sound panel, and one feature of the music player is the ability to stream radio. Of course, the problem is to find the URL of the stream. NUS has an open source website stating the URLs, but I think they are outdated.

I looked through the HTML sources of the live MediaCorp streams before, and I noted the URL for the station I always listen to. Unfortunately, I did not record down the URLs of the other stations.

rtsp://202.172.226.196/FM933

However, recently they changed their stream URLs again, and I found a compiled list after some googling [I'm keeping the one above just in case]

89.7FM: http://www.mediacorpradio.sg/radioliveplayer/asx/ria897/fm897.asx
90.5FM: http://www.mediacorpradio.sg/radioliveplayer/asx/gold905/fm905.asx
92.4FM: http://www.mediacorpradio.sg/radioliveplayer/asx/sym924/fm924.asx
93.3FM: http://www.mediacorpradio.sg/radioliveplayer/asx/yes933/fm933.asx
93.8FM: http://www.mediacorpradio.sg/radioliveplayer/asx/938live/fm938TO.asx
94.2FM: http://www.mediacorpradio.sg/radioliveplayer/asx/warna942/fm942.asx
95.0FM: http://www.mediacorpradio.sg/radioliveplayer/asx/class95/fm950.asx
95.8FM: http://www.mediacorpradio.sg/radioliveplayer/asx/capital/fm958TO.asx
96.3FM: http://www.mediacorpradio.sg/radioliveplayer/asx/xfm963/fm963.asx
96.8FM: http://www.mediacorpradio.sg/radioliveplayer/asx/oli968/fm968.asx
97.2FM: http://www.mediacorpradio.sg/radioliveplayer/asx/love972/fm972.asx
98.7FM: http://www.mediacorpradio.sg/radioliveplayer/asx/987fm/fm987.asx
99.5FM: http://www.mediacorpradio.sg/radioliveplayer/asx/lush/fm995.asx

Monday, May 02, 2011

Froyo + Natty Narwhal

Finally after months of procrastinating, I got down to rooting my Samsung Galaxy Spica and installing custom Froyo on it.

Samsung launched the Spica running on Cupcake, with a promised free upgrade to Eclair when it was released. Then they decided that it was too cheap to be worth spending time putting Froyo in it, and concentrated their efforts on their flagship Galaxy S instead.

Thankfully a healthy community of hackers took the Froyo source code and successfully got it running on the Spica, bundling with it additional features like multitouch [which Samsung did not implement because the Spica apparently could not support it -.-] and 3D drivers, and fixing various bugs like the camera and the youtube audio/video not synchronised.


If one wonders why I used a camera to take photos instead of using a screenshot app, that's because I used a YONIP kernel that uses 24 Bits Per Pixel graphical interface, which produces a brighter and clearer screen but screenshots are not supported. I haven't verify it though. UPDATE: Verified with a random screenshot app that only 16Bpp and 32Bpp are supported.

As an example of the amount of hacking done to make all these happen, here is a photo. The photo information stated that it was taken with a Samsung SPH-M910. That is because the camera driver [and the 3D driver] was taken from the Samsung Intercept.

With the updated 2D and 3D drivers, games like Slice It!, previously totally unplayable, can be played now. Of course, much cannot be expected from the phone because its a low end model after all; Source Forge 3D crashed, Raging Thunder lagged, and there were rendering problems with Raging Thunder 2.



Stability wise its not at 100% yet; about 90-95% with the occasional unresponsiveness to touching of the screen or the pressing of the button. But otherwise everything works fine.

Speed wise it is definitely much faster now, with the use of Dalvik JIT complier and the ext2 filesystem. But it is still too early to judge because there is much less data in my phone now.


To be taken only with a pinch of salt.

Overall I'm very happy with the performance of Froyo on my Spica; Gingerbread hacking is still ongoing with many features not implemented yet; and I have a feeling Spica is not fully compatible with Gingerbread.

*************************************************************

Just upgraded my Ubuntu to the latest version!


For this new release Unity became the default desktop environment instead of GNOME as part of merging the netbook edition of Ubuntu into the desktop edition. It is something new, I am not used to it yet, but first impressions are good!


Unlike previous versions where there are two taskbars and another bar for each window opened, making a total of three bars, there is now only a single bar at the top, and that bar will take the functions of whatever window in focus. The icons at the side will be moved off the screen when the focus is on a window instead of the desktop, therefore the window will take up maximum screen space. Quite neat I like.


koped from Wikipedia. For some reason I couldn't take screenshots of this. Basically an Application tray.

UI wise that is all I have for now; any other comments will come as I play around more :)