Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@skandhas
VIP
NO. 146 / 2011-11-21

沈阳
25 Topics / 952 Replies
49 Followers
8 Following
436 Favorites
看吧,看吧。俺继续睡 z z Z Z
GitHub Public Repos
  • cstruct 18

    CStruct is a simulation of the C language's struct.Its main purpose is to manipulate binary-data ...

  • mruby 1

    Lightweight Ruby

  • papers 1

    my open papers

  • IsoVoxel 1

    Generates isometric pixel art from MagicaVoxel .vox files

  • node-canvas 1

    Node canvas is a Cairo backed Canvas implementation for NodeJS.

  • elvm 0

    EsoLangVM Compiler Infrastructure

  • kilo 0

    A text editor in less than 1000 LOC with syntax highlight and search.

  • picasso 0

    Picasso is a high quality vector graphic rendering library. It support path , matrix , gradient ,...

  • lib-bpmn-engine 0

    A BPMN engine, meant to be embedded in Go applications with minimal hurdles, and a pleasant devel...

  • WProtect 0

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Ruby 移动开发? at May 02, 2012

    #5 楼 @fahchen mruby 现在为时过早~~。

  • Ruby 移动开发? at May 02, 2012

    非 native的方案,现在来看,html/css/js 占的比重较大。

  • Ruby 移动开发? at May 02, 2012

    Android 有个 ruboto,不知道用的人多不多? http://ruboto.org/ http://www.ibm.com/developerworks/web/library/wa-ruby/index.html

  • 吐槽新 logo at May 02, 2012

    我觉得新 logo 还是挺好的:)

  • 一段摘自网络的文章, 通篇讲了两个很难很难的字, 深有感触, 不解释. at April 29, 2012

    @zw963 感谢主席转的好文~

    唐末五代的永明寿禅师在他的著作《宗镜录》里有这么一句话: 百川虽润,何妨大海广含。五岳自高,不碍太阳普照。 用在这里做“接纳”的注解,还是很贴切的。

  • 找个技术合伙人组队 at April 28, 2012

    #35 楼 @zw963 主席啊,我是躺着也中枪 O_o 哈哈 @FrozenDoggy 在 Rails 和 web 方面,我在这个领域的火候还远远不够,现在还没有达到楼主的要求:) 咱们论坛里有很多牛人和高手,希望楼主能找到合适的合作伙伴。

  • Rails 个人项目的美工设计一般是如何做的? at April 27, 2012

    是这个帖子吗? http://grokcode.com/746/dear-python-why-are-you-so-ugly/

  • 有个项目 必须 Windows 桌面想用 GVim + IronRuby, 有陷阱吗? at April 27, 2012

    #9 楼 @sharp 多个选择总是好的 :)

    IronRuby 特别适合对.Net Framework 比较熟悉,而且也想用 Ruby 的团队。 主要是 IronRuby 可以无缝的使用.Net Framework 提供的丰富的功能。这样的话,团队的.Net 的开发经验也可以用的上。

    对了~ IronRuby 项目的状态一直也没关注。楼主还是多了解一下吧。我当时使用 IronRuby 时,是兼容 1.8 的。现在应该是兼容 1.9 了吧。

  • 问个冷门点滴,重构那些事 at April 27, 2012

    #20 楼 @hooopo +1. 如果重构后,代码的可读性大大降低的话,那是不可取的。

  • 有个项目 必须 Windows 桌面想用 GVim + IronRuby, 有陷阱吗? at April 27, 2012

    #6 楼 @alvin2ye 呵呵 那是两年前写的,现在也一直没关注 SharpDevelop 了。当时是 SharpDevelop 宣布支持 IronRuby 和 IronPython 时,才开始用了一下:)

  • 有个项目 必须 Windows 桌面想用 GVim + IronRuby, 有陷阱吗? at April 26, 2012

    IronRuby + SharpDevelop 是可以使用 GUI Designer 的。 http://w-yong.com/article.asp?id=10

    GUI 布局弄好以后,至于用什么编辑器,喜好什么就用什么呗。

    这是用 IronRuby 写的一个进程管理器: http://w-yong.com/article.asp?id=18

  • 问个冷门点滴,重构那些事 at April 26, 2012

    在 Ruby1.9.x 写的:

    module Ex
      module User
        BASIC  = 1
        TRADE  = 2
        LATEST = 3
        LIKE   = 4
        GENE   =5
      end
    end
    
    class MyClass
      def initialize
        Ex::User::constants.each do |constant|
          instance_variable_set(:"@#{constant.downcase}",
                                Ex::User.const_get(constant))
        end
      end
    end
    
    t = MyClass.new
    p t.instance_variables # [:@basic, :@trade, :@latest, :@like, :@gene]
    
    
    
    
    
    

    Ruby 1.8 的 Symbol 没有 upcase 和 downcase 方法,你可以先把 symbol 转成 string 再 downcase. 除了 instance_variable_set,也可以用 eval 一族的方法来做这个。

  • Ruby 的代码块和 Javascript 的回调函数有哪些共性与区别? at April 26, 2012

    上例的 hello_method 只能绑定 A 的实例。下面可以绑定任何对象。

    def hello
      p "#{self}:hello"
    end
    
    um_hello =  method(:hello).unbind
    
    um_hello.bind("ruby").call
    um_hello.bind(1234).call
    um_hello.bind(Object).call
    
    

    这样例子是画蛇添足。实际上直接"ruby".send(:hello) 调用即可。这个例子只是来模拟可以动态绑定某个对象然后进行调用而已。

  • Ruby 的代码块和 Javascript 的回调函数有哪些共性与区别? at April 26, 2012

    #5 楼 @aNdReW_Qx Ruby 中的 UnboundMethod 可以指定调用的对象。与之类似。

    class A
      def hello
        p "#{self}:hello"
      end
    end  
    
    hello_method = A.instance_method(:hello)
    
    hello_method.bind(A.new).call    #  -> "#<A:0x1e4d298>:hello"
    hello_method.bind(A.new).call    #  -> "#<A:0x1ec5e50>:hello"
    hello_method.bind(A.new).call    #  -> "#<A:0x1f095c0>:hello"
    
    
    
    

    bind 方法返回了一个 Method 对象。

  • Railsconf 2012 - 國際性 Conference 是這樣辦的 at April 26, 2012

    Thx! 没被墙啊~ 我这里能直接访问http://blog.xdite.net

  • rubychina 最近咋感觉好慢啊 at April 24, 2012

    #29 楼 @kewin 通过回复来看~ 确实是慢 o_O

  • [北京] 招聘 rails 开发人员 at April 24, 2012

    -_-!!! 这薪资~ 估计不会有同学动心~ 。

  • ruby 可以骇客么? at April 24, 2012

    这是 Metasploit 团队写的为什么选择 Ruby 的理由,可以参考一下。 http://dev.metasploit.com/redmine/projects/framework/wiki/DeveloperGuide#11-Why-Ruby

    Ruby 能做的事情很多,只是大家先入为主的认为 Ruby 只能用于 Web。

  • ruby 可以骇客么? at April 24, 2012

    怎么不可以? "能" 或者 "不能" 是取决于你~ 而不是取决于什么语言:)

    著名的安全漏洞检测工具 Metasploit Framework 就是用 Ruby 写的。最初使用 Perl,然后用 Ruby 完全重写。

    主页 http://www.metasploit.com/

    framework 的源码: http://www.metasploit.com/development/ http://dev.metasploit.com/redmine/projects/framework/repository

    还有本书: http://product.china-pub.com/198995

  • Ruby China T 恤第二期的赠送名单公布 at April 23, 2012

    #49 楼 @Desert 大哥 您在报名的帖子里都是第 83 楼了 :)

  • 一个提议 at April 23, 2012

    支持!

  • Ruby China T 恤第二期的赠送名单公布 at April 23, 2012

    #39 楼 @huyong36 呵呵 那得需要单独下单购买了 :)

  • Ruby China T 恤第二期的赠送名单公布 at April 22, 2012

    #1 楼 @doitian 呵呵~ 他确实是用这个 mail 来报名的。

  • Ruby China T 恤第二期报名活动开始啦![已结束] at April 22, 2012

    哈哈 让大家久等了。名单已经出来了,我再核实一遍,然后就发出来。:)

  • 请教个 Ruby 的基础问题 at April 21, 2012

    Class 是把 module_function 给 undef 掉了。

  • mruby + iOS = Super awesome! at April 21, 2012

    #2 楼 @hhuai mini java 这个不错啊~。你们自己做的吗?厉害:) mruby 可以给开发者另一种选择。对于喜欢 ruby 又想在其程序内嵌入脚本引擎的开发者来说,应该很合适!

  • 说一下 Ruby China T 恤发货情况 at April 21, 2012

    #9 楼 @saberma 哎呀~ 晚了。已经成家了......

  • mruby 发布了 at April 20, 2012

    #4 楼 @ashchan 恩 是啊~ 我也是对 mruby 很有信心!而且 mruby 的开发目标也很明确,让人放心 :)

  • mruby 发布了 at April 20, 2012

    MobiRuby 和 mruby 不是一个概念。 mruby 是轻量级的 ruby 实现。而 MobiRuby 则是使用了 mruby,另外做了些对 Cocoa 框架的桥接。现在 MobiRuby 的源码没有放出。mruby 的源码已经放出来了。

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