老朋友找出十幾年前的舊照,上載到臉書,是為記。
Saturday, February 9, 2013
Sunday, February 3, 2013
我們都愛咖啡廳
把咖啡廳當作工作場所,已經是好幾個世紀的傳統了,我們也可以在各種媒體上看到關於在咖啡廳工作的好處的探討,不管是提供各種提升生產力工具消息的LifeHacker,還是主攻嚴肅話題的theAtlantic,都可以找到非常精彩的「咖啡論述」。
這幾天,Fast Company 也有話要說了...
Friday, January 4, 2013
備忘:在 Mac OS 環境安裝 Python 開發工具
昨晚一時心血來潮,整理筆電硬碟之後 ,順手安裝了 Python 開發環境,花了大半夜,解決掉幾個莫名所以的大小蟲子,為了備忘,把解決方案記錄於後:
- 安裝適合 Mac OS 版本的 XCode
- 以 easy_install 指令安裝 pip
- 到 Python 官網的 virtualenv 頁面下載 virtualenv.py(在此按右鍵另存新檔),或是以 pip 指令安裝 virtualenv
- Mac OS 10.8 已經預安裝 Python 2.7,直接執行 virtualenv ENV,就會在先行目錄下建立一個名爲 ENV 的子目錄,進入這個目錄,執行 source bin/activate,就可以啓動一個新的 Python 虛擬開發環境
- 如果要建立 python3 的虛擬開發環境,使用指令 virtualenv --python=python3.3 ENV 或是 python3 ~/.virtualenv.py --distribute ENV
-
- 若是嫌編譯太麻煩,可以考慮這個非官方版本,先下載腳本 install_superpack.sh ,然後在命令列環境執行腳本 sh ./install_superpack.sh,這個腳本將配合 Python 2.7 的 numpy、scipy 、matplotlib 及 PyMC 等編譯好的模組下載回來,放在該放的位置。
- scipy 安裝指示建議不要使用 XCode 的 llvm gcc ,建議另外安裝 gcc 4.2。 而且在安裝之前記得調整環境變數:
- export CC=gcc-4.2
- export CXX=g++-4.2
- export FFLAGS=-ff2c
- 安裝好 gcc/gfortran 之後,可以用 pip install numpy 方式安裝套件,或是如scipy 安裝指示,以 git 下載源碼( git clone https://github.com/numpy/numpy.git or git clone https://github.com/scipy/scipy.git),編譯安裝,安裝指令如下:
- python setup.py build
- sudo python setup.py install
- 安裝 matplotlib 之前,必須先安裝 freetype 和 libpng,這兩個元件,可以用MacPorts安裝,編譯前建議更改環境變數 export ARCHFLAGS='-arch x86_64' 。
- matplotlib 穩定版的源碼不支援 Python3,若要在 Python3 環境裏使用 matplotlib ,需用 git 下載最新的開發者版本源碼 git clone https://github.com/matplotlib/matplotlib。
- 目前使用 virtualenv 建立了兩個開發環境,一個是 Python 2.7,另外一個是 Python 3.3。雖然 numpy/scipy/matplotlib 安裝好之後,執行 matplotlib 網站的範例,並不是每個都能成功,原因不明。
- http://sourceforge.net/projects/hpc/?source=dlp
- https://github.com/kennethreitz/osx-gcc-installer
- http://www.scipy.org/Installing_SciPy/Mac_OS_X
- http://web.mit.edu/mfloyd/www/computing/mac/gfortran/
- http://yehnan.blogspot.tw/2011/07/xcodegccllvmcompiler-options-in-xcode.html
- http://www.python.org/getit/mac/tcltk/
Wednesday, November 28, 2012
Saturday, April 21, 2012
Friday, April 13, 2012
[詩戀] If You Forget Me
前些天,譯言翻譯了聶魯達(Pablo Neruda)的詩《如果你把我忘記》,非常美的一首詩:
I want you to know
one thing.
You know how this is:
if I look
at the crystal moon, at the red branch
of the slow autumn at my window,
if I touch
near the fire
the impalpable ash
or the wrinkled body of the log,
everything carries me to you,
as if everything that exists,
aromas, light, metals,
were little boats
that sail
toward those isles of yours that wait for me.
Well, now,
if little by little you stop loving me
I shall stop loving you little by little.
If suddenly
you forget me
do not look for me,
for I shall already have forgotten you.
If you think it long and mad,
the wind of banners
that passes through my life,
and you decide
to leave me at the shore
of the heart where I have roots,
remember
that on that day,
at that hour,
I shall lift my arms
and my roots will set off
to seek another land.
But
if each day,
each hour,
you feel that you are destined for me
with implacable sweetness,
if each day a flower
climbs up to your lips to seek me,
ah my love, ah my own,
in me all that fire is repeated,
in me nothing is extinguished or forgotten,
my love feeds on your love, beloved,
and as long as you live it will be in your arms
without leaving mine.
Subscribe to:
Posts (Atom)
如果我的心是一朵蓮花
~ 林徽因 · 馬雁散文集 · 蓮燈 ~ 馬雁 在她的散文《高貴一種,有詩為證》裡,提到「十多年前,還不知道林女士的八卦及成就前,在期刊上讀到別人引用的《蓮燈》」 覺得非常喜歡,比之卞之琳、徐志摩,別說是毫不遜色,簡直是勝出一籌。前面的韻腳和平仄的處理顯然高於戴...
-
最近,有個朋友接了個不大不小( 不是 quick and dirty 的小案,但也不是可以讓供應商穿金戴銀的數字,所以叫做不大不小 )的系統開發案,甲、乙雙方為了文件交付標準,起了不小的爭執。經過協調,最後兩方都同意不用 CMMI 的標準(天曉得什麼是 CMMI 文件標準),改用...
-
在資通訊安全領域,有個源於軍事領域的術語 defense in depth (DID), 在軍事上,DID 是一種 策略 理念,防禦不能只靠一道強大的防線(比如說中國的長城和法國的 Maginot Line ),必須用多層次(multi-layer)、多角度、多點、多面的防...


