由买买提看人间百态

topics

全部话题 - 话题: keylock
1 (共1页)
G*********a
发帖数: 1080
1
来自主题: Internet版 - keylocker
anyway to track where the keylocker from?
//bow
j********0
发帖数: 540
2
来自主题: Shanghai版 - [合集] 随便聊聊...聊聊
☆─────────────────────────────────────☆
gutshot (shot and gutted) 于 (Fri Nov 8 17:56:03 2013, 美东) 提到:
最近回了一趟上海。距离上次回上海,有交关年数了伐。上趟回去,还是光棍一个,一
个宁吃饱,全家勿饿。迭趟回去,变成一家四口。如果勿是因为屋里厢大人年纪大了,
我根本么啥兴趣回去。最终还是窉勿过去。
上海真的变脱了,一点都勿认得了。进海关格晨光,我只讲上海话。海关关员正好也是
上海宁,立刻给予方便,通关瑟瑟快。虽然伊拉必须讲普通话,但是面对讲道理讲礼貌
的老上海,大家的心是相通的。
老阿弟来接阿拉一家门。阿弟也老了,不过声音没变。老远就喊了,阿哥,阿哥!我顺
着声音看过去,居然没认出来,自家阿弟头发都白了!
清晨的上海,路朗厢宁很少。在屋里坐了一些,决定出去走走,到弄堂隔壁的市场去看
看。一下楼梯,刚刚还几乎空无一人的马路完全变了个样子。汽车,助动车,脚踏车,
行人,行里行市。路上一半以上的,都是外地宁。上海宁,侬看得出格。
(to be continued)
☆───────... 阅读全帖
e********3
发帖数: 229
3
Time leased cache 那道题的code是这样吗?如下:
假设KEY没有collision的话就应该用get()就完,但是按照大牛说的情况就应该用
getConcurrent.是这样么?
private Map cache = new HashMap();
private Map keyLock = new HashMap();
public V get(K key) {
synchronized(key) {
if (cache.containsKey(key)) {
return cache.get(key);
} else {
return loadValueWithKey(key);
}
}
}
public V getConcurrent(K key) {
... 阅读全帖
e********3
发帖数: 229
4
Time leased cache 那道题的code是这样吗?如下:
假设KEY没有collision的话就应该用get()就完,但是按照大牛说的情况就应该用
getConcurrent.是这样么?
private Map cache = new HashMap();
private Map keyLock = new HashMap();
public V get(K key) {
synchronized(key) {
if (cache.containsKey(key)) {
return cache.get(key);
} else {
return loadValueWithKey(key);
}
}
}
public V getConcurrent(K key) {
... 阅读全帖
e********3
发帖数: 229
5
第一个method是说在没有concurrent的情况下是这样的.然后因为现在有concurrent,所
以就是第二个method.你可以忽略掉第一个Method直接看第二个.
load那一步在第二个Method里.在if else里面.我重新贴一次.
public class TimeLeasedCache {
private Map cache = new HashMap();
private Map keyLock = new HashMap();

public V getConcurrent(K key) {
ReentrantLock lock;
if (keyLock.containsKey(key)) {
lock = keyLock.get(key);
} else {
lock = new ReentrantLock();
... 阅读全帖
f******s
发帖数: 713
6
原贴如下:准备回家,发现车钥匙插进去后无论如何也转不动了,在转钥匙之前我不小
心转了一下方向盘,手上的感觉是方向盘一下子就卡住了,可是我接下来无论怎样左右
晃动方向盘转钥匙都转不动了。折腾了半小时都快冻感冒了,大家支个法子吧,我不想
睡办公室,在线等!!!
【Update】这个第二天就送修了,忘了回来汇报一下情况。当时很多人出主意说左右轻
转钥匙,晃动车身等,这个对正常工作的keylock cylinder是对的,我的情况是这个
cylinder坏掉了,因此再怎么试也没用。拖车的来把钥匙插进去,然后用小棒子敲一下
就可以转动钥匙了,有谁要碰到类似的紧急情况,也可以把钥匙往里面敲一下,修车的
人说一般都能起作用,但这个是权宜之计还是要赶快修。后来 dealer换了keylock
cylinder就好了,就是贵,税前320大洋啊。
b*****n
发帖数: 618
7
你的前几句
if(keyLock.containsKey(key)) {
...
}else {
...
}
会有race condition,你这样写没办法保证这个操作是atomic的。
这里keyLock必须是concurrenthashmap
然后需要用putIfAbsent才能保证atomacity

);
e********3
发帖数: 229
8
多谢指正.已改:
private Map cache = new HashMap();
private ConcurrentHashMap keyLock = new
ConcurrentHashMap();
public V getConcurrent(K key) {
ReentrantLock lock = new ReentrantLock();
keyLock.putIfAbsent(key, lock);
lock.lock();
V value;
if (cache.containsKey(key)) {
value = cache.get(key);
} else {
value = loadValueWithKey(key);
}
lock.unlock();
retu... 阅读全帖
c*******r
发帖数: 13580
9
来自主题: Outdoors版 - Omega Pacific Five-O Wiregate Carabiner
There are not many keylock wire biners out there. Helium is by far the best
I can find. It's a bit pricy though.
I don't share the same complaint since I don't climb as hard as you do. Only
places I absolutely prefer keylocks: personal anchor & racking biner for
wired nuts/hexes.

key
c*******r
发帖数: 13580
10
keylock is a feature of the nose. take a look at quicksilver and compare it
with, say, vaporlock/mini/positron. it doesn't have the snag on the nose and
it's a lot easier to clip/unclip ropes and cords. Most of my biners are
keylock. Those that are not, I use them only to clip into other biners or
chains.
d**********o
发帖数: 1321
11
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
RTOS作业:2514
The purpose of this assignment is to give you more experience using the AVR
ports, and to add some I/O devices that might become useful later for our
RTOS.
You are to use one of the provided keypads to implement a “digital lock.”
Your program should allow the user to enter a four digit code from the
keypad, and if the code that is input matches the one included in your
program, the “lock” should open. In this case, the lock opening will be
represented by the lighting of an LED.
As th... 阅读全帖
d**********o
发帖数: 1321
12
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
RTOS作业:2514
The purpose of this assignment is to give you more experience using the AVR
ports, and to add some I/O devices that might become useful later for our
RTOS.
You are to use one of the provided keypads to implement a “digital lock.”
Your program should allow the user to enter a four digit code from the
keypad, and if the code that is input matches the one included in your
program, the “lock” should open. In this case, the lock opening will be
represented by the lighting of an LED.
As th... 阅读全帖
w*******y
发帖数: 60932
13
Attachment 493897
a) GunVault MultiVault Deluxe Pistol Gun Safe w/ Motion Detector
GunVault GV2000C-DLX
DELUXE and big enough for multiple handguns. NEW COUPON BELOW
Product ID: 064-GV2000C-DLX
Model: GunVault GV2000C-DLX
Sale: $124.20+ FREE SHIPPING & NO TAX in most states
5% COUPON: 350331
Final Price: $118
Save: $76
Reg: $194.95
Google Products $121+S&H:
http://www.google.com/search?q=Gunvault GV2000C-DLX Multi Vault Deluxe Gun Safe&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&cli... 阅读全帖
i***e
发帖数: 9429
14
来自主题: Living版 - 大神们了解Ruud这个牌子吗?
A.S 组合得到的效率没有RUUN好。不过呢这个机子整体工艺要比RUUD好,
EE R11.5, RUUD是12
SEER14, RUUD是14.5
HSPF 都一样
air handler 比RUUD 安静。
如果是我的话,我会选american standard. 不过我是imore,你是keylock,是两个完全
不同的ID,我喜欢的不一定你喜欢,你喜欢的不一定我愿意,你懂的。
4A6H4030D1 TEM4A0B30S31+TDR 950 28200 11.50 14.00 28000 8.50 18200
k*****k
发帖数: 381
15
【 以下文字转载自 Family 讨论区 】
发信人: keylock (dahuyou), 信区: Family
标 题: 在国内领证,在美国怎么报税?需要给IRS证明吗?
发信站: BBS 未名空间站 (Mon Nov 11 12:43:01 2013, 美东)
年底回国,有打算领证。因为女友还在读书,所以想明年报税的时候省一些今年的税。
明年一月回美国后需要给IRS什么证明?还是报税的时候直接填就可以了?
另外准备回国先去领馆签H1B,然后再领证,如果DS160填的是single,但是明年一月入
境的时候是marriage,会有什么问题吗?
请有经验的前辈帮忙解答。多谢!
y****i
发帖数: 17878
16
☆─────────────────────────────────────☆
SDMorningday (Happy) 于 (Tue Mar 5 14:29:46 2013, 美东) 提到:
发信人: lilykang (伊一人), 信区: NextGeneration
标 题: 为我癌症末期的老公求祝福
发信站: BBS 未名空间站 (Tue Mar 5 09:24:34 2013, 美东)
我的老公才43岁,半个多月前被诊断出胃癌末期,已经全身扩散了。说是这种肿瘤对年
轻的亚洲人打击最大。现在他在ICU躺着,医生无法采取任何治疗手段,所能做到就是
让他这最后一段路走得不要太痛苦。我们有两个儿子一个女儿,最小的女儿才18个月。
一年半前我还在这里求过祝福,让过了预产期的女儿快出生。很灵验。现在我又来求祝
福了,祈求上天让他能挺到父母家人赶到美国与他见最后一面。祈求他能平静无遗憾地
走,祈求我有足够的勇气来面对即将发生的残酷的一切。
天啊,为什么这一切发生在我们身上!我坐在这里,听着老公在呼吸辅助器下发出的呼
吸声,担心着下一个呼吸声随时都会消失。我只能一声声地问:怎... 阅读全帖
D**s
发帖数: 6361
17
来自主题: Football版 - 汤哥的经纪人竟然是个亚裔
眼光独到,能把第199顺位的新秀发展到NFL的传奇巨星
[在 keylock (dahuyou) 的大作中提到:]
:Donald YEE
http://www.sactownmag.com/August-September-2014/Sports-Agent-Don-Yee/
:...........
s*****h
发帖数: 44903
18
☆─────────────────────────────────────☆
dango (吃蛋糕) 于 (Tue Jan 19 13:13:17 2016, 美东) 提到:
NCAA OT规则问题在于无视特工组的价值.
NFL OT规则问题是可能有一方没有possession就输了
同时,OT规则的两大基本点是尽量公平(减少coin toss决定先后产生的胜负影响),
且尽可能速战速决(否则电视转播要来拼命)。
基于此,我老的设想是:
每队打一次2 mins drill,从kick off开始,return之后的field position作为起点。
所有规则都与常规时间的最后两分钟相同,超时或Lost possession后由对方从相应位
置开始,如果得分则kick给对手从return end处开始,也必须在2分钟内完成进攻。每
队各有3次暂停,可在攻防任何时间用。在两队都获得possession并有至少一方得分后
比赛结束,得分高者胜。每队各有一次possission且得分相同,则谁再次得分谁胜(或
者是谁得分用的play clock时间少谁胜,这条没想好哪个更合适)... 阅读全帖
m******1
发帖数: 715
19
来自主题: GunsAndGears版 - titan gun safe
16850 is the definition of "locked container".
glove compartment is not qualified as a "locked container".
A gunsafe is most likely qualified as a "locked container" :)
==================================================================
16850. As used in Sections 17740, 23925, 25105, 25205, 25135, and
25610, in Article 3 (commencing with Section 25505) of Chapter 2 of
Division 5 of Title 4, in Chapter 6 (commencing with Section 26350)
of Division 5 of Title 4, and in Chapter 7 (commencing with S... 阅读全帖
T*********e
发帖数: 39815
20
最近版上攀岩运动渐渐火起来了,估计接下来问题不少,正好提到biner了,我这里就
推荐一下.
先友情提醒一句,攀岩运动有风险,如果你想参加这项运动,本着对自己和partner安
全负责的原则,一定要认真学习有关安全的一切知识,实际操作中,切忌自以为是省略
操作步骤.切忌不按流程来.
关于indoor rock climbing的器材,请参考pink的另一个帖子:
http://mitbbs.com/article/Outdoors/31219433_3.html
这里重点说一下众多的biner里面,购买的时候如何选择,避免大家走弯路,或者问重
复性的问题.
biner 分成locking 和unlocking(也叫non-locking)两种,unlocking biner 的gate没
有锁紧机构,可以直接打开.locking biner的gate可以锁紧,防止biner自动打开.对
于rock climbing来说,如果你不lead,需要最多的就是locking biner了.
locking biner的锁有两种,一种是screw gate, 像螺丝一样,你需要用手旋转,才能
锁... 阅读全帖
R******e
发帖数: 2254
21
来自主题: Outdoors版 - 那个啥
it is light, with keylock feature, can be used for a lot of purpose, it has
small gate open clearance though.
I use them especially for my personal pros.
T*********e
发帖数: 39815
22
much better
this biner has keylock feature, and larger clearance
S********t
发帖数: 18987
23
来自主题: Outdoors版 - Moosejaw有climbing gears sale
Quickdraw, KEYLOCK BINER有啥DEAL不?
c*******r
发帖数: 13580
24
来自主题: Outdoors版 - Done with my rack shopping
It's the lightest keylock biner and the clearance is HUGE
c*******r
发帖数: 13580
25
来自主题: Outdoors版 - Done with my rack shopping
I recommend at least 2 biners for 1 set of nuts and I strongly strongly
recommend a keylock biner for the wired nuts.

.
T*********e
发帖数: 39815
26
来自主题: Outdoors版 - Omega Pacific Five-O Wiregate Carabiner
Isn't Helium the only keylock wire biner? I didn't see anything else on mark
et...

best
Only
they'
p**********t
发帖数: 2636
27
来自主题: Outdoors版 - Omega Pacific Five-O Wiregate Carabiner
When you clean a severely overhang route on repel, you'll find bolt-side key
lock usefull. Since you'll have to release the bolt side under rope tension
, without keylock this can be quite a headache

best
Only
c*******r
发帖数: 13580
28
来自主题: Outdoors版 - Omega Pacific Five-O Wiregate Carabiner
I guess the patent is what's keeping the price high. Whoever invented solid
gate keylock, the patent must have expired.

relative
lock
wir
for
c*******r
发帖数: 13580
29

印象中katadyn轻一点?我的都两年没用过了
Black
Positron is not light at all at 56g. check out Vaporlock. Yes, it's bigger
and even ligher(51g). If you want to get the lightest possible locker, check
out Trango Superfly, it's 41g, hardly heavier than a regular non locking
biner. Drawback: it's not kelock. MadRock SuperTek is 43g and keylock,
making it perfect for personals. I have a few QDs with lockers but I don't
use them a lot. I'd usually use an alpine draw if I worry about it.
p*****o
发帖数: 1285
30

我有一个Katadyn Hiker。上次有朋友带了一个MSR的,我不记得型号,但样子和这个一
样,稍重
一点,但好用/省力很多。
bigger
locker, check
locking
keylock,
don't
c*******r
发帖数: 13580
31
it's quite heavy and is not keylock.
T*********e
发帖数: 39815
32
来自主题: Outdoors版 - black diamond quickdraw
磕TR不用QD啊
不过话说,要是真有10/副的spirit,就算不磕线也一样买
毕竟keylock的biner好用很多
o****p
发帖数: 9785
33
来自主题: Soccer版 - 这个不越位?
最精确的越位定义是,
本方队员传球,球离开身体刚好球周长距离的时候看接球队员身体是否超出对方倒数第
二名防守队员到端线的距离,同时看该接球队员是否处在判定越位的半场。以上是越位
位置的判定。
在有人出于越位位置得前提下,第一看该队员是否有参与进攻的企图,第二看他是否干
扰防守,第三看是否他随后从越位位置得利,三条满足其一就是越位犯规。
越位位置判定是是否应该吹罚的大前提,在满足前提的条件下裁判员有一定的延时通过
后面几条规则决定是否吹罚。这个球连越位位置的判定都不满足,还有什么好讨论的。
[在 keylock (dahuyou) 的大作中提到:]
:这个球传球的时候没有越位,顶球的时候瓦尔迪在越位位置,但是顶球的是威尔士的
后卫。
:是不是想当于直塞的时候前锋没有越位,球被后卫碰了一下,但是还是到了前锋的脚
下。虽然后卫碰球的时候前锋在越位位置,但是应该不算越位吧。这个期间后卫只是碰
了下球,也没有球权
G*********a
发帖数: 1080
34
来自主题: Internet版 - keylocker
sorry, u r right, keylogger.
en, how can i know who made it and where is it from?
m*********k
发帖数: 10521
35
来自主题: WBCenter版 - baseball版申请代发包子
"[Baseball]rollingstone Oct 30 ● 100个包子,庆祝红袜夺冠"
成功奖励 10 伪币的用户: kafen, Gomariners, devince, tosea, rightHand, sonice
, mitmagic, machgun75, bigwood, kejer, longmanzz, RW3, ghxiao, eleven,
mindstorm, qwyu, MarchFourth, PManning, kentwood, humenglv, wzyu, Mahone,
zhuxiaonao, dreamore, ppfounder, jirachi, malaine, rocketkai, Acartia,
grimsley, stdio, datang, bagua, gible, casio, wanqu111, lubitcn, alive,
tardy, idfly, coso, w567, Juve, furret, Aphor, LaTeX3, somekiss, madradical,
darkq, K307, c... 阅读全帖
m*********k
发帖数: 10521
36
来自主题: WBCenter版 - 个人申请代发包子
"[Football]JMaYo Feb 1. ● 200个包子!!"
成功奖励 10 伪币的用户: machgun75, chuansuo, snowinwind, mingerLP, hade,
K307, nineoneone, sioc, Carrpool, SinoKnight, wrinkle, keylock, lillblues,
wufei, aspenzh, guoguo914, beperfect, Redblossom, breasts, kj12189,
thinkhard, hotec04, sunfish, akoug, hdq, metamore, Karcas2, uprising,
lovesunny123, zigzag, medart, pmb, molebleeze, chenx711, Medevac,
derek040217, pluto1234, bluewater, yorkchen, umbreon, tmrshine, zzrzzr,
Chole618, ariasonata, dashu2005, VeroModa... 阅读全帖
m*********k
发帖数: 10521
37
来自主题: WBCenter版 - 申请待发包子
"[Basketball]xiaok1981 May 15 ● 打的就是你火箭,打得就是你哈登"
成功扣除 660 伪币的用户:?xiaok1981
成功奖励 10 伪币的用户:?xiaok1981, zoohow, roy1030, zhazhe, pentip, mako,
milan27, binbrother, cr2069, huyanke, snaker, zxxlwl, colinliud, hznz, omo,
milankovich, laoyan, keylock, qianshuiba, henryaid, wlxcr, svbull, playoff,
qianmen, jiatistuta, nathanlee, mtck1982, nxysdnqr, superbear1, bubama,
cesarhu, wishwinglyp, phpenghao, walkingtree, usaut, NYKnicks, bbdou,
kookover, xiangma2010, snailhouse, FBI, aspenzh, diym, hopeusw... 阅读全帖
m*********k
发帖数: 10521
38
来自主题: WBCenter版 - 橄榄球版申请代发奖励
"[Football]JMaYo Dec 24. ● 圣诞快乐!"
成功奖励 10 伪币的用户:Acartia, ltp000, ccnpc, killme, ligk, CMENYSE,
nitmithv, Skylla, woailanqiu3, maxxum, mindstorm, baal, chehu, moliniao,
csinli, honeycrisp, dof, WNT, chuansuo, Maverick, soloscar, ThetaWave,
dunkin, Bismarck, weierstrass, chenx711, centersnow, hotec04, AFADFF,
chicagocub, Renshaw, palookas, jjtt, mondler, sunfish, bbdou,
zjhok2005, GoBlue, Noideawhat, peterfly3, machgun75, hbcco, keylock, alsome,
verdant6, Greenboy1122, HM2013, K307, emerald... 阅读全帖
m*********k
发帖数: 10521
39
来自主题: WBCenter版 - PDA版申请代发春节祝福包子
"[PDA]TheSun Feb 7 ● 猴年大吉!发圈新年包子"
成功奖励 10 伪币的用户: pikleyano, killme, hohocking, saitama, bestalk,
fatguy, xuyuan0219, kav, shanmu, shark, sleeper7, smileinwind, Wtao, shark,
wyzustc, branching, pathdream, embarcadero, alexsung, fantasist, allthesame,
catchafish, lker, AngryYouth, pandarus, leftHand, aman4, revo, hdlz,
honeycrisp, veggie, win2009, txak47, chehu, atiger, xingxing, vivilxw,
langwaipo, xxmm1214, thinkkkdo, YangGaizhi, FatherJoey, alsin, yeyewuyu,
qiuri, TaoBaiBai, icast, hade... 阅读全帖
m*********k
发帖数: 10521
40
来自主题: WBCenter版 - 申请个人代发包子
"[NCAA]tteou Mar 7. ● 白菜退役纪念包"
成功奖励 10 伪币的用户: GeauxTigers, ohioccc, FTSCI, playgo, Einhorn, xzilch
, snailhouse, happy419, domer71, pplulu, Jingjing1, NYKnicks, BIIB, HM2013,
K307, sunfish, soloscar, Mitobbs, talentzy, Porzingis, avenger, molebleeze,
sunshineboy, zjhok2005, pmb, bluepen, Greenboy1122, greenboy1123, allintiger
, ThetaWave, chehu, tosea, naozi, ou5603, leehwy, moliniao, hermitllj,
Songsu, honeycrisp, mgiceae, nitmithv, departed, bbdou, keylock, rocketkai,
revo, cnbuff410, ... 阅读全帖
w*******y
发帖数: 60932
41
GV2000.jpg
GunVault MultiVault Deluxe Pistol Gun Safe w/ Motion Detector
GunVault GV2000C-DLX
Product ID: 064-GV2000C-DLX
Model:
GunVault GV2000C-DLX
[B]Sale: $124.20+ FREE SHIPPING & NO TAX in most states
5% COUPON: 350331
Big Steal Price: $118
Save: $70.75
Reg: $194.95
GV2000C-DLX Motion Detector: Included GunVault gun safes are truly premium
products that set the standard for the rest of the industry. The patented No
-Eyes Keypad provides lightning quick access, even in the dark. The Mini
... 阅读全帖
1 (共1页)