Monthly Archive for October, 2007

Its a bad day

Failing to be able to do a single question on my maths test, was a demoralized state which span the entire weekend and carried over into the new week. So much for being confident with my maths preparation.

Computers being one of the reasons for my weekend gloom, i decided to dispose a few computer parts:
2x P4 CPUs
1x P4 Mother board
3x CD Drives
3x Hard disk

I tried Ubuntu 7.10, Puppy Linux, and tried installing Suse Linux and FreeBSD.

Novell’s OpenSuse is quite polish to be a business or home desktop, and it can be one of top linux recommendations.
I found a few quires though.

Installation is simple, nice, user friendly, yet I feel some important bits is missing.
For one, the installer is able to make decisions on what partitioning options to use, yet my XP NTFS partition refused to be resize (or the installation). The partition manager didn’t allow me combined fat partitions too. In order not to corrupt the file system, I install on a portable usb hard drive.

However, where was no option where to place grub and they placed it into the mbr of the internal hdd. So I end up having to boot into suse, install the bootloader on the external hdd, then use MbrFix to repair the MBR on the internal hdd. Anyway it turns out my external hdd didnt boot suse and I’m left stranded to windows xp media edition. Which is good, because my projects are there and I won’t get distracted and have my time divided among the partitions and operating systems.

So much for ignoring an true advice not to try linux until the end of projects and exams, but I’m learning the lessons now- no personal projects till the weekends.

Music Radio Alarm

(I reposted this because of server migrations incase anyone noticed)
6 hours of my lesson-free day was fighting against my >8 years aged server. I lost the battle with some cuts on my fingers.
Instead of a bad configuration, it seems a faulty network card was playing me out. Lesson learned: If it ain’t broke don’t double fix it. If the server ain’t going to work anymore, there’s no point keeping this post as a draft, gotta publish it now.

Back to the topic, my father brought home a portable Philips radio combined with a Cd player and alarm clock years ago. My impression it wasn’t a very good audio player, its features and sound quality was just minimal. However, there was still few interesting and useful features. It served as clock and I also used it to set my morning alarms to interrupt my dreams by either

a) Turning on a FM station
b) Playing tracks of my CDs, or
c) Sounding alarms likes beeps and rings.

You could set to 2 alarms on it, so I usually turn on the 1st alarm to the CD tracks, then blast the noisy alarms 10 to 60 minutes later. The 1st alarms is for switching my body into a light sleep, and starts the engine of my subconscious mind. If I’m still in deep sleep, the loud sounding alarms is the last line of defense not to be late for school.

There were few CD tracks that never fail to wake me up- Carmen’s fantasy, Walton’s violin sonatas, Stravinsky’s Rite of Spring and so on… some tracks made me want to lie in bed to hear the songs- Bach’s Brandenburg Concerto 5…

That’s for waking up. For sleeping, I’ll set the timer to turn off the CD or Radio after a period of time. It seems to me I never get to sleep soon if my mind is actively listening to classical music.

— if you are not a computer geek you can stop reading right here —

Here’s did an equivalent on my server plugged to speakers. 4 linux commands I used: screen, mplayer, sleep, killall.

I start my ssh session with putty to my and run screen -r

1. Play lullaby softly
mplayer http://audio-ogg.ibiblio.org:8000/wcpe.ogg -cache 256 -af volume=-5dB
This plays WCPE, the online classical radio at a softer volume. I move to another screen window for the next step (^A,n)

2. Silence the lullaby
sleep 15m && killall mplayer
Sleep here is used sort of like a countdown timer. Here, 15 minutes later, the mplayer is terminated for silence. We need another window for the next step.

3. Countdown the alarm
sleep 3.5h && radio.sh
This shows I want the radio to be turned on again after 3 and a half hours to wake me up…

Thats not too much sleep isn’t it? La la la… ZzZzZZZzZ

Humming Brahms

Tuned to the Arst3000 Online classical radio while studying, a surprisingly familiar melody caught my attention and then I introduced the song to my friend to appreciate.

It was the opening from Brahms’ 2nd Piano Concerto, 3rd movement- Andante and hearing that always remind me of 2nd movement from Brahms’ Violin Concerto. I felt they were similar: Both were the openings of their movements, both beautiful melodies, both played by instruments not the soloist’s, both played for a while before the soloists start to snatch back the audience’s attention.

Who doesn’t know Brahms Lullaby? Brahms’ melodies have something special in them, and perhaps Mendelssohn always wanted that ability of Brahms to compose melodies, songs everyone could remember remember, whistle or hum (or haunt) after hearing them.

Recently I got hooked to Brahms 2nd Symphony again. In just the first 3 minutes of the first movements, appears 2 melodies I like. 1st is slightly after the 1st minute, and the second slightly after the 2nd minute and both melodies would reappear again couple of times in the movement. The 2nd melody to me feels like a variations to Lullaby.

Other nice works from Brahms (in my collection), (Violin and Cello) Double Concerto, Brahms Violin Sonatas, and the rest of his symphonies, his Viola/Clarinet sonata and intermezzo for piano.

Try Brahmsing!

Facebook Ideas

I’m thinking of creating a Facebook Application.

Some ideas that I have.

  • Universal Search
  • Bookmarks
  • Blog Post
  • MSN
  • What you are doing
  • Where you are
  • Online Time Tracker
  • Online Votes
  • Memorable History

Do let me know if you have any ideas. If the idea is really worth the effort, I may do it if not it will be one of the many gabra apps on Facebook.

RSS Feeds Aggregator

RSS issn’t the new kid on the block (5 years since I heard of it), but its time to review what I know about it. RSS, Really Simple Syndication, or is a combination of XML and Web Services ideologies. A small subset, yet huge in its practicality.
“Feeds” if used like a noun seems to be a synonym to RSS and if thought
as a verb describes webpages feeding your computer with information. An
aggregator or a reader pulls or get “feeds” with data, organise and
present them to the user.

Here’s four reasons why you should use RSS.

1. Check sites for updates (or not).

2. Information Quickly.
3. Get Content without the Clutter
4. Organisation!

1, RSS allows you to see check your favorite sites for updates without all the manual clicking. 2, You can see new(/old) subjects and perhaps extract at a glance. You get information quickly because all information is consolidated. 3, You read the contents in a consistent manner, and avoid the different fonts, layout, bad designs, and links getting to their pages. Maybe RSS is an alternative to your web browsing. 4, You organise information in a meaningful way, in a task oriented, or just the way you want it to be.

In short, time savings and productivity!

Here’s some type of content you might use RSS with.
1. Blogs
2. News
3. Updates

My observation: Before social networking boom like Facebook, blogs were the majority procrastinators paradise. Anyway, lots of time would be spent just going through your list of friend’s online diary. RSS can help you cut down the time on that. News feeds update you with the most current affairs. RSS’s a good way to check updates on communities you are interested.

Where you can use RSS.

1. Browsers - IE . FF . Opera, Maxthon,
2. Widgets/Plugins/…
3. Client software
4. Mail Readers
5. Web-based

Over time has RSS applications evolve while others adapts. 1. Almost all modern browser (and their wrappers, addons) supports RSS whether with a reading pane, or just as improved bookmarks. 2. Desktop widgets, web plugins (for Wordpress or Facebook maybe) supports them. Web desktops like iGoogle, myYahoo, live would support feeds. 3. If you prefer a dedicated software try the free, multi-platform RSSOwl or look at some of the huge lists around. 4. Mail clients being the perhaps the no.1 work software, would now include RSS support as a way of “working”. 5. A method of solving the problem of reading your feeds everywhere is to implement it online. Here an review on some of the best web rss clients. Knowingly or not, web sites are using RSS behind the scenes eg. Google News.

Now to get started, lets use Google Reader, the web based RSS reader. Much improvements since I first used it, here are their powerful features and some useful tips:

1. Adding sites
Their quick add button allows you to throw any site URL, and Google reader works behind the scenes to find the feed, extract the RSS and add it to your collection. Most blogs nowadays have would have RSS, in case Google don’t find feed on some blogspot sites are perhaps because they set their privacy for Google to ignore. just add /feeds/posts/default
and the feed is added. eg. hello.blogspot.com/feeds/posts/default

2. Add tags/folders
Group your sites. Example blogs, news, games so on… You could click on a category to show you all stories from the sites in that group, just like each reply in a Gmail conversation.

3. Import/export your feeds.
Dump all your sites into GReader or dump them into a file if you wish to switch to another application.

4. Personalise your feeds.
It easy to add large lists quickly and loose interest soon because of information overloading. Go slow but steady. Add pages which are interesting but not your site hangouts into a separate group so important sites to you won’t get
And lots more!

Get read-feeding!