apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
henrikho_ has joined #ruby-lang
joast has joined #ruby-lang
henrikhodne has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby-lang
dingus_khan has joined #ruby-lang
cofin has quit [Quit: cofin]
wmoxam has joined #ruby-lang
towski has joined #ruby-lang
Squarepy has joined #ruby-lang
tylersmith has joined #ruby-lang
runeb has joined #ruby-lang
marr has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
towski has quit [Remote host closed the connection]
runeb has quit [Ping timeout: 245 seconds]
jsullivandigs has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
jsullivandigs has quit [Ping timeout: 252 seconds]
Squarepy has quit [Quit: Leaving]
saarinen has joined #ruby-lang
wmoxam has quit [Ping timeout: 246 seconds]
saarinen has quit [Client Quit]
stardiviner has quit [Ping timeout: 246 seconds]
mbj has quit [Ping timeout: 248 seconds]
jsullivandigs has joined #ruby-lang
henrikho_ has quit [Quit: Computer has gone to sleep.]
blaix has joined #ruby-lang
Squarepy has joined #ruby-lang
Squarepy has quit [Read error: Connection reset by peer]
stardiviner_ has joined #ruby-lang
KM has joined #ruby-lang
Johz has quit [Quit: AH HELP ITS ALL CRASHING AT ONCE I CANT STOP IT HELP HELP HELP <transmission ends>]
xxaM has quit [Ping timeout: 256 seconds]
Squarepy has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 252 seconds]
xxaM has joined #ruby-lang
wmoxam has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
<dingus_khan> Anyone got any particular thoughts on Beginning Ruby?
gix has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
gix has joined #ruby-lang
wmoxam has quit [Quit: leaving]
xuser_ has quit [Read error: Operation timed out]
xuser has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
blaix has quit [Quit: Leaving.]
teleological has quit [Remote host closed the connection]
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
jsullivandigs has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
GarethAdams has joined #ruby-lang
stardiviner_ has quit [Ping timeout: 256 seconds]
Squarepy has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
stardiviner has joined #ruby-lang
jperry has quit [Quit: jperry]
dankest has quit [Quit: Leaving...]
towski has joined #ruby-lang
brianpWins has joined #ruby-lang
S1kx has quit [Quit: Leaving]
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby-lang
teleological has joined #ruby-lang
havenwood has joined #ruby-lang
Gaelan has joined #ruby-lang
teleological has quit [Remote host closed the connection]
GarethAdams|Work has joined #ruby-lang
GarethAdams|Work has quit [Client Quit]
GarethAdams has quit [Ping timeout: 256 seconds]
cofin has joined #ruby-lang
stardiviner has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby-lang
cofin has quit [Client Quit]
dankest has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
toretore has quit [Quit: Leaving]
[[thufir]] has joined #ruby-lang
stardiviner_ has joined #ruby-lang
stardiviner has quit [Read error: Connection reset by peer]
cofin has joined #ruby-lang
LinkedoT has quit [Ping timeout: 240 seconds]
LinkedoT has joined #ruby-lang
<dingus_khan> the ruby-docs doesn't explain this, but when I just call File.open("textfile.txt").each { |line| line_count +=1 }, how does it each element in the block is a different line?
djwonk has quit [Quit: djwonk]
<dingus_khan> how does it *know
symm- has quit [Ping timeout: 256 seconds]
djwonk has joined #ruby-lang
teleological has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
LinkedoT has quit [Remote host closed the connection]
teleological has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
lguardiola has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
djwonk has quit [Quit: djwonk]
dingus_khan has quit [Remote host closed the connection]
stardiviner_ has quit [Ping timeout: 256 seconds]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
teleological has joined #ruby-lang
stardiviner has joined #ruby-lang
teleological has quit [Remote host closed the connection]
benxao has joined #ruby-lang
hashkey_disconne has joined #ruby-lang
towski has quit [Remote host closed the connection]
hashkey_disconne has quit [Client Quit]
hashkey has quit [Ping timeout: 256 seconds]
benxao has quit [Remote host closed the connection]
benxao has joined #ruby-lang
dhruvasagar has joined #ruby-lang
krohrbaugh has joined #ruby-lang
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
teleological has joined #ruby-lang
hashkey has joined #ruby-lang
dingus_khan has joined #ruby-lang
teleological has quit [Ping timeout: 256 seconds]
teleological has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
teleological has quit [Remote host closed the connection]
<bnagy> that's what IO#each does
s4muel has left #ruby-lang ["gone."]
<bnagy> by default anyway
hashkey has quit [Ping timeout: 252 seconds]
teleological has joined #ruby-lang
hashkey has joined #ruby-lang
teleological has quit [Remote host closed the connection]
edgar has joined #ruby-lang
edgar has left #ruby-lang [#ruby-lang]
edgar has joined #ruby-lang
edgar has left #ruby-lang [#ruby-lang]
edgar has joined #ruby-lang
dankest has quit [Quit: Leaving...]
edgar has quit [Quit: leaving]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
stardiviner has quit [Ping timeout: 256 seconds]
hashkey has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
stardiviner has quit [Ping timeout: 256 seconds]
stardiviner has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Gaelan has joined #ruby-lang
teleological has joined #ruby-lang
<dingus_khan> bnagy, I dropped out of the chatroom--you wouldn't be responding to me, would you?
<bnagy> yeah I was
<dingus_khan> OK, so the only parts I saw were "That's what IO#each does" and "by default anyway", was there any part I missed?
<bnagy> nope
krohrbaugh has joined #ruby-lang
teleological has quit [Remote host closed the connection]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
<dingus_khan> OK, sweet, thanks for the response, Imma go look up IO#each now, lol. I wish there was a place like ruby-docs, except that explains stuff like I'm five... :$
mdedetrich has joined #ruby-lang
xuser has quit [Changing host]
xuser has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
Fezzler has joined #ruby-lang
Gaelan has quit [Read error: Connection reset by peer]
Fezzler has quit [Client Quit]
Gaelan has joined #ruby-lang
LinkedoT has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
mouse_ has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
mouse_ has quit [Quit: Leaving]
MouseTheLuckyDog has joined #ruby-lang
<MouseTheLuckyDog> I need a data structure. One that can hold "equivalence classes". I have a bunch of objects, they divide into subgroups. I need to efficiently put them into the data structure, and I need to look up the subgroup that contains a particular opbject.
dingus_khan has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
<bnagy> collection of Hashes?
stardiviner has joined #ruby-lang
krombr has quit [Remote host closed the connection]
<bnagy> how about make all the groups [] and have a {obj => group} for every obj?
sodalitumpianum has quit [Remote host closed the connection]
<bnagy> inserting into a group is an array insert and a hash insert, looking up the group for an obj is O1
Senjai has joined #ruby-lang
benxao has quit [Remote host closed the connection]
benxao has joined #ruby-lang
<MouseTheLuckyDog> bnagy, I thought about the hash thing, but how do you avoid the arrays in the hash copying when you insert a new element.
<bnagy> the group is just one array, the hash just contains a pointer to it
<bnagy> or many pointers to it, whatever
mdedetrich has joined #ruby-lang
<MouseTheLuckyDog> bnagy, how do I make sure that the hash contains references to the array rather then copies?
havenwood has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
<bnagy> you don't have to
<bnagy> it's cumbersome to make object copies in ruby, you know when you're doing it
saarinen has quit [Quit: saarinen]
Gaelan has joined #ruby-lang
Gaelan_ has joined #ruby-lang
Gaelan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
lcdhoffman has joined #ruby-lang
stardiviner has quit [Quit: No Ping reply in 180 seconds.]
stardiviner has joined #ruby-lang
cofin has quit [Quit: cofin]
macmartine has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby-lang
Senjai_ has joined #ruby-lang
intellitech has quit [Quit: intellitech]
Senjai has quit [Ping timeout: 248 seconds]
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
kgrz has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 256 seconds]
macmartine has quit [Quit: Computer has gone to sleep.]
intellitech has joined #ruby-lang
intellitech has joined #ruby-lang
intellitech has quit [Changing host]
towski has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
poga has quit [Remote host closed the connection]
MouseTheLuckyDog has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
benchung has joined #ruby-lang
benchung has left #ruby-lang [#ruby-lang]
solars has joined #ruby-lang
hashkey has joined #ruby-lang
vmatiyko has quit [Quit: Page closed]
Gaelan_ has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
lcdhoffman has quit [Quit: lcdhoffman]
dhruvasagar has quit [Ping timeout: 245 seconds]
justinmb_ has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
swav has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
madb055 has joined #ruby-lang
CoverSli1e has quit [Ping timeout: 252 seconds]
justinmb_ has quit [Remote host closed the connection]
towski has quit [Ping timeout: 252 seconds]
rippa has joined #ruby-lang
hramrach_ has quit [Remote host closed the connection]
mucker has quit [Quit: leaving]
hramrach_ has joined #ruby-lang
rhizome has quit [Read error: Connection reset by peer]
rhizome has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
saarinen has left #ruby-lang [#ruby-lang]
Cakey has joined #ruby-lang
Gaelan has joined #ruby-lang
Senjai_ has quit [Ping timeout: 248 seconds]
krohrbaugh has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
tonni has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
dingus_khan has joined #ruby-lang
Gaelan has quit [Ping timeout: 256 seconds]
tonni has joined #ruby-lang
[[thufir]] has quit [Quit: Leaving.]
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
hashkey has quit []
marr has joined #ruby-lang
hhatch has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
Nisstyre-laptop has quit [Read error: Connection reset by peer]
stardiviner has quit [Remote host closed the connection]
erichmenge has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
injekt has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
ryez has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
henrikhodne has joined #ruby-lang
stamina has joined #ruby-lang
<zenspider> rawr
blaix has joined #ruby-lang
<zenspider> 1862 runs, 9033 assertions, 6 failures, 14 errors, 142 skips
<zenspider> rapidly improving
<zenspider> yay
<zenspider> 1862 runs, 9075 assertions, 6 failures, 0 errors, 142 skips
symm- has joined #ruby-lang
zmike123 has joined #ruby-lang
erichmenge has joined #ruby-lang
<zenspider> oops
<zenspider> corundum: seen whitequark?
<corundum> who knows?
<corundum> whitequark was last seen 15 hours, 9 minutes and 10 seconds ago, saying apeiros: will explain this better :)
blaix has quit [Quit: Leaving.]
zmike123 has quit [Quit: Выходжу]
<whitequark> what
stonerfish has joined #ruby-lang
Qwak has joined #ruby-lang
yxhuvud has joined #ruby-lang
<zenspider> well hello to you too
stonerfish has quit [Client Quit]
<rue> What passes for polite these days
<whitequark> zenspider: oh, hi
<whitequark> I take it you're working on ruby_parser now?
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
<zenspider> whitequark: n/m
* whitequark shrugs
<zenspider> yeah. me too
Gaelan has joined #ruby-lang
<zenspider> rue: argh! Kp was 6.33 2 hours ago and I missed it. that's strong enough that it is visible here if I just get far enough out of the city
<zenspider> stupid sun
<zenspider> stupid city
Gaelan has quit [Ping timeout: 252 seconds]
Sm3lly has joined #ruby-lang
<rue> zenspider: Might have seen something, yeah. There was a flare visible down here a month ago or so. Did you catch any on your trip?
<zenspider> the lapp land trip never happened. too complex & expensive
<zenspider> was contemplating doing alaska to cut down on both, but it has been 100% overcast whenever we have any activity
<zenspider> same with NW canada
rue has quit [Remote host closed the connection]
ajack has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
rue has joined #ruby-lang
workmad3 has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
symm- has quit [Ping timeout: 256 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
elia has joined #ruby-lang
dfdf has joined #ruby-lang
apeiros has quit [Ping timeout: 245 seconds]
ajack has quit [Quit: Computer has gone to sleep.]
blaix has joined #ruby-lang
Johz has joined #ruby-lang
blaix1 has joined #ruby-lang
Kabaka has quit [Excess Flood]
dingus_khan has quit [Remote host closed the connection]
blaix has quit [Ping timeout: 264 seconds]
krohrbaugh has joined #ruby-lang
workmad3 has joined #ruby-lang
Kabaka has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
barttenbrinke has joined #ruby-lang
Kabaka has quit [Excess Flood]
Gaelan has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 246 seconds]
tbuehlmann has joined #ruby-lang
Kabaka has joined #ruby-lang
benanne has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Gaelan has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby-lang
MaddinXx has joined #ruby-lang
Gaelan has joined #ruby-lang
crackit__ has joined #ruby-lang
ajack has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
MaddinXx has quit [Quit: MaddinXx]
mbj has joined #ruby-lang
ruurd has joined #ruby-lang
runeb has joined #ruby-lang
ritek has joined #ruby-lang
mrfelix has joined #ruby-lang
Qwak has quit []
dhruvasagar has quit [Read error: Operation timed out]
sandbags2 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> whitequark: ++++++ about the comments support in parser
workmad3 has quit [Read error: Operation timed out]
<yorickpeterse> this actually permits me to put some better parameter/return value support in ruby-lint as I can extract YARD tags now
apeiros_ has joined #ruby-lang
ritek has left #ruby-lang [#ruby-lang]
apeiros has quit [Ping timeout: 246 seconds]
<whitequark> yorickpeterse: yupp
<whitequark> also, parser should be mostly complete now
<whitequark> maybe I'll add a ruby_parser compat mode
<whitequark> but that's about it.
benanne has quit [Read error: Connection reset by peer]
krohrbaugh has joined #ruby-lang
workmad3 has joined #ruby-lang
benanne has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
jxie_ has quit [Quit: leaving]
kstuart has quit [Ping timeout: 246 seconds]
kstuart has joined #ruby-lang
dingus_khan has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby-lang
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
dfdf has quit [Remote host closed the connection]
runeb has quit [Remote host closed the connection]
blaix1 has quit [Quit: Leaving.]
ajack has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
workmad3 has quit [Ping timeout: 246 seconds]
elia has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
ia___ has joined #ruby-lang
pskosinski has joined #ruby-lang
toretore has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
mawueli has joined #ruby-lang
mawueli is now known as Guest50481
blaix has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
krohrbaugh has joined #ruby-lang
machuga|away is now known as machuga
krohrbaugh has quit [Ping timeout: 252 seconds]
glebm has joined #ruby-lang
elia has joined #ruby-lang
jperry has joined #ruby-lang
jperry has quit [Client Quit]
sandbags2 has quit [Remote host closed the connection]
injekt has joined #ruby-lang
benlovell has joined #ruby-lang
Gaelan has joined #ruby-lang
dfdf has joined #ruby-lang
enebo has joined #ruby-lang
<injekt> yay for ruby 2.0 mri defining EncodingError but rbx/jruby not
<injekt> mri in general in fact
<injekt> 18>> EncodingError
<eval-in> injekt => uninitialized constant EncodingError (NameError) ... (http://eval.in/31488)
Gaelan has quit [Ping timeout: 256 seconds]
<injekt> 19>> EncodingError
<eval-in> injekt => EncodingError (http://eval.in/31489)
mrfelix has quit [Quit: Textual IRC Client: www.textualapp.com]
<whitequark> ugh.
benlovell has quit [Ping timeout: 264 seconds]
<dbussink> injekt: i don't get it
<injekt> dbussink: hm?
runeb has joined #ruby-lang
<dbussink> what's the issue with EncodingError?
<injekt> JRuby/RBX doesn't define it as far as I can tell
<dbussink> running it in 1.9 / 2.0 mode?
<injekt> yes
<dbussink> since works perfectly fine for me in both
<injekt> hm odd
<injekt> oh wait
<dbussink> that's running 1.8 modes
<injekt> dammit
<dbussink> and rbx 1.9 mode seems to work fine
<injekt> I thought I removed those
<injekt> i need some sleep
<injekt> dbussink: thanks
vlad_sta_ has joined #ruby-lang
runeb has quit [Ping timeout: 240 seconds]
<dbussink> injekt: any reason rbx 1.9 mode is an allowed failure?
voker57 has joined #ruby-lang
voker57 has joined #ruby-lang
sush24 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
Tranquility has joined #ruby-lang
seseisanudo has joined #ruby-lang
workmad3 has joined #ruby-lang
dfdf has quit [Remote host closed the connection]
mucker has joined #ruby-lang
postmodern has quit [Quit: Leaving]
Jungy has joined #ruby-lang
mrfelix has joined #ruby-lang
krohrbaugh has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
Guest50481 has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.1]
rippa has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
seseisanudo has left #ruby-lang [#ruby-lang]
mawueli has joined #ruby-lang
wallerdev has joined #ruby-lang
mawueli is now known as Guest4950
Gaelan has joined #ruby-lang
benlovell has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
Gaelan has joined #ruby-lang
dfdf has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
ia___ has quit [Quit: ia___]
MasterNayru has joined #ruby-lang
MasterNayru has quit [Client Quit]
krombr has joined #ruby-lang
MasterNayru has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
MasterNayru has quit [Client Quit]
MasterNayru has joined #ruby-lang
s1n4 has joined #ruby-lang
s1n4 has quit [Changing host]
s1n4 has joined #ruby-lang
s1n4 has left #ruby-lang [#ruby-lang]
FiXato has quit [Remote host closed the connection]
FiXato has joined #ruby-lang
krombr has quit [Quit: krombr]
krohrbaugh has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
krohrbaugh has quit [Read error: Operation timed out]
barttenbrinke has joined #ruby-lang
tomzx_mac has joined #ruby-lang
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
ruurd has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
machuga is now known as machuga|away
barttenbrinke has quit [Ping timeout: 256 seconds]
blaix has quit [Ping timeout: 240 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mucker has quit [Quit: leaving]
MouseTheLuckyDog has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
<MouseTheLuckyDog> I want to create a hash where the values are arrays. How can I guarantee that the hash value is a reference to the array, or a copy of the array?
<bnagy> 12:49 < bnagy> you don't have to
<bnagy> 12:50 < bnagy> it's cumbersome to make object copies in ruby, you know when you're doing it
<bnagy> anyway, night
kgrz has quit [Ping timeout: 252 seconds]
setmeaway has quit [Ping timeout: 248 seconds]
s0ber_ has joined #ruby-lang
s0ber has quit [Write error: Broken pipe]
s0ber_ is now known as s0ber
workmad3 has joined #ruby-lang
krohrbaugh has joined #ruby-lang
runeb has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
blaix has joined #ruby-lang
teleological has joined #ruby-lang
Senjai has quit [Ping timeout: 248 seconds]
runeb has quit [Remote host closed the connection]
runeb has joined #ruby-lang
saarinen has joined #ruby-lang
MasterNayru has quit [Ping timeout: 248 seconds]
saarinen has quit [Client Quit]
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
runeb has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
pcboy__ has joined #ruby-lang
megha has joined #ruby-lang
tdy has quit [Read error: Connection reset by peer]
pcboy_ has quit [Ping timeout: 252 seconds]
tdy has joined #ruby-lang
apeiros has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jperry has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
Gaelan has joined #ruby-lang
Nisstyre has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
jperry has quit [Quit: jperry]
Gaelan has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
Guest4950 has quit [Remote host closed the connection]
pcboy__ has quit [Ping timeout: 246 seconds]
pcboy_ has joined #ruby-lang
bnagy has quit [Ping timeout: 252 seconds]
dfdf has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
tsou has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
apeiros has quit [Ping timeout: 248 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
machuga|away is now known as machuga
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
teleological has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
teleological has joined #ruby-lang
Sm3lly has quit [Ping timeout: 240 seconds]
machuga is now known as machuga|away
digs has joined #ruby-lang
digs is now known as Guest3804
jsullivandigs has quit [Read error: Connection reset by peer]
ikrima has quit [Quit: Computer has gone to sleep.]
Gaelan has joined #ruby-lang
kgrz has joined #ruby-lang
DomKM has joined #ruby-lang
teleological has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 252 seconds]
Artheist has joined #ruby-lang
glebm has joined #ruby-lang
tdy has quit [Read error: Connection reset by peer]
MasterNayru has joined #ruby-lang
hashkey has joined #ruby-lang
<andrewvos> MouseTheLuckyDog: no
<andrewvos> Maybe rethink your design
madb055 has quit [Remote host closed the connection]
madb055 has joined #ruby-lang
mistym has joined #ruby-lang
cofin has joined #ruby-lang
MasterNayru_ has joined #ruby-lang
MasterNayru has quit [Ping timeout: 248 seconds]
<erikh> hello
tdy has joined #ruby-lang
MasterNayru_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
MasterNayru has joined #ruby-lang
s1n4 has joined #ruby-lang
s1n4 has quit [Changing host]
s1n4 has joined #ruby-lang
s1n4 has left #ruby-lang [#ruby-lang]
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
Tranquility has quit [Ping timeout: 245 seconds]
cofin has quit [Quit: cofin]
Gaelan has quit [Ping timeout: 240 seconds]
TheNotary has joined #ruby-lang
Gaelan has joined #ruby-lang
lsegal has joined #ruby-lang
mucker has joined #ruby-lang
CoverSlide has joined #ruby-lang
poga has joined #ruby-lang
benlovell has joined #ruby-lang
towski has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
krohrbaugh has joined #ruby-lang
mbj has quit [Read error: Operation timed out]
justinmb_ has joined #ruby-lang
TheNotary has quit [Quit: Leaving]
krohrbaugh has quit [Client Quit]
justinmb_ has quit [Remote host closed the connection]
mbj has joined #ruby-lang
towski has quit [Remote host closed the connection]
<andrewvos> hi
towski has joined #ruby-lang
TheNotary has joined #ruby-lang
TheNotary has quit [Client Quit]
dhruvasagar has quit [Remote host closed the connection]
teleological has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
towski has quit [Remote host closed the connection]
teleological has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 252 seconds]
teleological has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
ruurd has joined #ruby-lang
teleological has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby-lang
benxao has quit [Remote host closed the connection]
madb055 has quit [Ping timeout: 252 seconds]
maxmanders has quit [Client Quit]
<erikh> eam: btw, I looked today while doing some other smartos stuff, it indeed can pxe boot
<erikh> not sure why I thought it couldn't
Sm3lly has joined #ruby-lang
mrfelix has quit [Quit: Textual IRC Client: www.textualapp.com]
djwonk has joined #ruby-lang
enebo has quit [Quit: enebo]
teleological has joined #ruby-lang
arubin has joined #ruby-lang
teleological has quit [Remote host closed the connection]
MasterNayru has quit [Ping timeout: 248 seconds]
MasterNayru has joined #ruby-lang
LinkedoT has quit [Quit: Leaving]
bnagy has joined #ruby-lang
ia___ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
FlyingLeap has quit [Quit: No Ping reply in 180 seconds.]
FlyingLeap has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 252 seconds]
FlyingLeap has quit [Client Quit]
maxmanders has joined #ruby-lang
FlyingLeap has joined #ruby-lang
poga has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
dingus_khan has joined #ruby-lang
LinkedoT has joined #ruby-lang
workmad3 has joined #ruby-lang
jperry has joined #ruby-lang
ia___ has quit [Remote host closed the connection]
megha has quit [Ping timeout: 245 seconds]
baba has joined #ruby-lang
symm- has joined #ruby-lang
jvrmaia has joined #ruby-lang
ia___ has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
pipework has joined #ruby-lang
jxie has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
ryez has joined #ruby-lang
benlovell has joined #ruby-lang
baba has quit [Quit: WeeChat 0.4.0]
wallerdev has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
baba has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
ryez has quit [Ping timeout: 250 seconds]
ryez has joined #ruby-lang
<yorickpeterse> MouseTheLuckyDog: a copy *or* a reference? wat
<yxhuvud> why choose? copy the reference!
<ruurd> reference the copy!
krohrbaugh has joined #ruby-lang
ia___ has quit [Quit: ia___]
spacesuit has joined #ruby-lang
ia___ has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
spacesuit has quit [Client Quit]
hashkey has quit []
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
dhruvasagar has joined #ruby-lang
teleological has joined #ruby-lang
dingus_khan has joined #ruby-lang
swav has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
hashkey has joined #ruby-lang
PacketMonkey has quit [Ping timeout: 276 seconds]
PacketMonkey has joined #ruby-lang
brownies has quit [Ping timeout: 245 seconds]
brownies has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
mdedetrich has joined #ruby-lang
maxmanders has joined #ruby-lang
workmad3 has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
teleological has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 256 seconds]
mucker has quit [Quit: leaving]
benlovell has quit [Quit: leaving]
<MouseTheLuckyDog> yorickpeterse, So I have a hash with the same 100 element array in 100 places. I then add an element to one of the places. How can I be sure that putting the element into that one place will ad it to all the others?
<MouseTheLuckyDog> s/ad/add/
MasterNayru has quit [Remote host closed the connection]
swav has joined #ruby-lang
EvilJStoker has joined #ruby-lang
EvilJStoker has quit [Changing host]
EvilJStoker has joined #ruby-lang
Guest84241 has quit [Ping timeout: 271 seconds]
s1n4 has joined #ruby-lang
s1n4 is now known as Guest99046
Guest99046 has quit [Client Quit]
Nisstyre has joined #ruby-lang
pipework has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
pipework has joined #ruby-lang
cofin has joined #ruby-lang
Sm3lly has quit [Ping timeout: 256 seconds]
dingus_khan has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
<injekt> dbussink: no idea, I hadn't checked that. Maybe priority, not sure
Gaelan has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
elia has joined #ruby-lang
dingus_khan has joined #ruby-lang
bri has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 264 seconds]
<workmad3> MouseTheLuckyDog: if all 100 places are references to the same object, then yes
<MouseTheLuckyDog> Sigh.
<MouseTheLuckyDog> workmad3: That was my original question.
<MouseTheLuckyDog> yorickpeterse, So I have a hash with the same 100 element array in 100 places. I then add an element to one of the places. How can I be sure that putting the element into that one place will ad it to all the others?
<MouseTheLuckyDog> I want to create a hash where the values are arrays. How can I guarantee that the hash value is a reference to the array, or a copy of the array?
<MouseTheLuckyDog> Sorry aboutt he first question --my mistake.
<hagabaka> when you use assignment in ruby, it's always a reference
<workmad3> ^^
<hagabaka> a copy is made only when you use .dup or similar
<workmad3> .dup or .clone are the normal ones
sush24 has joined #ruby-lang
<MouseTheLuckyDog> Ok. Got it.
bri has joined #ruby-lang
Gaelan has joined #ruby-lang
marr has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
hhatch has quit [Ping timeout: 248 seconds]
elia has joined #ruby-lang
marcostoledo has joined #ruby-lang
zachlatta has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
Jungy has quit [Ping timeout: 248 seconds]
symm- has quit [Ping timeout: 245 seconds]
marcostoledo has quit [Quit: Leaving...]
pipework has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
jperry has quit [Quit: jperry]
teleological has joined #ruby-lang
[[thufir]] has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
kith_ has joined #ruby-lang
kith has quit [Read error: Connection reset by peer]
teleological has quit [Remote host closed the connection]
coffeejunk has quit [Ping timeout: 240 seconds]
glebm has quit [Ping timeout: 245 seconds]
glebm has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
cofin has quit [Quit: cofin]
Artheist has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
kith has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
kith_ has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 256 seconds]
oldbay has joined #ruby-lang
stamina has quit [Read error: Operation timed out]
oldbay has quit [Quit: Leaving]
oldbay has joined #ruby-lang
ruurd has joined #ruby-lang
Raynes has quit [Quit: ZNC - http://znc.sourceforge.net]
oldbay has quit [Client Quit]
oldbay has joined #ruby-lang
oldbay has quit [Client Quit]
[[thufir]] has quit [Ping timeout: 246 seconds]
[[thufir]] has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
dingus_khan has joined #ruby-lang
pipework has joined #ruby-lang
nertzy has quit [Read error: Connection reset by peer]
nertzy has joined #ruby-lang
[[thufir]] has quit [Ping timeout: 246 seconds]
setmeaway has joined #ruby-lang
dvorak has quit [Ping timeout: 245 seconds]
dvorak has joined #ruby-lang
[[thufir]] has joined #ruby-lang
Raynes_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
tbuehlmann has quit [Remote host closed the connection]
teleological has joined #ruby-lang
Raynes_ has left #ruby-lang [#ruby-lang]
Raynes has joined #ruby-lang
teleological has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
coffeejunk has joined #ruby-lang
toretore has quit [Quit: Leaving]
teleological has joined #ruby-lang
saarinen has quit [Quit: saarinen]
teleological has quit [Remote host closed the connection]
<naquad> "6173".scan(/../).map {|x| x.hex.chr}.join('') => 'as' - any better solution?
mdedetrich has quit [Quit: Computer has gone to sleep.]
ia___ has quit [Quit: ia___]