Reddit versus Digg: a little detail that matters

Since reddit.com and digg.com started showing up on the geek radar,I've been checking them out. Since both are about the same thing,roughly a 'just the links' version of Slashdot 's 'news for nerds' approach, Iexpected to like them about equally, or like digg.com more, sinceit has link summaries (which are often the most useful bit of Slashdotfor me).

To my surprise, I've been barely visiting digg.com , but


20051214網摘 – 日式中文

Web

  • Web 2.0的收购价值 Quote: 大量的缺乏独创性,缺乏准确市场定位,甚至缺乏必要的运气的初创公司,恐怕连收购价值都没有,他们的前景不是被收购,而是死去。

Web Dev Tips

New Service


A thing I don't like about Linux

So much for my nice uptime . As I wasbrowsing along in Firefox, the X server crashed. (The crash was forthe usual reason: trying to display some characters in some fontsgives the X server a signal 11 heartburn. Ever once in a while, I'llstumble over a web page that nails just the right combination.)

A crashed X server doesn't take the system down on the spot, but onLinux it makes the console pretty much unusable because the X serveris the


我用的網絡服務

Jan Joe 寫他們用的網上服務,自己也手痕寫個列表,以「最常用」排先後:

ServicesProvider
SearchGoogle, Yahoo!
Image SearchGoogle, Yahoo!, Flickr, IMDB , sxc.hu
EmailGMail, Yahoo! Mail
BlogMovableType, Yahoo! 360
Share PhotoFlickr,Yahoo
Online Bookmarkblogmarks,del.icio.us, 365Key
Online BookmarkletBlummy
IM ICQ ,Meebo
RSS ReaderBloglines
RSS Merge

前世

看回中五時的畢業照片,

彷彿是前世的事。








8年了。

芝華士後記

chivasgba

前兩天提過星期六晚去了參加 芝華士903友情夾gig音樂會 ,雖然今次的演出時間很小,只有大約一、兩分鐘,但感覺也很不錯。今次的曲目是〈小玩意〉,我們伴隨林海峰一起出唱,前半首以 A capella 形式唱出,後半 Band 加入。

如果


下次不敢了

從來都眼淺,

看這戲的時候,

眼淚嘩啦嘩啦的流,

因為有太多「么心么肺」的場景。

-----------------------------------------------------

光仔:「小姐,散場勒

What Python threads are good for

Because of the sometimes much-maligned Global Interpreter Lock, purePython code itself can't run simultaneously on multiple CPUs. So whatshould you use Python threads for?

The real use for Python threads is turning synchronous functions inextension modules into asynchronous things that don't delay your mainprogram. Often these functions have no asynchronous equivalents (unlikenetwork IO), so it is either use threads or have your main programdelayed. This works for sufficiently compute-intensive functions as wellas functions, like socket.


20051212網摘 – Yahoo! 收購 del.icio.us

網頁開發

Yahoo! 收購 del.icioo.us


Waiting for both network IO and inter-thread notifications

People doing lots of network IO in threaded programs have historicallyhad a problem: waiting for both network IO and for IPC from threads atthe same time.

Generally you want to wait for network IO using select() or poll() ; trying to use lots of threads, each doing one blocking IOoperation, is usually catastrophic to your performance. But both ofthese only wait on file descriptors, and inter-thread communication inlibraries is almost always implemented with mutexes, semaphores,queues, and so on,