Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
2622
@jjym
VIP
NO. 2622 / 2012-06-22

[email protected]
上海
26 Topics / 1077 Replies
24 Followers
0 Following
118 Favorites
GitHub Public Repos
  • hdwallet 34

    HD wallet BIP-32 related key derivation utilities.

  • buddy-alloc 31

    Buddy-alloc is a memory allocator for no-std Rust, used for embedded environments.

  • minimal-ray-tracer-zig 2

  • godwoken 1

  • ckb-std 1

    This library contains serveral modules that could help you write CKB contract with Rust.

  • fiber-autopilot 0

  • ckb-cli 0

    CKB command line interface

  • vulkan-tutorial-c 0

    Learn https://vulkan-tutorial.com/Introduction with C

  • test-bincode 0

  • force-bridge 0

    General Force Bridge components.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Ruby 文档里的 option 项去哪里看? at October 06, 2012

    The options parameter can be anything ::new understands. This method also understands an additional :encoding parameter that you can use to specify the Encoding of the data in the file to be read.

    你看的不仔细

  • Ruby 文档里的 option 项去哪里看? at October 06, 2012

    你用的什么文档?我的文档里没有你描述的这个方法

  • 你们的编辑器背景是什么 at October 05, 2012

    墨绿色 + 白色字体

  • Google Chrome DevTool 的 Network 那两条红蓝线代表什么? at October 05, 2012

    #2 楼 @happypeter 支持.. 一直不知道这些是干嘛的...

  • 来自 37signals 的 3 个 Rails console 技巧 at October 05, 2012

    只知道第三个!! 每次前两个还要 logger 下...顶了

    另外 Method 还有 owner 方法也挺有用的

  • 有条件,就换 Mac at October 05, 2012

    嗯嗯 楼主说的对。不过屌丝表示压力很大

  • 关于 “0 基础” at October 04, 2012

    @gaicitadie 学 rails 当然要先学 ruby,因为你在 rails 中写的每一行都是 ruby 代码,而用 ruby 基本不会涉及 c

  • ruby thread deadlock detected at October 04, 2012

    因为你 join 一个 stop 的线程了。 注意你的输出 你 wakeup 的时候线程还没有停止 所以之后你 join 等待线程。再之后这个线程 stop 了,当然死锁 在你 wakeup 前 sleep 几秒等线程执行到 stop 就正常了

  • MS 出了个 typescript at October 03, 2012

    感觉这个有搞头,和 coffee 之类的相比这个学习成本低,估计很多人会去用

  • [北京][2012年10月21日] Ruby 活动 有机械键盘、鼠标垫、卫衣等礼品 at October 02, 2012

    支持...这次我要带伞

  • 北京有人定期组织 Tuesday 么? at October 02, 2012

    每逢下雨都会组织

  • 唉…… at September 29, 2012

    LZ 来告诉大家了..真好

  • Rails 4 台风即将来袭,请查看安全手册 at September 29, 2012

    #8 楼 @quakewang 前者 turbolink 留出了几个接口。 后者可以和 rails 一样比下 css,js 后边一坨就行,不一样就刷新页面。

  • 为什么 caller 方法在脚本中不返回任何东西呢? at September 29, 2012

    irb 会自动输出返回值的 inspect 到 stdout。脚本里你要自己 puts

  • sql 查询结果,字段名的参数化 at September 29, 2012

    r.attributes

  • Rails 中是否存在 12306 的 SQL Injection 问题? at September 28, 2012

    #3 楼 @QueXuQ 这两个也是?占位吧。。

  • 号召贴:帝都组队学习 ROR at September 26, 2012

    !!! 强烈支持

  • 3 亿的 12306.cn 你说用 Rails 多少能搞定? at September 24, 2012

    @hlxwell @reye888 我能想到排队的合理性是一定程度上能防止代买火车票。当然其实排队这个并不是很合理..

  • SQL 通配符真的很糟糕么 at September 23, 2012

    select a,b from … 比 select a,b,c from … 可以让数据库访问更少的数据量 靠,这个误解真大了。。我相信 9.5 成人都会这样认为吧

    不过加载到 Ruby 里的数据还是越少越好吧

  • SQL 通配符真的很糟糕么 at September 23, 2012

    #6 楼 @hooopo 靠,上课就记住这几条..还是错的。。 好文章,收藏

  • SQL 通配符真的很糟糕么 at September 23, 2012

    #4 楼 @hooopo 据老码农说是这样的..因为不必检测所有字段,我自己是没试验过..周一去公司试下

  • SQL 通配符真的很糟糕么 at September 23, 2012

    #2 楼 @hooopo 我的意思是 count 方法应该默认生成select count(1) from xxx而不是 count(*)。毕竟不是所有的 model 都需要 counter_cache

  • SQL 通配符真的很糟糕么 at September 23, 2012

    这个倒没啥,感觉 count 的默认应该改成 1 或 0 什么的

  • 关于学习 Ruby 的一些问题 at September 20, 2012

    #56 楼 @xiaolai 支持这个功能,人品低的用户字体自动变小!

  • 如何初始化一个二维数组? at September 20, 2012

    #23 楼 @jasl 差不多的。。你这也是先建立 [0] 再建立 [0,...] 的,一共俩数组

  • 关于学习 Ruby 的一些问题 at September 20, 2012

    #21 楼 @bhuztez 看不懂你什么意思,改数据库为啥不生成 migrate?想改回来直接 rollback 就 OK 为啥非要直接改数据库

  • Ruby on Rails Tutorial 的疑问:Sign out 沒有用 DELETE 方法也可以? at September 20, 2012

    这个和安全性无关... RESTFul 就是动作 (4 种动词的请求) + 资源 主要是设计路由的

  • 如何初始化一个二维数组? at September 20, 2012

    #19 楼 @jasl 其实你这 [0] * 8 和 to_a 差不多了已经..

  • 请问做出一个我们这个社区这样的 app,JavaScript 大概要学到什么程度? at September 20, 2012

    靠,有 qian 途!

  • 请问做出一个我们这个社区这样的 app,JavaScript 大概要学到什么程度? at September 20, 2012

    学 js 就行了,coffee 等熟悉了再说吧

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