博客

  • Xbox与天猫盒子

    Xbox和天猫盒子本来是没有关系。为什么在这里要把这两个东西要扯在一起呢?因为我这周同时入手了天猫盒子和xbox(的手柄) Orz…

    (更多…)

  • Do amazing things – Jobs

    Keep on what you believe, serve the word, change the word.

  • 那些项目中的接口

    一个糟糕的的程序接口的设计不仅仅是对接口调用者的摧残,更是对整个系统估值的贬低以及对设计者的能力的贬低。

    下午工作的时候,发现在现在的项目,很对接口设计都令人抓狂,在一些地方不仅仅是设计的不好,而是似乎没有经过设计。比如,在一个接口中,明明是只需要一个Device ID (int)列表就能达到目的,却要求传入一个完全的Device列表,调用者不得不构建一个个的Device对象,如果构建这些Device对象是通过web service的方式获取的话,那么会在性能上照成严重的拖累。

    软件设计的最少知识原则(PLK)也是KISS原则(Keep It Simple and Stupid)的一种体现,它们都希望使用你设计的接口或者界面的用户,只希望通过最少的操作就能达到他们的目标。就我个人而言,是非常推崇这种设计的,正如那句广告,简约而不简单。 (更多…)

  • 双十一天猫盒子还剩48万台

    看来淘宝这次是下决心要占领客厅的市场了,总共100万台的天猫盒子赠送。但是似乎大家不领情,现在才领了过半。实际上,我觉得淘宝已经算好有多少能免费领到这个盒子,首先是近期在天猫超市有订单,并且双十一在天猫有订单。加之之前的广告语,有99%能获得,这个数据必然也是淘宝算过的,这么大的活动不可能那么大意。但是呢,成本算下来如果100一台,50万台,差不多也是5000万RMB看来淘宝投入也不少。加之投入的红包,淘宝双十一在回赠用户上,也得达到几个亿。在这一天是令京东,苏宁之辈望其项背的。

  • test

    this is a test for inspiration category.

    测试成功,在wp主页隐藏特定category,然后通过restful方式,拿出某个category,自定义。

  • Success needs action

     360

    baidu wareable

    差不多一年前看好的穿戴式已经步入正轨。我的超级智能终端的设计也在某些产品上看到了雏形,action, now!

    出来这些穿戴设备,上半年想做的home center也在极路由,小米路由上看到了影子,不过他们的产品还是有待进一步挖掘,稍微再一些改进就和我想象中的home center和personal compute差不多了。

  • 代码洁癖,好事?坏事?

    长时间纠结在一件事情上,总想追求完美,导致自己不够productivity。项目立案了,但是纠结与xmpp还是原生socket,读了各种资料,东西了解了,但是时间浪费了。ps:时间比浪费在玩游戏上好。

  • 技术谈

    在微博上看到一条微博,大致说一个人40岁了,没有什么成就,只是把mysql调优怎么怎么滴了,意思是还专注在技术上。发微博的人是杭州的。引来一大片喷论,说佩服40岁还能做技术。我就纳闷了,40岁就不能做技术了?中国的技术行业就这么浮躁?如果一个人真的想在一个行业有所成就,40岁还不够。岁数不是问题,问题是你是否真正的喜欢你所做的,至少在高中时我就喜欢上了它,愿意真心的投入这个行业。

  • How Browsers Work

    This article is found when I clear my Evernote in the afternoon, it’s a fantastic story to get known the flow of  how browser render a page, it’s also very help to understand font-side developing in some view. Share this article to blog, hope to find some time to translate it to Chinese.

    ——————-

    The browser’s main functionality

    The browser main functionality is to present the web resource you choose, by requesting it from the server and displaying it on the browser window. The resource is usually an HTML document, but may also be a PDF, image, or other type. The location of the resource is specified by the user using a URI (Uniform resource Identifier).

    The way the browser interprets and displays HTML files is specified in the HTML and CSS specifications. These specifications are maintained by the W3C (World Wide Web Consortium) organization, which is the standards organization for the web.
    For years browsers conformed to only a part of the specifications and developed their own extensions. That caused serious compatibility issues for web authors. Today most of the browsers more or less conform to the specifications. (更多…)

  • 密码保护:那些年,我们养过的狗狗

    此内容受密码保护。如需查阅,请在下方输入密码。