我嘅舊老闆將這系列廣告嘅其中一條放了上Facebook,佢話如果給這個廣告客戶看,九成嘅回應係:喂,我地嘅消費者又唔係雞/龜/海鷗,你有無搞錯?
這是肺腑之言但又在在實實,就是因為這麼多只用一邊腦思考嘅廣告客戶,呢個
In the past, I've been somewhat negative abouthaving a ticketing system as the primary method of talking with thesysadmins. But I have to admit that sometimes such a ticketing systemactually makes sense, and here's one example:
Suppose that your support group is sufficiently busy (you serve eithera large organization or one with a lot of problems) that a singlesupport alias would have too much traffic to be read by everyone all ofthe time. In this environment you have to hand support requests to
Everyone knows what ^D does on Unix; it generates an end of file,so that cat or various other programs will exit (especially ifthey have accidentally wound up reading from standard input ).
But this is just the usual effects of typing ^D; it is not whatit actually does. What ^D actually does is simple but subtle:
Typing ^D causes the tty driver to immediately finish a
read().
Normally doing a read() from a terminal is line-buffered inside thetty
Given the problems that the POSIX EINTR stuff causes to various programs, one might wonder why they existat all. Why not make all system calls restart when signals aredelivered?
What I believe it comes down to is library safety.
Suppose that your signal handler wants to change the main flow ofthe program. There are two plausible mechanisms for this: you canimmediately transfer control back to the main flow of your program withsome changes (the traditional setjmp()/longjmp() approach), or you can
我嘅舊老闆將這系列廣告嘅其中一條放了上Facebook,佢話如果給這個廣告客戶看,九成嘅回應係:喂,我地嘅消費者又唔係雞/龜/海鷗,你有無搞錯?
這是肺腑之言但又在在實實,就是因為這麼多只用一邊腦思考嘅廣告客戶,呢個
We have a lot of NFS filesystems and, like most people today, we use NFSover TCP instead of over UDP. But this leads to a problem; sometimeswhen our systems reboot, they can't mount all of the NFS filesystems onthe first attempt. It generally takes several minutes to get to a statewhere all of them are mounted.
(We don't use the automounter, so we mount everything at boot; we have our own solution for the problemsthe automounter is trying to solve.
Here is a thought and a theory that has recently struck me.
One reason that writing secure programs is hard is because programmershave a kind of blindness about our own code. Instead of seeing the codeas it really is, we tend to see the code as we imagine it in our heads,and as a result we see what we wrote it to do, not what it actuallydoes.
(This is not usually a literal blindness, although we can do that too,but a disconnect between what the the
“想做官。”
“做什么样的官呢?”
“做……贪官,因为贪官有很多东西。”