• x230i 这个本怎么样? at 2013年11月07日

    富士通怎么样

  • x230i 这个本怎么样? at 2013年11月06日

    还有吗?

  • x230i 这个本怎么样? at 2013年11月06日

    除了 tp 键盘手感好的笔记本有没有推荐的型号?

  • 百度搜图是怎么实现的? at 2013年11月06日

    不能传给 google,我是两张新旧图片对比 1 对 1 比较

  • 百度搜图是怎么实现的? at 2013年11月06日

    #4 楼 @rasefon 貌似这个没有用 opencv?

  • 百度搜图是怎么实现的? at 2013年11月05日

    ruby 有没有 opencv 的包装的 gem?

  • 有没有 css 框架支持 ie6?

  • 有没有兼容 ie6 的 css 框架?

  • redmine

  • go 写个分布式文件系统适合吗?

  • 黑他!黑他!

  • 网上搜了一下需要用 mongrel_service 但是安装 mongrel_service 以后 用 mongrel_rails start 提示 `require': incompatible library version /ruby/gems/1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/http11.so (LoadError) ruby 版本是 1.9.3 rails 版本是 3.2.13

  • Fetching: puma-2.6.0.gem (100%)
    Temporarily enhancing PATH to include DevKit...
    Building native extensions.  This could take a while...
    ERROR:  Error installing puma:
            ERROR: Failed to build gem native extension.
    
        g:/RailsInstaller/Ruby2.0.0/bin/ruby.exe extconf.rb
    creating Makefile
    
    make
    generating puma_http11-i386-mingw32.def
    compiling http11_parser.c
    ext/http11/http11_parser.rl: In function 'puma_parser_execute':
    ext/http11/http11_parser.rl:111:3: warning: comparison between signed and unsigned integer expressions
    compiling io_buffer.c
    io_buffer.c: In function 'buf_to_str':
    io_buffer.c:119:3: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
    g:/RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/intern.h:668:7: note: expected 'const char *' but argument is
    compiling mini_ssl.c
    In file included from mini_ssl.c:3:0:
    g:/RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" inst
    mini_ssl.c:4:25: fatal error: openssl/bio.h: No such file or directory
    compilation terminated.
    make: *** [mini_ssl.o] Error 1
    
    
    Gem files will remain installed in g:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/puma-2.6.0 for inspection
    Results logged to g:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/puma-2.6.0/ext/puma_http11/gem_make.out
    
  • 傅立叶变化的完美解释。 at 2013年10月31日

    不明觉厉

  • 一个顶仨的节奏,就是不知道是不是发三个人的工资?

  • 方舟子有多少知识?他又不是搞农业研究的,到处宣传转基因,但是农科院真正做研究的却说转基因不增产,抗虫害也有限,http://news.163.com/13/1025/22/9C2K0SSD00014JB5.html 我不是博士,也有各种信息很好的检索,我检索到的信息是转基因安全性目前没有定论,方舟子貌似是个无业有民,又不用挣钱买房(可以住老婆单位的福利房),不知道那来的够用的财富,如果收黑钱发文章,这样的钱算不算够用的财富呢?

  • 成都1w 以上的码农有多少比例,别跟我说肯定有

  • 各类社区活跃度 at 2013年10月20日

    最好的财经方面的社区是什么?

  • 請問現在北京天氣如何? at 2013年10月20日

    去北京演唱的歌星得哮喘了

  • 关于中文与英文的先进性 at 2013年10月16日

    中文适合瞎扯谈,因为中文的解释是模糊化的,比如光看,英文就有 4,5 个字分不同的看,而中文的解释是靠想象空间,比如平时常见的有关部门,发展又快又好,全民所有,不明真相的一小撮.... 在古代中国,文字是由知识分子垄断的,而知识分子的最终目标是学而优则仕,最后导致中文演化成一种适合当官的语言,这样出了事好扯皮,方便照顾面子,如果说得太死既要担责任,面子上也过不去,而英文讲究精确,一个词后面动不动就带个 that 或者 which 给你解释一大堆,所以英文最适合搞技术,演化的结果是中文在亚洲产生了最圆滑的官僚体系,英文在欧洲产生了精确的现代科技和辩证逻辑

  • 在这问个 PHP 问题吧 at 2013年10月14日

    php 真的很丑,写 ruby 赏心悦目

  • #75 楼 @kikyous 改成 localhost 一连接服务器就退出了,控制台报错 app.rb:97:in block (4 levels) in <main>': undefined methodheaders' for nil:NilClass (NoMethodError)

  • #73 楼 @kikyous ws = new WebSocket("ws://0.0.0.0:1438"); 这是 app.js 里的 app.rb 里 EventMachine::WebSocket.start(:host => '0.0.0.0', :port => 1438) do |ws| 应该改成什么?

  • #71 楼 @kikyous 启动起为了,但是打开 ff/或者 chrome 都是弹窗提示 连接已断开,请刷新页面,刷新一下还是这个提示,控制台也不报异常

  • 用 gem install eventmachine --pre 可以安装成功,但是 bundle install 还是显示

    Installing eventmachine (0.12.10)

  • #68 楼 @kikyous Gemfile 是不是要改成 gem 'eventmachine','pre' ?

  • 最好根据 key 做个分布式处理

  • bundle install

    Resolving dependencies...
    Using addressable (2.2.7)
    Using backports (3.3.4)
    Using daemons (1.1.8)
    Installing eventmachine (0.12.10)
    Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native exte
    
        g:/RailsInstaller/Ruby2.0.0/bin/ruby.exe extconf.rb
    checking for rb_trap_immediate in ruby.h,rubysig.h... no
    checking for rb_thread_blocking_region()... yes
    checking for inotify_init() in sys/inotify.h... no
    checking for __NR_inotify_init in sys/syscall.h... no
    checking for writev() in sys/uio.h... no
    checking for rb_thread_check_ints()... yes
    checking for rb_time_new()... yes
    checking for windows.h... yes
    checking for winsock.h... yes
    checking for main() in -lkernel32... yes
    checking for main() in -lrpcrt4... yes
    checking for main() in -lgdi32... yes
    checking for main() in -lssl... no
    creating Makefile
    
    make
    generating rubyeventmachine-i386-mingw32.def
    compiling binder.cpp
    In file included from binder.cpp:20:0:
    project.h:85:0: warning: "FD_SETSIZE" redefined
    <command-line>:0:0: note: this is the location of the previous definition
    compiling cmain.cpp
    In file included from cmain.cpp:20:0:
    project.h:85:0: warning: "FD_SETSIZE" redefined
    <command-line>:0:0: note: this is the location of the previous definition
    cmain.cpp: In function 'int evma_send_file_data_to_connection(long unsigned int, const char*)':
    cmain.cpp:752:6: error: 'fstati64' was not declared in this scope
    make: *** [cmain.o] Error 1
    
    

    win7 上安装不上 eventmachine

  • #29 楼 @TsingHan 地图可以用网页版