笔试应该设计的平等,不然就会让你感觉“情何以堪”。提供电脑也会让面试者不舒服,最少电脑摸上去,没有舒服感。如果面试,我还是喜欢纸和笔。面试的目的是看候选人和我在成为同事时,好不好合作。
谢谢分享。
Agile Web Development with Rails,4th Edition 建议看本书吧,理解的更快。
把那些玩意都丢了吧。如果你就是只想用 Rails 做个网站而已。
backbone 实现的。有兴趣的可以一览代码。
你说的没错,看这里: The Rails philosophy includes several guiding principles:
DRY – “Don’t Repeat Yourself” – suggests that writing the same code over and over again is a bad thing. Convention Over Configuration – means that Rails makes assumptions about what you want to do and how you’re going to do it, rather than requiring you to specify every little thing through endless configuration files. REST is the best pattern for web applications – organizing your application around resources and standard HTTP verbs is the fastest way to go.
http://railscasts-china.com/episodes/rails-starter-c1-starter-here
在 rails initialized 后,rb 文件已经按约定载入,所以你可以 include Mongoid::BaseModel 2.40 activesupport/lib/action_dispatch.rb This file attempts to locate the active_support and active_model libraries by looking a couple of directories back from the current file and then adds the active_support and active_model lib directories to the load path, but only if they aren’t already, which they are.
节选自: http://guides.rubyonrails.org/initialization.html#back-to-activesupport-lib-action_dispatch-rb
完整看了一遍中文,对函数式编程又有了新的理解。
@ashchan 还是你讲的比较清楚。这样,完全可以作为一个成功范式了。
native 和 RubyMotion 生成,不是一样原生的吗?没理解意思。谁来讲讲。
https://github.com/saberma/19wu
这个国内发起的项目很不错,可以考虑拿这个作为参考题。 开题话题:如果你来做,你会如何设计,如何实现。可以写个测试看看。
百度就是个广告平台,和搜索关系不大。
Real-time WebApp 中实时技术实现,目前有很多种,在@yedingding的 slide 中有介绍,https://speakerdeck.com/sishen/real-time-web。通过楼主的介绍,我猜应该是第一次体验这个技术,对构建实时推送的服务并没有经验,可以考虑直接使用第三方应用支撑你的应用, http://pusher.com/
机会确实不错。
你的 show 函数也是在同一页面显示。直接用 index 的 event 事件绑定。所有数据加载都是异步,通过 callback 才能正确使用数据。
www.macruby.org 都访问不了。啥情况。
@goinaction 酷。
@sandybeauty @ichord 翻墙可以看到,我在墙外看的挺好。你在试试。
这个和数据库设计有关,Decimal 比 float 位数宽,记录的信息更多一些。
@fsword 改了。可以省 duplicate 循环
db_specs.map do |label, options|
db_values = concurrent? ? build_db label,options : Thread.new { build_db label,options }
end
return concurrent? ? db_values.map(&:value) : db_values
that's ok?
基本上是废品。WEB 开发直接使用 Linux 就可以了。
大庆致力于做一个好的 Ruby 讲师,上次我全程听过一次,说的很认真。如果是北京的 Ruby 爱好者,可以去听听。
ruby 锵锵三人行,每次就一个 hoster,两个嘉宾。绝配。
amazoning
楼主应该读一本 ruby 语言的书,方能解你的问题。
dhh 个性鲜明,观点犀利。今天把中文版又看一遍,建议楼主发给@dhh
相当精彩,刚看到就在这里看到了。学习。
再提供一个同事的演讲,我全程听完,推荐: http://www.infoq.com/cn/presentations/Open-source-world
看出没成就感啊。ruby 社区欢迎你。加油。
看的太累了。以后不如来个 mock testing,看的快。你提交个 patch 看看,犹豫啥。