dae's blog

Slide for ICE Data Structure


For my ICE students, the slides of today class and the last week is available on the Data Structure page.

Theme Change Again


It turns out that Sky is based on Theme Setting API which is also used in several themes, though they are not as highly configurable as Sky. However, it seems that I prefer Twilight over Sky but I still have to manually edit the font to be as I like.

Skin changed


I Just change the theme to Sky. To my surprise, Sky is highly customizable. A user is allowed to change the default font, font size, alignment, width of the theme. That is exactly what I want from a theme. Now, the only problem is that I believe that the skin is a little bit sober. Will try to change that soon.

OpenVPN on Ubuntu


Once again I have to build up a machine for OpenVPN. I have previously wrote articles about this but when I follow those instruction it still does not work. But first, let us talk about what I want to achieved. I just simply want to set up a road warrior configuration, i.e., I would like to have a machine, from any place, to securely access all the resource within our laboratory. This is not possible via public interface because the firewall rules block most of the port. Besides, it is not secure.

Finally I might be able to buy a cheaper phone


One of my key requirements for a phone is that it must be able to set an alarm based on specific day of week. For example, I should be able to set up an alarm such that it reminds me at 15:50 on every workday (Mon. – Fri.). The reason behind this is that in the period of last several years, I spent most of my time at Chulalongkorn University which forbid me to park a car inside the campus. This is understandable because the space is very limited. The alternative choice would be that I have to park at roadside.

First ICE class


Today is my first chance to lecture for an ICE students (the international course). It turned out to be a very good one!!! Much better than I expected, the students were very involved with the class. They responded to most of my questions. They were willing to come in front of the class and did some assignment I placed upon them. To the very most of my surprise, they even ask that I should keep teaching well beyond the end of the class.

My First Lecturer Day


Today I have just signed a contract with Dept. of Computer Engineering. Now, I am officially a full time lecturer at Chulalongkorn University. My former adviser came and said to me that he once heard a following quote.

> You are considered being successful in your academic career when your grand student got her Ph.D.



The HDD of our server is broken and I almost lost all my data. The failing drive is the OS drive, not the data drive and ,yes, I set up raid5 on my server but I forgot to put MySQL data directory (/var/lib/mysql) into the raid array (still keeping it on the OS Drive).

Windows Media Player 11 in Delphi

Currently, I am working on a Delphi project that requires movie playing in the application. Obviously, the direct approach is to use the Windows Media Player ActiveX. However, when I imported the active X and try to resizing it at runtime, strange behavior starts to happen: the control does not obey my command. After googling around, it is that I have to directly call the SetObjectRects method directly. This could be done by the following codes.

Delphi Plugin

I have been stuck with Delphi 7 for a long time. It seems like most people still do the same. Say, why should we upgrade? Since D7 itself is a very good tools. Most ppl skip Delphi 8, 2005 and 2006. Now, for the CodeGear version, it is really nice. It packs a lots of new feature that an IDE should have, refactoring, smart editing, visual guide, etc. I have a pretty good reason to upgrade to Delphi 2007.



Subscribe to Syndicate
Subscribe to RSS - dae's blog
© 2014 Nattee Niparnan. Drupal theme by Kiwi Themes.