秘密的名字

我們會替喜歡的人起名。也許因為他本來的名字是公共的,是社交的,每個人都認識這個名字底下的他,又或是,他在這個名字之下,是一個有別於你所認識的人。因為凡是戀人都深信,在情人面前,我們總會展現最真實的一面

使用 Java 上載檔案至 FTP 伺服器 (Use Java to upload file to FTP Server)

import java.io.DataOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.IOException;import sun.net.TelnetOutputStream;import sun.net.ftp.FtpClient;

public static void send(String hostname, int port, String username, String password, File source, String destination) throws IOException {    FtpClient ftp = new FtpClient(hostname, port);    ftp.login(username, password);    ftp.binary();    FileInputStream fos = new

分手總要在facebook

相信你都可能在YouTube上看過,一對新婚男女,在証婚人一句禮成後,便立即用手機互相在各自的facebook帳戶中,更改個人profile狀態,由單身變已婚。

合家歡大團圓當然開心,但你有無有想過,如果反過來,你與伴侶分手後,除了你要由和


西人教中國哲學

我教的大學正在大刀闊斧改革通識課程,由於涉及大量的資源分配,各學系都忙於建議新的科目或重新編排已有的,可說悉力以赴,可說疲於奔命,可說勾心鬥角。我大底上是置身事外,因為我教的主要是主修科目,而我有份教

A quick tour of my desktop

I've finally gotten around to creating a screenshot of my desktop, nowavailable here (500KbPNG). My desktop is two 1280x1024 LCD panels in side by side mode, sothis is a 2560x1024 picture. (You can probably easily spot the dividingline between the two panels.)

This screenshot shows a number of things that I've talked about,such as pyhosts and xrun ; alsovisible is an


Handling variations of a page (or, the revenge of REST)

Suppose that you have a web application with users, and different users(or different sorts of users) need to see slightly different versionsof various pages and forms. It's both obvious and very tempting toimplement these page and form variations with conditional logic in asingle URL's view handler; you have to retrieve the user's informationanyways (and check access permissions), so you simply put in some checksand switches based on what sort of user they are or what permissionsthey have.

(


離合

如果你愛上一個人,你會認為他是不能分類的。他不會是「一個郵差」「一個聰明的肥仔」「一位長髮的結他手」,他就是他,這個世上唯獨你,和他,是獨特的,是離群的,是不可分類,亦不可再分割。

但你會不會害怕,有一

慢慢學會謙卑


在電影 《 127 小時》裏,男主角本來是天不怕地不怕,登山涉水獨闖高峰的冒險家,但一次攀山意外,令他墮落在山壁的 罅隙 之間,手臂被夾住,呼天不應,叫地不聞。整部電影就拍他被困深山,無法動彈,絕境求存的過程,

FM2配sigma 24mm 1.8出陣!!!

APX 400 的135版,這回是初次品味,出來的感覺和120大大不同,差別我看是在於120的菲林質素太差了,沒法體會愛克法APX 400的真髓。

為了慶祝APX 400 第一回戰,特別用上NIKON的FM2和適馬的神奇微距廣角鏡,2

Continue reading...

東京少女之無重漂浮

無意中看到台灣博客 凱撒之鷹 這篇 來自東京的漂浮少女 的網誌,介紹了這個名為 yowayowa camera woman diary 的圖片網誌,內裡記載了Natsumi這位日本少女,每天透過圖片來說的漂浮故事。

每天的圖片,其實都是Natsumi的生活片段,有趣的是,每張圖片,她

Continue reading...