最近幫朋友用 Dapper 製作了一個 MySinaBlog 的 Comment RSS Feed,製法簡單,在此公諸同好。雖然簡單,但要說明還是很複雜,所以錄了個 Screencast (首個!),以自己的舊 MySinaBlog 為例子。不過做得很簡陋,沒有什麼解說,而且上了 Youtube 後更是「矇查查」,敬請見諒
得閒飲湯
A grump about the socket module's SSL support
It is nice that Python's socket module has simple SSL support (although it has some limitations ). My grump is that it doesn't giveyou any good way of checking the identity of the server'scertificate, which is especially annoying as the SSL codedoesn't do any certificate verification.
(This matters to me because I have recently become quiteinterested in being able to verify machines by checkingthat they have a specific SSL certificate.)
What SSL objects have is .issuer( ) and
野孩子
其後
Why I don't have a GPG key
In theory I ought to be just the sort of person who has a GPG key; afterall, I'm geeky, quite aware of how easy it is to impersonate people onthe Internet, reasonably concerned about privacy, and so on. But inpractice I don't have one because I don't feel I could keep it secureenough for what people believe a digital signature implies.
As a system administrator, I get to be quite aware of all the waysthat a bad guy could attack the
揮我生命寫正義故事

(對,老人家又要想當年了…)
最近大家都談集體回憶,看著電視播映的星矢「冥王十二宮篇」的動畫,相信也會喚起不少人的回憶吧!當時星矢也是在深夜播映,主題曲是由譚耀文主唱的,片頭通常只會播「中」段:
匆匆一生
Configuring VLANs on Fedora Core
Interactive VLAN configuration is done with the vconfig program. Thebasic usage is ' vconfig add eth0 6 '; this makes a new Ethernet devicecalled eth0.6 (by default; vconfig can change this, but you probablydon't want to). ' vconfig rem eth0.6 ' will then remove the VLAN.
A configured VLAN is up enough so that you can receive traffic on it. Ifall you're interested in is doing things like bridging virtual machinesonto the VLAN's
「只要 從今 我們好好經營 自己的想像」--- 雄仔叔叔
或者是有關於方向、人、反思而動人。
特別是 雄仔叔叔 這一首《天星: 我們的理由》,看到第一段(尾)我也忍不住眼眶的星形淚光。
是的,我
Wrapping exceptions versus propagating them untouched
I have somewhat recently written a program that makes heavy use of Python's xmlrpclib module . While thexmlrpclib module is very nice, the whole experience has given me somestrong views on how it does exception handling.
The basic problem with xmlrpclib's error handling is that it doesn'tcapture exceptions from stuff that it calls, so they leak out to you.Fortunately I don't think xmlrpclib calls anything that can raise errorsexcept the socket module, but I'm not sure (so my program