Archive for October, 2005

Power Button

We must be taught not to touch the Power Button of the PC sometime in our lives before.

I always wanted to know the reason why. We must be told mostly that would “spoil” the pc.

Some told me memory would be lost. True becase ram is volatile but would it spoil?.
Some says that would corrupt the OS-operating system. Might true again eg. for *nix systems, but modern os like windows should be able to handle and recover from such incidents.
And it could damage the hardware, that could be likely if electricity is disrupted from those sensitive equiments. But there goes another theory ur life of the pc would depict each time you turn it on and off, so it best to be turn on all times, like your refrigator. Then again, modern hardware should be resistant to such situations.

And it bring me back to the days we were using ms-dos 6.22 and windows 3.11. To “shutdown”, its best we exit windows (to dos), and run the disk park utility. There was 2 popular park “software” my memory leaves an impression. 1 version with a power switch turn off when its ready. another which counts the no. of cylinders before telling you it safe to turn off the pc.

Then those newer version of windows, 95,98 so on would give a “safe to shutdown” screen after you run shutdown.

Then came the newer hardware, once the screen was reached, it power off itself.

On those newer hardware, the reset button could be removed. Pushing the power button resets the pc. To cut the power from the board, the button need to be held for maybe 5 seconds.

So this is the day of the “Soft Power Off”. Some PC would sleep/ suspend once the power button is touch. While for me and many others, its sends a signal perhaps to the pc to power off.

So this is a way how I turn my pc off in windows- pushing the power button, going against the rules of what we received. Its almost like pushing the corner triangle power button on a mac keyboard. And its much logical than clicking “Start” when you want to power off the pc.

Why I am called �明(xiao3ming2)

[warning, content below requires some chinese knowledge]
xiao ming walks suddenly and his legs suddenly becomes “suan”. Why?
xiao ming stays on the 20 floor, but takes the life to the 18 floor to walk up. Why?
xiao ming “pa” stairs. Why?
xiao ming’s caught a mostiqutoe on his hand but didnt want to kill it because it was its birthday, but it died, why?
xiao ming’s father has 3 children, yi mao, er mao, and whose the 3rd?
[xiao ming’s jokes extends to his family members, da ming, xiao bai, da bai, xiao pei… and the list could go on..]

Something like that happened in my ATT classroom.

Sensing I should should liven the admosphere of the class, I decided to ask what you might call, jokes, riddles, Ã¥?Ď??é—®ç­â€?题(Qian Bian Wen Da Ti meaning “bashing” or lame questions).

As usual, there are already some jokers (which every group of people should have), and soon it became a verbal (jokes) warzone.

Like the last line of defense of an aircraft carrier, firing 60,000 rounds per second, questions were pounded continously by me until others couldnt take it, dying of laughter or enemy lameless I don’t know.

I have categorised many jokes into themes (like tagging) eg. sound fxs, words, logical, mockary and truly lame types. One category which had a high number of questions involved the imaginary character called �明 (xiao ming).

Those are reasons why I earned that title of mine. (In this short time of NS, alone I am nicknamed [in BMT] “mini toon”, “transformer”, [in ATT] “violin player”, “MSD”, “xiao ming”. It would be a collection I could recall those other wacky nicknames i had).

Thinking back to where I have learn the new vocab, from the primary school english text book, that could describe me is the word “Riddler”.

Threaded/Nested Comments History and Beta 1

When I first saw it(can’t remember on some forums or wordpress), the threaded comment idea got stuck to me.

When I wanted to install that for my blog, it seems that I couldnt even decide which webpage to visit and even more complex for to to decide what to install.

Anyway at least I knew later 3 important names were involved.

Dodo.
Mark.
Brian.

It was difficult for me to know whats going on, because the installation instructions does not seem to be easy and for no reason I still cannot visit Brain’s blog (I managed to get the code looking at the source, and from wiki/). So as far as I could make out the history, the story goes something like this.

Dodo, running her on blog using the b2 engine,  created the earilest threaded comments hacks or plugin I could find.

Mark,  came to "translate or port" the script for wordpress 1.2. Although it supports non-javascript browsers, everytime you click on a comment  to reply it, it redirects you to another page to post your comment.

Dodo have since moved over to wordpress. She finds that  its troublesome to open another page just to submit a comment. She add javascript and a hidden field to mark’s script  so a visitor can post a thread reply in the same page.

Dodo then switch to 1.5, and has upgraded her scripts. She also has plugins for notifying visitors who made comments through email called Threaded Comments Notification.

The latest advancements for the plugin was made by Brian. More javascript and DOM was involved, css, and option page was also there. Brian’s threads could be expanded and hidden, giving the wandering effect. Clicking the reply to comment would move the commentbox into the thread, compared to previous version where the page just scrolled to the bottom to make a comment.

Then came along I, who wanted to make things even similar. I didnt want to modify the database or edit the comment.php file. So I used javascript, "injecting" fields into the comment page, using DOM to do the reordering of comment boxes. Much work was based from Brain’s version. If someone do no have javascript enabled, he would see the normal layout.

Of course its far from perfect, and it has alot of issues. Anyone who can help is great. Esp. it does not work with IE.

Goto the plugin page.

Cheap Trills Karaoke and other links and AJAX stuff

Vanbasco - Almost the best midi player++ you could ever find (for windows and its free). Not only it supports Karaoke midi files for you to sing along, it comes with pitch and tempo adjustments. Mute or make instrument parts solo. Look at the onscreen keyboard to visualise how you could play a song on the keyboard or piano. A powerful software not only to a normal user but a good tool for musicians. Use the powerful search engine to find midis or narrow the search to karaoke files to get music fast! Your best singalong companion.

Interesting and nice AJAX links.

Ajax poll
From the creator of the Ajax chatbox for wordpress

Protopage - AJAX personal bookmarks springboard
Cool ajax dashboard for “post-it” notes and bookmarks.

FREE bite-sized, sharable social spreadsheets. A cool online ajax spreadsheet. Get a free account and online collaboration(multiple users editing). “Alternative for excel”

Writely - The Web Word Processor
“Collaborate. Publish. Blog. Free!”. Ajax based editor. Could use it to write documents, or as WYSIWYG editor and collaboration. I say “Alternative for Word”.

Ajax
Tiny Tiny RSS
Ajax RSS aggregator.

Netvibes : AJAX at its finest
Another ajax dashboard/desktop like tool. Includes feeds, weather, search, browser(in which it loads faster than your browser does), integration with writely..

http://technology.amis.nl/blog/index.php?p=790

Other interesting links
UTorrent
Super small download size (<100k). Just run (no extraction, no installation). For windows. Open sourced. Powerful features.

Blog searching
By yahoo
By google

A Jack of All Trades

a master of none.. seems to describe a person like me.

A good example I’ve read is about the PDA on slashdot.

Why Have PDAs Failed In The iPod Era?

Then again lots of interesting articles on slashdot as usual..

The Best Science Photographs of 2005

For nerds like me.. have a nice time spending lots of time reading..