四月二十日的隨想筆記
唉,給中國那群人玩成,要知做服務業的,承諾可不是隨便可以許下的,要負責的,好難搞平客戶,焦頭爛額,深切體會,好多事情都不是退錢可以了事的。中間還會失卻一些關係,唉,如果不是朋友介紹的單還不用哪麽麻煩,
關於舊戲院
Guru Dutt的故事 (六) : 成就傑作
《 Pyaasa /求之不得》(The Thrist one, 1957) 公認為Guru Dutt電影生涯的第一套傑作 (Abrar Alvi 將故事易名為《Pyaasa》 , 又將主角從畫家改寫成為詩人) . 多年來, Guru Dutt對《Kashmakash》(Conflict/Struggle) 這個帶有自傳成份的故事念念不忘. 從《Pyaasa》故事上,
衡陽舊事
Standard format Unix errors in Python programs
Here's some things on printing standard format Unix errors in Python programs specifically,based on things that I've both seen and done myself.
First, I tend to wind up putting standard warn() and die() functions into my programs, but they only handle very low level details(putting the program name in and flushing things as necessary ). Beyond that:
- you should always catch
EnvironmentErrorinstead of anything morespecific. Functions are inconsistent about whether they raiseIOErrororOSError, so you shouldn'
艋舺("MonGa") ------ 編劇比古惑仔系列出色得多!
片名 : 艋舺 (台灣)(2010)
導演 : 鈕承澤
演員 : 阮經天,趙又廷,柯佳嬿,鳳小岳
片長 : 141 分鐘
1. 好彩之前沒看trailer,因為其實不太吸引!
2. 編劇佈局非常出色,結構不鬆散,141分鐘絕不覺長!雖然不是甚麼極
mamiya 645 pro tl問題
思之無路,快門不動,拿去香檳的相機維修中心,條友話整整就要2000幾。唉,買就新機都不過四千多,還要是套裝呢。
最後去左兆成,原來係mamiya的代理,還有好多產品賣,地點是就是差點,漆咸道的其士大廈11樓05-

星期三的電影院
利用 Java 下載 HTTP 網絡上的檔案 (Use Java to download file from HTTP)
import java.io.IOException;import java.net.ConnectException;import java.net.URL;import java.io.InputStream;import java.io.FileOutputStream;
public static void download(String source, String destination) throws IOException, ConnectException{ InputStream is = new URL(source).openConnection().getInputStream(); FileOutputStream fos = new FileOutputStream(destination); byte[] buffer = new byte[1024]; for (int length; (length = isWhy you don't want to host your MTA machine in the cloud
So one recent tidbit of news from Slashdot is that people are shocked, utterly shocked that some bad people are using EC2 to host machines thatdo bad stuff and that Amazon is surprisingly ineffective about stoppingthis.
Well, yes. Hello, here is a newsflash: cheap or free hosting (it's freeif you use other people's credit card numbers) attracts bad people likeflies to honey, and people operating cheap services rarely (by whichI mean 'never') staff up their abuse department