Monday, January 31, 2011
Sunday, January 30, 2011
Daily Tag 01/31/2011
-
Modules/AsynchronousDefinition - CommonJS Spec Wiki
prerogative
-
Why I Don't Use Facebook | John C. Dvorak | PCMag.com
retro
- Which begs the question as to why anyone would use Facebook when it is essentially AOL done right? The fastest growing group on Facebook are people in their 70's. Oldsters are flocking to Facebook the way they once did with AOL. Facebook is a simple system for the masses that do not really care about technology and do not want to learn anything new except something easy like Facebook.
-
-
Tagneto: CommonJS Module Trade-offs
tags: CommonJS module trade off vs require discussion Conversations
- I see it as the CommonJS module spec making a specific bet: treating the browser as a second class module citizen will pay off in the long run and allow it to get a foothold in other environments where Ruby or Python might live.
Historically, and more importantly for the future, treating the browser as second class is a bad bet to make. - If RequireJS makes it into jQuery core, I'm on board. jQuery is always loaded on every page here. If we have JavaScript, we have jQuery.
My primary concern right now is that we're working on a huge codebase currently in production that is used by millions of visitors per month. If we adopt an intrusive module loader like RequireJS, and then jQuery adopts a different module loader, we are going to have a mandate to move to jQuery's standard module loader.
What are the chances this is going to land in jQuery officially?
That is the million-dollar question.
-
Saturday, January 29, 2011
Daily Tag 01/30/2011
-
从狄仁杰的测字占卜到一淘网的Query分析之大结局 « 搜索技术博客-淘宝
tags: 测字 data intention prediction
-
tags: Google Distributed Lock
- Percolator支持跨行,跨表的事务,充分利用了Bigtable本身已经有的行事务、备份机制。
-
-
tags: 美国
- 那么曼哈顿居民的收入是多少?美国官方数据说,曼哈顿人均收入10万一年,号称美国首富区。我前面说了,在美国大部分地区,10万一年算高薪了,微软、 Google给工程师才这个价。但是注意,曼哈顿因为富人太有钱了,因此普通居民也就”被平均”了,其实在曼哈顿,3-5万也是普通人的工资。
- 而一些小公司,帮你申请了工作签证或者绿卡,就让你卖力干活,还压低工资,你有苦也说不出。不过就我个人的感受而言,美国人公司相对而言都是比较好一些;有些过分的老板往往是华人或者亚洲人。
- 2、收入,3、4万一年怎么可能是大公司的收入?还中产阶级哦,难道作者想说是在walmart这样的大公司?只要是搞技术的,大公司年薪起码都在8万以上,甚至汽车制造厂这样的工人,年薪都在10万上下,按照常规定义,目前美国中产的定义是家庭年收入10-25万,3、4万年收入也就刚脱离贫困线,相当于餐馆服务员的收入。
-
-
- 我本以为10后我能更好的了解美国社会,但其实我却更清楚地看清中国了。
-
-
- 中国人的教育的出发点在"比较",于是几千年来,人们活在一个"寻找"认同的社会洪流当中。我们需要父母的认同,伴侣的认同,公婆的认同,同学的认同,同事的认同,亲戚的认同;甚至所有邻居短短几秒钟相遇时的眼光认同。
-
-
我四处对人说“给我提要求,我会尽我的努力”,因为正是这样我才遇到了我几个最好的朋友。当你对人好时,90%的人不会真正的察觉到,9%的人会以理相报,但仅此而已。但剩下1%的可能最终和你发展成难以置信的好朋友关系、或成为同事或合作者。
- 2. 极少数人愿意和你一起进步。这个比例大概少于1%。也许你的朋友中找不出一个这样的,如果有一个,那你是幸运的。
- 我四处对人说“给我提要求,我会尽我的努力”,因为正是这样我才遇到了我几个最好的朋友。当你对人好时,90%的人不会真正的察觉到,9%的人会以理相报,但仅此而已。但剩下1%的可能最终和你发展成难以置信的好朋友关系、或成为同事或合作者。
-
-
tags: HBase
-
Communicate if Your Government Shuts Off Your Internet - Wired How-To Wiki
-
JSDoc Homepage - JavaScript Documentation Tool
tags: javascript documentation tool jsdoc doc
- JavaScript Documentation Tool - post by yasuo kominami
- JSDoc is a tool that parses inline documentation in JavaScript source files, and produces an HTML summary (example). It is based on the (very successful) javadoc tool that was created for the same purpose for the Java programming language.
JSDoc is pr - post by jdr santos - 用於 Javascript 類似 JavaDoc 的文件產生器 - post by Jacky
- JSDoc is a tool that parses inline documentation in JavaScript source files, and produces an documentation of the JavaScript code. - post by Jon Phipps
- Generate Javadoc-like documentation for JavaScript - post by Jesper Kamstrup Linnet
- JSDoc is a tool that parses inline documentation in JavaScript source files, and produces an documentation of the JavaScript code. This is typically in the form of HTML (example), but XML and XMI (UML) export are also supported. JSDoc is based on the (ver - post by Seth
Friday, January 28, 2011
Thursday, January 27, 2011
Daily Tag 01/28/2011
-
Sharding Introduction - MongoDB
- Sharding occurs on a per-collection basis, not on the database as a whole. This makes sense since, as our application grows, certain collections will grow much larger than others. For instance, if we were building a service like Twitter, our collection of tweets would likely be several orders of magnitude larger than the next biggest collection. The size and throughput demands of such a collection would be prime for sharding, whereas smaller collections would still live on a single server. In the context on MongoDB's sharded architecture, non-sharded collections will reside on just one of the sharded nodes.
-
-
OTN Discussion Forums : web.xml's jsp-config/taglib element not ...
tags: jsp taglib config web xml
- 1. Reference from jsp :... Webcontent/mytest.jsp
<%@ taglib uri="/mytags" prefix="myt" %>
2. where this tag is located:
WEB-INF/taglibs/mytags.tld
3. content of web.xml
....
<jsp-config>
...some content deleted for brevity....
<taglib>
<taglib-uri>/mytags</taglib-uri>
<taglib-location>/WEB-INF/taglibs/mytags.tld</taglib-location>
</taglib>
<jsp-config>
-
Wednesday, January 26, 2011
Daily Tag 01/27/2011
-
- who owes the mostin your group of friends.
- which person wouldreduce the amount of debt the most if they paid.
- You can always check the math of debt shuffles yourself if you want.Debt shuffles are fair because each person gives and receives an equalamount of money. To check the math yourself, add up the "gives" and"receives" total for each person and check that they are the same.
-
-
How the iPhone mail app decides when to show you new mail | The Invisible
-
A piece with a lot of screenshots about the close tab behaviour in Google Chrome | The Invisible
-
Ubuntu - Apache Virtual Hosts - Cloud Servers Wiki
"domain"
Tuesday, January 25, 2011
Monday, January 24, 2011
Daily Tag 01/25/2011
-
tags: void 0 JavaScript
-
Cat in Chinese: Tangram 前端库通过 Github 开源了
tags: baidu front end open source Tangram
- 我个人的看法是,跟 John Resig 的一样,前端库应该从第一天开始就开源
-
Sunday, January 23, 2011
Saturday, January 22, 2011
Daily Tag 01/23/2011
-
The 3 Basic Tools of Systems Engineering
tags: money time code order startup
- Database: PostgreSQL or Oracle if you can afford it. If you're using a NoSQL database, you fucked up somewhere.
- Queueing: if you're using a queue, again, you fucked up somewhere.
- When the first thing you do is dive into code, you are dooming yourself to either designing an unmaintainable system, or to reinvent existing tools poorly. This may be acceptable in an academic or research setting, but in a startup, it's downright foolish.
-
-
tags: code JavaScript lib edit
Friday, January 21, 2011
Daily Tag 01/22/2011
-
tags: t-mobile GSM cell phone 探亲
- 也有华人在美国购买T-Mobile等电讯公司推出的预付(prepaid)电话SIM卡寄回国内,提醒父母从国内出发时,只需随身携带一部GSM三频以上手机,到达美国机场后将卡插入,便可照常使用手机,与子女取得联系。
-
-
[转帖]谈谈父母来美国探亲的几个问题 - 【留学英语】 - 英语家园 英语学习爱好者的美好家园 - Powered by SupeSite
Wednesday, January 19, 2011
Daily Tag 01/20/2011
-
Java How To ...: To Use or Not to Use Cygwin
tags: Cygwin
-
Best Practices for Speeding Up Your Web Site
tags: speed web yahoo best performance
-
Icann transparency vital to the web, says .org chief - V3.co.uk - formerly vnunet.com
-
- 而高档的日本菜,不在于厨师加工了多少道程序,使用了多少调味品,而在于这道菜本身有多新鲜。越新鲜的日本菜,所用工序越少,甚至几乎不使用调味品,要的就是这道菜本来的天然味道。
- 其实这种克制与拘谨完全是一种不自觉的下意识表现。
- 第一是日本人的宗教心。日本岛国四面临海,地震、台风之类天灾不断,这一切都令日本人对自然心生敬畏,
- 此外,还源于日本人的生活习性。日本是个喜欢“分门别类”的民族。
-
Tuesday, January 18, 2011
Daily Tag 01/19/2011
-
and IE decided to create a different API object for cross-domain calls, XDomainRequest. More moving parts and more things to get wrong.
tags: require XHR IE why cross domain
- and IE decided to create a different API object for cross-domain calls, XDomainRequest. More moving parts and more things to get wrong.
-
-
Compare Amazon RDS to Xeround MySQL Cloud Database | Xeround MySQL Cloud Database Blog
-
看看迪拜的富二代。。。国内的都是浮云【人人网 校内 -分享】
迪拜
-
Youtube上爆红的歌曲!这首歌,你会爱死的!旋律优美,听了第一句我就分享了!【人人网 校内 -分享】
tags: music art composition
Monday, January 17, 2011
Sunday, January 16, 2011
Daily Tag 01/17/2011
-
- 嗯,这真是件很辛苦的事情,你看,老中医就过得很轻松,收银员也过得很轻松,官员当然过得更轻松。没别的,绝大多数正常的人类,学会一种技能,则无需进一步学习其他的,大致上就能够或轻松或艰难的生活下去。这个所谓绝大多数,应该是90%。
- 第五个问题是慢,惊人的慢。大家可以看看“飞信”,这是一个微软控主导决策的,嗯,使用.net 2.0。为了解决程序发布的问题,专门弄了个微型的.net框架,但是你将它与QQ比,是不是觉得慢得太多?持续多年以后,移动的先生们不耐烦了,才有的现在的基于C++的原生版本,请比较一下速度。这里特别提醒一下,飞信的开发,是中国移动投入巨资、得到微软中国整个团队无微不至的支持的,这些高人甚至赤膊上阵亲自动手,这样使用他们的开发工具,历时数年也不过是做出一个被淘汰的产品。先生,请掂量一下,你比他们这些家伙更厉害吗?你比孩子的母亲对孩子更了解吗?
- 他们推出WP7,这种微软最新的手机操作系统,开发工具是Silverlight,我已经看到他失败的那一天了……
-
你能够想象得到,每一次包装,显然都带来运算效率的下降,这种包装如果成功,是有益的,因为硬件性能毕竟在快速的增长。当然,也正由于这种包装,电脑发展几十年之后,我们常见的应用基本上都没有真正的变快,甚至与二十年前比较更慢了。
同时,开发应用软件,好象每经过一次包装,复杂度又增加许多,而开发成本又上升许多。
- Crufty
-
我的理解是:第一是概念尽可能少,理解上简单。第二才是代码尽可能少,实现上简单。
微软几乎百分之百的工程师,和几乎百分之百的高层决策人员,都不理解第一个问题,“概念要尽可能少”。
-
请记住,即使你误入了微软的贼船,也一定要记住:每次面临一项新的技术的时候,花费5分钟的时间了解一下,它的目的是什么?它是否达到了这些目的?使用这种东西需要理解的概念多不多?有无可能在一天内完全掌握?
如果不能,忽略它。
-
-
Design Business Name Card Online with Online Name Card Design Site
-
insertion, deletion and finds
- IIt works by constructing a binary tree based on individual bit difference, so the higher the entropy (disorder) between key bits the faster nedtries is relative to other algorithms.
-
-
Eyeo Festival - June 27-29, 2011
tags: visualization demo eye
-
Burning Question: Why Do Emails Contain Legal Warnings? | Magazine
“You have no obligation to obey the disclaimer if you decide to read a misdirected email, send it to your friends, or send it to a Wired reporter,” says Susan Lyon, a privacy and data security attorney for Perkins Coie. “You don’t have to worry about that.”
tags: email disclaimer
- “You have no obligation to obey the disclaimer if you decide to read a misdirected email, send it to your friends, or send it to a Wired reporter,” says Susan Lyon, a privacy and data security attorney for Perkins Coie. “You don’t have to worry about that.”
- So that gets us where we are today: Including a disclaimer means nothing, but not including it might mean something. Please tell your inbox we said sorry.
-
Saturday, January 15, 2011
Daily Tag 01/16/2011
-
tags: tech ppl Javascript John Resig
-
分析 Y Combinator 的 Startup 所使用的服務… | Gea-Suan Lin's BLOG
tags: Y Combinator statistics
-
Blog.XDite.net » Web Startup 適合使用的服務與工具
- 說來說去「人」還是最昂貴的,也是最珍貴的資源(難找難練難養)。
-
-
tags: graph visualization javascript
Friday, January 14, 2011
Daily Tag 01/15/2011
-
Uncomplicated Firewall - UFW - Community Ubuntu Documentation
-
Nexuiz - Home - A free open-source fast paced first person shooter (FPS) for Windows, Linux and OSX
tags: 3D game free nexuiz death quake engine
- Nexuiz is a 3d deathmatch game project, created online by a team of developers called Alientrap. It is available for Windows, Mac, and Linux (all the same archive). Released entirely GPL and free over the net, a first for a project of its kind. - post by Alexander Tsang
-
tags: jruby nginx ubuntu blog tutorial
- The traditional approach to serving Rails requests these last few years is for Phusion Passenger (mod_rails) and other HTTP server modules to require isolated VMs per request, i.e. N processes per core.
-
-
Google Chart Tools / Image Charts (aka Chart API) - Google Code
- Draw instant, up-to-date, beautiful charts for free with the Google Chart API - post by Dizzle Dorf
- Fun!
Converting String into PNG image of chart (including line, scatter, bar, Venn and pie, etc)
- post by Kepler L
-
MathJax | Beautiful math in all browsers
tags: math javascript
-
Programming Ruby: The Pragmatic Programmer's Guide
- Here we have a book written for Ruby on Rails, called 'Programming Ruby: The Pragmatic Programmer's Guide'. This is an ideal place for beginners to start their journey on RoR, and also a good place for the more experienced to build on what they know. An absolute must for Ruby on Rails users. - post by Dale Emasiri
-
Web Analytics in Real Time | Clicky
- "Clicky gives bloggers and smaller web sites a more personal
understanding of their visitors. Many analyzers give good summaries,
and Clicky is no different - but the similarities stop there. Clicky
stands out with its refreshingly clean and simple interface, innovative
features like Spy and RSS feeds, and an unrivaled per visitor level of
detail. You also get real time stats, outbound link tracking, download
tracking, IP tagging, custom data tracking, and much more." - post by sperkins
- "Clicky gives bloggers and smaller web sites a more personal
Thursday, January 13, 2011
Daily Tag 01/14/2011
-
In the Beginning was the Command Line
intellectualism
tags: command line hack universe fun book Microsoft linux metaphor Disney
- Gnu is an acronym for Gnu's Not Unix, but this is a joke in more ways than one, because GNU most certainly IS Unix,. Because of trademark concerns ("Unix" is trademarked by AT&T) they simply could not claim that it was Unix, and so, just to be extra safe, they claimed that it wasn't.
- What's hard, in hacking as in fiction, is not writing; it's deciding what to write. And the vendors of commercial OSes have already decided, and published their decisions.
- But it is the fate of operating systems to become free.
- Like the Earth's biosphere, the technosphere is very thin compared to what is above and what is below.
- fossilization process
- temporal arbitrage.
- Disney does mediated experiences better than anyone. If they understood what OSes are, and why people use them, they could crush Microsoft in a year or two.
- But more importantly, it comes out of the fact that, during this century, intellectualism failed, and everyone knows it.
- lip service
- How badly we want it can be measured by the size of Bill Gates's fortune.
- Such phenomena are fraught with concealed tipping-points and all a-tangle with bizarre feedback loops, and cannot be understood; people who try, end up (a) going crazy, (b) giving up, (c) forming crackpot theories, or (d) becoming high-paid chaos theory consultants.
- and when he's finished typing out the command line, his right pinky hesitates above the ENTER key for an aeon or two, wondering what's going to happen; then down it comes--and the WHACK you hear is another Big Bang.
- He would probably tell you that life is a very hard and complicated thing; that no interface can change that; that anyone who believes otherwise is a sucker; and that if you don't like having choices made for you, you should start making your own.
-
-
Initially, Matz looked at other languages to find an ideal syntax. Recalling his search, he said, “I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python3.”
- Initially, Matz looked at other languages to find an ideal syntax. Recalling his search, he said, “I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python3.”
-
Wednesday, January 12, 2011
Daily Tag 01/13/2011
-
The Awesomest Way to Create Even More Awesome HTML5 Games! - Impact
-
JSColor – JavaScript / HTML Color Picker
tags: javascript color picker
-
jsdo.it - Share JavaScript, HTML5 and CSS
tags: javascript share
-
东拉西扯:走访创新工场 - 对牛乱弹琴 | Playin' with IT - 洪波的偏见 | keso.me
tags: 创新工场
-
Paul Buchheit: Serendipity finds you
tags: Serendipity risk chance blog
-
Codes from the Underground - Endtable, an ORM for CouchDB on Node.JS
-
Adequately Good - JavaScript Module Pattern: In-Depth - by Ben Cherry
javascript and module pattern
tags: javascript module pattern
-
Anonymous Closures
This is the fundamental construct that makes it all possible, and really is the single best feature of JavaScript. We'll simply create an anonymous function, and execute it immediately.
- Luckily, we have a nice solution to augment modules. First, we import the module, then we add properties, then we export it. Here's an example, augmenting our
MODULE
from above:
-
-
EclEmma - Java Code Coverage for Eclipse
Java Code Coverage
-
Teaching Students to Sift Mountains of Data - NYTimes.com
- “If they imprint on these small systems, that becomes their frame of reference and what they’re always thinking about,” said Jim Spohrer, a director at I.B.M.’s Almaden Research Center.
- “Science these days has basically turned into a data-management problem,” Mr. Lin said.
-
-
tags: 装修
Tuesday, January 11, 2011
Daily Tag 01/12/2011
-
Prospect theory - Wikipedia, the free encyclopedia
tags: Prospect theory wiki risk
- ow individuals evaluate gains and losses - basically the idea is that you tend to ‘weight’ losses more than gains, so that tends to make you risk-averse. But the point from which you measure that gain or loss is affected by the ‘frame’ of the deci - post by Kevin Wen
-
-
从单个数据源开始
如果你把许多不同的数据源集成到单视图中用于创建你的特征向量,那么接着你也许会想以某个单一的数据源作为模型的基础,然后将其他数据源分次装入。
许多问题的模式相通:一个主要的密集数据源和几个增入主源的系数稀疏数据源。
如果一次整合过多数据,你也许会发现自己已被数据处理和转换的复杂度压倒,而这亦会伤及你的研究能力。也可能会限制你从数据源中提取信息的能力,因为不断的修改数据,你便很难专注于从每个数据源中提取信息。
- 不要想那些你死了后都完不成的东西。你要不断的告诫自己。
-
-
Big Data Is Less About Size, And More About Freedom
- Distributed systems are about making trade offs and a move toward problem-specific solutions rather than one-size-fits-all stacks.
- Second, enterprises already have their solution—expensive data warehousing and consulting support.
- the most interesting part about big data and the cloud is not cheaper alternatives for the enterprise, it is the opportunities it facilitates for data-driven startups.
- Distributed systems are hard to get right, so when something like Hadoop gets a lot of momentum, it retains that momentum until alternatives have the time to mature enough to solve the hard problems with fault tolerance, performance, and so forth.
-
-
数学是成就卓越开发人员的必备技能 - 职场博客 - 伯乐在线
tags: 数学
-
You Don’t Need Math Skills To Be A Good Developer But You Do Need Them To Be A Great One
tags: math
-
Spring Framework 3.0 and Annotation-driven Formatting - Developer.com
tags: Spring format Annotation