PARADOX » 2008年 » 7月
蓝光刻录出现
Zeon 发表于 2008-07-31 10:59:31
一张空白25G蓝光刻录盘,90块
科技发展,科技发展
住在马路边上
Zeon 发表于 2008-07-31 10:09:35
又有点像老家,外婆家,地感觉。
又像在度假,休息,安静的感觉。
串一下门,尽管周围的人也不认识。
快快快
Zeon 发表于 2008-07-30 09:18:01
如果迅速就可以多睡一会儿
倒霉的逻辑
好大的风好大的风
Zeon 发表于 2008-07-29 16:38:35
至少那炎热的气息好点了,吹得凉飕飕,请继续吧!
想一下台风那里的人们就比较惨了
夏天,典型的夏天
停车之苦
Zeon 发表于 2008-07-29 09:37:56
正如身在伦敦时候想过的:哪一天,上海街头也会和伦敦一样,马路上停满了车,而我们则在狭窄的空袭中穿行。
不是开玩笑
D700,19500
Zeon 发表于 2008-07-28 11:41:50
不过想一下,买了就SB了
其实附加投入多的吓人,比如所有DX镜头就成了半废品,又比如电池手柄还是要重新买。要命的快装板也要重新买!
靠
烧菜
Zeon 发表于 2008-07-27 09:26:37
又有点像公交汽车。
回到家和M一起烧菜做饭。我要烧一个鸡翅膀,但又像是汤,不,羊肉,放上孜然和Rosemary。
不,还是汤,没完没了地搅拌。
[摘录]WindowsXP时钟秒针四快一慢的{真正}原因
Zeon 发表于 2008-07-26 09:57:57
Why the clock under Windows 2K/XP/2K3 show “four quick seconds and one slow second”?
If you click the clock at the right-bottom corner of Windows, it will open a small animated clock, which has seconds showed on it. But if you watch it carefully for a few moment, you will notice that every four seconds are the same length, but the fifth one is much longer than that. What happened?
The reason is quite interesting. As we know, in Windows C++ coding, we use WM_TIMER to set the time trigger for many events. The resolution of WM_TIMER is at about 50ms, which cannot be used under time-critical real time processing. But for a clock, it is enough. In the code of clock application, the following code is used to set the Timer(You can also get these pieces of code from VC98 CDROM Samples, if you still have it, I doubt):
SetTimer (hWnd, TimerID, OPEN_TLEN, 0L);
OPEN_TLEN is the length of the timer, it is a constant. So when we look at clock.h, you will get the number, which is 450.
What does this 450 mean? This means, every 450ms the timer will be triggered, it will detect time changes and redraw the clock.
So, we can draw a small table to make it clear, the first row is the number of trigger, the second row is the time:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 450 | 900 | 1350 | 1800 | 2250 | 2700 | 3150 | 3600 | 4050 | 4500 | 4950 | 5400 | 5850 | 6300 | 6750 | 7200 | 7650 | 8100 | 8550 | 9000 | 9450 | 9900 |
You will notice that within the first second, the timer gets triggered twice, and it will be updated at the 3rd trigger. The same situation is for 2nd, 3rd and 4th second. But within the fifth second, which is marked as red, the timer gets triggered for three times, and the clock will be updated at 4th trigger.
So this is why the fifth second update is much longer than the other four.
Why this have to be 450? Well, I’m not a developer nor a program manager, I don’t know their decision. But I guess this is a consideration about performance and resources. After all, how many people will use that clock as an accurate timer?
BTW – the clock application under Vista/2K8 is completely rewritten, so you may not have that problem. But if you watch it for a minute, you will still notice a quite “quick” second. :)
http://blogs.msdn.com/opal/archive/2008/05/27/why-the-clock-under-windows-2k-xp-2k3-show-four-quick-seconds-and-one-slow-second.aspx
发烧后遗症之味觉灾难
Zeon 发表于 2008-07-24 13:34:15
但是,看到好吃的很馋,即便不饿也想尝尝。
可到了眼前,张嘴吃下去,又是一种灾难的感觉。
这才叫真正的痛苦

