Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Hooopo
@hooopo
管理员
第 8 位会员 / 2011-10-28

[email protected]
nil
北京
160 篇帖子 / 3013 条回帖
360 关注者
0 正在关注
74 收藏
聪明的妖怪录下了唐僧的紧箍咒
打赏作者
GitHub Public Repos
  • oh-my-github-circles 47

    GitHub User Circle Generator Using GitHub Actions

  • hackernews-insight 21

    Hackernews Insight using TiDB Cloud

  • repo-track-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any repository to your da...

  • oh-my-github-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any github user to your d...

  • chatgpt-xiaoai 3

    小爱音箱集成LLM,SaaS 服务

  • repo-contributor-circles 1

    GitHub repo contributor circles generator.

  • ossinsight-x 1

    Automatically post trending repos to Twitter every day.

  • mi-service 1

    XiaoMi Cloud Service for mi.com

  • hooopo 0

  • streamlit-echarts-demo 0

    Demo for Streamlit ECharts component

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • can't type chinese on mobile at 2013年05月11日

    #10 楼 @skandhas just report a bug

  • [上海][2013年5月14日] Ruby Tuesday 活动召集 at 2013年05月11日

    not a dashen...

  • can't type chinese on mobile at 2013年05月11日

    #8 楼 @blacktulip your mobile is so cool

  • can't type chinese on mobile at 2013年05月11日

    #4 楼 @bhuztez no

  • can't type chinese on mobile at 2013年05月11日

    guest can create post,bug or feature

  • can't type chinese on mobile at 2013年05月11日

    my english is toooo bad

  • [上海][2013年5月14日] Ruby Tuesday 活动召集 at 2013年05月11日

    wa

  • 忽略不感兴趣的帖子 at 2013年03月17日

    好像收不到提醒了?cc @rei

  • 跨域使用 getJSON 提交,如何避免恶意多次提交? at 2013年03月17日
    1. 跨域用 GET 提交是一种反模式,建议用 iframe 的方式整合各个组件
    2. JQuery 的 getJSON 在跨域的时候是转换成 JSONP 的,而 JSONP 在没有 CSRF token 保护的情况下是会产生 JSONP hijacking 的。
    3. GET 方法修改资源也是违背 RESTful 原则的。

    上面的和问题无关..但是恶意提交其实是业务逻辑,需要看你的业务场景了。方法很多,先校验再写入,或数据库加唯一性校验等。

  • 关于面向对象的简单思考 at 2013年03月17日

    不明觉厉

  • 你开始用 Vagrant + VMWare Fusion 了吗? at 2013年03月16日

    #5 楼 @blacktulip me too.

  • [解決] 用 Capistrano 部署, assets 的文件名對不上是怎麼回事呢... at 2013年03月14日

    要说中文也是繁体的!

  • [解決] 用 Capistrano 部署, assets 的文件名對不上是怎麼回事呢... at 2013年03月14日

    你在页面里直接引的图片路径吧?貌似用<%= image_tag "logo.png"%>

  • 使用 Go 代替 Ruby 将服务器数量从 30 降到 2 at 2013年03月14日

    而 Iron.io 有几个客户建立的硬件设施会不断的(7X24 小时)给其发送数据,为了收集和处理这些数 据,Inro.io 建立了他们自己的内部服务“worker as a service”。

    这和 Postrank 差不多嘛 可是 Postrank 却诞生了goliath

  • 使用 Go 代替 Ruby 将服务器数量从 30 降到 2 at 2013年03月14日

    #6 楼 @bhuztez 你以为编辑去哪里找资源翻译?

  • 使用 Go 代替 Ruby 将服务器数量从 30 降到 2 at 2013年03月14日

    现在这 IT 网站都喜欢雇一些编辑来翻这些无聊文章啊..

  • [已停止][上海] Ruby on Rails 程序员 (纯技术)[需有一年 开发经历] at 2013年03月14日

    看起来不错啊

  • Ruby 2.0 in Detail at 2013年03月13日

    #4 楼 @i5ting 我也不知道哇..........

  • Ruby 2.0 in Detail at 2013年03月13日

    #2 楼 @fsword bsearch 是针对排序好的进行二分查找吧?

  • Subdomain And Web Security at 2013年03月11日

    #7 楼 @bwlinux 是哇 现在帮 github 修复漏洞 帮 rails 修复漏洞。。

  • Subdomain And Web Security at 2013年03月11日

    Gihub 给了发现 Github Pages Cookie Tossing 漏洞的哥们(没错,就是用 mass assigment 漏洞黑 Github 那哥们)$500 赏金~

    Good news everyone, Github makes first steps with bounty: I received $500 for an interesting bypass of new cookie-tossing protection.

    https://twitter.com/homakov/status/311119265858195456

  • Teahour.fm 第 6 期发布 at 2013年03月11日

    #32 楼 @Saito 好吧。。

  • 如果把 Ruby China 的回帖改成 Nested 咋样? at 2013年03月11日

    try it.

  • Teahour.fm 第 6 期发布 at 2013年03月11日

    #30 楼 @Saito 说话蛮正常的 ..

  • Teahour.fm 第 6 期发布 at 2013年03月11日

    @Saito 同学说话风格和文字差别很大...

  • 山理工 Ruby Gem 镜像源上线 at 2013年03月10日

    good

  • Rails 2.3 的开发 git 库在哪里? at 2013年03月09日

    #7 楼 @leomao10 u r right.

  • Web 应用的缓存设计模式 at 2013年03月08日

    #17 楼 @bhuztez

    从理论上讲,一个 web 系统可以做缓存优化的地方太多了。而你单揪着SELECT *不放一点意思也没有,况且,那是个费力未必讨好的活儿。

    pro tip:

    If you really want to make a point about the performance of a particular thing, can you at least pretend you're using science?
    
  • Web 应用的缓存设计模式 at 2013年03月08日

    #14 楼 @bhuztez

    1. 又扯SELECT *.. http://ruby-china.org/topics/5695
    2. 你说的对, 1 + 1是可以解决问题的,就是 Rails 推荐的标准做法Eager Loading,把另一条转化成一个 IN 查询。但是这种 IN 查询在应用层是不容易缓存的。结果是这种 IN 查询每次都 Hit DB。而N + 1的 N 条查询每条是简单的主键查询,不用任何额外的维护,利用现有的插件就可以维护缓存的一致性。
  • 上一页
  • 1
  • 2
  • …
  • 60
  • 61
  • 62
  • 63
  • 64
  • …
  • 108
  • 109
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English