<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>天机不可泄漏 &#187; Twitter</title>
	<atom:link href="http://www.allenle.com/archives/tag/twitter/feed" rel="self" type="application/rss+xml" />
	<link>http://www.allenle.com</link>
	<description>Allen Le&#039;s Blog</description>
	<lastBuildDate>Sat, 21 Jan 2012 07:47:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Twitter和新浪围脖的区别</title>
		<link>http://www.allenle.com/archives/2441.html</link>
		<comments>http://www.allenle.com/archives/2441.html#comments</comments>
		<pubDate>Sat, 19 Mar 2011 14:41:38 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[随便耍耍]]></category>
		<category><![CDATA[sina]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.allenle.com/?p=2441</guid>
		<description><![CDATA[最近使用新浪微博比较多，同时还在继续使用Twitter，今日发现新浪微博和Twttier的区别： Twitter可以提交“﻿注册篱笆，需要验证手机号，我发了2次验证码，后来发现，手机号填错了，和我手机号很像的兄弟，不好意思。”，则新浪不可以。原因，不知道。 也许你还会喜欢设置twip noAuth REST API的使用权限输出Twitter到博客Twitter &#8220;What&#8217;s happening?&#8221;火兔此时无声胜有声【周报】20090606要挂一起挂什么时候变大众]]></description>
			<content:encoded><![CDATA[<p>最近使用新浪微博比较多，同时还在继续使用Twitter，今日发现新浪微博和Twttier的区别：</p>
<p>Twitter可以提交“﻿注册篱笆，需要验证手机号，我发了2次验证码，后来发现，手机号填错了，和我手机号很像的兄弟，不好意思。”，则新浪不可以。原因，不知道。</p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1841.html" title="火兔">火兔</a></li><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/1629.html" title="什么时候变大众">什么时候变大众</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/2441.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>设置twip noAuth REST API的使用权限</title>
		<link>http://www.allenle.com/archives/2223.html</link>
		<comments>http://www.allenle.com/archives/2223.html#comments</comments>
		<pubDate>Tue, 11 May 2010 10:54:00 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[随便耍耍]]></category>
		<category><![CDATA[twip]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.allenle.com/?p=2223</guid>
		<description><![CDATA[上一篇文章中使用到了twip，文中用到的Twitter API是noAuth REST API，是不需要验证的，也就是说任何人都可以通过你架设的twip做一个自己的Twitter Widget，这无疑这个会给服务器带来一定的负担。 twip自带身份限制功能，既然如此，我们只要在开始请求noAuth REST API之前，使用身份限制功能即可。 以下是对index.php做了修改。 大概位置如下 修改后就能对noAuth REST API的访问进行身份限制了，关于如何使用twip的身份限制功能，请参看其Config.php。 也许你还会喜欢Twitter和新浪围脖的区别输出Twitter到博客Twitter &#8220;What&#8217;s happening?&#8221;火兔此时无声胜有声【周报】20090606要挂一起挂什么时候变大众]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.allenle.com/archives/2217.html" target="_blank">上一篇文章</a>中使用到了<a href="http://code.google.com/p/twip/" target="_blank">twip</a>，文中用到的Twitter API是noAuth REST API，是不需要验证的，也就是说任何人都可以通过你架设的twip做一个自己的Twitter Widget，这无疑这个会给服务器带来一定的负担。</p>
<p>twip自带身份限制功能，既然如此，我们只要在开始请求noAuth REST API之前，使用身份限制功能即可。</p>
<p>以下是对index.php做了修改。</p>
<pre class="brush: php; title: ; notranslate">
else if($isauth==='noauth'){
	//allenle:2010-05-10
	//only allowed_user can use noauth REST API
	$userid_start=strrpos($requesturl,&quot;/&quot;);
	$userid_end=strrpos($requesturl,&quot;.&quot;);
	if($userid_start===false||$userid_end===false){
		header('HTTP/1.1 403 Forbidden');
		exit();
	}
	$userid=substr($requesturl,$userid_start+1,$userid_end-$userid_start-1);
	if(!userallowed($userid)){
		header('HTTP/1.1 403 Forbidden');
		exit();
	}
}
</pre>
<p>大概位置如下</p>
<p><a href="http://www.allenle.com/wp-content/uploads/2010/05/2010-05-11_121646.png"><img class="alignnone size-full wp-image-2235" title="修改twip" src="http://www.allenle.com/wp-content/uploads/2010/05/2010-05-11_121646.png" alt="" width="647" height="466" /></a></p>
<p>修改后就能对noAuth REST API的访问进行身份限制了，关于如何使用twip的身份限制功能，请参看其Config.php。</p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1841.html" title="火兔">火兔</a></li><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/1629.html" title="什么时候变大众">什么时候变大众</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/2223.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>输出Twitter到博客</title>
		<link>http://www.allenle.com/archives/2217.html</link>
		<comments>http://www.allenle.com/archives/2217.html#comments</comments>
		<pubDate>Mon, 10 May 2010 10:41:24 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[随便耍耍]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.allenle.com/?p=2217</guid>
		<description><![CDATA[去年的6月，Twitter.com正式成为一个不存在的网站。那时我就把Twitter 官方的Widget撤了下来。前段时间在捣鼓iPod Touch，所以自己架了Twip给iPod Touch用来上Twitter。随想，应该可以通过Twip来做一个简单的Twitter Widget。 捣鼓了下，效果如下： 需要准备好： 架设Twip，记录架设的地址。 http://allenle.com/lib/blogger.js 文件，右键另存为，然后上传到自己博客的空间上，记录JS文件地址。 说明：这个JS主要负责把Twip输出的JSON输出成HTML。（说明：该文件原本是Twitter.com官方Widget引用的JS） 好了，做到这里，工作基本上完成一大半。然后参照下面的代码，并做一点修改，复制到页面中。 也可以访问这里来生成代码。 也许你还会喜欢Twitter和新浪围脖的区别OfficeSnapshots.com &#30340;&#21338;&#20027;&#32467;&#23130;&#20102;设置twip noAuth REST API的使用权限慎博呐！Twitter &#8220;What&#8217;s happening?&#8221;火兔此时无声胜有声【周报】20090606要挂一起挂什么时候变大众]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.allenle.com/archives/1787.html" target="_blank">去年的6月</a>，Twitter.com正式成为一个不存在的网站。那时我就把Twitter 官方的Widget撤了下来。前段时间在捣鼓iPod Touch，所以自己架了<a href="http://code.google.com/p/twip/" target="_blank">Twip</a>给iPod Touch用来上Twitter。随想，应该可以通过Twip来做一个简单的Twitter Widget。</p>
<p>捣鼓了下，效果如下：</p>
<p><a href="http://www.allenle.com/wp-content/uploads/2010/05/image.png"><img style="display: inline; border-width: 0px;" title="twitter widget" src="http://www.allenle.com/wp-content/uploads/2010/05/image_thumb.png" border="0" alt="twitter widget" width="333" height="491" /></a></p>
<p>需要准备好：</p>
<ol>
<li>架设<a href="http://code.google.com/p/twip/" target="_blank">Twip</a>，记录架设的地址。</li>
<li><a href="http://allenle.com/lib/blogger.js">http://allenle.com/lib/blogger.js</a> 文件，右键另存为，然后上传到自己博客的空间上，记录JS文件地址。<br />
说明：这个JS主要负责把Twip输出的JSON输出成HTML。（说明：该文件原本是Twitter.com官方Widget引用的JS）</li>
</ol>
<p>好了，做到这里，工作基本上完成一大半。然后参照下面的代码，并做一点修改，复制到页面中。</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;ul id=&quot;twitter_update_list&quot;&gt;&lt;/ul&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://allenle.com/lib/blogger.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://allenle.com/twip/statuses/user_timeline/allenle.json?callback=twitterCallback2&amp;amp;count=5&quot;&gt;&lt;/script&gt;
</pre>
<p>也可以访问<a href="http://allenle.com/twitter-widget/" target="_blank">这里</a>来生成代码。</p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2312.html" title="OfficeSnapshots.com &#30340;&#21338;&#20027;&#32467;&#23130;&#20102;">OfficeSnapshots.com &#30340;&#21338;&#20027;&#32467;&#23130;&#20102;</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/1997.html" title="慎博呐！">慎博呐！</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1841.html" title="火兔">火兔</a></li><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/1629.html" title="什么时候变大众">什么时候变大众</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/2217.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twitter &#8220;What&#8217;s happening?&#8221;</title>
		<link>http://www.allenle.com/archives/1938.html</link>
		<comments>http://www.allenle.com/archives/1938.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 06:03:17 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[随便耍耍]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[UCD2009]]></category>

		<guid isPermaLink="false">http://www.allenle.com/archives/1938.html</guid>
		<description><![CDATA[Twitter把”What are you doing?”换成了”What’s happening?”。 昨天Dreamhost突然间不能访问，从Twitter上得知很多人都访问不了Dreamhost，并非GFW问题，顿时心里安定不少。 最近的Google Wave的邀请是从Twitter上找的。 UCD2009直播，等等…… 全民都上Twitter？谢天谢地，不！信息传递也拥有其生物链，每个人也有自己信息来源，你喜欢Twitter，我就喜欢转发Email，信息在传递、编辑、分享的过程中产生价值，从而向有形的资源进行转换。对于这信息洪潮来讲，我们如此的渺小，但却又如此的重要。 也许你还会喜欢此时无声胜有声【周报】20090606要挂一起挂Twitter和新浪围脖的区别设置twip noAuth REST API的使用权限输出Twitter到博客译言重生慎博呐！Google Wave is down for maintenance2010年上网必备技能]]></description>
			<content:encoded><![CDATA[<p>Twitter把”What are you doing?”换成了”What’s happening?”。</p>
<ul>
<li>昨天Dreamhost突然间不能访问，从Twitter上得知很多人都访问不了Dreamhost，并非GFW问题，顿时心里安定不少。</li>
<li>最近的<a href="http://www.allenle.com/archives/1933.html" target="_blank">Google Wave的邀请</a>是从Twitter上找的。</li>
<li><a href="http://twitter.com/#search?q=%23UCD2009" target="_blank">UCD2009直播</a>，等等……</li>
</ul>
<p>全民都上Twitter？谢天谢地，不！信息传递也拥有其生物链，每个人也有自己信息来源，你喜欢Twitter，我就喜欢转发Email，信息在传递、编辑、分享的过程中产生价值，从而向有形的资源进行转换。对于这信息洪潮来讲，我们如此的渺小，但却又如此的重要。</p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/2008.html" title="译言重生">译言重生</a></li><li><a href="http://www.allenle.com/archives/1997.html" title="慎博呐！">慎博呐！</a></li><li><a href="http://www.allenle.com/archives/1984.html" title="Google Wave is down for maintenance">Google Wave is down for maintenance</a></li><li><a href="http://www.allenle.com/archives/1981.html" title="2010年上网必备技能">2010年上网必备技能</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/1938.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>火兔</title>
		<link>http://www.allenle.com/archives/1841.html</link>
		<comments>http://www.allenle.com/archives/1841.html#comments</comments>
		<pubDate>Mon, 03 Aug 2009 12:04:52 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[随便耍耍]]></category>
		<category><![CDATA[dabr]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[嘀咕]]></category>
		<category><![CDATA[火兔]]></category>

		<guid isPermaLink="false">http://www.allenle.com/archives/1841.html</guid>
		<description><![CDATA[嘀咕变身了，成为了火兔：www.huotu.com。功能被阉割了，不支持js输出，没有API可用，感觉被打残疾了。 今天用dabr搭建了一个Twitter。感觉挺方便的，不用翻墙，而且域名也记得方便，就是界面惨淡了一点。 也许你还会喜欢嘀咕回来了，饭否还会远吗？Twitter和新浪围脖的区别设置twip noAuth REST API的使用权限输出Twitter到博客Twitter &#8220;What&#8217;s happening?&#8221;此时无声胜有声【周报】20090606要挂一起挂什么时候变大众]]></description>
			<content:encoded><![CDATA[<p>嘀咕变身了，成为了火兔：<a href="http://www.huotu.com">www.huotu.com</a>。功能被阉割了，不支持js输出，没有API可用，感觉被打残疾了。</p>
<p>今天用<a href="http://code.google.com/p/dabr/" target="_blank">dabr</a>搭建了一个Twitter。感觉挺方便的，不用翻墙，而且域名也记得方便，就是界面惨淡了一点。</p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/1912.html" title="嘀咕回来了，饭否还会远吗？">嘀咕回来了，饭否还会远吗？</a></li><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/1629.html" title="什么时候变大众">什么时候变大众</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/1841.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>此时无声胜有声</title>
		<link>http://www.allenle.com/archives/1818.html</link>
		<comments>http://www.allenle.com/archives/1818.html#comments</comments>
		<pubDate>Tue, 07 Jul 2009 16:34:28 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[我说你听]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[饭否]]></category>

		<guid isPermaLink="false">http://www.allenle.com/archives/1818.html</guid>
		<description><![CDATA[早些的Twitter被挡在墙外，如今Facebook也被挡在墙外，如果说墙这两个站点是防止“国外某些境外网站”将有害信息传播到境内的话。那么我想把Twitter换成饭否。却得到这样的提示： 真可谓：别有幽愁暗恨生，此时无声胜有声。 我也不为别的，BLOG右边区域有些空，我不放点动态的东西，不和谐，用户体验就算没做到家，用户不开心就不访问我的BLOG，这样影响我的PV，影响PV就影响我的广告收入（尽管一天才0.2元人民币，但人民币将来是硬通货，推荐持有），我就无力消费，对拉动内需、股市继续冲高6000点是有影响的，如果有人股市套牢赔了钱，心生歹念，这样就更加不利于人民大团结嘛。所以，快点把墙给我砸起来~~推荐之前发的一篇《翻墙必备》。 另外，欢迎填空：郁闷的时候只想说_______。（程序员郁闷的时候只想说） 也许你还会喜欢要挂一起挂Twitter &#8220;What&#8217;s happening?&#8221;【周报】20090606什么时候变大众Twitter和新浪围脖的区别设置twip noAuth REST API的使用权限输出Twitter到博客译言重生慎博呐！2010年上网必备技能]]></description>
			<content:encoded><![CDATA[<p>早些的Twitter被挡在墙外，如今Facebook也被挡在墙外，如果说墙这两个站点是防止“国外某些境外网站”将有害信息传播到境内的话。那么我想把Twitter换成饭否。却得到这样的提示：</p>
<p><img src="http://i274.photobucket.com/albums/jj273/allenle/2009-07-08_001949.png" /> </p>
<p>真可谓：别有幽愁暗恨生，此时无声胜有声。</p>
<p>我也不为别的，BLOG右边区域有些空，我不放点动态的东西，不和谐，用户体验就算没做到家，用户不开心就不访问我的BLOG，这样影响我的PV，影响PV就影响我的广告收入（尽管一天才0.2元人民币，但人民币将来是硬通货，推荐持有），我就无力消费，对拉动内需、股市继续冲高6000点是有影响的，如果有人股市套牢赔了钱，心生歹念，这样就更加不利于人民大团结嘛。所以，快点把墙给我砸起来~~推荐之前发的一篇《<a href="http://www.allenle.com/archives/1809.html" target="_blank">翻墙必备</a>》。</p>
<p> 另外，欢迎填空：郁闷的时候只想说_______。（<a href="http://www.allenle.com/archives/1780.html" target="_blank">程序员郁闷的时候只想说</a>）  </p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/1629.html" title="什么时候变大众">什么时候变大众</a></li><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/2008.html" title="译言重生">译言重生</a></li><li><a href="http://www.allenle.com/archives/1997.html" title="慎博呐！">慎博呐！</a></li><li><a href="http://www.allenle.com/archives/1981.html" title="2010年上网必备技能">2010年上网必备技能</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/1818.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>【周报】20090606</title>
		<link>http://www.allenle.com/archives/1789.html</link>
		<comments>http://www.allenle.com/archives/1789.html#comments</comments>
		<pubDate>Sat, 06 Jun 2009 02:40:25 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[我说你听]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[hashtable]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[ucd]]></category>

		<guid isPermaLink="false">http://www.allenle.com/archives/1789.html</guid>
		<description><![CDATA[平静的一周 这是平静的一周，各大网站纷纷停机维护，除了这些停机维护的网站外，还有一些是被功夫网（GFW）抵挡在外面的，但那里又是Geek扎堆的地方，折腾的，不折腾的，万里长城凝聚了古代劳动人民的智慧和汗水，而今翻过“长城”凝聚了现代Geeker的智慧和汗水，但人，是不能一辈子翻墙的吧。 李开复在卡内基梅隆大学的演讲：Google in China中讲到wiki时，比对了大陆和国外的情况，台下的人都笑了。 &#160; 用户体验师 周五的讨论中涉及到了用户体验师，这里讲到了用户体验师的工作职责。 用户体验师必须去学着了解产品背后的商业背景、读懂BRD,PRD,将产品规划中必须达到的目标和你认为有碍于用户体验的点抽取出来，去挖掘需求背后的目的。 这和前端构架师就产生了差别。 其实不止在互联网中才有交互设计师，比如我前碰到工行的交互、菜单、名片等等（可以翻阅《写给大家看的设计书》）。 &#160; 使用Firebug的console 在编写、调试Javascript的时候，总需要记录、反馈一些信息，供程序员判断程序的执行情况。Firebug在javascript的调试上能设断点，已经非常强大。除了断点以为，更加有效的一个办法就是在控制台(console)中直接输出内容。《Firebug中的console tab使用总结》中提到的Firebug使用技巧，特别是Console.time(timeName)的功能非常有用，在本周的工作当中给我带了很大的便利（英文版点击这里，1，2）。当然这里还有一些Firebug的使用小技巧，也许你也会喜欢。 &#160; Hashtable和Dictionary&#60;TKey,TValue&#62;，谁更快？ 显而易见是Dictionary&#60;TKey,TValue&#62;，摘自MSDN： The Dictionary(TKey, TValue) class has the same functionality as the Hashtable class. A Dictionary(TKey, TValue)of a specific type (other than Object) has better performance than a Hashtable for value types because the elements of Hashtable are of [...]]]></description>
			<content:encoded><![CDATA[<h4><strong>平静的一周</strong></h4>
<p>这是平静的一周，各大网站纷纷停机维护，除了这些停机维护的网站外，还有一些是被功夫网（GFW）抵挡在外面的，但那里又是Geek扎堆的地方，<a href="http://www.williamlong.info/archives/1816.html" target="_blank">折腾的</a>，<a href="http://www.kenengba.com/post/1136.html" target="_blank">不折腾的</a>，万里长城凝聚了古代劳动人民的智慧和汗水，而今翻过“长城”凝聚了现代Geeker的智慧和汗水，但人，是不能一辈子翻墙的吧。</p>
<p>李开复在卡内基梅隆大学的演讲：Google in China中讲到wiki时，比对了大陆和国外的情况，台下的人都笑了。</p>
<p><embed src="http://player.youku.com/player.php/sid/XNzA2MDg0ODQ=/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>
<p>&#160;</p>
<h4><strong>用户体验师</strong></h4>
<p>周五的讨论中涉及到了用户体验师，<a href="http://ued.alimama.com/?p=81" target="_blank">这里</a>讲到了用户体验师的工作职责。</p>
<blockquote><p>用户体验师必须去学着了解产品背后的商业背景、读懂BRD,PRD,将产品规划中必须达到的目标和你认为有碍于用户体验的点抽取出来，去挖掘需求背后的目的。</p>
</blockquote>
<p>这和<a href="http://www.allenle.com/archives/1760.html" target="_blank">前端构架师</a>就产生了差别。</p>
<p>其实不止在互联网中才有交互设计师，比如我前碰到<a href="http://www.allenle.com/archives/568.html" target="_blank">工行的交互</a>、菜单、名片等等（可以翻阅《<a href="http://www.allenle.com/archives/1782.html">写给大家看的设计书</a>》）。</p>
<p>&#160;</p>
<h4><strong>使用Firebug的console</strong></h4>
<p>在编写、调试Javascript的时候，总需要记录、反馈一些信息，供程序员判断程序的执行情况。Firebug在javascript的调试上能设断点，已经非常强大。除了断点以为，更加有效的一个办法就是在控制台(console)中直接输出内容。《<a href="http://www.cnblogs.com/cocowool/archive/2009/05/12/1454696.html">Firebug中的console tab使用总结</a>》中提到的Firebug使用技巧，特别是Console.time(timeName)的功能非常有用，在本周的工作当中给我带了很大的便利（英文版点击这里，<a href="http://michaelsync.net/2007/09/09/firebug-tutorial-logging-profiling-and-commandline-part-i" target="_blank">1</a>，<a href="http://michaelsync.net/2007/09/10/firebug-tutorial-logging-profiling-and-commandline-part-ii" target="_blank">2</a>）。当然这里还有一些<a href="http://lifesinger.org/blog/2009/01/firebug-honey-tips/" target="_blank">Firebug的使用小技巧</a>，也许你也会喜欢。</p>
<p>&#160;</p>
<h4><strong>Hashtable和Dictionary&lt;TKey,TValue&gt;，谁更快？</strong></h4>
<p>显而易见是Dictionary&lt;TKey,TValue&gt;，<a href="http://msdn.microsoft.com/en-us/library/4yh14awz.aspx" target="_blank">摘自MSDN</a>：</p>
<blockquote><p>The Dictionary(TKey, TValue) class has the same functionality as the Hashtable class. A Dictionary(TKey, TValue)of a specific type (other than Object) has better performance than a Hashtable for value types because the elements of Hashtable are of type Object and, therefore, boxing and unboxing typically occur if storing or retrieving a value type.</p>
</blockquote>
<p>最后，今天是6月6日，我想到了赵丽蓉老师的小品《如此包装》</p>
<p><embed src="http://player.youku.com/player.php/sid/XMTMzNjEyMTI=/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1787.html" title="要挂一起挂">要挂一起挂</a></li><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/2008.html" title="译言重生">译言重生</a></li><li><a href="http://www.allenle.com/archives/1997.html" title="慎博呐！">慎博呐！</a></li><li><a href="http://www.allenle.com/archives/1981.html" title="2010年上网必备技能">2010年上网必备技能</a></li><li><a href="http://www.allenle.com/archives/1841.html" title="火兔">火兔</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/1789.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>要挂一起挂</title>
		<link>http://www.allenle.com/archives/1787.html</link>
		<comments>http://www.allenle.com/archives/1787.html#comments</comments>
		<pubDate>Wed, 03 Jun 2009 11:02:22 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[我说你听]]></category>
		<category><![CDATA[bing]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[opendns]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[wikipedia]]></category>
		<category><![CDATA[饭否]]></category>

		<guid isPermaLink="false">http://www.allenle.com/archives/1787.html</guid>
		<description><![CDATA[Twitter挂了，不过Twitter不能算是郁闷的，因为有更加郁闷的Bing.com，上线没几天就被无情的墙了。 为了庆祝6.1儿童节以及5月35日的到来，配合GFW的行动，决定暂时把Blog右上角的Twitter换成饭否。随后发现饭否用起来很舒服，比Twiiter还要舒服。 然后，我在访问wikipedia的时候，发现OpenDNS很管用，一些没有使用OpenDNS的同学们请注意了，如果碰到哪些网站不能访问，例如wikipedia。可以试试把自己的DNS设置成OpenDNS。OpenDNS的地址如下： 208.67.222.222 208.67.220.220 当然了，OpenDNS在强大的GFW下是脆弱的，有些网址仍然没有没有办法访问，这个时候，无界之类的流氓软件可以祝你一臂之力。祝您局域网访问愉快。 等我要准备发这篇文章的时候，发现饭否被“挤爆”了。 也许你还会喜欢此时无声胜有声Twitter &#8220;What&#8217;s happening?&#8221;【周报】20090606Twitter和新浪围脖的区别设置twip noAuth REST API的使用权限输出Twitter到博客译言重生慎博呐！2010年上网必备技能火兔]]></description>
			<content:encoded><![CDATA[<p>Twitter挂了，不过Twitter不能算是郁闷的，因为有更加郁闷的Bing.com，上线没几天就被无情的墙了。</p>
<p>为了庆祝6.1儿童节以及5月35日的到来，配合GFW的行动，决定暂时把Blog右上角的Twitter换成<a href="fanfou.com/" target="_blank">饭否</a>。随后发现饭否用起来很舒服，比Twiiter还要舒服。</p>
<p>然后，我在访问<a href="http://wikipedia.org/" target="_blank">wikipedia</a>的时候，发现<a href="http://www.opendns.com/" target="_blank">OpenDNS</a>很管用，一些没有使用OpenDNS的同学们请注意了，如果碰到哪些网站不能访问，例如<a href="http://wikipedia.org/" target="_blank">wikipedia</a>。可以试试把自己的DNS设置成OpenDNS。OpenDNS的地址如下：</p>
<blockquote><p>208.67.222.222     <br />208.67.220.220</p>
</blockquote>
<p>当然了，OpenDNS在强大的GFW下是脆弱的，有些网址仍然没有没有办法访问，这个时候，无界之类的流氓软件可以祝你一臂之力。祝您局域网访问愉快。</p>
<p><strong>等我要准备发这篇文章的时候，发现饭否被“挤爆”了。</strong></p>
<p><img src="http://i274.photobucket.com/albums/jj273/allenle/2009-06-03_190532.png" /></p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1789.html" title="【周报】20090606">【周报】20090606</a></li><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/2008.html" title="译言重生">译言重生</a></li><li><a href="http://www.allenle.com/archives/1997.html" title="慎博呐！">慎博呐！</a></li><li><a href="http://www.allenle.com/archives/1981.html" title="2010年上网必备技能">2010年上网必备技能</a></li><li><a href="http://www.allenle.com/archives/1841.html" title="火兔">火兔</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/1787.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>什么时候变大众</title>
		<link>http://www.allenle.com/archives/1629.html</link>
		<comments>http://www.allenle.com/archives/1629.html#comments</comments>
		<pubDate>Sat, 17 Jan 2009 08:09:25 +0000</pubDate>
		<dc:creator>Allen</dc:creator>
				<category><![CDATA[随便耍耍]]></category>
		<category><![CDATA[Digg]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[FriendFeed]]></category>
		<category><![CDATA[Google Notebook]]></category>
		<category><![CDATA[google reader]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[玩聚SR]]></category>

		<guid isPermaLink="false">http://www.allenle.com/archives/1629.html</guid>
		<description><![CDATA[Google即将关闭视频、记事本、目录搜索等服务。这是前几天的一条新闻，既然Google说他们不想裁员，关闭的服务也许是一个缩短产品线，节省开支的办法，对于那些产品的用户来讲可能一时难以接受，但可以替代的产品很多，这是一个不争的事实。幸好，在这次关闭服务中的Google Notebook只是停止了开发的工作，并没有停止服务，所以用户的数据得以保存，以后还是能够用到Google Notebook。 对于一个技术向导的公司，关闭服务是多么痛苦的一件事，是不是那些应用的用户数量太少？有多少个用户的时候，Google才不会关闭服务呢？ 我们都盯着Google看，看那五彩缤纷的盒子里面都能跳出什么新东西来，令互联网激动的Facebook、Digg、Twitter、FriendFeed都和Google无缘，Google做什么去了？Lively过了3个月就草草关闭；久久不更新，估计将来也看不到更新的GTalk；很好很强大的Chrome；很迷糊的Friend Connect……我们享受着小众优越感的同时，仍然不忘被大众吸引，希望能够小众变成大众。其实关键是我们缺少耐心，我们迫不及待要看到不同的东西、强大的东西、灵活的东西。 过去的1年里，我成为了Google Reader的重度使用者，相信很多人和我一样，可是我很清楚的知道，Google Reader还是个小众的东西，因为RSS的确很尴尬。我不用Google Reader的Share、Notes，因为我周边的人很少是Google Reader的用户，并且Google Reader的Share功能本身有些问题，比如：产生重复阅读。 最近很火的玩聚的SR，我就纳了闷了，难道就逃不出“IT业界人士”了？我最初的做法就是，订阅“IT业界人士”的OPML，但这样仍然会出现很多重复Share的现象，虽然这种现象不能避免，不过要是有点“信息洁癖”的话，总感觉不舒服。 我觉得吧，本来就小众的东西，要是跳出了小众的圈子，就变味了，也就赚不到钱了，原本想从小众走向大众，走大规模生产的路线，结果就像肯德基卖3块钱的油条一样，奇怪。 也许你还会喜欢Reeder此时无声胜有声RSS的尴尬控制自己的上网时间Twitter和新浪围脖的区别设置twip noAuth REST API的使用权限输出Twitter到博客Twitter &#8220;What&#8217;s happening?&#8221;火兔Inside facebook]]></description>
			<content:encoded><![CDATA[<p>Google即将关闭视频、记事本、目录搜索等服务。这是前几天的一条新闻，既然Google说他们不想裁员，关闭的服务也许是一个缩短产品线，节省开支的办法，对于那些产品的用户来讲可能一时难以接受，但可以替代的产品很多，这是一个不争的事实。幸好，在这次关闭服务中的Google Notebook只是停止了开发的工作，并没有停止服务，所以用户的数据得以保存，以后还是能够用到Google Notebook。</p>
<p>对于一个技术向导的公司，关闭服务是多么痛苦的一件事，是不是那些应用的用户数量太少？有多少个用户的时候，Google才不会关闭服务呢？</p>
<p>我们都盯着Google看，看那五彩缤纷的盒子里面都能跳出什么新东西来，令互联网激动的Facebook、Digg、Twitter、FriendFeed都和Google无缘，Google做什么去了？Lively过了3个月就草草关闭；久久不更新，估计将来也看不到更新的GTalk；很好很强大的Chrome；很迷糊的Friend Connect……我们享受着小众优越感的同时，仍然不忘被大众吸引，希望能够小众变成大众。其实关键是我们缺少耐心，我们迫不及待要看到不同的东西、强大的东西、灵活的东西。</p>
<p>过去的1年里，我成为了Google Reader的重度使用者，相信很多人和我一样，可是我很清楚的知道，Google Reader还是个小众的东西，因为<a href="http://www.allenle.com/archives/758.html" target="_blank">RSS的确很尴尬</a>。我不用Google Reader的Share、Notes，因为我周边的人很少是Google Reader的用户，并且Google Reader的Share功能本身有些问题，比如：产生重复阅读。</p>
<p>最近很火的玩聚的<a href="http://sr.ju690.com/" target="_blank">SR</a>，我就纳了闷了，难道就逃不出“IT业界人士”了？我最初的做法就是，订阅“IT业界人士”的OPML，但这样仍然会出现很多重复Share的现象，虽然这种现象不能避免，不过要是有点“信息洁癖”的话，总感觉不舒服。</p>
<p>我觉得吧，本来就小众的东西，要是跳出了小众的圈子，就变味了，也就赚不到钱了，原本想从小众走向大众，走大规模生产的路线，结果就像肯德基卖3块钱的油条一样，奇怪。</p>
<h2  class="related_post_title">也许你还会喜欢</h2><ul class="related_post"><li><a href="http://www.allenle.com/archives/2393.html" title="Reeder">Reeder</a></li><li><a href="http://www.allenle.com/archives/1818.html" title="此时无声胜有声">此时无声胜有声</a></li><li><a href="http://www.allenle.com/archives/758.html" title="RSS的尴尬">RSS的尴尬</a></li><li><a href="http://www.allenle.com/archives/613.html" title="控制自己的上网时间">控制自己的上网时间</a></li><li><a href="http://www.allenle.com/archives/2441.html" title="Twitter和新浪围脖的区别">Twitter和新浪围脖的区别</a></li><li><a href="http://www.allenle.com/archives/2223.html" title="设置twip noAuth REST API的使用权限">设置twip noAuth REST API的使用权限</a></li><li><a href="http://www.allenle.com/archives/2217.html" title="输出Twitter到博客">输出Twitter到博客</a></li><li><a href="http://www.allenle.com/archives/1938.html" title="Twitter &ldquo;What&rsquo;s happening?&rdquo;">Twitter &ldquo;What&rsquo;s happening?&rdquo;</a></li><li><a href="http://www.allenle.com/archives/1841.html" title="火兔">火兔</a></li><li><a href="http://www.allenle.com/archives/1813.html" title="Inside facebook">Inside facebook</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.allenle.com/archives/1629.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

