Web 的个人资料真是一个乱七八糟照片日志列表 工具 帮助
7月27日

回来了

 
出去玩了几天,
1 driver, 2 people, 3 time zones, 9 days, 11 states, and 4000 miles.
3+ national parks, 1 night of cabin, 3 nights of camping, and 4 nights of hotel/motels. 
 
Trivia:
1. No michigan plates found in ND, WY, nor NE.
2. The lake of Madison was dirty and smelly, at least in some areas.
3. Theodore Roosevelt is the fourth guy on Mount Rushmore.
4. Badlands was very windy.
5. Bear noise was not funny during night, bear stories were, actually, during the day.
6. Earth quake in GTNP is 2000-3000 years overdue.
7. Rawlins, WY has 15 Chinese in total, out of pop 9009.
8. I-80 has so many trucks, much more than I expected.
9. Taxpayers' money are actually at work, so many constructions on highways and parks, some more than 20miles long.
10. Trucks + contructions == delays. Bear in river == delays+delays+delays.  
    
3月11日

“指南针”

 
看到电视上的预告片,探索频道的一个节目说他们在英吉利海峡找到了1744年的英国战舰残骸,战舰可能载有四吨重的金币。
 
思维奔溢一下,我想到了加勒比海盗电影里的那个指向你最想要的东西的指南针。如果有这样的指南针找这种残骸岂不是轻而易举?
 
不过对我这样的俗人来说,这样的指南针有没有这么大好处?列举一下我们可能想要的东西
1)平时用得上的或者用不上的,指南针十有八九会指向超市或者别人家里。然后我们去抢?
2)金银财宝,银行或者首饰店,接着抢?
3)帅哥美女,抢人?
4)名声地位,指南针估计会指向武器店啥的,好名声太难,坏名声比较直接了当。
5)发论文???难道是要去敲别人的脑袋瓜子抢人家的想法?
6)找人?还是打手机算了。
 
想来想去,这个东西还是在找找钱包,手机,或者遥控器更加有用。
 
 
12月31日

新年快乐!

 
祝大家都2009心想事成!
12月20日

晚点

 
最近去了一趟新泽西,见见老朋友。特意挑的圣诞节之前去,希望可以避免在机场航班取消,晚点之类的烦心事。可惜还是没有躲过去,去的时候飞机晚点3个小时,说是天气原因。回来的时候飞机晚点两个小时,我到的时候飞机在我的目的地还没有起飞。
 
坐火车去找公司的同事吃饭,地图上说同事到车站需要15分钟,结果他被堵在高速上一个多小时。我在火车站转悠了一个多小时,始终觉得车站里面有一股炸油条的味道。。。
 
在等着无聊的时候发现我应该在自己的手机加上data plan来上上网。嗯,上网躲不过看email,还是装点游戏好了。
10月21日

tier-1 network provider

 
 

The following 7 networks are believed to be Tier 1 Networks (i.e. they do not have an overt settlement on any peering link with any other network) by the overwhelming majority of the peering community[citation needed]:

Name AS Number September, 2007 degree[1][2] Peering policy
AT&T 7018 1382 AT&T Peering policy
Global Crossing (GBLX) 3549 499 Global Crossing Peering policy (2003)
Level 3 Communications (L3) 3356
NTT Communications (Verio) 2914 254 NTT Communications Routing Policy and Procedures
Qwest 209 828 North America; International
Sprint 1239 880
Verizon Business (formerly UUNET) 701 1452 Verizon UUNET Peering policy 701, 702, 703
SAVVIS 3561

Most Tier 1 networks are headquartered in the United States, except for Global Crossing, which is headquartered in Hamilton, Bermuda, and NTT, which purchased the US network Verio to become a Tier 1 Network and is headquartered in Tokyo, Japan. (NTT is partially owned by the Japanese government.)

10月9日

最赚钱的电影

taken from http://en.wikipedia.org/wiki/List_of_highest-grossing_films

List of worldwide highest-grossing films (ranked by unadjusted amounts)

Rank Movie name Studio(s) Worldwide Gross Year
1 Titanic 20th Century Fox/Paramount $1,845,034,189 1997
2 The Lord of the Rings: The Return of the King New Line Cinema $1,119,000,000 2003
3 Pirates of the Caribbean: Dead Man's Chest Walt Disney Company/Buena Vista $1,066,179,725 2006
4 The Dark Knight Warner Bros. $988,004,670 2008
5 Harry Potter and the Philosopher's Stone Warner Bros. $976,475,550 2001
6 Pirates of the Caribbean: At World's End Walt Disney Company/Buena Vista $960,996,492 2007
7 Harry Potter and the Order of the Phoenix Warner Bros. $938,468,864 2007
8 The Lord of the Rings: The Two Towers New Line Cinema $926,287,400 2002
9 Star Wars Episode I: The Phantom Menace 20th Century Fox $924,317,558 1999
10 Shrek 2 DreamWorks SKG $919,838,758 2004
11 Jurassic Park Universal $914,691,118 1993
12 Harry Potter and the Goblet of Fire Warner Bros. $896,016,159 2005
13 Spider-Man 3 Sony/Columbia $890,871,626 2007
14 Harry Potter and the Chamber of Secrets Warner Bros. $878,988,482 2002
15 The Lord of the Rings: The Fellowship of the Ring New Line Cinema $871,368,364 2001
16 Finding Nemo Walt Disney Company/Pixar $864,625,978 2003
17 Star Wars Episode III: Revenge of the Sith 20th Century Fox $850,000,605 2005
18 Spider-Man Columbia Pictures $821,708,551 2002
19 Independence Day 20th Century Fox $816,969,268 1996
20 Shrek the Third DreamWorks SKG. $797,641,069 2007
21 Harry Potter and the Prisoner of Azkaban Warner Bros. $795,900,000 2004
22 E.T. the Extra-Terrestrial Universal Studios $792,910,554 1982
23 The Lion King Walt Disney Pictures $783,841,776 1994
24 Spider-Man 2 Sony Pictures $783,766,341 2004
25 Indiana Jones and the Kingdom of the Crystal Skull Paramount Pictures $783,584,954 2008
26 Star Wars Episode IV: A New Hope 20th Century Fox $775,398,007 1977
27 The Da Vinci Code Columbia Pictures $758,239,851 2006
28 The Chronicles of Narnia: The Lion, the Witch and the Wardrobe Walt Disney Pictures/Walden Media $744,717,957 2005
29 The Matrix Reloaded Warner Bros. $738,599,701 2003
30 Transformers Paramount/DreamWorks SKG $708,226,810 2007
31 Forrest Gump Paramount $677,387,716 1994
32 The Sixth Sense Buena Vista/Hollywood Pictures $672,806,292 1999
33 Pirates of the Caribbean: The Curse of the Black Pearl Walt Disney Company/Buena Vista $654,264,015 2003
34 Ice Age: The Meltdown 20th Century Fox $651,564,743 2006
35 Star Wars Episode II: Attack of the Clones 20th Century Fox $649,398,328 2002
36 The Incredibles Walt Disney Company/Pixar $631,442,092 2004
37 Kung Fu Panda DreamWorks SKG $623,798,716 2008
38 Ratatouille Walt Disney Company/Pixar $621,421,108 2007
39 The Lost World: Jurassic Park Universal $618,638,999 1997
40 Hancock Sony/Columbia $614,946,274 2008
41 The Passion of the Christ Icon Entertainment $611,899,420 2004
42 Casino Royale Sony/MGM/Columbia $594,239,066 2006
43 War of the Worlds Paramount/DreamWorks SKG $591,745,528 2005
44 Men in Black Sony/Columbia $589,390,539 1997
45 I Am Legend Warner Bros. $584,015,483 2007
46 Night at the Museum 20th Century Fox $574,466,317 2006
47 Iron Man Paramount $573,933,482 2008
48 Armageddon Buena Vista $553,709,788 1998
49 King Kong Universal $550,316,795 2005
50 Mission Impossible II Paramount $546,388,105 2000
8月20日

Can you believe this?

 
In Linux kernel, gettimeofday() can jump into the future for 4398 seconds in multi-core enviroment.
 
This is much worse than the "accept()" call, and as bad as the "debian ssh key" problem.
 
 
" I have seen this as well (on a 2.6.20.4 kernel). The value returned was
always identical each time the glitch occured (just a little over 4398
seconds). I saw it watching packet receive timestamps and on the system in
question, it would generally hit this problem around once a minute. When
moving forward to a 2.6.21 kernel, the problem seemed to go away (also back
to 2.6.17, unfortunately I didn't have any sample points inbetween)."
7月25日

Comparison between MS SQL and Oracle Database

 
 
Microsoft SQL Server 2005 required significantly less effort to install and maintain than Oracle Database 10g. Study participants reported that on average a database administrator could manage over 30 Microsoft SQL Server 2005 databases, while Oracle 10g implementations required one DBA per 10 databases. On average, the annual cost for administration is $2,847 per year per database for Microsoft SQL Server 2005 and $10,206 per year per database for Oracle 10g, more than a 350% savings in annual costs per database for the Microsoft platform.

To assure similar comparisons, the study examined potential differences in the application, load and complexity of the database instances. As expected, the Oracle databases supported more users per database (2 to 1) and larger volume size (3.6 to 1) than the Microsoft databases on average. So it makes perfect sense that Oracle would be more expensive to manage on a per-database basis, but the costs were still slightly higher for Oracle than expected in comparison.

Comparing costs per user supported, we found that Microsoft SQL Server 2005 still has a TCA advantage on a per-user basis, $13.09 per user versus $18.05 per user for Oracle. However, when large-volume databases were examined, Oracle 10g had the lower TCA: $46.76 per gigabyte for Oracle 10g versus $66.58 for Microsoft SQL Server 2005.

Lower change costs, the cost to develop new database applications or migrating existing databases can be 20% to 30% of any database project’s costs and should be a major consideration. As well, the costs for hardware platforms, software licensing, management utilities and business resilience should be tallied, since these typically consume 40% or more of any database project’s cost.

 
 
7月16日

80后的痛

可能很老了。不知道有没有人写70后的。

当我们读小学的时候,读大学不要钱;
当我们读大学的时候,读小学不要钱;
当我们还没能工作的时候,工作是分配的
当我们可以工作的时候,撞得头破血流才勉强找份饿不死人的工作做
当我们不能挣钱的时候,房子是分配的.
当我们能挣钱的时候,却发现房子已经买不起了
当我们没有进入股市的时候,傻瓜都在赚钱;
当我们兴冲冲地闯进去的时候,才发现自己成了傻瓜
当我们不到结婚的年龄的时候,骑单车就能娶媳妇
当我们到了结婚年龄的时候,没有洋房汽车娶不了媳妇
当我们没找对象的时候,姑娘们是讲心的。
当我们找对象的时候,姑娘们是讲金的。
当我们没找工作的时候,小学生也能当领导的。
当我们找工作的时候,大学生也只能洗厕所的。
当我们没生娃的时候,别人是可以生一串的。
当我们要生娃的时候,谁都不许生多个的。

7月15日

Sliverlight Highlights

 
 
Silverlight 1.0 consists of the core presentation framework, which is responsible for UI, interactivity and user input, basic UI controls, graphics and animation, media playback, DRM support, and DOM integration.
    * Input – handling input from devices like keyboard, mouse, stylus etc.
    * UI core – managing rendering of bitmap images (including compressed raster images like JPEG), vector graphics, text and animations.
    * Media – playback of MP3, WMA Standard, WMV7, WMV8 and WMV9/VC-1 streams.
    * XAML – to allow the UI layout to be created using XAML markup language.
A Silverlight application starts by invoking the Silverlight control from the HTML page, which then loads up a XAML file. The XAML file contains a Canvas object, which acts as placeholder for other elements. These elements can be animated using Event triggers. Events like keyboard or mouse movements can also raise Events which can be handled by custom scripts. Programmatic manipulation of the UI is achieved by using scripting languages to modify the Document Object Model of the Silverlight Canvas object.
 
Silverlight 2 includes a version of the .NET Framework, implementing the same full Common Language Runtime version as .NET Framework 3.0; so it can execute any .NET language including VB.NET and C# code. The XAML layout markup file (.xaml file) can be augmented by code-behind code, written in any .NET language, which contains the programming logic. It can be used to programmatically manipulate both the Silverlight application and the HTML page which hosts the Silverlight control. The XAML markup as well as the code, is compiled into .NET assemblies which are then compressed using ZIP and stored in a .xap file.
 
Sliverlight 2 adds support for network communication using sockets, over both IPv4 and IPv6. Sockets can be used for cross domain connections, but Silverlight uses an XML-based configuration file to control the cross-domain resource access policy, both for HTTP connections as well as socket connections. Silverlight sockets can only initiate a connection; they cannot listen for connections.
 
Silverlight 2 includes the Dynamic Language Runtime (DLR) which allows dynamic compilation and execution of dynamic (scripting) languages. Compilers for the languages based on the DLR (including IronPython and IronRuby) are be packaged with the DSL app in the .xap package.
 
Silverlight 2 also allows limited filesystem access to Silverlight applications. The file is sanitized of path information to prevent the application from getting access to information like user name and can be opened only in read-only mode. For local storage of data, Silverlight provides isolated local storage (isostorage), which is stored, outside the browser cache, in a hidden folder inside the user profile's private folder. It is by default set to 1 MB per URL. Data stored by a Silverlight application in the isostorage is identified by the URL that it loads from, can be accessed by that application only. All instances of Silverlight share the same isostorage, so all instances of the same Silverlight application can share the saved data, even if they are running on different browsers.
 
 
6月26日

Spain vs Germany at Switzerland

 
真的是不出所料,西班牙对德国,地点在瑞士,星期天东部时区下午两点半。
 
国家是我们产品在欧洲用户最多的三个国家,时间正好是高峰期。拭目以待。
6月22日

工作看足球--欧洲杯

 
欧洲杯到现在还有三场比赛,德国对土耳其,俄罗斯对西班牙,加上决赛。
 
早在三月份的时候我们开了一次针对欧洲杯的offsite,当时对比赛直播规模的估计是依据世界杯的收视率来算的。尤其是到了关键比赛,比赛国家的收视率(看比赛的人数/人口)可以到40%。如果按照这么计算,我们的极端情况是德国对西班牙(我们用户最多的两个国家)。这个极端是最好还是最坏得看是谁说话。商务部门说好,人越多越好;工程部门说这个是最差情况,人越多系统资源消耗越多。人都说horizontal scaling is easy,可是如果不提前准备,谁也不能在比赛中添硬件呀。
 
过去的两个多礼拜,比赛的进展一步一步的朝我们的极端情况迈进。土耳其最后关头总是能赢,西班牙点球赢意大利。接下来呢,土耳其能打败德国?还是俄罗斯能报小组赛的仇?
 
不管怎么样,我们系统都得禁得住考验。
 
不过对公司的足球迷来说,这些日子是比较舒服的,工作时间正大光明的看比赛,这叫监控。 
 
 
 
 
6月2日

History of Windows

Taken from http://www.pcmag.com/article2/0,2817,2314425,00.asp

1985 November: Release of Windows 1.0, which was announced back in '83; price: $100
1987 December: Windows 2.0, now with overlapping windows and icons!
1989 April: Intel releases the 486 processor; Pentium debuts 4 years later
1992 April: Windows 3.1 released; 3 million copies sold in 2 months
1995 August: Web beware: MS releases Internet Explorer 1.0, two years after NCSA's Mosaic 1.0, the first Web browser.
         Oh, and Windows 95 too
1996 August: Microsoft assembles 20 million lines of code, labels it Windows NT 4.0
1998 June: Windows 98 released, now with integrated Web browsing!
2001 March: Apple releases Mac OS X
2001 October: Twenty ain't enough. Windows XP released with 50 million lines of code
2002 Fragmentation: Windows XP Media Center Edition comes out in October, Windows XP Tablet PC Edition in November
2004 August: Release of Windows XP SP 2, the gold standard for years to come
2006 December: With much fanfare and banging of drums, Vista rears its head. Did the wow just start?
2008 April(ish): Service Pack 1 for Vista released, withdrawn, released, withdrawn, released . . .
2008 May: First official talk of Windows 7 at D: All Things Digital event
2009 July: Windows 7?
 
4月23日

海拔

 
出差去凤凰城,顺便去了一趟大峡谷。去的路上感觉很不错。地貌改变很大,仙人掌树,到仙人掌从,到满地的油菜花,然后是戈壁。我们从red rock county开到89a,也就是oak creek canyon, 经过一段扭来扭去的盘山路开到高原上。扭头看回去真的是比较惊险。
 
大峡谷的景色就没有啥可说的,大家得自己去看。我想提一提海拔变化。我们在i-40上看到一个牌子,Elevation 7335,单位应该是英尺。风很大。算过来两千多米呢。我们打算回来的时候尽量拍一张照片。回来的路上,我感觉那个地方就要到了,刚刚把相机拿出来,我们看到那个牌子从我们身边飞过。。。郁闷。
 
然后沿着i-17一路下来,大多数地方都是6度的下坡,不一会我们就到了海拔6000英尺,看到这个,我们讨论了一会,觉得应该退而求其次,拍个5000得也好,这个时候5000英尺的牌子飞过去了。想着4000可不能错去过了。相机准备好,过了10几分钟,没有看到,这个时候经过了一个山谷,路开始平缓。我们判断4000英尺太低了,估计没有牌子了。就把相机收起来。结果过了山谷,路继续下降,4000英尺的牌子也这么错过去了。。。
 
海拔下降很快,耳朵觉得很不舒服,跟飞机起飞降落感觉查不多。
 
PS 1. i-40就是经常听到了以前的us route 66, http://www.arizonaroads.com/us/us66.html
PS 2. 大峡谷很冷,我们穿着t-shirt去显然是准备不足。

中编办强调落实乡镇干部编制实名制

 

 新华网西安4月23日电(记者梁娟)中央机构编制委员会办公室的3个督查组日前对云南、安徽、陕西、辽宁等省份控制乡镇机构编制和实有人员等情况进行了抽查,督查发现所到乡镇普遍没有落实好国务院关于全面推行乡镇编制实名制管理的精神。为此,中编办强调各地要落实乡镇干部编制实名制并及时公示,让乡镇干部都明白本乡镇干部的编制性质,充分发挥干部对编制管理工作的监督权,确保乡镇机构编制和财政供养人员在“十一五”期间“只减不增”。

  中编办监督检查组在督查中发现,各地仍有部分乡镇存在“超编进人”、编制家底不清、严控编制意识淡薄等问题。尤其是乡镇普遍存在编制实名制管理公示落实不到位的情况,一些乡镇只是登记了工作人员名字和岗位,但并没有说明使用的是行政编制还是事业编制,更没有将编制实名制进行公示。有些乡镇干部不知道自己是公务员还是事业编制,甚至一些乡镇的党委书记或者乡(镇)乡也不完全清楚谁是公务员,谁是事业编制。

  编制实名制,是指将编制管理和人员管理紧密结合,严格按照核定的人员编制数额及编制性质,配备相应的工作人员,实行定编到人,并将编制性质和配备人员名单向社会公示的一种管理制度。国务院要求全面推行乡镇人员编制实名制管理,可以有效防止超编进人、混编混岗和超职数配备领导干部等问题的发生。在编人员的姓名、职务、编制类型等信息通过公示,让每个乡镇干部都明白自己是行政编制还是事业编制,或者是没有编制的临聘人员,避免混编混岗管理带来不必要的矛盾纠纷,同时有利于发挥干部群众对机构编制管理工作的监督权,杜绝“吃空饷”、超编进人等违规行为的发生。

3月10日

想象力与记忆力---最差进行时?

 
昨天看了一段Celine Dion的拉斯韦加斯的演唱会片断。怎么说呢,比较失望。我看的是大学的时候最喜欢的那段"To Love You More"。但是演唱会上看到她的表演,跟期待差距很大。不能说听歌的时候在想象什么,但是看到具体的画面就是觉得没有声音体现的震撼力。面部表情,扭头,踢腿,怎么看都觉得格格不入。看来事情还是模糊一点的好。可惜的是我看得片断还是blue-ray的。。。
 
记得我很小的时候去了一趟蓬莱阁,那个时候还是宣传的蓬莱仙境,还有八仙过海电视剧的渲染,觉得那里应该是好得不得了。不过到了地方,大失所望。印象最深的倒是宰人的蓬莱水饺。不过现在看看那个时候的照片,和隐隐约约的印象,感觉蓬莱没有那么差劲,还是有点人间仙境的样子。
 
另外一极端是典型的“好了伤疤忘了疼”。小时候打青霉素跟另外一种什么素的混合针,当时疼得都不能走路,现在完全没有疼得印象了。还有前几年喝酒喝多了,难受的都睡不着,现在就记得第二天起来庆幸没有头疼的后遗症。。。
 
然后我就有了这个想法,如果说想象力(或者期待)指的是未来或者未知的事情,而选择性记忆说的是过去的经历,并且两个都是跟事实有偏差(往往都是往好的一面的偏差),那么现在我们正在体验和经历的岂不是感受事情最差的一面的时候?Can we say we are always experiencing the crappest time of any experience?
 
 
3月3日

体育运动的直播规模

Top ten most popular sporting events up to 2004.

1. 2002 FIFA World Cup Final (1.3 billion viewers)
2. Euro 2004 Soccer Final  (153 million viewers)
3. 2004 Olympic Games: opening ceremony (127 million viewers)
4. 2004 Olympic Games: closing ceremony (96 million viewers)
5. 2004 Super Bowl (95 million viewers)
6. 2004 Olympic Games: men's 100m metres (87 million viewers)
7. 2003 Champions League (67 million viewers)
8. 2004 Olympic Games: men's 200m freestyle swimming (66 million viewers)
9. 2004 Formula One: Monaco Grand Prix (59 million viewers)
10. 2004 Basketball: NBA finals (25 million viewers)
 
足球简直是不可想象。奥运会也不赖。
 
PS: The 1.3 billion figure for the 2002 FIFA World Cup final includes reruns and highlights. So, the number one should be this.
 
1. 2006 World Cup Final (300 million viewers)
 
3月1日

推荐几本项目管理的书

 
最近打算浏览一下这几本书(技术管理相关的)
 
 
说实话我总是觉得这些关于项目管理的书都是把常识类东西理论化。不能说是骗人骗财,但是总是觉得有些空洞。估计这就是做工程和做商务的区别了。
 
靠,工程学生和商务学生的区别,这个题目居然还是一篇论文
 
 
2月29日

CTO vs VP Engineer

 
原链接, 另外一个引用
 
The VP of Engineering:
“They are process / management gods (and goddesses) – totally focused on building and shipping products. Most of them are “medium technical” – strong enough to stand up to the engineers they manage, but not necessarily the best coders on the team.”
The CTO:
“In contrast, the great CTO’s usually can’t manage their way out of a paper bag, but have huge vision, the ability to pull an all-nighter and crank out a rough prototype of the thing they are thinking about, have the unique ability to translate complex / abstract thoughts into simple English that a non-technical end-user can understand, and a willingness (or even desire) to get up in front of 1,000 people and talk about the latest greatest thing they are working on / thinking about. “
 
另外一个很大区别是事业路线,CTO走的是还是技术,但是VP Engineering已经是管理了。技术和管理,更广一点是工程和商务,完全不同的概念。关于这个下次再写。
 
再摘一段
Once an organization has more than 20 people, there needed to be a separate CTO and VP Eng.  In cases where there was only one person trying to do both roles, there were three possible outcomes:
1) He was ineffective at both
2) He defaulted into the VP Eng role
3) He consciously chose the VP Eng role and left the CTO role to the technical CEO (this only worked when there was a technical CEO)

越来越觉得我们找到一个很不错的VP Engineering. 也发现VP Engineering这个职位不是我的兴趣所在。
 
2月25日

xbox with blu-ray?

External Blu-ray player for Xbox?
A one-act play:
HD DVD: Microsoft?
Microsoft: What is it, honey?
HD DVD: If I die ... will you ... will you remarry?
Microsoft: (chuckles softly) What kind of question is that?
HD DVD: Well ... it's just. Well. I think you should. I want you to be happy ...
Microsoft: SWEET!
 
Taken from dealnews.