Lighttpd, CGIs, and standard error

Here's an issue that I ran into recently: from version 1.4.20 onwards,lighttpd has stopped passing stderr to CGI processes, should onebe peculiar enough to run CGIs on lighttpd ( which can be done ). If you need error logging from your CGIs, you will haveto roll something on your own.

(Fedora 10 has lighttpd 1.4.22 and so is affected by this.)

There is a bug report for this, but I don't know


A Bourne shell irritation: piping just stderr

I generally like the Bourne shell, but I will easily admit that it hasa number of things that are less than ideal. One of those less thanideal things is a peculiar omission: you cannot easily redirect just standard error into a pipeline.

This sounds like a peculiar thing to want, but there are situations where you do need to process stderrseparately; for example, you might need to timestamp all stderr outputand log it. In a hypothetical shell with this feature you could have a'timestamper' program


很少看, 很不耐煩...實在看不下去

文化評論員澄雨 (前七十年代無線電視台高層, 以評論電視製作聞名) 在《一百萬零一夜》上映時, 曾寫過一段: 我很少看印度電影, 最早接觸的是薩也哲雷的作品《阿甫》三部曲. 那已是更高層次、政治正確 的寫實, 手法是

On digital signatures and client security issues

One of the technical problems with'sender stores messages' schemes for email-like things is that itlets a malicious sender generate messages on the fly for up to themoment customized malware (and this gets much, much worse if the protocolhelpfully includes things that you can use to fingerprint specificclient software).

It is tempting to deal with this problem by making the identificationfor messages include a hash verifier or address, in the way that currentversion control systems identify files by their hashes. This would meanthat


My feelings on Sora wo Kakeru Shoujo episode 11

(Spoiler warning, and in fact this is probablygoing to be incomprehensible if you haven'tseen the episode or read a summary, such as here .)

I suspect that we're supposed to consider Nami an unsympathetic and weakcharacter and feel that her sisters were more or less in the right. Ihave the opposite reaction: this was a major parenting failure and Namiis a victim. Here's why:

If someone is traumatized so badly that they have horrifyinghallucinations, the correct response is not


The problem with taking pictures of people bicycling

(Well, one of them.)

There are three shutter speeds for taking pictures of moving bicycles:

  • too slow: the bicyclist and bicycle are motion blurred (usefulonly for artistic effect ).

  • too fast: everything is frozen motionless and the bicyclistlooks like they are doing an unnatural track stand .

  • just right: the rider and bike are sharp but there is stillvisible motion blur in the wheels (and perhaps the rider's feet),so the bike still looks like it is actually in motion.

The


Final Examination

It is no accident that my friends talked about the medical school examination in their blogs recently. The fourth week of April had passed, and the year-end examination is looming large on the horizon.

Mention final examination, and most of us envisage a medical ward flooded with medical students at every corner, making every effort to see – and touch, if lucky enough – their patients. Like it or not, a grizzled man with artificial heart valves becomes a popular Hollywood movie star, and the hospital is virtually awash

Lady First 專欄 (43)

《與別人的媽媽同居



世上有千百種同居組合,最悲慘的,莫過於與男友同居的同時,還與他的母親大人同居,真正的有限溫存,無限辛酸。


你試過沒有?


我試過,而且順利畢業,某程度已經成精。


成精之路當然不是因為和諧共


The difference between Web 1.0 and Web 2.0

Here's one view of the difference, put in a punchy short form:

  • web 1.0: all of this user attention is going to be worth money!
  • web 2.0: all of this user attention is going to be worth money,and this time around we're going to make sure that the users stickaround for it.

In classic 'Web 1.0' operations (with the apex of this being the variousportals), it turned out to be very hard to monetize all


my little airport:瓜分林瑞麟三十萬薪金




爽爆!

詞/曲/編: 阿p 唱: 阿p/ 通利的阿賢/ thomas/ sot kanin/阿花(抗爭兒歌合唱團) video: unknown

瓜分 讓我們瓜分
林瑞麟 每個月30萬元的薪金
讓我們的新碟 會有更好的錄音

攤分 讓我們攤分
除開三十分 每人都仲有萬幾蚊
讓我們每個月