悲苦小劇場

世貿期間,將不斷送上作為無聊美點的小劇場,敬請留意。 世貿不死,小劇場不息!各方好友就當為世貿犧牲一下!


好得之男仔約我睇戲。
我:睇邊套?
好得之男仔:《無國界追兇》!
我:(頹)好睇咩……講世貿架?
好得之男

Waiting for both network IO and inter-thread notifications

People doing lots of network IO in threaded programs have historicallyhad a problem: waiting for both network IO and for IPC from threads atthe same time.

Generally you want to wait for network IO using select() or poll() ; trying to use lots of threads, each doing one blocking IOoperation, is usually catastrophic to your performance. But both ofthese only wait on file descriptors, and inter-thread communication inlibraries is almost always implemented with mutexes, semaphores,queues, and so on,


抗議世貿官商勾結大遊行

11th Dec,2005
抗議世貿官商勾結大遊行
No WTO : Stop Collusion between Government & Business Rally
(維園狀況)(View in Victoria Park)

01(11mb) https://swtop.no-ip.org/1211rally01.wmv
02(12mb) https://swtop.no-ip.org/1211rally02.wmv

stand up and yell: NO! (anti-WTO poeTry kit)

Before
Yehuda Amichai

Before the gate has been closed,
before the last quetion is posed,
before I am transposed.
Before the weeds fill the gardens,
before there are no pardons,
before the concrete hardens.
Before all the flute-holes are covered,
beore things are locked in then cupboard,
before the rules are discovered.
Before the conclusion is planned,
before God closes his hand,
before we have nowhere to stand.

之前

﹣﹣耶胡達.阿米亥

在大門關閉之前

Weekly spam summary on December 10th, 2005

Once again I'll lead with Hotmail's spam numbers, because theycontinue to be bad:

  • one email accepted (probably spam).
  • 218 messages rejected because they came from non-Hotmail emailaddresses.
  • 111 messages sent to our spamtraps.
  • 30 messages refused because their sender addresses had already hitour spamtraps.
  • 5 messages refused due to their origin IP address (all for being inthe SBL).

Now, on to the general numbers.

This week we received 17,2


逐步逐步...

感謝billy把raidoblog重生了
我第一件事就把 "逐步逐步"再放出來
其他的遲些再講吧

逐步 逐步
曲詞:潘志雄 (11/10/2005 )

藍天 密雲 隨風 吹散再聚
頭上 鳥聲和唱著
和遠方呼吸聲 共鳴

漫天 夜靜 前行的未停
凝望天邊星宿
如塵埃散落

How not to set up your DNS (part 6)

Today's illustrative example is about the odd things that can happenif you rename a nameserver without making sure that you tell thepeople delegating zones to you.

There are four nameservers for utoronto.ca : ns1, ns2, bay.cs, andns1.tpc.int (following local practice, I'm dropping the .utoronto.ca bit a lot). Three of those four (everything except ns1) are alsosecondaries for all campus subdomains, including the domain jpint.utoronto


Security versus resilience

A while back I wrote this , about an exceptioncreated by the cgi module when crackerssubmitted XML-RPC calls instead of form POSTs. It makes a great examplefor discussing the difference between 'secure systems' and 'resilientsystems'.

Put broadly, security is keeping people out, while resilience iskeeping operating when people attack you. The cgi module example shows that you can haveone without the other. Sometimes this may even be deliberate;an exceptionally paranoid system could shut itself down anytime it saw unexpected


A surprising hazard of running as root all the time

We have some machines that are 'no user-operable parts inside'setups; as part of that, they have no user logins, just root . (Yes,yes, running as root all the time is bad, but on these boxes almostall we'd ever do with a plain login is su to root.)

I'm attuned to all of the regular hazards of this, but today Istumbled over a new one: how long it takes to notice that /var hadaccidentally wound up


星期日,好去處

1. 來了來了

星期日,1400維園!
打開眼睛。
明天開始找詩句做橫額! 請勁人建議詩句!
團契式祈福大行動:主帶領我在上街前寫完3000字!

2. 身上長物

有一條我覺得剪得好好的片
(班人我識,而覺得佢地都好入戲)