apeiros changed the topic of #ruby-lang to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste code on https://gist.github.com
wallerdev_ has joined #ruby-lang
wallerdev has quit [Ping timeout: 250 seconds]
wallerdev_ is now known as wallerdev
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DLSteve has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
joshs has quit []
tosbourn has joined #ruby-lang
JEG2 has quit [Quit: Connection closed for inactivity]
gwendall has quit [Remote host closed the connection]
EricTheAwful has joined #ruby-lang
rbowlby_ has joined #ruby-lang
tosbourn has quit [Ping timeout: 256 seconds]
elia has quit [Ping timeout: 246 seconds]
|jemc| has quit [Ping timeout: 246 seconds]
rbowlby has quit [Ping timeout: 256 seconds]
cpt_yossarian has quit [Ping timeout: 244 seconds]
cpt_yossarian has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
|jemc| has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
Averna has joined #ruby-lang
tkuchiki has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 246 seconds]
aeze has quit [Quit: aeze]
wallerdev has quit [Quit: wallerdev]
lytol has quit [Remote host closed the connection]
hinbody has joined #ruby-lang
elia has joined #ruby-lang
wprice has joined #ruby-lang
znz_jp has quit [Quit: kill -QUIT $$]
bnagy has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby-lang
hahuang65 has quit [Ping timeout: 276 seconds]
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexAltea has quit [Ping timeout: 244 seconds]
znz_jp has joined #ruby-lang
fujimura has joined #ruby-lang
charliesome has quit [Quit: zzz]
davispuh has quit [Ping timeout: 250 seconds]
haraoka has joined #ruby-lang
sankaber has joined #ruby-lang
elia has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby-lang
elia has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
centrx has quit [Quit: Shutting down, Please wait...]
chouhoul_ has joined #ruby-lang
amclain has joined #ruby-lang
riotjones has joined #ruby-lang
chouhoulis has quit [Ping timeout: 250 seconds]
riotjones has quit [Ping timeout: 264 seconds]
alessandro has quit [Ping timeout: 246 seconds]
wprice has quit [Quit: wprice]
gwendall has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
dorei has quit []
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
alessandro has joined #ruby-lang
mark06 has joined #ruby-lang
wprice has joined #ruby-lang
lytol has joined #ruby-lang
lytol has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
sledwin has quit [Ping timeout: 246 seconds]
fujimura has quit [Remote host closed the connection]
michael_mbp has joined #ruby-lang
lnr has joined #ruby-lang
lnr has left #ruby-lang [#ruby-lang]
mark06 has left #ruby-lang ["http://pidgin.renatosilva.me - Pidgin++"]
RickHull has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<RickHull> Hi, I'm looking for a basic remote execution framework. main requirements: SSH, output capture, some failure story with alerts and retries
<RickHull> Capistrano?
<RickHull> i'm hesitating on Capistrano only because it seems big, with possibly an outsized conceptual load. i could probably make chef do what i want with enough effort too
hahuang65 has joined #ruby-lang
<RickHull> zzak: long time no see :)
yfeldblum has joined #ruby-lang
<RickHull> bcardarella_: nice elixir post, couldn't agree more :)
wprice has quit [Quit: wprice]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
wprice has joined #ruby-lang
amystephen has quit [Quit: amystephen]
cytoskeletor has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
amystephen has joined #ruby-lang
amystephen has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
elcontrastador has joined #ruby-lang
elcontrastador has quit [Client Quit]
fedexo has joined #ruby-lang
Averna has quit [Quit: Leaving.]
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
flori has quit [Ping timeout: 265 seconds]
flori has joined #ruby-lang
Respek has joined #ruby-lang
cytomich1 has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
cytomich1 has left #ruby-lang [#ruby-lang]
cytomich1 has joined #ruby-lang
jefus_ has quit [Quit: Leaving]
cytomich1 has left #ruby-lang [#ruby-lang]
aghalarp has joined #ruby-lang
cytomich has joined #ruby-lang
yfeldblum has joined #ruby-lang
hendranata_ has joined #ruby-lang
wprice has quit [Quit: wprice]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cytomich has left #ruby-lang [#ruby-lang]
cytomich has joined #ruby-lang
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aghalarp has joined #ruby-lang
wprice has joined #ruby-lang
charliesome has joined #ruby-lang
riotjones has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
aghalarp has quit [Ping timeout: 255 seconds]
houhoulis has joined #ruby-lang
nedp has joined #ruby-lang
riotjones has quit [Ping timeout: 256 seconds]
houhoulis has quit [Ping timeout: 250 seconds]
ianseyer has joined #ruby-lang
djbkd has joined #ruby-lang
gix has quit [Ping timeout: 240 seconds]
djbkd has quit [Ping timeout: 240 seconds]
gix has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbowlby has joined #ruby-lang
ianseyer has quit [Quit: leaving]
rbowlby_ has quit [Ping timeout: 245 seconds]
lytol has joined #ruby-lang
tosbourn has joined #ruby-lang
fedexo has quit [Ping timeout: 245 seconds]
lytol has quit [Ping timeout: 256 seconds]
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
tosbourn has quit [Ping timeout: 264 seconds]
nathanstitt has quit [Client Quit]
joaomdmoura has joined #ruby-lang
<wprice> nick wprice_zzz
cytoskeletor has quit [Ping timeout: 256 seconds]
wprice is now known as wprice_zzz
havenwood has quit []
mark06 has joined #ruby-lang
CaptainCibai has quit [Remote host closed the connection]
caseypatrickdris has quit [Remote host closed the connection]
LMity has joined #ruby-lang
nedp has quit [Remote host closed the connection]
charliesome has quit [Read error: Connection reset by peer]
bnagy has joined #ruby-lang
LMity has quit [Ping timeout: 250 seconds]
auzty has joined #ruby-lang
charliesome has joined #ruby-lang
cb__ has joined #ruby-lang
cb__ has joined #ruby-lang
cengizIO has joined #ruby-lang
lytol has joined #ruby-lang
nedp has joined #ruby-lang
aeze has joined #ruby-lang
lytol has quit [Ping timeout: 250 seconds]
cb__ has quit [Remote host closed the connection]
cengizIO has quit [Quit: Textual IRC Client: www.textualapp.com]
cengizIO has joined #ruby-lang
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
|jemc| has quit [Ping timeout: 246 seconds]
mistym has quit [Ping timeout: 256 seconds]
aeze has quit [Quit: aeze]
mistym has joined #ruby-lang
CatMartyn has joined #ruby-lang
hahuang65 has quit [Quit: Connection closed for inactivity]
riotjones has joined #ruby-lang
riotjones has quit [Ping timeout: 250 seconds]
scepticulous has joined #ruby-lang
<scepticulous> is there a way to split a string into parts at exactly one character. For example split "aabbaa" at "b" to create ["aa,"b","aa"] and not ["aa","","aa"]
skade has joined #ruby-lang
fedexo has joined #ruby-lang
<bnagy> not exactly
<bnagy> >> "aabbaa".split(/(bb)/)
<eval-in> bnagy => ["aa", "bb", "aa"] (https://eval.in/311290)
<bnagy> you'd need to squeeze the separator yourself
cengizIO has quit [Quit: Textual IRC Client: www.textualapp.com]
dellavg_ has joined #ruby-lang
futilegames has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
cengizIO has joined #ruby-lang
charliesome__ has joined #ruby-lang
futilegames has quit [Quit: futilegames]
yfeldblum has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
cengizIO has quit [Ping timeout: 272 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
twe4ked has quit [Ping timeout: 245 seconds]
twe4ked has joined #ruby-lang
chussenot has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
lytol has joined #ruby-lang
riotjones has joined #ruby-lang
lytol has quit [Ping timeout: 265 seconds]
fedexo has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
elia has joined #ruby-lang
chussenot has quit [Quit: chussenot]
ur5us has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
mark06 has left #ruby-lang ["http://pidgin.renatosilva.me - Pidgin++"]
doppler has quit [Quit: Page closed]
riotjones has quit [Quit: Leaving...]
skade has quit [Quit: Computer has gone to sleep.]
vipaca has joined #ruby-lang
elia has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby-lang
tosbourn has joined #ruby-lang
skade has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
riotjones has joined #ruby-lang
tosbourn has quit [Ping timeout: 244 seconds]
sankaber has quit [Ping timeout: 250 seconds]
chinmay_dd has joined #ruby-lang
skade has quit [Ping timeout: 276 seconds]
amclain has quit [Quit: Leaving]
djbkd has joined #ruby-lang
tsujp has joined #ruby-lang
michael_mbp has quit [Excess Flood]
vondruch has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 245 seconds]
michael_mbp has joined #ruby-lang
solars has joined #ruby-lang
skade has joined #ruby-lang
djbkd has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
ta has joined #ruby-lang
yfeldblum has joined #ruby-lang
gwendall has joined #ruby-lang
beat has joined #ruby-lang
<djellemah> jhass: symbolhound - I've wished for that many times :-D
Iskarlar has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
kerunaru has joined #ruby-lang
<jhass> >> "aabbaa".parition("b")
<eval-in> jhass => undefined method `parition' for "aabbaa":String (NoMethodError) ... (https://eval.in/311419)
<jhass> >> "aabbaa".partition("b")
<eval-in> jhass => ["aa", "b", "baa"] (https://eval.in/311420)
<jhass> mh, thought it did that :P
yfeldblum has quit [Ping timeout: 240 seconds]
<RickHull> it's funny that the question asks about splitting on a single char yet exemplifies a sequence of chars e.g. "bb"
<RickHull> is it a typo?
yfeldblum has joined #ruby-lang
<ljarvis> >> "aabbaa".scan(/([^b]+|b)b?/).flatten
<eval-in> ljarvis => ["aa", "b", "aa"] (https://eval.in/311426)
arBmind has joined #ruby-lang
<RickHull> ljarvis: ftw, but sloppy imho ;)
<djellemah> >>"aabbaa".split /(b)b+/
<eval-in> djellemah => ["aa", "b", "aa"] (https://eval.in/311431)
<ljarvis> djellemah: just thought of that.. I over complicated it massively
<ljarvis> props
<jhass> yeah, neat
vondruch has quit [Ping timeout: 246 seconds]
joaomdmoura has quit [Remote host closed the connection]
<djellemah> who needs giants' shoulders when you have a bunch of other people ;-)
<RickHull> unreliable other people <grumble>
<RickHull> and yeah, sounds like a distinction without a difference
vondruch has joined #ruby-lang
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beat has joined #ruby-lang
beat has quit [Client Quit]
vondruch has quit [Client Quit]
vondruch has joined #ruby-lang
lytol has joined #ruby-lang
<djellemah> I think it's cool that a bunch of people can come up with a solution, faster than any one could individually. And probably a better fit for the problem too.
<RickHull> crowdsourcing ftw
tosbourn has joined #ruby-lang
lytol has quit [Ping timeout: 252 seconds]
Forgetful_Lion has joined #ruby-lang
charliesome__ has quit [Quit: zzz]
tosbourn has quit [Ping timeout: 246 seconds]
ledestin has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar_ has joined #ruby-lang
Bertg has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
elia has joined #ruby-lang
CatMartyn has quit [Quit: Textual IRC Client: www.textualapp.com]
Iskarlar_ has quit [Quit: Textual IRC Client: www.textualapp.com]
chinmay_dd has quit [Quit: Leaving]
Iskarlar has joined #ruby-lang
RickHull has left #ruby-lang [#ruby-lang]
brushbox has quit [Quit: Leaving.]
<maloik> code that replaces a customer's dns records? easy. no need for a test!
<maloik> (tableflip)
<maloik> **slowly steps backwards**
marr has joined #ruby-lang
Iskarlar_ has joined #ruby-lang
Iskarlar has quit [Ping timeout: 245 seconds]
Iskarlar has joined #ruby-lang
skade has joined #ruby-lang
Iskarlar_ has quit [Ping timeout: 250 seconds]
<ljarvis> *puts on wizard hat*
tkuchiki has quit [Remote host closed the connection]
<maloik> how is that going to help me at all, lee
<maloik> HOW
<maloik> :-(
<ljarvis> :(
<surrounder> hahahaha
<surrounder> briliant
<maloik> lmao
<ljarvis> good ole bash.org
<maloik> I love how that site is still around
tosbourn has joined #ruby-lang
tkuchiki has joined #ruby-lang
djbkd has joined #ruby-lang
GBrawl has joined #ruby-lang
<yorickpeterse> morning
Zen-Zen has quit []
JohnBat26 has joined #ruby-lang
djbkd has quit [Ping timeout: 250 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
c0m0 has joined #ruby-lang
Xzyx987X has quit [Read error: Connection reset by peer]
Xzyx987X has joined #ruby-lang
chussenot has joined #ruby-lang
cornerma1 has joined #ruby-lang
kerunaru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kerunaru has joined #ruby-lang
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
workmad3 has joined #ruby-lang
nedp has quit [Remote host closed the connection]
stan has joined #ruby-lang
universaL is now known as universa1
<maloik> ohai
AlexAltea has joined #ruby-lang
lloyd is now known as Lloyd
universa1 is now known as universaL
universaL is now known as universa1
cytomich has quit [Quit: Leaving.]
tosbourn has quit [Remote host closed the connection]
canton7 has quit [Quit: ZNC - http://znc.in]
canton7 has joined #ruby-lang
canton7 has quit [Changing host]
canton7 has joined #ruby-lang
marr has quit []
marr has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
duderonomy has joined #ruby-lang
tosbourn has joined #ruby-lang
lytol has joined #ruby-lang
universa1 is now known as universal
universal is now known as universa1
alessandro has quit [Ping timeout: 244 seconds]
lytol has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
havenwood has joined #ruby-lang
ta has quit [Remote host closed the connection]
alessandro has joined #ruby-lang
djbkd has joined #ruby-lang
dhjondoh has joined #ruby-lang
ta has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 245 seconds]
Bertg has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
tsujp has quit [Quit: tsujp is snoozing]
ta has quit [Remote host closed the connection]
symm- has joined #ruby-lang
gwendall has joined #ruby-lang
ta has joined #ruby-lang
hendranata_ has quit [Remote host closed the connection]
nedp has joined #ruby-lang
auzty has quit [Quit: Leaving]
A124 is now known as A124_
A124_ is now known as A124
HayesHimself has joined #ruby-lang
Respek has quit [Quit: gone to sleep. ZZZzzz…]
doosy has joined #ruby-lang
LMity has joined #ruby-lang
universa1 is now known as universal
universal is now known as universa1
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby-lang
mikecmpbll has joined #ruby-lang
stamina has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LMity has quit [Ping timeout: 256 seconds]
casshern2 has joined #ruby-lang
tsujp has joined #ruby-lang
ur5us has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
b_hoffman has joined #ruby-lang
ta has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
lytol has joined #ruby-lang
sankaber has joined #ruby-lang
michael_mbp has joined #ruby-lang
lytol has quit [Ping timeout: 240 seconds]
sankaber has quit [Max SendQ exceeded]
sankaber has joined #ruby-lang
ta has joined #ruby-lang
sankaber has quit [Max SendQ exceeded]
a11 has joined #ruby-lang
dabradley has quit [Ping timeout: 248 seconds]
sankaber has joined #ruby-lang
sankaber has quit [Client Quit]
mlangenberg has joined #ruby-lang
Bertg has joined #ruby-lang
<mlangenberg> What app server is recommended for handling websocket connections in Faye?
<mlangenberg> Currently using Thin, but reaching high CPU usage with ~2000 conns per process.
pico-pete has quit [Ping timeout: 252 seconds]
pico-pete has joined #ruby-lang
tkuchiki has quit [Ping timeout: 256 seconds]
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bertg has joined #ruby-lang
SylarRuby has joined #ruby-lang
doosy has quit []
symm- has quit [Ping timeout: 245 seconds]
ldnunes has joined #ruby-lang
mlangenberg has quit [Quit: mlangenberg]
<lianj> puma
stamina has quit [Quit: WeeChat 1.1.1]
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby-lang
a11 has quit []
ruby-lang771 has joined #ruby-lang
brushbox has joined #ruby-lang
<ruby-lang771> ku?
ruby-lang771 has quit [Client Quit]
ta has quit [Remote host closed the connection]
ruby-lang174 has joined #ruby-lang
gwendall has quit [Ping timeout: 252 seconds]
mlangenberg has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
workmad3 has joined #ruby-lang
Newbie0086 has joined #ruby-lang
A124 is now known as A124_
b_hoffman has quit [Quit: b_hoffman]
aeze has joined #ruby-lang
Newbie0086 has quit [Ping timeout: 250 seconds]
dhjondoh has quit [Quit: dhjondoh]
b_hoffman has joined #ruby-lang
Lloyd is now known as lloyd
stef204 has joined #ruby-lang
gwendall has joined #ruby-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Newbie0086 has joined #ruby-lang
A124_ is now known as A124
havenwood has quit [Remote host closed the connection]
gwendall has quit [Ping timeout: 272 seconds]
michael_mbp has quit [Excess Flood]
jefus has joined #ruby-lang
gwendall has joined #ruby-lang
michael_mbp has joined #ruby-lang
amystephen has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
michael_mbp has quit [Excess Flood]
dhjondoh has joined #ruby-lang
dhjondoh has quit [Client Quit]
chussenot has quit [Quit: chussenot]
michael_mbp has joined #ruby-lang
SylarRuby has quit [Remote host closed the connection]
brushbox has quit [Quit: Leaving.]
arBmind has quit [Quit: Leaving.]
aeze has quit [Quit: aeze]
b_hoffman has joined #ruby-lang
stonith has quit [Read error: Connection reset by peer]
beat has joined #ruby-lang
stonith has joined #ruby-lang
godzillaenlacasa has joined #ruby-lang
tosbourn has quit [Remote host closed the connection]
sankaber has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
aeze has joined #ruby-lang
ta has joined #ruby-lang
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
ta_ has joined #ruby-lang
tosbourn has joined #ruby-lang
SylarRuby has joined #ruby-lang
mlangenberg has quit [Quit: mlangenberg]
ta_ has quit [Ping timeout: 252 seconds]
aeze has quit [Quit: aeze]
lytol has joined #ruby-lang
lloyd is now known as Lloyd
ur5us has quit [Remote host closed the connection]
dabradley has joined #ruby-lang
joaomdmoura has joined #ruby-lang
lytol has quit [Ping timeout: 240 seconds]
joaomdmoura has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
chadrien has quit [Ping timeout: 246 seconds]
sgambino has joined #ruby-lang
sgambino has quit [Remote host closed the connection]
sgambino has joined #ruby-lang
chadrien has joined #ruby-lang
ur5us has quit [Ping timeout: 250 seconds]
maloik has quit [Ping timeout: 248 seconds]
maloik has joined #ruby-lang
shazaum has joined #ruby-lang
kaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
Newbie0086 has quit [Quit: 离开]
aeze has joined #ruby-lang
mlangenberg has joined #ruby-lang
stonith has quit [Quit: No Ping reply in 180 seconds.]
mateusz_ has joined #ruby-lang
enebo has joined #ruby-lang
stonith has joined #ruby-lang
ta has quit [Remote host closed the connection]
malconis has joined #ruby-lang
tockitj has quit [Ping timeout: 256 seconds]
Mark-6ma has joined #ruby-lang
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
arBmind has joined #ruby-lang
agarie has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
<mateusz_> I am making my first gem and I want to test whatever I listed all necessary dependencies in .gemspec. I expected that I will use rvm, but it has inheritance of gems from default gemset to all newly created gemsets. Removing all gems seems to be hack and using VM an overkill. Is there a proper way to do this?
ruby-lang174 has quit [Ping timeout: 246 seconds]
michael_mbp has quit [Excess Flood]
<jhass> I usually have a bare arch chroot I copy over for this, but you should get away with just setting GEM_HOME and GEM_PATH to empty an directory
nedp has quit [Remote host closed the connection]
chussenot has joined #ruby-lang
stonith has quit [Ping timeout: 240 seconds]
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
michael_mbp has joined #ruby-lang
godzillaenlacasa has quit [Quit: ZZZZZ....]
mateusz_ has quit [Ping timeout: 240 seconds]
joaomdmoura has joined #ruby-lang
sross07 has joined #ruby-lang
Lloyd is now known as lloyd
Tungki has joined #ruby-lang
<maloik> or if you want to make really really sure you didn't mess anything up, you could try using a vm
<jhass> gone already
<jhass> I do container these days for such stuff a lot
shazaum has quit [Ping timeout: 264 seconds]
sgambino_ has joined #ruby-lang
shazaum has joined #ruby-lang
<aeze> wouldn’t be too difficult with docker or something
<jhass> systemd-nspawn --template arch -D test_stuff
<jhass> done ;P
sgambino has quit [Ping timeout: 276 seconds]
mikecmpb_ has joined #ruby-lang
mateusz_ has joined #ruby-lang
riotjones has quit [Remote host closed the connection]
mateusz_ has quit [Client Quit]
riotjones has joined #ruby-lang
mikecmpbll has quit [Read error: Connection reset by peer]
ascarter has joined #ruby-lang
nathanstitt has joined #ruby-lang
stonith has joined #ruby-lang
stonith has joined #ruby-lang
chouhoul_ has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby-lang
setanta_ has joined #ruby-lang
tcopeland has joined #ruby-lang
sgambino_ has quit [Quit: Leaving...]
hollywoodthrill has joined #ruby-lang
mlangenberg has quit [Quit: mlangenberg]
godzillaenlacasa has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
adude has joined #ruby-lang
cartothemax has joined #ruby-lang
jefus has quit [Ping timeout: 276 seconds]
mlangenberg has joined #ruby-lang
mdarby has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has quit [Ping timeout: 264 seconds]
malconis has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
sgambino has joined #ruby-lang
tvon has joined #ruby-lang
lytol has joined #ruby-lang
rippa has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
adude has left #ruby-lang [#ruby-lang]
b_hoffman has joined #ruby-lang
jefus has joined #ruby-lang
lytol has quit [Ping timeout: 244 seconds]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joaomdmoura has joined #ruby-lang
beat has joined #ruby-lang
chussenot has quit [Ping timeout: 264 seconds]
mdarby has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 255 seconds]
mdarby has joined #ruby-lang
slawrence00 has joined #ruby-lang
cartothemax has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
djbkd has joined #ruby-lang
clauswitt has quit [Ping timeout: 252 seconds]
ta has joined #ruby-lang
rgb-one has joined #ruby-lang
djbkd has quit [Ping timeout: 276 seconds]
riotjones has joined #ruby-lang
existensil has quit [Ping timeout: 245 seconds]
cartothemax has joined #ruby-lang
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
Sgeo_ has quit [Ping timeout: 250 seconds]
existensil has joined #ruby-lang
|jemc| has joined #ruby-lang
chouhoulis has joined #ruby-lang
godzillaenlacasa has quit [Quit: ZZZZZ....]
riotjones has quit [Ping timeout: 264 seconds]
shinnya has joined #ruby-lang
nertzy has quit [Read error: No route to host]
nertzy has joined #ruby-lang
ta has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
HayesHimself has quit [Ping timeout: 255 seconds]
Bertg has joined #ruby-lang
havenwood has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
bantic has joined #ruby-lang
tkuchiki has joined #ruby-lang
malconis has joined #ruby-lang
guillaume-rb has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
cmisenas has joined #ruby-lang
lytol has joined #ruby-lang
nedp has joined #ruby-lang
agarie has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lytol has quit [Ping timeout: 244 seconds]
lytol has joined #ruby-lang
ta has joined #ruby-lang
mlangenberg has quit [Ping timeout: 252 seconds]
wprice_zzz has quit [Quit: wprice_zzz]
mikecmpb_ has quit [Quit: i've nodded off.]
chinmay_dd has joined #ruby-lang
whippythellama has joined #ruby-lang
ascarter has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdarby has quit [Read error: Connection reset by peer]
caseypatrickdris has quit [Ping timeout: 255 seconds]
eskay has joined #ruby-lang
<eskay> end
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eskay> quit
<jhass> eskay: irc commands start with a /
eskay has quit [Client Quit]
HayesHimself has joined #ruby-lang
eskay has joined #ruby-lang
rbowlby has joined #ruby-lang
<eskay> thanks to whoever it was that just explained I need to add a "/" before the commands!
ta has quit [Remote host closed the connection]
<jhass> yw
shinnya has quit [Ping timeout: 264 seconds]
joaomdmo_ has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
mdarby has joined #ruby-lang
malconis has quit [Ping timeout: 252 seconds]
Contigi has quit [Quit: Leaving]
malconis has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
godzillaenlacasa has joined #ruby-lang
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
LMity has joined #ruby-lang
michaeldeol has joined #ruby-lang
CamonZ has joined #ruby-lang
|jemc| has quit [Ping timeout: 250 seconds]
ta has joined #ruby-lang
|jemc| has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
mlangenberg has joined #ruby-lang
Respek has joined #ruby-lang
yxhuvud has quit [Read error: Connection reset by peer]
LMity has quit [Ping timeout: 252 seconds]
yxhuvud has joined #ruby-lang
stan has quit [Ping timeout: 250 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby-lang
mdarby has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mlangenberg has quit [Quit: mlangenberg]
mlangenberg has joined #ruby-lang
agarie has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
thelastinuit has joined #ruby-lang
Iskarlar has joined #ruby-lang
Iskarlar_ has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 264 seconds]
rbowlby has quit [Remote host closed the connection]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agarie has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Iskarlar has quit [Ping timeout: 276 seconds]
seanlerner has joined #ruby-lang
ascarter has joined #ruby-lang
seanlerner has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
bantic has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
mikecmpbll has joined #ruby-lang
djbkd has joined #ruby-lang
symm- has joined #ruby-lang
baweaver has joined #ruby-lang
wallerdev has joined #ruby-lang
byprdct has joined #ruby-lang
joaomdmo_ has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
byprdct has quit [Max SendQ exceeded]
c0m0 has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby-lang
byprdct has joined #ruby-lang
rbowlby has joined #ruby-lang
byprdct has quit [Max SendQ exceeded]
bantic has quit [Quit: bantic]
cartothemax has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
rbowlby has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 246 seconds]
tvon has quit [Quit: Lost terminal]
Tungki has quit [Ping timeout: 248 seconds]
godzillaenlacasa has quit [Quit: ZZZZZ....]
sgambino has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
tsujp has quit [Quit: tsujp is snoozing]
cb_ has joined #ruby-lang
cb_ has quit [Client Quit]
joaomdmoura has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
sgambino has joined #ruby-lang
gwendall has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
gwendall_ has joined #ruby-lang
alessandro has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby-lang
gwendall has quit [Ping timeout: 264 seconds]
joaomdmoura has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Ziioynx has joined #ruby-lang
sandelius has joined #ruby-lang
sandelius has quit [Client Quit]
casshern2 has quit [Ping timeout: 244 seconds]
beat has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
agarie has joined #ruby-lang
baweaver has joined #ruby-lang
Bertg has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
sandelius has joined #ruby-lang
alessandro has joined #ruby-lang
eskay has left #ruby-lang [#ruby-lang]
mlangenberg has quit [Quit: mlangenberg]
elia has joined #ruby-lang
baweaver has joined #ruby-lang
Respek has quit [Quit: gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 245 seconds]
cmisenas has quit [Quit: cmisenas]
rbowlby has joined #ruby-lang
tosbourn has quit [Remote host closed the connection]
cartothemax has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
|jemc| has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
djbkd_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
vipaca has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
djbkd_ has quit [Ping timeout: 250 seconds]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
ta has joined #ruby-lang
HayesHimself has quit [Ping timeout: 244 seconds]
arBmind has joined #ruby-lang
agarie has quit [Read error: Connection reset by peer]
gwendall_ has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
skade has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
GBrawl has quit [Quit: (null)]
leat has quit [Quit: leat]
gwendall has quit [Ping timeout: 240 seconds]
minotep has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
godzillaenlacasa has joined #ruby-lang
casshern2 has joined #ruby-lang
ta has quit [Remote host closed the connection]
jefus has quit [Quit: Leaving]
symm- has joined #ruby-lang
rgb-one has quit [Ping timeout: 252 seconds]
hollywoodthrill has quit [Quit: Leaving.]
nertzy has quit [Quit: This computer has gone to sleep]
chinmay_dd has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby-lang
SylarRuby has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
mdarby has joined #ruby-lang
bantic has joined #ruby-lang
baweaver has joined #ruby-lang
banister has joined #ruby-lang
tosbourn has joined #ruby-lang
bruno- has joined #ruby-lang
cartothemax has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cartothemax has joined #ruby-lang
bruno- has joined #ruby-lang
riotjones has joined #ruby-lang
dagda1_ has joined #ruby-lang
mlangenberg has joined #ruby-lang
tosbourn has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
skade has joined #ruby-lang
bruno- has quit [Ping timeout: 245 seconds]
beat has joined #ruby-lang
riotjones has quit [Ping timeout: 252 seconds]
skade has quit [Client Quit]
tcopeland has quit [Ping timeout: 250 seconds]
hahuang65 has quit [Ping timeout: 252 seconds]
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has joined #ruby-lang
marr has joined #ruby-lang
HayesHimself has joined #ruby-lang
cartothemax has quit [Remote host closed the connection]
Bertg has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
bruno- has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has quit [Remote host closed the connection]
cartothemax has joined #ruby-lang
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
melter has joined #ruby-lang
skade has joined #ruby-lang
Bertg has quit [Remote host closed the connection]
caseypatrickdris has quit [Remote host closed the connection]
nertzy has joined #ruby-lang
Bertg has joined #ruby-lang
workmad3 has joined #ruby-lang
<[spoiler]> TIL: Ruby uses Onigurama to handle multibyte encodings and not ICU
sgambino has quit [Remote host closed the connection]
aghalarp has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michael_mbp has quit [Excess Flood]
yfeldblum has joined #ruby-lang
<darix> [spoiler]: isnt Onigurama just a regexp library?
<[spoiler]> darix: I thought that, too!
<darix> yeah
sgambino_ has joined #ruby-lang
<darix> it just happens to support multiple encodings
<[spoiler]> Yeah
tsujp has joined #ruby-lang
<[spoiler]> But Ruby uses it for string encodings in general
michael_mbp has joined #ruby-lang
<darix> aha
<darix> anyway
<darix> old news
<darix> does that since 1.9
<darix> :p
kadoppe has quit [Ping timeout: 246 seconds]
<darix> (that was the time when i started packaging it)
wallerdev has quit [Quit: wallerdev]
<[spoiler]> I kinda assumed it used ICU for encoding and Onig just for regexp
<[spoiler]> Oh well
<[spoiler]> rb_encoding is even just typedef'd to OnigEncodingType
<[spoiler]> Lol
<[spoiler]> Well, it's 2 birds with 1 stone, I suppose
kadoppe has joined #ruby-lang
baweaver has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby-lang
djbkd_ has joined #ruby-lang
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lytol has joined #ruby-lang
dagda1 has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 252 seconds]
djbkd_ has quit [Ping timeout: 256 seconds]
sgambino_ has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
Bertg has joined #ruby-lang
Bertg has quit [Client Quit]
duderonomy has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby-lang
SylarRuby has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caseypatrickdris has joined #ruby-lang
leat has joined #ruby-lang
nedp has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
djbkd has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
Zen-Zen has joined #ruby-lang
cmisenas has joined #ruby-lang
cmisenas has quit [Client Quit]
sgambino has joined #ruby-lang
Zen-Zen has quit [Client Quit]
baweaver has joined #ruby-lang
cornerma1 has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
joaomdmoura has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
sarkyniin has joined #ruby-lang
tosbourn has joined #ruby-lang
joaomdmoura has joined #ruby-lang
tosbourn has quit [Ping timeout: 250 seconds]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
mdarby has quit [Quit: Textual IRC Client: www.textualapp.com]
godzillaenlacasa has quit [Quit: ZZZZZ....]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ta has joined #ruby-lang
ascarter has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
ascarter has quit [Max SendQ exceeded]
dellavg_ has quit [Ping timeout: 264 seconds]
ascarter has joined #ruby-lang
tcopeland has joined #ruby-lang
djbkd has joined #ruby-lang
dagda1 has quit [Ping timeout: 245 seconds]
cpt_yossarian has quit [Read error: Connection reset by peer]
cpt_yossarian has joined #ruby-lang
momomomomo has quit [Ping timeout: 272 seconds]
dagda1 has joined #ruby-lang
fusillicode1 has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
bb010g has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
cartothemax has quit [Quit: Leaving...]
duderonomy has joined #ruby-lang
aeze has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby-lang
tcopeland has quit [Quit: Leaving.]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang987 has joined #ruby-lang
<ruby-lang987> hi
<havenwood> ruby-lang987: hi
ldnunes has quit [Quit: Leaving]
specialblend has joined #ruby-lang
specialblend has quit [Client Quit]
specialblend has joined #ruby-lang
specialblend has quit [Client Quit]
specialblend has joined #ruby-lang
shazaum has quit [Quit: Leaving]
ruby-lang987 has quit [Ping timeout: 246 seconds]
elia has joined #ruby-lang
ta has quit [Remote host closed the connection]
sgambino has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 265 seconds]
ruby-lang203 has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpt_yossarian has quit [Quit: And then he took off.]
ruby-lang203 has quit [Client Quit]
cryo28 has joined #ruby-lang
cryo28 has quit [Client Quit]
cryo28 has joined #ruby-lang
cryo28 has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mlangenberg has quit [Quit: mlangenberg]
nathanstitt has quit [Ping timeout: 250 seconds]
Iskarlar_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cryo28 has joined #ruby-lang
cryo28 has quit [Client Quit]
djbkd_ has joined #ruby-lang
cryo28 has joined #ruby-lang
cryo28 has quit [Client Quit]
godzillaenlacasa has joined #ruby-lang
cryo28 has joined #ruby-lang
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dorei has joined #ruby-lang
djbkd_ has quit [Ping timeout: 252 seconds]
lewix has joined #ruby-lang
lewix has joined #ruby-lang
marr has quit []
whippythellama has quit [Quit: whippythellama]
tsujp has quit [Quit: tsujp is snoozing]
RobertBirnie has joined #ruby-lang
cryo28 has quit [Quit: leaving]
cryo28 has joined #ruby-lang
cryo28 has quit [Client Quit]
cryo28 has joined #ruby-lang
baweaver has joined #ruby-lang
cryo28 has quit [Client Quit]
RobertBirnie has quit [Max SendQ exceeded]
elia has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby-lang
elia has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
caseypatrickdris has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
aghalarp has joined #ruby-lang
RobertBirnie has joined #ruby-lang
rgb-one has joined #ruby-lang
Sgeo has joined #ruby-lang
specialblend has quit [Quit: specialblend]
RobertBirnie has quit [Max SendQ exceeded]
lewix has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
charliesome has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mark-6ma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
HayesHimself has quit [Quit: Textual IRC Client: www.textualapp.com]
RobertBirnie has quit [Ping timeout: 276 seconds]
Asher has quit [Ping timeout: 245 seconds]
joaomdmoura has joined #ruby-lang
charliesome has quit [Ping timeout: 252 seconds]
cpt_yossarian has quit [Ping timeout: 264 seconds]
AlexAltea has quit [Read error: Connection reset by peer]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
mlangenberg has joined #ruby-lang
mlangenberg has quit [Client Quit]
mxb has joined #ruby-lang
workmad3 has joined #ruby-lang
<mxb> hello all. I'm new to ruby, and am most of the way through a script I'm trying to complete. I'm trying to read a text file and write the values to a new file in a different way. Anyone out there available to help me?
<mxb> Apologies if I'm in the wrong place.
ur5us has joined #ruby-lang
riotjones has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
riotjones has quit [Ping timeout: 250 seconds]
LMity has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
<jhass> mxb: just ask your actual question, not for somebody that might have the solution ;)
<mxb> Lovely. I havea text file with 2 columns: a unique two character code in one column, and a digit in the other column. The digits are unique per 2-char code, but overlap overall. I want to write a loop that will ouput the code once, and then the digits associated with that code.
nathanstitt has joined #ruby-lang
<mxb> I have about 30 lines of code, and I'm able to output one value from each column, but it just repeats that value
ledestin has joined #ruby-lang
<mxb> I'm a n00b at syntax, so I'm not sure how to store my values
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
LMity has quit [Ping timeout: 264 seconds]
b_hoffman has joined #ruby-lang
<bnagy> mxb: paste input and desired output on gist or somewhere
<weaksauce> mxb gist what you have tried and we can help you up
<weaksauce> out*
<bnagy> this sounds like a one-liner
rgb-one has quit [Ping timeout: 252 seconds]
b_hoffman has quit [Client Quit]
<mxb> thanks all, here's what I've got so far https://gist.github.com/anonymous/ceb862287b78a2368c6e
<mxb> the input is a text file with 2 columns and a header row
<bnagy> show input and desired output
<mxb> ok stand by
<bnagy> >> [[1,2],[2,2],[3,1],[4,2]].group_by {|(a,b)| b}
<eval-in> bnagy => {2=>[[1, 2], [2, 2], [4, 2]], 1=>[[3, 1]]} (https://eval.in/311900)
<bnagy> if you haven't seen group_by btw
<baweaver> >> "1,2\n2,3\n3,4".lines.map { |v| v.chomp.split(',') }.group_by(&:last)
<eval-in> baweaver => {"2"=>[["1", "2"]], "3"=>[["2", "3"]], "4"=>[["3", "4"]]} (https://eval.in/311901)
rgb-one has joined #ruby-lang
cryo28 has joined #ruby-lang
alessandro has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby-lang
<mxb> obvious the SQL I'll hardcode as text, but just for reference
lytol has quit [Remote host closed the connection]
<bnagy> yeah, so read it in as an array of tuples, then use group_by as above
cryo28 has quit [Client Quit]
mattyohe has quit [Quit: Connection closed for inactivity]
Sgeo has quit [Ping timeout: 244 seconds]
Sgeo has joined #ruby-lang
<baweaver> >> "CA 12\nCA 11\nCA 10\nAL 11\nAL 19\nAK 20\nAR 28\nAK 11\nGA 10\nGA 32".lines.map(&:split).group_by(&:first).map { |g, v| [g, v.map(&:last)] }.to_h
<eval-in> baweaver => {"CA"=>["12", "11", "10"], "AL"=>["11", "19"], "AK"=>["20", "11"], "AR"=>["28"], "GA"=>["10", "32"]} (https://eval.in/311902)
<mxb> right, so that is the way to manually do it, thanks for that. The real file has 500 lines.
<baweaver> ....mate, there's a thing called an example
<mxb> gotcha thanks :)
<bnagy> you can get the starting string with File.read(fname) :)
b_hoffman has joined #ruby-lang
* baweaver lowers eyebrow slowly
dagda1 has quit [Read error: Connection reset by peer]
godzillaenlacasa has quit [Quit: ZZZZZ....]
<mxb> I appreciate your patience, I've never written in Ruby before, so I'm still learning how things are called in and stored.
<bnagy> that output will map easily to autogen your desired output
dagda1 has joined #ruby-lang
<baweaver> Enumerable
<baweaver> read through the docs of that, it's where most of the power is.
<mxb> at the moment I assign header names so I can find my columns easily
<baweaver> especially things like map, reduce, find, select, and group_by
wallerdev has quit [Quit: wallerdev]
<mxb> then I read them into memory
<baweaver> >> data = {"CA"=>["12", "11", "10"], "AL"=>["11", "19"], "AK"=>["20", "11"], "AR"=>["28"], "GA"=>["10", "32"]}; data['CA']
<eval-in> baweaver => ["12", "11", "10"] (https://eval.in/311903)
<baweaver> hash does that.
cryo28 has joined #ruby-lang
<baweaver> your headers are the keys effectively.
<mxb> yep, I think I do that here: state_code = fields[headers["state"]].downcase
<bnagy> result.map {|k,v| "update_#{k.downcase} set active = 0 where id in (#{v.join(',')})"}
<bnagy> wfm
<bnagy> two lines
<bnagy> well one if you chain
<bnagy> the beauty and appalling horror of ruby in one solution :(
<baweaver> Linebreaks :D
<baweaver> anyways
<mxb> I'll play with it, thanks for everyone's help
<bnagy> good luck
workmad3 has quit [Ping timeout: 252 seconds]
tosbourn has joined #ruby-lang
<baweaver> read through that when you have time
<bnagy> might be hard going from here, but I'm sure you'll be up to it
<mxb> :)
<baweaver> also note that most Ruby people use two space indentation.
<bnagy> sometimes gist doesn't, though
<baweaver> but stylistic.
<bnagy> fwiw I hate that indented dotchain style
enebo has quit [Quit: enebo]
<bnagy> but stylistic ;)
michael_mbp has quit [Excess Flood]
lytol has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
<bnagy> blah airports
tosbourn has quit [Ping timeout: 250 seconds]
michael_mbp has joined #ruby-lang
crdpink has quit [Ping timeout: 245 seconds]
bantic has quit [Quit: bantic]
mxb has quit [Quit: Page closed]
b_hoffman has quit [Quit: b_hoffman]
<baweaver> for the most part I just ignore anything style related beyond setting down a guide to prevent juniors from killing eachother over it.
<baweaver> there are only so many times I can say "Look, it really doesn't matter" before it gets old.
djbkd_ has joined #ruby-lang
djbkd_ has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
cryo28 has quit [Quit: leaving]
arBmind has quit [Ping timeout: 244 seconds]
arBmind has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> badeball: I don't know, I feel like consistent code is better than everyone just doing whatever.
<pipework> That being said, it'd be an evolving and continually revisited topic.
<pipework> Like, I'd rather see reject than select with negation.
<pipework> If you're trying to get something out of a thing, I use select, if I'm trying to get rid of something, I use reject.
<pipework> Conceptually, that is.
godzillaenlacasa has joined #ruby-lang
sarkyniin has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
shazaum has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
rgb-one has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]