closer changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
nokada has quit [Remote host closed the connection]
nokada has joined #ruby-core
Aethenelle has joined #ruby-core
tarui has joined #ruby-core
nokada has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
nokada has joined #ruby-core
Aethenelle has quit [Quit: Aethenelle]
<znz_jp> biff: [ruby-changes:42480] nobu:r54554 (trunk): numeric.c: float_invariant_round - http://mla.n-z.jp/?ruby-changes=42480
<znz_jp> biff: [ruby-changes:42481] svn:r54555 (trunk): * 2016-04-13 - http://mla.n-z.jp/?ruby-changes=42481
<znz_jp> biff: [ruby-changes:42482] ko1:r54556 (trunk): * test/ruby/test_basicinstructions.rb: add a test to check access - http://mla.n-z.jp/?ruby-changes=42482
nokada has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nokada has joined #ruby-core
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
nokada has quit [Remote host closed the connection]
nokada has joined #ruby-core
hsbt is now known as hsbt_away
nokada has quit [Remote host closed the connection]
heroux has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby-core
hsbt_away is now known as hsbt
nokada has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
<znz_jp> biff: [ruby-changes:42483] nobu:r54557 (trunk): numeric.c: int_round_zero_p - http://mla.n-z.jp/?ruby-changes=42483
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
<znz_jp> biff: [ruby-changes:42484] nobu:r54558 (trunk): parse.y: massign in cond - http://mla.n-z.jp/?ruby-changes=42484
<znz_jp> biff: [ruby-changes:42485] nobu:r54559 (trunk): file.c: File.empty? - http://mla.n-z.jp/?ruby-changes=42485
rafaelfranca has quit [Read error: Connection reset by peer]
rafaelfr_ has joined #ruby-core
<znz_jp> biff: [ruby-changes:42486] nobu:r54560 (trunk): NEWS: [Feature #9969] - http://mla.n-z.jp/?ruby-changes=42486
heroux has joined #ruby-core
<znz_jp> biff: [ruby-changes:42487] nobu:r54561 (trunk): numeric.c: int_floor - http://mla.n-z.jp/?ruby-changes=42487
<znz_jp> biff: [ruby-changes:42488] nobu:r54562 (trunk): numeric.c: int_ceil - http://mla.n-z.jp/?ruby-changes=42488
<znz_jp> biff: [ruby-changes:42489] nobu:r54563 (trunk): numeric.c: flo_floor - http://mla.n-z.jp/?ruby-changes=42489
<znz_jp> biff: [ruby-changes:42490] nobu:r54564 (trunk): numeric.c: flo_ceil - http://mla.n-z.jp/?ruby-changes=42490
hsbt is now known as hsbt_away
nokada has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
madgen has joined #ruby-core
madgen has quit [Ping timeout: 268 seconds]
madgen has joined #ruby-core
hsbt_away is now known as hsbt
heroux has quit [Ping timeout: 248 seconds]
erdic has quit [Ping timeout: 268 seconds]
erdic has joined #ruby-core
madgen has quit [Ping timeout: 260 seconds]
madgen has joined #ruby-core
swistak35 has quit [Ping timeout: 264 seconds]
unreal has quit [Ping timeout: 264 seconds]
quadz has quit [Ping timeout: 264 seconds]
unreal has joined #ruby-core
madgen has quit [Ping timeout: 244 seconds]
swistak35 has joined #ruby-core
quadz has joined #ruby-core
<zzak> [Arne, irc.freenode.net] how do i call a class that does certain things on a string
<zzak> [Arne, irc.freenode.net] like replacing placeholders
<zzak> [Arne, irc.freenode.net] stupid question and kinda offtopic :D but i don't knooow
<zzak> [KVIrc 4.2.0 Equilibrium http://kvirc.net/, irc.freenode.net] Bish: helper or util?
<zzak> [Arne, irc.freenode.net] bit too general, do't u think :(?
<zzak> [KVIrc 4.2.0 Equilibrium http://kvirc.net/, irc.freenode.net] CharSequencer?
<zzak> [Arne, irc.freenode.net] what does it sequence? :o
<zzak> [KVIrc 4.2.0 Equilibrium http://kvirc.net/, irc.freenode.net] chars
<zzak> [Arne, irc.freenode.net] eh eh
enebo has joined #ruby-core
<zzak> [apeiros, irc.freenode.net] CertainThingsOnStringDoer
<zzak> [apeiros, irc.freenode.net] but I'd probably indeed call it something like MyProject::StringUtils
<zzak> [Arne, irc.freenode.net] right now it's MyProject::Template::Handler
<zzak> [Arne, irc.freenode.net] but handler is like helper or util, bit general
<zzak> [KVIrc 4.2.0 Equilibrium http://kvirc.net/, irc.freenode.net] Replac0r
<zzak> [Arne, irc.freenode.net] i like that one
enebo has quit [Client Quit]
nokada has joined #ruby-core
nagachika has joined #ruby-core
<zzak> [Daniel, irc.freenode.net] hi, any suggestions on how to make this code to execute faster? https://gist.github.com/dansanabria/04075cba638646ec5550ed8b9496dd54
<zzak> [Daniel, irc.freenode.net] it feels like I'm not being very effcient with the to_s and to_i transformations
<zzak> [PapierKorb, irc.freenode.net] mrgrieves: What is that code supposed to do?
<zzak> [Daniel, irc.freenode.net] Papierkorb: recursive sum of all the digits in a number all the way until you end up with 1 digit
<zzak> [Daniel, irc.freenode.net] i.e. 123 -> 6 , 4444 -> 16 -> 7
<zzak> [apeiros, irc.freenode.net] mrgrieves: in newer rubies, I'd expect a.map(&:to_i).inject(:+) to be faster
<zzak> [Arne, irc.freenode.net] whats the poinf of such a function
<zzak> [Arne, irc.freenode.net] :o
<zzak> [Daniel, irc.freenode.net] apeiros: I think we have discuss the & character in the past, could you refresh my mind re what it does?
<zzak> [apeiros, irc.freenode.net] it tells ruby to treat the passed object as a block
<zzak> [apeiros, irc.freenode.net] and if the object isn't a proc, it'll call to_proc on it
<zzak> [apeiros, irc.freenode.net] (since only procs can be converted to blocks)
<zzak> [Arne, irc.freenode.net] mrgrieves: and symbols to_proc does create a proc, that calls the method symbolized by it
<zzak> [apeiros, irc.freenode.net] and in effect, it means that `ary.map(&:to_i)` performs the same as `ary.map { |x| x.to_i }`
<zzak> [Arne, irc.freenode.net] &:foo => { |x| x.foo }
madgen has joined #ruby-core
Aethenelle has joined #ruby-core
nokada has quit [Remote host closed the connection]
hsbt_ has joined #ruby-core
_ko10 has joined #ruby-core
_ko1 has quit [*.net *.split]
hsbt has quit [*.net *.split]
charliesome has joined #ruby-core
<znz_jp> biff: [ruby-changes:42491] akr:r54565 (trunk): * array.c (rb_ary_sum): Array#sum is implemented. - http://mla.n-z.jp/?ruby-changes=42491
nokada has joined #ruby-core
knu has quit [Ping timeout: 260 seconds]
knu has joined #ruby-core
nagachika has quit [Remote host closed the connection]
nagachika has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
charliesome has quit [Client Quit]
<znz_jp> biff: [ruby-changes:42492] akr:r54566 (trunk): add a space in [Feature #12217] - http://mla.n-z.jp/?ruby-changes=42492
enebo has joined #ruby-core
<znz_jp> biff: [ruby-changes:42493] akr:r54567 (trunk): Array#sum described. - http://mla.n-z.jp/?ruby-changes=42493
nagachika has quit [Remote host closed the connection]
madgen_ has joined #ruby-core
LongyanG has joined #ruby-core
wycats_ has joined #ruby-core
unreal_ has joined #ruby-core
znz_jp0 has joined #ruby-core
madgen has quit [*.net *.split]
unreal has quit [*.net *.split]
Long_yanG has quit [*.net *.split]
wycats has quit [*.net *.split]
znz_jp has quit [*.net *.split]
wycats_ is now known as wycats
rafaelfr_ has quit [Remote host closed the connection]
rafaelfranca has joined #ruby-core
shinnya has joined #ruby-core
Aethenelle has quit [Ping timeout: 250 seconds]
Aethenelle has joined #ruby-core
rafaelfranca has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 244 seconds]
rafaelfranca has joined #ruby-core
rafaelfranca has joined #ruby-core
rafaelfr_ has joined #ruby-core
rafaelfranca has quit [Ping timeout: 276 seconds]
heroux has joined #ruby-core
unreal_ is now known as unreal
heroux has quit [Ping timeout: 248 seconds]
madgen_ has quit [Ping timeout: 240 seconds]
heroux has joined #ruby-core
nokada_ has joined #ruby-core
knu has quit [Ping timeout: 252 seconds]
mpapis has quit [Ping timeout: 252 seconds]
nokada has quit [Ping timeout: 252 seconds]
tarui has quit [Ping timeout: 252 seconds]
ggherdov has quit [Remote host closed the connection]
tarui has joined #ruby-core
knu has joined #ruby-core
mpapis has joined #ruby-core
ggherdov has joined #ruby-core
n0kada has quit [Ping timeout: 244 seconds]
hsbt_ has quit [*.net *.split]
drbrain has quit [*.net *.split]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #ruby-core
hsbt_ has joined #ruby-core
drbrain has joined #ruby-core
hsbt_ has quit [*.net *.split]
drbrain has quit [*.net *.split]
hsbt_ has joined #ruby-core
drbrain has joined #ruby-core
drbrain_ has joined #ruby-core
drbrain has quit [Ping timeout: 240 seconds]
drbrain_ is now known as drbrain
madgen has joined #ruby-core
harrow` has joined #ruby-core
harrow has quit [*.net *.split]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #ruby-core
ItSANgo_ has quit [Quit: Leaving...]
Aethenelle has quit [Quit: Aethenelle]
ItSANgo has joined #ruby-core
drbrain has quit [Ping timeout: 264 seconds]
heroux has quit [Ping timeout: 264 seconds]
drbrain has joined #ruby-core
heroux has joined #ruby-core
enebo has quit [Quit: enebo]
shinnya has joined #ruby-core
rafaelfr_ has quit [Remote host closed the connection]
rafaelfranca has joined #ruby-core
rafaelfranca has joined #ruby-core
charliesome has joined #ruby-core
rafaelfranca has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
shinnya has quit [Ping timeout: 252 seconds]