<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    >
<channel>
<title>broom's updates</title>
<link>http://feed.broom9.com</link>
<description>
Aggregated from links below
http://b2.broom9.com
https://www.google.com/reader/shared/15697895897633673600
http://picasaweb.google.com/weiwei9
http://jiwai.de/broom9
</description>
<language>en-us</language>



<item>
<title>PS3和22寸LCD</title>
<link>http://b2.broom9.com/?p=923</link>
<description>
<![CDATA[昨天去risune那儿观摩了神机3配合22寸LCD显示器的效果，可以说是非常的不错。只需要简单的一个转接头就可以把PS3的HDMI输出转成DVI输入，然后在LCD上达到720p的效果。
考虑到22寸LCD近一年来已经便宜得成为主流尺寸了，对于由于价格房子等种种因素不太想买大电视的玩家来说，还是一个不错的选择。]]>
</description>
<content:encoded>
<![CDATA[<p>昨天去risune那儿观摩了神机3配合22寸LCD显示器的效果，可以说是非常的不错。只需要简单的一个转接头就可以把PS3的HDMI输出转成DVI输入，然后在LCD上达到720p的效果。</p>
<p>考虑到22寸LCD近一年来已经便宜得成为主流尺寸了，对于由于价格房子等种种因素不太想买大电视的玩家来说，还是一个不错的选择。</p>]]>
</content:encoded>
</item>


<item>
<title>越狱猫</title>
<link>http://b2.broom9.com/?p=921</link>
<description>
<![CDATA[晚上睡觉我一般是把猫关阳台的，但是今天它们自己扒开窗户登堂入室了……
早晨起来发现脚下躺着一头，另一头在悠悠的走去喝水]]>
</description>
<content:encoded>
<![CDATA[<p>晚上睡觉我一般是把猫关阳台的，但是今天它们自己扒开窗户登堂入室了……</p>
<p>早晨起来发现脚下躺着一头，另一头在悠悠的走去喝水</p>]]>
</content:encoded>
</item>


<item>
<title>Mummy 3</title>
<link>http://b2.broom9.com/?p=919</link>
<description>
<![CDATA[抱着看烂片的期望去的，结果感觉还可以，没想象的那么烂，哈哈。
大概是因为看过功夫之王，所以对这种中西噱头大锅炒的片子已经免疫力增强了，看到兵马俑大战骷髅兵、李连杰变身三头飞龙，破卡车追逐地狱马车外加RPG单兵火箭筒版大烟花轰炸什么的也觉得挺乐呵的。这片子2个小时还是塞得挺满的，看的应接不暇。不过感觉里面中国人的戏份是非常的多，不知道老外是不是买账。]]>
</description>
<content:encoded>
<![CDATA[<p>抱着看烂片的期望去的，结果感觉还可以，没想象的那么烂，哈哈。</p>
<p>大概是因为看过功夫之王，所以对这种中西噱头大锅炒的片子已经免疫力增强了，看到兵马俑大战骷髅兵、李连杰变身三头飞龙，破卡车追逐地狱马车外加RPG单兵火箭筒版大烟花轰炸什么的也觉得挺乐呵的。这片子2个小时还是塞得挺满的，看的应接不暇。不过感觉里面中国人的戏份是非常的多，不知道老外是不是买账。</p>]]>
</content:encoded>
</item>


<item>
<title>走罐</title>
<link>http://b2.broom9.com/?p=917</link>
<description>
<![CDATA[昨天晚上不知道哪根筋不对，就跑去做了个走罐。大概就是拔火罐和刮痧结合的一种方式，用火罐在身上移来移去。真是不拔不知道一拔吓一跳啊，两边肩上都乌紫乌紫的。弄完之后背上就感觉怪怪的，好像多了些东西似的。
刚开始把火罐吸到身上的时候还没什么痛的感觉，移了一会儿之后反倒变痛了。我就问这压力不是应该越来越小么，怎么会反倒疼起来了，回答是我背上在出痧，所以会疼，555。
再就是好像南方人对火罐刮痧这些东西都比较了解，一般家里都能简单做做。我就一直都不知道这些是干什么用的。]]>
</description>
<content:encoded>
<![CDATA[<p>昨天晚上不知道哪根筋不对，就跑去做了个走罐。大概就是拔火罐和刮痧结合的一种方式，用火罐在身上移来移去。真是不拔不知道一拔吓一跳啊，两边肩上都乌紫乌紫的。弄完之后背上就感觉怪怪的，好像多了些东西似的。</p>
<p>刚开始把火罐吸到身上的时候还没什么痛的感觉，移了一会儿之后反倒变痛了。我就问这压力不是应该越来越小么，怎么会反倒疼起来了，回答是我背上在出痧，所以会疼，555。</p>
<p>再就是好像南方人对火罐刮痧这些东西都比较了解，一般家里都能简单做做。我就一直都不知道这些是干什么用的。</p>]]>
</content:encoded>
</item>


<item>
<title>XBox 360降价啦</title>
<link>http://b2.broom9.com/?p=915</link>
<description>
<![CDATA[199$，嗯，这机器要普及了，入手有望]]>
</description>
<content:encoded>
<![CDATA[<p>199$，嗯，这机器要普及了，入手有望</p>]]>
</content:encoded>
</item>


<item>
<title>Hello~</title>
<link>http://b2.broom9.com/?p=912</link>
<description>
<![CDATA[From Google Chrome, lol]]>
</description>
<content:encoded>
<![CDATA[<p>From <a href="http://google.com/chrome">Google Chrome</a>, lol</p>]]>
</content:encoded>
</item>


<item>
<title>Google Chrome Process Manager</title>
<link>http://ejohn.org/blog/google-chrome-process-manager/</link>
<description>
<![CDATA[<p>About the just-leaked <a href="http://blogoscoped.com/archive/2008-09-01-n47.html">Google Chrome</a> browser:</p>
	<blockquote><p>Google also say they’re using a “multi-process design” which they say means “a bit more memory up front” but over time also “less memory bloat.” When web pages or plug-ins do use a lot of memory, you can spot them in Chrome’s task manager, “placing blame where blame belongs.”</p></blockquote>
	<p>If this is true and there's a process manager which allows you to see how many resources are being consumed by a particular browser tab (including plugins!) this will be a 100% killer browser feature.</p>
	<p>It simply isn't possible to implement with current browser architectures which brings up two points: 1) Browsers haven't tackled it due to the extreme amount of code rewrite that it would cause and 2) that there's a general consensus that this architecture will actually consume more resources than the current architectures.</p>
	<p>This is important. Since there's no sharing going on between the tabs of the browser it's not possible to easily reduce the amount of duplicate resources. For example, within the Mozilla Gecko engine there's a lot of code reuse occurring, which allows for significantly reduced memory consumption (and optimized memory collection and defragmentation).</p>
	<p>But here's the rub.</p>
	<p><b>The blame of bad performance or memory consumption no longer lies with the browser but with the site.</b></p>
	<p>By implementing this feature a browser is completely deflecting all memory or performance criticism off to individual site owners ("Yikes, my browser is using 300MB of memory! Actually it's just youtube.com consuming 290MB of it, they should fix their web site!"). This is going to be a monumental shift in the responsibilities of web developers - and one that will serve the web better, as a whole.</p>
	<p>Of course there will still be overhead associated with the core browser - but, presumably, this will be marginalized.</p>
	<p>This is an incredibly devious (in the best sense of the word) tactic and it's one that browser vendors will be forced to respond to. How the response will occur is another matter entirely.</p>
	<p>Once the response occurs, though, two things will happen: Browsers will begin to compete on reducing specific memory/performance numbers for specific sites (it happens now - but with the numbers made obvious users will beg for it) and browsers will be enticed to lie.</p>
	<p>Since the browser is the new harbinger of the de-facto "accurate performance metrics" (it's no longer the Window Process Manager, for example) they'll have to take every opportunity to exaggerate those number to their benefit.</p>
	<p>On so many levels this new feature will change the way browsers are constructed and how they communicate to the user. Even if Google Chrome launch does nothing but fall off the end of the runway in a fiery explosion, users will be intrigued, and the seed will be planted: Browsers must find a way to respond.</p>
	<p><b>Update:</b> A <a href="http://blogoscoped.com/files/google-chrome-screens/5.jpg">screenshot</a> has been posted showing the task manager:</p>
	<p><center><img src="http://blogoscoped.com/files/google-chrome-screens/5.jpg" /></center></p>
	<p>It's quite small (and, seemingly, quite spartan) but it appears to detail three properties of every tab: CPU usage, memory usage, and network usage.</p>
	<p>It's going to be fascinating to see what type of user-centric UIs come around this. Tabs that use a lot of CPU turn red? if they consume a lot of memory they grow larger? It seems like there's a bunch of ways in which the quality of the tabs could be appropriately communicated.
</p>
		<img src="http://ejohn.org/apps/rss/?from=rss&amp;id=5639" /><img src="http://feeds.feedburner.com/~r/JohnResig/~4/380822179" height="1" width="1" />]]>
</description>
<content:encoded>
<![CDATA[<p>About the just-leaked <a href="http://blogoscoped.com/archive/2008-09-01-n47.html">Google Chrome</a> browser:</p>
	<blockquote><p>Google also say they’re using a “multi-process design” which they say means “a bit more memory up front” but over time also “less memory bloat.” When web pages or plug-ins do use a lot of memory, you can spot them in Chrome’s task manager, “placing blame where blame belongs.”</p></blockquote>
	<p>If this is true and there's a process manager which allows you to see how many resources are being consumed by a particular browser tab (including plugins!) this will be a 100% killer browser feature.</p>
	<p>It simply isn't possible to implement with current browser architectures which brings up two points: 1) Browsers haven't tackled it due to the extreme amount of code rewrite that it would cause and 2) that there's a general consensus that this architecture will actually consume more resources than the current architectures.</p>
	<p>This is important. Since there's no sharing going on between the tabs of the browser it's not possible to easily reduce the amount of duplicate resources. For example, within the Mozilla Gecko engine there's a lot of code reuse occurring, which allows for significantly reduced memory consumption (and optimized memory collection and defragmentation).</p>
	<p>But here's the rub.</p>
	<p><b>The blame of bad performance or memory consumption no longer lies with the browser but with the site.</b></p>
	<p>By implementing this feature a browser is completely deflecting all memory or performance criticism off to individual site owners ("Yikes, my browser is using 300MB of memory! Actually it's just youtube.com consuming 290MB of it, they should fix their web site!"). This is going to be a monumental shift in the responsibilities of web developers - and one that will serve the web better, as a whole.</p>
	<p>Of course there will still be overhead associated with the core browser - but, presumably, this will be marginalized.</p>
	<p>This is an incredibly devious (in the best sense of the word) tactic and it's one that browser vendors will be forced to respond to. How the response will occur is another matter entirely.</p>
	<p>Once the response occurs, though, two things will happen: Browsers will begin to compete on reducing specific memory/performance numbers for specific sites (it happens now - but with the numbers made obvious users will beg for it) and browsers will be enticed to lie.</p>
	<p>Since the browser is the new harbinger of the de-facto "accurate performance metrics" (it's no longer the Window Process Manager, for example) they'll have to take every opportunity to exaggerate those number to their benefit.</p>
	<p>On so many levels this new feature will change the way browsers are constructed and how they communicate to the user. Even if Google Chrome launch does nothing but fall off the end of the runway in a fiery explosion, users will be intrigued, and the seed will be planted: Browsers must find a way to respond.</p>
	<p><b>Update:</b> A <a href="http://blogoscoped.com/files/google-chrome-screens/5.jpg">screenshot</a> has been posted showing the task manager:</p>
	<p><center><img src="http://blogoscoped.com/files/google-chrome-screens/5.jpg" /></center></p>
	<p>It's quite small (and, seemingly, quite spartan) but it appears to detail three properties of every tab: CPU usage, memory usage, and network usage.</p>
	<p>It's going to be fascinating to see what type of user-centric UIs come around this. Tabs that use a lot of CPU turn red? if they consume a lot of memory they grow larger? It seems like there's a bunch of ways in which the quality of the tabs could be appropriately communicated.
</p>
		<img src="http://ejohn.org/apps/rss/?from=rss&amp;id=5639" /><img src="http://feeds.feedburner.com/~r/JohnResig/~4/380822179" height="1" width="1" />]]>
</content:encoded>
<source url="http://ejohn.org">John Resig</source>
</item>


<item>
<title>北京南站</title>
<link>http://picasaweb.google.com/weiwei9/BTmrOJ</link>
<description>
<![CDATA[<table><tr><td><a href="http://picasaweb.google.com/weiwei9/BTmrOJ"><img style="border:1px solid #5C7FB9" src="http://lh6.ggpht.com/weiwei9/SLra4hFW-eE/AAAAAAAADgg/kHfAK697DDs/s160-c/BTmrOJ.jpg" alt="北京南站" /></a></td><td valign="top"><p>北京南站</p>Location: Beijing, China<br/>Date: Aug 30, 2008<br/>Number of Photos in Album: 4<br/><p><a href="http://picasaweb.google.com/weiwei9/BTmrOJ">View Album</a></p></td></tr></table>]]>
</description>
<content:encoded>
<![CDATA[<table><tr><td><a href="http://picasaweb.google.com/weiwei9/BTmrOJ"><img style="border:1px solid #5C7FB9" src="http://lh6.ggpht.com/weiwei9/SLra4hFW-eE/AAAAAAAADgg/kHfAK697DDs/s160-c/BTmrOJ.jpg" alt="北京南站" /></a></td><td valign="top"><p>北京南站</p>Location: Beijing, China<br/>Date: Aug 30, 2008<br/>Number of Photos in Album: 4<br/><p><a href="http://picasaweb.google.com/weiwei9/BTmrOJ">View Album</a></p></td></tr></table>]]>
</content:encoded>
</item>


<item>
<title>说凉就凉了</title>
<link>http://b2.broom9.com/?p=909</link>
<description>
<![CDATA[话说昨天晚上，我是被冻醒的。睡觉的时候还觉得阳台上风吹进来挺凉快，晚上温度呼啦一下就降下来了。
这两天的天是格外的蓝，白天出去的时候太阳晃得人都睁不开眼。可惜诸事缠身，没能如愿出游一趟，下周，下周一定，嗯。。。
问了问iphone水货的价钱，港版7k+，美版5k+，都是令我OTL的价格，还是算了……nnd，怎么这么贵了。
周末吃了一次牛排，在西单君太地下的Sizzler，我觉得还挺好吃的，就是有些贵……一个疑问是牛排到底应该是多厚啊？这次吃的这个挺厚的感觉差不多有两厘米，但是我以前吃的似乎都是一厘米多点。
早晨一早送小侯去北京南站坐车。九年前我考理科班的时候来这儿坐过一次车，那时候还是在一个破院子里面检票，候车厅检票厅都没有。现在已经翻修一新成了北京最新的火车站了。一路走过去的感觉就是真像飞机场……看这候车厅

还有这个有中国特色的内网IP。。]]>
</description>
<content:encoded>
<![CDATA[<p>话说昨天晚上，我是被冻醒的。睡觉的时候还觉得阳台上风吹进来挺凉快，晚上温度呼啦一下就降下来了。</p>
<p>这两天的天是格外的蓝，白天出去的时候太阳晃得人都睁不开眼。可惜诸事缠身，没能如愿出游一趟，下周，下周一定，嗯。。。</p>
<p>问了问iphone水货的价钱，港版7k+，美版5k+，都是令我OTL的价格，还是算了……nnd，怎么这么贵了。</p>
<p>周末吃了一次牛排，在西单君太地下的Sizzler，我觉得还挺好吃的，就是有些贵……一个疑问是牛排到底应该是多厚啊？这次吃的这个挺厚的感觉差不多有两厘米，但是我以前吃的似乎都是一厘米多点。</p>
<p>早晨一早送小侯去北京南站坐车。九年前我考理科班的时候来这儿坐过一次车，那时候还是在一个破院子里面检票，候车厅检票厅都没有。现在已经翻修一新成了北京最新的火车站了。一路走过去的感觉就是真像飞机场……看这候车厅<br />
<a href="http://picasaweb.google.com/weiwei9/BTmrOJ/photo#5240741831180677250"><img src="http://lh5.ggpht.com/weiwei9/SLra7ccN8II/AAAAAAAADgE/DsDG1CFhSak/s400/IMG_3122.JPG" alt="北京南站候车厅" /></a></p>
<p>还有这个有中国特色的内网IP。。<br />
<a href="http://picasaweb.google.com/weiwei9/BTmrOJ/photo#5240741952876055186"><img src="http://lh3.ggpht.com/weiwei9/SLrbChyqCpI/AAAAAAAADgc/boyrN2P3ReM/s400/IMG_3126.JPG" alt="有中国特色的内网IP" /></a></p>]]>
</content:encoded>
</item>


<item>
<title>A Pitfall of skip_before_filter</title>
<link>http://b2.broom9.com/?p=906</link>
<description>
<![CDATA[In rails, a common task is to use skip_before_filter to skip a certain global before_filter on several actions.
For example

  skip_before_filter :authenticate, :only => [:login]

But if somehow we did calls in this format twice

  skip_before_filter :authenticate, :only => [:login]
  skip_before_filter :authenticate, :only => [:index]

Then only the latest one will work, the action &#8220;login&#8221; [...]]]>
</description>
<content:encoded>
<![CDATA[<p>In rails, a common task is to use skip_before_filter to skip a certain global before_filter on several actions.<br />
For example</p>
<pre lang="ruby" title="dp_code">
  skip_before_filter :authenticate, :only => [:login]
</pre>
<p>But if somehow we did calls in this format twice</p>
<pre lang="ruby" title="dp_code">
  skip_before_filter :authenticate, :only => [:login]
  skip_before_filter :authenticate, :only => [:index]
</pre>
<p>Then only the latest one will work, the action &#8220;login&#8221; will be filtered by &#8220;authenticate&#8221; again, in the example above.<br />
This is a little bit reasonable, because you might mean the latest set when you specify &#8220;only&#8221; repeatedly. But it WAS a pitfall I fell into. Maybe an option like &#8220;:overwrite&#8221; on the &#8220;before_filter&#8221; will be more friendly to user.</p>]]>
</content:encoded>
</item>


</channel>
</rss>
