Showing posts from February 6, 2011

emacs math symbol input and misc news

some emacs news on my site.New version: Emacs Math Symbols Input Mode (xmsi-mode)I'm creating a Ask Emacs page. There, you can ask all sort of questions about emacs or elisp.

major corps attack on wikileaks; Jane Hamsher

Perm url with updates:, Bank of America, Anonymous, US Government, EspionageXah Lee, 2011-02-12, 2011-02-16Discovered this political video, via wikileaks's tweet:EXPOSED: Attack on Wikileaks“EXPOSED: Attack on Wikileaks” I was wondering, who is the blonde woman in the video. Of “”?? What kinda name is that? How she seems to know so much. Can we trust her?That blonde woman in the video, is Jane Hamsher. She was born in 1959, so, aged 51. Ten years older than me. Amazing. She's very cute. I thought she's 30ish. She must have had a very healthy life style. You know how some people just have this youngish feel? It's all over the way they talk, their smiles. Camille Paglia is also like that. (See: Camille Paglia: Modern Sex Goddess.) Here's some quote about her frow Wikipedia:Jane Hamsher (born July 25, 1959) is an American film producer, author, and blogger …

faun and nymph

Net neutrality??

Discovered a book, by Tim Wu. Quote:Tim Wu (traditional Chinese: 吳修銘) is a professor at Columbia Law School, the chair of media reform group Free Press, and a writer for Slate Magazine.[1] He is best known for coining the phrase network neutrality in his paper Network Neutrality, Broadband Discrimination,and popularizing the concept thereafter, leading in part to the 2010 passage of a federal Net Neutrality rule.[2][3][4] Wu has also made significant contributions to wireless communications policy, most notably with his "Carterfone" proposal.[5]Wu's academic specialties are copyright and telecommunications policy. For his work in this area, Professor Wu was named one of Scientific American's 50 people of the year in 2006. In 2007 Wu was named one of Harvard University's 100 most influential graduates by 02138 magazine.[1] His book The Master Switch was named among the best books of 2010 by the New Yorker Magazine,[6] Fortune Magazine,[7] Publisher's Weekly,[8…

One Language to Rule Them All?

Perm url with updates: Language to Rule Them All?Xah Lee, 2011-02-08This is my personal account of a struggle in choosing languages and trying to maintain some concept of efficiency of using one single system instead of mishmash of components. This essay is originally a post from comp.lang.lisp Source How to Write grep in Emacs Lisp.Or, What Language to Use for Find Replace?... never really got into bash for shell scripting... sometimes tried but the ratio of power/syntax isn't tolerable. Knowing perl well pretty much killed any possible incentive left.... in late 1990s, my thoughts was that i'll just learn perl well and never need to learn other lang or shell for any text processing and sys admin tasks for personal use. The thinking is that it'd be efficient in the sense of not having to waste time learning multiple langs for doing the same thing. (not counting job requirement in a…

王菲 - 彼岸花 (flower of paradise)

Perm url with updates:王菲 - 彼岸花 (flower of paradise)Xah Lee, 2011-02-08Discovered a exceedingly beautiful song, by Faye Wong. Listened to it continuously for 10 hours yesterday.王菲 - 彼岸花 Title: 彼岸花 Date: 2000 Singer: 王菲 Lyrics: 林夕 Music: 王菲, 張亞東 看見的 熄滅了 消失的 記住了 我站在 海角天涯 聽見 土壤萌芽 等待 曇花再開 把芬芳 留給年華 彼岸 沒有燈塔 我依然 張望著 天黑 刷白了頭髮 緊握著 我火把 他來 我對自己說 我不害怕 我很愛他 Here's a excellent translation by Kevin Wei (Aezura). What was seen, went out like a flame What has disappeared, will be remembered I stand, at the corner of the sea, the edge of the sky I hear, sprouting from the ground Waiting, for the Queen of the Night to bloom Saving such fragrance, for the best to come On the opposite shore, there is no light But I still yearn Night, bleached my hair I grasp the torch tightly He comes, I say to myself I am not afraid I love him dearly Note: He translates 曇花 as “queen of the night”. It's a excellent translation. “Queen…

Eurythmics - I Need A Man

Perm url with updates: - I Need A ManXah Lee, 2011-02-08I Need a Man , a great song by Eurythmics.“Eurythmics - I Need A Man” Title: I Need A Man Date: 1987 Singer: Annie Lennox (Eurythmics) Lyrics: Annie Lennox, David A Stewart Music: Annie Lennox, David A Stewart Hey, is this my turn? You want me to sing now? Okay I don't care if you won't talk to me You know I'm not that kind of girl And I don't care if you won't walk with me It don't give me such a thrill And I don't care about the way you look You should know I'm not impressed 'Cause there's just one thing that I'm looking for And he don't wear a dress I need a man ... Baby, baby, baby don't you shave your legs Don't you double comb your hair Don't powder puff just leave it rough I like your fingers bare When the night comes down I can turn it round, I can take you anywhere I don't…

How to Write grep in Emacs Lisp

Perm url with updates: to Write grep in Emacs LispXah Lee, 2011-02-07This page shows a real-world example of a emacs lisp script that search files, similar to unix grep. If you don't know elisp, first take a look at Emacs Lisp Basics.The ProblemSummaryI want to write a elisp script that reports files in a dir that contain a string n times. The script is expected to search thru 5 thousand files.DetailWhy can't i just use grep? Because:• Often, my search string is long, containing 300 hundred chars or more. (e.g. a snippet of HTML that contains javascript and span multi-lines.) You could put your search string in a file with grep, but it is not convenient. Here's a example of a string i need to search: <divclass="chtk"><scripttype="text/javascript">ch_client="polyglut";ch_width=550;ch_height=90;ch_type="mpu";ch_sid="Chitika Default";ch_backfill=1;ch_color_site_link…

scientist confirm the possibility of seeing the future

Recently, in the academic psychology community, there's hot discussion about a psychologist (Daryl Bem) who made experiments that seem to confirm the possibility of some parapsychology phenomenon. e.g. seeing the future, knowing the past, reading other's minds, etc. I'd say, don't pay attention to it. But if you do have a interest in this matter, i recommend reading this article:Back from the Future: Parapsychology and the Bem Affair (2011-01-06) By James Alcock. @ Source www.csicop.orgWorld Multiconference on Systemics, Cybernetics and Informatics???Alfred Lawson; the University of LawsonomyMen Are From Mars, Women Are From Venus

Google YouTube fixes invalid embed code

2 weeks ago i reported that the embed video code handed out by YouTube contains a invalid attribute type="text/html". Ι wrote about it here: HTML Validation, Google, Amazon, and also asked about at, also posted the question to YouTube forum at Source, Google fixed it! Now the embed code no longer contains type="text/html". Yay!

Lady Gaga - Bad Romance & 王彩樺 - 鋩鋩角角


unicode support in langs