Kenyth Zeng's Library tagged → View Popular
11 Dec 09
推特中文圈 | bang's blog
-
通过Google AppEngine的Cron功能,每隔一定的时间抓取某一用户的好友存进数据库,存之前判断是否为使用中文的用户。只要从任意一个好友数非零的用户开始抓取,循环下去,就差不多能抓取到所有twitter上的中文用户。对已抓取的则只更新最新消息,这样就形成了“随便看看”
-
- Google AppEngine的数据库很差,十分差,如下:
- 数据库建立后不能增加新栏不能减少栏,必须删除重建才可以。
- Key不能以数字开头,导致我每一个Key前都要增加一个字母。
- 查询语句没有like也就算了,连or都没有,服了~导致制作排行榜的标签功能变得困难。
- 一次最多只能查询到1000条数据。导致我不知道我已经抓取了多少条数据,排行榜上能显示的也就1000个用户。
- twitter停止source的申请,新应用只有通过OAuth验证才能有“from [myApp]”的字眼,OAuth验证需要经过twitter网站,这对于大陆用户实在不是什么好东西,没有了source,对于宣传和统计很不利。
- 本地测试十分慢,是因为本地读取twitter的API十分慢,有时全部传上去在网站上看效果反倒快了,另外Google AppEngine的上传很不方便,就算我只改某一个静态js文件的一个标点,都要整站上传,Eclipse插件也没有提供只更新cron的功能,麻烦。
- Google AppEngine的数据库很差,十分差,如下:
- 2 more annotations...
开源 php版twitese | bang's blog
-
随便看看与排行榜是通过GAE版的twitese开放出API进行调用,由于怕原版的twitese流量不足,所以另开了一个GAE重新抓取数据
-
完整支持手机ucweb浏览,网页上JavaScript的各种操作都留有后路,即使浏览器禁用JavaScript也能正常使用,所以对不太支持JavaScript的手机浏览器也是友好的。
21 Aug 09
Bug #259830 in Gwibber: “Honor gnome proxy setting”
-
Unfortunately there is a problem upstream with using proxies via urllib2 for secure https connections -- http://
bugs.python. org/issue142415 2 Therefore, to fix this bug, we would also need to switch to only using http methods when the proxy is enabled.
26 Jul 09
Developing Client-side Code - Google Web Toolkit - Google Code
-
By default, they are compiled away by the GWT
compiler so do not have any effect in web mode unless you explicitly enable them.
13 Apr 09
Comet (programming) - Wikipedia, the free encyclopedia
-
In web development, Comet is a neologism to describe a web application model in which a long-held HTTP request allows a web server to push data to a browser, without the browser explicitly requesting it.
-
All these methods rely on features included by default in browsers, such as Javascript, rather than on non-default plugins.[original research?]
- 14 more annotations...
29 Mar 09
Code: Flickr Developer Blog » Building Fast Client-side Searches
-
downloads a list of all of your contacts, in JavaScript, in under 200ms (this is true even for members with 10,000+ contacts).
-
store each member’s contact list in a text blob
- 11 more annotations...
26 Dec 08
How To Make IE Cache Less · Nadav Samet's Blog
-
Internet Explorer is known to cache the responses of GET calls. The problem occurs if your javascript functions request the same url over and over again. Internet Explorer will cache the response of the first call, and subsequent calls will automatically return the same response, without actually contacting the server.
-
add a random part to the url (i.e.:
/poll?random=f2dee87716f). - 1 more annotations...
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in client-s...
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
