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
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hsbt_away is now known as hsbt
shinnya has joined #ruby-core
Aethenelle has quit [Ping timeout: 240 seconds]
Aethenelle has joined #ruby-core
shinnya has quit [Ping timeout: 265 seconds]
Aethenelle has quit [Quit: Aethenelle]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Changing host]
rafaelfranca has joined #ruby-core
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby-core
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
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:42893] naruse:r54967 (trunk): * configure.in (-fexcess-precision=standard): before r54895 -std=c99 - http://mla.n-z.jp/?ruby-changes=42893
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
<znz_jp> biff: [ruby-changes:42894] nobu:r54968 (trunk): random.c: use bytes - http://mla.n-z.jp/?ruby-changes=42894
rafaelfranca has quit [Read error: No route to host]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Changing host]
rafaelfranca has joined #ruby-core
<znz_jp> biff: [ruby-changes:42895] nobu:r54969 (trunk): random.c: reuse bits - http://mla.n-z.jp/?ruby-changes=42895
<zzak> [realname, irc.freenode.net] moin
<zzak> [shevy, irc.freenode.net] lol
<zzak> [shevy, irc.freenode.net] FileUtils.compare_file('somefile', 'somefile') #=> true
<zzak> [shevy, irc.freenode.net] FileUtils.compare_file('/bin/cp', '/bin/mv') #=> maybe false
<zzak> [shevy, irc.freenode.net] we got a maybe monad
<zzak> [TheBrayn, irc.freenode.net] https://github.com/rap1ds/ruby-possibly
<zzak> [Ryan Bigg, irc.freenode.net] I got asked today and I don't know the answer to this: when should we use block.call and when should we use yield?
<zzak> [Tobias V. Langhoff, irc.freenode.net] Radar: http://innig.net/software/ruby/closures-in-ruby.rb
<zzak> [caerus, irc.freenode.net] .rbt
<zzak> [apeiros, irc.freenode.net] Radar: yield/block_given? is faster and less gc intense
<zzak> [apeiros, irc.freenode.net] in case of immediate use that is. if it's nested, use &block to pass the block on
<zzak> [apeiros, irc.freenode.net] block.call itself I only ever use if I store the block and invoke it elsewhere
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] was reading this article https://samsaffron.com/archive/2013/11/22/demystifying-the-ruby-gc , and i have a question about ruby's memory allocation model and GC
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] he says ruby allocates multiple "heaps" and each one is 16kb and if GC finds that it ran out of free heaps it will allocate 1.8x more
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] and the number of heaps is never decreased
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] is that still true? is there no way to reclaim that heap space once we no longer need it, besides restarting the process?
drbrain has quit [Ping timeout: 276 seconds]
<zzak> [Joseph, irc.freenode.net] IbrahimA, I believe thats still the case but a factor of 1.4
drbrain has joined #ruby-core
<zzak> [the method of tikt, irc.freenode.net] Does .find return just the first matching result?
<zzak> [apeiros, irc.freenode.net] IbrahimA: a modern OS will page out unused memory anyway and virtualize it
<zzak> [apeiros, irc.freenode.net] droptone: context
<zzak> [apeiros, irc.freenode.net] droptone: there's an infinite number of .find methods.
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] apeiros: what if swap is turned off or swap space is low?
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] it seems like for a long running process this could be a potential trouble spot
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] i've got a sidekiq worker running all sorts of jobs, and a new type of job im trying to add tends to use a lot of memory depending on what sorts of files users upload
<zzak> [apeiros, irc.freenode.net] IbrahimA: if I run "top" I see `VM: 962G vsize`
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] heh
<zzak> [apeiros, irc.freenode.net] my system doesn't have 962GB of ram, neither does it have that amount of disk space
<zzak> [Ibrahim Awwal|ZNC, irc.freenode.net] actually yeah i've seen chrome does that
<zzak> [apeiros, irc.freenode.net] it's purely virtual
rafaelfranca has quit [Remote host closed the connection]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Ping timeout: 252 seconds]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<eregon> Hi nokada, your updates on https://bugs.ruby-lang.org/issues/12367 mean I can commit the change, right? :)
hsbt is now known as hsbt_away
<znz_jp> biff: [ruby-changes:42896] eregon:r54970 (trunk): * insns.def (defineclass): Also raise an error when redeclaring the - http://mla.n-z.jp/?ruby-changes=42896
nagachika has joined #ruby-core
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
Aethenelle has joined #ruby-core
hsbt_away is now known as hsbt
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Ping timeout: 276 seconds]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #ruby-core
enebo has joined #ruby-core
nagachika has quit [Remote host closed the connection]
shinnya has joined #ruby-core
rafaelfranca has joined #ruby-core
shinnya has quit [Ping timeout: 276 seconds]
nagachika has joined #ruby-core
nagachika has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-core
charliesome_ has joined #ruby-core
rafaelfranca has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 252 seconds]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
Aethenelle has quit [Quit: Aethenelle]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
charliesome_ has quit [Ping timeout: 265 seconds]
hsbt is now known as hsbt_away
Aethenelle has joined #ruby-core