Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Hooopo
@hooopo
管理员
第 8 位会员 / 2011-10-28

[email protected]
nil
北京
160 篇帖子 / 3013 条回帖
360 关注者
0 正在关注
74 收藏
聪明的妖怪录下了唐僧的紧箍咒
打赏作者
GitHub Public Repos
  • oh-my-github-circles 47

    GitHub User Circle Generator Using GitHub Actions

  • hackernews-insight 21

    Hackernews Insight using TiDB Cloud

  • repo-track-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any repository to your da...

  • oh-my-github-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any github user to your d...

  • chatgpt-xiaoai 3

    小爱音箱集成LLM,SaaS 服务

  • repo-contributor-circles 1

    GitHub repo contributor circles generator.

  • ossinsight-x 1

    Automatically post trending repos to Twitter every day.

  • mi-service 1

    XiaoMi Cloud Service for mi.com

  • hooopo 0

  • streamlit-echarts-demo 0

    Demo for Streamlit ECharts component

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [原创] Ruby 初学者水平自测代码 at 2012年04月01日

    #13 楼 @jinleileiking 去翻书吧 我更懒 差不多任意一本 ruby 入门书上都有。。。

  • bpython - 支持语法高亮和 Auto Complete 的 Python 控制台 at 2012年04月01日

    #8 楼 @jinleileiking 最近比较忙....

  • 关于中英文自动隔开的算法实现 at 2012年03月28日

    #8 楼 @huacnlee 理论上规则确定了就可以实现。这个问题的难度是规则不确定...

  • 12306 竟然是 rails 做的。。。 at 2012年03月28日
     ____________________
    ( 12306竟然是rails做的。。。 )
     --------------------
            o   ^__^
             o  (oo)\_______
                (__)\       )\/\
                    ||----w |
                    ||     ||
    
    
    
    
  • Ruby semantics for boolean values at 2012年03月27日

    #1 楼 @Saito 已经被 merge 了... 这个作者本来是想去捣乱的吧?

  • 12306 竟然是 rails 做的。。。 at 2012年03月26日

    冷笑话?

  • 成都这边用 Ruby / Rails 的公司多吗?需求大不? at 2012年03月25日

    diigo 还在成都呢

  • rails 多表关联 save 的时候需不需要 transaction? at 2012年03月24日

    那你们架构师把 rails 的内建事务关掉了没?

  • 成都这边用 Ruby / Rails 的公司多吗?需求大不? at 2012年03月24日

    #8 楼 @vkill csdn

  • 明天毕业论文答辩,老师指明重点介绍 Ruby/Rails 等新技术,如何介绍? at 2012年03月24日

    你们得靠自己哇

  • 求助: 有关文件中一大段字符串 (多行注释字符) 的替换, 求优雅的解法 at 2012年03月24日

    #7 楼 @geekontheway 其实你这个真的没有楼主的可读性好

  • 成都这边用 Ruby / Rails 的公司多吗?需求大不? at 2012年03月24日

    #5 楼 @vkill #3 楼 @ywencn 成都用 rails 的好像除了北京上海算是多的

    我第一份实习工作就在背包兔...那是很久之前的事儿了 现在他们还用不用 ruby 我都不清楚..

  • 国内有类似于 UserVoice 的产品么? at 2012年03月23日

    UserSound http://www.iteye.com/topic/661053 好像打不开了

  • 大家说说曾遇到过的 rails 的坑与相关 tips 吧 at 2012年03月22日

    坑太多了,有些已经忘记了....

  • 测试无效的问题 at 2012年03月17日

    --drb 的是做什么的?我有点怀疑是这个东西的 bug:-)

  • 发起一个算法讨论, 有关两个字符串之间逐字符混插 at 2012年03月17日

    #15 楼 @zw963 zip + cycle 才是经典

    我觉得 map 那句是多余呀 ,修改一下 @hysios 的:-)

    def insert_str(str1, str2)
      str1.chars.zip(str2.chars.cycle).join
    end
    
    
  • 测试无效的问题 at 2012年03月17日

    https://github.com/rails/rails/issues/2758

  • 发起一个算法讨论, 有关两个字符串之间逐字符混插 at 2012年03月16日
    def insert_str(long, short)
      div, mod = long.size.divmod(short.size)
      c = short * div + short[0..(mod - 1)]
      long.chars.zip(c.chars).join
    end
    
    
  • view 中文不能显示 at 2012年03月15日

    Ruby 版本和 Rails 版本多少哇

  • 关于今天 ruby tuesday 的 quiz .... at 2012年03月14日

    #13 楼 @fsword #14 楼 @skandhas 我的是 32 位系统 并且每次运行都是输出 32000 左右个点以后就 crash

  • 折腾国产 OAuth 认证服务有感 at 2012年03月14日

    还不错啦! 记得我 08 年的时候写了一个豆瓣的 oauth api 客户端(遗骸: http://code.google.com/p/doubanclient-ruby/ )。 写好了以后拿去给老师当作业交,当时豆瓣的 oauth server 还处于调试阶段,给老师验收的时候豆瓣的 server 不知到出了什么毛病。。程序跑不起来了。。

    后来写 oauth_china( https://github.com/hooopo/oauth_china )这个 gem 的时候,又有机会和搜狐网易这些 oauth server 打交道。。

    然后,再看到 oauth 几个字就躲着走。。。

  • 关于今天 ruby tuesday 的 quiz .... at 2012年03月14日

    #10 楼 @fsword 不是 8M,是 8%.看错了。。 这个应该是我的电脑 32 位 ubuntu10.04 的默认参数

    PS,ns 同学的上面的代码溢出时间和 stack size 参数有关,下面的代码的溢出时间和 open files 参数有关....

  • [北京] YOTTAA 急需 ruby 研发人员!!!! at 2012年03月14日

    去面试过。。感觉要求好高哇

  • 一个函数返回多个值 at 2012年03月14日

    #6 楼 @camel 这个有点像模式匹配呀 虽然没有 erlang 那么强大。

    http://rubyeye.herokuapp.com/articles/13-pattern-match-in-ruby

  • 一个函数返回多个值 at 2012年03月14日

    不就是返回数组吗

  • 关于今天 ruby tuesday 的 quiz .... at 2012年03月14日

    #8 楼 @fsword

    ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 20
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 16382
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) unlimited
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    
    
    

    试了几次都挂掉。。

  • 关于今天 ruby tuesday 的 quiz .... at 2012年03月14日

    #5 楼 @Saito 据观察 ruby 进程占 8M 以后就挂掉

    `resume': mprotect failed (FiberError)
        from f.rb:2:in `block in <main>'
        from f.rb:4:in `[]'
        from f.rb:4:in `block (2 levels) in <main>'
    
    
  • 上一页
  • 1
  • 2
  • …
  • 95
  • 96
  • 97
  • 98
  • 99
  • …
  • 108
  • 109
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English