由买买提看人间百态

topics

全部话题 - 话题: await
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
a**********3
发帖数: 86
1
投稿刚刚过了technical checking,接着出现awaiting AE assignment,令人惊奇的是
,下面居然同时有awaiting EIC decision ,啥意思,拒稿的节奏?
p****u
发帖数: 22764
2
http://www.dnr.state.oh.us/Home/News/NewsReleaseArchives/tabid/19075/EntryId/2018/2011-Trout-Fishing-Opportunities-Await-Anglers-At-State-s-Castalia-Fish-Hatchery.aspx
COLUMBUS, OH- Controlled trout-fishing opportunities on Cold Creek, one of
Ohio’s most unique streams, await fishing enthusiasts who enter a special
lottery conducted by the Ohio Department of Natural Resources (ODNR),
Division of Wildlife.
A half-mile section of the creek, located at the Castalia State Fish
Hatchery in ErieCounty... 阅读全帖
R*N
发帖数: 2173
3
来自主题: Apple版 - Macs that await refreshing: 2011
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
来自主题: Programming版 - 看了一下C#的async await

Scala也在加async/await, 基本上裸抄C#。NODE用啥不知道,但只要是还
在写CALLBACK METHOD就不是真正的async/await。
p*****2
发帖数: 21240
5
来自主题: Programming版 - 看了一下C#的async await

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
w*********r
发帖数: 42116
7
https://news.yahoo.com/vietnam-villagers-await-news-loved-134128154.html
我没有能力确定死者是中国人还是越南人,但我能清楚的看到中、越两国民众在自己的
同胞死难时,所表现出的不同的品行。
这就是为什么世界上大多数国家的人认为大陆人道德品质差,为什么同为华人的台湾人
、香港人,不管是蓝营、蓝丝,还是绿营,黄丝,都要和大陆人细分。
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*2
发帖数: 2053
9
【 以下文字转载自 Military 讨论区 】
发信人: db2 (postgres), 信区: Military
标 题: Tesla's Long-Awaited, Lower-Priced Model 3 To Arrive Friday
发信站: BBS 未名空间站 (Mon Jul 3 13:53:06 2017, 美东)
http://www.npr.org/sections/thetwo-way/2017/07/03/535333378/the-tesla-for-the-masses-to-arrive-friday
The first-ever mass-market Tesla should roll out of the factory this week.
CEO Elon Musk tweeted late Sunday that the company's Model 3 car "passed all
regulatory requirements for production two weeks ahead of schedule.
Expecti... 阅读全帖
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 都一周了,不知道多久才变化?
c*******o
发帖数: 3829
14
More嘴炮from Ben and Draghi to support this super bull market.
http://www.bloomberg.com/news/2012-08-24/ecb-said-to-await-germ
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
来自主题: WashingtonDC版 - A Low-Priced iPhone Awaits[ZZ]
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... 阅读全帖
p******s
发帖数: 5200
n********r
发帖数: 719
18
来自主题: EnglishChat版 - waiting for和awaiting有何区别?
比如电视上CNN显示
Awaiting Pres. Obama remarks on re-election
能换成waiting for吗?
为什么?
z***1
发帖数: 371
19
来自主题: EnglishChat版 - waiting for和awaiting有何区别?
same thing but await implies a stronger sense of eagerness
p*****2
发帖数: 21240
20
来自主题: Programming版 - 看了一下C#的async await

await里边的线程之间通信C#主要是靠什么机制呀?
N********n
发帖数: 8363
21
来自主题: Programming版 - 看了一下C#的async await

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
来自主题: Programming版 - 看了一下C#的async await

It's naked copy of C# async/await, and I don't know node.js has a
counterpart.
N********n
发帖数: 8363
23
来自主题: Programming版 - 看了一下C#的async await

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
来自主题: Programming版 - 看了一下C#的async await
看了下scala的future,这个还真是老一套的东西,基本相当于.net 3.5里面
asyncresult类似的一个东西,还真比async/await差一些
go看着挺颠覆的,之前看了点,没感觉咋样,有啥async编程的例子吗,我研究研究?

Future
k**********g
发帖数: 989
25
来自主题: Programming版 - 看了一下C#的async await

是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
来自主题: Programming版 - 看了一下C#的async await
比如把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
来自主题: Programming版 - 看了一下C#的async await

对了,你知道async/await是怎么设计出来的吗?参考了其他异步方案吗?
N********n
发帖数: 8363
28
来自主题: Programming版 - 看了一下C#的async await

C# introduced async/await in 2012. Scala designers were "inspired by C#"
and brought them to Scala in 2013.
Listen to their explanation here:
http://parleys.com/play/51c0b264e4b0d38b54f461f2/chapter2/about
N********n
发帖数: 8363
29
来自主题: Programming版 - 看了一下C#的async await
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
来自主题: Programming版 - 大牛们讨论一下异步编程吧
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
来自主题: LeisureTime版 - 七律 94年的秋天 (转载)
嗯,这个更合适。
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
来自主题: JobHunting版 - Java编程讨论:LinkedIn的H2O
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
来自主题: JobHunting版 - Java编程讨论:LinkedIn的H2O
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
来自主题: SciFiction版 - 云图 英文版
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
来自主题: Programming版 - 狗狗抛弃Java转投swift?
此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
来自主题: Military版 - China's spying seeks secret US info
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
来自主题: JobHunting版 - Java编程讨论:LinkedIn的H2O
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
来自主题: JobHunting版 - Java编程讨论:LinkedIn的H2O
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
来自主题: EB23版 - I-485 Inventory Statistics
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
来自主题: WaterWorld版 - 刚从监狱出来,交完了保释金
(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
来自主题: Love版 - 我和穆斯林女孩的事情
古兰经有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... 阅读全帖
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)