Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@flyerhzm
VIP
NO. 197 / 2011-11-23

xinminlabs.com
上海
17 Topics / 86 Replies
16 Followers
0 Following
0 Favorites
Founder at http://xinminlabs.com
GitHub Public Repos
  • bullet 7209

    help to kill N+1 queries and unused eager loading

  • rails_best_practices 4177

    a code metric tool for rails projects

  • switch_user 731

    Easily switch current user

  • chinese_pinyin 429

    translate chinese hanzi to pinyin

  • uniform_notifier 236

    uniform notifier for rails logger, customized logger, javascript alert, javascript console, growl...

  • rails-bestpractices.com 201

  • eager_group 124

    fix n+1 aggregate sql functions for rails

  • code_analyzer 87

    code analyzer tool which is extracted from rails_best_practices

  • resque-restriction 86

    resque-restriction is an extension to resque queue system that restricts the execution number of ...

  • rails-brakeman.com 53

    online security check for rails projects

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • RubyConf China 2015 资源汇总 at October 12, 2015

    我的 https://speakerdeck.com/flyerhzm/ji-yu-astde-dai-ma-you-hua

  • eager_group 修复 n+1 聚合函数问题 at August 17, 2015

    #13 楼 @yakjuly 我应该已经在 v0.2.0 加了对 has_many :through 的支持, https://github.com/xinminlabs/eager_group/blob/master/spec/integration/eager_group_spec.rb

  • eager_group 修复 n+1 聚合函数问题 at July 01, 2015

    @ailen 感谢指正

  • eager_group 修复 n+1 聚合函数问题 at June 30, 2015

    @hooopo 是的,不过如果实时性要求不高的话,与其用 materialized view,我更倾向用 redis 的 sorted set 来实现排序。

  • eager_group 修复 n+1 聚合函数问题 at June 30, 2015

    @hooopo 这个需求的确是还不能支持,但是也不难,就像 includes + where/order 可以转成 JOIN,eager_group + where/order 也可以通过 JOIN 来完成。

  • eager_group 修复 n+1 聚合函数问题 at June 30, 2015

    @hooopo

    1. counter_cache_with_conditions,我之前也考虑过加字段手动维护,但是一旦条件变复杂了,数据很容易发生偏差,另外 counter_cache_with_conditions 只能支持 COUNT,其它聚合函数就无能为力了。
    2. view 也是不错的选择,但是结果会变慢,而且在 rails 中维护 db view 是非常麻烦的。materialized view 就更不合适了,需要定时刷新,数据的实时性被破坏了。
  • [远程] RankAbove (还还在)招高级 Ruby 全栈工程师 at May 13, 2015

    @ngtzeyang 童鞋绝对靠谱啊,远程工作,时间又灵活,有能力的不妨试一下

  • [上海] 七周七语言之 Ruby -2014年8月16日 at July 27, 2014

    @gene_wu 可以讲些什么内容?针对入门的或者是可以讲些深入点的?

  • [上海 + 在家办公] Xinmin Labs 招聘全栈工程师 (第二弹) at July 10, 2014

    持续招聘中

  • synvert = syntax + convert at March 28, 2014

    录了一段视频,帮助大家明白如何使用 synvert http://xinminlabs.github.io/synvert/

  • synvert = syntax + convert at March 24, 2014

    @small_fish__ synvert 只是解决语法层级的问题,基本上是按照 rails 官方的升级文档 http://guides.rubyonrails.org/upgrading_ruby_on_rails.html 一条一条做的,不兼容 gem 包得自己解决

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 23, 2014

    @heimirror 其实是漏了一个 what, ”but we can get more information about what your need from this form“

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 10, 2014

    #29 楼 @xlaok 抱歉,我们走正规流程,交税交社保交金

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 10, 2014

    #28 楼 @rociiu 谢谢指正

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 04, 2014

    @Magic 兼职不考虑

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 04, 2014

    @leondu thanks

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 03, 2014

    @allenwei 技术积累和提升主要靠自己,这个和做项目还是做产品关系不大

    一个比较大的区别是,做项目很难接触到大数据和复杂的架构,做项目能够掌握差不多项目从无到有再到之后数据量到几十万、上百万所需要的技术,如果要做上亿或更多数据量的话,只能去加入一个靠谱的做产品的团队。

    每个项目的技术栈不同我倒觉得是好事,可以接触更多的技术和框架,能够更好地掌握不同的应用场景,碰到的问题也会各式各样,解决问题的能力也可以提高。

    关于项目质量,你可以看看很多项目代码质量都是很差的,一般和维护时间成正比,我不是完美主义者,我可以接受质量下降,但是会记一下,如果之后有时间会要求重构。

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 01, 2014

    @i5ting good idea

  • [上海 + 在家办公] xinminlabs 招聘全栈工程师 at March 01, 2014

    @CHAO_AERO good catch

  • 出一台二手 macbook air 13-inch, Mid 2011 at December 16, 2013

    @small_fish__ 纯开发的话大概可以坚持 3 个多小时

  • [求助] mongodb 老是挂掉,ruby 进程负荷高超时退出,怎么破 at July 04, 2013

    查询太慢了吧,试试把 index 加上

  • Ruby Web API Server 小评测 at June 04, 2013

    @robbin 我试了一下 rainbow 的线程模型,如果 db 的时间只占很少的话,跑起来比 unicorn 的单进程要慢许多呢

  • Ruby Web API Server 小评测 at May 27, 2013

    还有一个问题,没有在 sinatra-synchrony 下跑起来 newrelic,等待解决

  • Ruby Web API Server 小评测 at May 27, 2013

    赞,用多线程的话基本不需要对代码进行改动,不过需要注意线程安全的问题。

    @ashchan 最后一段,如果用 jruby 的话,多线程是可以利用多核的,所以一个 server 跑一个 java 进程就可以了,不过切换到 jruby 也是坑比较多。多进程的话我比较喜欢用外部的管理工具,比如 monit 或 god 来管理,比较灵活

  • 谁尝试过 async-rails? at May 19, 2013

    @ShiningRay 没试过,项目太不活跃,而且好像只支持到 rails 3.1

  • 会议盒子,不容错过的 Ruby 会议视频和 PPT at May 17, 2013

    @niedhui @hlxwell 免费就加了个广告,其它都一样 :-)

  • 昨天活动的 PPT at May 13, 2013

    #3 楼 @bhuztez 不知道为什么 keynote 导出 pdf 这么大,原始 keynote 文件才 1M 多

  • 昨天活动的 PPT at May 13, 2013

    #2 楼 @ashchan 弄得比较匆忙,本来是为了下个月的演讲做的

  • 给爱学习的 rubyists 福利 at May 13, 2013

    @knwang 发现 railscasts 和 peepcode 都已经有单独的 app 了

  • 给爱学习的 rubyists 福利 at May 13, 2013

    @y10n 还没学,正确早点出一个

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