Archive for February, 2011


One of the quickiest ways to get myself depressed is to read others’ resume. It makes me fully aware how ‘low’ level I am at: education, work experience, leadership capability, talents, in short – nearly everything. I am already ignoring physical appearance. It’s like “Shit, I know I’m nothing, but “this” nothing”.

However this kind of depression often passes quite quickly, in fact it soon turns into a laugh (ie. practised negligence).

Next week I’m going to have a look at some dartboards. If learning to shoot is so expensive, perhaps playing darts at home is a good idea?

Came across

More of this kind:

And I begin to love Mc 70c ice-cream. Miam miam.

27 February, 2011 at 1:57 am Leave a comment

[vbs] Get folder names / file names in a directory

‘Option explicit

Set fs = CreateObject(“Scripting.FileSystemObject”)

‘create output file
Set outFile = fs.CreateTextFile(“d:\folder_name.txt”)

‘set directory
Set oFolder = fs.GetFolder(“d:\”)

‘if get file name use this
‘Set oFiles = oFolder.Files

‘if get folder name use this
Set oSubFolder = oFolder.SubFolders

‘go through list
For Each i In oSubFolder

‘write to output
outFile.writeline i.Name


WScript.Echo “Finish!”

18 February, 2011 at 5:46 pm Leave a comment


It’s true that we don’t know what we’ve got until we lose it, but it’s also true that we don’t know what we’ve been missing until it arrives.

14 February, 2011 at 11:09 pm Leave a comment

Kohaku River

Mới xem Spirited Away. Tuyệt vời. Tám sau.

//copy from imdb quote

Chihiro: Listen, Haku. I don’t remember it, but my mom told me… Once, when I was little, I fell into a river. She said they’d drained it and built things on top. But I’ve just remembered. The river was called… Its name was the Kohaku River. Your real name is Kohaku.
Haku: Chihiro, thank you. My real name is Nigihayami Kohaku Nushi.
Chihiro: Nigihayami?
Haku: Nigihayami Kohaku Nushi.
Chihiro: What a name. Sounds like a god.
Haku: I remember too, how you fell into me as a child. You had dropped your shoe.
Chihiro: Yes, you carried me to shallow water, Kohaku.
Chihiro: I’m so grateful!

11 February, 2011 at 12:21 am Leave a comment

3 Normal Forms in Relational Database Theory

I find this guide easiest to understand:

First normal form (no items appear more than once)

  1. each col must have a unique name
  2. order of rows and cols doesn’t matter
  3. each col must have a single data type
  4. no 2 rows can contain identical values
  5. each col must contain a single value
  6. cols cannot contain repeating groups

Second normal form (primary key determine value of other columns)

  1. in 1NF
  2. all non-key fields depend on all of the key fields

Third normal form (value not determined by any non-primary key)

  1. in 2NF
  2. contains no transitive dependencies (when one non-key field’s value depends on another non-key field’s value)

Source: from Beginning Database Design Solutions (Rod Stephens)

7 February, 2011 at 2:58 pm Leave a comment

Older Posts

February 2011