Sunday, January 28, 2007

1月29日正则表达式实在是太强了

第一次用正则表达式,这个工具实在是太强了!!!

以下正则表达式用于将

SUPERMEMO格式的COLLINS分级词典,改为SMARTMEMO格式

一边可以支持SMARTPHONE。

 
 

^Q:.*> *(.*) *<.*Plain">(.*)<.*\p

\1\p`@\(\2\)\p

 
 

^Q:.*> *(.*)<.*\p

\1\p

 
 

^A:

Sunday, January 14, 2007

1月15日看看你是否有会计头脑

一道算术题 绝对经典

有3个人去投宿,一晚30元.

三个人每人掏了10元凑够30元交给了老板.

后来老板说今天优惠只要25元就够了,拿出5元命令服务生退还给他们,

服务生偷偷藏起了2元,

然后,把剩下的3元钱分给了那三个人,每人分到1元.

这样,一开始每人掏了10元,现在又退回1元,也就是10-1=9,每人只花了9元钱

3个人每人9元,3 X 9 = 27 元 服务生藏起的2元

这样 27+2=29元,还有一元钱去了哪里???

 
 

这道题能看出你有没有会计头脑。

1月15日别被“中国治疗乙肝研究获突破进展”的新闻给骗了

父亲最近化学性肝损伤住院,这已经是他服用抗癌药物一年来的第二次住院了。

结果今天我在中新网首页上看到了这条消息:

中国治疗乙肝研究获突破进展 成功治愈百余患者

大意是说:我国首次彻底治愈103名慢性乙肝患者。中华医学会肝病学分会、中国肝炎防治基金会在三亚召开的"00七年三亚肝病论坛"上,为内地近二千万乙肝患者提供的信息是:只要你的病情没有发展到肝硬化,就可通过免疫重建,获得表面抗原血清学转换,得到彻底治愈
首都医科大学附属北京佑安医院陈新月教授称,这些临床治愈的成功案例结束了乙肝甩不掉的历史。
陈教授采用免疫重建的派罗欣治疗方案,临床治愈的患者达二十三例。中国工程院院士闻玉梅教授提出,"慢性乙型肝炎与机体免疫功能受损有重大关联,重视治疗中免疫控制这个根本问题,是帮助患者恢复健康的关键环节。百分之九十五的成人感染乙肝病毒会自愈,而百分之九十以上的儿童感染乙肝病毒后转为慢性乙肝就是这个原因。"

源文档 <http://finance.jrj.com.cn/news/2007-01-13/000001919070.html>

 
 

看到这条消息我自然是一激动。随后有一些疑惑,既然是中国的突破性进展,药怎么取了一个外国名字???

结果,还没等我回味一下,就又在红网看到了一条针对性地消息:

湖南专家:目前治疗慢性乙肝还没有特效药物

大意是说:我国首次彻底治愈103名慢性乙肝患者的消息引起了很多乙肝患者的质疑。对此,我省有关专家表示,治愈103人没有实质意义,目前治疗慢性乙肝还没有特效药物,但乙肝病情是可以得到控制的。 

湘雅医院传染科主任谭德明教授表示,目前乙肝治愈率大约在10%左右,我国还没有达到20%的水平。用派罗欣治疗乙肝患者,一年的治疗费用就达到7万元,一般人是用不起的。乙肝表面抗原阳性"转阴"率很低,乙肝患者千万不要盲目服药。 

源文档 <http://china.rednet.cn/c/2007/01/15/1096383.htm>

 
 

明眼人一对比就知道第一则新闻的真正目的。

能无耻到这样的地步,XXX,我真的要骂人了,不要劝我。

  

Tuesday, January 09, 2007

1月10日与疯子博傻

股市疯了,1300-1600-1800-2200-2800,一轮接一轮逼空。

没有人想到会这样,但从现在来看,这也不难理解:因为今年的股市中多了一群疯子!

管理层曾经说:培养基金稳定股市。

这句话只对了一半:在下跌时,基金确实不怕亏,敢买;上涨时他更是不怕死,敢追!

归根结底3点:

1、基金玩的是别人的钱,不怕亏,因此市场里没有比他们更牛比,更大胆的了。

2、目前只有上涨才能赚钱,因此不怕死的基金绝对是一群超级敢死队,没人敢比他们更疯狂!

就一个字:利益。

基金的利益来源与不断地买入、买入、买入。

因此大盘股不断地上涨、上涨、上涨。

股市有风险吗?

对股民来说,有,而且很大;但是是对基金来说,完全没有风险,看到的只有到手的手续费。

3、现在,当基金手握1万亿,而沪深股市流通市值总共才只有区区3万亿的时候。

任何的疯狂都是可以想象的!

不需要分析来分析去。

关键是,一个正常人如何与一个力量大你百倍的疯子博傻?

跟着他一起疯?可能是一种方法。

那就买指数权重股。因为要拉,自然是"万般皆下品惟有指数高"。

但工行对比港股的溢价已经超过20%,人寿更是接近80%,玩自己钱的人没有不怕的。

于是有人安慰说,泡泡是管理层让吹的。

也许,但即便如此也不代表没有破的一天!

不过现在,害怕踏空的增量资金源源不竭,令人钦佩。

特别是当增量资金被疯子掌握的时候,股市就只剩一条路了:

拉呀拉呀拉皮筋。

 
 

 
 

 
 

 
 

 
 

1月10日Outlook 2007 打开附件的临时文件夹

当您打开被视为安全的文件附件时,作为一项额外的防范措施,Outlook 2007 会将这些附件放在 Internet 临时文件目录下的子目录中。当 Outlook 2007 第一次尝试使用临时文件时,它会检查注册表以确定以下值是否存在:

 
 

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security

  

1月3日成长不完全宣言

By Hi-iD on DESIGN

 
 

An Incomplete Manifesto for Growth,Bruce Mau写于1998年.(via:Brand Autopsy),摘抄简译如下:

1. Allow events to change you. You have to be willing to grow. Growth is different from something that happens to you. You produce it. You live it. The prerequisites for growth: the openness to experience events and the willingness to be changed by them.

让事件来改变你.你必须渴望成长,它区别于其他撞上门的东西.你创造它,你激活它.成长的必备条件:坦率地去经历,渴望被它们改变.

2. Forget about good. Good is a known quantity. Good is what we all agree on. Growth is not necessarily good. Growth is an exploration of unlit recesses that may or may not yield to our research. As long as you stick to good you'll never have real growth.

忘掉好.好是已知晓的标准,是我们所有人赞同的.成长不一定就是好.而成长是对未知的探索,它也许是也许不是我们所探寻的结果.如果你恪守"好",你永远无法真正成长.

3. Process is more important than outcome. When the outcome drives the process we will only ever go to where we've already been. If process drives outcome we may not know where we're going, but we will know we want to be there.

过程重于结果.结果驱使过程,只能达到已达到,如果是过程驱使结果,我们也许不知道我们去向何方,但我们会知道那里就是我们想去的.

4. Love your experiments (as you would an ugly child). Joy is the engine of growth. Exploit the liberty in casting your work as beautiful experiments, iterations, attempts, trials, and errors. Take the long view and allow yourself the fun of failure every day.

爱你的体验(如同你是一个笨小孩).乐趣是成长的动力.自由体验工作各种状态如美好经历,负担,企图,尝试和错误.长远的视角,每天体验失败的乐趣.

5. Go deep. The deeper you go the more likely you will discover something of value.

深掘.,挖得越深,值钱的越多.

6. Capture accidents. The wrong answer is the right answer in search of a different question. Collect wrong answers as part of the process. Ask different questions.

抓住事故.错误的答案会变成正确的答案,当你在探寻不同的问题时,把收集错误的答案当作过程的一部分.问不同的问题.

7. Study. A studio is a place of study. Use the necessity of production as an excuse to study. Everyone will benefit.

学习.工作室是一个学习的地方,把必须的工作当作学习的理由,每个人都会受益.

8. Drift. Allow yourself to wander aimlessly. Explore adjacencies. Lack judgment. Postpone criticism.

漫游.,允许自己漫无目的的发呆,探寻邻近,不作决定,延迟评价.

9. Begin anywhere. John Cage tells us that not knowing where to begin is a common form of paralysis. His advice: begin anywhere.

随时开始.John Cage告诉我们无从着手是搁浅的常见缘由,他的建议是:随时随地开始.

10. Everyone is a leader. Growth happens. Whenever it does, allow it to emerge. Learn to follow when it makes sense. Let anyone lead.

每个人都是领导.成长开始,无论它是从何开始的,让它浮现,当有感觉时学会遵循,让每一个人(每一样东西)来领导.

11. Harvest ideas. Edit applications. Ideas need a dynamic, fluid, generous environment to sustain life. Applications, on the other hand, benefit from critical rigor. Produce a high ratio of ideas to applications.

捕获创意并应用.创意生活在动态,流动,丰富的环境中,而应用需要严格的评判.提高创意的应用率.

12. Keep moving. The market and its operations have a tendency to reinforce success. Resist it. Allow failure and migration to be part of your practice.

保持运动.市场经营有增强成功的驱动力,阻止它.让失败和变迁成为实践的一部分.

13. Slow down. Desynchronize from standard time frames and surprising opportunities may present themselves.

慢下来.从标准规律中解脱,你会惊奇于机会自动呈现.

14. Don't be cool. Cool is conservative fear dressed in black. Free yourself from limits of this sort.

别耍酷.,酷是穿着黑衣的保守主义恐惧,从这一点解脱出来.

15. Ask stupid questions. Growth is fueled by desire and innocence. Assess the answer, not the question. Imagine learning throughout your life at the rate of an infant.

问愚蠢的问题.成长是由愿望和纯洁填满的,评价答案,而不是评价问题.像你儿童时期一样来想象学习.

16. Collaborate. The space between people working together is filled with conflict, friction, strife, exhilaration, delight, and vast creative potential.

合作.,一起工作的人们之间充满了斗争,摩擦,争吵,愉快,欢欣和巨大的潜在创新.

17. ______. Intentionally left blank. Allow space for the ideas you haven't had yet, and for the ideas of others.

______.这些留出的空格是让你填充你还没取得的创意,或者其他人的创意.

18. Stay up late. Strange things happen when you've gone too far, been up too long, worked too hard, and you're separated from the rest of the world.

熬夜.当你走很远,坚持太久,工作太努力,你和世界孤立的时候,奇异会发生.

19. Work the metaphor. Every object has the capacity to stand for something other than what is apparent. Work on what it stands for.

用比喻.每样东西都有代表其他东西的能力,思索它代表什么.

20. Be careful to take risks. Time is genetic. Today is the child of yesterday and the parent of tomorrow. The work you produce today will create your future.

小心冒险.时间是乘前即后的,今天是昨天的儿子,是明天的老子.今天的工作会创造未来.

21. Repeat yourself. If you like it, do it again. If you don't like it, do it again.

重复你自己.,你喜欢它,再做一次;你不喜欢它,再做一次.

22. Make your own tools. Hybridize your tools in order to build unique things. Even simple tools that are your own can yield entirely new avenues of exploration. Remember, tools amplify our capacities, so even a small tool can make a big difference.

创造你自己的工具.,为做一个独一无二的东西,综合应用你的工具.你自己的一个简单工具会把你带向全新的领域.记住: 工具增强我们的能力,一件小工具会创造完全不同的局面.

23. Stand on someone's shoulders. You can travel farther carried on the accomplishments of those who came before you. And the view is so much better.

站在某人的肩膀上.站的高,看得远.

24. Avoid software. The problem with software is that everyone has it.

回避软件.,因为每个人都有.

25. Don't clean your desk. You might find something in the morning that you can't see tonight.

不要收拾桌面.,也许早上你会发现昨晚没发现的东西.

26. Don't enter awards competitions. Just don't. It's not good for you.

别参加奖项竞赛.就是别参加,对你没好处.

27. Read only left-hand pages. Marshall McLuhan did this. By decreasing the amount of information, we leave room for what he called our "noodle."

只读左边一页.麦克卢汉是这样做的.减少信息量,把空间留给我们叫做"面条"的东西.

28. Make new words. Expand the lexicon. The new conditions demand a new way of thinking. The thinking demands new forms of expression. The expression generates new conditions.

创造新词,扩大词典.新的条件需要新的思维方式,新的思想需要新的表达,新的表达创造新的条件.

29. Think with your mind. Forget technology. Creativity is not device-dependent.

用心灵来思考,忘记技术.创造力不是依赖于器具.

30. Organization = Liberty. Real innovation in design, or any other field, happens in context. That context is usually some form of cooperatively managed enterprise. Frank Gehry, for instance, is only able to realize Bilbao because his studio can deliver it on budget. The myth of a split between "creatives" and "suits" is what Leonard Cohen calls a 'charming artifact of the past.'

组织=解放.设 计中或其他领域真正的创新,是发生在情景中的.情景通常是和同协作的形式.比如只有Frank Gehry能建造毕尔堡博物馆,因为他的工作室能够按预算提交方案.分开"创新"和"策略"的神秘东西就是Leonard Cohen所说的'charming artifact of the past.'

31. Don't borrow money. Once again, Frank Gehry's advice. By maintaining financial control, we maintain creative control. It's not exactly rocket science, but it's surprising how hard it is to maintain this discipline, and how many have failed.

别借钱.还是Frank Gehry的建议,通过控制财政来管理创新控制,虽然这不是航天科技,但是来管理这一条信念是多么出奇的艰难,有多少人就在这一点失败.

32. Listen carefully. Every collaborator who enters our orbit brings with him or her a world more strange and complex than any we could ever hope to imagine. By listening to the details and the subtlety of their needs, desires, or ambitions, we fold their world onto our own. Neither party will ever be the same.

仔细聆听.每一个参与者都会为我们带来一个他的世界,比我们凭空想象的要复杂和奇怪.聆听他们细节,他们的需求,抱负的精妙.把他们的世界包容进我们自己的,而不是部分,否则会是一模一样.

33. Take field trips. The bandwidth of the world is greater than that of your TV set, or the Internet, or even a totally immersive, interactive, dynamically rendered, object-oriented, real-time, computer graphic–simulated environment.

到野外散步.世界的带宽远远大于我们的电视机,互联网,还有那些完全的,交互的,动态渲染的,基于物体的,实时的计算机模拟环境.

34. Make mistakes faster. This isn't my idea — I borrowed it. I think it belongs to Andy Grove.

快速制造错误.这一点我是从Andy Grove那里借来得.

35. Imitate. Don't be shy about it. Try to get as close as you can. You'll never get all the way, and the separation might be truly remarkable. We have only to look to Richard Hamilton and his version of Marcel Duchamp's large glass to see how rich, discredited, and underused imitation is as a technique.

模仿. 不要感到耻辱或害羞,尽可能靠近他.你永远得不到所有的道路(创新),而区别往往是真正让人印象深刻的.把模仿当作一种技术.

36. Scat. When you forget the words, do what Ella did: make up something else … but not words.

逃避.当你忘词了,就像Ella那样去做:造些其他东西而不是单词.

37. Break it, stretch it, bend it, crush it, crack it, fold it.

打碎它,展开它,弯曲它,碾碎它,弄爆它,包起它.

38. Explore the other edge. Great liberty exists when we avoid trying to run with the technological pack. We can't find the leading edge because it's trampled underfoot. Try using old-tech equipment made obsolete by an economic cycle but still rich with potential.

探索另外一边.当我们回避使用技术性的工具时,巨大的自由(空间)呈现.我们不能发现领导性的一边是因为我们把它们踩在脚下.尝试使用旧的过气的工具,会发现潜在的东西.

39. Coffee breaks, cab rides, green rooms. Real growth often happens outside of where we intend it to, in the interstitial spaces — what Dr. Seuss calls "the waiting place." Hans Ulrich Obrist once organized a science and art conference with all of the infrastructure of a conference — the parties, chats, lunches, airport arrivals — but with no actual conference. Apparently it was hugely successful and spawned many ongoing collaborations.

来杯咖啡,出去兜风,看看植物.真 正的成长经常发生在我们努力前往的外面,空间的间隙.如Dr. Seuss所说的"等待空间".Hans Ulrich Obrist曾经组织过一次科学艺术会议,它有会议的一切部件-与会者,交谈,午餐,接机-但没有真实的会议.看上去那是一次很成功的会议,促成了很多很 作.

40. Avoid fields.Jump fences. Disciplinary boundaries and regulatory regimes are attempts to control the wilding of creative life. They are often understandable efforts to order what are manifold, complex, evolutionary processes. Our job is to jump the fences and cross the fields. 跨越樊篱.规矩准则都在努力抵御创新生命.它们被理解成努力整理那些五花八门,复杂的,展开的过程.我们的工作是跨越它.

41. Laugh. People visiting the studio often comment on how much we laugh. Since I've become aware of this, I use it as a barometer of how comfortably we are expressing ourselves.

笑.参观我们工作室的人经常会觉得我们笑太多,自从我发现它,就将它作为我们表达自己舒适的气压计.

42. Remember. Growth is only possible as a product of history. Without memory, innovation is merely novelty. History gives growth a direction. But a memory is never perfect. Every memory is a degraded or composite image of a previous moment or event. That's what makes us aware of its quality as a past and not a present. It means that every memory is new, a partial construct different from its source, and, as such, a potential for growth itself.

记住.成长是产品历史的唯一可能.没有记忆,创新只是一种新奇事物.历史给成长一个方向,但记忆永远不是完美.每一个记忆都是一个退化物或者当前事物的合成图像.是让我们知晓过去的(还不是现在的)质量,这意味着每一个记忆都是新的,区别于它源头的部件,潜在的自我成长.

43. Power to the people. Play can only happen when people feel they have control over their lives. We can't be free agents if we're not free.

给人们以权力.只有人们感觉到他们控制了自己的生命,游戏才能开始.如果我们自己不自由我们就无法给予代理者自由.

~~~~~~~~~~~~~

翻译只是参考,具体请看原文.

 
 

源文档 <http://www.bloglines.com/myblogs_display?folder=13485588>

 
 

Monday, January 08, 2007

12月15日国人开发偷用电话电的台灯

By evakenshin@gmail.com (EVA剑心) on IT

 
 

上海一些灯具交易市场和网上商城最近热销一种号称免电的台灯.售价几元、几十元的"免电灯"不用自家电,因而购者踊跃.

"免电灯"实际不免电.上海市通信管理局副局长李振坤说,这种灯用的是电话线的馈电."免电灯"虽然没有电源线,却有一根连着插头的电话线,接上就有了"电源",灯就亮了.附图

 
 

据有关专家介绍,"免电灯"实际用的是电信部门的电,可达到15瓦白炽灯的亮度.这种灯通过采用超高亮度LED发光管和内设变阻器,利用电话线路就能发出高亮光.目前电话线的电压在36伏上下,LED发光管刚好能在此范围内工作.

 
 

李振坤指出,"免电灯"侵害了电信部门的合法权益,也侵犯了用户正常使用通信业务的权益.上海市通信管理局和上海市电信公司表示将着手调查此事,对电信设备的影响、线路损耗要作出评估,然后提出相关管理措施.

 
 

"免电灯"偷了电信部门的电,将产生不良后果.首先"免电灯"的使用会影响电话的通话质量,如果电阻过大,还容易造成电话短路,严重时会影响电话终端设备,加重电信公司设备负荷,造成系统损害;其次,使用人甚至会因为不付电费而开长明灯,造成电力浪费.

 
 

法律专家认为,按照有关法律的规定,销售和使用这种"免电灯"属违法行为.

 
 

源文档 <http://www.bloglines.com/myblogs_display?sub=13596203&site=2237267>

 
 

旺财

 
 

 
 

为了宝宝的小名,一家人还曾起过争执,因为叫他"旺财"。

小旺财、小旺财,俗得掉渣,但讨个口彩,小狗小猫好养嘛。

在LP和二姐的大力支持下,家里人被迫接受了。

既然旺财都叫了,再出现什么稀奇古怪的爱称,就不稀奇了。

小笼包子:

一是取"皮薄、肉嫩、汤鲜"特别招蚊子的意思,

二是因为bb发起脾气来眉头一皱,眼睛鼻子都揪在了一起,活脱脱一只小笼包;

小屎包:一天要换十块尿片,包包重过斤;

小笨蛋:到现在11个月了还不会"谢谢"、"再见",唉,聪敏面孔,笨肚肠啊;

电动马达:BB爬的时候屁股扭动的幅度巨大,频率也很高,一般马达比不上的;

小草鸡:"草"通"吵",每天大早,就是一只吵吵闹闹的小闹钟。