On useful front-panel LEDs
I moved up to ADSL recently and it's quite nice, but I miss one thingabout my old Supra modem: I've been spoiled by its luxurious front paneldisplay. The front panel of my ADSL modem is somewhat of a letdown andI've been missing information that I used to be able to get at a glance,in particular how saturated my link is.
The ADSL modem has four front-panel LEDs, all equally prominent:
Power ADSL DATA LAN
(DATA is on if the DSL
存念
由於全城追蹤所謂特首「選舉」及徐步高新聞,3月2日早上1130有13名天星示威者,無聲無息地被派還保釋金,不需保釋了。咁即係咪唔再告呢?滿差館的人都好好笑容,招呼前唔該後,但沒人回答我們為什麼發還
A story of network weirdness
We have a number of internal networks here . One of them is a port-isolated subnet forgeneral user machines (such as Windows laptops), where the port isolationmakes sure that user machines can't talk to each other and thus can'tinfect each other. One day, an alert user on the port isolated networkreported to us that his machine was seeing packets from the outsideworld destined for a completely different machine.
(One of the cool things about working in a Computer Science departmentis that
瀉
我已經屙o左33次。
妖。
條撚屌開乜鳩o野藥俾我o架,
都唔鳩work。
An irritating limitation of listening sockets
Traditional sockets implementations have an irritating limitation, atleast for TCP sockets: it is impossible to gracefully and cleanly shutdown listening (server) sockets.The problem is that kernels accept new TCP connections for listeningsockets without asking your server; accept() doesn't actually accept the connection, it just gives you the next one that the kernel hasalready accepted on your behalf.
This means that to shut down cleanly,you need a two-stage process: first you tell the kernel to stop acceptingnew connections