a**********3 发帖数: 86 | 1 投稿刚刚过了technical checking,接着出现awaiting AE assignment,令人惊奇的是
,下面居然同时有awaiting EIC decision ,啥意思,拒稿的节奏? |
|
|
R*N 发帖数: 2173 | 3 http://news.cnet.com/macs-that-await-refreshing-2011/8301-17938
We're several days into May, and another Mac has gotten upgraded to 2011
Intel processors. MacBook Pros, check. iMacs, check. Now that two of Apple's
most popular lines have gotten necessary upgrades, it's time to look at
which Macs still haven't gotten updated...and wonder when those updates will
occur.
In order of our best guess as to when they'll be refreshed, here are the
Macs we're still expecting.
The white MacBook (last updat... 阅读全帖 |
|
N********n 发帖数: 8363 | 4
Scala也在加async/await, 基本上裸抄C#。NODE用啥不知道,但只要是还
在写CALLBACK METHOD就不是真正的async/await。 |
|
p*****2 发帖数: 21240 | 5
Scala 2.10 has integrated the Future concept from Akka, still available by
means of Akka for Scala < 2.10. You are right, Task is analogous to
Future[T] from Scala.
I also don't like the async/await feature from C# or the experimental
delimitated continuations support. Async programming by means of Futures
works great without it and looking at my code, I don't see many places where
I could actually use the async/await syntactic sugar. That's because
modelling computations in terms of Future... 阅读全帖 |
|
c**i 发帖数: 6973 | 6 【 以下文字转载自 Taiwan 讨论区 】
发信人: choi (choi), 信区: Taiwan
标 题: Anonymous Korean War Dead Still Await Trip Home
发信站: BBS 未名空间站 (Mon Mar 24 13:20:16 2008)
That is the title of a report YESTERDAY in New York Times. About a burial
site in South Korea, which had tombs of unknown Chinese (PRC) soldiers also.
My comment: Learning from Americans, I wish that someday China and Taiwan
can sit down equally on the negotiation table, to pave way for the return of
the remains of those Taiwanese commandos--the spe |
|
|
l****z 发帖数: 29846 | 8 A Pentagon push to mix the sexes ignores how awful cheek-by-jowl life is on
the battlefield.
By RYAN SMITH
America has been creeping closer and closer to allowing women in combat, so
Wednesday's news that the decision has now been made is not a surprise. It
appears that female soldiers will be allowed on the battlefield but not in
the infantry. Yet it is a distinction without much difference: Infantry
units serve side-by-side in combat with artillery, engineers, drivers,
medics and others wh... 阅读全帖 |
|
|
d******u 发帖数: 1114 | 10 2个月前交上去的文章,1周前状态从under review变成awaiting recommendation,现
在又变成under review了,是不是又找别的人省了?感觉associate editor在据跟不据
之间徘徊,不知道我分析的对不对? |
|
h*********y 发帖数: 360 | 11 一个月前submit了一个杂志的paper,今天查状态还是awaiting administrative
processing。请问这是怎么回事?是editor还没找到两个reviewer,还是editor还没顾
得上看我的文章?需要给editor发信问吗?谢谢! |
|
t******a 发帖数: 440 | 12 投了一周之后就是awaiting reviewer assignment,又过了一个月,还是这个状态。催
负责的主编合适吗?谢谢 |
|
d********0 发帖数: 72 | 13 投了一篇paper,Awaiting Admin Processing 都一周了,不知道多久才变化? |
|
|
N****w 发帖数: 21578 | 15 SR response:
Your application/petition remains awaiting review by an Officer and you will
be notified as soon as a decision is made. |
|
g********0 发帖数: 15010 | 16 Apple Inc. is working on a lower-end iPhone, according to people briefed on
the matter, a big shift in corporate strategy as its supremacy in
smartphones has slipped.
While Apple has explored such a device for years, the plan is progressing
and a less expensive version of its flagship device could launch later this
year, one of the people said.
The cheaper phone could resemble the standard iPhone, with a different, less
-expensive body, one of the people said.
。。。。。
http://finance.yahoo.com/news... 阅读全帖 |
|
|
n********r 发帖数: 719 | 18 比如电视上CNN显示
Awaiting Pres. Obama remarks on re-election
能换成waiting for吗?
为什么? |
|
z***1 发帖数: 371 | 19 same thing but await implies a stronger sense of eagerness |
|
p*****2 发帖数: 21240 | 20
await里边的线程之间通信C#主要是靠什么机制呀? |
|
N********n 发帖数: 8363 | 21
As someone pointed out b4, the key is AVOIDING CALLBACK b/c callback
is merely a different form of GOTO: When asynchronous operations finish,
control flow GOES TO your callback methods.
When you have to write many asynchronous operations you end up with many
"GOTO" callback methods in your code that ruin its structure, which is
bad so you wanna avoid them, and that's where async/await helps.
Threading is not relevant here. |
|
N********n 发帖数: 8363 | 22
It's naked copy of C# async/await, and I don't know node.js has a
counterpart. |
|
N********n 发帖数: 8363 | 23
Scala's original "future" was probably from Java. It's after its
designers saw the power of async/await that they decided to copy
the feature to Scala. |
|
g****r 发帖数: 1589 | 24 看了下scala的future,这个还真是老一套的东西,基本相当于.net 3.5里面
asyncresult类似的一个东西,还真比async/await差一些
go看着挺颠覆的,之前看了点,没感觉咋样,有啥async编程的例子吗,我研究研究?
Future |
|
k**********g 发帖数: 989 | 25
是C
Win7 也可以「仿」async/await。 沒有 syntactic sugar。
用 C++11 和 MS 自家的 Parallel Patterns Library
但是软件要在 Win7 用VS2012开发,编译後可以拿到XP/Vista/Win7/Win8运行
But according to Jon Skeet, whatever is available on C++ is still quite
primitive when compared to what's on other languages. C++ still has a long
way to go.
http://stackoverflow.com/questions/5498701/c-stdasync-vs-async- |
|
g****r 发帖数: 1589 | 26 比如把google down下来并打印出来
你用future写就是
var f=future{
httpGet("www.google.com");
oncomplete{
case(success):(r)=>println(r);
}
}
你用c#写就是
var r=await httpGet("www.google.com");
println(r);
看着就是一个同步程序,但其实编译器帮你把他异步执行了,不用explicit的callback
,可读性好点罢了 |
|
p*****2 发帖数: 21240 | 27
对了,你知道async/await是怎么设计出来的吗?参考了其他异步方案吗? |
|
|
N********n 发帖数: 8363 | 29 Imagine you wanna run 3 async operations in a method like below:
void foo () {
// run async_op1, async_op2 & async_op3
}
W/ callbacks you'd have to break it down into several callbacks:
void foo () { run_async (op1, op1_callback);}
void op1_callback () {run_async (op2, op2_callback);}
void op2_callback () {run_async (op3, op2_callback);}
void op3_callback () {//finish the rest;}
Now you are forced to break the logic down into spaghetti callback
methods. If one async_op requires o... 阅读全帖 |
|
h******n 发帖数: 3599 | 30 非常精彩啊
http://www.cnn.com/2014/11/26/justice/ferguson-grand-jury-react
his comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting ... 阅读全帖 |
|
h******n 发帖数: 3599 | 31 【 以下文字转载自 Military 讨论区 】
发信人: hutuxian (糊涂仙), 信区: Military
标 题: CNN 终于可以comments了,一边倒的评价啊
发信站: BBS 未名空间站 (Wed Nov 26 16:20:17 2014, 美东)
非常精彩啊
http://www.cnn.com/2014/11/26/justice/ferguson-grand-jury-react
his comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This... 阅读全帖 |
|
h******n 发帖数: 3599 | 32 【 以下文字转载自 Military 讨论区 】
发信人: hutuxian (糊涂仙), 信区: Military
标 题: CNN 终于可以comments了,一边倒的评价啊
发信站: BBS 未名空间站 (Wed Nov 26 16:20:17 2014, 美东)
非常精彩啊
http://www.cnn.com/2014/11/26/justice/ferguson-grand-jury-react
his comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This comment is awaiting moderation. Show comment.
Avatar
This... 阅读全帖 |
|
G***l 发帖数: 355 | 33 C#里面异步不要太简单。msdn的例子:
private async void StartButton_Click(object sender, RoutedEventArgs e)
{
// ExampleMethodAsync returns a Task and has an int result.
// A value is assigned to intTask when ExampleMethodAsync reaches
// an await.
try
{
Task intTask = ExampleMethodAsync();
// You can do other work here that doesn't require the result from
// ExampleMethodAsync. . . .
ResultsTextBox.Text += "Doing other work before awaiting intTask. ... 阅读全帖 |
|
w******g 发帖数: 10018 | 34 嗯,这个更合适。
she moved like a dancer, skin so pale, hair cut sharp across her cheek.
defined in an instant of desire, my heart laid bare. a train across a
platform, a reflection in a window . . . her passage breaks into
successive frames. she vanishes, begging that i retain what we have
shared. from her face, from her dress, from her gestures, from
practically nothing at all. i have devised her story. and sometimes i
tell it to myself and weep. and sometimes i tell it to myself and weep.
- last ... 阅读全帖 |
|
r*******g 发帖数: 23 | 35 zz
Academic Movement and Hires, 2012-2013
March 26th, 2013
A comment by “Rumor Mill” in the old Nocera thread reminds us that now is
a good time to take stock of recent academic poaches and hires. I am certain
this list is incomplete; please point out omissions in the comments.
Poaches:
Dan Nocera (MIT to Harvard)
M.G. Finn (Scripps to Georgia Tech)
K.C. Nicolaou (Scripps to Rice)
John Wood (Colorado State to Baylor)
Corey Stephenson (Boston University to Michigan)
Sharon Hammes-Schiffer (Penn S... 阅读全帖 |
|
f********d 发帖数: 51 | 36 I've passed the unit tests pretty well in different scenarios.
of course you can use ReentrantLock and 2 Conditions. And you need one more
thing which is the CyclicBarrier for the H(2)
Problem came when you implement.
When O came, you normally will signal the Condition for O. but what if there
's no H came before or only one came?
Now you need to await on H's condition.
Now you meet a pretty weird situation of signal first or await first.
normally the strategy to solve is using while(true) and k... 阅读全帖 |
|
f********d 发帖数: 51 | 37 I've passed the unit tests pretty well in different scenarios.
of course you can use ReentrantLock and 2 Conditions. And you need one more
thing which is the CyclicBarrier for the H(2)
Problem came when you implement.
When O came, you normally will signal the Condition for O. but what if there
's no H came before or only one came?
Now you need to await on H's condition.
Now you meet a pretty weird situation of signal first or await first.
normally the strategy to solve is using while(true) and k... 阅读全帖 |
|
c****t 发帖数: 19049 | 38 THE PACIFIC JOURNAL OF ADAM EWING
Thursday, 7th November—
Beyond the Indian hamlet, upon a forlorn strand, I happened on a trail of
recent footprints.
Through rotting kelp, sea cocoa-nuts & bamboo, the tracks led me to their
maker, a White man,
his trow-zers & Pea-jacket rolled up, sporting a kempt beard & an outsized
Beaver, shoveling
& sifting the cindery sand with a teaspoon so intently that he noticed me
only after I had hailed
him from ten yards away. Thus it was, I made the acquaintance of... 阅读全帖 |
|
z*******3 发帖数: 13709 | 39 原来的意思类似
while(condition is true)
await
只要condition is true
就会一直await
一旦condition becomes false
就不在await,就会notify
而如果你改成if
那第一次if(condition is true)
就await
永远不会再次执行这个循环了
所以另外一个event driven的代码就停止不动鸟 |
|
s****s 发帖数: 628 | 40 谢谢回复.
如果是这样, 那么书上写得confusing了. 我把问题简单化一点.
withdraw(int amount){
while (balance < amount){ //如果用if???
await();
}
}
...
deposit(int amount){
balance += amount;
signaAll();
}
书上说deposit task 会通知withdraw task 当balance 一旦变化. (balance < amount
)可能依然是true当withdraw醒来的时候. 所以用if的话, withdraw会wait forever.
这里的问题是对sinalAll 和 await的理解:
1. 如果withdraw醒来,它依然会检查 (balance < amount)这个条件么? 如果(balance
< amount) 依然是true, withdraw是不是又要睡下去? 什么时候再醒?
2. 如果把 while (balance < amount)换成 if(balance < amount), 那么withdra... 阅读全帖 |
|
d******e 发帖数: 2265 | 41 此async不是比async
async/await是指类似以下scala代码的语法糖。
def combined: Future[Int] = async {
val future1 = slowCalcFuture
val future2 = slowCalcFuture
await(future1) + await(future2)
}
直接拿combine两个future然后block拿数据出来。
当然,上面代码在SIP还没有进scala呢。
现在scala的await还是比较ugly. |
|
L*****E 发帖数: 658 | 42 敏感词啊敏感词
RAJ says:
Your comment is awaiting moderation.
November 22, 2010 at 11:15 pm
DID YOU WIPE UR *** WITH FINGERS?
[Reply]
RAJ says:
Your comment is awaiting moderation.
November 22, 2010 at 11:21 pm
**** UR MOM, UR MOM IS FUCKED BY 5-MAO DOG
[Reply]
RAJ Reply:Your comment is awaiting moderation.
November 22nd, 2010 at 11:18 pm
PLA RAPES HER **** ON DAILY BASIS |
|
L*****E 发帖数: 658 | 43 RAJ says:
Your comment is awaiting moderation.
November 22, 2010 at 11:15 pm
DID YOU WIPE UR *** WITH FINGERS?
[Reply]
RAJ says:
Your comment is awaiting moderation.
November 22, 2010 at 11:21 pm
**** UR MOM, UR MOM IS FUCKED BY 5-MAO DOG
[Reply]
RAJ Reply:Your comment is awaiting moderation.
November 22nd, 2010 at 11:18 pm
PLA RAPES HER **** ON DAILY BASIS |
|
r****1 发帖数: 2299 | 44 He had been a seemingly all-American, clean-cut guy: No criminal record.
Engaged to be married. A job teaching English overseas. In letters to the
judge, loved ones described the 29-year-old Midwesterner as honest and
caring — a good citizen. His fiancee called him "Mr. Patriot."
Such descriptions make the one that culminated in the courtroom all the more
baffling: Glenn Shriver was also a spy recruit for China. He took $70,000
from individuals he knew to be Chinese intelligence officers to try ... 阅读全帖 |
|
f********d 发帖数: 51 | 45 while(true) {
CountDownLatch o = oq.take(); // take an O
CountDownLatch h1 =hq.take(); // take an H
hq.take().countDown(); // take another H
h1.countDown(); // count down all the rest
o.countDown();
}
any new formula, you only need to make sure the first 3 lines reflects your
formula well. it becomes very extensible. and you can also do
Collection list = Lists.newArrayList();
for (ElementDefinition ed : defs) {
BlockingQueue ... 阅读全帖 |
|
f********d 发帖数: 51 | 46 while(true) {
CountDownLatch o = oq.take(); // take an O
CountDownLatch h1 =hq.take(); // take an H
hq.take().countDown(); // take another H
h1.countDown(); // count down all the rest
o.countDown();
}
any new formula, you only need to make sure the first 3 lines reflects your
formula well. it becomes very extensible. and you can also do
Collection list = Lists.newArrayList();
for (ElementDefinition ed : defs) {
BlockingQueue ... 阅读全帖 |
|
d******8 发帖数: 1972 | 47 From http://www.immigration-law.com/
04/19/2011: I-485 Inventory Statistics as of February 2011 Update by
Preadjudicated Cases (Waiting for Visa Numbers) and Customer Action Waiting
Cases by Service Centers and Field Offices
The February 2011 shows a continuous reduction of "preadjudicated" cases
waiting for visa numbers in "local" field offices. Read again the USCIS
Interim Memo on USCIS 485 processing office changes.
USCIS Offices Preadjudicated: Visa Number Waiting
(November in blue)
(Decembe... 阅读全帖 |
|
c**i 发帖数: 6973 | 48 (1) Now that you have a lawyer, I will refrain from discussing laws.
Still, the charges are potentiously serious, including
* leaving a scene of an accident with property damage (as opposed to
personal injury or death)
* "Whoever commits an assault and battery upon any public employee when such
person is engaged in the performance of his duties at the time of such
assault and battery, shall be punished by imprisonment for not less than
ninety days nor more than two and one-half years in a house ... 阅读全帖 |
|
z********6 发帖数: 852 | 49 古兰经有164处关于对异教徒发动圣战(jihad)的描述
The Koran's 164 Jihad Verses
K 2:178-179
Set 1, Count 1+2 [2.178] O you who believe! retaliation is prescribed for
you in the matter of the slain, the free for the free, and the slave for
the slave, and the female for the female, but if any remission is made to
any one by his (aggrieved) brother, then prosecution (for the bloodwit)
should be made according to usage, and payment should be made to him in a
good manner; this is an alleviation from your Lord and a mer... 阅读全帖 |
|