Sending Recurring Emails to Thousands, using Simplenews as a Backend

I recently had a rather unique project requirement on one of my sites: I needed to send out a weekly email to hundreds (soon to be thousands) of site users, with the same template each week, but with the latest data from the website.

Basically, what I wanted to do was create a View on my site of the latest 10-12 items, and have that view be sent out to everyone (along with the views header/footer) in HTML (with a plain text alternative


品牌故事:SWATCH之父Nicolas Hayek

我第一次真正留意 Nicolas Hayek 這名字,大概是十年前在美國PBS電視台看到某一集的CEO Exchange,那一集的嘉賓之一,就是這位素有 SWATCH 之父之稱的 Nicolas Hayek ,同場也有GUCCI Group的Domenico De Sole,主題是”Building Multi-Level Global Brands”,兩位品牌教父,排排坐大談營銷心得,

Continue reading...

RTHK直播訪問@ 訴心事家庭 主持人:鄧藹霖

憤怒情緒﹝嘉賓:臨床心理學家湯國鈞博士﹞/ 快樂高人﹝嘉賓:袁瀰明﹞

11:00-12:00pm那一節

Enjoy~

Dr. Kevorkian 的神

終於看了電影 You Don’t Know Jack 。Al Pacino 飾演 Dr. Jack Kevorkian,演技出色,沒半點過火,雖然樣貌不太像,但神情舉止、說話語氣都維妙維肖,而最重要的是,他演活了一個 character。影片從 Kevorkian 第一次協助病人安樂死開始,到他鋃鐺入獄為止,一條

[書籍]-傑洛米 我恨星期一

【我恨星期一】

想到星期一又要面對腦殘老闆、豬頭客戶……就恨吶!

血淚斑斑的 菜鳥 泣訴
機關算盡的 同事 操戈
詭譎複雜的 愛恨 糾葛
3C達人 傑洛米 暌違一年投出驚人職場大曲球,保證令你措手不及!


『我恨星期一!』
故事要從
Continue reading...

Fumbling towards understanding how to use DRBD

For a long time I thought of DRBD as a wayof getting shared storage or networkbased RAID-1 (as its website puts it), and I didn't entirely see thepoint. But there's a different way of looking at it, one that's quiteeye-opening and which I was recently exposed to somewhere.

A standard high availability setup for something like virtualizationhas four machines: two frontends and two backend disk storage machines,with the storage mirrored between the backends and both frontends


A program that I want to write: a 'sink' SMTP server

Mostly for historical reasons, my office workstation still runs itsown mailer and I still get a very small amount of email to it. I getmany, many more spam attempts, because for very many years (in thepre-spam days) it was the primary email address that I used and Iused it widely. Over the years I've put up an ever-increasing set ofanti-spam precautions that wind up rejecting almost all attempted SMTPconnections.

(Technically I wind up dropping connections after sending


Felicia’s Journey

加拿大導演伊高揚 (Atom Egoyan) 在 1999 年的作品,港譯 《你是我的羔羊》 。

我買了回家很多年了,昨天才看,幸好有我喜歡的說故事方法,而且導演拍得很流暢,很深沉,儘管算不上是代表作,但感覺不錯。


故事講一名遠離家鄉
Continue reading...

活在別人眼裏

有些人很隨便會說:「我不介意別人怎樣看我。」其實,能真正做到這樣的人相信少之又少。我就頭一個做不到。

這是我在看了維根斯坦一則日記後,有感而發。1929年,維根斯坦重回劍橋,雖然他當時連學士學位也沒有,

出嫁從夫, 母憑子貴─《華岡青洲之妻》



華岡青洲之妻 》(華岡青洲の妻, 1967) 製作於大映映畫晚期, 仍由新藤兼人編劇, 增村保造的風格卻比從前放緩. 一反驚世駭俗的作風, 相對地冷靜、平淡, 甚至有點抽離.

少女加惠 (若尾文子) 小時候仰慕醫師華岡直
Continue reading...