今日阳光明媚,万物复苏,白云朵朵。
在出于防御感冒考虑而今天中午在米拉梅萨大道附近的华格林便利店接收了流感猪感疫苗注射的我,和贝在Lu刚刚推荐过的便利店街对面的Pho Ca Dao越南餐馆共进午餐。
在几个春卷下肚后,“超大碗越南面条”还未上桌之前,我就隐约感到已经吃饱了。
2010-10-31
2010-10-30
加密
上次我们讨论过如何用git和dropbox进行可靠节省的版本控制,这次我们来说说如何同时利用数据加密来实现外包的数据安全。
##############################################################
# GIT transparent encryption
#############################################################
##############################################################
Description
##############################################################
When working with a remote git repository which is hosted on a
third-party storage server, data confidentiality sometimes becomes
a concern. This article walks you through the procedures of setting
up git repositories for which your local working directories are as
normal (un-encrypted) but the committed content is encrypted.
##############################################################
The Story
##############################################################
I use 'git' [1] and 'dropbox' [2] as a reliable, highly available, cost
saving and distributed version control solution (see [3]), and have really
found it convenient and effective. One thing that is not addressed in
this solution is data privacy/confidentiality. As 'dropbox' is a third-party
data storage service with Amazon S3 as its backend data store, a paranoid
user like myself would always be concerned about the dropbox hosted data
being disclosed to others, accidentally or deliberately. After all, putting
unconditional trust on a third-party provider never seems to be a perfect
rescue.
User controlled end-to-end encryption solves the problem: before data is
pushed to the remote repository to store, it is encrypted with an encryption
key which is known only to the data owner itself. Management of the
encryption key(s) and the encryption/decryption processes is always tedious
and easy to get wrong. In the following, we shall demonstrate how to use
'git' with encryption in a way transparent to the end user.
Before we start the demonstration, the following software packages need
to be installed: git (version 1.7.1 for the demonstration), openssl [4]
(version 0.9.8o 01 Jun 2010 for the demonstration). The operating system
for the demonstration is Linux (Ubuntu 10.10).
The idea is to leverage git's smudge/clean filter, hinted by the discussion
at [5]. Unlike [5], in which GPG is proposed as the encryption method,
we use OpenSSL's symmetric key cipher as it is a better suitable solution.
The procedures are as follows.
1. Before the git repository is created, in your home directory
~$ mkdir .gitencrypt
~$ cd !$
# Create three files
~$ touch clean_filter_openssl smudge_filter_openssl diff_filter_openssl
~$ chmod 755 *
These files will be the clean/smudge/diff handler/hook for the git
repository which we are going to work with. The content of the three
files are:
-- File: clean_filter_openssl --
#!/bin/bash
SALT_FIXED=<your-salt>
PASS_FIXED=<your-passphrase>
openssl enc -base64 -aes-256-ecb -S $SALT_FIXED -k $PASS_FIXED
-- end of clean_filter_openssl --
Here replace <your-salt> with a random hexadecimal string and replace
<your-passphrase> with a passphrase you will use as a mater secret for
the symmetric key encryption/decryption. We are using AES-256 ECB mode
as the encryption algorithm, as it turns out a deterministic encryption
works best with 'git' (we will explain later).
-- File: smudge_filter_openssl --
#!/bin/bash
# No salt is needed for decryption.
PASS_FIXED=<your-passphrase>
# If decryption fails, use `cat` instead.
# Error messages are redirected to /dev/null.
openssl enc -d -base64 -aes-256-ecb -k $PASS_FIXED 2> /dev/null || cat
-- end of smudge_filter_openssl --
-- File: diff_filter_openssl --
#!/bin/bash
# No salt is needed for decryption.
PASS_FIXED=<your-passphrase>
# Error messages are redirect to /dev/null.
openssl enc -d -base64 -aes-256-ecb -k $PASS_FIXED -in "$1" 2> \
/dev/null || cat "$1"
-- end of diff_filter_openssl --
Files in the .gitencrypt directory should be locally kept and never shared
with anyone you do not want to have access to your data, as they contain
your decryption passphrase.
2. Change to the project directory where the 'git' repository is to be
created. Suppose this directory is ~/myproj/.
~/myproj$ git init
# Create .gitattributes file
~/myproj$ touch .gitattributes
Add the following content to .gitattributes
-- File: .gitattributes --
* filter=openssl diff=openssl
[merge]
renormalize = true
-- end of .gitattributes --
In this file, the 'filter' and 'diff' attributes are assigned to drivers
named 'openssl', which should be defined in .git/config as follows.
-- Snippet: .git/config --
[filter "openssl"]
smudge = ~/.gitencrypt/smudge_filter_openssl
clean = ~/.gitencrypt/clean_filter_openssl
[diff "openssl"]
textconv = ~/.gitencrypt/diff_filter_openssl
-- end of snippet --
3. Now 'git add' relevant files to the staging area. When you do this,
the 'clean' filter is applied to files in your working directory, i.e.,
it encrypts the files before they are checked into the staging area. Note
that as a best practice, '.gitattributes' should not be added. At this time,
you can use 'git diff' as usual, as the 'diff' filter is properly
configured to compare the difference of only plain text data (it first
decrypts if needed).
4. Apply 'git commit' to commit the changes to the repository.
5. Now suppose the repository 'myproj' is connected to a remote repository
named 'dropbox' at 'file://~/myproj-remote.git', and you have 'pushed' all
the committed changes to it. Suppose you want to create another git
repository in directory '~/myproj-1'. First clone the remote repository
without checking out the HEAD.
~$ git clone -o dropbox -n file://myproj-remote.git myproj-1
~$ cd myproj-1
Now create under 'myproj-1' a file .gitattributes with the same content
as shown in Step 2. Then add/append the code snippet in '.git/config' in
Step 2 to 'myproj-1/.git/config'. Then reset the HEAD.
~/myproj-1$ git reset HEAD
You can now view a list of missing files by issuing 'git ls-files -d'.
You can now check them out
~/myproj-1$ git ls-files -d | xargs git checkout --
When the files are checked out, the 'smudge' filter is automatically
applied, decrypting the files in the repository and putting the decrypted
files into your working directory. The reason non-deterministic encryption
(what GPG does) does not work very well here is because the same file
is transformed to a different ciphertext each time it is encrypted, doing
a 'git status' always shows the pulled files at 'modified', even though
a 'git diff' shows no difference. Checking in such 'modified' files only
replaces the old ciphertext with a new one which decrypts to the same
file. If you work in two different local repositories synced to the same
remote, the push/pull process will never end even if nothing is changed
in your working directories. Using AES ECB mode with a fixed salt, although
not semantically secure, resolves this problem while providing reasonable
confidentiality.
From now on, you can work in the local repositories, push to or pull from
the remote repository as usual, without noticing the encryption/decryption
in the background.
I think this is cool.
##############################################################
References
##############################################################
[1] "Git: the fast version control system". http://git-scm.com/
[2] "Dropbox homepage". http://www.dropbox.com/
[3] "Version control with Git and Dropbox".
http://syncom.wordpress.com/2010/05/06/%E7%89%88%E6%8E%A7/
[4] "OpenSSL: Cryptography and SSL/TLS Toolkit". http://www.openssl.org/
[5] "Web discussion: Transparently encrypt repository contents with GPG".
http://git.661346.n2.nabble.com/Transparently-encrypt-repository-contents-with-GPG-td2470145.html
##############################################################
# GIT transparent encryption
#############################################################
##############################################################
Description
##############################################################
When working with a remote git repository which is hosted on a
third-party storage server, data confidentiality sometimes becomes
a concern. This article walks you through the procedures of setting
up git repositories for which your local working directories are as
normal (un-encrypted) but the committed content is encrypted.
##############################################################
The Story
##############################################################
I use 'git' [1] and 'dropbox' [2] as a reliable, highly available, cost
saving and distributed version control solution (see [3]), and have really
found it convenient and effective. One thing that is not addressed in
this solution is data privacy/confidentiality. As 'dropbox' is a third-party
data storage service with Amazon S3 as its backend data store, a paranoid
user like myself would always be concerned about the dropbox hosted data
being disclosed to others, accidentally or deliberately. After all, putting
unconditional trust on a third-party provider never seems to be a perfect
rescue.
User controlled end-to-end encryption solves the problem: before data is
pushed to the remote repository to store, it is encrypted with an encryption
key which is known only to the data owner itself. Management of the
encryption key(s) and the encryption/decryption processes is always tedious
and easy to get wrong. In the following, we shall demonstrate how to use
'git' with encryption in a way transparent to the end user.
Before we start the demonstration, the following software packages need
to be installed: git (version 1.7.1 for the demonstration), openssl [4]
(version 0.9.8o 01 Jun 2010 for the demonstration). The operating system
for the demonstration is Linux (Ubuntu 10.10).
The idea is to leverage git's smudge/clean filter, hinted by the discussion
at [5]. Unlike [5], in which GPG is proposed as the encryption method,
we use OpenSSL's symmetric key cipher as it is a better suitable solution.
The procedures are as follows.
1. Before the git repository is created, in your home directory
~$ mkdir .gitencrypt
~$ cd !$
# Create three files
~$ touch clean_filter_openssl smudge_filter_openssl diff_filter_openssl
~$ chmod 755 *
These files will be the clean/smudge/diff handler/hook for the git
repository which we are going to work with. The content of the three
files are:
-- File: clean_filter_openssl --
#!/bin/bash
SALT_FIXED=<your-salt>
PASS_FIXED=<your-passphrase>
openssl enc -base64 -aes-256-ecb -S $SALT_FIXED -k $PASS_FIXED
-- end of clean_filter_openssl --
Here replace <your-salt> with a random hexadecimal string and replace
<your-passphrase> with a passphrase you will use as a mater secret for
the symmetric key encryption/decryption. We are using AES-256 ECB mode
as the encryption algorithm, as it turns out a deterministic encryption
works best with 'git' (we will explain later).
-- File: smudge_filter_openssl --
#!/bin/bash
# No salt is needed for decryption.
PASS_FIXED=<your-passphrase>
# If decryption fails, use `cat` instead.
# Error messages are redirected to /dev/null.
openssl enc -d -base64 -aes-256-ecb -k $PASS_FIXED 2> /dev/null || cat
-- end of smudge_filter_openssl --
-- File: diff_filter_openssl --
#!/bin/bash
# No salt is needed for decryption.
PASS_FIXED=<your-passphrase>
# Error messages are redirect to /dev/null.
openssl enc -d -base64 -aes-256-ecb -k $PASS_FIXED -in "$1" 2> \
/dev/null || cat "$1"
-- end of diff_filter_openssl --
Files in the .gitencrypt directory should be locally kept and never shared
with anyone you do not want to have access to your data, as they contain
your decryption passphrase.
2. Change to the project directory where the 'git' repository is to be
created. Suppose this directory is ~/myproj/.
~/myproj$ git init
# Create .gitattributes file
~/myproj$ touch .gitattributes
Add the following content to .gitattributes
-- File: .gitattributes --
* filter=openssl diff=openssl
[merge]
renormalize = true
-- end of .gitattributes --
In this file, the 'filter' and 'diff' attributes are assigned to drivers
named 'openssl', which should be defined in .git/config as follows.
-- Snippet: .git/config --
[filter "openssl"]
smudge = ~/.gitencrypt/smudge_filter_openssl
clean = ~/.gitencrypt/clean_filter_openssl
[diff "openssl"]
textconv = ~/.gitencrypt/diff_filter_openssl
-- end of snippet --
3. Now 'git add' relevant files to the staging area. When you do this,
the 'clean' filter is applied to files in your working directory, i.e.,
it encrypts the files before they are checked into the staging area. Note
that as a best practice, '.gitattributes' should not be added. At this time,
you can use 'git diff' as usual, as the 'diff' filter is properly
configured to compare the difference of only plain text data (it first
decrypts if needed).
4. Apply 'git commit' to commit the changes to the repository.
5. Now suppose the repository 'myproj' is connected to a remote repository
named 'dropbox' at 'file://~/myproj-remote.git', and you have 'pushed' all
the committed changes to it. Suppose you want to create another git
repository in directory '~/myproj-1'. First clone the remote repository
without checking out the HEAD.
~$ git clone -o dropbox -n file://myproj-remote.git myproj-1
~$ cd myproj-1
Now create under 'myproj-1' a file .gitattributes with the same content
as shown in Step 2. Then add/append the code snippet in '.git/config' in
Step 2 to 'myproj-1/.git/config'. Then reset the HEAD.
~/myproj-1$ git reset HEAD
You can now view a list of missing files by issuing 'git ls-files -d'.
You can now check them out
~/myproj-1$ git ls-files -d | xargs git checkout --
When the files are checked out, the 'smudge' filter is automatically
applied, decrypting the files in the repository and putting the decrypted
files into your working directory. The reason non-deterministic encryption
(what GPG does) does not work very well here is because the same file
is transformed to a different ciphertext each time it is encrypted, doing
a 'git status' always shows the pulled files at 'modified', even though
a 'git diff' shows no difference. Checking in such 'modified' files only
replaces the old ciphertext with a new one which decrypts to the same
file. If you work in two different local repositories synced to the same
remote, the push/pull process will never end even if nothing is changed
in your working directories. Using AES ECB mode with a fixed salt, although
not semantically secure, resolves this problem while providing reasonable
confidentiality.
From now on, you can work in the local repositories, push to or pull from
the remote repository as usual, without noticing the encryption/decryption
in the background.
I think this is cool.
##############################################################
References
##############################################################
[1] "Git: the fast version control system". http://git-scm.com/
[2] "Dropbox homepage". http://www.dropbox.com/
[3] "Version control with Git and Dropbox".
http://syncom.wordpress.com/2010/05/06/%E7%89%88%E6%8E%A7/
[4] "OpenSSL: Cryptography and SSL/TLS Toolkit". http://www.openssl.org/
[5] "Web discussion: Transparently encrypt repository contents with GPG".
http://git.661346.n2.nabble.com/Transparently-encrypt-repository-contents-with-GPG-td2470145.html
2010-10-27
建队
今天,又是我们小组半年一度的“建队活动”。活动的地点在位于市郊的石头啤酒厂。
六杯各式各样的啤酒下肚之后,已是饱食终日的我不知怎的,感到有些头重脚轻。想到回到办公室后还要继续学习研讨,我在沮丧之余,又迫不及待地给自己灌了一杯黄汤。
六杯各式各样的啤酒下肚之后,已是饱食终日的我不知怎的,感到有些头重脚轻。想到回到办公室后还要继续学习研讨,我在沮丧之余,又迫不及待地给自己灌了一杯黄汤。
2010-10-26
演讲
今天,经典软件工程读物The Mythical Man-Month的作者、又一位图灵奖获得者弗莱德-布鲁克斯来做报告。而我,也在第一时机,搞到了一份他的签名。
[caption id="attachment_1206" align="alignleft" width="179" caption="The Mythical Man-Month Signed by Brooks"]
[/caption]
[caption id="attachment_1206" align="alignleft" width="179" caption="The Mythical Man-Month Signed by Brooks"]
躲祸
时隔数日的阴雨连绵之后,也是半月未曾触摸自行车的我再次骑车上学。在刚出家门不久的马路上右道骑行的我,途中险被一辆从后方超越的越野车刮到。当这车内的中年人在路口红灯处向我抱怨我占据了快车道骑行时,我不禁意识到此人居然是故意靠近我行驶已达到其警告只目的。在为其缺乏本地交通尝试而惋惜的同时,我又不禁为躲过一场劫难而感到万分庆幸。
章保
根据ESPN消息,章鱼保罗德国时间本周二在它的工作单位寿终正寝。
这消息尽管令人有些伤感,但似乎也暗示我们吾生也有涯而知也无涯生命中做一件大事就能扬名立万和人生苦短要及时行乐这个道理。
这消息尽管令人有些伤感,但似乎也暗示我们吾生也有涯而知也无涯生命中做一件大事就能扬名立万和人生苦短要及时行乐这个道理。
2010-10-23
兔康
这个周末,兔康大会在圣亚的传统中心召开。而第一次参与此会议的我,在听了几个讲座之后,兴趣被转移到开锁这项技术上。
2010-10-18
北狗
据估测,从北狗这种食品第一次在本部落格出现至今,已经有不下1000个各式各样北狗被我作为午饭消耗了。而其中夹带的食物,也经历了火鸡胸肉、生菜、培根、空气、花生酱、杏仁酱到咸鸭蛋的无规律轮换。
2010-10-17
天厨
今天将近中午的早上,我们冒着牛毛小雨慕名去一家叫做“天厨沪川湘”的餐馆进食。两个类似小时路边贩售的肉合的京东肉饼、一碗二米(大小米)稀饭、一碗豆浆、一盘凉菜和一笼“上海小笼包”下肚之后,我们深深觉得,此处和过去我们在西雅图时常常造访的“御膳”餐厅相比,实在是可以用有不及而无过之来形容。
2010-10-16
修车
一周之内三次拜访自行车修理铺子,连在车铺旁边的咖啡馆喝茶聊天的一位先生都注意到了这一点,觉得此事非同寻常。
2010-10-15
历险
虽然事情已经过去了好几个小时,但一回想起下午骑车回家时自行车在离办公楼不远的大坡上由于失控打滑而疯狂地冲向路沿的这惊心一刻,我在庆幸奇迹般的只受了几处皮外伤这个事实的同时,望着刹那间就拧成莫比乌斯带形状的自行车后轮,感到一种时刻袭来的不可名状的后怕。
[caption id="attachment_1183" align="alignleft" width="179" caption="扭曲的车轮"]
[/caption]
[caption id="attachment_1183" align="alignleft" width="179" caption="扭曲的车轮"]
2010-10-14
存放
在我的若干个Gmail帐号中,有一两个被我用来用于存放多年来搜罗的一些电子版的图书。而我发现,用具有良好搜索功能的Gmail管理这如同汗牛充栋般的图书资料库,最方便的方法莫过于将每个图书文件以其实际标题(以及作者版本年代等)命名,每个文件作为附件对应唯一一封邮件,而邮件标题和图书文件名等同,而邮件内容无关紧要。譬如,一本叫做《SN语录》的PDF格式的书籍,依此方法将被命名为“SN语录.pdf”,然后作为附件,被添加到一个标题为“SN语录.pdf”的Gmail邮件当中。利用bash和一个叫做smtp-cli的Perl脚本,咱们可以把此上传图书的过程自动化。具体过程如下。
首先,去http://www.logix.cz/michal/devel/smtp-cli/搞一份smtp-cli脚本,并安装它所依赖的模块,其中包括IO:Socket:SSL, Net::SSLeay, MIME::Lite等(运行perl smtp-cli会提示缺失模块信息)。对于有些系统,譬如Ubuntu,这些模块有相应的软件包可对应安装。而一般情况下咱们也能通过CPAN安装模块(perl -MCPAN -e shell, 然后install {module-name}),或者直接下载模块本地安装。
时至今日(2010年),Gmail对于邮件附件有大概20M字节的上限。这也许对大多数图书文件都已足够。但即使某些图书文件大于20M,咱们也可以用split工具把它分割为小于20M的小块,然后作为单独的邮件发送,待需要时可以分别下载再用cat工具将其合并还原。以下bash脚本就描述了这个过程。这里我们将小于或等于19M的文件直接加入一个邮件发送,跳过超大文件(大于1900M)并将其记录与一个叫做largefiles.txt的日志文件,把其余中等大小的文件分割并单独上传。这里我们假设所有图书文件都存放于一个名为“BOOKS”的目录的根目录,而且smtp-cli和BOOKS位于同一目录(或者也可将smtp-cli加入路径,这样我们就不需要此相对路径假设)。
在以上脚本的末尾,用户敏感信息被清除。这是出于安全考虑。另外需要注意的是,如果在较短的时间内流量过大(据估计大概是几百M左右),Gmail会将相关邮件帐号标识为“行为异常”并将其锁定一段时间(一半小于24小时)。所以我们最好不要一次发送过多的邮件。
首先,去http://www.logix.cz/michal/devel/smtp-cli/搞一份smtp-cli脚本,并安装它所依赖的模块,其中包括IO:Socket:SSL, Net::SSLeay, MIME::Lite等(运行perl smtp-cli会提示缺失模块信息)。对于有些系统,譬如Ubuntu,这些模块有相应的软件包可对应安装。而一般情况下咱们也能通过CPAN安装模块(perl -MCPAN -e shell, 然后install {module-name}),或者直接下载模块本地安装。
时至今日(2010年),Gmail对于邮件附件有大概20M字节的上限。这也许对大多数图书文件都已足够。但即使某些图书文件大于20M,咱们也可以用split工具把它分割为小于20M的小块,然后作为单独的邮件发送,待需要时可以分别下载再用cat工具将其合并还原。以下bash脚本就描述了这个过程。这里我们将小于或等于19M的文件直接加入一个邮件发送,跳过超大文件(大于1900M)并将其记录与一个叫做largefiles.txt的日志文件,把其余中等大小的文件分割并单独上传。这里我们假设所有图书文件都存放于一个名为“BOOKS”的目录的根目录,而且smtp-cli和BOOKS位于同一目录(或者也可将smtp-cli加入路径,这样我们就不需要此相对路径假设)。
#!/usr/bin/bash
# Upload all files 19M to trunks of 19M and upload them.
# Write file names to log file for huge files.
#
# Configuration
echo -n "Enter your Gmail user name: ";
read SMTP_USR;
echo -n "Enter your Gmail password: ";
stty -echo;
read SMTP_PASS;
stty echo;
#
LOG_FILE=largefiles.txt;
SMTP_SVR=smtp.gmail.com;
SMTP_PORT=587;
FROM_ADDR=$SMTP_USR;
TO_ADDR=$SMTP_USR;
LIMIT_PER_FILE_SIZE=19922944;
LIMIT_FILE_SIZE=1992294400;
#
# create largefiles.txt for logging
if test -f $LOG_FILE;
then
mv $LOG_FILE "$LOG_FILE".old;
fi;
touch $LOG_FILE;
#
#
for i in BOOKS/*;
do
size=`du -b $i | awk '{ print $1 }'`;
if [ $size -le $LIMIT_PER_FILE_SIZE ];
then
echo "Uploading $i";
perl smtp-cli --verbose --host $SMTP_SVR --port $SMTP_PORT \
--from $FROM_ADDR --to $TO_ADDR --subject $i --body-plain `echo "\"$i\""` \
--attach ./"$i" --enable-auth --user $SMTP_USR --pass $SMTP_PASS;
elif [ $size -ge $LIMIT_FILE_SIZE ];
then
echo $i >> $LOG_FILE;
else
split -d -b $LIMIT_PER_FILE_SIZE -a 2 $i "$i".;
num=`ls "$i".* | wc -l`;
count=0;
for j in `ls "$i".*`;
do
echo "Uploading $j";
if [ $count -eq 0 ];
then
SUBJECT="$i";
else
SUBJECT="Re: $i";
fi;
perl smtp-cli --verbose --host $SMTP_SVR --port $SMTP_PORT \
--from "$FROM_ADDR" --to "$TO_ADDR" --subject "$SUBJECT" --body-plain "Split $count of $num" \
--attach ./"$j" --enable-auth --user $SMTP_USR --pass $SMTP_PASS;
count=$[$count+1];
done;
rm -f "$i".*;
fi;
done
# Unset username and password
SMTP_USR=
SMTP_PASS=
FROM_ADDR=
TO_ADDR=
在以上脚本的末尾,用户敏感信息被清除。这是出于安全考虑。另外需要注意的是,如果在较短的时间内流量过大(据估计大概是几百M左右),Gmail会将相关邮件帐号标识为“行为异常”并将其锁定一段时间(一半小于24小时)。所以我们最好不要一次发送过多的邮件。
到货
在上次购买Kindle DX若干月之后,Kindle系列产品大幅度降价。而我所订购的第二台Kindle,也在昨日送到。除了屏幕面积比Kindle DX小了一半以上和无法自动根据重力方向调整页面朝向以外,加入了PDF支持的新一代Kindle,在功能上似乎和DX无甚区别,而它的价格及重量优势,绝对令后者望尘莫及。
就像吃了十个死面包子之后饱了的阿凡提一样,我不禁有些为在前五个死面包子——早先购买的Kindle DX——上花费的金钱以及精力(忽略不计其间阅读图书)有些小小的后悔。
就像吃了十个死面包子之后饱了的阿凡提一样,我不禁有些为在前五个死面包子——早先购买的Kindle DX——上花费的金钱以及精力(忽略不计其间阅读图书)有些小小的后悔。
破灭
自从上周六把自行车送修以来,迄今为止我本周的骑车上学计划还未得以实施。
在多番催促之下,昨天车铺终于把项目完成,而我也利用一个工作时的间隙得以把车子取回。
而我那期待了许久的再次骑车上学的梦,却被今早5点左右的一场小雨所打湿的地面,吹得灰飞烟灭。
在多番催促之下,昨天车铺终于把项目完成,而我也利用一个工作时的间隙得以把车子取回。
而我那期待了许久的再次骑车上学的梦,却被今早5点左右的一场小雨所打湿的地面,吹得灰飞烟灭。
2010-10-12
请求
昨天是繁忙的一天。就在昨天,我的两个不同的邮件帐号收到了同一位印度姑娘发来的请求帮助一门普度大学电工系课程的邮件。而这事情的起源,据推断应该和我早先在网上张榜公布的该课程的中期项目报告有关。考虑到“男女授受不亲”和我确实有些忙这个残酷现实,我决定不那么厚道的对此置若罔闻。
2010-10-10
计划
今天是个周日,将近中午时分才起来的我在午饭过后又一次昏昏睡去。再次睁开朦胧的双眼却已是傍晚时分了。
想到周五时定下的几个学习计划还一项没有完成,我在茫然中不禁感到几分沮丧,恨不得那时把睡觉也列为其中之一。
想到周五时定下的几个学习计划还一项没有完成,我在茫然中不禁感到几分沮丧,恨不得那时把睡觉也列为其中之一。
2010-10-09
老美
今天把自行车送去圣亚州立大学附近的一家自行车铺子修理之后,我们在附近的一家泰国老挝风味餐馆进行了姗姗来迟的午餐。而我,作为第一次对老挝美食的尝试,点了一份Phad Lao。尽管没有看出这份老挝食品和以前品尝过的泰国食品在风味上有何不同,但我觉得这件事情还是有必要记录下来,以资纪念。
2010-10-08
车条
昨日傍晚骑车下学途中,在一个十字路口等待红灯期间,我看到一位同在等待的自行车高手矗立于车的踏板之上,幅度不大却疯狂地扭动着身躯以保持平衡,来达到脚不沾地身不离车于是交通灯转换后便可第一时间起跑之目的。看到这点,我疲惫的身躯下那本来平静的内心顿时有些骚动。在试图模仿此位选手若干秒之后,我的尝试以不那么成功的落地而告终。
回到家后,感觉自行车有些异常的我发现,后轮的车条,不知怎的,被生生地挣断一根。
回到家后,感觉自行车有些异常的我发现,后轮的车条,不知怎的,被生生地挣断一根。
2010-10-06
2010-10-04
2010-10-03
成谶
得知和米拉玛飞行展示会相关联的一起事故,联想到日前我们就飞行表演事故的可能性未完全展开的一场讨论,我深深地体验到“东西可以乱吃,话可不能乱说”这句金玉良言的宝贵之处。
空展
这个周末,是当地一年一度的米拉玛尔飞行演示会。本来只有若干英里的路途,由于不出意料的堵车来回耗时两个多小时。期间我们终于得以不那么兴致勃勃地观赏了将近三十分钟的过去看过的“蓝色天使”飞行队的表演。
“只要经历的,就是有意义的。”有些精疲力竭的我告诫自己。
“只要经历的,就是有意义的。”有些精疲力竭的我告诫自己。
2010-10-01
Subscribe to:
Posts (Atom)