Aung San Suu Kyi released

Aung San Suu Kyi has been released by the Burmese military after being detained for more than 15 of the past 21 years:

Burma releases Aung San Suu Kyi

The Burmese military authorities have released the pro-democracy leader, Aung San Suu Kyi, from house arrest.

Appearing in front of thousands of jubilant supporters outside her home in Rangoon, Ms Suu Kyi said they had to work in unison to achieve their goals.

The crowd had rushed to the compound when nearby barricades were removed by police.

The 65-year-old Nobel Peace Prize winner has been detained for 15 of the past 21 years.

[Source: BBC]

How to install pg gem for PostgreSQL in Ubuntu

I am using PostgreSQL 8.4 in Ubuntu 10.10.

After install postgresql-8.4 with aptitude in Ubuntu, I couldn’t seem to get the pg gem (postgres) to install right. It has the following error:

[code lang=”bash”]$ gem install pg
Building native extensions. This could take a while…
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.

/home/kahwee/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
checking for pg_config… no
checking for libpq-fe.h… no
Can’t find the ‘libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/home/kahwee/.rvm/rubies/ruby-1.9.2-head/bin/ruby
–with-pg
–without-pg
–with-pg-config
–without-pg-config
–with-pg-dir
–without-pg-dir
–with-pg-include
–without-pg-include=${pg-dir}/include
–with-pg-lib
–without-pg-lib=${pg-dir}/lib
–enable-static-build
–disable-static-build

Gem files will remain installed in /home/kahwee/.rvm/gems/ruby-1.9.2-head/gems/pg-0.9.0 for inspection.
Results logged to /home/kahwee/.rvm/gems/ruby-1.9.2-head/gems/pg-0.9.0/ext/gem_make.out[/code]

I already have libpq5 installed but I realized what I needed in libpq-dev.

[code lang=”bash”]sudo apt-get install libpq-dev[/code]

After installing, run “gem install pg” again:

[code lang=”bash”]$ gem install pg
Building native extensions. This could take a while…
Successfully installed pg-0.9.0
1 gem installed
Installing ri documentation for pg-0.9.0…
Installing RDoc documentation for pg-0.9.0…[/code]

And success.

Reported sick today

For today and tomorrow — as I predicted — I will be sick. I am down with a bad flu and a sore throat. I don’t even have my laptop with me and most of my stuff are in there.

I’ve been wanting to do some stuff lately:

  1. Buy HTC Desire HD
  2. Renew my fixed internet subscription
  3. Get the Citibank credit card with the SMRT logo
  4. Buy some new shirts and socks.

Since I saw the HTC Desire HD phone last month, I’ve been wanting to get my hands on it.

On Crazy Horse’s family

Crazy Horse (Lakota: Tȟašúŋke Witkó (in Standard Lakota Orthography), literally “His-Horse-Is-Crazy” or “His-Horse-Is-Spirited” ; ca. 1840 – September 5, 1877) was a Native American war leader of the Oglala Lakota.

This is just too hard to read. I can’t help laughing at this:

Crazy Horse’s Family

Crazy Horse was born to Oglala Lakota parents. His father, born in 1810, was also named Crazy Horse. One account said that after the son had reached maturity and shown his strength, his father gave him his name and took a new one, Waglula (Worm). (Another version of how the son Crazy Horse acquired his name was that he took it after having a vision.) His mother was Rattling Blanket Woman (born 1814). Rattling Blanket Woman was the daughter of Black Buffalo and White Cow (also known as Iron Cane). Black Buffalo is famous for stopping Lewis and Clark on the Bad River. Rattling Blanket Woman was the younger sister of Lone Horn (born between 1790 and 1795, and died in 1875) and also of Good Looking Woman (born 1810). Her younger sister was named Looks At It (born 1815), later given the name They Are Afraid of Her. Crazy Horse’s cousin (son of Lone Horn) was Touch the Clouds. He saved his life at least once and was with Crazy Horse when he died. It has been claimed Crazy Horse’s mother was Minneconju and the sister of Spotted Tail, who was a Brule head chief.

In the summer of 1844, Waglula (Worm) went on a buffalo hunt. He came across a Minneconjou Lakota village under attack by Crow warriors. He led his small party of warriors to the village and rescued it. Corn, the head man of the village, had lost his wife in the raid. In gratitude he gave Waglula his two eldest daughters as wives: Iron Between Horns (age 18) and Kills Enemy (age 17). Corn’s youngest daughter, Red Leggins, who was 15 at the time, requested to go with her sisters; all became Waglula’s wives.

[Source: Wikipedia]

I bolded all the names for you. I think “Good Looking Woman” sounds like a good name.

Skype 5 for Windows

I just upgraded to Skype 5.0 for Windows. It’s really good at first glance. No longer are there annoying floating ads to get me to make phone calls. Overall the interface looks more polished than before. The integration with Facebook is a nice touch although I can’t find a reason to use Facebook through Skype. Now I will hope they get the Mac OS X one released soon too. Great job there.

Advanced theory test question

I passed my advanced theory test for driving at Bukit Batok Driving Centre. I got all questions right.

Question, what do you do when placed in a situation where there is an old man still crossing the road after the green man has turned red?

Options:

  1. Sound your horn at the pedestrian to hurry him.
  2. Rev your engine at the pedestrian to hurry him.
  3. Be patient and wait till he finished crossing the road.

My favorite question.