-
还是决定离开吧,虽然我很喜欢这里.
就这样.
-
前两天刚刚过了生日,我一个人在办公室以通宵写报告的方式进入12月8日.这次至少还有爸妈没有忘记给我发电子贺卡,于是知足常乐.
最终的报告交上去了,学期似乎也结束了.有些失落,似乎还没有尽力;刚刚走出跌跌撞撞的状态,猛然间却被告知now everything comes to an end.事情远没有想象中的简单容易,并且北美也未必是学术的天堂---所谓天堂只是我一厢情愿的想象罢了.
庆幸的是真正学了一些东西,不幸的是量化一切的工具还是考试.上课是t... -
Half mayonnaise and half vinaigrette seasoned with minced garlic and mashed anchovies and grated Parmesan cheese; especially good for combination salads.
-
最近很怨念云吞面.
在safeway意外的撞见了云吞皮,窃喜地收入囊中.又心急的买了ground beef,无奈上周总在赶程序,终于今天趁着感恩节的长周末来了却这桩心事了.
冰箱里还有一只蠢笨的土豆,被我冷落很久了.打开冰箱时,顺道把它取出来搓成泥丢进厚厚的陶瓷碗里.牛肉末大约1lb的样子,我取了一半放到碗里.加了一匙红糖,浇了很多料酒上去.然后是两匙沙茶酱,两匙最有爱的维力炸酱.关于酱料,罗嗦一下.沙茶酱购于亚洲超市,台湾产牛头牌,看起来蛮不错的样子,尝过以后发现味道相当正.还有维力炸酱,真是大爱!在台湾据说是很受欢迎的,当时在台湾朋友力荐之下购入,是我吃过的最好吃的炸酱,香味很特别,恰到好处.搅拌.搅拌.搅拌.鼻子凑过去闻一下,真是令人愉悦哪!
云吞皮是成品,取出来发现两面沾满面粉,根本合不拢.于是找只碗接些水来,给云吞皮过澡.拎出来试着合一下,果然凑效.于是就是大量重复动作了.赶制出一批又一批.上了瘾似的,我把剩下的一半牛肉又调成馅料,继而填进云吞.我把云吞们辐射状的摆到餐盘里,洒些面粉,看起来卖相很好的样子.这时已经快午夜了,便将其放进保鲜袋,统统冷冻去了.
我洗餐盘洗碗洗勺子,最后剥了一只芒果吃.牛肉馅还剩一些,可以做成肉燥,等吃蚵仔面的时候放进去.
家里还有虾子面和瑶柱面,到时和云吞一起煮,加几只虾和几片裙带菜,应该是很美味的吧.
或者单煮云吞,加虾米裙带菜和香菜,洒些胡椒粉,就是身为北方人的我相当向往的早餐馄饨了.
-
我总爱提及下午的原因是,早上的我总是笨拙迟钝,昏昏欲睡.
-
下雪了. 我望着窗外,怀念一种叫做秋裤的东西.

大概是去年这个时候的某个晴天的下午,绿园里金黄的叶子撒在青翠的草坪上.记得当时我看呆了.来到新的城市却不停的怀旧,是不是也可以算作一种agreeable melancholy?
你们都已经往前走了,可我的记忆仍然停留在离开的时候.
-
Gnuplot on Mac - [雕虫小技]
2009-10-04
I installed gnuplot package 4.0.0-1005 using finkcommander (it made me faint!). However, when I entered gnuplot in the terminal, it didn't work:
*****$ gnuplot
-bash: gnuplot: command not found
I checked and found that gnuplot does exist in the following directory: /sw/bin/gnuplot. I was considering whether I should re-install fink and re-install finkcommander(or apt-get, which is my favorite) ...all the annoying stuff! Fortunately a notion stopped my stupid idea. I checked the user directory, didn't find gnuplot in the directory: /usr/bin, just as I thought before. So I did the following thing:
*****$ sudo ln -s /sw/bin/gnuplot /usr/bin/gnuplot
Done!
I forgot to adjust the path so the gnuplot command couldn't be found. I'm an idiot...
-
Try to avoid system("pause") in c/c++ - [雕虫小技]
2009-10-04
system("pause")
I've never understood why system("PAUSE") is so popular. Sure it will pause a program before it exits. This pause is very useful when your IDE won't wait as you test a program and as soon as the program finished the window closes taking all your data with it.
But using system("PAUSE") is like burning your furniture for heat when you have a perfectly good thermostat on the wall.
Many people, instructors included, for some inexplicable reason think that making a call to the operating system and running a system command to temporarily halt a program is a good thing. Where they get this idea is beyond me. Reasons:
-
It's not portable. This works only on systems that have the PAUSE command at the system level, like DOS or Windows. But not Linux and most others...
-
It's a very expensive and resource heavy function call. It's like using a bulldozer to open your front door. It works, but the key is cleaner, easier, cheaper. What system() does is:
-
suspend your program
-
call the operating system
-
open an operating system shell (relaunches the O/S in a sub-process)
-
the O/S must now find the PAUSE command
-
allocate the memory to execute the command
-
deallocate the memory
-
exit the OS
-
resume your program
There are much cleaner ways included in the language itself that make all this unnessesary.
-
-
You must include a header you probably don't need: stdlib.h or cstdlib
It's a bad habit you'll have to break eventually anyway.
Instead, use the functions that are defined natively in C/C++ already. So what is it you're trying to do? Wait for a key to be pressed? Fine -- that's called input. So in C, use getchar() instead. In C++, how about cin.get()? All you have to do is press RETURN and your program continues.
-
-
What makes a cozy afternoon - [想入非非]
2009-09-12
一到三面高高的分格书架,舒适的沙发椅,置物小桌,盆栽植物.拿本书看,阳光从大窗户斜打下来.
-
今日发饷.
去系里得到一张pay cheque,因为direct deposit还没有办好,只能先领来cheque再去兑现了.然后去了银行,又领来了信用卡.可以当卡奴了,欢呼一下.明天准备付用,看中了佳能一款长焦相机.比单反便宜许多,但是手动功能很强大.我等俗人比较向往的背景虚化效果也能轻松达到.
想要犒劳一下自己.北平饭店就算了,国外的中餐让人很难忍受.一个人吃西餐又略显凄凉.还是自己动手为妙.虽然累些,毕竟不用付小费了.准备做奶油蘑菇汤和番茄牛...








