Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
屎丸
@lithium4010
会员
第 8744 位会员 / 2013-08-19

上海
38 篇帖子 / 613 条回帖
11 关注者
47 正在关注
35 收藏
GitHub Public Repos
More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [上海][8-19,20] RubyConf China 2023 售票开始 at 2023年06月29日

    他们管饭吗?

  • 被一道 leetcode 中等题难住了 at 2022年07月14日

    超时一般就是算法时间复杂度不够低

    这题 O(NLogN) 够快了吗?

  • 一些奇怪的 Ruby 行为 at 2022年06月10日

    这很正常啊

  • 有哪些,是项目开始运行甚至成熟后,非常后悔没有提前配置或加上的? at 2021年12月21日

    光分析是没用的,主要得说服用户他们

  • 想做个卡牌游戏,做好基本架构,卡牌可以让玩家参与设计,不知道大家会不会有兴趣玩? at 2021年03月26日

    有兴趣了解怎么搞这种框架

  • 请各位推荐一本较全面、较新版的 Ruby 书 at 2021年03月26日

    The Ruby Programming Language

    Meta Programming Ruby

  • where 与 joins 的一个小问题请教 at 2021年03月26日

    我要看所有其他人的订单?这种需求有点奇怪

  • 上海 Ruby Tuesday 求反馈 📝 at 2021年03月26日

    下周搞不搞?

  • ROR Optimization Tips at 2020年12月18日

    policy 也可以用来写 scope

  • Ruby Array map! 使用问题 at 2020年12月16日

    block 里面 next 相当于 continue, break 相当于 break, return 直接 return 了上层的方法

  • Ruby Array map! 使用问题 at 2020年12月16日
    2.5.1 :003 > ['1', '11', '111'].map { |x| x.rjust(4, '0') }
     => ["0001", "0011", "0111"]
    
  • Web Almanac 网络年鉴 2020 at 2020年12月15日

    你是 matz 本 matz 吗?

  • Shopify 的 GraphQL API 设计指南 at 2020年12月14日
    • 分布是=> 分别是
    • 非常由衷 => 非常臃肿
    • 既是是以 => 即使是以
  • 迈向 Ruby 3 at 2020年12月14日

    感谢

  • ViewComponent 这个框架怎么样? at 2020年12月11日

    很不错的 TDD refactoring 教学

  • 基于 Docker 在 Win10 平台搭建 Ruby on Rails 6.0 框架开发环境 at 2020年11月27日

    装个 ubuntu

  • 2020 时代的 Rails 系统测试(翻译) at 2020年11月23日

    in too deep

  • Ractor 下多线程 Ruby 程序指南 at 2020年11月20日

    没有 markdown 预览吗?

  • 原来 class << self 是这样的 at 2020年10月16日

    写那么长的文件不好维护

  • 敏感词过滤实现 at 2020年06月20日

    推荐 AC 自动机 https://github.com/ahnick/ahocorasick 我生产环境用过的

  • 微软苏州 Microsoft Teams 团队招人啦! at 2020年04月14日

    苏州好地方

  • DHH 最新博客——“雄伟巨石”可以成为“城堡” at 2020年04月14日

    zhh 和 dhh

  • 涂鸦智能网关组招聘研发工程师(语言不限)- 核心底层服务 [18k~35k] at 2020年04月11日

    地点好像没有写

  • 如何在 Rails 启动的时候从数据库中加载路由和 Ruby 代码呢? at 2020年04月04日

    /config/initializers/ 里面加个脚本

  • 人生的一个小奇迹再次覆灭。。。 at 2020年04月04日

    人生的起起落落

  • Shadow Table for Postgres at 2020年03月22日

    event sourcing 怎么样

  • 一道题解 at 2020年02月26日

    思路清奇

  • [上海] GOAT Group 招聘 Ruby 后端工程师程序员 1 名 at 2019年12月24日

    没写薪资范围

  • ShowMeBug 核心技术内幕 at 2019年12月24日
    def unlock_pad_history(lock_key)
      logger.debug "[padable] unlock( lock_key: #{lock_key} )..."
    # --- BEGIN 我觉得主要问题是这里,两步操作如果可以合并成原子操作就会好很多,基本够用  
    old_lock_key = REDIS.get(_pad_lock_history_key)
      if old_lock_key == lock_key
        REDIS.del(_pad_lock_history_key)
    #### ---- END
      else
        log = "[FIXME] unlock_pad_history expired: lock_key=#{lock_key}, old_lock_key=#{old_lock_key}"
        logger.error(log)
        e = RuntimeError.new(log)
        ExceptionNotifier.notify_exception(e, lock_key: lock_key, old_lock_key: old_lock_key)
      end
    end
    
  • ShowMeBug 核心技术内幕 at 2019年12月23日

    https://www.jianshu.com/p/7e47a4503b87

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