Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李华顺
@huacnlee
Admin
NO. 2 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1387

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

  • rails-settings-cached 1098

    Global settings for your Rails application.

  • rucaptcha 695

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

  • zed-theme-macos-classic 91

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

  • vscode-macos-classic.t... 21

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 18

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

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-gradient 5

    Generate a Gradient like CSS

  • gpui-workspace 4

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

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • gem install helios 淘宝怎么 404 了? at June 03, 2013
    $ gem install helios "0.2.3" -V
    

    看看,过程是怎么样的

  • gem install helios 淘宝怎么 404 了? at June 03, 2013

    #6 楼 @ChanceDoor gem source 看看,有什么东西

  • gem install helios 淘宝怎么 404 了? at June 03, 2013

    刚刚试了,可以安装

    ➜  ~  gem source
    *** CURRENT SOURCES ***
    
    http://ruby.taobao.org
    ➜  ~  gem install helios "0.2.3"
    Successfully installed helios-0.2.3
    
  • High performance Rails at June 03, 2013

    #9 楼 @quakewang unicorn-worker-killer 应该只是保证稳定性吧,这玩意儿用来防止意外的内存泄漏会很有帮助,哈哈哈

  • gem install helios 淘宝怎么 404 了? at June 03, 2013

    helios 版本多少?gem install helios "版本号" -V 看看

  • Mac 安装软件新方法:Homebrew-cask at June 03, 2013

    以后可以搞成可以脚本一键初始化 Mac 的软件环境了,哈哈哈

  • High performance Rails at June 03, 2013

    #7 楼 @quakewang 恩,试试

  • High performance Rails at June 03, 2013

    没看懂他们为什么在 Unicorn 里面 GC.disable,然后用 Run GC each 10 requests

  • High performance Rails at June 03, 2013
    > Banchmark.ms { Article.last(100).to_a }
    Article load (8.1ms) SELECT * FROM articles ...
    

    The query is fast enough, but creating 100 AR objects is slow

    这点提醒到了!

  • 1 at June 03, 2013

    你的头像在 Ruby China 这边上传过的,Gravatar 就不起作用了

  • Ruby on Rails 跟 Ruby 之间的关系 at June 02, 2013

    现在已经不是了

  • 一般支持多种页面布局模板的都是什么样的方案? at June 01, 2013

    自定义模版语言? 没搞过…记得 Wordpress 是让模版设计者直接在里面写 PHP 代码,里面貌似有一些 DSL

  • 需要日历插件的有福了,my97-rails 号外 at June 01, 2013

    #6 楼 @peterfei 这种做法给使用者带来了什么好处?仅仅是省去了拷贝一次 JS 文件到 vendor 文件夹而已。

    你说初学者依赖,既然都会写这个 JS 组件的调用方式了,难道人家还不知道如何拷贝文件呀!

    我不赞同是因为这样做没有任何意义。

    如果你真的希望把你在使用这个组件的经验用于帮助大家,你应该把你 usage 那段 JS 调用的东西与 Rails 或其他 Form 组件结合在一起,这才是有价值的东西

  • 请问 Ruby 下有类似于 SimpleCV 这样的视觉处理框架吗? at June 01, 2013

    https://github.com/ruby-opencv/ruby-opencv

    这个么?

  • 需要日历插件的有福了,my97-rails 号外 at June 01, 2013

    日历就用日历的名字嘛,干嘛起个 engine ... 看了一下,这个 Gem 里面就包了 JS 文件,没有其他的功能实现,这种就不要搞成 Gem 了,有点浪费 RubyGems 的资源...

  • 有人用 RubyMine 吗? at May 31, 2013

    慢

  • Rails 开发环境, Puma 跑,不停刷新,结果页面卡死了。。。 at May 30, 2013

    #9 楼 @Levan 就算用 Puma 也得打开 threadsafe 才行,另外,你可以尝试一下 Rainbows,它和 Unicorn 一样有守护进程,能同时多线程多进程

  • Rails 开发环境, Puma 跑,不停刷新,结果页面卡死了。。。 at May 30, 2013

    #6 楼 @Levan 我用下来的感觉是:Puma 省内存,Unicorn 多进程费内存,但稳定性更好,速度来说都差别不大。

  • Rails 开发环境, Puma 跑,不停刷新,结果页面卡死了。。。 at May 30, 2013

    #3 楼 @leopku 那是因为 Unicorn 是有守护进程(master)的,而 Puma 没有,一有导致崩溃的事情发生,进程就没了,Unicorn 就会自动启动

  • Rails 开发环境, Puma 跑,不停刷新,结果页面卡死了。。。 at May 30, 2013

    你有开 threadsafe 么?Rails 没开的时候你用 puma 跑的依然是单线程的 Unicorn 跑的话就是单线程

    你应该是处于单线程,单进程的状态,这个时候你每秒能响应的请求数量理论上可以这么算:

    1000ms / 40ms (动态页面的响应时间) = 25 个请求每秒

    你刷新一下还有一些 Assets 的请求耗时,所以我估计你一次刷新需要耗费的时间应该在 100ms 左右,也就是次每秒能响应的刷新是 10 次左右,一直按着刷新发出的刷新屏率应该会比 10 更多。

    至于为什么会卡死掉,这个原因我不清楚。

  • 借道请教个问题 at May 29, 2013

    这种情况,要么你等等,要么先换回官方的,过段时间再修改回来

  • 别在服务器上安装 RVM at May 29, 2013

    #22 楼 @quakewang 我也是这么搞的

  • 借道请教个问题 at May 29, 2013

    没试过,你完全没必要,直接设置 ruby.taobao.org 就好了,我们这边的产品全都是这么用的。

  • 爬虫引起的服务器日志泛滥 at May 29, 2013

    不知道有没有 Nginx 插件可以屏蔽掉这类无效的请求

  • 别在服务器上安装 RVM at May 29, 2013

    感觉唯一的坑就是 crontab 需要单独载入 RVM 环境,才能跑 rake 任务

  • pure - 来自 yahoo 的 css 框架 at May 29, 2013

    skinbuilder 不错额!

  • pure - 来自 yahoo 的 css 框架 at May 29, 2013

    那些 class 命名用起来应该比较累

  • 大家感觉这份面试题合格不? at May 29, 2013

    根据经验来看,好不好聊聊就知道,做题意义不大

  • Formtastic 比起 Rails 自带的 Form 有什么优势 at May 28, 2013

    https://github.com/justinfrench/formtastic#its-awesome-because

  • Formtastic 比起 Rails 自带的 Form 有什么优势 at May 28, 2013

    http://asciicasts.com/episodes/185-formtastic-part-2

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