n*e
2 楼
(原创。转载请注明作者:cafe)
喝咖啡这件事,也可以弄得很有趣。回想在北大的时候,咖啡基本是用来当吊精神的兴
奋剂的。拿三包雀巢三合一到水房冲一大瓶保温瓶带到牛教,就可以吃吃玩玩待到晚上
三点。那时候也不觉得咖啡有什么好喝,只是喝多了胃疼。后来来了美国,想要自己冲
咖啡,就去网上买了几包咖啡粉加一个不要钱的咖啡壶,泡出来也觉得一般。不管加多
少牛奶多少伴侣,总不如星巴克的香浓。一直到最近才发现,其实要做出好咖啡来,还
是得自己动手慢慢从绿咖啡豆做起。最近冲了几次,经zz 鉴定,已经接近超市里卖的
星巴克瓶装咖啡奶的水准了。总共投资大约$200多点,其实还是很划得来的。当然我是
最低配置,不过如果继续投钱到设备上,也就是自动化程度更高些罢了,咖啡味道的提
高至少在我现在的水准已经区分不出来了——符合边际效益递减的原理,赫赫。
言归正传。如果想自己做一杯不低于星巴克水准的Cappuccino,你需要:
1. 绿咖啡豆。为什么要自己烘豆呢?我的体会是:自己烘的豆>>超市买的(烘好的)
豆=超市买的粉(ground coffee)(拆封一天以内)>>超市买的粉(拆封三天以上)>>速
溶咖啡
喝咖啡这件事,也可以弄得很有趣。回想在北大的时候,咖啡基本是用来当吊精神的兴
奋剂的。拿三包雀巢三合一到水房冲一大瓶保温瓶带到牛教,就可以吃吃玩玩待到晚上
三点。那时候也不觉得咖啡有什么好喝,只是喝多了胃疼。后来来了美国,想要自己冲
咖啡,就去网上买了几包咖啡粉加一个不要钱的咖啡壶,泡出来也觉得一般。不管加多
少牛奶多少伴侣,总不如星巴克的香浓。一直到最近才发现,其实要做出好咖啡来,还
是得自己动手慢慢从绿咖啡豆做起。最近冲了几次,经zz 鉴定,已经接近超市里卖的
星巴克瓶装咖啡奶的水准了。总共投资大约$200多点,其实还是很划得来的。当然我是
最低配置,不过如果继续投钱到设备上,也就是自动化程度更高些罢了,咖啡味道的提
高至少在我现在的水准已经区分不出来了——符合边际效益递减的原理,赫赫。
言归正传。如果想自己做一杯不低于星巴克水准的Cappuccino,你需要:
1. 绿咖啡豆。为什么要自己烘豆呢?我的体会是:自己烘的豆>>超市买的(烘好的)
豆=超市买的粉(ground coffee)(拆封一天以内)>>超市买的粉(拆封三天以上)>>速
溶咖啡
b*g
3 楼
Sorry for posting in English. On a computer with no Chinese inputs.
I am trying to buy potash fertilizer in large quantity. contacted some
manufactures in north america (especially in Canada) and got no response
so far.
any recommendations on alternative sources? or, can anyone provide a lead
on where to find it?
I have the LOI with buyer's account information ready for verification.
Very serious!!
Any recommendation is appreciated!!!
I am trying to buy potash fertilizer in large quantity. contacted some
manufactures in north america (especially in Canada) and got no response
so far.
any recommendations on alternative sources? or, can anyone provide a lead
on where to find it?
I have the LOI with buyer's account information ready for verification.
Very serious!!
Any recommendation is appreciated!!!
g*0
4 楼
我作为spouse跟LD办绿卡,他的2007年就下来了。我的还在等排期,一月份被layoff,
当时在范律师的免费咨询的栏目里问了能不能申请失业保险,如果能会不会影响绿卡申
请,答案都是Maybe. 后来,自己仔细的查看了一下加州的EDD官方网页,觉得按道理是
可以申请的。又在其他版面上问,绝大部分都说可以申请,也不影响绿卡。可是,也有
少数说会有风险的。
想问一下,是不是范律师的免费咨询栏目是不是被取消了,找了半天没有找到了,上次
问的时候,少了在加州这个条件,想再试着问问。
当时在范律师的免费咨询的栏目里问了能不能申请失业保险,如果能会不会影响绿卡申
请,答案都是Maybe. 后来,自己仔细的查看了一下加州的EDD官方网页,觉得按道理是
可以申请的。又在其他版面上问,绝大部分都说可以申请,也不影响绿卡。可是,也有
少数说会有风险的。
想问一下,是不是范律师的免费咨询栏目是不是被取消了,找了半天没有找到了,上次
问的时候,少了在加州这个条件,想再试着问问。
s*t
5 楼
心若有了洞,
蛇就会钻进去。
寂寞是条小蛇,
把我变成了
鬼。
无人的夜,无声的影子,
悄悄
从窗缝滑了进去。
在你梦里采花。
欲望的苹果是甜的。
吃了它吧,
吃了它你会更好地
体验饿。
“哈,原来月亮也会怀孕。”
你笑着说。
何止月亮,梦也可以
让姑娘怀孕。
我在暗影里
答。
然后天就亮了。
像退潮的水,我和黑暗
一同撤了下去。
但那条小蛇,那条小蛇它可没有
走。
它钻进了你心里。
蛇就会钻进去。
寂寞是条小蛇,
把我变成了
鬼。
无人的夜,无声的影子,
悄悄
从窗缝滑了进去。
在你梦里采花。
欲望的苹果是甜的。
吃了它吧,
吃了它你会更好地
体验饿。
“哈,原来月亮也会怀孕。”
你笑着说。
何止月亮,梦也可以
让姑娘怀孕。
我在暗影里
答。
然后天就亮了。
像退潮的水,我和黑暗
一同撤了下去。
但那条小蛇,那条小蛇它可没有
走。
它钻进了你心里。
i*f
6 楼
最近在看gnu libc的manual,里面讲到signal handler的时候有这个例子(chapter 24
.4.2, http://www.gnu.org/software/libc/manual/html_node/Termination-in-Handler.html#Termination-in-Handler):
1 volatile sig_atomic_t fatal_error_in_progress = 0;
2
3 void
4 fatal_error_signal (int sig)
5 {
6 /* Since this handler is established for more than one kind of signal,
7 it might still get invoked recursively by delivery of some other
kind
8 of signal. Use a static variable to keep track of that. */
9 if (fatal_err
.4.2, http://www.gnu.org/software/libc/manual/html_node/Termination-in-Handler.html#Termination-in-Handler):
1 volatile sig_atomic_t fatal_error_in_progress = 0;
2
3 void
4 fatal_error_signal (int sig)
5 {
6 /* Since this handler is established for more than one kind of signal,
7 it might still get invoked recursively by delivery of some other
kind
8 of signal. Use a static variable to keep track of that. */
9 if (fatal_err
p*a
7 楼
Yes you can. No problem & no risk
p*s
9 楼
你可以把这个程序想像成中断调用,为了避免程序本身执行到一半又被调用,加了标志。
http://en.wikipedia.org/wiki/Reentrant_(subroutine)
http://en.wikipedia.org/wiki/Reentrant_(subroutine)
i*f
12 楼
但是第10行raise之后,程序会接着往下执行吧?
raise(sig)会给自己一个signal,然后呢?然后程序会接着执行吧?
志。
【在 p*****s 的大作中提到】
: 你可以把这个程序想像成中断调用,为了避免程序本身执行到一半又被调用,加了标志。
: http://en.wikipedia.org/wiki/Reentrant_(subroutine)
raise(sig)会给自己一个signal,然后呢?然后程序会接着执行吧?
志。
【在 p*****s 的大作中提到】
: 你可以把这个程序想像成中断调用,为了避免程序本身执行到一半又被调用,加了标志。
: http://en.wikipedia.org/wiki/Reentrant_(subroutine)
i*f
16 楼
raise() just send a signal to itself. I think the codes below raise() will
continue to be executed. See man 3 raise. Also, try the following code:
#include
#include
#include
/* A handler for the ALARM signal */
void act_sigalrm(int sig)
{
puts("catched a SIGALRM");
/* raise this signal again. */
raise(sig);
puts("this code will be executed.");
}
int main()
{
signal(SIGALRM, act_sigalrm);
/* issue SIGALRM 3 sec later */
alarm(3);
/* entering event l
【在 p*****s 的大作中提到】
: 那要看libc raise怎么处理了,看介绍一般raise的用途是调用缺省处理方法,就是把
: 自己解决了。
: 程序没有机会往下走了。
continue to be executed. See man 3 raise. Also, try the following code:
#include
#include
#include
/* A handler for the ALARM signal */
void act_sigalrm(int sig)
{
puts("catched a SIGALRM");
/* raise this signal again. */
raise(sig);
puts("this code will be executed.");
}
int main()
{
signal(SIGALRM, act_sigalrm);
/* issue SIGALRM 3 sec later */
alarm(3);
/* entering event l
【在 p*****s 的大作中提到】
: 那要看libc raise怎么处理了,看介绍一般raise的用途是调用缺省处理方法,就是把
: 自己解决了。
: 程序没有机会往下走了。
p*s
17 楼
you are right, the code in line 10 doesn't make sense.
I understand the intention is to avoid double fault handling, but to
resend signal to itself can not prevent this.
btw, I take a look at the glibc code, rasie(...) is implemented as one
line kill(...)
will
【在 i*****f 的大作中提到】
: raise() just send a signal to itself. I think the codes below raise() will
: continue to be executed. See man 3 raise. Also, try the following code:
: #include
: #include
: #include
: /* A handler for the ALARM signal */
: void act_sigalrm(int sig)
: {
: puts("catched a SIGALRM");
: /* raise this signal again. */
I understand the intention is to avoid double fault handling, but to
resend signal to itself can not prevent this.
btw, I take a look at the glibc code, rasie(...) is implemented as one
line kill(...)
will
【在 i*****f 的大作中提到】
: raise() just send a signal to itself. I think the codes below raise() will
: continue to be executed. See man 3 raise. Also, try the following code:
: #include
: #include
: #include
: /* A handler for the ALARM signal */
: void act_sigalrm(int sig)
: {
: puts("catched a SIGALRM");
: /* raise this signal again. */
i*f
18 楼
握手握手~~~
不过还是不明白,我觉得libc的manual应该是很严谨的阿。还是说我不该太take it
serious @[email protected]
【在 p*****s 的大作中提到】
: you are right, the code in line 10 doesn't make sense.
: I understand the intention is to avoid double fault handling, but to
: resend signal to itself can not prevent this.
: btw, I take a look at the glibc code, rasie(...) is implemented as one
: line kill(...)
:
: will
不过还是不明白,我觉得libc的manual应该是很严谨的阿。还是说我不该太take it
serious @[email protected]
【在 p*****s 的大作中提到】
: you are right, the code in line 10 doesn't make sense.
: I understand the intention is to avoid double fault handling, but to
: resend signal to itself can not prevent this.
: btw, I take a look at the glibc code, rasie(...) is implemented as one
: line kill(...)
:
: will
p*s
19 楼
可以找个真的gnu terminal 程序看看是怎么处理异常的
【在 i*****f 的大作中提到】
: 握手握手~~~
: 不过还是不明白,我觉得libc的manual应该是很严谨的阿。还是说我不该太take it
: serious @[email protected]
【在 i*****f 的大作中提到】
: 握手握手~~~
: 不过还是不明白,我觉得libc的manual应该是很严谨的阿。还是说我不该太take it
: serious @[email protected]
相关阅读
12.04 vmware装不上、source code里面带的man page怎么阅读啊?USD 10k~12k, 搞个神马样的server ?how to use git to get all the files under a URL?桌面只剩背景了如何拷贝有Pogoplug 的系统的U盘Amex SPG卡送25K points 白送500刀现金 最佳酒店卡排名 (转载)redhat 年收入都 1b 了ibus还是有问题啊mintBox 太爽了。。。pbs总是kill job敢问英雄,搞点小开发,直接在u盘上用ubuntu有什么问题么?Kindle Fire 启动的非常快,采用的什么技术?FreeNAS如何换硬盘 (转载)各位争吵linux,其实最??的是那么多中国人,没写出一个出名的软件Linux 3.4 发了如何定点执行一个程序安装了太阳11glusterfs, FreeNas?