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 1410

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

  • rails-settings-cached 1101

    Global settings for your Rails application.

  • rucaptcha 696

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

  • zed-theme-macos-classic 95

    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 19

    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-workspace 4

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

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at February 09, 2017

    #19 楼 @phun 哦,那看起来最后大家都是想到一块儿了,中间表结构的思路都是差不多的。 😄

    Controller, View Helper 没做,因为实际情况(例如 Ruby China 的场景)可能在 like_xxx 的过程有其他动作(创建通知,Event 之类的),所以就没有像其他 rails-engine 里面的 Gem 那样把整个链路给实现。

  • 心痒痒之二用 Vue.js 写的 Ruby China 山寨版 at February 08, 2017

    反正你最后也只会做一半放弃的

  • 心痒痒之二用 Vue.js 写的 Ruby China 山寨版 at February 08, 2017

    #7 楼 @u1452261116

    http://react-homeland.herokuapp.com/

    演示 OAuth 2 登录 Ruby China

  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at February 08, 2017

    #17 楼 @cao7113 😄 以后不要等我,Just do it!

  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at February 08, 2017

    #12 楼 @cao7113 #14 楼 @phun

    你们的做法也是这样吗?发出来探讨一下

  • 2017 年想实现 Web 内的聊天,用什么技术方案比较好? at February 08, 2017

    AnyCable looks lovely and it'll be interesting to follow the new Rack specification. But Action Cable should work out-of-the-box with no additional servers or setups required beyond Puma. If there are options available that fulfill that criteria and are drop-in replacements, awesome, let's look at that. Also happy to accommodate whatever AnyCable might need, but haven't seen any requests.

    So let's wait to see some real approaches that need the existing server extracted before we venture down that path.

    Whatever benchmarks that were done against 5.0.0 should take another go against 5.0.1. Tons of Action Cable fixes for both performance and stability. But regardless of what that changes, the overall story will remain the same. Ruby is never going to win any Hello World shoot-out against C++ or microframeworks. That's as true for a regular 200 OK request as it is for a websockets connection. That doesn't mean we shouldn't seek to improve performance, and options like AnyCable might do so dramatically, just that we should have realistic expectations of where things go.

    For Basecamp 3, which Action Cable was developed for and extracted from, our main issue has been less raw websocket performance and more just doing the work that is needed across that wire. Kinda like how doing 2,000 req/sec on a "Hello World" 200 OK is a bit irrelevant compared to building a real app. It's extremely unlikely that the overhead of your underlying server is going to be the bottleneck. It's more likely to be your application logic.

    All depends on your use case, of course. And happy to see others push the performance of Action Cable further. As-is, it's plenty good enough to run a major app like Basecamp 3.

    by @dhh

    https://groups.google.com/d/msg/rubyonrails-core/PSbhfZ2LCWo/XQAnkP2CEQAJ

  • RTesseract 图像英文识别遇到问题 at February 08, 2017

    验证码就是故意那么做,防读取的啊

  • 这属于没受到尊重吗? at February 08, 2017

    有一下几种可能

    1. 别人或许收到了很多,没法一一回复,你想多了
    2. 也许别人要求写在哪里,你没符合要求,却投简历过去,浪费了别人阅读时间,你说别人还会不会答复你?
    3. 如果连电话都没有来,说明对方压根对你不感兴趣(当然也有可能看漏了邮件)

    所以,还是不要想太多了,对方不要你也不一定说明你不行,而是你不是他们想要的而已。

  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at February 08, 2017

    #7 楼 @kikyous 可以的

  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at February 08, 2017

    #5 楼 @kikyous 补了

  • 在 has_many 后是否要有 dependent? at February 07, 2017

    看情况,有时候不要关联删除比较好

  • 访问论坛出现 '503 Service Temporarily Unavailable'错误 at February 07, 2017

    #6 楼 @jasonZYJ 今天的日志里面只有这两条

  • 访问论坛出现 '503 Service Temporarily Unavailable'错误 at February 07, 2017

    #4 楼 @jasonZYJ

    01.80.173.136 - - [07/Feb/2017:09:00:50 +0800] "GET /notifications HTTP/2.0" 200 4569 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/603.1.20 (KHTML, like Gecko) turbolinks-app, ruby-china, official, iOS, version:2.1.3" 0.564 0.564 .
    101.80.173.136 - - [07/Feb/2017:09:00:54 +0800] "GET /api/v3/notifications/unread_count HTTP/2.0" 200 768 "-" "Ruby China/2.1.3 (org.ruby-china.app; build:53; iOS 10.3.0) Alamofire/4.2.0" 0.013 0.013 .
    

    这个 IP 是你的 iOS 访问的,我要的是你说访问不了的 IP 地址

  • 访问论坛出现 '503 Service Temporarily Unavailable'错误 at February 07, 2017

    告诉我你无法访问的 IP,打开 ip.cn 查看

  • 访问论坛出现 '503 Service Temporarily Unavailable'错误 at February 06, 2017

    一直是这样么?

  • push rubygems.org error at February 06, 2017
    1. 搞测试就别 push 到 rubygems.org 了,浪费公共资源。
    2. 真正的问题是,你不应该配置 spec.metadata['allowed_push_host'],http:// 可能被认为不安全,给拒绝了
  • 公司员工项目工作日志填报系统有没有免费开源的? at February 06, 2017

    赶紧申请用 @poshboytl 他们公司的 https://zhiren.com https://tower.im 服务

  • macOS 里面 DYLD_LIBRARY_PATH 这个环境变量你们能设置吗 at February 06, 2017

    估计那里有 unset DYLD_LIBRARY_PATH

  • 公司员工项目工作日志填报系统有没有免费开源的? at February 06, 2017

    GitLab 就可以了,提交 Issue,我们用来交周报

  • GitLab 可以在 Windows 上安装吗? at February 05, 2017

    不能

  • macOS 里面 DYLD_LIBRARY_PATH 这个环境变量你们能设置吗 at February 03, 2017

    好像是不行,echo 可以,env 或者 irb 里面用 ENV["DYLD_LIBRARY_PATH"] 都没有

  • macOS 里面 DYLD_LIBRARY_PATH 这个环境变量你们能设置吗 at February 03, 2017

  • macOS 里面 DYLD_LIBRARY_PATH 这个环境变量你们能设置吗 at February 03, 2017
    source ~/.bash_profile
    

    这个做了没?

    或者尝试:

    export DYLD_LIBRARY_PATH=123
    echo $DYLD_LIBRARY_PATH
    
  • RuCaptcha 2.0.0 验证码 Gem 发布,不需要依赖 ImageMagick 啦! at February 03, 2017

    #14 楼 @leiz_me 需要 mocha

  • RuCaptcha 2.0.0 验证码 Gem 发布,不需要依赖 ImageMagick 啦! at January 26, 2017

    #10 楼 @helapu 核心那段 C 也不是我写的,我只是找到个好方案,适当封装了一下,便于使用

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