• 我现在要转行了 at June 24, 2013

    国内股市是消息面和政策面,相信基本面你就准备扑吧,这几年爆涨几倍的妖股老鼠仓见不少,哪个有基本面?正因为没有基本面游资和私募才敢疯拉和一波一波的换庄接力。相反的,有基本面的为了融资融券联合公基把股价往死里打的一堆。至于普通散户和消息面/政策面的关系,说穿了无非当你知道的时候,上面已经打算把筹码派发给你了,有时候侥幸没死只是因为有人接盘。股票这玩意儿赚再多,没止盈都做不得数,说不定哪天利好兑现就换庄来玩连续跌停出货,国内市场,不善于察言观色和贪心的散户碰都别碰。

  • Node.js 的 Rails - sails at May 30, 2013

    compoundjs 也仿 rails, 以前就叫 railway 的

  • 深圳指南地图....西方经济学.....

  • 提价大搞 SaaS 才是人类的希望吧........

  • 通用 css 框架不好找,以前一些支持 ie6 闻名的框架 blueprint, 2 年没动静了 960.gs, 也是几个月小更新一次,新出的响应式框架 unsemantic 也不再支持 IE6 了 yaml, 商用收费,也半年没动静了

  • #6 楼 @DestinyDesigner column 能设置成 unsigned int 这个特性是 mysql 特有的,使用了一旦要迁移 db 会比较麻烦,而且如果用来做 enum,unsigned int 和 signed int 范围没差; 如果拿来做自增主键之类,数据量到了 int32~uint32 这个范围,还是早点换 bigint 吧,故 unsigned int 这个特性本身也比较鸡肋

  • puts 100.downto(0).map{ |i| "#{' '*i}end\n" }.join
    
  • 打个酱油,python 的 string 实现

    typedef struct {
        PyObject_VAR_HEAD
        long ob_shash;
        int ob_sstate;
        char ob_sval[1];
    
        /* Invariants:
         *     ob_sval contains space for 'ob_size+1' elements.
         *     ob_sval[ob_size] == 0.
         *     ob_shash is the hash of the string or -1 if not computed yet.
         *     ob_sstate != 0 iff the string object is in stringobject.c's
         *       'interned' dictionary; in this case the two references
         *       from 'interned' to this object are *not counted* in ob_refcnt.
         */
    } PyStringObject;
    
  • 程序员求证"程序员具备自我优越感"充分证明了程序员具备自我优越感....唔,抱头,别打脸