妄想
值得一看。
任誰都知道太過偏執不是好事,
懂得抽身的有幾人?
痴心變成妄想,
不會得到憐憫,
盡頭只有精神分裂。
不要數算這是第幾次,
不要猜度會否和上次一樣,
不要問太多的問題。
能忘記的,
都請忘記。
Python's assert is a weak debugging tool
Here's something (perhaps obvious) that recent experience has taughtme:
Python's
assertis a pretty bad debugging tool.
The problem is that a failed assert gives you almost no information,just that it did fail. Almost all the time, you need to know somethingabout what the bad values are in order to actually debug the problem,so your first step is to transform ' assert condition ' into somethinglike:
if not condition: printassert condition (The exception that proves the
Cut Lost
新朋友說是時候cut lost了。
其實,
那是很大的數目嗎?
我會說,
那數目只夠今天的我買一隻高跟鞋。
但都是付出時間勞力掙回來的,
不僅是色相。
新朋友酒醒過後,
一定會訕笑從未見過這麼天真這麼笨的hei hei girl。
對呀,
當太多人都
Weekly spam summary on October 28th, 2006
This week, we:
- got 14,982 messages from 288 different IP addresses.
- handled 21,920 sessions from 1,294 different IP addresses.
- received 193,231 connections from at least 46,305 different IPaddresses.
- hit a highwater of 11 connections being checked at once.
This is pretty much the same as last week .On a global scale it is up from what I consider an acceptably quietlevel, but
Happy birthday to me
下個月的這一天,
便是我的26歲生日了。
你會跟我吃生日晚飯嗎?
你會送我生日禮物嗎?
你會送我陪伴我渡過生日的人嗎?
你會否相信每次拆開生日禮物時,
我的心總會悸動?
你會否相信每次吹熄生日蛋糕上的蠟燭的機會,
我
承諾
昨夜在Orphee享受了一頓愜意的晚飯時光。
Orphee快要結業了,第一次踏進餐廳那年,我剛21歲。
坐在紅色沙發上的三人,各有各的心事,各有各的經過。
彼此的經歷,就好像站在一間佈滿鏡子的房內,看到了別人也看到了自己。
錯愛
堅持
In (modest) praise of Solaris DiskSuite
Now that I've worked with it for a while, I have to admit that SolarisDiskSuite is actually pretty neat. Since I've been dissatisfied with mostof the other bits of Solaris, this came as something of a surprise tome.
(Solaris DiskSuite is Sun's version of software RAID, for those whohave not encountered it before.)
There's nothing revolutionary in DiskSuite; it's just well integrated.This is really the advantage of a single-source vendor; Linux can
感謝
可能我確是一個被香港男人寵壞了而不自知的女人。
那麼,
我只會為我的僥倖感恩。
Languages need comments
Through various experiences, I have come to a modest conclusion aboutdesigning languages:
Every language, be it ever so tiny, needs to have a way ofincluding comments.
And I do mean every language. Even things that are barely programminglanguages, like configuration files and dinky templating systems , need comments. Sometimes I think that thesetiny languages especially need comments; because they are so small andconstrained, the tricks you do are likely to be even more obscure andhard to follow.
Yes, this means that I
Menu
![]()