<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/stauren" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/stauren" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 14 Jan 2010 02:33:59 GMT</lastBuildDate><title>stauren blog</title><description>javascript, story of stauren</description><link>http://stauren.net</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Thu, 14 Jan 2010 05:00:00 GMT</pubDate><item><title>没有信仰的人，请不要以为其他任何人都和你一样</title><link>http://stauren.net/log/ieyyqnj4n.html</link><content:encoded>网上对谷歌退出的目的有一些商业方面的龌龊的猜测。我个人以为，谷歌是一个有信仰的公司，谷歌做了太多的有远见的、善良的事。google曾经的倡导下班关闭电脑节能、google的绿色数据中心（利用CPU发热给旁边小区供热水）、google的PowerMeter、google的地图等等，google改变人类的生活，做了很多有远见的事情，而且强有力的执行（比如Nexus的多麦克风，软件不能达到目的的东西，他会亲自上阵用硬件来实现），我以为，一个有信仰的公司是有原则的，不是某些没有信仰没有尊严的国家的人可以揣测的，人家不是在撒娇，我预测，谷歌这次是一定走了。&lt;br /&gt;&lt;br /&gt;其实在毛主席的时代，某国还是有信仰的，至少实现了共产，虽然很穷，但是大家一样穷，而且有自己的信仰。当整个国家忍受不了过程中的煎熬，放弃自己的信仰开始唯物质唯金钱的时候，请不要无耻的说，其实全世界都没有信仰。&lt;img src=&quot;http://www1.feedsky.com/t1/321519710/stauren/feedsky/s.gif?r=http://stauren.net/log/ieyyqnj4n.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519710/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519710/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>网上对谷歌退出的目的有一些商业方面的龌龊的猜测。我个人以为 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519710/stauren/feedsky/s.gif?r=http://stauren.net/log/ieyyqnj4n.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519710/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519710/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Thu, 14 Jan 2010 10:33:59 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/ieyyqnj4n.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/ieyyqnj4n.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/ieyyqnj4n.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519710/5589431</fs:itemid></item><item><title>stauren.net 回来了</title><link>http://stauren.net/log/ier2l4h3o.html</link><content:encoded>12月16号起挂了到今天24号，消失了8天，终于回来了。&lt;br /&gt;顺便赞一下我们强大的天朝zf，强大无比，为所欲为。&lt;img src=&quot;http://www1.feedsky.com/t1/321519711/stauren/feedsky/s.gif?r=http://stauren.net/log/ier2l4h3o.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519711/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519711/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>12月16号起挂了到今天24号，消失了8天，终于回来了。顺便赞一下我 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519711/stauren/feedsky/s.gif?r=http://stauren.net/log/ier2l4h3o.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519711/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519711/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Thu, 24 Dec 2009 11:14:28 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/ier2l4h3o.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/ier2l4h3o.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/ier2l4h3o.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519711/5589431</fs:itemid></item><item><title>匪就是匪</title><link>http://stauren.net/log/iej6fv7l8.html</link><content:encoded>看比目鱼博客上的一篇文章，讲 温源宁的《Imperfect Understanding》，里面引用了一段钱钟书的评论：“钱锺书写过一篇该书的书评，说'温先生……写了二十多篇富有春秋笔法的当代中国名人小传，气坏了好多人，同时也有人捧腹绝倒的'；”&lt;br /&gt;具体内容什么的倒没啥意思，只是 “温先生” 这个称谓突然让我有些想法。&lt;br /&gt;先生这个词在现在似乎比较少使用了。在之前的时代里面，似乎大家提到某个不相干的人的时候会比较的respect一点，Mr. xxx, xxx先生这样的引用一下某人，就算不知道名字，也可以用 sir 来称呼。&lt;br /&gt;我的感觉是，现在我们对其他人的那种礼貌的尊重少一些了，比如新闻稿里面，提到当官的就是 x局长，x书记 之类的，不会说 x先生今天参加了哥本哈根会议，而一定是x主席、x书记参加了哥本哈根会议。提到某路人的时候，会说xx小区居民xxx，或者xx村村民x某某，总之，给你的标记就是你的身份。&lt;br /&gt;反观国外的习惯，给我的感觉挺像中国老一些时候的那种尊重。像 http://www.washingtonpost.com/wp-dyn/content/article/2009/12/02/AR2009120203472.html 和 http://www.nytimes.com/2009/11/19/opinion/19thu1.html 这两个最近的新闻稿，都以 Mr. Obama 来提及奥巴马。如果我对好莱坞电影毒害得来的印象是对的的话，就算是在法庭上法官问被告，也是会称呼 Mr.xxx。&lt;br /&gt;其实这个我是经历过的，07年去应该的时候，他们提到我会用 Mr. Liu，或者在早上招呼我 &quot;Morning, sir.&quot; 反观在国内的时候，似乎从来没有人会叫我刘先生。&lt;br /&gt;&lt;br /&gt;个人觉得先生还是个蛮好的词，不管一个人的身份是什么，最好不要用什么王大爷、李经理、居民张某来称呼吧，用一个“先生”表达一下尊重，有何不好呢。&lt;br /&gt;&lt;br /&gt;说起来，我这篇blog应该这样开头：“看比目鱼先生博客上的一篇文章，讲 温源宁先生的《Imperfect Understanding》，里面引用了一段钱钟书先生的评论”…… 哈哈哈，是不是文气了不少。&lt;br /&gt;或者我今天的blog应该这样写：“昨晚，我和王昭先生晚饭后在宿舍玩dota的时候，发现电表里面只有0.9度电了……而在当晚的game中，夏冬先生仍然一如既往的神勇……” 不知这两头猪知道了被称作先生，会作何感想。&lt;br /&gt;&lt;br /&gt;哎，从什么时候开始，我们会觉得先生这个称谓奇怪了呢。&lt;img src=&quot;http://www1.feedsky.com/t1/321519712/stauren/feedsky/s.gif?r=http://stauren.net/log/iej6fv7l8.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519712/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519712/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>看比目鱼博客上的一篇文章，讲 温源宁的《Imperfect Understanding》， ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519712/stauren/feedsky/s.gif?r=http://stauren.net/log/iej6fv7l8.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519712/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519712/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Tue, 08 Dec 2009 18:49:16 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/iej6fv7l8.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/iej6fv7l8.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/iej6fv7l8.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519712/5589431</fs:itemid></item><item><title>Max Payne电影比游戏差太远了</title><link>http://stauren.net/log/iebab1oeu.html</link><content:encoded>&lt;img src=&quot;http://stauren.net/uploads/max-payne-2.png&quot; alt=&quot;Max Payne2&quot; /&gt;&lt;br /&gt;昨天在某视频网站上看到了Max Payne 游戏的同名的电影，my holy god！我可是对 Max Payne I, II 游戏都怀着无比热爱的人士，想当年这2个游戏都是通关数次的，也曾经抱着字典看里面的漫画剧情台词，也曾经下载游戏的音乐来听。看完电影后，感觉，电影对这个主题的理解和本身差得太远了。简单说就是，电影真烂。&lt;br /&gt;&lt;br /&gt;Max Payne I 的没有游戏副标题，但我认为游戏宣传封面上的 &lt;a href=&quot;http://upload.wikimedia.org/wikipedia/en/4/4c/Maxpaynebox.jpg&quot;&gt;A man with nothing to lose&lt;/a&gt; 可以看作是这一作的副标题。&lt;br /&gt;游戏开头就是Max站在结局情节发生后的大楼上，然后时光回溯到三年前事件起始的时候（这种倒叙的手法让这个游戏更有一些电影的味道，所以它已经把很多电影里面玩的招都玩了吧，搞得改编电影没得玩了）。本来有着漂亮老婆和女儿的侦探Max同学，突然某天被入室歹徒干掉了除他之外全家人， 原因是他妻子不小心卷入的Valkyr毒品的内幕。之后Max转到了DAE(Drug Enforcement Administration)，去某毒枭手下当了卧底。某天同事BB通知他去见另一个同事Alex，也是他的卧底身份的唯一知情人（类似于无间道里面的黄秋生），结果Alex当场被杀手干掉，Max的卧底身份不能被官方知晓，作为Alex谋杀的头号嫌疑犯被通缉。回到黑帮又被揭穿了卧底身份，被黑帮追杀。基本上游戏就是在这样一个背景下展开的，妻女双亡、警察通缉、黑帮追杀、所以确实是 A man with nothing to lose。当然，nb人物max在这个情况下还是最后平了黑帮、找到了V毒品的军方背景、杀入药品公司Aesir干掉头目，最后在Inner Circle的Alfred woden帮助下脱困，这就是第一集的基本剧情。当然，其中一个的亮点是来自黑帮的女杀手Mona Sax，也是第二集的主要情节。&lt;br /&gt;上面的情节描述可以知道，游戏的主题就是黑暗、压抑、寒冷、绝望、痛苦，整个游戏过程中，纽约市都笼罩在百年不遇的暴风雪中，寒风中烤火的人、游戏中见到的电视机中播音员播报暴风雪和通缉犯Max的新闻、骂骂咧咧的NPC们、漫画加真人配音的叙事形式、超级棒的音乐（比如主题音乐低音大提琴的独奏）、阴森恐怖的V毒品上瘾者的房间、大量的蜡烛作为室内光源，这些都把那种特别黑暗、压抑、寒冷、绝望、痛苦的气氛烘托的非常棒。在电影中，导演似乎只学到了蜡烛光这一招，而且有些过分强调V毒品恐怖的气氛了，这点从根本上就错了，Max Payne是英文Max Pain（最大痛苦）的同音词，主角这么不幸的遭遇，体现的是这点，不是V毒品的恐怖。&lt;br /&gt;第二集的副标题是：The Fall of Max Payne。是讲了第一集事件发生的2年之后，Max在纽约警察局当侦探，在调查一帮名为Cleaners的黑帮杀手的时候又碰到了第一集的杀手Mona Sax，他显然是喜欢上Sax了，其中有一幕是监视Max的杀手对Max进行的电话录音，录到了一段Max晚上拨打的色情热线：&lt;br /&gt;&lt;code class=&quot;javascript&quot;&gt;Operator: Thank you for calling Dangerous Liaisons. For Candy, press one. For Sandy, press two. For Mona, press three. &lt;br /&gt;Max Payne: [presses three on the phone] &lt;br /&gt;Operator: You pressed three for Mona. &lt;br /&gt;Mona (not Sax): Hi, this is Mona. What's your name? &lt;br /&gt;Max Payne: I just need someone to talk to. &lt;br /&gt;Mona (not Sax): Honey, this is a phone sex line; all we do is talk. &lt;br /&gt;Max Payne: Right. It's... how do you fix something like that? How do you make amends? I thought it would help, but it only made it worse. &lt;br /&gt;Mona (not Sax): Just give me your credit card number and I can listen to you all night. &lt;br /&gt;Max Payne: Killing them all only made it worse; it didn't bring them back. &lt;br /&gt;Mona (not Sax): Hey! What are you, some kind of a weirdo? &lt;br /&gt;Max Payne: Sorry... this was... sorry. &lt;br /&gt;[Hangs up] &lt;/code&gt;&lt;br /&gt;Max帮她逃出了警局，Max为她干掉了自己的搭档Winterson（后来发现是俄罗斯黑帮头子Vladimir的情妇），后来发现Cleaners其实是Vladimir的手下，Vladimir和Mona都是上一集最后帮助他免于起诉的参议员Alfred woden的手下，不过Mona拒绝了杀Max的命令，于是他们两个都要被干掉。最后的结局当然是Max和Mona一路杀回去，干掉了Vladimir和Alfred woden。（如果是最高难度通关的话，Mona不会死，否则就只有Max幸存）。&lt;br /&gt;这一集的Max显然是堕落了，虽然凭直觉干掉了确实有问题的Winterson，不过当时这可算是帮助一个逃犯杀手干掉了纽约的探员，Max在失去一切之后显然是很孤独的，其中有一段他和Mona的台词是这样的：&lt;br /&gt;&lt;code class=&quot;javascript&quot;&gt;Mona Sax: What are you so afraid of? What do you want from me? &lt;br /&gt;Max Payne: [coming closer to Mona] 'The things that I want' by Max Payne &lt;br /&gt;Max Payne: A smoke. A Whiskey. For the sun to shine. &lt;br /&gt;Max Payne: [starting a passionate kissing session] I want to sleep, to forget. To change the past. My wife and baby girl back &lt;br /&gt;Max Payne: Unlimited ammo and a licence to kill. Right then, more than anything, I wanted her. &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Max Payne游戏是相当诗意的，不仅语言很诗意，连主题曲都是一首诗。Max Payne曾经在和Winterson打电话的时候有过三段式的短句：can't talk, don't know, gotta go. 这个句子当年在我们宿舍还是经常被使用的。Max Payne曾有下面这样的内心独白：&lt;br /&gt;&lt;code class=&quot;javascript&quot;&gt;Vlad was right. There are no choices. Nothing but a straight line. The illusion comes afterwards, when you ask 'Why me?' and 'What if?'. When you look back and see the branches, like a pruned bonsai tree, or forked lightning. If you had done something differently, it wouldn't be you. It would be someone else looking back, asking a different set of questions. &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;总之，Max Payne 的1、2游戏都是内涵非常不错的游戏，里面有很多意境、甚至是细节的小人物的台词都可以挖掘。电影在这点上搞得太烂了，保留了很多东西，偏偏没有留下意境。btw，提醒大家一句，如果要看电影的话，不要用到了迅雷看看上的那个在线看了，听译的台词是错的，对着那个台词看，保证你看完了也不知道讲的是啥，用本书把显示台词的地方挡住还可以将就看。&lt;br /&gt;&lt;br /&gt;最后，Max Payne 2 的主题曲是A late goodbye，是芬兰乐队Poets of the Fall，歌词是基于Sam Lake的一首讲述他的一个梦的一首诗，btw，Sam Lake同时也是Max Payne游戏的剧情作者和游戏人物造型的原型人物：&lt;br /&gt;&lt;code class=&quot;javascript&quot;&gt;&lt;br /&gt;Late Goodbye&lt;br /&gt;&lt;br /&gt;in our headlights, staring, bleak, beer cans, deer's eyes&lt;br /&gt;on the asphalt underneath, our crushed plans and my lies&lt;br /&gt;lonely street signs, powerlines, they keep on flashing, flashing by&lt;br /&gt;&lt;br /&gt;and we keep driving into the night&lt;br /&gt;it's a late goodbye, such a late goodbye&lt;br /&gt;and we keep driving into the night&lt;br /&gt;it's a late goodbye&lt;br /&gt;&lt;br /&gt;your breath hot upon my cheek, and we crossed, that line&lt;br /&gt;you made me strong when I was feeling weak, and we crossed, that one time&lt;br /&gt;screaming stop signs, staring wild eyes, keep on flashing, flashing by&lt;br /&gt;&lt;br /&gt;and we keep driving into the night&lt;br /&gt;it's a late goodbye, such a late goodbye&lt;br /&gt;and we keep driving into the night&lt;br /&gt;it's a late goodbye&lt;br /&gt;&lt;br /&gt;the devil grins from ear to ear when he sees the hand he's dealt us&lt;br /&gt;points at your flaming hair, and then we're playing hide and seek&lt;br /&gt;I can't breathe easy here, less our trail's gone cold behind us&lt;br /&gt;till' in the john mirror you stare at yourself grown old and weak&lt;br /&gt;&lt;br /&gt;and we keep driving into the night&lt;br /&gt;it's a late goodbye, such a late goodbye...&lt;br /&gt;&lt;br /&gt;Based on a poem by Sam Lake&lt;/code&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/321519713/stauren/feedsky/s.gif?r=http://stauren.net/log/iebab1oeu.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519713/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519713/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>昨天在某视频网站上看到了Max Payne 游戏的同名的电影，my holy god！ ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519713/stauren/feedsky/s.gif?r=http://stauren.net/log/iebab1oeu.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519713/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519713/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Tue, 01 Dec 2009 14:16:54 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/iebab1oeu.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/iebab1oeu.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/iebab1oeu.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519713/5589431</fs:itemid></item><item><title>翻了篇讲Google Closure的</title><link>http://stauren.net/log/ie3e6ecex.html</link><content:encoded>最近看了好些讲&lt;a href=&quot;http://code.google.com/closure/&quot;&gt;Google Closure&lt;/a&gt;的东西，也下下来玩了一阵子，想起好久没给 &lt;a href=&quot;http://jsmore.com&quot;&gt;http://jsmore.com&lt;/a&gt; 写东西了，于是翻了篇。&lt;br /&gt;欢迎大家点击 &lt;a href=&quot;http://jsmore.com/archives/google-closure-how-not-to-write-javascript/&quot;&gt;Google Closure: 糟糕的JavaScript&lt;/a&gt; 查看，哈哈。&lt;br /&gt;也欢迎订阅 &lt;a href=&quot;http://feeds.feedburner.com/jsmore&quot;&gt;jsmore&lt;/a&gt; ，嘿嘿，最近大家都比较忙，更新少了点&lt;img src=&quot;http://www1.feedsky.com/t1/321519714/stauren/feedsky/s.gif?r=http://stauren.net/log/ie3e6ecex.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519714/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519714/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>最近看了好些讲Google Closure的东西，也下下来玩了一阵子，想起好 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519714/stauren/feedsky/s.gif?r=http://stauren.net/log/ie3e6ecex.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519714/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519714/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Fri, 27 Nov 2009 18:05:13 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/ie3e6ecex.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/ie3e6ecex.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/ie3e6ecex.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519714/5589431</fs:itemid></item><item><title>IE6下fixed定位的几个解决方案</title><link>http://stauren.net/log/idvi1q6j5.html</link><content:encoded>说实话，真的不想写支持IE6的东西了，IE6最好赶快消失...&lt;br /&gt;IE6不支持 position:fixed ，要在IE6下实现类似的效果，只能用 position absolute 来模拟，同时监听window的 resize 和 scroll 事件同时改变位置即可。如下：&lt;br /&gt;&lt;a href=&quot;http://stauren.net/uploads/fixed/fixed.html&quot;&gt;normal fixed example&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;但这个模拟有一个问题，很在scroll的时候，一直在改变位置的那个层会“跳动”，或者说“闪动”，flickrer。一个解决方案是为body引入一个404的图片背景，在页面dom比较heavy的时候，会不那么跳动，这个的原理我估计是拖慢了浏览器的速度，让位置同步变慢了，反而不那么闪了。不过多了一次404请求，对页面性能也不太好，如下：&lt;br /&gt;&lt;a href=&quot;http://stauren.net/uploads/fixed/fixed_noflicker.html&quot;&gt;less flicker fixed example&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;另一个解决方案是加入一个跟随移动的动画效果，不那么闪，也能达到定位的实质，虽然有人不太喜欢各个浏览器下表现不完全一致，不过我喜欢这个方法：&lt;br /&gt;&lt;a href=&quot;http://stauren.net/uploads/fixed/following_animation.html&quot;&gt;following animation exapmle&lt;/a&gt;&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/321519715/stauren/feedsky/s.gif?r=http://stauren.net/log/idvi1q6j5.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519715/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519715/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>说实话，真的不想写支持IE6的东西了，IE6最好赶快消失...IE6不支持 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519715/stauren/feedsky/s.gif?r=http://stauren.net/log/idvi1q6j5.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519715/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519715/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Mon, 23 Nov 2009 11:08:01 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/idvi1q6j5.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/idvi1q6j5.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/idvi1q6j5.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519715/5589431</fs:itemid></item><item><title>shame, 只敢由美国大使替国人问一下奥巴马</title><link>http://stauren.net/log/idnlwx9qi.html</link><content:encoded>[洪博培代网民提问]第一，有这么多互联网使用者的国家，有6000万写博客的人，你知道防火墙的事情吗？第二，我们是不是应该自由的使用TWITTER?[ 11-16 13:46]&lt;br /&gt;&lt;br /&gt;[奥巴马]首先让我说，我从来没有使用过TWITTER。我注意到一些年轻人，他们一直很忙，有各种各样的电子器材，很笨重。但是我还是非常相信技术的作用，非常重视开放性。在信息流动方面，我认为越是能够自由的信息流通，社会就变得越强，因为这样子，世界各地的公民能让自己的政府负责，有一个问责制度，他们自己会思考，这样会有新的想法，鼓励创造性。所以我一直是坚定的支持互联网开放的使用，我是非常支持不审查内容，在美国我过去谈过，这是我们的一个传统，我也认识到不同的国家有不同的传统，但是我可以告诉各位，在美国，我们有没有受限制的使用互联网的机会，这是我们力量的来源，也应该受到鼓励的。[ 11-16 13:47]&lt;br /&gt;&lt;br /&gt;[奥巴马]但是我也应该很诚实的告诉各位，作为美国总统，有的时候我还是希望信息不是那么自由的流通，因为这样我就不需要听到人们在批评我，我认为很自然的。[ 11-16 13:48]&lt;br /&gt;&lt;br /&gt;[奥巴马]在人处于一个实力地位的时候就会想到，你为什么这样说我，你这样说是很不负责的。可是真实的情况是这样，因为在美国信息是自由的，因为在美国有很多人批评我说各种各样的事情，但我还是认为，这样才会使得我们的民族制度变得更强，使我变成一个更好的领导人，因为它迫使我听到一些我不愿意听到的意见，也迫使我审查我正在做的事情，每天都要审查，要看我是不是真的为美国人民做我能做的最好的事情。所以我认为互联网现在已经变成一个更强的工具，可以让公民来参与。[ 11-16 13:49]&lt;br /&gt;&lt;br /&gt;[奥巴马]实际上，我这次胜选，当了总统的一个原因之一我们能够动员很多年轻人，通过互联网来动员。刚开始的时候，没有人会想到我会赢，因为我们不是得到最富裕的支持者、政治上最有权利的人支持我们，可是人们通过互联网看到我们竞选，他们开始感到很兴奋，他们就组织起来成立一些竞选的活动、事件和集会，结果就产生了这些从下往上的一种行动，使我们很成功。[ 11-16 13:50]&lt;br /&gt;&lt;br /&gt;[奥巴马]这不仅在政府和政治，在企业界一样。像Google这种公司，不到20年前，它只是两个年龄跟你们差不多一样的人创业，本来是科学的实验，后来因为互联网，他们能够创造一个产业，这个产业使得全世界各地的商业发生一场革命。[ 11-16 13:51]&lt;br /&gt;&lt;br /&gt;[奥巴马]所以要不是有很自由的开放性，就像互联网所提供的开放性，那Google不会存在，所以我很支持一个做法，就是不要限制互联网的使用、接触或者像 TWITTER这种信息技术，越开放越能够沟通，使全世界联系在一起。像我的两个女儿玛丽亚和娜塔莎，一个是11岁，一个是8岁，在她们的房间可以上网，通过互联网可以达到世界任何地方，可以学到她们想学的内容，这是她们巨大的力量，她们拥有这种力量，也有利于促进相互理解。[ 11-16 13:52]&lt;br /&gt;&lt;br /&gt;[奥巴马]就像我刚才所说的，技术也有负面，恐怖分子也可以通过互联网做一些以前他们做不到的事情，有一些极端分子也可以动员。当然开放性肯定要付出某种代价，这是不能否认的。可是我想好的远远多于坏的，所以还是保持开放是好的，这是我很高兴互联网也作为这个论坛的一部分。最后两个问题。[ 11-16 13:52]&lt;br /&gt;&lt;br /&gt;墙总有一天是会倒的！&lt;img src=&quot;http://www1.feedsky.com/t1/321519716/stauren/feedsky/s.gif?r=http://stauren.net/log/idnlwx9qi.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519716/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519716/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>[洪博培代网民提问]第一，有这么多互联网使用者的国家，有6000万 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519716/stauren/feedsky/s.gif?r=http://stauren.net/log/idnlwx9qi.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519716/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519716/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Mon, 16 Nov 2009 14:39:06 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/idnlwx9qi.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/idnlwx9qi.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/idnlwx9qi.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519716/5589431</fs:itemid></item><item><title>stauren分歧争端机又升级了</title><link>http://stauren.net/log/idfprev75.html</link><content:encoded>使用了0.3.0版本的js，另外，实现了一个功能，分段执行，就是把本来会长时间连续执行的js打断，让每xxx时间段可以有一点cpu时间分给用户，界面可以活动起来，不像死机了。运算多的页面可以用这个。&lt;br /&gt;&lt;br /&gt;链接在此 &lt;a href=&quot;http://stauren.net/uploads/guess/guess1.html&quot;&gt;http://stauren.net/uploads/guess/guess1.html&lt;/a&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/321519717/stauren/feedsky/s.gif?r=http://stauren.net/log/idfprev75.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519717/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519717/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>使用了0.3.0版本的js，另外，实现了一个功能，分段执行，就是把本 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519717/stauren/feedsky/s.gif?r=http://stauren.net/log/idfprev75.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519717/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519717/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Mon, 26 Oct 2009 23:46:57 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/idfprev75.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/idfprev75.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/idfprev75.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519717/5589431</fs:itemid></item><item><title>江西旅游回来了</title><link>http://stauren.net/log/id7tmjaqb.html</link><content:encoded>周四晚上火车直奔南昌，周日早上回到北京，去江西转了一圈，又回来了。&lt;br /&gt;&lt;br /&gt;这种参观式的旅游真是累，不停的在各种交通工具之间切换，3个晚上有2个晚上是在火车上度过的，其余大部分时间在大巴上，这样的旅游，我不太喜欢。更喜欢的是，背上一个大包，自己慢慢的去登上之类的，虽然累，但是比起这种“上车睡觉，下次尿尿，到了景点乱拍照（导游语）”的旅游有意思多了。&lt;br /&gt;&lt;br /&gt;导游异常的贫，是个好导游，会调节气氛和讲解东西，挺不错的。南昌虽然在破破烂烂比较穷的江西，不过还是蛮中国的。例如，因为江西的景德镇的有名的瓷器的出口，英语中的 China =》中国， 陶瓷=》china=》昌南，估计是古代出土这些瓷器的地方，原来中国的英语名竟然是 “昌南” 两个汉字的音译，以前没有想到的呢。&lt;br /&gt;&lt;br /&gt;这次主要去了江西的龙虎山，道教的张天师住的地方。水浒传的第一回：“张天师祈禳瘟疫 洪太尉误走妖魔”说的张天师，就是这个了。张天师不是某一个人，是类似语教皇和西藏的活佛这样的角色，不停的有新人出来，虽然都姓张，哈哈。&lt;br /&gt;&lt;br /&gt;中国的佛道一向不太分，这次去了才弄得明白了一些，原来算命、风水、符文、炼丹等等都是道家的，和尚是不能算命看风水啥的…… 而且道教原来是可以结婚生子的，讲究修今生，并且还有阴阳双修（听起来很限制级的）。&lt;br /&gt;&lt;br /&gt;张天师起源于汉代的五斗米道创立者张陵，看了这个才知道，原来道教是在三国时期兴起的，原来汉中王张鲁还是第三任的张天师，黄巾军的首领张角的太平道原来也是道教的一个门派！真是汗啊，看了这么多年三国还 没弄清过道教和这其中的关系。正是因为黄巾军闹得太猛了，朝廷觉得需要管理，所以开始册封张天师，这一封，就封到了现在第65代（btw，据说，49年张天师逃到台湾，所以现在大陆和台湾是各一个张天师）。&lt;br /&gt;&lt;br /&gt;虽然当年道教各种nb，不过说到底，中国的宗教都是很可怜的，不管佛教还是道教，都是统治者的工具。不像基督教和伊斯兰教，在中世纪甚至于现在，这些宗教很多时候是凌驾于政府之上的。看看伊斯兰教和基督教在耶路撒冷、麦加等等等等这些所谓的圣地就可以看出来一些东西。在比较一下这个理论上是道教的最大圣地（相当于基督教的梵蒂冈，伊斯兰教的麦加、麦地那）的张天师的府第的龙虎山，我的感觉是，出了他的大院子，到所在宅第所在的村里，那种宗教的气氛就消失的一干二净，更不要说连本身都破破烂烂，完全是一个盈利小旅游景点的张天师府本身了。&lt;br /&gt;在天师府的参观过程中，我听到的做多一句话是：施主，随喜功德~这是圣地么，这只是一个没有灵魂的破破烂烂的壳子。&lt;br /&gt;&lt;br /&gt;自己都不当真，没人会把你当真。自己都不相信，谁会信。&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/321519718/stauren/feedsky/s.gif?r=http://stauren.net/log/id7tmjaqb.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519718/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519718/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>周四晚上火车直奔南昌，周日早上回到北京，去江西转了一圈，又 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519718/stauren/feedsky/s.gif?r=http://stauren.net/log/id7tmjaqb.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519718/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519718/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Sun, 18 Oct 2009 16:51:31 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/id7tmjaqb.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/id7tmjaqb.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/id7tmjaqb.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519718/5589431</fs:itemid></item><item><title>更新了一些东西</title><link>http://stauren.net/log/iczxhxflh.html</link><content:encoded>js重写了一些地方，double-underscore 升级到了 0.3.0 版本&lt;br /&gt;今晚出发去江西龙虎山旅游，哈哈，道教的山……&lt;img src=&quot;http://www1.feedsky.com/t1/321519719/stauren/feedsky/s.gif?r=http://stauren.net/log/iczxhxflh.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519719/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519719/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><description>js重写了一些地方，double-underscore 升级到了 0.3.0 版本今晚出发去江 ...&lt;img src=&quot;http://www1.feedsky.com/t1/321519719/stauren/feedsky/s.gif?r=http://stauren.net/log/iczxhxflh.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/stauren/321519719/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/stauren/321519719/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>all</category><pubDate>Thu, 15 Oct 2009 15:41:41 +0800</pubDate><author>stauren</author><comments>http://stauren.net/log/iczxhxflh.html#comments</comments><guid isPermaLink="false">http://stauren.net/log/iczxhxflh.html</guid><dc:creator>stauren</dc:creator><fs:srclink>http://stauren.net/log/iczxhxflh.html</fs:srclink><fs:srcfeed>http://stauren.net/rss</fs:srcfeed><fs:itemid>feedsky/stauren/~7480486/321519719/5589431</fs:itemid></item></channel></rss>