見到 “Fifteen movies that will always stick with you” 這個題目已好久,但最近比較忙總是沒有時間寫。而且一時間要想出十五套戲,確實不易。看的戲雖然不少,但能留在心的卻不多。這是我的十五齣,排名不分前後:
- The Matrix – Matrix 的玄虛
- Ghost in the Shell – Section9
- Gattaca
|
| From for blog |
見到 “Fifteen movies that will always stick with you” 這個題目已好久,但最近比較忙總是沒有時間寫。而且一時間要想出十五套戲,確實不易。看的戲雖然不少,但能留在心的卻不多。這是我的十五齣,排名不分前後:
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)
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'