The format of PTR records in Bind irritates me
How often have you seen a reverse DNS entry of host.dom.ain.10.11.12.in-addr.arpa. ? I've seen it too often, andI've even created them too often. Such incorrect reverse DNS entriesexist only because Bind makes it all too easy to shoot your foot off byinsisting on perfect consistency; for PTR records, as for all otherrecords, a name without a terminating dot is taken to be in the nameof the
How we sized the overcommit ratio
When we set up strict overcommit mode , we hadto pick an overcommit ratio, or the alternate way of looking at it, wehad to pick how much total address space commitment we allow. Because wefirst did this for compute servers, we decided to size things so that anactive process would be able to use more or less all of the machine'sphysical memory, plus allow some extra on top to account for systemprocesses that would get pushed into swap.
The logic is relatively straightforward:
- on dedicated
Vim options it turns out I want
This server recently moved from FedoraCore 2 to FreeBSD, and in the process I discovered that I had quietlybecome addicted to a few vim features, despite past dislikes of overly intelligent things that call themselves vi .
(I am pleased to report that the default FreeBSD version of vim does not behave that way .)
So it turns out to be necessary to set a few vim parameters to getit to behave the way I want. For my future reference, here's what I'vefound I need to
The dangerous appeal of the obvious
For reasons that do not fit into the margins of this entry, DWiki sometimes needs to get the current Unix load average. I developed DWiki on Linux, and getting the load average on Linux is really easy; you reada line from /proc/loadavg , split it into three floating point numbers,and you're done. So I wrote a get_load function that did that andforgot about the whole thing.
Then this server got changed from Linuxto FreeBSD, and suddenly that code didn't
BOBOs in Paradise
一個星期日的早上,我捲縮在軟綿綿的被窩裡。微風掀起了白紗窗簾,秋意濃了。
我從床上爬起來,伸一個懶腰,在露台的長椅上坐下,倒了一杯香檳當早餐。當我睡眼惺忪地看著酒杯裡的泡泡向上升,腦海裡忽然雜亂地
How I got a corrupted metadb replica that paniced Solaris 10 x86
Since I got asked this in a comment on my entry about clearing metadbreplicas , here is what I remember of how I managed toget a metadb replica so corrupted that it paniced Solaris 10u3 x86.
- I wanted to experiment with metasets on my test machine, so Ineeded a local metadb replica . Because Ididn't know about this I didn't have a spare partition, and becauseI didn't know any better I put the local metadb replica in thattempting slice 8
基礎邏輯.起碼水平
這個含混不清的因果句,表達了這樣一種邏輯:
「如果市民認同市區重建,檢討市區重建策略才會有意義
Why mail systems should not defer rejections to RCPT TO time
There is a movement for the default configurations of things like exim to defer sender verification to RCPT TO time;instead of reporting an error or a defer after the MAIL FROM , all MAIL FROM s are accepted and only later does the message start gettingerrors. I have recently come to a realization about why this is wrong,and I even have an example.
The problem is that when you give at least a 4xx error to an RCPT TO ,it makes the sending mailer think that there is a problem with
電影裡的文化與意識形態的呈現: 絕代佳人(Laura)
《絕代佳人》 (Laura, 1944, Otto Preminger) , 美國黑色電影 (Film Noir) 中的代表作, 作為一套經典的黑色電影, 《絕代佳人》熟練地示範了黑色電影應有的元素.
《絕代佳人》並不像一般黑色電影如《雙重保險》(Double Indemnity, 1944, Billy