Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Daniel Lv 吕国宁
@lgn21st
管理员
第 3 位会员 / 2011-10-28

[email protected]
RubyChina 管理员
杭州市
193 篇帖子 / 6522 条回帖
523 关注者
90 正在关注
80 收藏
这哥们天天研究怎么减肥~~~ 多年过去后,这哥们越来越肥!
GitHub Public Repos
  • game_of_life 14

  • ether_address_monitor 10

    通过 etherscan 提供的 api 检查热钱包账户余额,如果余额小于 100 ether,则通过云片发送消息通知。

  • echo-api-server-demo 2

    Echo API Server Demo

  • carbonvote 1

  • ethnode 1

    build a docker image for ethfans' node

  • peatio 1

    An open-source assets exchange.

  • awesome-ruby 1

    :gem: A collection of awesome Ruby libraries, tools, frameworks and software

  • money-tree 1

    A Ruby implementation of Bitcoin HD Wallets (Hierarchical Deterministic) BIP32

  • Awesome-Layer-2 0

    All the layer 2 projects

  • beijing-2019 0

    The website for RustCon Asia 2018 in Beijing, China.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • python 叛徒报道 at 2013年12月23日

    #24 楼 @wcp1231 嗯,那么你就多来这里混,Python 和 Ruby 双修吧。

  • python 叛徒报道 at 2013年12月23日

    #20 楼 @wcp1231 换一个。

  • python 叛徒报道 at 2013年12月23日

    虽然这里是 Ruby 论坛,但是我不建议大家黑 Python,不如联合 Python 的人大家一起黑一下比如 PHP 什么的。。。吼吼吼

  • python 叛徒报道 at 2013年12月23日

    作为组织了 5 次 RubyConfChina,而且还是 PyCon 上海前两届的主持人,我欢迎你!

  • 很粗浅的问题,按书的代码输提示错误。 at 2013年12月22日

    #4 楼 @ying39 没有遇到任何问题:

    ~ $ irb
    >> class Song
    >>       def initialize(name,artist,duration)
    >>             @name =name
    >>             @artist =artist
    >>             @duration = duration
    >>         end
    >>
    ?>         def to_s
    >>             "Song: #@name  #@artist(#duration)"
    >>         end
    >>
    ?>     end
    => nil
    >> class KaraokSong < Song
    >>       def initialize(name,artist,duration,lyrics)
    >>         super(name,artist,duration)
    >>         @lyrics=lyrics
    >>         end
    >>
    ?>         def to_s
    >>             super+ "[#@lyrics]"
    >>         end
    >>   end
    => nil
    >> song = KaraokSong.new("adsf","dsaf",34234,"234")
    => #<KaraokSong:0x007fc91185b290 @name="adsf", @artist="dsaf", @duration=34234, @lyrics="234">
    >> song.to_s
    => "Song: adsf  dsaf(#duration)[234]"
    
  • 无法渲染 create.js.erb 文件 at 2013年12月22日

    去查一下 Apache 的 error logs,任何 500 错误都有原因,查一下日志大概就能判断出来。

  • 循环遍历 at 2013年12月22日

    #1 楼 @HungYuHei 真是手快有,手慢无啊!

  • 循环遍历 at 2013年12月22日

    你查过文档吗?还是不知道怎么查文档? http://api.rubyonrails.org/classes/ActiveRecord/Calculations.html#method-i-sum 可以看到, sum 就是干这个的。

  • 从 mysql 迁移到 postgresql,程序和 gem 要什么大的改动吗? at 2013年12月22日

    你可以用 rails new project_name -d postgresql 生成一个 dumb 的项目自己对比一下。

  • 很粗浅的问题,按书的代码输提示错误。 at 2013年12月21日

    class 的初始化方法是 initialize , 好好检查一下你的拼写。

  • 好像 Ruby 的性能问题始终是个大问题啊! at 2013年12月21日

    #37 楼 @Kabie 不需要调查呀,我对 @bhuztez 对王垠的看法十分认同,不直接评论王垠本人只是为了不让自己卷入国内其他社区各种神话他和丑化他的闹剧中而已。

  • Gitlab 是个好东西啊 at 2013年12月21日

    #4 楼 @zeeler 华为,大众点评,还有一大堆你不知道的公司,招聘了不少 Rubyist 做 Redmine + Gitlab + Jenkins 的集成和定制开发,现在这一套做法颇为流行呢。

  • 今天发现一个以前没有注意到的好用的 ruby 语法,分享一下 at 2013年12月21日

    第一次知道这个用法,毫无疑问用 throw / catch 跳出嵌套循环干净利索,不过从可读性和表达性上看,这个用法在 Rubyist 中可能很难流行吧。

    引用的文章中的评论也有亮点,特别是这篇 Dont Use Exceptions For Flow Control 中还特别提到了 Ruby 的这种用法:

    The RubyLanguage has separate mechanisms for reporting errors and UnwindingTheStack as flow control. The begin...rescue and raise statements are used for reporting and handling methods. The throw...catch statements are used for unwinding deeply nested calls.

  • Gitlab 是个好东西啊 at 2013年12月21日

    Gitlab 的故事:http://teahour.fm/2013/03/25/story-of-gitlab.html

  • 好像 Ruby 的性能问题始终是个大问题啊! at 2013年12月21日

    #33 楼 @huacnlee 这贴的 #19 楼 @fengzhe 评论非常有代表性,个人表示赞同。B 大 @bhuztez 在 #28 楼 的回复可谓击中要害......

    但是这个帖子本身的题目,以及其他吹水的回复,让我觉得还是不要加精了吧,毕竟这种帖子每个月都会来一次。

  • [上海] 一树招 ruby/php 开发 at 2013年12月19日

    #34 楼 @liwei78 哈哈,其实我一直觉得 @rain 人非常靠谱的,希望你后面的求职一切顺利。

  • [上海] 一树招 ruby/php 开发 at 2013年12月19日

    #32 楼 @wangping Bug 请发到 Github 上:https://github.com/ruby-china/ruby-china/issues?state=open

  • Ruby 1.8 有个这么大的坑呀 at 2013年12月19日

    尽快升级到 Ruby 2.0.0 吧。

  • [上海] 一树招 ruby/php 开发 at 2013年12月19日

    #13 楼 @wangping 楼主 @rain 虽然身为猎头,但是跟我和 Ruby 社区合作很久了,在发帖之前,其实她先找到我,让我先审核过,才发布这篇招聘贴的,而且也是我帮忙做了内容格式化。

    就猎头招聘贴而言,我认为 @rain 的帖子已经是猎头界的良心了,也许你跟猎头打交道比较少,不了解猎头行业特点以及同业竞争的事情,很多地方他们有自己不得已的苦衷,所以我必须站出来说:就这篇招聘贴而言,根本不是马路小广告。

  • Gitto: 屌丝 git 托管工具 at 2013年12月18日

    有种想要加精的冲动,如果 B 大 能来 Teahour 做客的话.....

  • 毕业设计想在公司做跟 redmine 有关的项目,这样既跟工作有关又能完成毕设,大家有没有什么好的意见。 at 2013年12月18日

    #2 楼 @badboy 我认为一楼的答案是正解。

  • 关于 ruby 的内部和外部的迭代器 at 2013年12月17日

    #2 楼 @u1378130755 问题是你的描述没有上下文,其他人是看不懂的呀。

  • 关于 ruby 的内部和外部的迭代器 at 2013年12月17日

    你为什么不贴代码?

  • 开源分享 Ruby China 的 iPhone 客户端 at 2013年12月17日

    非常赞!不过好像不需要 JLRubyChina-iPhone-Release 这个项目,完全可以用 releases 功能打包嘛。

  • 《ruby 元编程》有奖试读中! at 2013年12月14日

    《ruby 元编程》有奖试读活动,出版社去 CU 发帖干嘛?为嘛不来这里啊?

  • Metaprogramming Ruby 第二版草稿已经完成一半 at 2013年12月14日

    如果能先睹为快的话... 是提不出意见的呀!

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