發炮是需要時間滴

其實我也有錯:資料出了錯誤,以致要編輯替我改,可能很煩吧——但這幾個標題真是令我耿耿於懷了好幾天。下文中橘色字是編輯所改的標題,請各位明鑑。

年輕的形式,或智海的力氣花在什麼地方 (智海:慢畫人生)


我總是

A little gotcha in shell scripts

I have a script called ' nsaddrs ', which lists the IP addresses ofthe nameservers for a given domain. It is basically:

addr `dig +short ns $1`

addr is one of my utility programs; it does IP address lookups forhostnames. Normally you give it hostnames on the command line, but forbulk lookups you can give it no arguments and it will read hostnamesfrom standard input, one per line.

Then one day I used nsaddr on a domain that didn't exist and it


誰殺?誰破?誰狼?

spl

《殺破狼》好評如潮,大家都說動作打鬥夠刺激,而因為甄子丹、洪金寶、吳京三個 Hardcore 的武打演員座陣,我以為此片是「動作向」的作品,但卻並非如此。此片動作場面固之然可觀,但故事劇情才是主打。

故事是典型的警匪相鬥


20051128網摘 – 跑步加電玩

Play and discuss game

P2P


What Python's global interpreter lock does (and doesn't) protect

Most people doing threading in Python know about Python's GlobalInterpreter Lock (GIL), which causes only one thread to be running inthe CPython interpreter at any one time. This means that threadedcode already has a certain amount of implicit locking going on,making certain operations thread-atomic without you writing explicitlocks.

The important thing about the GIL for this is that it protectsbytecodes, not Python statements . If something happens in a singlebytecode, it's protected; otherwise, you need explicit locking


How not to set up your DNS (part 3)

Presented once again in illustration:

; sdig ns isotech.com.cydns2.lordosinfo.com.dns1.lordosinfo.com.; sdig ns lordosinfo.com.dns1.edynet.com.cy.dns1.lordosinfo.com.; sdig ns edynet.com.cy.dns2.netconnect.com.cy.dns1.netconnect.com.cy.

At the moment:

  • dns2.netconnect.com.cy is not responding,
  • dns1.edynet.com

還有30分鐘

還有30分鐘,

便踏入25歲了。

很期待很期待... ...

Weekly spam summary on November 26th, 2005

This week we received 20,583 email messages from 213 different IPaddresses. Our SMTP server handled 21,213 sessions from 1,044different IP addresses. This is a significant jump in incoming emailcompared to last week .

We saw a major jump in connections compared to last week :238,300 connections from at least 32,400 different IP addresses.Broken down by day, it goes:

DayConnectionsdifferent IPs
Sunday

How not to set up your DNS (part 1)

Presented in illustrations:

; dig +short ns harvest.idv.tw.harvest.idv.tw.www.harvest.idv.tw.; dig +short a harvest.idv.tw.219.84.30.59; dig +short a www.harvest.idv.tw.219.84.30.59

To those setting up nameservers: when people said 'have twonameservers', they did not mean 'and feel free


How not to set up your DNS (part 2)

Today's examples of MX entries are all drawn from domains presented toour mailer in MAIL FROM 's over the past 28 days or so. ' sdig ' is ascript that does a ' dig +short '. Presented in illustrated form:

; sdig mx oakhavenresort.com.10 mail.10 mail.oakhavenresort.com.

It's interesting that they get this simultaneously wrong and right. Isthe plain ' mail. ' supposed to be in some other domain?

; sdig mx