放了一個小假期,到澳門一遊。
記得自己童年時,曾經去過一次澳門,但年紀太細,已無甚印象。所以,這一次再去跟第一次去無異。所以,去了一些例行「旅遊」點:大三巴、旅遊塔、豬扒包、葡撻、
A while back I wrote about emulating C structs in Python using (instance) objects to createnamespaces, and wrote:
(Avoid the temptation to just use '
ms = object()', because ithurts your ability to tell different types of structs apart viaintrospection.)
It turns out that there is another reason to avoid this: it doesn'twork. Somewhat to my surprise, instances of object() can't have newattributes put on them. (Instances of Python subclasses of object(
Sun killed one of my systems the other day. It was very simple: Iinstalled the latest patches (that had passed testing on my testsystem), rebooted, and the ssh daemon failed to come up. Bang. Dead inthe water due to:
ld.so.1: sshd: fatal: libxfn.so.2: open failed: No such fileor directory
Since this machine is accessed only via ssh, that's all shewrote. (For extra fun, outgoing ssh from the