星期二, 十二月 30, 2008

孕妇胎死腹中被弃急诊室4天 丈夫失踪

这么穷生这么多,超生的凭什么给低保?

PT42软件-Blog_Backup

"Blog_Backup 是一款功能完善的博客备份软件,支持国内所有大型BSP,可导出内容为多种格式。"

nueMassStorage


'nueMassStorage enables you to use your Titan/Vogue as a USB Flash Reader, giving you direct access to your flash drive on computers or other devices that don’t have Activesync.'

need to switch between modes...

星期一, 十二月 29, 2008

Sharp to book $555 million extraordinary loss - MarketWatch

not a good time to join sharp as contract to hire, IMHO.
Some thoughts - 'rapid development'

Reading a chapter of this book today and I had a sudden thought. It mentioned a commitement based development and it sounds like developers are mindless coding machines who have no idea what's needed to be done and when. So they sent people who dont know technology to determine what can be done and when? No wonder they dont think there's any 'rapid development'.

星期五, 十二月 26, 2008

云南纪行-丽江

云南纪行-丽江

回到丽江还是下午,gxw住在木王府附近的忆栈,这家搞了些情调的东西出来,淡季依然要160一天,而且房间还都租完了。边上的悠然居才100,有空调的双人间,后来我一个人住才50。丽江古城现在俨然已经成为一个大商场,各种卖东西、卖吃的店铺、旅馆还有就是酒吧。4个人打车到古城外吃饭,腊排骨火锅,感觉一般,比在中甸吃的牦牛肉火锅稍微差点点,整个饭馆就我们4个人吃。

困扰我多天的感冒终于好些了,第二天退了房打车去了速河,新建的部分面积很大很漂亮,但是我觉得很煞风景,在丽江边上建这么个新商场实在有点多余了。饭馆和酒吧所在的河边很有点情调,淡季稀稀拉拉没几个游客。

过了座桥来到了原来的古城部分,这里明显好看多了,虽然面积不大,九鼎龙潭边上的公园感觉也是扩建的,桥附近还在施工,古街的感觉和丽江有些类似,随便绕绕就到了民居,外面还有些农田,倒是很写意的样子。中午在河南老板开的正宗川菜馆吃了炸得很酥的纳西烤鱼和别的一些东西,下午回到丽江小周就回昆明了。我拎着行李没找到四方街附近便宜又有空调的旅馆,所以还是回到了悠然居。

傍晚一个人上了万古楼看了看丽江古城全景,晚上没什么胃口,随便吃了些酥饼和牦牛酸奶,找不到人聊天感觉很无聊,早早回到旅馆睡了。

丽江-关门口 纳西古文字

丽江

悠然居这里可以从古城另外一个方向出去,有个古城庙会,目前看起来刚开发,没什么东西。对木王府没啥兴趣,没进去参观,边上还有个白马龙潭,门口有这里的特色:三眼井,按照流水的方向,三个水池粪便用来饮用、洗菜和洗衣服,还是很科学的。

第二天早上去拉市海,本来想自己找条路徒步的,到了才知道原来这里都是村子,不能随便旅游,只好花钱参加骑马活动,被黑了一笔。一路有些水潭,最上面的水源头就是一个七仙女池的边上,对面是另外一个村子的领地不让过去。山上石头刻了个“茶马古道”字样,这边的路大概都是从云南过去送东西到西藏的,哪里都是茶马古道,实在没啥新鲜的。因为我是单独去的,碰上了90多人的一个招行信用卡开会团队,给我的向导是一个人,自己也骑马那种。和广州分行的几个朋友聊了聊天,他们行长兄弟只比我大一个月。在山上吃了向导做的饭,味道还可以但是没什么胃口,感觉感冒还没有完全好,在中甸买的药已经吃完了。


骑马回来还去了拉市海。

回去蹭广州来的一对夫妇包的车去了白沙古镇和白沙壁画。这个古镇还没怎么开发,进了门就看到一排很破败的房子,有鸡豆凉粉吃,据说就是豌豆鸡汤凉粉,所以也没吃。小镇子走几分钟就到头了,有不少人从丽江租自行车骑到速河还有这里。路边的小店看起来都是些骗外国人的假古董,几家里面稍微布置了下的客栈外面没太多修饰,不过招牌充满了英文。白沙壁画30块门票,只有很小的一建庙里面有破破烂烂很小的一块壁画,怎么看都是没钱修佛就用这个充数的感觉。真要挖掘内涵还不如去看书和上网看资料。

白沙古镇

白沙壁画

晚上回到丽江,继续在街上闲逛,在酒吧街招行广州的人,进去才知道普通的伏特加,在美国10块一瓶的,这里至少要298人民币,啤酒400一打。那个行长还挺能跳舞,挺能玩,不过和他们也没太多话说,继续自己溜达。在四方街看到纳西舞蹈,有音乐时候没有挤进去,后来音乐停了,一个纳西老人看到大家还在,继续招呼大家拉着手跳,另外有个小伙子用一支笛子吹着简单的旋律。有些舞步很简单的,一只一只跳下来也出了不少汗。一个人也不想吃炒菜,最后溜达到另外一边新开的地方吃了些烤串儿。辣的晕晕乎乎的回去倒头就睡了。

第二天早上很早起来了,到了7点丽江停电停水。在昆明停留了6个小时,自己逛了逛步行街,吃了点乱七八糟的东西,半夜终于到家了。

云南纪行-中甸(香格里拉)

从桥头坐长途车一路可以看到很多藏人或者纳西人的村落,在夕阳下面黄黄的草地,山丘都很漂亮,可惜在车上不是很容易拍好。天黑了到中甸,在昏黄的路灯光中看不出来和别的小城有太多的分别。在大巴站和小苏,小周还有另外一个不认的背包族搭上了出租车去城里。路上聊起来,这个福州来的女背包已经赚了3个多月,基本每年都是这么转,西藏暴乱的时候她在西藏,最近又去看了冰川。小苏和她都跑到青年旅店hostel去了,问了问价格觉得太高,小苏说让我们去古城那边,淡季便宜。
路边的村子

问了香格里拉古城门口第一家藏巴拉,觉得挺便宜就住进去了。晚上正好另外两个网友也说在古城,溜达一圈结果发现他们在新城,天气很冷,回来旅店吃了牦牛肉火锅,喝了点点免费的散装青稞酒。旅店只有另外一对上海来的夫妻,约好第二天一起包车出去。晚上因为3400米的海拔,酒精和感冒的三重作用,在电热毯的烘烤下一个晚上心跳都很重。

早上在十字路口对面的小摊吃了早饭,回来发现师傅已经在等我们了。上午去的蓝月谷/石卡雪山,两段索道220元,旺季还多50元门票费。索道上到中间,看到了不少穿长羽绒服的旅行团人员,据说牦牛受不了山脚夏天的温度,所以每年有3-4个月需要赶到山上来。半山腰这个牧场还挺开阔的,地上的草和树上面都是冰晶,阳光照射下来,从树上融化下来在空中仿佛小雪纷纷飘落。
半山牧场
结冰的树

山顶铺的木板道路让我想起黄石公园和Maui的山,四面都有雪山,天气晴好,太阳暖暖的照下来,大衣都需要解开些。山顶有牌子说远处是梅里雪山,虽然客栈梅里来的小妹看了我们的照片说像白马雪山,不知道牌子是不是骗人。只有梅里上面可以看到雪,虽然前两天说下雪了,但是石卡雪山上面还不都是白色的。上山前介绍说可以从山顶走几个小时到一个湖,不过问了下,没有路过去。藏人在山顶堆了很多石头和木头用来拜祭。在4500米高的山顶,我和小周两个上下台阶都感觉费力。
石卡山顶
中午回城吃了午饭,没什么胃口,随便点了菜。司机说普达措现在不好看,不值得190的门票,所以只去了纳帕海。枯水季节草都是黄的,地上很泥泞,草海和湖面上面有很多灰白色和红白色的鹤,体形都不大,稍微接近些就都纷纷飞向远处去了。没有大炮头,虽然抗了相机也拍不下什么来。骑马的价码很贵,司机说藏人就靠这个赚钱,最近看朋友说可以照1/3的价格砍,不过纳帕还很小,骑马走不了多远,就算1/3的价格我觉得还是贵。
纳帕海

晚上在古城看到藏民在跳舞,比前天晚上暖和了许多,我也在里面跳了阵子,步法大多很容易,不过有些高手跳的很好看,很复杂。小周同学不爱说话,也没有参与进来跳舞。从黑洞洞冷冷清清的街道走过去,有个新建的庙,边上立了全世界最大的藏经桶,一个人是推不动的,和小周一起推着转了三圈。
藏经筒

开车的司机好像是叫做松茸达成,看起来很羞涩,不过其实话不少,光他开车一年就有6万块收入,家里应该还有大量的牦牛什么的。他说他信达赖,信班禅,也信毛主席,信共产党,经常去各种山朝拜。石卡现在有索道,他这种经常带客人上山的司机,每年新年朝拜时候就可以免费上山,不然以前要走一天才能上去。他也去梅里朝拜过,大圈走30天,小圈走15天,坐卧铺车去西藏也要几天。感觉他们的闲暇时间都用在朝拜上面了。
松赞林寺

第二天天就阴了,本来就很冷的香格里拉市停水停电,我们和另外的夫妇都退房走了,老板念叨着过几天就关门回家,不然还要供那么多人吃饭。上午看了松赞林寺,小苏说他逃票走过去的,藏族司机不推荐逃票。我们从上面走下来,门口有非专业导游专门收费解说。这个寺规模不算很大,因为正在装修,搞了一些卖东西的摊位来筹款,还没有峨眉山搞得那么过分。
天生桥上面的茶马古道
温泉

下午是我听说的一个地方,天生桥温泉,门票就是看看所谓古道,没啥时间和精力走,温泉收费实在不算低,司机说他们全家来泡七天,去藏人泡的一个简单的地方,才3元,而我们泡一下最低要50。天气很冷,除了我们就没有别的客人了。出水的地方还是很烫的,水里面硫磺很浓,沙滩裤上面都是厚厚的一层。哆哆嗦嗦的下去,哆哆嗦嗦的上来,冲澡的地方稍微有点地热取暖,哆哆嗦嗦的冲好,哆哆嗦嗦的穿上衣服。去梅里沿途看风景要开5-6个小时,我的行程多一天,本来有点想去,但是天气很阴,远处的山可以看到在下雪。估计去了也看不到梅里,所以也就作罢,坐车回到了丽江。

云南纪行-徒步虎跳

晚上到了丽江,住在万古楼边上的茶马古道客栈,这个在山上,安静还算安静。下飞机时候温度感觉超过20度,从遥远的机场坐大巴到了客栈感觉就很凉了。和大多数这里的客栈一样,晚上只有电热毯,怀疑就是这么开始感冒的。第二天早上起来坐去香格里拉的长途车到了桥头,商店存包都要八块,还都宣称是最便宜的。走到徒步客栈的路上被收了五十块虎跳门票,客栈存包只要五块。

玩山上走,一路是有土公路的,每次车过都尘土飞扬。40分钟以后到老马客栈开始就只有茶马古道的羊肠小路走到山顶,而公路在下面偶尔可见。客栈的老杨可能看出我快走不动了,又走了40分钟,我只好上了他不便宜的骡子接着走。zhouyp同学体力很好,一路走到了山顶。金沙江被对面丽江的玉龙雪山和这面中甸的哈巴雪山夹着,今年是暖冬,对面山上的雪很少。淡季同时也是旱季,空气挺干燥,江水小很多,也很清。


走了阵子到了纳西人家(naxi family)吃午饭,这地方是个旅馆都有英文名字,有的没看到中文名字,只看到英文名字。吃的炒牛肉(干巴牦牛肉?)味道还可以,价格也不算贵。这次穿的防水靴子太重了,DSLR虽然只有18-55的头,分量无论在背上活着脖子上也实在不算舒服。从这里向上走,不多远就到了28拐,以前的游记见到有说24拐的。如果从中虎跳 /下虎跳往这边走应该会轻松一些,毕竟少了这段大上坡。山顶有卖水的,价格不算很黑,一块突出的石头被用木头拦着,一个老太太收钱说要5块8块,实在很过份,上去看的景色也实在一般。



玉龙雪山

从山顶下来的路就好走多了,一路上面都有信号,赞一下强大的中国移动。zhouyp同学还时不时接到工作电话,估计漫游话费不低。走到茶马古道客栈的时候天已经开始有些暗了,这里的住宿费用高些,不过看起来环境好些,免费给我们提供了茶水,在此表示感谢。


免费茶水所在的茶马古道客栈

走到计划中的中途客栈(halfway guest house),没看到中文牌子,里面至少有三个服务人员,但是没一个主动问我们任何事情的,无论住宿还是点菜。住得很便宜,房间没有厕所和淋浴,在这里追上了台湾来的小苏,两个丹麦人和一个法国人。因为怕冷没有洗澡,半夜5点多起来的时候,满天的星星很漂亮,可惜没有三角架,镜头也不行,拍不出来。一丝丝的山风吹过,一点都不冷,感觉比前一天傍晚还要暖和。




中途客栈



门口的英文牌子

第二天和小苏一起走,被他鼓动我一路走到新渡口坐船到大具…太阳到了10点多还没有照到我们所在的山谷下面,路上到了岔路都需要好好找找箭头,不然就不知道走哪里去了。山路上面有个岔路直接到张老师家客栈,直走貌似是去Tina’s G.H.,我们最终选择了下去,所以这次没有看到Tina’s。下去以后就到了下面的公路,从张老师家下中虎跳要十块,路铺的倒是还好。地下有个所谓天梯,我们让最有体力的小苏一个人上去,他说到了中途有个牌子说继续向上还要给另外一家交钱…基本上水中的石头都标了所谓上虎跳石,中虎跳石,下虎跳石,个人觉得难说哪个是真,哪个是假。第一块那里我觉得最好,有个小架子上“发呆石”,雨季这些都要淹没的。卖东西的大姐知道没什么客人,给我的茶杯加水只要了一块,最后我犹豫了半天还是没在她那里买别的东西。



路上的泉水,雨季估计就是大瀑布了



泉水/小溪



金沙江



那个发呆石上面看起来真的很好,就在江水中,坐在边上感觉金沙江就在脚下,江水也算湍急,涛声灌耳,听着听着就不知不觉开始发呆起来。



地标



江水滚滚而来



凿出来的栈道

下虎跳据说政府没有开发,收的50块钱就是短短一段上虎跳的,从中虎跳这里开始,包括张老师的路,都是零零碎碎收费的。往前走这个村收五块,向上走天梯到Tina’s收十块。我们沿江前行,另外一个村子还要收十块,不过我们在小苏的教导下,给那个小姑娘塞了五块钱走人。后面的路上面有一些溪水留下来,防水的厚重皮鞋终于排上了用场。如果是雨季,后面很多段据说都不能走了。



走到最后只有下去看一个白白的所谓下虎跳石的路,只好折一小段回去上山白脸(woody’s),号称一千米。走得实在太累了,小苏一个人蹦蹦跳跳先上去了,zhouyp让我自己慢慢走,他在后面。一路爬坡,我一个人开始数步子,按照一步半米计算,数了600多步终于见到了小苏在一个村子里面,已经问了车子,说是回桥头八十到一百,最后大概800多步到了客栈。Zhouyp在下面打电话说他找不到路了,最后请司机把他找了上来,在山白吃了简单的炒饭就上车了。
熊司机收了我们八十块,说他在组织村民承包下虎跳开发,电话(?)。在桥头取了包,很快坐到了去中甸(香格里拉)的长途车。

云南纪行-昆明
这次去云南之有一周时间,从北京到昆明以后,转机去丽江还有4个小时的时间。航班之间不是联运,去了行李寄存好,打了个车就去了滇池。
天气非常好,阳光明媚,滇池给我的感觉比想象中要小,司机说是老毛时代填湖造田把400里滇池弄得只剩下200里了(?)。
湖面上的红嘴鸥不少人在喂,大堤面积不大。一路上看到超过10对新人在结婚照相。
忘记大堤这里叫什么名字了,周围停车的位置也不是很多,喂鸟的面包一块钱一个,很多人在放风筝。

从这边离开,司机开车带我经过了中国足球训练基地还有云南大学分校。从小路穿过去滇池的另外一边要宽阔很多,湖水依然充满了绿色的藻类污染。

从地图上面看,更远的地方滇池应该更开阔,可惜都是云南华西村-福保村的地盘,地图上面也没看到有路过去。
司机把我放在机场附近江氏兄弟过桥米线摊子那里,这家只有两种东西可点,五块钱的过桥米线,十二块的凉拌鸡。




后来碰到几个人说他们去的地方过桥米线分很多等级,有不同配料,我去的这个地方很简陋,貌似只有当地人在吃,东西味道还好,虽然也没什么太过特别的。

星期二, 十二月 23, 2008

美国环保男子实验一年不扔垃圾(图)_新闻中心_新浪网

喝了那么多饮料还环保个屁啊。

星期一, 十二月 22, 2008

赠台大熊猫“团团”“圆圆”明年有望圆房_新闻中心_新浪网

"按照惯例,“团团、圆圆”并不能马上于台湾民众见面,它们还将再隔离检疫30天,一切正常的话才会向公众开放。为了满足大大小小的熊猫迷,动物园将以3支以上的高倍数监视器,24小时清清楚楚地拍下大熊猫的一举一动,包含它们吃饭撒娇游戏的逗趣画面,再上传到大熊猫保育网的实时影音专区。"

让大家隔着玻璃看不就完了。

200余名中国劳工被中介公司骗至罗马尼亚受困_新闻中心_新浪网

罗马尼亚人不是什么好东西。

星期日, 十二月 21, 2008

高三学生索债被高一学生砸死后弃尸校内(图)_新闻中心_新浪网

这种事情属于公诉啊,赔钱就可以了事?

星期五, 十二月 19, 2008

看《解放战争全纪录》

这书估计有年头了,整个笔调倾向性过强,不过透过字里行间还是能看出很多东西来。蒋介石别说外战外行,他根本就是打仗外行,手底下的军队素质也不行。就像《明朝那些事儿》最近写的部分一样,农民军几万人,被曹全诏三千关东铁骑杀的稀里哗啦,蒋介石自己不会指挥,不会用人,部队数量多,除了增加补给困难和开销,没什么好处,被共产党各个击破实在是应该的。
'unemployment rate'
heard from CNBC this morning, that the official 'unemployment rate' (6.7% now) is not really the rate we want to know, it's actually labor underutilization measurement that we should know, which is at 12.5% now. it was over 16% in the 80's. not sure how that's calculated but maybe there's some other even higher rate that we REALLY want to know besides those two, taking into account other factors that are probably unmeasurable.

星期四, 十二月 18, 2008

Thoughts

Garbage companies here are competing and they have their own trucks and drivers. I wonder if they can just work together, pay those truck/drivers together and have their different contract with residents.

星期一, 十二月 15, 2008

星期五, 十二月 12, 2008

will smith - 7 lbs首映

我们这里收音机台作采访,我们这里首映前250个带non-perishable, unbreakable
food的人可以和他见面,电影开映前他还会作介绍。然后他说让大家捐食物是因为
democracy, capitalism assume people help each other out, it's not like
socialism or communism where people rely on the government。

要我说,如果大家都help each other out,那个才不是capitalism,那个是communism
...

星期四, 十二月 11, 2008

音著协官员就卡拉OK版权费发表文章反驳媒体_新闻中心_新浪网

音著协官员就卡拉OK版权费发表文章反驳媒体_新闻中心_新浪网
官员?自封的官员?那些艺人和唱片公司授权他们这么疯狂收费了呢?他们收费以后的用途谁来管?

广东:收费站不开足通道塞车5台以上应免费放行_新闻中心_新浪网

广东:收费站不开足通道塞车5台以上应免费放行_新闻中心_新浪网
扯淡,美国收费站堵车多了去了,也没见这种规定,所有收费口都开一样能这么堵。

星期三, 十二月 10, 2008

sample bias

国内现在孕期糖尿病都用美国标准,据说大量的人都不能通过,个人觉得和这个美国gold standard的sample bias有关,美国这里的family physician也说90lb体重的,平时不吃糖的人很可能不能通过糖耐测试,何况这种测试方法据说也不是最好的,好像测蛋白什么的是最好的,但是不容易进行。美国的人群整体体重比国内,特别是南方小体形的人高很多,成天吃糖比例很高,而且饮食结构相对中国来说要简单单调很多。国内地区体形、饮食结构差异也比美国大。个人以为国内之所以用美国标准也是因为自己没有钱,不打算投入钱做自己的研究,而且国内这个研究的挑战也比美国大。这个糖耐如果可以做成一个和体重等身体特征相关的多元函数,我觉得可能会比现在简单的测定范围的方式好很多,虽然对美国大多数人来说可能无所谓。

星期一, 十二月 08, 2008

大闸蟹和普洱茶

在北京家乐福和欧尚见到大闸蟹卖,最小的88/斤,大几毫米的198/斤,依次是299,398,498,农贸市场上面是20/斤,有大有小,可以自己挑。google了一下,家乐福在阳澄湖开捕之前就上海卖大闸蟹,上海便宜许多。小时候吃的真正回游过的闸蟹,要大很多。现在所谓阳澄湖有防伪标志的,大小也都是人工养殖没有回游过的。

普洱茶据说掉价很多了,在朋友包车上面和纳西司机聊天,他说以前都是茶树也打的砖茶才是普洱,最便宜最低等的东西,这些年炒作起来,用绿茶来做普洱也有的。拉市海那里的茶社喝了下,先喝了哭茶,之后喝的两种普洱都是核桃味道的感觉。有些还标着7-8年陈茶,号称如何如何好,炒作普洱茶的历史,不知道有没有那么久。

法国外交部表示愿继续与中国保持战略伙伴关系_新闻中心_新浪网

法国外交部表示愿继续与中国保持战略伙伴关系_新闻中心_新浪网:

"“我们最近已经召见了中国驻法国大使,重申法国希望以对话、相互信任与尊重的精神继续保持法中两国之间、欧中之间的对话与战略伙伴关系。”"

够不要脸的,就这德行还好意思说相互尊重?

朝令夕改_百度百科

朝令夕改_百度百科
解 释 早晨下命令,晚上就改变。形容政令多变,让人无所适从。也形容主张、办法等经常改变。

寻秦记里面看到这条,感觉现实意义很强。

星期五, 十一月 14, 2008

Why does my shared [Remote Desktop] clipboard not work? (Part 1) - Greg's Cool [Insert Clever Name] of the Day

Symptom: Remote-to-local copy and paste broken.

Possible Cause: RDPCLIP is not in the clipboard viewer chain.

Possible Solution: Kill and restart RDPCLIP.

Symptom: Local-to-remote copy and paste broken.

Possible Cause: TS client is not in the clipboard viewer chain.

Possible Solution: Close the TS client and reconnect to the session.

Symptom: RDPCLIP or the TS client is using excessive CPU.

Possible Cause: There is a loop in the local or remote clipboard viewer chain.

Possible Solution: Kill and restart RDPCLIP. If this does not fix the problem, close the TS client and reconnect to the session

网际快车 FlashGet 去广告补丁 及其 制作方法 [支持现在最新版本] !�

广告多的受不了了。

司机将乘客锁在起火出租车内致其死亡_新闻中心_新浪网

这个司机嫌5年半太重的话,把原来的车找来,把他放进去点火直接烧死就好了。
Copy file...

The copy & paste doesnt work very well but I can understand. I am working on machine A, which has a virtualPC B running on it. From B I use remote desktop to connect to machine C. So when I want to copy something from C to its tsclient mapped drive Z, which is actually a drive on A which is mapped as network drive Z on B, it didnt go so well.

星期四, 十一月 13, 2008

WoG (en)

Heroes of Might and Magic 3½: In the Wake of Gods, it was created in 2001, I didnt know this until now, from wiki.

江苏亿万富翁欠银行数亿元深陷债务危机自杀_新闻中心_新浪网

这些人比美国大公司的CEO强多了,后者拿了政府的钱就拍拍屁股一走了之。

星期三, 十一月 12, 2008

供需关系的问题

要说美国现在国债高筑,物价应该暴涨才对,可是现在石油价格暴跌,貌似产品成本的压力不是很大。而厂家大多是因为过去的压力和追求更高的利润才去涨价。

另外黄金本来应该涨价,因为美元贬值,可是看起来黄金这东西需求不是很旺盛,也跟着大盘跌。

星期二, 十一月 11, 2008

贵族学校

想到这个话题,其实贵族学校应该是在郊区,全封闭。小区内学生禁止使用手机,增加体育课程,自我防身还有射击课程。学生需要能吃苦,以后才知道怎么做有钱人...

学生军训后死亡家长状告学校_新闻中心_新浪网

我的中学同学就在大学第一年军训这么死的。

星期一, 十一月 10, 2008

good article to learn about .net memory issues.

if object is over 85K, then it's in LOH(large object heap), which is never compacted(?). So load/release a lot of different large objects can cause some problems.

星期五, 十一月 07, 2008

云南律师上书国务院:昆明打击黑车新规违法_新闻中心_新浪网

赞这句:
"一个成熟的国家而言,个体的违法不足惧,可怕的是公权力的专横和滥用。"

女婴被爷爷扔下铁轨失去双腿续:已安装假肢_新闻中心_新浪网

这年头好人还是很多的,残害自己亲孙女的老头儿没有被判刑,实在是遗憾。

AJAX & Silverlight Framework for Web Applications - Visual WebGui


interesting demo about this today, it looks quite smooth. ajax but in winform style, much easier to use.

make sure IIS is installed, after installation of SDK, go to IIS config->sites->default sites->properties->home directory, click configuration, make sure asp.net config is on, check .aspx extension and create a new one with .wgx with same configuration.

for web application in vs.net 2008, you need to set project properties->web->specific page to form1.wgx(or what ever you want to start with).

Tone Poem : SqlClient Timeouts Revealed

"Just some notes from recent discussions internal and external of how timeouts work with SqlClient. First a classification of where timeouts can occur with SqlClient"

星期四, 十一月 06, 2008

guns dont kill people

heard this on comedy radio today, they say actually bullets kill people and guns do HELP kill people. for gun advocates, maybe we can tell them that nuclear weapons dont kill people, just let everybody have some.

叶梦无奈转学仍不能摆脱骚扰_新闻中心_新浪网

当年被强奸都不报案?
BBC talked about cloud computing

well, when non-tech people want to boast those concepts, you know it's just like that stupid NPR future trends show. internet has been able to have some shared funcitonality, I use gmail/flickr/google docs etc but it's based on PC, instead of replacement for PC. they tried HTPC, where a normal pc with fancy case and some useless stupid MC software for hyped price. they trie WHS, a box with less functionality than a PC with xp pro for hyped price. see how epc works? it's enough computing power, enough resolution, functionality at REDUCED price, they sell more htan tens of millions... I'd like to have files more sync between my PCs (not really mesh style), but everything online? no thanks.

星期三, 十一月 05, 2008

1岁女童从医院3楼坠落致脑部受伤_新闻中心_新浪网

1岁女童从医院3楼坠落致脑部受伤_新闻中心_新浪网
如果像ridgedale mall那样厕所有儿童座位就不会有这种事情,另外应该带童车(stroller),那种可以把孩子绑在上面的。
social issues

gay 'marriage', that's not 'marriage', what ever else you want to call it or claim it, it's not gay marriage. if you support man/man, woman/woman 'marriage', you should not discriminate against people marrying their relatives, children, poligamy etc.

health insurance should cover basics for everybody, that's the base of insurance, only with a large group base, the odds will be enough for this to make sense. so individual picking what he wants or not would not work.

SPI - special processing instruction, when the system has too many of those, it means it's a bad system and needs redesign, those should processing instruction instead of tons of special ones.

星期二, 十一月 04, 2008

35工人遭8名保安围砍5人受重伤(图)_新闻中心_新浪网

难道不是先把8名凶手先抓起来?

女子自称公务员驾车将停车场管理员拖行200米_新闻中心_新浪网

恶劣的故意伤人事件,难道就不先刑事拘留?

乘客用百元买车票被找零钱100张引发争执_新闻中心_新浪网

贴个标签,不收10元以上的票子,请在车下自行找好零钱。

How to enable IME on a custom UserControl? - .NET

"By default, the system associates the input context maintained by the
default IME with each window, i.e. a control on a form, as it is created.

When a window is activated or gets focused, the system sends the
WM_IME_SETCONTENT message to the application. Then the application sends
this message to the default IME window.

Note that at this time, those controls that don't require text input, e.g.
Button, UserControl, Panel and so on, will remove the association to the
default input context from themselves. So, the the default IME is disabled.
In order to enable the IME on a custom UserControl, we could call the input
method manager (IMM) function 'ImmAssociateContext' to associate the
default input context to the custom UserControl at this time."

星期一, 十一月 03, 2008

How to hide Language Bar - MSFN Forums

;Hide CTF lang bar.
[HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar]
'ShowStatus'=dword:00000003
'Label'=dword:00000000
'ExtraIconsOnMinimized'=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar\ItemState\{ED9D5450-EBE6-4255-8289-F8A31E687228}]
'DemoteLevel'=dword:00000000
'DisableDemoting'=dword:00000001

云南西北部旅行攻略(一月) (云南 昆明 大理 丽江 迪庆·香格里

1月19日 早8点,向导和包的车还有司机已经在客栈等我们了,我们出发前往虎跳峡最壮观的中虎跳,途经古雄香格里。从上面徒步下去有两条路,天梯和张老师家小路,前一条更艰险。我推荐后一条,因为前一条全是梯子,爬久了会乏味。下去上来一般玩4小时左右,我们用了3小时。之后我们前往香格里拉,途经藏家楼,与一群藏家孩子玩了会儿,住香格里拉宾馆。晚上向导带我们到了市里一家味道最棒的店,吃毛牛肉�"

苦中做乐-香格里拉行 (云南 迪庆·香格里拉 2日自助游)

"苦中做乐-香格里拉行
出发地点:云南 丽江 云南 迪庆·香格里拉 2日自助游 同行人数:5人
文章类型:游记 出游时间:2006年7月2日-7月4日 人均费用:500元
出游类型:自助游 享受级别:快乐舒适,休闲轻松 暖冰 提供
交通工具:汽车为主 目的景点:云南 迪庆·香格里拉 白茫雪山 哈巴雪山自然保护区 卡格博峰 梅里雪山 明永冰川 纳帕海 松赞林寺 虎跳峡 哈巴雪山 神女峰 卡瓦格博 飞来寺
文章地址:http://www.izy.cn/travel_notes/d92/26210.html 复制网址"

村主任选举场面火爆遭网友质疑(组图)_新闻中心_新浪网

这个“锅炉工”属于五毛网评员么?

星期五, 十月 31, 2008

公司老总非法经营股票 自称初中毕业啥也不懂_新闻中心_新浪网

不懂也敢干,果然是想别人不敢想,做别人不敢做。

星期四, 十月 30, 2008

The Nokia Phone Blog » Blog Archive » Accessory: Freedom Mini Bluetooth Keyboard Preview

nice toy, cant find it on ebay yet

8Bit Joystick.com: I need a Mad Catz RetroCON

I saw this at circuitcity long time ago(2004-2005), thought about it buying one when it's onsale but never did.

村民违章建豪宅阻断学生上学路(组图)_新闻中心_新浪网

本来就是违章的房子,找警察把房子推了让他交拆除费,修复公路费,把人抓起来按照有关规定刑事拘留。

上海大客车与宝马车相撞致1死34伤(组图)_新闻中心_新浪网

老印在上海这么猖狂?

尼日利亚两次共逮捕数十名中国人_新闻中心_新浪网

"一家替中国公司清关的清关物流公司与数名尼日利亚海关官员在货物运输过程中发生言语冲撞,更发生枪械交火" 什么公司这么牛?尼日利亚政府不喜欢合作,就驱逐他们的大使,断绝和他们的所有关系好了。

光明乳业称三聚氰胺事件已导致3亿元损失_新闻中心_新浪网

活该,上次臭牛奶事件就应该让这个集团倒掉!

星期三, 十月 29, 2008

WePC.com - Dream - entertainment PC by htd

full feature pc phone by htd

山西封口费事件披露者称矿方隐瞒人数及金额_新闻中心_新浪网

不公开这些信息难道不是违法行为?难道不应该刑事处罚?
记者这些行为属于敲诈,也应该进行刑事处罚。

星期二, 十月 28, 2008

JJS.@ : Software Projects : PSPdisp

use psp as a secondary pc display

民航局规定乘客在飞机上违规打手机将被管束_新闻中心_新浪网

应该不按规定提前起立的需要在机场进行强制批评教育,引起误机等责任自负。在飞机上面吵架打架等一律拘留1-7天,进行刑事处罚。

组图:井冈山黄洋界景区出现“佛光”奇观_新闻中心_新浪网

在夏威夷就看到这个了,还有照片。

图文:美国人辛迪为变身芭比娃娃整容47次_新闻中心_新浪网

barbie in your nightmare?

副食店占据马路中央做钉子户(图)_新闻中心_新浪网

这么大的国家,没一个懂法的么?

星期一, 十月 27, 2008

BBC NEWS | Americas | US Elections 2008 | Newsweek: Why McCain won...

50% chance he is right.. I dont like either candiadate and I cant vote any way... let's wait and see...

星期五, 十月 24, 2008

副镇长从女性朋友家跳楼续:躲女方男友爬窗摔死_新闻中心_新浪�

活该...干部素质真是差啊,就这还有脸开追悼会...老百姓应该主动去对他的遗像遗体吐唾沫...

星期四, 十月 23, 2008

talk about prison and punishment system

if we dont want retribution, no hate, what do we do to killers? let them live freely and kill freely? there's gotta be some cruel but not so unusual punishment, such as death penalty we can use. also we dont want prisoners to work, but want them to live well and eat well? what about those innocent poor people outside of the prison who didnt do anything wrong just sh*t out of luck? fairness is just a word we define, how we interrupt it still depends on ourselves. there's on absolute fairness exists any way. death penalty doesnt stop crime, let them kill free probably encourages it. there are some mad people who are never afraid of death penalty, but this retribution + cruel but not so unusual punish will certain deter some 'sane' people from committing such hideous crimes.

设计师制造出有腿会走路的房子(组图)_新闻中心_新浪网

this guy never heard of RV?

海豚公主变身熊猫保姆_熊猫之家_新浪博客

爽死了...

星期三, 十月 22, 2008

台湾“立法院”两位女“立委”互殴(图)_新闻中心_新浪网

道歉?故意伤害先送拘留所关几天再说。

私家侦探强行入室拍摄偷情者裸照_新闻中心_新浪网

获得女主人同意的情况下这么搞比较好,太缺乏技术含量了,其实应该安装摄像机偷拍。

Internet Explorer 8 beta 2 paste url crash - MSDN Forums

This error didnt get caught by their QA?

法国公司将萨科齐形象制成巫毒娃娃_新闻中心_新浪网

肖像权到底怎么定义的?美国好像可以卖这种。

女子遭副局长拉扯受伤9天后去世_新闻中心_新浪网

where is the law when she got injured?

'all these killers should be killed' - blind melon Toes Across The Floor

农行剥离8000亿不良资产完成财务重组_新闻中心_新浪网

117billion dollars bad debt and they expect to have IPO? that only happens in china.

MapMyRun.com | View Monster Half in Minneapolis, Minnesota

about to run this, need to get familiar with parking and where to get packet.

星期二, 十月 21, 2008

Experimental Gameplay Project - Crayon Physics

tons of games with physics these days, besides world of goo

四旬保安被指偷拍男业主洗澡(图)_新闻中心_新浪网

什么狗屁律师,这个最低是流氓罪啊,和肖像权什么关系?
two social issues

those born with bi-polar disorder arenot that proud of themselves, there's nothing to be proud of being gay... on the other side, they want marriage benefit, I think marriage is out-dated now. probably we should use a software engineer method to solve this problem. government no longer needs to support this old definition of marriage, just an 'interface' for a legal contract, which service the purpose of 'marriage', you can only get benefit from this one and only contract, any previous unresolved one will have higher precedence over any new one. so you have live with multiple people but only one has the marriage status.

another example I can think of is children with downsyndrome, when homosexual claims they are 'normal' and should be proud, even teaching little kids about prince marries prince, they are discriminating against people with other abnormality, certainly we wont discriminate against people with downsyndrome, I say hi to kid with that like any other kid, but I dont see nobody wants people to say they are so proud about being a retard, well, we got too many junkies like that already, w/o downsyndrome.

to get rid of ear mark, just enforce every legislation to have only one issue, which matches it's name/short description, only the sponsor can give speech about it in congress/senate, after that, it's a long list people vote on, but the total supported amount has to be within a certain budget. we will see online easily who votes for what...

外交部就公布东突恐怖分子名单等答问(全文)_新闻中心_新浪网

外交部就公布东突恐怖分子名单等答问(全文)_新闻中心_新浪网
一问三不知,弱智啊,那个被召回的床主要是美国人白痴安装反了造成的,一个警告就能搞定问题。

星期一, 十月 20, 2008

99.8% of gamers don’t care about DRM, says EA | News | Custom PC

who are those customers he polled? 500 people with himself knowing DRM only himself? so many machines got nero re-installed with the OEM OS, why wont they care? also I heard spore is so full of bugs, people should sue EA for refund due to that...

Rob Miles - C# Yellow Book

free book

星期五, 十月 17, 2008

攻击力/防御力/生命力

考虑可以增加一些要素进去,这样就不是单纯的减血。比如体力,体力降低,攻击力就会随之降低,发生低攻击的概率增加,防御力也降低,发生低防御的次数也增加... 魔法门里面的计算复杂度可以少为增加一点点... 另外可以考虑致命供给指数,受伤指数等等...

Epoch Times - NY Photographer Detained in Beijing

Western countries are paying tibetan separatists to KILL!
设想换套人来演画皮

庞勇-谢霆锋
王生-陈冠西
佩蓉-张柏芝
小唯-钟欣桐
夏冰-蔡卓彦

星期四, 十月 16, 2008

男子在菜里放蟑螂吃霸王餐勒索店主_新闻中心_新浪网

比上次那个同样伎俩的还不敬业,竟然都不换馆子。

昆明宝马车拖人致死案女司机被判赔10万_新闻中心_新浪网

杀人偿命,这个明显属于杀人动机,怎么能光赔钱了事?

AVCHD/MiniBD碟报 _ 新浪博客

AVCHD/MiniBD碟报 _ 新浪博客

星期三, 十月 15, 2008

老太捡到万元现金拒绝归还(图)_新闻中心_新浪网

法律明确规定了不归还是违法行为,不当得利罪。

高校保安棒杀爱斯基摩犬后将尸体吊起示众_新闻中心_新浪网

应该送humane society,没人领养人道处死。animal cruelty需要立法,公共资源/财产保护需要立法。

星期二, 十月 14, 2008

BBC NEWS | Asia-Pacific | Chinese toy firms forced to close

US and other western countries were demanding LOW prices, which caused the quality problem since the margin was already very thin, there's no way to cut corner but to quality(including safety related) same problem in other areas as well...

星期一, 十月 13, 2008

blended theories

for evolution theories, I was thinking, natural selection is probably just one part of the story. natural environment can change creature's gene, those activities probably will affect creature itself as well(as used gets more, not used gets less), so it could be a blended theory instead of just one.

the other one is about african origin or multiple origin for homo sapiens. could it be possible that a big brand spread around the world, but instead of 'taking over' of everybody, it might have blended with some local home sapiens, like what spanish did in south america, maybe. of course they can be traced back using some gene because they have some common ancestor, they could have an old ancestor which shares the same gene too.

地理老师独自登山失踪续:不排除遇害可能_新闻中心_新浪网

真可怕,发现这么多尸体...
a health care processing system?

SPI - special processing instruction... to me, it's really a bad idea to put all the information into a main frame system, the worst way to maintain and update. the big problem is not to design a new system, it's about how to get information input into the new system correctly.

I think this needs a service oriented solution, not the bloated version microsoft is evangelizing to people. just some solid service based parts working together.
  • input/output endpoints, where internal/external people used to use, update information about plans, law requirements and personal records
  • subsystem to store processing instruction, list conditions with matching processing steps
  • subsystem to store user information, endpoints will need some configuration(centralized) to know which one to contact
  • based on input and user information, find all those systems, such as different plans, states, etc, know where to ask and get informatoin, where to do stuff
  • send the results to output end points after all related subsystems are contacted and updated
Norm Colman claimed he would abondon negative ads

Just after that, saw the republican xxxx attack ads up on TV... real smart way from those politicians. it probably works for those 19% who approved GWB's work.

McCain is doing something similar, calling for R.E.S.P.E.C.T while negative ads up... so simple, so naive...

星期日, 十月 12, 2008

3岁男孩掉进千度砖窑中瞬间被烧成灰烬(图)_新闻中心_新浪网

砖窑凭什么允许人进去?如果跨塌大人一样会死。其次明明有儿子了,还有老二?超生罚款交了么?

星期五, 十月 10, 2008

杨丽娟诉媒体侵犯名誉权案二审_新闻中心_新浪网

自己发疯自己炒作,不许别人报道么?

星期四, 十月 09, 2008

北京为震区募集35万件棉衣被_新闻中心_新浪网

费劲送过去,弄不好要被倒在垃圾箱...上次武汉的事情还没有下文...

业内人士称三鹿几十亿元无形资产荡然无存_新闻中心_新浪网

为什么要考虑救活这种企业?这个品牌就是耻辱的象征,和亚细亚一样,就该死掉!这么快速增长本身就是不正常的,和美国的投行一样,是为了给自己发奖金,就应该倒掉!

星期二, 十月 07, 2008

保安重阳节追打老人 家属望其向全国老人道歉_新闻中心_新浪网

保安重阳节追打老人 家属望其向全国老人道歉_新闻中心_新浪网
故意伤人,先刑拘在调查,没什么可说的。怎么看全国从政府领导,报纸到地方,没人知法守法?

男子心情不好挥钢条打死小狗(图)_新闻中心_新浪网

男子心情不好挥钢条打死小狗(图)_新闻中心_新浪网
Animal cruelty,针对虐畜行为迫切需要立法。

孙春龙致山西省代省长王君一封信_新闻中心_新浪网

孙春龙致山西省代省长王君一封信_新闻中心_新浪网
谁封锁的消息要追求刑事责任,当地政府负责人要处理,党委负责人更要处理。网上文章为什么打不开?这个也要处理。

专家:相关规章应废止或修改_新闻中心_新浪网

专家:相关规章应废止或修改_新闻中心_新浪网
法律法规太多,互相抵触,发生这种情况应该追究制定这种法律法规的人的责任,当场开除,永不录用。
Obama and McCain all blaim 'change' now, but they are part of the problem. How can they really change this system?

I dont like Al Franken, but he mentioned the rush to bail out reminded him of the rush to the iraqi war, I like that.

The medical system cant be simply solved by claiming everybody will have congress insurance, that will never happen. The doctors and hospitals are simply charging too much, besides the drug company. High accident compensation is partially to be blamed for.

I am thinking that we should create more hospitals that hire doctors who charge less, make those hospitals train doctors, charge them less tuition so we get more qualified doctors who actually worked on people, instead of just repeating books and avoiding responsibilities. At the same time, compensation is limited to only who ever needed. The people who caused accident should be punished in the system severely, not just through giving relatives money. This will be affordable medication. Make drug patent time as long as everybody else, so americans are not the lab rats who pay high money for those new drugs. Those hospital wont totally replace the current ones, as the expensive ones will offer better facilities, who ever can afford can go to good hospitals but for everybody else, there's a place to go. This can be created by government help, not just government owned institute. Make them non-profit and keep this healthy cycle to make it grow.

据称民工遭列车员捆绑死在火车上_新闻中心_新浪网

据称民工遭列车员捆绑死在火车上_新闻中心_新浪网
这种案件是公诉的,无论赔偿与否,列车长和参与的人员都有非法拘禁,故意伤害致死的责任。

BBC NEWS | Asia-Pacific | China makes Nobel prize warning

BBC NEWS | Asia-Pacific | China makes Nobel prize warning
They've given this 'peace' award to war criminals and terrorists before, how much worse can it be?

星期一, 十月 06, 2008

ReadOnlyRichTextBox - Roland Weigelt
This is a lot better than the previous solution, I think I found this before... what ever, set style then you dont need to set Enabled = false. Then you can set backcolor etc to make it look what ever you want. :)
        public ReadOnlyRichTextBox()
{
base.ReadOnly=true;
base.TabStop=false;
this.SetStyle(ControlStyles.Selectable, false);
}

I knew that I had the perfect solution before.

const int WM_SETFOCUS = 0x0007;
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case WM_SETFOCUS:
// We don't want the RichTextBox to be able to receive focus, so just
// pass the focus back to the control it came from.
IntPtr prevCtl = m.WParam;
Control c = Control.FromHandle(prevCtl);
c.Select();
return;
}
base.WndProc (ref m);
}

男子争吵后欲在万米高空打开飞机舱门_新闻中心_新浪网

男子争吵后欲在万米高空打开飞机舱门_新闻中心_新浪网
看来不光中国有这种nc的。
System.Windows.Forms.Textbox Disabled BackColor « Savij
need to override onpaint to keep the color when textbox/richtextbox is disabled, but at least there's a way.
Troubleshooting Remote Desktop Licensing Error Messages: Terminal Services Client (Remote Desktop)
just encountered this today with a newly setup windows on vmware...

马英九:台湾努力建立和谐社会与大陆和平互动_新闻中心_新浪网

马英九:台湾努力建立和谐社会与大陆和平互动_新闻中心_新浪网
OMG,实在受不了和谐社会这个口号,本来很美好的一件事情...

星期五, 十月 03, 2008

About the VP debate

I found that I like voice of Biden, it's a little similar to Bill Clinton's voice. Palin's voice is just horrible and I dont like obama or mccain's either.

The iraq war issue - Biden said he and obama will end the war, after a long pause, Palin said troops dont like white flag and surge is working. Well, why Biden didnt find reference about how 'toops' want to go home in vietnamese and korean war? Why he didnt find reference about how 'increase of troops' (since it's been so long, it' s not a surge) can show some 'winning illusion' in those previous war? Why he didnt mention how 'AMERICAN PEOPLE' hate spending so much money on the war and this brings down the economy?

I guess it's because none of the politician cares about people.


For legislation, what ever they attache to this stupid 700billion 'rescue plan' bill, it's an EAR MARK, McCain claimed he's against it, now he's all for it. Let's put ads for the group of 4 (maybe add Hilary Clinton, WG Bush to make it 6). Showing how they 'swing' their claims and votes ... add some music like the old ANTI John Kerry ads. :) Ralph Nader, I dont think you can do a thing to change this country and I think you are a just another politician but if I can vote, I will vote for you instead of Ron Paul. Back to the legislation part, I think each bill should just be a single bill, nothing unrelated should be put in there, even the spending bill should not including anything unnecessary, make each spending its own bill and submit it before deadline. Now let people who sponsor the bill give speech and put it online for everybody to read. Just like an election, let senate and house vote on ballot with all those items. Each of them have to give 500+ words explanation why they are for or against each item they voted, they cant give up on any vote. Hey, it's their job to do that!

星期四, 十月 02, 2008

QuickPWN

QuickPWN
interesting site.
Let's dream about a new console gaming PC...
  • Current console has special hardware design, which is getting more and more costly, when PC performance is growing rapidly, they get oudated really fast too...
  • Current console is usually sold at a loss, for the first year or longer...
  • So, how about something close enough to a PC but designed for console gaming, besides the PC functionality?
  • I am thinking about a gaming PC with optimized CPU/GPU bandwidth like old xbox and xbox360, but with x386 CPU
  • PC game companies complain about a few things:
    • highend gaming pc is too expensive, not so many people can afford it
    • piracy, those who spend that much money on gaming pc know about piracy (some recent interviews mentioned this)
    • too many different hardware, accessories, it's hard to test for them all and it's hard to do optimization
  • so we can limit hardware, only certain 'certified' video card, motherboard, peripherals can be supported by this, less trouble, easier optimization... you can go with the optimized setting or you can get a little less pleasant experience by config stuff your way... (like your car)
  • the more security steps, the easier for it to break, since hackers only need to break one chain... so maybe the security is only in the BD(or what ever high capacity media reader in future). let's lock it down, put os/dash all in a single chip of this drive, either detect and alarm when the drive is dissembled or make it impossible to solder wire to break anything internal
  • this hardware may be manufactured by any hardware company, as long as it follows the rule and certification. let's limit the functionality variation, maybe just some clock/memory difference or just clock difference.
  • but companies have to make money on it, I am thinking a licensing mechanism for who ever design it (license for os/dash cost), just like license for any SDK cost, game development kit cost.
  • dev kit will be simple and people can run their own stuff outside of the dash with the PC part of the API. then it's sealed by who ever licenses os/dash to make it the console part application. make it easier to people to create/share stuff, the PC part is free for all, the console part is through license process...
  • It has to have game, if ms will abondon xenon, they might be able to do it, but sony wont abondon cell... maybe EA can do it...
  • one more thought, each machine will have one sim card like device which you can use to activate games for your device. each game media/disc needs to be activated for your console to be played (at retail store, when order online or you can do it yourself online if you buy it from some one else on ebay). it will remove the ability for other people to play this game... this sounds troublesome though...

星期三, 十月 01, 2008

Apple Apparently Turned $570 Million Profit from ITunes Last Year | Listening Post from Wired.com

Apple Apparently Turned $570 Million Profit from ITunes Last Year | Listening Post from Wired.com: "Update: In response to the comment below, Apple apparently keeps 29 cents out of each 99-cent song, which could be where Billboard's 30 percent profit margin is coming from. If anyone reading this has a Billboard subscription, please let us know their conclusion below (I'm not going to subscribe to Billboard just to see the second half of a single news story)."

I dont think apple will shut down iTune for 6c less profit on each song.

BBC NEWS | Technology | iTunes store shutdown feared

BBC NEWS | Technology | iTunes store shutdown feared: "A veiled threat by Apple to close its iTunes store has emerged 18 months after it was issued and just a day before royalty rates are to be set.

The Copyright Royalty Board meets on Thursday to rule on a requested 66% increase for sales of digital music from 9 cents to 15 cents a track.

A rise would have to be paid by either Apple, the record company or consumer.

Apple opposed the rate hike and has said it is unwilling to raise its 99 cents a song price or absorb a rise."

How much profit does apple make on 99c songs?

星期一, 九月 29, 2008

why should people pay for doctors' fault?

when doctors failed to do their duty that caused death or severe injury, lawsuits come in to ask for huge compensation. I dont think compensation really helps parents who lost their child due to this. no money can buy back life. I only see some one's living spouse who cant take care of himself/herself and dependent children should get helped. why a sibling would claim huge compenstation for some one dead that way?

the second part is the doctor should be punished properly, instead of insurance claim which results in patients paying huge bills becaues bad hospitals and bad doctors are not doing their jobs and NOT taking real responsibilities!

the last part is about insurance company. cant we simplify insurance so we can just do it with less margin to the 'insurance company'?

中国将于2010至2011年底发射天宫一号飞行器_新闻中心_新浪网

中国将于2010至2011年底发射天宫一号飞行器_新闻中心_新浪网: "秦文波表示,空间对接的难点在于飞行过程中,两个飞行器的接近是否能紧紧抓在一起。只能把速度降到很慢,然后连接在一起。"

这~~~说的是两者相对速度吧...

星期五, 九月 26, 2008

中学生打篮球盖帽摔成骨折向球友索赔_新闻中心_新浪网

中学生打篮球盖帽摔成骨折向球友索赔_新闻中心_新浪网
打篮球出这种问题不考虑动机么?到底是谁撞谁?这么要求赔偿法,大家在一起活动之前都需要集体签一个liability waiver才好。

女白领发帖通缉偷内衣者_新闻中心_新浪网

女白领发帖通缉偷内衣者_新闻中心_新浪网
内衣裤这么晾在别人能拿到的公共场合也不太好吧。
Winplay : Guitar Hero 3 Mobile (One time Purchase)
only $6.99, I dont know if I would play much of it, but it seems cheap buy any way.

星期四, 九月 25, 2008

How are republicans ever for 'small' government?

They spent so much and started so many wars, basically turned the economy as part of the government. They force people to follow their 'moral' value instead of giving people freedom to do what they want. They want to 'deregulate' but when things fail, they just want to squeeze more pennies out of the poor to bail out those super rich.

I am not saying democrats are any better though, that's why I consider myself a conservative anarchist.
At sears, they take the '5 min' pick up time seriously

I went there yesterday. After I scan my pick up slip and credit card, it starts to show my time ticking on the CRT above, besides it, it shows 100% within 5 min for today and 99.2% for last month. That seems pretty good.

After I got my item (not loaded), one guy touching the touch screen really fast to show I got my item and it stoppped a few seconds before 5 min. They must have some incentive to have everything done that way before 5 min. It looks like they are not too happy about giving people $5 off coupon after 5 min.

The only problem is, they charged my credit card 2 weeks ago before I got notified that I can pick up my item.

星期五, 九月 19, 2008

和谐社会不是口号喊出来的

连文化大革命都不是光喊口号就出来的。封闭bbs,不让老百姓说话的官员,应该被判刑。防民之口,甚于防川,是从小教育我们的课本里面的,大家都还记得腐朽的资本主义倒牛奶,现在中国也进入赤裸裸的腐朽的资本主义了。老百姓不能相信正式媒体,不能相信政府,不能相信网络,什么都不能相信,这些都不是简简单单喊口号可以解决的。

搞集资的官员没有别处理,还是zheng xiaoyu因为贪污被抓起来之前的话说的好:如果我是贪官,中国就没有清官了。
This aint no presidential election...

Heard the music rocking and crowd cheering, candidates B.S... I dont think any of them really want to, can or will change the country. It's controled by the same group of people any way. People just want to hear rock n roll, get doped and get high.

星期四, 九月 18, 2008

几个想法,去掉股票,房地产市场的一些投机问题:
  • 取消除权股,董事会通过决议要通过股民投票
  • 取消股权/期货权交易,美国最近也取消了naked sale,减少纯投机行为
  • 房地产方面,禁止任何未完成楼盘收任何款项,保证购房户权益

星期一, 九月 15, 2008

Physical Therapy Corner: Running Injuries — Portal

Physical Therapy Corner: Running Injuries — Portal: "How to prevent them, or if you have one, what to do?

Are you a runner?? Then you have probably had an injury at some time during your running career..."

星期三, 九月 10, 2008

Char Validation Text Box with error tooltip

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

///
/// Show tooltip and prevent user input invalid characters defined in char[]
/// Need to hookup Container.OnMove, [MouseEnter] to HideTooltip
///
public class CharValidationTextBox : TextBox
{
private char[] INVALID_CHARS = new char[] { '\\', '/', ':', '*', '?', '\"', '<', '>', '|' };
private string WARNING = "A prefix cannot contain any of the following characters:\r\n\t";
private ToolTip _tooltip = new ToolTip();
private bool _first = true;

public CharValidationTextBox()
{
SetTooltip();
}

public CharValidationTextBox(string invalid_chars)
{
INVALID_CHARS = invalid_chars.ToCharArray();

SetTooltip();
}

private void SetTooltip()
{
WARNING += charsToString(INVALID_CHARS);

_tooltip.IsBalloon = true;

KeyDown += new KeyEventHandler(CharValidationTextBox_KeyDown);
KeyPress += new KeyPressEventHandler(CharValidationTextBox_KeyPress);
LostFocus += new EventHandler(CharValidationTextBox_LostFocus);
}

private void FixArrowAlign()
{
_tooltip.Active = false;
_tooltip.SetToolTip(this, WARNING);
_tooltip.Active = true;
_tooltip.SetToolTip(this, string.Empty);
}

public static string charsToString(char[] chars)
{
StringBuilder builder = new StringBuilder(chars.Length);
foreach (char ch in chars)
{
builder.Append(ch);
builder.Append(' ');
}
return builder.ToString();
}

public void HideToolTip()
{
_tooltip.Hide(this);
}

public void ShowToolTip()
{
if (_first)
{
FixArrowAlign();
_first = false;
}

_tooltip.Show(WARNING, this, Width / 2, Height / 2, _tooltip.AutoPopDelay);
}

void CharValidationTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
foreach (char ch in INVALID_CHARS)
{
if (ch == e.KeyChar)
{
ShowToolTip();
e.Handled = true;
break;
}
}
}

void CharValidationTextBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control && e.KeyCode == Keys.V)
{
string text = Clipboard.GetText();
if (text.IndexOfAny(INVALID_CHARS) >= 0)
{
ShowToolTip();
e.SuppressKeyPress = true;
}
}
}

void CharValidationTextBox_LostFocus(object sender, EventArgs e)
{
HideToolTip();
}
}


C# Tooltip ComboBox

Found some nice example from Zhixin Ye's post at msdn forum and updated it.

For better display result, need to hookup container form Move, MouseEnter events and call HideToolTip();

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;

///
/// Show tooltip for combobox
/// Parent needs to handle move/mouseenter event and call HideTooltip
///
class TooltipCombobox : ComboBox
{
ToolTip _tooltip = new ToolTip();
int _index = -1;
Point _point = new Point();

public TooltipCombobox()
{
DrawMode = DrawMode.OwnerDrawFixed;
DrawItem += new DrawItemEventHandler(TooltipCombobox_DrawItem);
LostFocus += new EventHandler(TooltipCombobox_LostFocus);
}

public void HideTooltip()
{
_tooltip.Hide(this);
}

void TooltipCombobox_LostFocus(object sender, EventArgs e)
{
HideTooltip();
}
void TooltipCombobox_DrawItem(object sender, DrawItemEventArgs e)
{
if (e.Index <>= Items.Count)
{
return;
}

string text = GetItemText(Items[e.Index]);

e.DrawBackground();

using (SolidBrush br = new SolidBrush(e.ForeColor))
{
e.Graphics.DrawString(text, e.Font, br, e.Bounds);
}

if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
{
SizeF sf = e.Graphics.MeasureString(text, this.Font);
if (sf.Width > this.Width)
{
int y = e.Bounds.Top - 1;
if ((e.State & DrawItemState.ComboBoxEdit) != DrawItemState.ComboBoxEdit)
{
y = e.Bounds.Bottom + 5;
}

_index = e.Index;
_point.X = e.Bounds.Left;
_point.Y = y;
_tooltip.Show(text, this, e.Bounds.Left, y);
}
else
{
HideTooltip();
}
}

e.DrawFocusRectangle();
}
}


星期二, 九月 09, 2008

managed GPS code from 'out of the box'

found the link in another msdn blog.
广东水产品出口连续19个月下降
小规模经营很难进行监控和保证成本,在这种环境下有大规模经营取代个体养殖,成为达到合格标准的唯一途径,另外国内食品进口监控应该取所有国外食品监控的最高标准,以保证国内厂商利益。

星期一, 九月 08, 2008

http://www.teamrees.com/2008/04/12/windows-xp-sp3-rdp-time-bombed/

So vista sp1 and xp sp3 break the RDP client, some one figured out that by replacing 
  • mstsc.exe
  • mstscax.dll
from older version you got them back. I haven't applied either bug pack to my boxes yet so I dont have this problem. anybody has experiencing using this way to fix their boxes?

Dean Takahashi completes chronicles of Xbox 360 red ring of death

This reminds me of what my friend at IBM told me that M$ knew about some xo power problem but doesnt listen to them, also they switch to 'cheaper' manufacture even knowing their defect rate is higher. I bet the management gave themselves tons of incentives due to those cost 'cutting' decisions. 

Also I wonder why the 'angery left' dont call those 'christian conservatives' the real name - 'christian fundemantalists'.

星期四, 九月 04, 2008

http://www.neowin.net/index.php?act=view&id=39685

"I know it sounds expensive to a lot of consumers but we are comparable to those types of drives and also we have to go through a lot more testing and security. When we buy from suppliers we require a lot more spec reports and tests because that drive has to be able to perform at specific speeds all the time in order to support our environment and our gameplay experiences. Those are not the same specs that they are able to deliver to with off-the-shelf drives.”

Yeah, with so much testing, the RROD is still not gone.
http://www.red-gate.com/products/reflector/

Explore, browse and analyze .NET assemblies

.NET Reflector enables you to easily view, navigate, and search through the class hierarchies of .NET assemblies even if you don't have the code for them. With it, you can decompile and analyze .NET assemblies in C#, Visual Basic and IL.

星期三, 九月 03, 2008

云南游

刚看到这个blog,打算参考一下。
Evil Evil Evil


11. Content license from you

11.1 You retain copyright and any other rights you already hold in Content which you submit, post or display on or through, the Services. By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content which you submit, post or display on or through, the Services. This license is for the sole purpose of enabling Google to display, distribute and promote the Services and may be revoked for certain Services as defined in the Additional Terms of those Services.