a*r
2 楼
皮皮前一阵自己在家委屈了,给她画张小画
辛苦啦皮皮~
辛苦啦皮皮~
c*e
3 楼
node.js里调用了callback之后,还会回到函数里。比如
function test(item,cb){
if (item == 1) {
cb(1);
}
if (item == 1) {
cb(2);
}
}
test(1,cb);就会2次调用cb函数。
是这样的吗?
function test(item,cb){
if (item == 1) {
cb(1);
}
if (item == 1) {
cb(2);
}
}
test(1,cb);就会2次调用cb函数。
是这样的吗?
x*1
4 楼
为毛?并求解。
l*n
5 楼
这个版的水平越来越低下了
i*s
6 楼
EB3看着都着急,看来官司没有效果啊。
l*s
7 楼
这个问题有点吐槽无力啊。:-)
m*o
8 楼
促进27%是王道
m*o
10 楼
促进27%是王道
d*p
12 楼
eb3要努力得到去年的实批名额啊,除非去年批准的cp达到了一大半,否则很可能eb3c
没拿够名额......
没拿够名额......
c*e
13 楼
不是。最近碰到一个node.js bug,
trace log里说,已经call了callback一次了,不能多次call一个callback.
这就是说,如果我的代码写成下面的形式,cb(1)执行完后,代码还会接着执行下面的
cb(2).
这个就象java的servlet里面一样,forward之后还要加return;
httpServletRequest.getRequestDispatcher("/home.jsp").forward(request
, response);
return;
你是不是想说cb(1)出现了exception,或者超时不返回,会出现什么状况,看来有些人
理解力有问题,或者不太门清自己在干什么
【在 h**********c 的大作中提到】
: 你是不是想说cb(1)出现了exception,或者超时不返回,会出现什么状况,看来有些人
: 理解力有问题,或者不太门清自己在干什么
trace log里说,已经call了callback一次了,不能多次call一个callback.
这就是说,如果我的代码写成下面的形式,cb(1)执行完后,代码还会接着执行下面的
cb(2).
这个就象java的servlet里面一样,forward之后还要加return;
httpServletRequest.getRequestDispatcher("/home.jsp").forward(request
, response);
return;
你是不是想说cb(1)出现了exception,或者超时不返回,会出现什么状况,看来有些人
理解力有问题,或者不太门清自己在干什么
【在 h**********c 的大作中提到】
: 你是不是想说cb(1)出现了exception,或者超时不返回,会出现什么状况,看来有些人
: 理解力有问题,或者不太门清自己在干什么
h*c
15 楼
恩好坑,颇有引蛇出洞的大手笔
Dear petitioner,
Hope you have reproducible evidence to support your claim and prove your
INNOCENCE.
request
【在 c*********e 的大作中提到】
: 不是。最近碰到一个node.js bug,
: trace log里说,已经call了callback一次了,不能多次call一个callback.
: 这就是说,如果我的代码写成下面的形式,cb(1)执行完后,代码还会接着执行下面的
: cb(2).
: 这个就象java的servlet里面一样,forward之后还要加return;
: httpServletRequest.getRequestDispatcher("/home.jsp").forward(request
: , response);
: return;
:
: 你是不是想说cb(1)出现了exception,或者超时不返回,会出现什么状况,看来有些人
Dear petitioner,
Hope you have reproducible evidence to support your claim and prove your
INNOCENCE.
request
【在 c*********e 的大作中提到】
: 不是。最近碰到一个node.js bug,
: trace log里说,已经call了callback一次了,不能多次call一个callback.
: 这就是说,如果我的代码写成下面的形式,cb(1)执行完后,代码还会接着执行下面的
: cb(2).
: 这个就象java的servlet里面一样,forward之后还要加return;
: httpServletRequest.getRequestDispatcher("/home.jsp").forward(request
: , response);
: return;
:
: 你是不是想说cb(1)出现了exception,或者超时不返回,会出现什么状况,看来有些人
c*e
17 楼
我本来也不信,上周debug出了这么一error message,改了之后error message就没了。
你说神奇不?
还好这有一证据
https://github.com/caolan/async
---------------
Multiple callbacks
Make sure to always return when calling a callback early, otherwise you will
cause multiple callbacks and unpredictable behavior in many cases.
async.waterfall([
function (callback) {
getSomething(options, function (err, result) {
if (err) {
callback(new Error("failed getting something:" + err.message));
// we should return here
}
// since we did not return, this callback still will be called and
// `processData` will be called twice
callback(null, result);
});
},
processData
], done)
It is always good practice to return callback(err, result) whenever a
callback call is not the last statement of a function.
【在 h**********c 的大作中提到】
: 恩好坑,颇有引蛇出洞的大手笔
: Dear petitioner,
: Hope you have reproducible evidence to support your claim and prove your
: INNOCENCE.
:
: request
你说神奇不?
还好这有一证据
https://github.com/caolan/async
---------------
Multiple callbacks
Make sure to always return when calling a callback early, otherwise you will
cause multiple callbacks and unpredictable behavior in many cases.
async.waterfall([
function (callback) {
getSomething(options, function (err, result) {
if (err) {
callback(new Error("failed getting something:" + err.message));
// we should return here
}
// since we did not return, this callback still will be called and
// `processData` will be called twice
callback(null, result);
});
},
processData
], done)
It is always good practice to return callback(err, result) whenever a
callback call is not the last statement of a function.
【在 h**********c 的大作中提到】
: 恩好坑,颇有引蛇出洞的大手笔
: Dear petitioner,
: Hope you have reproducible evidence to support your claim and prove your
: INNOCENCE.
:
: request
c*k
18 楼
come down! i did a little calculation, for eb3 to discuss,
since Oct. 2010 (begining of new FY), median advance per month is 17 days,
range: 7(jan, aug, sep) to 47 (july) days, so if your PD is early 2005, you
can be current in <1 yr for sure, may be sooner; if your PD is after that,
it's hard to say, my understanding is there are much fewer cp cases after
2004, so the movement should be faster.
thoughts?
【在 m**f 的大作中提到】
: 为毛??? 为毛???
since Oct. 2010 (begining of new FY), median advance per month is 17 days,
range: 7(jan, aug, sep) to 47 (july) days, so if your PD is early 2005, you
can be current in <1 yr for sure, may be sooner; if your PD is after that,
it's hard to say, my understanding is there are much fewer cp cases after
2004, so the movement should be faster.
thoughts?
【在 m**f 的大作中提到】
: 为毛??? 为毛???
c*p
20 楼
有没有库存数据和实批数据?
you
【在 c********k 的大作中提到】
: come down! i did a little calculation, for eb3 to discuss,
: since Oct. 2010 (begining of new FY), median advance per month is 17 days,
: range: 7(jan, aug, sep) to 47 (july) days, so if your PD is early 2005, you
: can be current in <1 yr for sure, may be sooner; if your PD is after that,
: it's hard to say, my understanding is there are much fewer cp cases after
: 2004, so the movement should be faster.
: thoughts?
you
【在 c********k 的大作中提到】
: come down! i did a little calculation, for eb3 to discuss,
: since Oct. 2010 (begining of new FY), median advance per month is 17 days,
: range: 7(jan, aug, sep) to 47 (july) days, so if your PD is early 2005, you
: can be current in <1 yr for sure, may be sooner; if your PD is after that,
: it's hard to say, my understanding is there are much fewer cp cases after
: 2004, so the movement should be faster.
: thoughts?
t*l
22 楼
也不知道去年的实批数据(2011财年)啥时候出来
m*t
24 楼
Pending Employment-Based I-485 Inventory(2009-2011)
http://www.uscis.gov/portal/site/uscis/menuitem.eb1d4c2a3e5b9ac
http://www.uscis.gov/portal/site/uscis/menuitem.eb1d4c2a3e5b9ac
n*t
25 楼
Always return callback 也不一定,有时候你希望先给 client response,然后慢慢
处理一些杂活
will
【在 c*********e 的大作中提到】
: 我本来也不信,上周debug出了这么一error message,改了之后error message就没了。
: 你说神奇不?
: 还好这有一证据
: https://github.com/caolan/async
: ---------------
: Multiple callbacks
: Make sure to always return when calling a callback early, otherwise you will
: cause multiple callbacks and unpredictable behavior in many cases.
: async.waterfall([
: function (callback) {
处理一些杂活
will
【在 c*********e 的大作中提到】
: 我本来也不信,上周debug出了这么一error message,改了之后error message就没了。
: 你说神奇不?
: 还好这有一证据
: https://github.com/caolan/async
: ---------------
: Multiple callbacks
: Make sure to always return when calling a callback early, otherwise you will
: cause multiple callbacks and unpredictable behavior in many cases.
: async.waterfall([
: function (callback) {
d*p
26 楼
那个inventory没用,除非有实批数据.....
按inventory算,似乎eb3c去年就少掉几百个?
按inventory算,似乎eb3c去年就少掉几百个?
h*c
27 楼
没太看懂,好象应该是callback就完了,你的引用又说,可能没完。
其实觉得就象java的exception handling,有io关不死,只能强制推出,但这时候必须
处理所有信号,这在操作系统里是最繁琐的地方。也许node提供这种解决方案,并且跨
平台,mark.
继续观望
【在 c*********e 的大作中提到】
: node.js里调用了callback之后,还会回到函数里。比如
: function test(item,cb){
: if (item == 1) {
: cb(1);
: }
: if (item == 1) {
: cb(2);
: }
: }
: test(1,cb);就会2次调用cb函数。
其实觉得就象java的exception handling,有io关不死,只能强制推出,但这时候必须
处理所有信号,这在操作系统里是最繁琐的地方。也许node提供这种解决方案,并且跨
平台,mark.
继续观望
【在 c*********e 的大作中提到】
: node.js里调用了callback之后,还会回到函数里。比如
: function test(item,cb){
: if (item == 1) {
: cb(1);
: }
: if (item == 1) {
: cb(2);
: }
: }
: test(1,cb);就会2次调用cb函数。
c*k
28 楼
this doesn't include cp cases.
check www.eb3chinese.org,
it's not clear when that waiting list was out, but let's not worry, it's
showing on 8/22/2004 the cumulative demanding is 2737, and the cumulative
demanding on 1/1/2005 is 3629, the demanding difference is 3629-2737=892, if
on average each month there are 180 cases ((2500-300)/12?) being approved,
it will take 5 months to move to jan 2005.
thoughts?
【在 m*********t 的大作中提到】
: Pending Employment-Based I-485 Inventory(2009-2011)
: http://www.uscis.gov/portal/site/uscis/menuitem.eb1d4c2a3e5b9ac
check www.eb3chinese.org,
it's not clear when that waiting list was out, but let's not worry, it's
showing on 8/22/2004 the cumulative demanding is 2737, and the cumulative
demanding on 1/1/2005 is 3629, the demanding difference is 3629-2737=892, if
on average each month there are 180 cases ((2500-300)/12?) being approved,
it will take 5 months to move to jan 2005.
thoughts?
【在 m*********t 的大作中提到】
: Pending Employment-Based I-485 Inventory(2009-2011)
: http://www.uscis.gov/portal/site/uscis/menuitem.eb1d4c2a3e5b9ac
t*l
30 楼
(2500-300)什么意思啊
原来2800减了300,已经2500了,还要再减?
原来2800减了300,已经2500了,还要再减?
c*p
32 楼
不知道你的2737和3629是从哪里来的。
从以下的link看到,2004年9-12月的inventory数据分别是91+93+119+153=456
if
,
【在 c********k 的大作中提到】
: this doesn't include cp cases.
: check www.eb3chinese.org,
: it's not clear when that waiting list was out, but let's not worry, it's
: showing on 8/22/2004 the cumulative demanding is 2737, and the cumulative
: demanding on 1/1/2005 is 3629, the demanding difference is 3629-2737=892, if
: on average each month there are 180 cases ((2500-300)/12?) being approved,
: it will take 5 months to move to jan 2005.
: thoughts?
从以下的link看到,2004年9-12月的inventory数据分别是91+93+119+153=456
if
,
【在 c********k 的大作中提到】
: this doesn't include cp cases.
: check www.eb3chinese.org,
: it's not clear when that waiting list was out, but let's not worry, it's
: showing on 8/22/2004 the cumulative demanding is 2737, and the cumulative
: demanding on 1/1/2005 is 3629, the demanding difference is 3629-2737=892, if
: on average each month there are 180 cases ((2500-300)/12?) being approved,
: it will take 5 months to move to jan 2005.
: thoughts?
c*k
34 楼
please refer here:
http://www.eb3chinese.org/9.html
【在 c****p 的大作中提到】
: 不知道你的2737和3629是从哪里来的。
: 从以下的link看到,2004年9-12月的inventory数据分别是91+93+119+153=456
:
: if
: ,
http://www.eb3chinese.org/9.html
【在 c****p 的大作中提到】
: 不知道你的2737和3629是从哪里来的。
: 从以下的link看到,2004年9-12月的inventory数据分别是91+93+119+153=456
:
: if
: ,
m*f
35 楼
My PD is Mar 25, 2005. How many more months do you think I have to wait?
Thanks!
you
【在 c********k 的大作中提到】
: come down! i did a little calculation, for eb3 to discuss,
: since Oct. 2010 (begining of new FY), median advance per month is 17 days,
: range: 7(jan, aug, sep) to 47 (july) days, so if your PD is early 2005, you
: can be current in <1 yr for sure, may be sooner; if your PD is after that,
: it's hard to say, my understanding is there are much fewer cp cases after
: 2004, so the movement should be faster.
: thoughts?
Thanks!
you
【在 c********k 的大作中提到】
: come down! i did a little calculation, for eb3 to discuss,
: since Oct. 2010 (begining of new FY), median advance per month is 17 days,
: range: 7(jan, aug, sep) to 47 (july) days, so if your PD is early 2005, you
: can be current in <1 yr for sure, may be sooner; if your PD is after that,
: it's hard to say, my understanding is there are much fewer cp cases after
: 2004, so the movement should be faster.
: thoughts?
x*1
37 楼
May 2006呢?16months?
相关阅读
各个编程语言平均工资(ZT)Re: 给小孩儿存钱那种方式最好啊?? (转载)同步编程真郁闷老了一道多线程的面试题 (转载)如何clean up C语言中的#if condition statement?Py2exe or Portable Python有个网站不错,讲基础的东西很清楚明白when I run junit test, how can I log the java log to a file?scala 真是一个无法无天的糟货全球最受欢迎的网站和编程语言有1 分钱关系?c++ programmer们就不用悲愤了大牛们怎么看这篇文章? C++ and Mobile Programmingphonegap开发跨平台的手机,咋样?大牛们评价下front-end是否需要学习底层的技术?请问一个算法面试Data Scientist需要写白板编程吗?Re: 一道count frequency of all words的面试题 (转载)盲?肓?弱问c++ iterator 和 pointer区别