Fool's Garden

Talking about Windows Mobile and Embedded gadgets...Web counter
posts - 58, comments - 99, trackbacks - 0, articles - 4

2007年3月15日

前几天,Google管Search的老大Matts Cutts接受ReadWrite Web的访问,在谈到语义识别在下一代互联网中的应用是,他是这么说的:

Richard: What do you think about semantic technologies (like for example Hakia)? How important is natural language understanding for search and is Google doing anything in this direction?

Matt: We do pay a lot of attention to a lot of different technologies, so I would define Google's approach as very pragmatic. And we keep an eye on the entire space and we try to say, ‘ok what are the areas that are most promising for users?’ Historically it's always interesting to view the progress of semantic technologies. For example if you do a search like: 'how many states are in America?'. Some search engines that claim to be semantic won't do a good job in delivering the right results, whereas Google can do a very good job - even if you think, ‘ok how can they handle natural language, or how can they handle the semantics of that search.’ And I think what Google benefits from is the sheer size of the Web and the sheer amount of data, and it really does help us understand the meanings of words and synonyms. So we do have a pragmatic approach and we don't necessarily place all our bets on one particular way of doing things. We are exploring a lot of different things all at once.

红字那部分,大概是这么说的,“举例来讲,如果你搜索‘美国有多少个州’,有些号称可以处理语义的搜索引擎返回的结果并不好,然而Google却可以做得很棒,即便你会想,‘他们是如何处理自然语言的,或者他们是如果处理搜索语义的呢?’

结果,有人真的做了这个实验,把"how many states are in Aemerica"作为搜索关键字,下面是Google和Windows Live Search得到的结果:

 

这样鲜明的对比,让我不禁想起,当年百度的那个广告,“我知道你不知道我知道你不知道我知道你不知道”。

posted @ 2007-03-15 16:12 Levins Dai 阅读(1457) 评论(2) 编辑

2006年5月13日

In general, PocketPC supports high-DPI and Low-DPI (192 and 96 respectively) display modes. As you know, image with fixed resolution will be displayed in a smaller size on Higher DPI screen. For example, images on 192 DPI screen will have as 1/2 size as on 96 DPI's. To maintain a consistent image size in both High and Low DPI mode, PocketIE introduces Pixel Doubling, which simply doubles the pixels used in High-DPI display. Just like an auto zoom out on every image pIE is browsing.

Pixel Doubling also affects address bar and status bar. The heights are doubled accordingly in the High-DPI display.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51conpixeldoubling.asp

posted @ 2006-05-13 08:46 Levins Dai 阅读(561) 评论(1) 编辑

2006年2月24日

We know that WinCE 5.0 supports 32 processes running simultaneously at most. Each process resides in a continuous 32M virtual memory space, namely Slot. The 32 processes slots range from Slot 2 - 33, plus a specific one: Slot 97 for NK.exe. And we also know that Slot zero is special enough to be occupied by the process context that current thread is executing. But why? Why this design choice was made?

The answer is quite simple. We use the same PE format for both desktop and device applications. But because every desktop process gets a 4GB memory space which always counts from 0. So any process running in WinCE is designedly mapped to Slot 0 and then they can share the same memory architecture with desktop couterparts and achieve the compatibility in PE.

posted @ 2006-02-24 19:46 Levins Dai 阅读(603) 评论(1) 编辑

2006年1月22日

星期六的晚上,我捧着一盒爆米花,坐在电影院里面,看着金刚为了爱咆哮,追逐,死亡。在回来的路上,我问同行的朋友,金刚对Ann究竟是什么样的爱?像慈父?像挚友?像情人?

在现实世界里面,知道自己爱上一个人并不困难,难的是区分出自己的爱,哪一样更多一些。这也就是为什么那么多人在爱面前犹豫、徘徊、退缩。就像电影里面那位话剧女演员说的那样,"他总是不肯说出那三个字,他认为一切尽在不言中。男人们自认为足够强大,可以征服世界,但却任凭真爱从指尖溜过..."

反过来,Ann对金刚的爱再一次说明了,样貌不是问题,身高不是障碍,女人要的可能也就是安全感这么简单。

posted @ 2006-01-22 13:26 Levins Dai 阅读(324) 评论(4) 编辑

2006年1月15日

In Win32, every single thread has a priority ranging from 0 (lowest priority) to 31 (highest priority). The priority value is determined by both thread priority level and process priority class. GetThreadPriority returns priority level only, you still need to call GetPriorityClass before figuring out the thread priority.

But things are quite different on device side. WinCE 5.0 is designed to support 256 thread priorities but no priority class any more. Both CeGetThreadPriority and GetThreadPriority can be called directly to retrieve a thread priority. Depending on which thread that being queried, the return value of CeGetThreadPriority could range from 0 to 255. Nevertheless, GetThreadPriority only supports application thread with priorities from 248 to 255.

GetThreadPriority is preserved for backward (before WinCE 3.0) compatibility reason. You can safely forget the legacy function and use CeGetThreadPriority instead unless you are porting the applications to desktop, or vice versa.

posted @ 2006-01-15 16:45 Levins Dai 阅读(648) 评论(0) 编辑

2006年1月6日

摘要: According to GSM Spec, Class 0 SMS is defined as text messages that display on MS immediately when arrive and do not have to be saved in MS or SIM. Windows Mobile 5.0 supports sending and receving cla...阅读全文

posted @ 2006-01-06 22:21 Levins Dai 阅读(1521) 评论(0) 编辑

2005年12月31日

摘要: 我最近已经养成习惯,每个星期一和星期四的晚上9点左右,都会到楼下健身房跑上15分钟。连续几个礼拜,在我跑步的时候,刚好都碰到了CCTV10在播放新年音乐会历年回顾,于是有好几次,我都是伴着蓝色的多瑙河和拉德斯基进行曲,在滚动的橡皮胶带上奔跑。前天晚上放的是2004年穆蒂指挥的那场,刚好我到的时候又是在放蓝色多瑙河。Muti也算是金色大厅的常客,2004年已经是他第四次在新年音乐会里担任指挥。我家里...阅读全文

posted @ 2005-12-31 22:05 Levins Dai 阅读(196) 评论(0) 编辑

2005年11月25日

摘要: 前面提到过,GSM SMS可以采用7 bits的编码方式,从而在1120 bits的长度里可以容纳160个字符。但有一点没有说清楚(或者说得不正确),理论上ASCII字符集的前127个字符都可以采用这种方式编码,但事实却不是如此。最明显的一个例子是[,ASCII编码为0x5B,但在GSM SMS中却是用两个7 bits来表示。所以当你编辑短信输入[(或者])的时候,就会很奇怪的发现,短信的长度多了...阅读全文

posted @ 2005-11-25 23:41 Levins Dai 阅读(2347) 评论(0) 编辑

2005年11月10日

摘要: 在Windows Mobile里面,可以很方便的编辑长度无限制的文字信息,pOutlook会自动把它分割成若干条短信(SMS),再把它们发送出去。但可能很多人也注意到了,在短信编辑窗口的最下面,有类似这样的一串字:"5/160"。很多人直观地认为160是一条短信的最大长度,5是当前输入文字的长度,但随后慢慢地可能发现,这个数字并不是想象的那么直观:首先,对于不少老式的简体中文手机(比如Noika ...阅读全文

posted @ 2005-11-10 22:10 Levins Dai 阅读(1674) 评论(4) 编辑

2005年11月8日

摘要: War of the Worlds, Spielberg 2005年的科幻电影新作。有人把它翻译成“世界大战”,我觉得这种翻译是错的,因为电影讲述的是外星人入侵地球的故事,是两个不同世界的战争,因此“世界之战”会显得合适一些。刚看完电影的时候,我对老皮的想象力失望透顶,和我所期待构思精巧、逻辑合理的科幻片实在是有太大差距。但后来,看了一些影评才知道,Spielberg的这一部电影是按照100多年前...阅读全文

posted @ 2005-11-08 22:59 Levins Dai 阅读(267) 评论(0) 编辑

2005年10月16日

摘要: 中国国家地理杂志10月份,出了一辑特刊,对中国的高山、湖泊、草原、森林等等进行评选,分别选出最美的几个地方,称之为“选美中国”。本来一个地方美不美,实际上已经是非常主观的东西,国家地理杂志推出这样的专辑和它一贯理性严谨的作风格格不入,未免有些哗众取宠之嫌。难而更另人受不了的是,中国地理起的那些个副标题:1、南迦巴瓦:云中的天堂4、梅里:雪神的仪仗队5、黄山:上帝的盆景7、乔戈里:遥远的秘境8、冈仁...阅读全文

posted @ 2005-10-16 20:28 Levins Dai 阅读(725) 评论(2) 编辑

2005年10月10日

摘要: 坝上,原为一地理名词,指的是草原和高原交界处形成的丘陵高地地形。我们通常说的坝上指的是河北省与内蒙古交界的塞罕森林公园,它还有一个很好听的名字:"木兰围场"。据说,在清朝时候,每年秋天,皇家都会到此围捕、狩猎,于是就有"木兰秋猎"这样的说法。今年的国庆,我和几个同学朋友也去了趟坝上,当然打猎是犯法的,我们只是赶在冬天来临之前,欣赏坝上秋天的风光。虽然去得有点晚,很多树木的叶子都已经快掉光了,颜色也...阅读全文

posted @ 2005-10-10 20:17 Levins Dai 阅读(420) 评论(3) 编辑

2005年9月24日

摘要: 30 years ago, two young men Bill Gates and Paul Allen kicked off a small software company named Microsoft. From 1975 to 2005, Microsoft has shipped thousands of software products which improve people’...阅读全文

posted @ 2005-09-24 21:30 Levins Dai 阅读(261) 评论(0) 编辑

2005年9月17日

摘要: Off Site Meeting回来,邮箱里面塞满了上百封未读邮件,再加上订阅的几十个RSS Feed push过来的内容,花了我足足一个晚上,才慢慢将它们处理完。离开北京短短几天还是发生了不少有趣的事情:1. 随着PDC 2005的临近,Microsoft下一代的技术和产品轮廓慢慢地显露出来,包括:Office 12,IE 7 Beta 2,Sparkle,Windows Vista等等。另外,...阅读全文

posted @ 2005-09-17 22:37 Levins Dai 阅读(580) 评论(2) 编辑

2005年8月20日

摘要: 摄影是表现也是再现,摄影是艺术也需要技术,摄影是记录也是创作……正是这看似矛盾却又紧密相连的各种特质,使得它本身具备一种特别的魔力,吸引了大批的信徒。幸运的是,这又几乎是一个门槛最低的创作活动,你不需要象画家一样有高超的技巧,也不需要像乐器演奏者一样经历漫长的练习过程,你所要的只是一部相机,一颗敏感的心,富于观察力的双眼,还有最重要的,对生活的热情。我已经记不起是什么时候喜欢上摄影了,但我还清楚地...阅读全文

posted @ 2005-08-20 00:16 Levins Dai 阅读(867) 评论(5) 编辑