topics

全部话题 - 话题: handlers
首页 6 7 8 9 10 末页 (共10页)
T**********e
发帖数: 29576
1
Kelly O'Donnell
Glimpse of Secret Service dog on flight back from Palm Beach Trump duty. Sat
quietly in his own seat next to handler.
l**o
发帖数: 1240
2
来自主题: USANews版 - 西雅图好白
SeaTac机场的handler和cleaning crew都被Somali的难民包圆了。你下次坐飞机的时候
留心一下
[在 GoodToCU (宛如初见) 的大作中提到:]
:飞机场上搬行李的体力工也都是白人。
:为什么这么政治正确的好州却有非常少的非裔美国人?
l*n
发帖数: 12
3
我的车车honda civic买来两个多月了,当时天气还不算太热,所以没有
发现由mainrelay的问题。后来有一天中午气温很高,和lp逛mall,回来
时准备启动车车,发现无论如何也起不来了。反复试了一个多小时才在近
乎绝望中将车启动。从那以后,我就渐渐发现和mainrelay相关的故障。
这里就不多罗嗦了,只是每次启动车时提心吊胆的。直到有一天开这个版
上看到有人发帖子介绍如何换mainrelay,自己才开始动了自己换他的想
法。于是在网上买了haynes的manual,后来又在sam大虾的指导下找到了
便宜且genius的mainrelay,同时也不时地关注网上有关更换的帖子。终
于在昨天,万事俱备,就差动手了。今天一大早,我便拎着工具和网上找
的帖子开始了痛苦的修车历程。
如前人指导的那样,先把车座后移,靠背放到。然后在driverside躺进去
。(题外话,各位可以在修车前,把那里打扫以下,免得搞的后背上脏兮
兮的)打开fuse box,在hood release handler的正上方,一个狭小的角
落里,就是那个可恶的mainrelay.他的外观和结构相信各位有类似经历
f********B
发帖数: 39
4
来自主题: Automobile版 - 车祸定责紧急求助!!!-续
今天claim handler回电话说,police report跟witness说的一样(看见老太绿灯左拐
,我俩的车相撞,因为下一个路口离得很近,我有可能看的是那个绿灯),没有我闯红
灯的直接证据,保险公司准备定我全责,除非我有新证据dispute。我可以问警察局是
否有相机拍到吗(我出车祸的路口没相机,下一个路口有,不知能否拍到)?保险公司
说我也可以向市政部门反映,这两个交通灯设置得太近,已引发多起交通事故,建议他
们采取措施,这有用吗?他们能承担这次车祸的部分财产损失吗?老太的车已经total
了,她看了医生,小脚趾骨折,没有claim其他injury。我的保险应该能cover her car
and injury。但如果就这样稀里糊涂地承担全责,我觉得有点冤,因为我确定自己不
是看着路口的红灯开过去的,我也很想知道当时到底是怎么回事,我该怎么寻找证据来
dispute呢?
e**n
发帖数: 1326
5
and E60 wasn't a great handler to begin with. Very stable and balanced but
some body roll and not very sharp.
For LZ, if you need backseat space go with A6. If most of the time it is
just 1 or 2 people in the car definitely go for S4 with rear vector diff.
In terms of sporty handling, smaller is better. A6 and 535i are both quite
large.
G***G
发帖数: 16778
6
来自主题: Automobile版 - 刚把胎补上了
today is weekend. I parked my car and steered the wheel to the direction
where
it was easy for me to plug the tire.
But I still felt difficult to insert the plug to the tire.
Finally I inserted it but with the inertial, I inserted it too deeply.
I cut the head only half cm out of the surface.
I don't know if the operation was completely correct.
So far it is not leaking. I will keep eyes on it this weekend.
I may need a plugger with longer handler.
but mine is the longest I can find in currenct ... 阅读全帖
s*******n
发帖数: 40
7
来自主题: Automobile版 - 证人突然不愿作证如何处理
上周绿灯左拐被对面直行车闯红灯撞,当时对方车后面的车主报警并主动等到警察来现
场然后简单叙述后离开,现场对方跟警察说是黄灯。警察有给对方罚单但不知是闯红或
黄。事故后第二天有跟证人联系,被许诺若对方保险公司联系她一定会作证,三天后对
方claim handler联系她,一直没有回应,我也text她几次,一个多没回,因为很近,
晚上去转过,她一直在家,现在警察报告还没出来,老司机们说说这种情况我有需要担
心的吗?估计警察报告上不会有证人的具体信息。谢谢。
n***s
发帖数: 10056
8
这个换整个系统大概$5000刀。
R22已经不能再用。换时要compressor和handler一起换。
是heat pump吗?不是会再便宜些。
m****s
发帖数: 18160
9
来自主题: Classified版 - San Diego bioanalysis position
【 以下文字转载自 Chemistry 讨论区 】
发信人: plainer (又是一年), 信区: Chemistry
标 题: San Diego bioanalysis position
发信站: BBS 未名空间站 (Thu May 22 22:51:55 2014, 美东)
Research Associate/Associate Scientist (DMPK)
Location: La Jolla, California 92121
Position type: Full time
Job Code: WB-DMPK-03
Required education: BS/MS Degree
Area(s) of expertise desired: Bioanalysis, LC-MS/MS, ADME/PK
Description: Wellspring Biosciences is discovering and developing small
molecule drugs that target signal transduction networks for t... 阅读全帖
n**4
发帖数: 719
10
华为美国(Futurewei)急招Sharepoint工程师,工作地点Santa Clara, CA. 待遇从优,
有意者请尽快站内我。
Responsibilities
         Gather functional
requirements and translate to technical design specifications
         Develop, unit
testing, QA, implementation, and production support
         Follow development
standards and promoting best practices.
     ... 阅读全帖
n**4
发帖数: 719
11
【 以下文字转载自 JobHunting 讨论区 】
发信人: no24 (半个体育达人), 信区: JobHunting
标 题: 湾区急招SharePoint工程师(帮朋友发)
发信站: BBS 未名空间站 (Fri Jun 6 19:17:28 2014, 美东)
华为美国(Futurewei)急招Sharepoint工程师,工作地点Santa Clara, CA. 待遇从优,
有意者请尽快站内我。
Responsibilities
         Gather functional
requirements and translate to technical design specifications
         Develop, unit
testing, QA, implementation, and production support
 &#... 阅读全帖
p*****u
发帖数: 21812
12
GoPro HERO Session Bundle With Handler Floating Grip and 16GB MicroSD
NEW AND SEALED
190 + ML (READY)
CLOSE TO TN preferred
w****g
发帖数: 1070
13
来自主题: ebiz版 - 这个地址有问题吗? thanks
Mayer Handler
199 LEE AVE STE 851
BROOKLYN, NY 11211-8919
c*******g
发帖数: 1996
14
来自主题: ebiz版 - 请教核武器的原理
应该有程序启动的时间
需要有下单的网页的handler(http address)?
然后parse网页找到 需要的 button和text box
下单界面格式应该是固定的,下单的button,数量等等
然后调用按button的function?
然后进入下个填写地址的界面,格式也是固定的text box,自动填好
...
写过一些C#的控件界面程序,不知道核武器该怎么写
s*******n
发帖数: 4605
15
来自主题: ebiz版 - 问问版上妓院的童鞋
刚才查了一下windows xp能支持多少个处理器,wiki分开逻辑处理器和物理处理器来解
释,当看这个逻辑处理器的定义时,我彻底晕菜了。哪位神医护士是妓院的帮忙解释一
下?
A logical processor is either: 1) One of the two handlers of thread of
instructions of one of the number of cores of one of the number of physical
processors with support for HyperThreading; or 2) One of the number of cores
of one of the number of physical processors without support for
HyperThreading.
V******9
发帖数: 1281
16
【 以下文字转载自 PKU 讨论区 】
发信人: legendfall (Fall), 信区: PKU
标 题: 执教于美国TOP16名校的北大学子(不完全统计,2011.5)
发信站: BBS 未名空间站 (Thu May 26 11:47:04 2011, 美东)
Harvard University**
1. Sunney Xiaoliang Xie: Mallinckrodt Professor of Chemistry and Chemical Biology; Member, National Academy of Sciences; Fellow, American Academy of Arts and Sciences
2. Jun Liu, Professor of Statistics
3. Samuel S. C. Kou, Professor of Statistics
4. Xiaofei Tian: Professor of Chinese Literature
5. Zhiming Kuang: Associate Professor, Dept. o... 阅读全帖
p**m
发帖数: 11571
17
☆─────────────────────────────────────☆
Vega2009 (.......) 于 (Tue May 31 15:33:23 2011, 美东) 提到:
发信人: legendfall (Fall), 信区: PKU
标 题: 执教于美国TOP16名校的北大学子(不完全统计,2011.5)
发信站: BBS 未名空间站 (Thu May 26 11:47:04 2011, 美东)
Harvard University**
1. Sunney Xiaoliang Xie: Mallinckrodt Professor of Chemistry and Chemical Biology; Member, National Academy of Sciences; Fellow, American Academy of Arts and Sciences
2. Jun Liu, Professor of Statistics
3. Samuel S. C. Kou, Professor of Statistics
4. Xiaofei Tia... 阅读全帖
r**********9
发帖数: 198
18
来自主题: Family版 - 这样他们怎么骗钱?
Thanks for the prompt response i want you to know that am okay with
the condition of the item and i will love to make an instant purchase.
I will be mailing (overnight) a certified check from my account to
cover the cost, while you hold item on my behalf, am willing to give
an extra $40 for you to hold item till you receive payment. Once you
have payment, I will have my handler come for pickup at your place as
soon as check clears your bank. I will be needing the following
information to issue o... 阅读全帖
p*****u
发帖数: 21812
19
GoPro HERO Session Bundle With Handler Floating Grip and 16GB MicroSD
NEW AND SEALED
190 + ML (READY)
CLOSE TO TN preferred

发帖数: 1
20
素食者的工作机会列表(vegnews)
https://vegnews.com/jobs
Vegan Job Board
Are you in pursuit of a dream career promoting the plant-based lifestyle?
With a little help from VegNews, you’ll never have to sacrifice personal
ethics for professional gain. Find your ideal veg-friendly job today!
Social Media Volunteer
Anywhere, US
VeggieHappy, an online guide for finding plant-based menu options at large
entertainment and sports venues, is seeking a part-time social media
volunteer. Job responsibilities include ma... 阅读全帖
u***************r
发帖数: 11227
21
来自主题: Investment版 - unidentified_title
发信人: cutdown(关闭), 信区: Investment
标题: 担心终于成了事实
发信站: BBS未名空间站(Tue Aug 15 09:57:55 2017,GMT)
今年忙乎了大半年,还没有实质性的成果,钱很难投出去,位置好一点的看什么都觉得
贵,偏远的便宜又不敢下手,怕砸在手里血本无归。本着“宁可错过,不可做错”的想
法,本来颇为中意的三个项目在自己犹豫不决中花落别家,其中有一个项目是有潜力做
成AIR B&B的 (位于剑桥一桥之隔的后湾-BACK BAY)。
前两天收到来自剑桥(CAMBRDGE MA)的消息:
据统计,剑桥市约有1065个住房单位在 Airbnb网站上出租。剑桥市有14%的Airbnb 属
于商业操作。由企业建造多单位公寓,专门用来做Airbnb生意。每个单位一晚200元租
金,不需付酒店旅馆需缴的税金,是笔很大的收入,和税务漏洞。
剑桥(Cambridge)市议会8月7日晚通过新的短租法,允许剑桥市屋主分租自住宅中的房
间给Airbnb客人。
根据新法规,屋主可以在自住、至多五个单位楼宇中,出租自住屋房间或同一栋建筑中
的另一个单位给短租客人。短租... 阅读全帖
h*********e
发帖数: 56
22
来自主题: JobHunting版 - 一道面试题
抛砖引玉,我觉得这个有点像circular buffer.
1) how to manage memory:
Maintain an array of Messages and HEAD and TAIL index. add from HEAD, remove
(when time expires) from TAIL. When HEAD + 1 == TAIL, it's full. When HEAD
== TAIL, it's empty. When HEAD or TAIL equals SIZE, reset to 0.
2) timer:
In the constructor, register timer signal handler, which expires after N
milliseconds. After that, in every one milliseconds, remove all messages
added in N milliseconds before, by TAIL++.
3) efficient interface functio
B*******g
发帖数: 1593
23
来自主题: JobHunting版 - 攒人品 贴个Bloomberg phone interview.
运气好 问到的都是很简单的问题 C++ STL...
1. 4 default functions in C++
2. For non built-in type, how to prevent client from passing by value
3. Program crashed, what u do?(I said fault handlers with stack trace,log
files blahblah)
4. STL vector what happens when insert() push_back() pop_back()are called.
我答的很笼统 主要就是注意到memory reallocation还有将所有元素移到新的内存地址
的问题 顺便
问到了vector里面是user defined type时要定义copy constructor 以及shallow deep
copy
5. set 和 hash_map的区别 我没讲全 他也没追问细节
6. file with strings, use STL containers to fin
x***y
发帖数: 633
24
来自主题: JobHunting版 - 问个bb的面试题
If a signal handler has been set to deal with SIGSEGV, the program won't
necessarily crash. But from this program, only one try catch pair is
specified, so any exceptions thrown in stack unwinding can not be caught.
h*****1
发帖数: 74
25
来自主题: JobHunting版 - 问几道老题
set a new handler to release allocated memory?
l********y
发帖数: 189
26
来自主题: JobHunting版 - 刚刚google intern面试完 也求bless
面经附上了,祝大家好运吧
======================= update ==================
刚刚收到信被拒了,拒的速度真快。不过不是很沮丧,可能是因为拒的很快,面试第二
天就被拒了。又收到其他的interview,刚刚被MS面完,求大家继续bless。。
现在公布面试题
第一个reviewer:
先瞎扯research,然后让写binary search的code,从sorted的array里找一个key
number,不难,但是要注意你写的code的严谨性,要check指针是不是空,array index
会不会是负数,两个数相加是不是会overflow等等。
然后问c里面什么是volatile,怎么用c实现exception handler 等等
第二个reviewer:
一上来就问我有没有industry experience,我的简历里只有research,没有industry
,就是为来industry找intern的,他可能没看我的简历。然后他就给我发了一张图,图
上画了个skip-list,他问我看到这张图我想到了什么,问我如何从skip... 阅读全帖
h*********3
发帖数: 111
27
来自主题: JobHunting版 - 刚刚google intern面试完 也求bless
怎么用c实现exception handler 等等
这怎么回答啊, setjmp(), longjmp() ??

二天就被拒了。又收到其他的interview,刚刚被MS面完,求大家继续bless。。
number,不难,但是要注意你写的code的严谨性,要check指针是不是空,array index
会不会是负数,两个数相加是不是会overflow等等。
industry,就是为来industry找intern的,他可能没看我的简历。然后他就给我发了一
张图,图上画了个skip-list,他问我看到这张图我想到了什么,问我如何从skip-
list里面找一个数,我花了好一会儿才连猜带蒙明白skip-list是什么东西,其实是很
简单的数据结构(大家可以去wiki上查)。除了发图给我之外,他没有怎么解释,我问
了好几个问题才明白每个箭头指向的是数值还是指针,然后让我写code,在skip-list
里面search,这也不难,就是猜这个data structure花了我好: ...................
g**********t
发帖数: 3
28
Post for a friend's company.
Please send your resume to g************[email protected] and I will forward.
SOFTWARE ENGINEER –Ancestry (San Francisco)
Ancestry.com is the world's largest online resource for family history. We
have helped pioneer the market for online family history research, taking a
pursuit that was expensive and time-consuming and making it easy, affordable
and accessible to anyone with an interest in their family history. The
foundation of our service is an extensive collection of ... 阅读全帖
g**********t
发帖数: 3
29
Post for a friend's company.
Please send your resume to g************[email protected] and I will forward.
SOFTWARE ENGINEER –Ancestry (San Francisco)
Ancestry.com is the world's largest online resource for family history. We
have helped pioneer the market for online family history research, taking a
pursuit that was expensive and time-consuming and making it easy, affordable
and accessible to anyone with an interest in their family history. The
foundation of our service is an extensive collection of ... 阅读全帖
y******n
发帖数: 47
30
来自主题: JobHunting版 - 面经+一点个人体会
周五面完最后一个onsite, 累的惨兮兮的, 好容易爬回家. 不管结果如何, 这段时间找
工作算是告一段落了.
下面把这段时间面试中被问到的题目整理一下, 供大家参考. 我也就不说具体是那些公
司了, 都是很典型的面试题, 到哪里都有可能会被问到.
* implement memcpy? How to improve? how to determine if a system is
32bit or 64bit?
* how is static keyword used in Java?
* a list of intervals, no overlapping and sorted, write a function to
insert an interval into the list and still keep the list sorted and no
overlapping.
* given a function on sorted dictionary to retrieve word by index,
string getWord(int i), how to i... 阅读全帖
i*******h
发帖数: 216
31
来自主题: JobHunting版 - job handler Qs
写个简单的意思意思:
class JobHandler
{
public:
JobHandler(ResourceManager*);
~JobHandler();
void Receive(Request&); //receive request and insert into queue, atomic
void Run();

private:
queue m_queue;
ResourceManager* m_ResMgr;
}
//Thread1 function
//This is the main loop of processing thread
void JobHandler::Run()
{
while(true)
{
lock_queue();
if(m_queue.empty())
{
//better to optimize here so that we don't frequently lo... 阅读全帖
S**I
发帖数: 15689
32
☆─────────────────────────────────────☆
gzou (gzou) 于 (Thu May 12 02:26:35 2011, 美东) 提到:
马上就要G on site了,
求祝福。
下面是从本版收集到的Google的试题,便于大家查询。
申明:有的附带有解释说明的,也来自于本版或者网络,大家自己看, 不保证真确
http://www.mitbbs.com/article_t1/JobHunting/31847453_0_1.html
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array... 阅读全帖
S**I
发帖数: 15689
33
☆─────────────────────────────────────☆
gzou (gzou) 于 (Thu May 12 02:26:35 2011, 美东) 提到:
马上就要G on site了,
求祝福。
下面是从本版收集到的Google的试题,便于大家查询。
申明:有的附带有解释说明的,也来自于本版或者网络,大家自己看, 不保证真确
http://www.mitbbs.com/article_t1/JobHunting/31847453_0_1.html
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array... 阅读全帖
S**I
发帖数: 15689
34
来自主题: JobHunting版 - [合集] 面经+一点个人体会
☆─────────────────────────────────────☆
yuhanlin (Yuhan) 于 (Mon Aug 29 00:18:17 2011, 美东) 提到:
周五面完最后一个onsite, 累的惨兮兮的, 好容易爬回家. 不管结果如何, 这段时间找
工作算是告一段落了.
下面把这段时间面试中被问到的题目整理一下, 供大家参考. 我也就不说具体是那些公
司了, 都是很典型的面试题, 到哪里都有可能会被问到.
* implement memcpy? How to improve? how to determine if a system is
32bit or 64bit?
* how is static keyword used in Java?
* a list of intervals, no overlapping and sorted, write a function to
insert an interval into the list and still keep the list sorted and no
overlapping.... 阅读全帖
c***x
发帖数: 455
35
大家好,小弟下周高通onsite面试Hardware Characterization Engineer,求建议,灰
常感谢!!!
Job Function:
Test and characterization of hi-speed interfaces, DSP cores, microprocessors
, memories, pads, and peripherals. These include but are not limited to:
SRAM, DRAM, DDR, PCIe, USB Phy, HDMI, TSIF, CAMERA IF. Hands on experience
with automatic test equipment (ATE) is a must. Experience with bench
instrumentation a plus. Engineer will be responsible for developing
Characterization Plans, Developing Test Programs, Data Col... 阅读全帖
i*******6
发帖数: 107
36
来自主题: JobHunting版 - Zynga onsite经历
刚在Zynga onsite完,写写感想指导后来人吧。
由于签了NFA,就不透露题目了,反正都是很简单的题目,把careercup那本书的简单题
都过一遍,基本算法没问题了。
Zynga是一家很neat的公司,三藩总部就一栋楼,5层,地下是gym和massage,一层是入
口和一些模型,1,2层中间有一个平台是吃饭的。当然员工享受到的所有的服务都是免
费。
3,4,5层各有2个team,规模大概都是20-40人之间,每个team有独立的办公室和休息室
,还有很多免费的饮料和零食供应,还有桌球。
Zynga的面试很紧凑,几乎没有休息时间,经常是你还在面一个人,下一个面你的已经
在门口等着了。你必须做好被6-8个面试官轮番轰炸5-6小时的准备。这是由于它们家
agile development的工作压力决定的,它们会看看你的表现来判断你的抗压能力。CTO
一般在最后一轮面试。
个人建议是每次面试完一轮,一定要说自己想上厕所,想喝水,想吃东西,反正各种理
由都搞好,抓紧时间休息,感觉体力透支一定要去拿免费的运动饮料和巧克力吃。不然
你会坚持不下去的。
Zynga的技术问题不难,面过AGFLT... 阅读全帖
y*******g
发帖数: 6599
37
这个应该没什么可问的吧,反正都是json/xml on http,最多就考察一下是不是明白
network call 花时间长,要在非ui thread 完成 但完成后对ui的update需要在ui
thread。自称有android的经验的 一般expect能答出asynctask或者handler
没经验的大致知道thread怎么switch就差不多了
w****x
发帖数: 2483
38
int getHandlerId(Request request);
Handler getHandler(int id);
vector getResponse( vector requests)
{
map> mp;
for (vector::iterator it = requests.begin();
it != requests.end(); it++)
{
int nh = getHandlerId(*it);
if (mp.find(nh) == mp.end())
{
vector vec;
mp[nh] = vec;
}
mp[nh].push_back(*it);
}
vector vecRes;
map rrMp;
for (map>::iterator it = m... 阅读全帖
b***m
发帖数: 5987
39
第一个面试官,白人,Senior Test Lead,吃饭加瞎聊,就问了一个跟工作相关点儿的
问题:如果让你测Windows XP这样过时的产品,你怎么决定该测什么不测什么?
第二个面试官,应该是Pacific Islander,出生、长大、读书在夏威夷,Senior Test
Manager,聊了半天,做了两道题。第一题:你以往项目中你最得意或者满意的系统设
计,我讲述了我怎么设计、实现全套Windows UI的事情。第二题:给你一个任意形状,
如何判断一个点是否在该形状中?
第三个面试官,白人,Senior Test Lead,上来就做题。第一题:给定一个整数二维数
组,行和列都分别升序,再给定一个整数n,如何判断n在不在该matrix中?给出两种比
较优化的解法。第二题:他们的一套bug跟踪系统,一个大的bug数据库中不断把符合某
些设定条件的bug数据往一个handler里面push,最后log到他们自己的数据库中,如何
测试这套系统?
第四个面试官,烙印,Principal Test Manager,先瞎聊一通,然后做题。第一题:设
计一套电梯系统,包括如何调度,满足复杂需求... 阅读全帖
z******t
发帖数: 59
40
谢谢指正。这个题目的确引发了不少争议。
atoi这个API在Windows和在Linux上的实现略有不同。书中提到的观点是参考了Windows
的实现。下面是这两段话从MSDN上拷贝下来的:
Each function returns the int value produced by interpreting the input
characters as a number. The return value is 0 for atoi and _wtoi, if the
input cannot be converted to a value of that type.
In the case of overflow with large negative integral values, LONG_MIN is
returned. atoi and _wtoi return INT_MAX and INT_MIN on these conditions. In
all out-of-range cases, errno is set to ERANGE. If the param... 阅读全帖
l*********8
发帖数: 4642
41
来自主题: JobHunting版 - 谁知道这个问题的答案
c库函数里面的signal函数可以重新设置handler.
f****s
发帖数: 74
42
来自主题: JobHunting版 - 报个电面的面经和据信吧, 求安慰
calxeda的电面就两个人,一人一题。
1. some_struct* p=NULL;
p->some_member;
问会发生什么?答:会编译通过,但运行会出问题,继续问为什么会出问题,怎么样出
问题,扯了os,trap,interrupt一堆。最后又问,没有os的imbeded system怎么处理
?瞎扯了boot loader,硬件interrupt handler什么的。面完上机试了一下,不会出错
,编译器优化了。
2.问memory alignment,如何allocate一块memory总是以64的整数倍地址开始。我就说
naive的方法是用malloc然后检查地址,他所不naive,问怎么样实现,我想了一会说必
须把原有的地址存下来,就多allocate一点把原有的地址存存下来,当用户调用free的
时候就用这个地址。感觉答的还不错,后来写code,出了个bug,经指点,纠正了。
今天收到hr的据信。感觉小公司就问些实际应用的东西,真不容易啊。
f****s
发帖数: 74
43
来自主题: JobHunting版 - 报个电面的面经和据信吧, 求安慰
calxeda的电面就两个人,一人一题。
1. some_struct* p=NULL;
p->some_member;
问会发生什么?答:会编译通过,但运行会出问题,继续问为什么会出问题,怎么样出
问题,扯了os,trap,interrupt一堆。最后又问,没有os的imbeded system怎么处理
?瞎扯了boot loader,硬件interrupt handler什么的。面完上机试了一下,不会出错
,编译器优化了。
2.问memory alignment,如何allocate一块memory总是以64的整数倍地址开始。我就说
naive的方法是用malloc然后检查地址,他所不naive,问怎么样实现,我想了一会说必
须把原有的地址存下来,就多allocate一点把原有的地址存存下来,当用户调用free的
时候就用这个地址。感觉答的还不错,后来写code,出了个bug,经指点,纠正了。
今天收到hr的据信。感觉小公司就问些实际应用的东西,真不容易啊。
c***d
发帖数: 26
44
来自主题: JobHunting版 - b0x 面筋
我面front end position,可能对班上大部分人不太适用。非FE题目都很经典,也许参
考意义不大。anyway,贴下面筋。
电面1:
cs基础知识,hash,网络,数据库都涉及一点,不过都是很基础的。
coding: inline editing。其实就相当于
。但是他不让
直接用contenteditable,而是要求你用raw javascript实现click event handler。
电面2:
给一字典和单词,找出该单词所有的anagram。
onsite
1. 设计数据库table schema,使得能快速查询用户所拥有的folders and files及其他
操作,比如add, update, move, copy, display size etc.
2. js 基础知识,如closure之类。coding实现一个general的progress bar widget.
你每隔一定时间向server询问进度,然后在页面上update progress。涉及html,css,js
,jquery.
3.... 阅读全帖
a********m
发帖数: 15480
45
来自主题: JobHunting版 - 请教:Apple的fresh PhD offer 有多大?
那你现在是肿么发贴的?有exception handler?
b**d
发帖数: 1174
o***d
发帖数: 313
s******e
发帖数: 493
48
来自主题: JobHunting版 - 下一轮startup是不是mobile为主?
that was exactly what I meant "in event loop". if you see it as request-
response model. all the requests are handled in a multi-threaded way. In
other words, xhtmlrequest will handle requests in multi-threaded manner, but
the responses are handled in event loop, which is single threaded. And it
is the response handler that will need to access shared data structure (
usually sitting in memory).
t*****s
发帖数: 416
49
我猜还是scheduling导致的。前者2~10个最外圈loop基本没有几率中途被schedule。
而后者1秒很可能被多次schedule。于是前者完全跑在L1 cache上后者每次都要从内存
读。
又看了眼发现你这个是用户态的程序,那你读CPU tick就更不靠谱了。用time命令更合
适。
虽然你说已经把thread全部挪走了,但是第一系统可能会自动balancing,第二可能有
kernel thread被schedule过来,第三可能会有IRQ handler跑到你的core上来。
只有把你的测试程序写成system call或者kernel module,然后在内核态里锁住当前
CPU跑才能完全保证独占CPU。
x**l
发帖数: 64
50
如果你运行了我的代码就知道,schedule会被chrt改为fifo 的 10, 并make sure 这个
core上没有高于这个的thread了.
IRQ handler 通过修改 /proc/irq/* 可以mask掉, numactl决定了这个process没法再
几个core上跳来跳去.
rdtsc/rdtscp是可以在priviledge level 3运行的.
请问在kernel mode里怎么锁住当前cpu,通过numactl/cpuset?
首页 6 7 8 9 10 末页 (共10页)