我要 Popup!

popup

現在設計網頁,一般都不宜用 Popup 視窗賣廣告,因為瀏覽器一般都有擋 Popup 的功能。不過,Popup 並非萬惡,只要專重用戶決定,Popup 視窗是很有用的。

在一些寫作的介面上,Popup 便很有用,開一個小視窗打字,背景可以開其他的參考資料。


Dropping packets versus rejecting them in firewall rules

There's a reasonably popular view that having your firewall dropundesired packets instead of sending ICMP rejections is 'moresecure'. It is not; instead it is 'more annoying'.

(Technically this is not quite true; in a very limited set ofcircumstances, dropping all packets for a host can hide someinformation from attackers. The flipside is that dropping some but notall packets usually leaks information about what you're screening.)

Dropping packets is more annoying because attempted connections haveto time out before


Weekly spam summary on December 3rd, 2005

I'll lead with Hotmail's spam numbers:

  • four emails accepted, and I know for sure that two of them werespam.
  • 239 messages rejected because they came from non-Hotmail emailaddresses.
  • 24 messages refused because their sender addresses had already hitour spamtraps.
  • 10 messages refused due to their origin IP address (5 in the SBL, 4in the CBL, and one from Nigeria).

The case for banning Hotmail entirely becomes more and morecompelling. It's probably time


20051204網摘 – 上街去!

12.4

IT


我在凌晨的街頭悲從中來,不是為了一己的訪問。

正如智海所言,做人梗係辛苦架啦。在 7x大論爭 裡,我提出的問題包括「應該怎樣包裝藝術」,這個似乎分歧最大、招來的辱罵最多,所以討論價值也應該最高。

我想,大眾傳媒是需要藝術的,因為:
利益上(藝術始終具有某

How to do TCP keepalives in Python

TCP keepalives are do-nothing packets the TCP layer can send to see ifa connection is still alive or if the remote end has gone unreachable(due to a machine crash, a network problem, or whatever). Keepalivesare not default TCP behavior (at least not in any TCP stack thatconforms to the RFCs), so you have to specifically turn them on.(There are various reasons why this is sensible.)

In Python you can do this with the .setsockopt() socket method,using


CBL listings broken down by ISP

Chris Lewis of Nortel recently posted a breakdown of CBL listings byISP in news.admin.net-abuse.email. Here's the top ten of his listing:

375649 chinanet.cn.net130245 cnc-noc.net102931 telekom.gov.tr80936 kornet.net67721 tpnet.pl51671 dtag.de47246 rain.fr3

撲克 IQ 題

道聽途說一 IQ 題,不錯,看大家又能否解到?

有一疊啤牌, 入面有:

  • 紅心 A, Q, 4
  • 葵扇 K, 4, 8, 7, Q, 3
  • 梅花 2, 6, 4, 5, J
  • 階磚 A, 5

當中有兩個玩家(甲, 乙), 一個主持. 主持抽了一張牌, 告訴甲這隻牌的點


網站排版配色更新

有心來這裏看的朋友,也會發現網頁的 Layout 配色改變了。其實很早就想改改,但還是一個懶字作怪,結果 POTO 那隻猴子長據右上角差不多一年之久,網頁配色也沒有大改動。

今次的配色以白色為主,希望可以有點清爽感覺。結果因為


20051202網摘 – 再談 Web 2.0

Web