Oracle 代码中的 Radiohead 歌词

| 9 Comments

这是我接触 Oracle 这么多年来最有趣的一件事儿。

刚才在邮件列表中看到一位叫做 Dennis Yurichev 的安全研究人员提及在 ORACLE.EXE 这个文件代码中包含有 Radiohead 乐队 Creep 这首歌的歌词,立刻验证了一下,果然:

$ strings oracle.exe | grep radiohead
I'm a creep, I'm a winner, what the hell am I doing here.
I don't belong here - radiohead

没错,真的是 Creep 这首歌的歌词。Radiohead 颇受 Geek 程序员的喜爱。看得出加入这段代码的程序员对这份工作并不是很满意..."what the hell am I doing here"...

另外,原歌词是 I'm a weirdo(古怪的人),而不是 winner ,估计是随手写错了。

这位 Dennis Yurichev 还给出了伪代码:

#define STRING "I'm a creep, I'm a winner, what the hell am I doing
here.I don't belong here - radiohead" 
kfasSelfTest_update() { kfasOpen (...);
somestruct.somevalue=STRING;
kfasUpdate (somestruct);
kfasClose (...); newstruct=kfasOpen (...); if (strncmp (newstruct.somevalue, STRING, ...)!=0) { // raise error 99999? kserec1(99999, 1, ...); kserec2(99999, 1, ..., STRING, 1, ...); return 0; };
kfasClose (...);
return 1;
};

据说是 10.2.0.1 之后才有,可能和 Oracle ASM 特性有关,不知道这是 Oracle 哪一位程序员的杰作...

--EOF--

我最喜欢的 Radiohead 作品还是 Paranoid Android ...

9 Comments

weirdo 手误为 winner 有点不可置信吧,在歌中这个词的读音还是很清晰的,我偏向认为是故意为之……

听这歌时会联想到王菲的《你快乐于是我快乐》

程序员也是人啊。

嗯,看了一下我的iTunes曲库,Radiohead的评级如下:

Paranoid Android和Creep并列获得四星
Exit Music (For A Film)、Karma Police、No Suprises、Backdrifts (Honeymoon Is Over)和A Wolf At The Door (It Girl, Rag Doll)并列三星
还有10首歌获得两星或一星

顺便说一句,我整个曲库中只有Michael Jackson的Man in the mirror获得了满分五星,而绝大部分歌曲没有获得一星。

哈哈这个强! 我很喜欢radiohead!!

radiohead原来这么有名,我也赶快把CREEP听听了。

Bill Joy committed that he didn't write vi in one weekend as the rumor said.

http://www.theregister.co.uk/2003/09/11/bill_joys_greatest_gift/

看到"I'm a creep"这一句进来的,只听过电台司令的这一首