Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
bhuztez
@bhuztez
高级会员
第 1569 位会员 / 2012-03-24

40 篇帖子 / 2614 条回帖
105 关注者
0 正在关注
0 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 异步 IO 在 EventMachine 和 NodeJS 的写法对比 at 2013年05月17日

    #19 楼 @luikore http://ruby-china.org/topics/7732

    Erlang -> Core Erlang -> BEAM bytecode

    parse_transform 就可以了

    Forms 就是啦

    其实完全没必要的,你可以直接写个 Parser 生成 CoreErlang 或者 BEAM 的

  • 异步 IO 在 EventMachine 和 NodeJS 的写法对比 at 2013年05月17日

    #14 楼 @luikore Erlang 也可以 do notation 的...

    https://github.com/rabbitmq/erlando

  • 异步 IO 在 EventMachine 和 NodeJS 的写法对比 at 2013年05月17日

    #11 楼 @luikore

    There is no clear winner in the duel. I prefer Haskell, but I am biased and believe in static typing. Yet I like programming in Erlang - both languages are good from different perspectives.

    http://jlouisramblings.blogspot.com/2010/04/haskell-vs-erlang-for-bittorent-clients.html

    After 2 months of tuning on and off I went back to Erlang Unoptimized Erlang version as fast as Combinatorrent in practice

    http://www.erlang-factory.com/upload/presentations/658/jlouis-euc-2012.pdf‎

  • 异步 IO 在 EventMachine 和 NodeJS 的写法对比 at 2013年05月17日

    #9 楼 @luikore Erlang 啊...

  • 异步 IO 在 EventMachine 和 NodeJS 的写法对比 at 2013年05月17日

    #6 楼 @luikore

    https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Iterators_and_Generators#Generators.3A_a_better_way_to_build_Iterators

    coroutine 是可以,但是,作为浏览器回调函数感觉会很费解

  • 异步 IO 在 EventMachine 和 NodeJS 的写法对比 at 2013年05月17日

    根本就不需要什么老赵那个坑爹的 wind.js,JavaScript 本来就能yield的啊,只是 V8 不支持罢了

  • Working With Unix Processes for Rubyist at 2013年05月16日

    #16 楼 @hooopo

    http://man7.org/tlpi/code/online/all_files_by_chapter.html

  • Working With Unix Processes for Rubyist at 2013年05月16日

    目测没什么要看的

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #52 楼 @ShiningRay 不管你信不信,反正我现在就在用 Python 开发 Web 界面,我就是不用 JavaScript...

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #49 楼 @krazy http://dachary.org/?p=173

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #48 楼 @ShiningRay 严重怀疑他们想的是前后端用相同的 pattern 来干活

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #47 楼 @ShiningRay cometd 在 Node.js 出来之前就可以了 ...

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #45 楼 @ShiningRay 语言本身就不显然比之前的异步框架支持的语言更好,用 Node.js 做东西既不 quick 又 dirty ...

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #41 楼 @krazy 不管你信不信,反正我现在就在用 Python 开发 Web 界面...

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #36 楼 @xieren58 JavaScript 一个都杀不了。写 Web 界面,还得整天操心浏览器兼容性,这个语法特性这个浏览器不支持,那个 DOM 属性那个浏览器访问的时候有坑,恶心死了。后端就更别提了,这个库的 binding 没有,那个库的 binding 也没有,都得自己写啊。还有,客户端咋办?

    目测,目前想用只一种语言通杀还只有 Python ...

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #25 楼 @hooopo 不知道幕后黑手是谁,完全不该火的啊...

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #29 楼 @jiyinyiyong Node.js 有屁个开发效率...

    即便是异步框架内部 (Emacs,Tcl,Perl/POE,Python/Twisted,Ruby/EventMachine ...),你说哪个不能完爆 Node.js?

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #28 楼 @hooopo 不记得了,之后我就把所有和 Node.js 有关的东西都删了。

    目测 http://cnodejs.org/ 还是那风格

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #25 楼 @hooopo 没比我早啊 ... 时间上,在你发的那帖 10 天之后,我就再也没碰过 Node.js 了

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月16日

    #22 楼 @JacksonTian

    别扯了,Node.js 就是坑爹货。异步逻辑本来就很恶心,Node.js 又不是第一个异步框架,而且比之前的异步框架都更难用。就异步框架里面,你说 Emacs,Tcl,Perl/POE,Python/Twisted,Ruby/EventMachine,渣渣的 Node.js 比得过哪个?

    我觉得在这里你也找不出几个比我更早折腾 Node.js 的了,我开始折腾 Node.js 的时候,Node.js 的版本号才刚刚 0.1.x。

  • 如何解码 GB2312 字符串? at 2013年05月15日

    #6 楼 @youseke

    Subject: =?GB2312?B?xxxxxxxxxxx?= =?utf-8?q?xxxxxxxxxxxx?=
    
  • 我的一位老师说网络开发技术只有 Windows 的 DAO COM 和 J2EE at 2013年05月15日

    #56 楼 @fsword http://ruby-china.org/topics/10822

    Recruit programmers who

    • can show that they are productive
    • want to learn new technology and tools
    • and have the right “mindset”

    There are three types of people:

    1. People who effortlessly learn to program and don’t need any formal education
    2. People who can be taught to program
    3. People who haven’t a clue what it is all about and never will be able to write a significant program
    4. The third group is by far the largest!

    The only safe way to determine a person’s programming ability is by observing the person’s programming performance in practice

    http://www.erlang-factory.com/conference/London2012/speakers/MikeWilliams

  • 如何解码 GB2312 字符串? at 2013年05月15日

    #4 楼 @luikore 你那不是自带的库吧...

  • 如何解码 GB2312 字符串? at 2013年05月14日

    #1 楼 @luikore 你那样不科学,header 里其实可以不同编码混合乱来的

  • 如何解码 GB2312 字符串? at 2013年05月14日
    
    >>> from email.header import decode_header
    >>> for s, c in decode_header("=?GB2312?B?NS4xMiC98czs0ru149KysrvApw==?="):
    ...     print s.decode(c)
    ...
    5.12 今天一点也不困
    >>> 
    
  • 我的一位老师说网络开发技术只有 Windows 的 DAO COM 和 J2EE at 2013年05月14日

    #51 楼 @fsword 这个只是拼人品吧...

  • 麻烦推荐一些兼容 IE 6 的前端框架 at 2013年05月14日

    #20 楼 @mozillazg 其实,只需要兼容 IE6-9 问题不是太大,大不了就不支持别的浏览器么

  • 我的一位老师说网络开发技术只有 Windows 的 DAO COM 和 J2EE at 2013年05月14日

    #44 楼 @fsword 不准查任何东西,你也说不清楚吧

  • 数据库字段 not null 而 表单没有字段项的情况下如何处理 at 2013年05月14日

    #1 楼 @jjym 难道你用的是 Oracle? 只有 Oracle 默认行为才是NULL和""是一样的

  • [杭州][2013年5月16日] Ruby Tuesday 活动召集 - 朴灵讲 nodejs at 2013年05月14日

    #11 楼 @ChanceDoor 你竟然还要问为什么...

  • 上一页
  • 1
  • 2
  • …
  • 46
  • 47
  • 48
  • 49
  • 50
  • …
  • 84
  • 85
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English