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_away is now known as hsbt
nagachika has joined #ruby-core
nagachika has quit [Remote host closed the connection]
nagachika has joined #ruby-core
Aethenelle has joined #ruby-core
nagachika has quit [Ping timeout: 260 seconds]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
rafaelfranca has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
tax has quit [Ping timeout: 244 seconds]
charliesome 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
<znz_jp> biff: [ruby-changes:43105] nobu:r55179 (trunk): ruby.h: fix parameter name - http://mla.n-z.jp/?ruby-changes=43105
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-core
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:43106] nobu:r55180 (trunk): fix non-static rb_scan_args - http://mla.n-z.jp/?ruby-changes=43106
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
madgen has joined #ruby-core
<znz_jp> biff: [ruby-changes:43107] nobu:r55181 (trunk): transcode.c: scrub in the given encoding - http://mla.n-z.jp/?ruby-changes=43107
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:43108] nobu:r55182 (trunk): variable.c: hidden constants - http://mla.n-z.jp/?ruby-changes=43108
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
madgen has quit [Ping timeout: 240 seconds]
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
madgen has joined #ruby-core
charliesome has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
madgen has quit [Ping timeout: 244 seconds]
mattwildig has joined #ruby-core
mattwildig has quit [Client Quit]
<znz_jp> biff: [ruby-changes:43109] nobu:r55183 (trunk): process.c: [DOC] Process.abort [ci skip] - http://mla.n-z.jp/?ruby-changes=43109
madgen has joined #ruby-core
Aethenelle has quit [Quit: Aethenelle]
<znz_jp> biff: [ruby-changes:43110] kazu:r55184 (trunk): fix a typo [ci skip] - http://mla.n-z.jp/?ruby-changes=43110
madgen has quit [Ping timeout: 258 seconds]
Aethenelle has joined #ruby-core
enebo has joined #ruby-core
Aethenelle has quit [Read error: Connection reset by peer]
madgen has joined #ruby-core
Aethenelle has joined #ruby-core
madgen has quit [Ping timeout: 244 seconds]
<zzak> [Jonne Haß, irc.freenode.net] wrkrcoop: there's no difference between line 3 and 4 in your example
<zzak> [Jonne Haß, irc.freenode.net] wrkrcoop: https://carc.in/#/r/zz4
<zzak> [68.114.96.82 - http://webchat.freenode.net, irc.freenode.net] I believe wrkrcoop is trying to describe a scenario where two defined variables point to the same memory location ( dont know if ruby has such a construct though )
<zzak> [68.114.96.82 - http://webchat.freenode.net, irc.freenode.net] such that changes to the first variable impact the second variable
<zzak> [Ellis Marte, irc.freenode.net] jhass: yeah what joenuts said
<zzak> [realname, irc.freenode.net] junkin joughnuts
<zzak> [Jonne Haß, irc.freenode.net] wrkrcoop: joenuts_ ruby is entirely pass by reference, copies have to happen explicitly
<zzak> [Ellis Marte, irc.freenode.net] jhass: but lets say a = ‘hello'
<zzak> [Ellis Marte, irc.freenode.net] oh nvm ill use irb
<zzak> [Ellis Marte, irc.freenode.net] yeah if a = ‘hell'
<zzak> [Ellis Marte, irc.freenode.net] b = a
<zzak> [Ellis Marte, irc.freenode.net] a = ‘barf'
<zzak> [Ellis Marte, irc.freenode.net] b #=> hell
<zzak> [Oskar Falkenbaum, irc.freenode.net] thats reassigning
<zzak> [Jonne Haß, irc.freenode.net] yes
<zzak> [Jonne Haß, irc.freenode.net] a holds a reference to 'hell'
<zzak> [Jonne Haß, irc.freenode.net] b holds a reference to 'hell'
<zzak> [Ellis Marte, irc.freenode.net] so b isn’t looking at a’s address
<zzak> [Jonne Haß, irc.freenode.net] a holds a reference to 'barf'
<zzak> [Ellis Marte, irc.freenode.net] so b refers to a and creates its own memory address to store that reference which is ‘hell'
<zzak> [68.114.96.82 - http://webchat.freenode.net, irc.freenode.net] https://carc.in/#/r/zz7 shows maybe assignment to new variables being done as copies?
<zzak> [Jonne Haß, irc.freenode.net] yes, there's no pointer indirection or anything
<zzak> [Jonne Haß, irc.freenode.net] assignment copies the reference
<zzak> [68.114.96.82 - http://webchat.freenode.net, irc.freenode.net] meh, to me if you're coping the value ( whether by reference or not ), the new variable is still a *copy* and not a pointer
<zzak> [Oskar Falkenbaum, irc.freenode.net] no its not... if its an array and you add an object both references will show the same added object
<zzak> [68.114.96.82 - http://webchat.freenode.net, irc.freenode.net] so *some* variable declarations are done by reference, and some are done by copying the value, that's easy enough to understand
<zzak> [Oskar Falkenbaum, irc.freenode.net] its always a reference.. some types are immutable, so you can't do the same as with the array
<zzak> [68.114.96.82 - http://webchat.freenode.net, irc.freenode.net] ah, so if i understand what you're saying, is that a = 1, b = a, at that point, b is a reference to a, but once a changes, a points to something new, b points to the old value of a ?
<zzak> [Oskar Falkenbaum, irc.freenode.net] exactly
<zzak> [Oskar Falkenbaum, irc.freenode.net] because of the nature of an integer
shinnya has joined #ruby-core
madgen has joined #ruby-core
rafaelfranca has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 260 seconds]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Remote host closed the connection]
rafaelfranca has joined #ruby-core
charliesome has joined #ruby-core
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #ruby-core
nagachika has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
rafaelfranca has quit [Remote host closed the connection]
nagachika has quit [Remote host closed the connection]
nagachika has joined #ruby-core
nagachika has quit [Ping timeout: 250 seconds]
madgen has joined #ruby-core
charliesome has joined #ruby-core
Aethenelle has quit [Quit: Aethenelle]
xlegoman has joined #ruby-core
madgen has quit [Ping timeout: 260 seconds]
madgen has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
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
rafaelfranca has joined #ruby-core
hsbt is now known as hsbt_away
madgen has quit [Ping timeout: 250 seconds]