Archive for February, 2011
linked-in
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 http://www.ytuongsangtaovn.com/
More of this kind:
http://www.ytuong.com.vn/ideas/
And I begin to love Mc 70c ice-cream. Miam miam.
[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
Next
WScript.Echo “Finish!”
V-day
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.
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!
3 Normal Forms in Relational Database Theory
I find this guide easiest to understand:
First normal form (no items appear more than once)
- each col must have a unique name
- order of rows and cols doesn’t matter
- each col must have a single data type
- no 2 rows can contain identical values
- each col must contain a single value
- cols cannot contain repeating groups
Second normal form (primary key determine value of other columns)
- in 1NF
- all non-key fields depend on all of the key fields
Third normal form (value not determined by any non-primary key)
- in 2NF
- 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)