The cynical take on nofollow

People have been calling the nofollow tag afailure for a while, most recently in Blog Spam, and a 'nofollow'Post-Mortem , which hit the geek news today. Comment spam has not exactly diminished sincenofollow's adoption, which is not a good result for somethingintroduced with the title 'Preventing comment spam' .Calling it a failure is pretty easy.

The cynical take on nofollow is a bit different: nofollow is actuallya clever way to improve search engine results . While it's not


音樂紀錄專集「燃亮了 像雪飛花」









朋友們

本人的首個音樂紀錄專集
「燃亮了 像雪飛花」
將在2006年6月3日 首日發佈

我會在當晚10:30pm後到達尖沙咀文化中心外「翱翔的法國人」雕塑前的空地
有興趣者可在當晚免費索取 ( 數量有限 )
或帶同妳自家製作


Fiddling with X selections from shell scripts

I know of three command-line programs that will fiddle with theX selection (and/or the cut buffers) in a way that's usefulfor shell scripts: xsnarf from Smarasderagd's collectionof X things , xcb , and xclip .

I use xsnarf for a variety of reasons, I think partly historical (inthat I had it around well before I found the others); I'm jotting downthe other two here partly so that I have the information handy the nexttime someone asks me


A simple way to get a disk space usage summary

In the spirit of my little shell scripts, here's a simple way to get auseful summary of disk space usage on a Unix system:

du | sort -nr | less

(substitute the pager of your choice for less , and use ' du -x ' asnecessary.)

This is less pretty than the various graphical disk space visualizationprograms that float around, but I find it gives me pretty much theinformation I need. It's pretty easy to narrow down what areas of thefilesystem,


說個笑話紀念我











來,去
花/火



時間,
時間

所有的時間都聚合,同時顛倒,最快和最慢











click上面幅野 ,當祝福我,啦。

An shell script idiom for choosing what file to operate on

This is one of those Bourne shell idioms where I show the code firstand explain the effect later:

#!/bin/shdef=$1; shiftcase "$#" in  0) if test -t 0; then        cat -- $def     else         cat     fi;;  *) cat -- "$@";;esac

Call this selfile . You use it in things like log scanning scripts,invoking it as:

selfile /var/log/something "$@" | .


20060529網摘 – Blade Runner Final Cut

重有巴士阿叔


An obvious way to do bulk initialization of dictionaries

Every so often in my Python programs I need to initialize adictionary with a whole bunch of values (and then pass it offsomewhere). For a long time, my usual approach to this was:

d = {}d['a'] = b.whatd['c'] = foo(d)....

Recently I stumbled over the better way to do this, which isembarrassingly obvious in retrospect:

d = {      'a': b.what,      'c

紀行


行進地獄之後我前所未有地能夠接受自己的醜怪,在這個意義上它就是天堂。深淵就是上方。

於是我竟然覺得德里達好看起來,猶勝齊澤克。

快慰、澄明的漩渦,連淚都咻一聲蒸發的顛倒瞬間,總是過長或過短。地獄裡處處是奔