I've moved to http://phalkunz.com. You'll be redirect to my new blog soon.

Tuesday, September 26, 2006

Let's tag

I've been tagged by Hans to join the 7tubes game. I don't really know what it is though but here's the theme, list 7 songs that we have been listening to recently and tag other people. I clicked my iTunes' "Recently Played" smart list and here are the six songs from the list and one not from the list.

1. Breathing by Lifehouse
This song's in Lifehouse's first album but it keeps me coming back again and again.

2. Every Woman In The World - Air Supply
I got to know this song by a movie called slither.

3. Besame mucho - Andrea Bocelli
I stole this Guitarra Cafe cd from my dad. I played all the songs and liked most of 'em. but since I watched this movie (i can't remember the name), it made me like it more and more. The song is a featured song of the movie.

4. Poison - GTO OST
4 or 5 years back I watched this jap series with my friends back in Cambodia and something just reminded me about it. I jumped to YouTube.com and played it again.

5. Back to you - Bryan Adams
10 years ago, I played this songs again and again everyday and lately I started to bring it back.

6. Feel good inc. - Gorillaz
It was my last year favorite and it still rocks.

7. It don't matter - Donavon Frankenreiter
I know nothing about his guy and the song but I really like it.

I've done my part so here are the people I'll tag.
1. Kenno
2. Kalyan
3. Somonkol
4. Chanbopha
Continue reading...

Thursday, September 21, 2006

Label Chart

Recently, my main interest seems to shift from photography to blog modification. I've been hanging out with my roommate Waz and all we talked about is blog mod. I've modified my About feature (button) so when we click it, it displays About information in the same page without redirecting to a different page but since it's not an obvious thing because I used the expand/collapse code with a few modification to enable the fading fx I didn't have a post about it. With this post, I'm blogging about a new mod which I called "label chart". It displays barchart for labels according to numbers of posts that have been tagged with. This idea is not my original idea though. I was amazed by this idea where they increase the font sizes of tags (called Label in blogger) depends on their popularities. First I saw this on Flickr I thought I was cool and thought I would make my own someday but then yesterday Waz introduced me to this post, it shows how to create that feature, which the author calls it Label Cloud. Just after that, I learned his code and without copied his code right away, I knew how to use <b:loop> tag in blogger markup language. Instead of making the same thing, I was looking for a different to represent the popularities of labels and then I thought of barchart and because it has been used for years for presentation of summary of numerical data thus most people are familiar with it. Finally, I made it with a few added lines of code. Even though I don't use the same presentation as used in Label Cloud, I still admire the idea.

Below is the code. The added lines are highlighted with yellow color. Click it to enlarge.

Continue reading...

Monday, September 18, 2006


Continue reading...


Continue reading...

Wednesday, September 13, 2006

Western Spring

Western Spring, Auckland, NZ
Continue reading...

Expand/Collapse Code

As I've been asked by a few friends of mine about Expand/Collapse, I just wrote a small tutorial of it even though you can find the code in page source of my old blog template it's not easy to follow because the code was lengthy and the function I wrote is not well structured I would say.

<script language="javascript">

// TODO: expand/collapse (show/hide) an element, specified by id,
// triggered by an element, specified by triggerID. triggerTxt is a text in trigger element.
function toggle(id, triggerId, triggerTxt){
e = document.getElementById(id);
trigger = document.getElementById(triggerId);

if (e.style.display == 'block' || e.style.display != 'none'){
e.style.display = 'none'
// instead of [+] you can also replace with an image as well
trigger.innerHTML = "[+] " + triggerTxt;
e.style.display = 'block'
// instead of [-] you can also replace with an image as well
trigger.innerHTML = "[-] " + triggerTxt;



<h3 id="trigger1" onclick="toggle('list1','trigger1','click here')">click here</h3>


<!-- element (in div) to be expanded/collapsed -->
<div id="list1">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>


<!-- call this function now to collapse list1 element when the page is loaded -->
<script>toggle('list1','trigger1','click here')</script>


Continue reading...

Tuesday, September 12, 2006

Get Drunk & Get Educated

Different manufacturers use different ways to promote their products in terms of advertising, packaging, giveaway, etc. Tui has an interesting way to keep its consumers entertained while drinking by printing a quiz on bottom of each bottle cap. I never found it cool because it is about New Zealand history esp sport history. I mean it's boring because I never liked history papers. But until Saturday last week, when we were drinking, I picked up each and every cap coz someone wanted to answer the quiz. Yeah, mostly it's about sport history of New Zealand as usual but along the way I found these 2 questions quite interesting so then I would like to share. The first question is "How long does it take a sperm to swim 20cm?" and the second one is "What does a polyorchid man have at least three of?" Try to answer if you want. There are also answers provided. To see the answers, press Ctrl-a (for windows) or Command-a (for Mac). Enjoy!

1. One hour
2. Testicles

Continue reading...

Monday, September 11, 2006

It's back!

Yay! Finally, I managed to get my modification back and I decided to preserve blogger navigation bar.
Continue reading...


I've just upgraded my blog to blogger beta so all the modifications I've made are all gone :( Anyways, I'll try to change it back again.
Continue reading...

Saturday, September 09, 2006

Be Socialized

I think Hans is right. The most socialable feature of Blogger is "next blog" button that takes you to a random blog in the Blogger blogosphere and it makes users feel they are totally connected with others, they're not alone. I modified my blog template just to personalised it and I deliberately block the "next blog" button. I didn't realized how important that feature was untill I read Hans's post "could blogger beat wordpress?", introduced by a link in Waz post. Being aware of the importance of the "next blog" button is, I put up that feature back on.
Continue reading...

Thursday, September 07, 2006

By The Window

Sitting by the window of my bedroom is a pteris fern and it is a present from Bex (even though I demanded her to buy it for me, I still called it a present).

Continue reading...

Wednesday, September 06, 2006

Yellow Flowers

Pic from the trip.
Continue reading...

Tuesday, September 05, 2006

Expand / Collapse

 I am supposed to be reading an article on GIS for my research but I was spending my time writing a javascript function to expand and collapse blogroll in the sidebar in my blog instead. Have a look at the blogrolls! Click one of the blogroll titles (e.g. [+] Friendz Weblogs) to expand the list and click again to collapse it.
Continue reading...

Configure Woosh Modem under Linux

I've been tried 2 linux distros (Fedora and Kubuntu) in the last 2 days (well, just for the sake of trying them out) on my pc machine (i386) The first thing and most import thing of all is to get my internet connection up and running. I am using Woosh nz isp connected using wireless modem. I thought it would be hard to set it up because it's not widely used and the technical support is only available for Windows and Mac systems only. I was googling and there I found what I really needed. [1] To configure the modem in Fedora is so easy. Just go to Network Configuration, create new connection and choose xDSL Connection and then just type in your username and password, that's set. [2] For Kubuntu, you have to fire up Terminal. Type in pppoeconf, which at first looks quite uncomfy for me, and then you have to answer (type in) a few questions, key in the username and password. That's all set! Oh, to active the connection in Kubuntu, pon dsl-provider and to disconnection poff.
Continue reading...