- 博客(37)
- 收藏
- 关注
原创 the dependency of sysgen variables, and how to map sysgen to modules
<br />The bat files in public/cebase/oak/misc define the dependency between sysgen variables. And add modules to image according to the sysgen variable definations.<br /> <br />For example, if SYSGEN_ISAPI_CONFIG depends on SYSGEN_HTTPD, you have to add th
2010-11-02 11:09:00
626
转载 科技公司薪金揭秘:谷歌人均年薪15万美元
<br />科技公司薪金揭秘:谷歌人均年薪15万美元<br />本文发表于 2009-05-29 10:27 | 5458次阅读 | 来源:腾讯科技 | 共有评论(12)条 发表评论<br /><br />近日,百度员工罢工告一段落。据说,这一轰轰烈烈的罢工与百度雇员不满公司月初大幅削减销售人员的底薪并同时上调公司销售目标有关。<br /><br />有意思的是,根据我读到的一个科技博客,百度去年平均每员工为公司创造利润达163,844美金,排名全球众多科技公司这一指标下的NO.3,仅次于Google和微软
2010-09-08 14:20:00
816
原创 转载:C++调用方式总结
<br />__stdcall: <br /> _stdcall 调用约定相当于16位动态库中经常使用的PASCAL调用约定。在32位的VC++5.0中PASCAL调用约定不再被支持(实际上它已被定义为__stdcall。除了__pascal外,__fortran和__syscall也不被支持),取而代之的是__stdcall调用约定。两者实质上是一致的,即函数的参数自右向左通过栈传递,被调用的函数在返回前清理传送参数的内存栈,但不同的是函数名的修饰部分(关于函数名的修饰部分在后面将详细说明)。<
2010-08-23 10:52:00
674
原创 modem上各种指示灯的意义
HS (High-speed) Lights when communicating at 48000 bps or faster. AA (Auto-Answer) Lights when Auto-Answer is activated. Blinks when detecting an incoming ring. RI (Ring Indicate) Blinks when detecting incoming ring. CD (Carrier Detect) Lights when the Dat
2010-08-12 13:02:00
3756
原创 presentation
<br /> Good afternoon. My name is Bobby. It's really a great honor to have the oportunity to introduce myself to you. I graduated from Haerbin Institute of Technology in 2006. After that, I worked in Space Satr Technology Corporation for three years. I pa
2010-08-12 12:57:00
642
原创 An GPSID sample code for Windows Mobile
I wrote a GPS driver for Mobile_XXX last week. They told me GPS could be driven base on either UART or GPSID. I haven't heard of GPSID before that. So I decided to drive GPS on UART directly. It's a little complicated, because I have to read date from seri
2010-08-10 19:16:00
1192
原创 auto dial issue
I fixed a autoras bug last week. I can tell much details for confidentially regime. Just write a artical for knowledge acquisition.Autoras is implemented in CE as a driver as a autoras.dll. CE load it if sysgen_autoras is set when building the image. And t
2010-08-10 18:02:00
709
原创 ram size issue for building CE image
<br />Xinglong met a ram size issue when building CE image of debug version. We tried to fix it by two ways:<br /> 1) remove some unnecessary modules<br /> 2) set imgram256=1<br /> <br />The first method failed because left modules have some responding r
2010-08-05 11:49:00
1104
原创 "sysgen_" dependency for Windows CE
CE build modules based on the "sysgen_" setting. Sometimes, some special sysgens will be set automatically by building tools. For example, sysgen_ppp will be added automatically if sysgen_l2tp is set. Build tools implement the functionality like this:in pu
2010-08-05 10:57:00
763
原创 a bug of building PPP module
<br />I found an interesting issue for building PPP module. Generally, I build PPP like this:<br />cd private/winceos/comm/ppp2/pppbuild -csysgen ppp<br />And then ppp.dll will be created in the release directory. But I found the ppp.dll that I got t
2010-08-05 10:27:00
591
原创 笑笑成长记(4)--在张宸宇的满月宴会上
上个月我们去给赵老二家的孩子过满月,这时候笑笑8个月大,也被她妈妈带去了。午饭定在史各庄的一家饭店。我们到那时,饭店服务员看到笑笑都十分震惊,说“我的妈呀,刚过满月的孩子就长这么大个儿啦!!!”。笑笑妈赶忙解释说不是给我们过满月的,我们是来给人家过满月的。席间几个人轮着抱笑笑,结果笑笑又尿了韩阿姨,而且连着尿了她两次。第一次尿完裙子刚晾干,一抱她就又尿了一身。估计是她娘儿俩有缘,最近韩阿姨见了笑笑两次,被她尿了三次。韩说笑笑是属小狗的,撒尿还认地方。
2010-08-03 11:50:00
1127
原创 TLS doesn't work on PPPoE in Chelan: MTU issue
I fixed a MTU bug this week. The test resule is very interesting and confusing. 1) PPPoE works well if select other authentication method;2) PPTP works well if only EAP-TLS is selected for authentication method;3) PPPoE connection failed if only EAP-TLS is
2010-07-29 13:47:00
970
原创 abbreviations about PPP protocol
<br />PPP: Point-to-Point Protocol, provides a standard method for transporting multi-protocol datagrams over point-to-point links.<br />LCP: Link Control Protocol, which is mainly used to establishing, configuring testing and terminating data-link connect
2010-07-23 12:22:00
732
原创 5个强盗的博弈论
今天王鹏做trainning讲了一些C++的基础知识,最后给出了一个5海盗分宝石的问题,我觉得挺有意思。所以再试着总结一下这个问题,提升一下理论高度。题目:5个海盗抢到了100颗宝石,每一颗都一样大小且价值连城。他们决定这么分: (1)抽签决定自己的号码(1~5); (2)首先,由1号提出分配方案,然后大家表决,当且仅当达到或超过半数的人同意时,按照他的方案进行分配,否则将被扔进大海喂鲨鱼; (3)如果1号死后,再由2号提出分配方案,然后剩下的4个人进行表决,当且仅当超过半数的人同意时,按照他的方案进
2010-07-21 19:28:00
1857
原创 retrive ip address list change event by EventSelect and Overlapped
上周遇到一个问题,需要检测FD_ADDRESS_LIST_CHANGE_BIT,是用来检测可绑定地址列表变化的事件。结果在网上搜来搜去只看到一些文字描述(看起来都是来自MSDN的),没有看到有效的代码。最后没办法自己写了一个,供以后参考。I got two ipsec QFE last week for thread leak issues. An orphan thread will be left every L2TP connect/disconnect. 32kb memory will be lo
2010-07-21 10:57:00
1501
原创 笑笑成长记(2)-- 懒羊羊
这是笑笑6个多月大时,妈妈带她来我家玩的照片。她这时候可懒了,整天都懒得动弹,怎么放着就怎么玩,总是一动不动地带着,我们都说她像懒羊羊。
2010-07-20 23:37:00
704
原创 笑笑成长记(1)--烤鱼店
这是笑笑四个月大时,我们带她去西三旗桥东的巫山烤全鱼时拍的照片。笑笑那时候可乖了,我们一顿饭吃完他都没哭没闹,就是瞪着眼睛看着。
2010-07-20 23:29:00
2397
原创 基于无线传感器网络的水文监测系统
以前的一位同事要拉项目,前一段时间临时帮她写了个方案。结果她说我写的太快了,怀疑是我抄的,要不然怎么上午10点写,还不到中午就写完了。懒得跟她解释,不用就算了,我自己贴到博客吧。(其实仔细看就发现了,没怎么写实质性的内容,最占时间的是画那几张图)基于无线传感器网络的水文监测系统1.基于自组网的数据汇集系统图1 无线传感器网络水文监测系统分为三部分,数据采集系统,数据汇集系统和数据处理系统。数据采集系统由每一个传感器节点自主完成,具体实现在下一节介绍。数据处理系统由其他单位负责设计完成。本节重点介绍数据汇集系
2010-07-20 10:28:00
2957
原创 数对变量就能做对题,链表类面试题的经典解法(2)-- 基础题
先啰嗦一下,链表的题有一个特点,一旦你把解题思路理清之后,第一件事就是数一下变量的个数,一定要数清楚。链表的解题逻辑确定之后变量个数也是确定的,只能多用不能少用,少用一个就会导致程序特别复杂甚至写不出来,所以面试的过程中千万不要为了节省一个变量而折腾。
2010-07-19 10:27:00
509
原创 数对变量就能做对题,链表类面试题的经典解法(1)-- 两个变量
上周公司的一个team被裁,一些同事暂时没事做,非要搞一次面试培训。我找了一些面试题看了一下,发现所有公司的面试题里,链表是必考的内容。如果一家公司只有一个编程题的话,那么一定是链表相关的。所以临时整理了一些相关的面试题。期间发现链表的题型虽然千变万化,很难捉摸。但其中还是有一些共性问题的,在这里选几道简单总结一下。1. 反转链表
2010-07-19 10:26:00
1012
原创 https://mail.microsoft.com
<br />微软的内部邮箱,找了半天都没找到登录网址,最后还是老婆帮忙找到的。搞了半天是https。这次记下来吧,省了下次重装系统还得找。<br />https://mail.microsoft.com
2010-07-17 09:21:00
6076
原创 english practice No.10
Family Album USA -- Episode 04, Act IMarily came home from her exercise class. She was so exhausted that she sat on the ground as soon as got into the hall. Richard laughed at her new exercise class. He thought her advanced exercise is a piece of cake to h
2010-07-12 07:55:00
554
原创 论读书
王佐梁 译读书足以怡情,足以傅彩,足以长才。其怡情也,最见于独处幽居之时;其傅彩也,最见于高谈阔论之中;其长才也,最见于处世判事之际。练达之士虽能分别处理细事或一一判别枝节,然纵观统筹,全局策划,则舍好学深思者莫属。读书费时过多易惰,文采藻饰太盛则矫,全凭条文断事乃学究故态。读书补天然之不足,经验又补读书之不足,盖天生才干犹如自然花草,读书然后知如何修剪移接,而书中所示,如不以经验范之,则又大而无当。有一技之长者鄙读书,无知者羡读书,唯明智之士用读书,然书并不以用处告人,用书之智不在书中,而在书外,全凭观察
2010-07-11 21:30:00
1330
原创 Of Study
STUDIES serve for delight, for ornament, and for ability. Their chief use for delight, is in privateness and retiring; for ornament, is in discourse; and for ability, is in the judgment, and disposition of business. For expert men can exe-cute, and perhaps
2010-07-11 21:24:00
487
原创 english practice No.9
<br />Family Album USA -- Episode 03, ACT III<br /> <br />Grandpa and MRS Elsa are on board a train. They hear the broadcast to tell that the train is arriving at New York. Grandpa tell Mrs Elsa to call him. She can get the number by search the phone book.
2010-07-11 20:59:00
635
原创 english practice No.8
<br />Family Album USA -- Episode03, ACTII<br /> <br /> Grandpa is going to New York by train. He takes a seat by the window. A woman comes and asks if she can take the seat next to him. Grandpa says it's ok, and help her put the suitcase onto the luggage
2010-07-11 14:01:00
494
原创 english practice No.7
Family Album USA -- Episod 03, Act IEllen and Marilyn are preparing breakfast. Marilyn is getting ready for bread and rices. Ellen is cooking coffee and tea. She asks what does Marilyn want, coffee or tea. Marilyn says she would like some tea rather than c
2010-07-04 19:34:00
595
原创 笑笑成长记(3)--穿尿布的小姑娘
笑笑八个月大了,今天妈妈带着来我家玩。“笑笑,撅嘴干嘛呀,谁欺负你啦?”“嗯,哦,我。。。妈妈不给我穿裤子。”“你不是穿着裙子呢么,挺好看的呀。”“好看什么呀,干爹你什么眼神啊,我穿的这是尿布!”“啊,怎么回事啊,咋能给咱笑笑穿尿布啊。”“嗯,因为。。。”“因为啥呀?”“因为阿姨把我衣服尿湿了,阿姨的衣服也湿了,沙发垫也湿了。”“是阿姨尿你了,还是你尿阿姨了呀?”“。。。”
2010-07-03 20:16:00
1034
原创 人生若只如初见
<br />木兰花令·拟古决绝词<br /> 纳兰性德<br />人生若只如初见,何事秋风悲画扇。 <br />等闲变却故人心,却道故心人易变。 <br />骊山语罢清宵半,泪雨零铃终不怨。 <br />何如薄幸锦衣郎,比翼连枝当日愿。<br /> <br />秋风悲画扇:秋风吹来的的时节,画扇就要被人放在一边了。喻昔日情人今日离别。该句借用汉朝班婕妤的故事。班婕妤曾是汉成帝的妃子,却遭到赵飞燕的妒忌、馋害而打入冷宫。那时候,班婕妤不再受到汉成帝的宠爱,多才的她在一个已入秋的天气里收拾房间,将一把
2010-07-03 17:45:00
692
原创 english practice No.6
Family Album USA--Episode02, ACTIIISusan and Marilyn are eating the food that Susan brought back from Somsak. It's delicious and Marilyn enjoys it very much. Susan tells that Harry go home without having anthing, for his daughter is sick. Just then, the do
2010-06-29 08:20:00
720
原创 english practice No.5
Family Album USA--Episode02, ACTIISusan and Harry get the tailand restaurant Somsak. Somsak, the owner of the restaurant, welcomes them in the hall. He is a very nice man, and gives Harry a good impression. Harry likes it very much to have dinner there. Mi
2010-06-28 22:28:00
756
原创 ICMP/IGMP/DNS/FTP/HTTP/TFTP/SNMP/Telnet...
ICMP: IPIGMP: IPDNS: UDP 53FTP: TCP 21+HTTP:TCP 80TFTP: UDP 69SNMP: UDP 161Telnet: TCP 23
2010-06-28 13:37:00
2810
原创 德梅齐里亚克砝码问题
德梅齐里亚克砝码问题:一位商人有一个40磅重的砝码,由于跌落在地而碎成4块,称得每块碎片的重量都是整磅数,而且可以用这4块来称出从1到40磅之间的任意整数磅的重物,请问这4块碎片分别为多重? 首先给出答案:1,1*2+1=3,(1+3)*2+1=9,(1+3+9)*2+1=27.呵呵,这个问题挺有意思。我们先参照一下人民币币值,1,2,5三种币值,两两可以组成1到8之间的若干值,所以我们第一个要考虑的因素就是排列组合值。1,2,1+2,5,1+5,2+5,1+2+5。另外,天平的另外一个特性就是,砝码可以放
2010-06-27 19:03:00
5453
原创 english practice No.4
Family Album USA -- Episode 02, ACT IHarry is on the way to Susan's apartment, which locates at 83 Wooster Street. He has a date for supper with Susan. After parking the car near Wooster Street, he walks to Susan's apartment. He asks the hot dog shopkeeper
2010-06-27 17:51:00
697
原创 english practice No.3
Family Album USA -- Episode 01, ACT IIIPhillip is answering a telephone call to give instruction about how to deal with an patient. Then, Ellen comes in and gives him a hug. Phillip says he is tired and hungry. Ellen tells him Richard and Marilyn called an
2010-06-27 17:00:00
447
原创 english practice No.2
Family Album USA -- Episode 01, ACT IIAL is looking for Richard's house. She ask a police how to get Linden Street in Riverdale. The police tell her to take the No.1 train. Ellen is working in the store. One of her customers is keep trying clothes, one aft
2010-06-26 11:50:00
504
原创 english practice No.1
Family Album USA -- Episode 01, ACT IRichard Stewart is a photographer. He is writing a picture book that called Family Album USA. One afternoon, Richard Stewart was taking pictures on a ferry in New York. He met Mrs Vann and her son Gerald, who came from
2010-06-26 09:32:00
779
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人