注意,这种乐观方法也是参考实现处理并发性的方式。
Note that this optimistic approach is how concurrency is handled with the reference implementation.
接口自动机在处理组件组合问题时所使用的“乐观方法”和博弈思想是区别于其它形式化工具的关键点。
Optimistic approach and game-theoretic foundations that deal with composition are the prominent characteristics of interface automata and are distinct from other formal methods.
保持乐观是对付压力的一种方法。
拯救自然的每一个行动都将改善集体和个人的未来,而应对如此规模的威胁的唯一方法就是坚决乐观地采取果断行动。
Every action to save nature will improve our collective and personal futures and the only way to respond to a threat of this scale is with determined action rooted in headstrong optimism.
如果你的回答是“是的”,那么这里有一些方法来保持乐观。
If your answer is "Yes", here are some ways to stay positive (乐观).
莫汉对这种方法持谨慎态度,但她支持这些数字化生物背后的目的,并对其发展方向持乐观态度。
Mohan is cautious about this approach, yet she supports the purpose behind these digital beings and is optimistic about where they are headed.
在未来的20年中会发生什么,取决于你对发现适应变化的新方法有多乐观。
What happens over the next 20 years depends on how optimistic you are about finding those extra ways of adapting.
有时现和别人现实周到乐观地合作,接受当时的局面,就会找到重新控制局面的方法,挫折就会减少了。
Sometimes your level of frustration reduces the moment you figure out a way to gain control by being realistic, thoughtful, optimistic, collaborating with people and accepting the situation.
避免发生这种情况的方法就是使用乐观锁定策略,即假设在修改某行时,另一个用户试图对这一行进行修改的可能性极低。
A way to avoid this is to follow an optimistic locking strategy and assume that it is very unlikely that another user will try to change the same row that you are changing.
乐观锁是一个极其有效的并发性控制方法,它可以确保数据完整性而又无需在数据库中放置任何物理锁。
Optimistic locking is an extremely efficient concurrency control method that guarantees data integrity without placing any physical lock in the database.
这就是为什么我曾经收集这些方法去帮助人们感觉良好并每天保持乐观的心态。
That's why I've been collecting ways to help people feel good and stay upbeat day in, day out.
还是用一段乐观的旋律来结束这篇文章吧。医学上可能会有一些重大的突破:科学家可能研制出疫苗对抗hiv;或是找到治疗帕金森症的方法;甚至可能是治愈最普通的感冒的办法。
But let us end on an optimistic note, by happily taking long odds on medical breakthroughs: a vaccination against HIV; a cure for Parkinson's disease; even a cure for the common cold.
如果坐下来想象自己最有可能的最佳形象(即乐观训练)的方法让你觉得有些勉强,那你是很难坚持下去的。
If sitting down to imagine your best possible self (an optimism exercise) feels contrived, you will be less likely to do it.
在更新记录之前,我们通过实体对象方法set使用了乐观并发控制。
Before updating the record, we used optimistic concurrency control with the set entity object method.
即使目前还没有方法能够预测地震,来自美国地质调查局的地震学家MikeBlanpied仍然表示了乐观。
Even though there is currently no way to predict earthquakes, seismologist Mike Blanpied of the USGS has grounds for optimism.
如果应用程序访问模式主要是更新数据,那么乐观锁定方法能有利地避免乐观并发性更新的失败。
If the application access pattern is predominately update access, then pessimistic approach might be advantageous in that it avoids optimistic concurrency update failures.
在这个“寻找幸福”的课堂里,我在唤醒一种叫“乐观”的能量。我希望,至少,这样的疗方也算是良药一剂,如果这不是治疗,那我为何可怜到要来这里寻找解决中年危机的方法呢。
I summoned a senseof optimism about this ’happiness’ class and hoped that it might at least be asalve, if not a cure, for how poorly I’d been handling the approach into middleage.
定期切换回到乐观的方法,看看有没有发生变化。
Periodically switch back to the optimistic view to see if things have changed.
当这种方案相当不周到和乐观时,它确实提供了一种方法来衡量你的网络应用程序的不同部分。
While this scenario is rather contrived and rosy, it does provide a way to measure different parts of your Web app.
几个世纪以来,人口悲观论者不断向天性乐观的人提出大灾难警告,而乐观者从骨子里相信,人类将找到对抗乃至改善命运的方法。
For centuries population pessimists have hurledapocalyptic warnings at the congenital optimists, who believe in their bonesthat humanity will find ways to cope and even improve its lot.
避免该问题的方法是变得更乐观些,并认为其它事务并不期望在同一时刻更新同一实体。
A way to avoid this is to be more optimistic and believe that it is unlikely that another transaction would want to update the same entity at the same time.
一旦你以乐观的思想整合所有的目标和方法,它们就会强上10倍。
While all the motivation hacks I’ve listed on this site work extremely well, they will be 10 times stronger if you combine them with positive thinking.
如我在文章“断开连接”中提到的CachedRowSet实现一样,Sun提供的WebRowSet实现对数据完整性采取乐观的方法。
Just like the CachedRowSet implementation I covered in the article "Get Disconnected", the WebRowSet implementation provided by Sun takes an optimistic approach to data integrity.
解决这一不必要SQL问题的方法是,采用 “乐观锁定(optimistic locking)”技术。
The solution for this unnecessary SQL problem is to use an "optimistic locking" technique.
清单16的方法从并发性的角度来看比较乐观。
Listing 16's approach is a little optimistic from a concurrency perspective. Now consider the code in Listing 17.
然而,一个乐观的人可能会采取完全不同的方法。
An optimistic person, however, may adopt an entirely different approach.
然而,一个乐观的人可能会采取完全不同的方法。
An optimistic person, however, may adopt an entirely different approach.
应用推荐