Copyrights
- 數碼版權第二波決戰:齊聲反對刑事化「串流」與附加賠償 看看何謂「串流」?
China
- 做人別太CNN,也別太CCTV
- Love China @ MSN Quote: 有人發起了這個在MSN上的「簽名活動」。做法就是在自己的名字前,加上「(L) China」。當你確認之後,那
One of the extra irritations of many single instance applications is that they also are what I will call'single context applications', applications where you can only bedoing one thing at a time. I want applications like my feed reader or my mail reader to behave more like abrowser, letting me rip off windows so that I can skip around withouthaving to lose the old context.
For example, consider a mail reader. If I'm working my way throughsorting and cross-checking older mail and new
One of my serious irritations with ZFS is how various ZFS commands (orat least sub-commands of zpool ) will stall badly if it can't talk tosome of the underlying disk devices. This is especially apparent whenyou're using iSCSI; for example, I accidentally booted a system with theiSCSI cable plugged into the wrong port, and once the system had booted zpool list simply hung.
(Worse, it hung uninterruptibly; I could not stop it with ^C, use jobcontrol to background
Copyrights
China
One of the things that would be useful in an access tracer is reporting not just what was accessed, butwhere it was accessed from. A basic starter for this is knowing whatfunction called you.
CPython has enough introspection faculties to give youthis information, but it's not entirely documented how todig it out. The big tool for this is the inspect module , and wecan use it to define a function:
import inspect
def getcallerinfo(): fr = inspect.currentframe() try: fr