20071222 網摘 – IE8 通過 Acid2

Barcamp in HK


情陷夜中環

情陷夜中環

眾所周知,公司搞的所謂Christmas party,其實不過是老闆展現皇恩浩蕩的一場show。群眾也許是愚昧的,但也不至於因為老闆唱兩首歌或扮一下聖誕老人,就會被這等「忽然親民」的行為打動。

「女皇」作為公司的最高話事人,

Andy Warhol

Andy Warhol

偶然發現上司Eric的房間掛著一則「辦公室禱文」:

“Grant me the wisdom to hide the bodies of those people I had to kill today because they pissed me off, and help me to be careful of the toes I step on today, as they may be connected to the ass that I may have to kiss tomorrow.”

老實說,我的確嚇了一跳。一直以為Eric的交際手段

「泡沫」風波

雖然 Here Comes Another Bubble 在刪除了攝影師 Lane Hartwell 的照片後再上架,但也引來其他攝影師的 質疑 是否應向影片創作者 the Richter Scales 有同樣的要求,刪除相關照片或向他收取費用。

有論者認為,圖片只是用於「惡搞」,其實可以是 Fair Use 而不用通知原作者


A thought about Solaris 10 x86's boot process

In succinct form:

The problem with Solaris 10 x86's boot process is not so much that itis trying to pretend that it has OpenBoot, the problem is that it isdoing such a clumsy and awkward job of faking it.

I will admit that I am not a fan of the Solaris 10 x86 boot process. Iunderstand why it is trying very hard to pretend that it is just likeSPARC hardware with OpenBoot, and I can even sympathize with Sun'smotivations for


Virtualization does not eliminate security concerns

Here is something that has struck me recently: virtualization andabstraction cannot eliminate security concerns, they can only move themfrom one place to another . In other words, virtualization by itselfdoesn't do anything to prevent security bugs; it just means that theyhappen in a different place.

(By virtualization I mean more than hardware and OS virtualization, Ialso include things like the JVM.)

The advantage of virtualization is that it moves the problem inwards,towards the center of the security onion, where fewer people


無聊計數機玩意

Casio Fx3900Pv

在中學時期,長伴數學課的就是計數機,當時用的型號是 Fx3900Pv,大抵每個人都會用裏面有限的空間來輸入尋二次方程根的數式吧!當時我們有一個玩意,玩法如下:

  1. 兩個或以上人參與, 按數次 AC 清除所有狀態
  2. 1++

不想上班



打工眞的適合所有人嗎?我們是不是生下來就得接受默默耕耘,人人都是社會上一枚螺絲釘,無名無姓,不求有功,但求無過,之後是年老體衰,光陰流逝,不會餓死,但覺一事無成,憑一點積蓄,盼的就是安享晩年。最正常的

How x86 Linux executes ELF programs

Yesterday I said that the kerneldirectly executes programs in place. Because I feel like walkingthrough the details, here is what the kernel does to start ELF programs onx86 Linux; for simplicity, I'm going to talk about 32-bit programs.

  • First, the kernel maps the program's text, data, and BSS into memory. Almost allprograms require these to be mapped at fixed addressesstarting from 0x08048000 (128 Mb)

Why setuid scripts are fundamentally a bad idea

The real problem with setuid scripts on Unix isnot that writing secure shell scripts is challenging and obscure, itis that they are fundamentally insecure because of how the kernel runsthem. While the kernel runs programs by directly loading them intomemory , it runs scripts by running thescript's interpreter with the filename of the script, leaving it up tothe interpreter to read and execute the script itself. As is normal onUnix, there is nothing that keeps what file the filename points tothe same between these two