Ruby China
  • 社区
  • 招聘
  • Wiki
  • Gems
  • 注册
  • 登录
李华顺
@huacnlee
管理员
第 2 位会员 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
503 篇帖子 / 9084 条回帖
969 关注者
53 正在关注
105 收藏
打赏作者
GitHub Public Repos
  • autocorrect 1622

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rails-settings-cached 1121

    Global settings for your Rails application.

  • rucaptcha 702

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 167

    A macOS native style theme for Zed, let it same like native app in macOS.

  • color-lsp 57

    A document color language server.

  • zed-extension-action 40

    GitHub Action for automatically bump Zed Extensions version after a release.

  • zed-csv 25

    CSV support for Zed

  • gpui-workspace 16

    Dock layout UI component for GPUI, that extracted from Zed project.

  • autocorrect-action 12

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 10

    AutoCorrect for Zed

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Mongoid 自己出了一个 MongoDB driver - Moped at 2012年05月24日

    找到了官方的答复:

    原文

    I'll have a detailed post on this at the end of the week, including full performance numbers, motivation, design decisions, etc. But to quickly answer your questions.

    1. The implementation is quite different, and pull requests to the official driver that changed design (a long time ago) were not accepted.

    2. Our driver and bson implementations are faster, even in pure Ruby, so there was no need to do native C. (It also makes it more stable across various operating systems, and JRuby users don't get penalized anymore - it's faster on the JVM than the Java bson implementation.)

      First run numbers are here: https://gist.github.com/1844063 with more optimizations to come from us as well.

    3. Origin is basically just there to be a DSL to build query selectors, and has no dependency on any other gem. I wanted to do this so others could utilize the DSL that Mongoid has for it's criteria without needing to use Mongoid, or depend on any driver.

    我的理解

    1. 这个实现是有很大不同的,MongoDB 官方 Ruby Driver 不会接受这种改变了设计的 Pull Request。
    2. 我们的 Driver 和 BSON 实现是更快的,哪怕它是纯 Ruby 的,所以不在需要基于 C 了。(这能让它在不同的操作系统中稳定运行,并且 JRuby 用户再也不用受罪了 - 它的速度比 Java BSON 实现更快。) 这里有运行数据:https://gist.github.com/1844063 以及我们更多的优化的数据。
    3. 起因还是为了构建一个基于 DSL 的 Query 选择器,并且不需要依赖其它的 Gem。我想做这个事情让其他人(需要用 MongoDB 的人)可以不用使用 Mongoid 的 DSL,Mongoid 的 criteria,或依赖任何 Driver。

    https://groups.google.com/d/topic/mongoid/vS5hn_659Kc/discussion

  • 转一篇有意思的文章 - 通天塔导游 at 2012年05月24日

    原文 http://code.google.com/p/windows-config/wiki/TourDeBabel

  • [疑问] 从哪里可以看出来某个网站是使用 Rails 开发? at 2012年05月24日

    #6 楼 @alucardpj 这个功能我发现很多人不会用

  • ssh-agent 代理失效 at 2012年05月24日

    你是在配置 Gitosis 吧?

  • sextant, Gem to show routes without rake command at 2012年05月24日

    用处不大呀

  • 国内为什么没有好的 Stack Overflow 的模仿者? at 2012年05月24日

    #9 楼 @jokry dewen 理解的 Web 开发 就是 PHP...编程语言就是 C

  • ssh-agent 代理失效 at 2012年05月24日

    这个正文乱得... 另外看半天也没明白你在干啥

  • development 模式加载问题 at 2012年05月24日

    Rails 3.0.x 是很慢的,赶紧升级 3.2 吧,速度就快了。

  • development 模式加载问题 at 2012年05月24日

    只有修改过的文件才会重新加载的

  • [成都] Ruby on Rails 工程师 at 2012年05月24日

    我也是哪个区的,哈哈哈

  • 有哪位大侠实现过获取 msn 或 Gmail 联系的功能? at 2012年05月23日

    习惯上 Github 搜索

  • 有哪位大侠实现过获取 msn 或 Gmail 联系的功能? at 2012年05月23日

    https://github.com/cardmagic/contacts

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at 2012年05月23日

    #46 楼 @kenneth iMac,不是本子,哈哈哈

  • www.start2me.com (原 histart.me) 全新发布,稍微借鉴了 Path 2.0 Menu at 2012年05月23日

    #20 楼 @Los 尝试把资源文件放到国内,这样多少能快一些

  • 在线代码安全检查 at 2012年05月23日

    #7 楼 @flyerhzm 已经修复发布啦,哈哈哈

  • 在线代码安全检查 at 2012年05月23日

    raw 这个警告不太准确

  • 在线代码安全检查 at 2012年05月23日

    Eval 这个漏洞应该是很危险的,换成了别的方式

  • 在线代码安全检查 at 2012年05月23日

    试了一下 Ruby China 的代码,立马发现问题了,哈哈哈 http://rails-brakeman.com/repositories/9-ruby-china-ruby-china/builds/41#.T7xbPY69nMI

  • www.start2me.com (原 histart.me) 全新发布,稍微借鉴了 Path 2.0 Menu at 2012年05月23日

    #13 楼 @Los 想办法提提速吧,有时候太慢了

  • www.start2me.com (原 histart.me) 全新发布,稍微借鉴了 Path 2.0 Menu at 2012年05月23日

    #13 楼 @Los 哈哈,谢谢啦

  • www.start2me.com (原 histart.me) 全新发布,稍微借鉴了 Path 2.0 Menu at 2012年05月23日

    @Los 能不能把 Ruby China 的 Favicon 加上 另外也顺带加一下我的 720p.so 推荐一下吧

  • 搭建 rubygems 镜像遇到的问题 at 2012年05月23日

    我猜测,gemerate_index 设计的时候没有考虑到所有 gem 的情况,它只是设计给官方生成新 gem 的 spec 信息

  • Sublimt text 上如何取消自动完成功能,它和 zen coding CSS 的功能起冲突 at 2012年05月23日

    我写错字了,本来是想说比如的,结果敲成了必须...

  • Sublimt text 上如何取消自动完成功能,它和 zen coding CSS 的功能起冲突 at 2012年05月22日

    设置里面改快捷键,必须比如 Ctrl+p

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at 2012年05月22日

    #40 楼 @zw963 概率论来说,你的帖子命中率高

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at 2012年05月22日

    激动,手抖,好多快捷键都没用,还有 Sublime Text 2 的鹾样也上去了。

  • 分享一下正确的中英文混写法 at 2012年05月22日

    #35 楼 @ranmocy 我记得 Ruby on Rails 官方推荐的缩写是 Rails,这个明显可以从文档里面看到。

  • [不再处理] 关于 ‘weibo 登陆的相关 gems 和使用方法’ 的问题 at 2012年05月22日

    原始的 gem 是没有问题的,你要从自己的代码上面找原因,你改 gem 的代码可不行

  • [不再处理] 关于 ‘weibo 登陆的相关 gems 和使用方法’ 的问题 at 2012年05月22日

    最上面 omniauth 报错是说参数个数不对。

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