What packages SystemTap requires on Ubuntu 8.04 (and others)

For my own future reference and because the SystemTap wiki is not the clearest thing onthis, here's what packages are required to be able to use SystemTap onvarious distributions.

We use the -server kernels on our Ubuntu 8.04 machines, so I neededto do:

apt-get install systemtap linux-image-debug-server linux-headers-server
ln -s /boot/vmlinux-debug-$(uname -r) /lib/modules/$(uname -r)


A frame object's f_locals isn't always the locals

Python frame objects have a tempting member called f_locals , whichis described as the 'local namespace seen by this frame' (to quote the inspect module ). This isslightly misleading, because it is not always what Python programmersnormally think of as 'locals'.

Specifically, if the frame comes from code that is running at themodule level, f_locals is the 'local namespace' of that code,that is, it is the module's namespace. In other words, it'


10男10女的擇偶遊戲---對香港適婚女人的啟示

Discovery Channel 節目《The Science of Sex Appeal》裏的一個小實驗。
https://www.youtube.com/watch?v=FB1oMfs8nWY

實驗:
10男10女。
每個人額頭上貼著一個數字,代表他們的吸引力指數(隨意,與外表無關)。
10分最高,1分最低。
自己看不到自己

人在旅途 失業

頭痛得要命! 趁木屋主人不在家,我們都睡至十一時才起床。是日女生需要清潔木屋內外的地板,男生則需要繼續掘泥路。 我在開始清潔地板前打開手機查看有沒有新的訊息,結果一打開手機,收到的第一條留言訊息竟是...
Continue reading...

大家都有病




有一種想法,在當下的社會最容易得到認同,而且越來越普及,有人甚至以推動這種想法為己任,其具體行為是:狠批、狠批,再狠批。

只要一味挑剔﹑批評﹑標籤﹑嘲笑,並且把這個過程廣為傳播,即足以令任何人和事變得不

瘦虎肥龍爭霸戰‧五

連日來兩貓關係沒有改善, Ding Ding愈來愈惡, 蜜柑愈來愈弱, 加上主人前仆後繼先後病倒, 沒有閒情逸致理會之.

難怪Ding Ding見蜜柑一次發火一次. 蜜柑表面上示好, 暗地裡不但吃Ding Ding的貓糧, 更在她的砂盤內小便!

昨晚在書房胡亂

Wasabi

There are only two kinds of people in this world: those who believe that the earth revolves around the sun and those who act as if their babies are the centre of the universe.

Having said that, I find myself morphing inevitably from the former into someone who will monopolize conversations with boring baby topics. Simply put, "baby talk" is similar to wasabi: a little at the right time feels good, but we often overdo it. Oh, yeah, isn't this a normal reaction of becoming a

第一次坐俄羅斯白車

當我得知他們替我召了白車,我即時拒絕他們的「好意」,可是一切已來不及了。救護人員在午夜一時許抵達攀石協會,應診的是一位女醫生及一位男護士,看著他們的膠涼鞋襯白襪,我的心底不由自主的寒了一下。(好的,我
Continue reading...

文雀出沒注意,唔覺唔覺塞錢入你袋?

平時一般電訊公司,賣廣告賣來賣去都係果三幅披,都離不開話自己點平至平特別平果隻,但TalkTalk這家英國電訊公司,最近便推出了PutPocketing這個廣告Campaign,大賣自己話:唔覺唔覺,我就會塞錢入你袋;唔會好似其他電訊公司今咁,唔覺唔


同一款裙,12款穿法。

American Apparel 最近推出了名為” Le Sac Dress ” 的連身裙系列,人地平時例牌當然係有網上產品目錄,但除了做得頗靚的網頁及模特兒示範外,更有趣的,是他們在YouTube內播放的12款不同穿法的真人示範。

我當然唔係對呢款裙有興趣啦大姐,但