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
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 今天星期六地铁上面的帅哥都好养眼啦! at 2013年07月27日

    hi

  • 论坛里面谁是最最活跃的人 at 2013年07月26日

    guest 是个 bug

  • 2 天的 Code School 免费名额,请大家猛击~!! at 2013年07月26日

    #5 楼 @whitecrow #4 楼 @linktoming

    囧...

  • 2 天的 Code School 免费名额,请大家猛击~!! at 2013年07月26日

    http://go.codeschool.com/5QoK-w 这个能干什么?

  • 为什么 Rails 在国内 这么多年,还是不火呢? at 2013年07月25日

    #37 楼 @bhuztez 惭愧

  • 为什么 Rails 在国内 这么多年,还是不火呢? at 2013年07月25日

    #35 楼 @bhuztez 学了,没学会..

  • 咨询一下这个怎么建模 at 2013年07月24日

    用关系型数据库做很简单的样子..

  • 重写 Json Presenter,是用 rabl, jbuilder 这一类好,还是 AMS 这一类好 at 2013年07月22日

    https://twitter.com/steveklabnik/status/246920008658190337 Interesting

  • 最近工作很累,然后今天去游泳了,结果。。。 at 2013年07月21日

    一定是没吃饭

  • 网站图片设置防盗链,但邮件需要引用图片 at 2013年07月21日

    #3 楼 @luikore 用 Gmail 试了一下The MIME Multipart/Related Content-type,是可以的。

    MIME-Version: 1.0
    Received: by 10.49.25.111 with HTTP; Sun, 21 Jul 2013 06:04:08 -0700 (PDT)
    Date: Sun, 21 Jul 2013 21:04:08 +0800
    Delivered-To: [email protected]
    Message-ID: <CAGs8XeBOY2pp3Pfi8Ov65ESksuF8fWs9RojByvr-yVfAoLj+KA@mail.gmail.com>
    Subject: test inline image
    From: Hooopo <[email protected]>
    To: Hooopo <[email protected]>
    Content-Type: multipart/related; boundary=047d7b6dbfa8fa57c904e205315e
    
    --047d7b6dbfa8fa57c904e205315e
    Content-Type: multipart/alternative; boundary=047d7b6dbfa8fa57c404e205315d
    
    --047d7b6dbfa8fa57c404e205315d
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: base64
    
    aGVsbG8NCltpbWFnZTog5YaF5bWM5Zu+54mHIDFdDQp3b3JsZA0K
    --047d7b6dbfa8fa57c404e205315d
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable
    
    <div dir=3D"ltr">hello<div><img src=3D"cid:ii_140015414053f409" alt=3D"=E5=
    =86=85=E5=B5=8C=E5=9B=BE=E7=89=87 1"><br></div><div>world</div></div>
    
    --047d7b6dbfa8fa57c404e205315d--
    --047d7b6dbfa8fa57c904e205315e
    Content-Type: image/png; name="63cd65c79f0d13139c94215a1ea9de51.png"
    Content-Transfer-Encoding: base64
    Content-ID: <ii_140015414053f409>
    X-Attachment-Id: ii_140015414053f409
    
    iVBORw0KGgoAAAANSUhEUgAAAaQAAAGkCAYAAAB+TFE1AAAgAElEQVR42uy9Z3NlR5IlePyqp/AA
    pGCSLNHVPS3Gdj+t7f//vmbzdXarp7sURSaZCWRCP3FV+H64KsLd4z5wuqtIthFmSWYCD1eEh3A/
    fvw4OVcxwAAIRMDwd+bp793/AaLp78zdv6fPYbwGM/efnf7O/UeIGMwEouHaw9d0r+7n/u9O95+u
    E16b/Ev19x2u391zen7/+tP70fhsAPc/n8ak+758VnjvMY3L9Hw0ft4fq+5n8O6JYPyHf/v3Ga7p
    f0/biAJbyJ+F74zABsNzT/fSdprsOsyR8F7kGSF8NnltmPf0xyk2FuEcZWPOSVuFYzfYN5xP/oPI
    cefI/TFzHzkP9Hta95o+a9nduk44buHcCNdOODeg3k8+Z/w95NjocYvvAfZ88O8ZfkY+G5+wUfic
    ...
    

  • 网站图片设置防盗链,但邮件需要引用图片 at 2013年07月21日

    #1 楼 @luikore 有些客户端会不显示:http://www.campaignmonitor.com/blog/post/1759/embedding-images-revisited

    attachment 是不是只会显示在邮件底部?

  • 为什么写 ruby 的都喜欢 Mac?? at 2013年07月21日

    #5 楼 @blacktulip ubuntu,thx

  • 听说 Struts 出大事了.. at 2013年07月17日

    #2 楼 @bhuztez 今天的吧:http://www.admin5.com/article/20130717/515130.shtml

  • 接触 ruby 不久,看代码一些地方看不明,不知这边的高手能帮一把么? at 2013年07月17日

    #32 楼 @w_jie 我错了

  • 有在 AR 里用过 CTI 的没 at 2013年07月17日

    #11 楼 @luikore 我想实体表最大的问题是如果实体表再 has_many 其他实体的时候,就需要引人多态了。 如果使用实体表继承,comments 或者要分两个表存成 issue_comments 和 pull_reuqest_comments,或者使用多态(多的空间在这里..)。

    但是用单表和类表是很自然的事情。

    class Issue < AR::Base
      has_many :comments
      has_many :watches
    end
    
    class PullRequest < AR::Base
      has_many :comments
      has_many :watches
    end
    
  • 有在 AR 里用过 CTI 的没 at 2013年07月16日

    #7 楼 @luikore 仔细算了一下,是实体表继承占用的空间少.. 遍历四个表的结果不难,难在排序/分页之类。 N + 1 在 Rails 里不是大问题,因为做 Eager Loading 很容易。

  • DSL for defining before_filters's dependencies like rake tasks at 2013年07月16日

    话说,这种可有可无的轮子越多,项目的复杂度越大。

  • 有在 AR 里用过 CTI 的没 at 2013年07月16日

    #4 楼 @luikore 你说这种叫实体表继承? 缺点:

    • 在基表添加字段麻烦
    • 空间占用多
    • 实现“遍历所有 Player”这种需求就困难了(在单表继承和类表继承里很容易)
  • 有在 AR 里用过 CTI 的没 at 2013年07月16日

    #1 楼 @luikore 我感觉类表继承比单表继承应用场景更多,但是 Rails 默认支持的却是单表继承。

  • 初级小鸟,关于调试问题再来请教各位前辈 at 2013年07月15日

    #21 楼 @w_jie 你的问题太多了..

  • 初级小鸟,关于调试问题再来请教各位前辈 at 2013年07月15日

    应该加个节点叫“十万个为什么”

  • 初级小鸟,关于调试问题再来请教各位前辈 at 2013年07月15日

    #7 楼 @luikore 仔细想想 堵住比异常可怕!

  • 初级小鸟,关于调试问题再来请教各位前辈 at 2013年07月15日

    #5 楼 @luikore 有一次插完忘记拔出来了..

  • Linner, 一个 HTML5 应用打包器. at 2013年07月15日

    #11 楼 @Saito 我是看名字类似,,都是 line 系列的

  • Linner, 一个 HTML5 应用打包器. at 2013年07月15日

    和这个类似? https://github.com/testdouble/lineman

  • 搞测试开发的,怎么都在用 python,很少有用 ruby 的呢 at 2013年07月14日

    人看不到自己看不到的地方。

  • Teahour.fm 第 22 期号外篇发布, 技术人员创业经验分享 at 2013年07月14日

    #8 楼 @keating 啊?真的不是我...可能 kgen 同学记错了~

    1. 我给坐标轴投过简历,收到过面试通知,那个时候还是学生,觉得太远了,买不起火车票,就没去 ^_^
    2. 被论坛里好多同志面试过,我一直是被鄙视的角色,没有"Hold 不住"这么一说..
  • 上一页
  • 1
  • 2
  • …
  • 54
  • 55
  • 56
  • 57
  • 58
  • …
  • 108
  • 109
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English