歪酷博客 Ycool Blog - 记录我们的时代
记录我们的时代

设为首页
加入收藏夹
需要帮助?

Tag: ruby / 热门Tag



奥林匹克半岛印象7:海边梦幻日落
7. 梦幻日落 Suset at Ruby Beach 当我们满心以为可能会什么也赶不上的时候赶到Ruby Beach,貌似一切都还很平静。 日落尚未开始,海边零散着一些等待的人们,孩子们在横七竖八的
@ 2008-10-13 00:05:59
Proc#=== has beed added to ruby1.9
It's just an alias of Proc#call: 1 class Proc2 def ===( *parameters )3 self.call( *parameters )4 end
Tag: ruby 1.9 proc
Jan @ 2008-10-09 23:19:05
A ruby talent left ...
A Legend Never To Be Solved
Jan @ 2008-09-26 15:02:34
[QUIZ] Elegant way to check whether a class is another class's descendant
Do you know what's the best way to do this in ruby? suppose: class A; end class B A; end The best an
Tag: ruby
Jan @ 2008-09-09 10:27:52
Add awesome like layout to WMII
Awesome is another tiling window manager which has many users on this planet (maybe more than wmii u
Jan @ 2008-08-31 23:42:26
Ruby vs Python
Seems most ppl(include me) agreed on that the major diff of ruby and python is on their cultrue. htt
Tag: ruby python
Jan @ 2008-08-22 22:12:24
Ruby Community Vulnerability
Ruby社区最近有点动荡,都是从大约一周之前发现的一堆vulnerabiilty开始的。 事情的经过很简单,在Apple工作的Drew Yao发现了MRI的一堆要命漏洞,随后Ruby官网给出了一堆传说
Jan @ 2008-07-03 11:03:07
Survey on Ruby development
http://devver.net/blog/2008/06/the-results-of-our-ruby-development-survey/ It's interesting so many
Jan @ 2008-07-02 11:38:33
Update your ruby on production server now
Multiple vulnerabilities in Ruby may lead to a denial of service (DoS) condition or allow execution
Jan @ 2008-06-23 23:11:00
rand() in PHP and Ruby
See the original post I read here: http://www.boallen.com/random-numbers.html And the discussion her
Jan @ 2008-05-21 14:43:16
Why Ruby amazes me? PRuby Chap 6 方法调用
用def可以定义一个方法,方法必须以一个小写字母开头 ** 如果使用大写字母,不会出错,但是Ruby会优先猜测这是一个常量而不是一个方法调用,解析可能出错 指定形参默认值 def cool_dude(
Tag: ruby
Gem Gatherer @ 2008-05-02 17:01:19
Why Ruby amazes me? PRuby Chap 5 标准类型
所有的数字也是对象。可以对各种形式的消息做出响应. 整数也支持几种有用的迭代器。 3.times { print X } 1.upto(5) { |i| print i, } 9.downto(7)
Tag: ruby
Gem Gatherer @ 2008-05-02 01:03:14
Why Ruby amazes me? PRuby Chap 4:容器,Blocks和迭代器
a[3.14159, pie ,49] a.class - Array a.length - 3 a[3] - nil []实际上是一个方法。 如果用负数作为索引,那么会从数组末端开始计数 数组可以嵌
Tag: ruby
Gem Gatherer @ 2007-10-28 21:37:33
Why Ruby amazes me? PRuby Chap 3 类,对象和变量
song = Song.new( Bicyclops , Fleck , 260) song.inspect - # Song:0x1c8ac8, @duration=260, @artist= Fl
Tag: ruby
Gem Gatherer @ 2007-10-28 20:42:12
Why Ruby amazes me? PRuby Chap 2 Ruby.new
Ruby是彻底的面向对象和大量运用消息的语言。 a = 3.abs .abs可以视为发给对象3的消息。 最简单的ruby函数 def say(sentence) result= Hello, I wa
Tag: ruby
Gem Gatherer @ 2007-10-25 00:40:07
A good article on Ruby implementations by JRuby main dev
http://headius.blogspot.com/2008/04/promise-and-peril-for-alternative-ruby.html It's pity to see XRu
Jan @ 2008-04-28 14:46:39
[Announce] urlview.rb
I'm glad to annouce the new boring/repetitititititititititititive tool: urlview.rb. It will help u t
Jan @ 2008-04-15 21:05:43
Make sure to rebuild index before testing when using ferret
After beaten the bug in my acts_as_ferret model testcase, I think it's valuable to remind you: remem
Jan @ 2008-03-04 13:23:02
Ruby 1.9 with Symbol#to_proc and (soon) curried Procs
Via InfoQ. * Symbol#to_proc本是rails的甜头。一个框架居然反过来影响了它所用的语言,甚是好玩 * 突然发现curry和linus鼓吹的DVCS颇有几分神似阿,汗
Jan @ 2008-02-27 15:04:22
[zz] Ruby's Thread#raise, Thread#kill, timeout.rb, and net/protocol.rb libraries are broken
via Although you don't have to take my word for it, eventually you're going to have to accept the truth. Thread#kill, Thread#raise, timeout.rb, net/protocol.rb all suffer from these problems. net/protocol.rb could be fixed to use nonblocking IO (sele
Tag: ruby thread
Jan @ 2008-02-25 15:25:03
Implement external iterator by callcc
Said ruby 1.9 will add a new useful feature named external iterator - the kind of iterator you used in Java/Cpp. It's interesting to implement one ourself by using callcc, in 1.8.6. Note: It's easy to turn this piece of code into a module or make the
Jan @ 2008-02-20 13:19:24
Couldn't agree more ...
今天捧起了 The Rails Way ,越看越惊奇,Obie同志的经历和想法和我他妈的太一致了。。。我真怀疑他曾经在某公司干过。。。谈到企业级应用的时候: There are significant underlying reasons for the difficulties of software development, especially in enterprise environments: • Hard-to-understand legacy systems. &bu
Tag: ruby rails
Jan @ 2008-01-31 01:17:47
Ruby Fools
Join the launch of the first Ruby Fools conference on April Fools' Day in Copenhagen, Denmark.
Tag: ruby fool conf
Jan @ 2008-01-25 19:25:29
怒了
相同的算法,为什么我的总是outofmemory? 555 ruby 1.8在使用到1G的时候就暴了,ruby 1.9在把所有内存耗光后暴掉,不是说ruby string对象是cow的吗,靠 update: 终于搞定,问题出在Array#sort上面,string的确是cow的,但是sort会调用dup - 我没有深究,貌似是dup引起了真正的对象复制,导致内存暴涨,可能dup太底层了所以绕过了cow机制?用sort!就可以避免这个问题,内存消耗可以控制得很低。奇怪的是只能在1.8下运行通过,在
Jan @ 2008-01-22 20:23:01

61篇网志 11个Blog 使用了Tag "ruby"

第 1 / 3 页 | 上一页 | 下一页

看看别的Tag 什么是Tag?



免费注册 - 已注册用户登入管理 - 热门关键词(Tags) - 常见问题帮助 - 设为首页 - 加入收藏夹
© 2004-2008 歪酷博客 - 记录我们的时代, All rights reserved. 歪酷网服务协议 沪ICP备05001191号 联系我们