Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
yakczh
@yakczh
会员
第 4508 位会员 / 2012-11-14

[email protected]
92 篇帖子 / 260 条回帖
0 关注者
0 正在关注
1 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 女人更看重什么 at 2013年09月07日

    传说中的安全感,生在新社会,长在红旗下,居然说不买房没有安全感

  • 瓶颈期,求指点. at 2013年09月05日

    跟位置,排序相关的用 Array 非重复,有对应关系的用 Hash,另外不懂 New 是因为没有找过老婆,买过房,你找了老婆,买了房就明白为什么要写 New 了

  • 有百度的同学吗? at 2013年09月04日

    没说多少钱

  • rack 版本冲突 at 2013年09月03日

    rackup -v

    Rack 1.2 (Release: 1.5)

  • MongoDB 图形界面的管理工具那个好用? at 2013年09月02日

    Database command 'dbStats' failed: (errmsg: 'no such cmd'; bad cmd: '{"dbStats"=>true}'; ok: '0.0').

  • 关于 Net::HTTP.get_response 请求时 Broken pipe 这个异常,大家怎么解决的? at 2013年09月02日

    get_response 怎么传 headers

  • [北京] 互联网思路做硬件 - 幻腾智能招聘 Ruby 工程师 at 2013年09月02日

    #8 楼 @phantom 公司就三个人,远程的话,可以省出来一笔办公租金费用

  • [北京] 互联网思路做硬件 - 幻腾智能招聘 Ruby 工程师 at 2013年09月02日

    这个远程比较合适

  • 最近做的一个移动客服的插件 at 2013年09月01日

    这是 ios 吗?

  • 哈哈 上午搞到了一个红米手机!! at 2013年08月31日

    死机吗?

  • 哈哈 上午搞到了一个红米手机!! at 2013年08月27日

    #4 楼 @kongkong 要不怎么叫期货,你拿到手那天到坛子里来发贴,贴子时间一减算一下就知道快慢了

  • 怎么提高英语表达能力?我发现我在 stackOverflow 上面提问,老外们都不明白我在问什么.... at 2013年08月27日

    有没有好的练口语的论坛?

  • 哈哈 上午搞到了一个红米手机!! at 2013年08月27日

    拿到手 2 月之后吧

  • 个人用 Rails 边学边做的一个社区的总结 at 2013年08月25日

    varnish +nginx +rails ?

  • Ruby 性能真的比 Node 差这么多么? at 2013年08月25日

    EventMachine

    require "eventmachine"
    
    class Echo < EventMachine::Connection
    
      def receive_data(data)
        send_data("Hello World")
        close_connection_after_writing
      end
    end
    
    EventMachine.run do
      EventMachine.start_server('0.0.0.0', 10000, Echo)
    end
    

    nodejs

    var http = require('http');
    http.createServer(function (req, res) {
      res.end('Hello World');
    }).listen(10000, '127.0.0.1');
    

    ab -n 6000 -n 66 http://localhost:10000/

    EventMachine:261.55 rps nodejs : 254.77 rps

  • 天太热,笔记本太烫,想买个台式机,显示器选多大的合适? at 2013年08月24日

    显示器并不是越大越好,人的视角是固定的,太大尺寸显示器写代码反而更加累

  • padrino 安装报错  at 2013年08月22日

    vagrant 安装好了,但是带的 ruby 是1.8 另外 eth0 是 inet addr:10.0.2.15 能上外网,但是本地也 vagrant 互相 pinig 不通,怎么让本地的浏览器可以访问 vagrant 里面的 web 服务?

  • shotgun `trap': unsupported signal SIGQUIT (ArgumentError) at 2013年08月21日

    gem install reloader --no-ri --no-rdoc Fetching: trollop-2.0.gem (100%) Successfully installed trollop-2.0 Fetching: sys-uname-0.9.2-universal-mingw32.gem (100%) Successfully installed sys-uname-0.9.2-universal-mingw32 Fetching: growl-1.0.3.gem (100%) Successfully installed growl-1.0.3 Fetching: ffi-1.9.0-x86-mingw32.gem (100%) Successfully installed ffi-1.9.0-x86-mingw32 Fetching: rb-inotify-0.9.1.gem (100%) Successfully installed rb-inotify-0.9.1 Fetching: libnotify-0.8.1.gem (100%) Successfully installed libnotify-0.8.1 Fetching: rspactor-0.7.0.beta.5.gem (100%) Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed rspactor-0.7.0.beta.5 Fetching: eventmachine-1.0.3-x86-mingw32.gem (100%) Successfully installed eventmachine-1.0.3-x86-mingw32 Fetching: http_parser.rb-0.6.0.beta.2.gem (100%) Building native extensions. This could take a while... Successfully installed http_parser.rb-0.6.0.beta.2 Fetching: em-socksify-0.3.0.gem (100%) Successfully installed em-socksify-0.3.0 Fetching: cookiejar-0.3.0.gem (100%) Successfully installed cookiejar-0.3.0 Fetching: em-http-request-1.1.0.gem (100%) Successfully installed em-http-request-1.1.0 Fetching: daemons-1.1.9.gem (100%) Successfully installed daemons-1.1.9 Fetching: thin-1.2.7-x86-mingw32.gem (100%) Successfully installed thin-1.2.7-x86-mingw32 Fetching: faye-0.5.0.gem (100%) Successfully installed faye-0.5.0 Fetching: iobuffer-1.1.2.gem (100%) Building native extensions. This could take a while... Successfully installed iobuffer-1.1.2 Fetching: rev-0.3.2.gem (100%) Building native extensions. This could take a while... Successfully installed rev-0.3.2 Fetching: reloader-0.1.0.gem (100%) Successfully installed reloader-0.1.0 18 gems installed

    装了这么多不知道装了些啥,后面仔细看下文档,原来应该是 sinatra-contrib

  • shotgun `trap': unsupported signal SIGQUIT (ArgumentError) at 2013年08月21日

    sinatra 有没有验证表单的组件?

  • [北京] 生物公司需求内部网站 / 后台程序员 ruby at 2013年08月21日

    生物的不是用 perl 的吗

  • sinatra 如何关闭控制台的 access 日志 at 2013年08月18日

    这是 app 中代码中的日志 我说的服务器的 acess log

    textpatten - - [18/Aug/2013:10:24:16 中国标准时间] "GET / HTTP/1.1" 200 11

    • -> /

    控制台打印的这样的信息

  • [上海] 高薪诚聘 Ruby 高级工程师 (10-15k) at 2013年08月14日

    soho 吧

  • 怎么传入一个函数和它的参数 at 2013年08月13日

    :linkhandle 这种用法叫什么?

  • 怎么传入一个函数和它的参数 at 2013年08月12日

    怎么写

  • @tmm1 教你 Eventmachine at 2013年08月08日

    异步代码不好维护

  • 谁能剖析下未来几年 Ruby 在中国会发展怎么样? at 2013年08月07日

    ruby 可以搞 erp oa 企业内部系统,做网站只能是非主流,拼不过主旋律

  • [成都] 国外初创公司外包项目 at 2013年08月05日

    #4 楼 @dollar jd 发我邮箱 [email protected]

  • 上一页
  • 1
  • 2
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English