ljarvis changed the topic of #ruby-lang to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
lcdhoffman has joined #ruby-lang
mehlah has quit [Read error: Connection reset by peer]
mehlah has joined #ruby-lang
bruno- has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 240 seconds]
MikaAK1 has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
djbkd has joined #ruby-lang
ddv has quit [Ping timeout: 245 seconds]
ddv has joined #ruby-lang
saarinen has quit [Quit: saarinen]
robbyoconnor has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
dangerousdave has quit [Ping timeout: 240 seconds]
MikaAK has joined #ruby-lang
MikaAK1 has quit [Quit: node-irc says goodbye]
francisfish has joined #ruby-lang
mistym has quit [Remote host closed the connection]
pixelhandler has quit [Quit: pixelhandler]
sduckett has joined #ruby-lang
fjfish has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
Averna has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
sharpmachine has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
djbkd has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 272 seconds]
centrx has joined #ruby-lang
djbkd has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
bruno- has quit [Ping timeout: 250 seconds]
emmesswhy has joined #ruby-lang
|jemc| has quit [Read error: Connection reset by peer]
|jemc| has joined #ruby-lang
hahuang65 has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
Mon_Ouie has joined #ruby-lang
sduckett has quit [Ping timeout: 240 seconds]
sharpmachine has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
Miphix has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
Cakey has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
tkuchiki has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
MikaAK1 has joined #ruby-lang
MikaAK1 has quit [Client Quit]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
|jemc|_ has joined #ruby-lang
|jemc| has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby-lang
sdouglas has joined #ruby-lang
kalehv has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
mykoweb has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
r3zn0r has joined #ruby-lang
ericwood_ has joined #ruby-lang
lsegal has joined #ruby-lang
sduckett has joined #ruby-lang
Cakey has quit [Ping timeout: 256 seconds]
MikaAK has quit [Quit: node-irc says goodbye]
MikaAK1 has joined #ruby-lang
sduckett has quit [Ping timeout: 240 seconds]
hgl_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
symm- has joined #ruby-lang
heftig has quit [Ping timeout: 272 seconds]
jaimef has quit [Excess Flood]
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
jaimef has joined #ruby-lang
shinnya has quit [Ping timeout: 256 seconds]
heftig has joined #ruby-lang
sharpmac_ has joined #ruby-lang
sharpmachine has quit [Read error: Connection reset by peer]
sharpmac_ has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 272 seconds]
sharpmachine has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
gix has quit [Ping timeout: 264 seconds]
ericwood_ has quit [Quit: WeeChat 0.4.3]
ericwood_ has joined #ruby-lang
heftig has joined #ruby-lang
gix has joined #ruby-lang
yugui_zzz is now known as yugui
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
ericwood_ has quit [Client Quit]
javilm_ has joined #ruby-lang
AncientAmateur has joined #ruby-lang
javilm has quit [Ping timeout: 272 seconds]
javilm_ is now known as javilm
saarinen has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 240 seconds]
saarinen has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
ap4y has quit [Remote host closed the connection]
yugui is now known as yugui_zzz
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
tectonic has joined #ruby-lang
mikecmpbll has joined #ruby-lang
bruno- has joined #ruby-lang
cklee has joined #ruby-lang
MikaAK1 has quit [Ping timeout: 272 seconds]
theharshest has quit [Quit: This computer has gone to sleep]
bruno- has quit [Ping timeout: 256 seconds]
ejanuska has joined #ruby-lang
vintik has joined #ruby-lang
saarinen has quit [Quit: saarinen]
<ejanuska> QUIT
mikecmpbll has quit [Quit: i've nodded off.]
jgpawletko has joined #ruby-lang
jgpawletko has quit [Client Quit]
ejanuska has quit [Quit: Page closed]
sduckett has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby-lang
sduckett has quit [Ping timeout: 240 seconds]
ejanuska has joined #ruby-lang
heftig has quit [Ping timeout: 272 seconds]
tenderlove has quit [Quit: Leaving...]
amystephen has quit [Quit: amystephen]
rahul_j has joined #ruby-lang
kalehv_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
kalehv has quit [Ping timeout: 250 seconds]
jackhammer2022 has joined #ruby-lang
<ejanuska> Is it OK to ask questions here?
<centrx> Absolutely
<centrx> It's just not a very active time
<ejanuska> I have a class "Foo", which will include a module "Bar", which also will be included in other classes.
<ejanuska> After I instansiate a Foo object: Foo.new . I want to call a method from the Bar module like this Foo.baz
<ejanuska> I would like methods in the Bar module to have access to Foo instance variables so I don't have to call a method like this foo = Foo.new foo.baz( foo.instance_variable_name ) or x = @instance_variable_name f.baz( x ) I could let the methods in the Bar module know about the instance variables in Foo but something about that just doesn't sit right with me. Every class that includes Bar would have to have an instance variable wit
monees has joined #ruby-lang
<ejanuska> what is the best way to go
vintik has quit [Remote host closed the connection]
<ejanuska> I know I could args to the methods in Bar module but that seems like it shouldn't be necessary
<centrx> Methods in a module have access to the instance variables of the class the modules included in.
yugui_zzz is now known as yugui
mikecmpbll has joined #ruby-lang
<centrx> The Bar module will not share those instance variables among the classes it is included in
monees has quit [Ping timeout: 250 seconds]
heftig has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
<centrx> The module is imported/included into the class, as a shareable independent library
<ejanuska> I know the methods can access the instance variables but I don't want to couple the class and the module so tightly
araujo has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Client Quit]
araujo has joined #ruby-lang
hgl_ has quit [Quit: Computer has gone to sleep.]
spuk has quit [Ping timeout: 272 seconds]
ejanuska has quit [Quit: Page closed]
spuk has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
arooni-mobile has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
yugui is now known as yugui_zzz
sdouglas has joined #ruby-lang
bruno- has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
ericwood_ has joined #ruby-lang
bruno- has quit [Ping timeout: 272 seconds]
jarto has joined #ruby-lang
rramphal has joined #ruby-lang
rramphal has left #ruby-lang [#ruby-lang]
willmarshall has joined #ruby-lang
djbkd has joined #ruby-lang
MikaAK1 has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
DivineEntity has quit [Quit: leaving]
touzin1 has joined #ruby-lang
theharshest has joined #ruby-lang
theharshest has quit [Client Quit]
nathanstitt has quit [Quit: I growing sleepy]
ericwood_ has quit [Quit: WeeChat 0.4.3]
nathanstitt has joined #ruby-lang
theharshest has joined #ruby-lang
nathanstitt has quit [Client Quit]
touzin1 has quit [Ping timeout: 256 seconds]
MikaAK1 has quit [Ping timeout: 250 seconds]
yugui_zzz is now known as yugui
centrx has quit [Quit: Mead error: Connection reset by beer]
mistym has joined #ruby-lang
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
jarto has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
rippa has joined #ruby-lang
yugui is now known as yugui_zzz
hgl_ has joined #ruby-lang
sdouglas has joined #ruby-lang
cornerma1 has joined #ruby-lang
kalehv has joined #ruby-lang
cornerman has quit [Ping timeout: 260 seconds]
hgl_ has quit [Remote host closed the connection]
hgl_ has joined #ruby-lang
kalehv_ has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby-lang
emmesswhy has quit [Quit: emmesswhy]
bruno- has quit [Ping timeout: 240 seconds]
mykoweb has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
cleopatra has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<cleopatra> hello people what new here
<cleopatra> I am selene from venezuela
adaleigh has quit [Ping timeout: 240 seconds]
adaleigh has joined #ruby-lang
araujo has quit [Quit: Leaving]
hahuang65 has joined #ruby-lang
yfeldblum has joined #ruby-lang
amystephen has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
<r3zn0r> nothing much cleopatra
GaelanAintAround has quit [Read error: Connection reset by peer]
Gaelane has joined #ruby-lang
<cleopatra> <r3zn0r>
<cleopatra> that bad
heftig has quit [Quit: Quitting]
yfeldblum has quit [Ping timeout: 256 seconds]
sdouglas has quit [Remote host closed the connection]
<r3zn0r> lol
sdouglas has joined #ruby-lang
mehlah has joined #ruby-lang
yugui_zzz is now known as yugui
sdouglas has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
<cleopatra> r3zn0r, I am exploring channels ruby and ruby on rails: O
arooni-mobile has quit [Ping timeout: 240 seconds]
<r3zn0r> cleopatra: there is also #ruby-lang
<r3zn0r> oh this is ruby-lang.. lol
<cleopatra> the people are bussy or sleeping
mykoweb has quit [Read error: Connection reset by peer]
<cleopatra> my english is poor :(
mykoweb has joined #ruby-lang
<cleopatra> r3zn0r, a good book to learn ruby?
rgarver has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<r3zn0r> "The Ruby Programming Language" by david flanagan & yukihiro matsumoto
ur5us_ has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
<cleopatra> yukihiro no is the creator of ruby=?
sdouglas has joined #ruby-lang
rgarver has quit [Client Quit]
<r3zn0r> yes yukihiro matsumoto created ruby in 1993, he is also goes by the name 'matz'
<cleopatra> O.o
<cleopatra> You krow much about that
hahuang65 has joined #ruby-lang
<r3zn0r> cleopatra: :)
kyb3r_ has joined #ruby-lang
yugui is now known as yugui_zzz
<cleopatra> so i can ask "The Ruby Programming Language" There vercion in epub?
<cleopatra> the only way I can read it is translated into my language because my English is poor
kalehv has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 256 seconds]
<r3zn0r> cleopatra: i dont know, i purchased the book in paperback format
<cleopatra> U__U
<cleopatra> it became very popular ruby
<cleopatra> I try to learn a few months ago
theharshest has quit [Quit: This computer has gone to sleep]
<r3zn0r> cleopatra: cool
<cleopatra> xD
<cleopatra> OHH i forget soem resource for rspec
D9 has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 240 seconds]
Sgeo_ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Sgeo has quit [Ping timeout: 256 seconds]
arBmind has joined #ruby-lang
apeiros has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 240 seconds]
cleopatra has quit [Ping timeout: 250 seconds]
dc5ala has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
relix has joined #ruby-lang
yfeldblum has joined #ruby-lang
RobertBirnie has joined #ruby-lang
symm- has joined #ruby-lang
sabman has joined #ruby-lang
<sabman> can I ask a rspec question here?
<sabman> it's probably more to do with require
yfeldblum has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
yfeldblum has joined #ruby-lang
_ht has joined #ruby-lang
bruno- has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
snoopybbt has joined #ruby-lang
djbkd has joined #ruby-lang
rahul_j has joined #ruby-lang
ruby-nyc has joined #ruby-lang
symm- has quit [Quit: Leaving...]
djbkd has quit [Ping timeout: 250 seconds]
kwd has joined #ruby-lang
apeiros has joined #ruby-lang
willmarshall has quit [Ping timeout: 260 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby-lang
ruby-nyc has quit [Quit: Leaving.]
kyb3r_ has quit [Read error: Connection reset by peer]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has quit [Remote host closed the connection]
sabman has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
kyb3r_ has joined #ruby-lang
kiddorails has joined #ruby-lang
r3zn0r has quit [Quit: leaving]
yugui_zzz is now known as yugui
scmx has joined #ruby-lang
Asher has joined #ruby-lang
symm- has joined #ruby-lang
mistym has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
yugui is now known as yugui_zzz
hgl_ has quit [Remote host closed the connection]
hgl_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
jhass|off is now known as jhass
tomqq has joined #ruby-lang
tomqq has quit [Read error: Connection reset by peer]
ironhide_604 has joined #ruby-lang
francisfish has quit [Ping timeout: 240 seconds]
rtdp has joined #ruby-lang
<rtdp> is there a way to distribute custom ruby build with rbnev or rvm ?
lolmaus has joined #ruby-lang
AKASkip has joined #ruby-lang
solars has joined #ruby-lang
relix has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
tbuehlmann has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 250 seconds]
michd has quit [Ping timeout: 272 seconds]
michd has joined #ruby-lang
dangerousdave has joined #ruby-lang
marcel has quit [Ping timeout: 272 seconds]
marcel has joined #ruby-lang
adphillips has joined #ruby-lang
adphillips has quit [Client Quit]
benlovell has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
bruno- has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
arBmind has joined #ruby-lang
francisfish has joined #ruby-lang
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
yugui_zzz is now known as yugui
elia has joined #ruby-lang
snoopybbt has quit [Ping timeout: 245 seconds]
tectonic has quit []
adaleigh has quit [Remote host closed the connection]
marr has joined #ruby-lang
|jemc|_ has quit [Ping timeout: 240 seconds]
kiddorails has quit [Remote host closed the connection]
kiddorai_ has joined #ruby-lang
yugui is now known as yugui_zzz
aero224 has joined #ruby-lang
qba73 has joined #ruby-lang
robmiller has joined #ruby-lang
<yorickpeterse> morning
Charliebr73 has joined #ruby-lang
rtdp has quit [Ping timeout: 260 seconds]
rtdp has joined #ruby-lang
scmx has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 240 seconds]
jonathan_alban has joined #ruby-lang
Guest42191 has quit [Read error: No route to host]
solars has quit [Ping timeout: 256 seconds]
KM has joined #ruby-lang
KM is now known as Guest90011
skade has joined #ruby-lang
chouhoulis has joined #ruby-lang
rtdp has quit [Ping timeout: 240 seconds]
rtdp has joined #ruby-lang
elia has quit [Ping timeout: 256 seconds]
_elia has joined #ruby-lang
Charliebr73 has quit [Ping timeout: 250 seconds]
yugui_zzz is now known as yugui
chouhoulis has quit [Ping timeout: 240 seconds]
yugui is now known as yugui_zzz
_elia has quit [Read error: Connection reset by peer]
Guest68292 has quit [Ping timeout: 240 seconds]
adaleigh has joined #ruby-lang
tunabee has joined #ruby-lang
matp has quit [Quit: ZZZzzz…]
lupine has quit [Ping timeout: 260 seconds]
solars has joined #ruby-lang
arBmind1 has joined #ruby-lang
yugui_zzz is now known as yugui
elia has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
adaleigh has quit [Ping timeout: 264 seconds]
lupine has joined #ruby-lang
matp has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.1]
solars has joined #ruby-lang
kek has joined #ruby-lang
<tunabee> jle
tunabee has quit [Quit: leaving]
Charliebr73 has joined #ruby-lang
Fushi has joined #ruby-lang
<ljarvis> moin
hgl_ has quit [Quit: Computer has gone to sleep.]
kiddorai_ has quit [Remote host closed the connection]
stamina has joined #ruby-lang
kiddorails has joined #ruby-lang
<yorickpeterse> update all the rubygems
<yorickpeterse> Countdown to broken staging: 5 minutes
Miphix has quit [Quit: Leaving]
<surrounder> hehe
ur5us has joined #ruby-lang
<yorickpeterse> "Ignoring bcrypt-3.1.7 because its extensions are not built. Try: gem pristine bcrypt-3.1.7"
<yorickpeterse> shit loads fine
<yorickpeterse> works fine too
<yorickpeterse> what the hell RubyGems
<yorickpeterse> I've said it a lot before and I'll say it again: pre-compiling/packaging Gems is a nightmare
jarto has joined #ruby-lang
stamina has quit [Quit: WeeChat 0.4.3]
<benlovell> yorickpeterse: when do you get here?
kiddorails has quit [Remote host closed the connection]
dangerousdave has quit []
<yorickpeterse> benlovell: Sunday around 13:00
<yorickpeterse> I arrive in Stansted at 09:05, then it's the loco2 hypetrain to Brighton
jonathan_alban has quit [Read error: Connection reset by peer]
adaleigh has joined #ruby-lang
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
<yorickpeterse> Hm maybe I should've called it the Chav Express
<yorickpeterse> Either way, the train
adaleigh has quit [Ping timeout: 264 seconds]
jonathan_alban has joined #ruby-lang
kiddorails has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
mehlah has quit [Quit: Leaving...]
yugui is now known as yugui_zzz
rahul_j has joined #ruby-lang
hgl_ has joined #ruby-lang
hgl_ has quit [Remote host closed the connection]
hgl_ has joined #ruby-lang
jhass is now known as jhass|off
yfeldblum has quit [Ping timeout: 250 seconds]
yugui_zzz is now known as yugui
rtdp has quit [Ping timeout: 250 seconds]
rtdp has joined #ruby-lang
yugui is now known as yugui_zzz
Charliebr73 has quit [Quit: Leaving]
postmodern has quit [Quit: Leaving]
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tbuehlmann has quit [Quit: Leaving]
mehlah has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
kyb3r_ has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldbl__ has joined #ruby-lang
Cakey has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
adaleigh has joined #ruby-lang
yfeldbl__ has quit [Ping timeout: 240 seconds]
adaleigh has quit [Ping timeout: 240 seconds]
yugui_zzz is now known as yugui
riffraff has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
ldnunes has joined #ruby-lang
amystephen has quit [Quit: amystephen]
aero224_ has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
aero224 has quit [Ping timeout: 260 seconds]
ddv has quit [Changing host]
ddv has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
aero224 has joined #ruby-lang
scmx has joined #ruby-lang
ascarter has joined #ruby-lang
aero224_ has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
kiddorai_ has joined #ruby-lang
kiddorails has quit [Read error: Connection reset by peer]
sdouglas has quit [Ping timeout: 240 seconds]
toretore has joined #ruby-lang
Sgeo_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby-lang
xcesariox has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mconnolly has joined #ruby-lang
benlovel1 has joined #ruby-lang
benlovell has quit [Ping timeout: 256 seconds]
karamazov has joined #ruby-lang
adaleigh has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
spastorino has joined #ruby-lang
marr has quit [Ping timeout: 240 seconds]
robmiller has quit [Ping timeout: 240 seconds]
michd is now known as MichD
adaleigh has quit [Ping timeout: 240 seconds]
danijoo_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
dwknoxy has joined #ruby-lang
centrx has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
khaase has joined #ruby-lang
khaase has joined #ruby-lang
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
Miphix has joined #ruby-lang
malconis has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
<ljarvis> oi
weems|mac has joined #ruby-lang
yfeldblum has joined #ruby-lang
dvorak has quit [Quit: ZNC - http://znc.in]
yfeldblum has quit [Ping timeout: 240 seconds]
robmiller has joined #ruby-lang
WilfredTheGreat has joined #ruby-lang
dvorak has joined #ruby-lang
jhass|off is now known as jhass
adaleigh has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
diegoviola has joined #ruby-lang
adaleigh has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 240 seconds]
yugui is now known as yugui_zzz
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has joined #ruby-lang
yugui_zzz is now known as yugui
ruby-lang716 has joined #ruby-lang
<ruby-lang716> a
<jhass> b
<benlovel1> c
<surrounder> d
benlovel1 is now known as benlovell
ruby-lang716 has quit [Ping timeout: 246 seconds]
<apeiros> e
<ljarvis> f
<yorickpeterse> z
<yorickpeterse> /thread
<surrounder> lol
weems|mac has quit [Quit: weems|mac]
tkuchiki has joined #ruby-lang
<ljarvis> so predicable
<ljarvis> predictable
yugui is now known as yugui_zzz
<gregf_> za
<yorickpeterse> that's what he said
<DefV> actually
<DefV> aa
<DefV> ab
<gregf_> ;)
arBmind has joined #ruby-lang
<yorickpeterse> That's not a valid English alphabet
<yorickpeterse> If we were talking about permutations of all possible characters in groups of N characters then yes, it might've been valid
<yorickpeterse> But that would depend on the permutation size
<centrx> How many valid English alphabets are there?
<DefV> zzzz yorickpeterse
<DefV> zzzz
MichD is now known as michd
<yorickpeterse> :P
michd is now known as MichD
arBmind1 has quit [Ping timeout: 240 seconds]
<yorickpeterse> I do wonder why western alphabets typically skip multibytes
<yorickpeterse> "fukit we'll do it in ascii"
<yorickpeterse> They really should just teach the full Unicode tables instead in primary school
enebo has joined #ruby-lang
yfeldblum has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
marr has joined #ruby-lang
apeiros has joined #ruby-lang
<ljarvis> yorickpeterse: ok im not coming up sunday anymore so I will grace you with my presence on conf day
yfeldblum has quit [Ping timeout: 240 seconds]
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
<yorickpeterse> ljarvis: BOK BOK BOK BOK
<ljarvis> I concur
rgarver has joined #ruby-lang
snsei has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
<yorickpeterse> ljarvis: so why are you chickening out?
mykoweb has joined #ruby-lang
nathanstitt has joined #ruby-lang
shinnya has joined #ruby-lang
loincloth has joined #ruby-lang
yugui_zzz is now known as yugui
amystephen has joined #ruby-lang
snsei has joined #ruby-lang
adaleigh has joined #ruby-lang
adaleigh has quit [Ping timeout: 240 seconds]
monees has joined #ruby-lang
AncientAmateur has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
kiddorai_ has quit [Remote host closed the connection]
JohnFord has joined #ruby-lang
alexju_ has joined #ruby-lang
alexju has quit [Read error: Connection reset by peer]
AncientAmateur has joined #ruby-lang
mconnolly has quit [Read error: Connection reset by peer]
mconnoll1 has joined #ruby-lang
kiddorails has joined #ruby-lang
bin7me has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
yugui is now known as yugui_zzz
sdouglas has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
snsei has quit [Ping timeout: 256 seconds]
dangerousdave has joined #ruby-lang
mistym has joined #ruby-lang
chouhoulis has joined #ruby-lang
dangerou_ has joined #ruby-lang
dangerousdave has quit [Read error: Connection reset by peer]
<ljarvis> yorickpeterse: I'm just gonna drive up in the morning, prices for just the single night are extortionate
sduckett has joined #ruby-lang
centrx has quit [Quit: Mead error: Connection reset by beer]
benlovell has quit [Ping timeout: 250 seconds]
blowmage has quit [Ping timeout: 240 seconds]
<yorickpeterse> heh
blowmage has joined #ruby-lang
<yorickpeterse> Just share a room with ben!
Cakey has joined #ruby-lang
benlovell has joined #ruby-lang
apeiros has joined #ruby-lang
sduckett has quit [Ping timeout: 240 seconds]
mconnoll1 has quit [Quit: mconnoll1]
arooni-mobile has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
sharpmachine has joined #ruby-lang
mistym has quit [Remote host closed the connection]
touzin has joined #ruby-lang
AncientA_ has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
AKASkip has quit [Ping timeout: 256 seconds]
kwd has quit [Quit: Sleeping now. ZZZzzz…]
skade has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 240 seconds]
skade has quit [Client Quit]
sdouglas has joined #ruby-lang
solars has quit [Ping timeout: 250 seconds]
symm- has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
khaase has quit [Remote host closed the connection]
khaase has joined #ruby-lang
mistym has joined #ruby-lang
|jemc| has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
hgl__ has joined #ruby-lang
nathanstitt has joined #ruby-lang
khaase has quit [Ping timeout: 272 seconds]
hgl_ has quit [Ping timeout: 240 seconds]
jressey has joined #ruby-lang
cmhobbs has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 240 seconds]
<jressey> Is anybody familiar with the problem where Net::LDAP aborts connections on the .open method?
mistym_ has joined #ruby-lang
sdouglas has joined #ruby-lang
mistym has quit [Ping timeout: 260 seconds]
adaleigh has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
Squarepy has joined #ruby-lang
kiddorails has joined #ruby-lang
adaleigh has quit [Ping timeout: 250 seconds]
sdouglas has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
AncientA_ has quit [Ping timeout: 240 seconds]
<bougyman> i've never had that happen in my Net::LDAP apps.
<bougyman> what LDAP server?
cmhobbs has joined #ruby-lang
snsei has joined #ruby-lang
rtdp has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
rtdp has joined #ruby-lang
<jressey> I'm not sure I understand what you mean about 'what LDAP server'
snsei has quit [Ping timeout: 256 seconds]
<apeiros> probably which software is used on the server side
marr has quit []
<apeiros> openldap? m$ activedirectory? other?
sdouglas has quit [Ping timeout: 260 seconds]
pr0ton has quit [Quit: pr0ton]
stardiviner has quit [Ping timeout: 272 seconds]
kiddorails has quit [Remote host closed the connection]
<jressey> AD
<jressey> And the AD guy insists that the problem is on the app side.
rahul_j has joined #ruby-lang
momomomomo has joined #ruby-lang
<apeiros> we use net-ldap with AD (not sure which version, iirc a rather ancient one), never had the issue of aborted connections on open
<apeiros> does it sometimes work? or never?
<jressey> Well, the query works but it always aborts
cmhobbs has quit [Ping timeout: 272 seconds]
TheFlipside has joined #ruby-lang
rahul_j has quit [Client Quit]
kiddorails has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
araujo has joined #ruby-lang
araujo has joined #ruby-lang
araujo has quit [Changing host]
kkim has joined #ruby-lang
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby-lang
<apeiros> I'm not quite sure how the query can work when it aborts on the open method already
Cakey has joined #ruby-lang
<jressey> yea, could it possibly be on the AD side?
DEac- has quit [Quit: leaving]
toastynerd has quit [Remote host closed the connection]
DEac- has joined #ruby-lang
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
cmhobbs has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
DEac- has quit [Client Quit]
sdouglas has joined #ruby-lang
DEac- has joined #ruby-lang
<apeiros> ok, I didn't get my point across
hgl__ has quit [Quit: Computer has gone to sleep.]
<apeiros> I mean - how can you know the query works, when you don't even get to the point of performing the query?
rtdp has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
RobertBirnie has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
theharshest has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
<jressey> My test passes but on the AD side, they are getting the following error message: 16/Jul/2014:10:20:02 -0400] conn=49111554 op=-1 msgId=-1 - closing from 10.172.23.40:64548 - A1 - Client aborted connection -
<jressey> 16/Jul/2014:10:20:02 -0400] conn=49111554 op=-1 msgId=-1 - closing from 10.172.23.40:64548 - A1 - Client aborted connection -
<jressey> My test passes and I get the expected result, then it aborts. I know because the LDAP person sent me a log stating: closing from <some_ip> - A1 - Client aborted connection
yugui_zzz is now known as yugui
<jressey> sorry about wall of text
<apeiros> that wall of text is much better than the lack of information before :-p
<apeiros> also if you feel something is too much for irc, just use gist.github.com
LBo has quit [Ping timeout: 260 seconds]
<jressey> I just meant to put 1 line, I didn't know pasting took me to a new line. only the bottom line is valid.
<apeiros> but I don't have an idea what's going wrong there
ta_ has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
rahul_j has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
nathanstitt has quit [Ping timeout: 240 seconds]
<jressey> I'm wondering if the language 'Client aborted connection' just means that the app decided to close the connection
Miphix has quit [Quit: Leaving]
enebo has joined #ruby-lang
nathanstitt has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
adaleigh has joined #ruby-lang
CaptainJet has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 260 seconds]
khaase has joined #ruby-lang
<jressey> •A1 -- The client aborted the connection (i.e., closed without sending an unbind). This is generally only seen on Windows systems, as B1 usually means this on UNIX systems.
<jressey> How do i explicitly unbind in or after the .open block? There is no ubind or close method available to Net::LDAP
mistym has joined #ruby-lang
yugui is now known as yugui_zzz
francisfish has quit [Remote host closed the connection]
adaleigh has quit [Ping timeout: 240 seconds]
mistym has quit [Client Quit]
francisfish has joined #ruby-lang
toastynerd has joined #ruby-lang
LBo has joined #ruby-lang
Cakey has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
francisfish has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Ping timeout: 250 seconds]
cornerman has joined #ruby-lang
havenwood has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
benlovel1 has joined #ruby-lang
<monees> Hey guys, any of you guys filled out pdf's using a ruby gem of some sort? Any recommendations?
cornerma1 has quit [Ping timeout: 260 seconds]
benlovell has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
<apeiros> monees: if you can afford it - princexml
<apeiros> oh, wait - what do you mean by "fill out" a pdf?
nathanstitt has quit [Read error: Connection reset by peer]
<monees> like you know how you have blank forms you can fill out in your browser?
<apeiros> you mean you have a pdf with a pdf form in it?
mehlah has quit [Quit: Leaving...]
benlovel1 has quit [Ping timeout: 272 seconds]
<monees> Yes
kek has quit [Remote host closed the connection]
<apeiros> hm, we use a java lib through jruby at work for that. but I don't remember its name.
<apeiros> afaik pdf forms are non-standard and a friggn PITA
yfeldblum has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
ponch_ has joined #ruby-lang
havenwood has joined #ruby-lang
<ponch_> @monees you there
yfeldblum has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby-lang
<monees> yessir, sorry I had to step out for a momen
<monees> I saw a jruby gem actually called pdf-ravager
<monees> but we're not using jruby and so that's kind of out of the question
tkuchiki has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
tkuchiki has joined #ruby-lang
<apeiros> monees: neither are we. we hook it up via DRb
<monees> Interesting, I guess I'll look into that
mykoweb has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 272 seconds]
Cages has joined #ruby-lang
mykoweb has joined #ruby-lang
rtdp has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
<Cages> Hi
qba73 has quit []
<Cages> Any mac users here who could help me with an issue I'm having in irb in the terminal?
mykoweb has quit [Remote host closed the connection]
<jressey> I have used a mac. What's the problem?
wallerdev has joined #ruby-lang
<Cages> Tried to make an alias so that my default irb prompt was the inf-ruby prompt. Now every time I open the prompt I se:
<Cages> -bash: alias: —prompt: not found -bash: alias: inf-ruby’: not found
<Cages> on two separate lines, and the inf-ruby is still not the default
<ponch_> autostart
<Cages> ponch_: ?
<Cages> I am new to programming
kkim has quit [Quit: Leaving.]
<ponch_> Cages: sorry i was trying an irc command and forgot the /
<ponch_> Cages: i'm new to IRCs not programming so just getting my feet wet
<Cages> Oh okay thought you were asking me to autostart the prompt hehe
emmesswhy has joined #ruby-lang
<ponch_> Cages: naw ... i didn't even see the rest of your issue i just logged on i'm mostly on the batman.js irc and the rubyonrails
<Cages> What is batman.js?
<ponch_> its a frontend framework
<Cages> Oh okay
<ponch_> it helps the frontend and backend of your app communicate
<ponch_> it is used by shopify and is an up and coming language
rahul_j has joined #ruby-lang
<ponch_> a bitch to learn though bc there isn't much about it on the internet troubleshooting wise which is how i got into IRCs - now that you know my life story im going to have to leave good luck on your issue ill help you out next time if i'm on
nathanstitt has joined #ruby-lang
<Cages> Thanks
marr has joined #ruby-lang
mskog has left #ruby-lang [#ruby-lang]
workmad3 has joined #ruby-lang
dangerousdave has quit [Read error: Connection reset by peer]
<Cages> jressey: Any idea what's up?
dangerousdave has joined #ruby-lang
rtdp has quit [Ping timeout: 240 seconds]
xcesariox has quit [Remote host closed the connection]
<jressey> sorry, in a meeting, are you in a hurry?
rtdp has joined #ruby-lang
<jressey> I can check it out later.
AKASkip has joined #ruby-lang
ponch_ has quit [Ping timeout: 240 seconds]
Squarepy has quit [Quit: Leaving]
saarinen has joined #ruby-lang
adphillips has joined #ruby-lang
<jressey> can you check the terminal logs to see what the alias create statement looks like?
<Cages> Ok jressey no rush I appreciate it.
adphillips has quit [Client Quit]
rahul_j has quit [Quit: rahul_j]
elia has quit [Quit: Computer has gone to sleep.]
touzin has quit [Ping timeout: 256 seconds]
TheFlipside has quit [Quit: Leaving]
pr0ton has joined #ruby-lang
arooni-mobile has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
robbyoconnor has quit [Ping timeout: 250 seconds]
adaleigh has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
scmx has quit [Ping timeout: 256 seconds]
adaleigh has quit [Ping timeout: 240 seconds]
pr0ton has quit [Quit: pr0ton]
shtirlic has quit [Quit: ZNC - http://znc.in]
enebo has quit [Quit: enebo]
MikaAK1 has joined #ruby-lang
centrx has joined #ruby-lang
pr0ton has joined #ruby-lang
shtirlic has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
godd2 has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
aero224 has quit [Remote host closed the connection]
ponch_ has joined #ruby-lang
pixelhandler has joined #ruby-lang
cleopatra has joined #ruby-lang
<cleopatra> r3zn0r
aero224 has joined #ruby-lang
ponch_ has quit [Ping timeout: 264 seconds]
relix has joined #ruby-lang
relix has quit [Client Quit]
r3zn0r has joined #ruby-lang
<cleopatra> hehe r3zn0r
<cleopatra> You're a machine
yfeldblum has joined #ruby-lang
aero224 has quit [Remote host closed the connection]
khaase has quit [Remote host closed the connection]
khaase has joined #ruby-lang
chouhoul_ has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Ping timeout: 250 seconds]
<r3zn0r> cleopatra: :)
<cleopatra> r3zn0r, how are you today
<cleopatra> good morning
MikaAK1 has quit [Quit: node-irc says goodbye]
<cleopatra> i get the ebook The Ruby Programming Language
<cleopatra> by David Flanagan; Yukihiro Matsumoto
<cleopatra> in chm form at :P
touzin has joined #ruby-lang
khaase has quit [Quit: Leaving...]
<yorickpeterse> are you really Cleopatra VII?
<yorickpeterse> omg
ponch_ has joined #ruby-lang
<centrx> How do you know it's not Cleopatra I-VI?
<cleopatra> yes
<cleopatra> y Cleopatra VII?
<r3zn0r> cleopatra: im doing good, good morning to you too
<cleopatra> non non I have a special connection with my pc and his name is cleopatra centrx
<yorickpeterse> centrx: because Cleopatra VII was the last one of the line
<cleopatra> My name is selene
<yorickpeterse> centrx: though I doubt Cleopatra can travel through time to write Ruby code
<cleopatra> but my centrx this is the second pc so is Cleopatra II
<cleopatra> :P
loincloth has quit [Remote host closed the connection]
<centrx> Whatever you say Your Majesty
pr0ton has joined #ruby-lang
shtirlic has quit [Quit: ZNC - http://znc.in]
<cleopatra> my stomach is destroyed
pr0ton has quit [Client Quit]
MikaAK has joined #ruby-lang
shtirlic has joined #ruby-lang
ponch_ has quit [Ping timeout: 264 seconds]
<cleopatra> has anyone seen a scab precion level 4, with profundity 3
<yorickpeterse> wat
sarkyniin has joined #ruby-lang
<cleopatra> Pressure Ulcers
<yorickpeterse> wat
<cleopatra> search on Google Imagen Pressure Ulcers
<cleopatra> They are really ugly
<yorickpeterse> ah wtf is this shit
momomomomo has joined #ruby-lang
<centrx> Great
<yorickpeterse> jesus
<cleopatra> I can not eat since yesterday
<yorickpeterse> well thanks now I can't eat too
<centrx> the virus is spreading
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cleopatra> no is virus
shtirlic has quit [Quit: ZNC - http://znc.in]
<cleopatra> That goes to the people who no have movilzacion
Cages has quit [Quit: Page closed]
shtirlic has joined #ruby-lang
<cleopatra> who suffered accidents, and they do not walk or can not perform any action on their body
enebo has joined #ruby-lang
<centrx> what about scratching their noses
adaleigh has joined #ruby-lang
<cleopatra> precione of the joints, make out and when these are neglected ulcer get ugly stink
<cleopatra> centrx, no -.-
<centrx> The only thing they can do is make out but they can't even do that because they have an ugly stink?
<yorickpeterse> RIP English
robmiller has quit [Quit: Leaving.]
karamazov has quit [Read error: Connection reset by peer]
karamazov has joined #ruby-lang
rtdp has quit [Ping timeout: 240 seconds]
<cleopatra> anyway...they moved me of unity yesterday and there are things like that
pr0ton has joined #ruby-lang
kwd has joined #ruby-lang
<cleopatra> centrx, no they can not leave, they are people in wheelchairs
<centrx> Maybe that's why they stink
pr0ton has quit [Client Quit]
adaleigh has quit [Ping timeout: 260 seconds]
pr0ton has joined #ruby-lang
<cleopatra> they receive treatment to cure these things, then rehab, so they can walk
<cleopatra> -.-
<centrx> So you are a wheelchair-bound ulcer victim who has recently stopped taking the magical drug "Unity"?
Fushi has quit [Quit: Connection closed for inactivity]
<yorickpeterse> I'm confused too
<cleopatra> noooo
<cleopatra> I am nurse
arooni-mobile has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
<cleopatra> my English is bad for that reason confused
mikecmpbll has quit [Client Quit]
diegoviola has quit [Quit: WeeChat 0.4.3]
diegoviola has joined #ruby-lang
<cleopatra> so I was moved to a new site where there are patients with ulcer centrx yorickpeterse
mikecmpbll has joined #ruby-lang
<cleopatra> now understand
<yorickpeterse> Ah right
<yorickpeterse> brrrr, I could not work as a nurse
<cleopatra> nurse is better than nothing
pr0ton has quit [Quit: pr0ton]
jsullivandigs has quit [Quit: Leaving...]
Johz has joined #ruby-lang
__butch__ has joined #ruby-lang
theharshest has quit [Read error: Connection reset by peer]
r3zn0r has quit [Quit: leaving]
enebo has quit [Quit: enebo]
<centrx> ulcer nurse is better than ulcer
chouhoulis has joined #ruby-lang
<cleopatra> centrx, -.-
jressey has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
alneri has joined #ruby-lang
MikaAK1 has joined #ruby-lang
alneri has quit [Client Quit]
cmhobbs has quit [Ping timeout: 240 seconds]
tomqq has joined #ruby-lang
sdouglas has joined #ruby-lang
tomqq has quit [Read error: No route to host]
tomqq has joined #ruby-lang
johncash has joined #ruby-lang
<johncash> Is there a gem that given a hash will return the structure of the hash like classes of the nested values?
emmesswhy has quit [Ping timeout: 250 seconds]
<jhass> I think hashie is what you want. There are also a couple of snippet for an "endless OpenStruct"
sdouglas has quit [Ping timeout: 240 seconds]
yugui_zzz is now known as yugui
arooni-mobile has joined #ruby-lang
robmiller has joined #ruby-lang
loincloth has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
cmhobbs has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
djbkd has joined #ruby-lang
adaleigh has joined #ruby-lang
yugui is now known as yugui_zzz
sarkyniin has quit [Quit: Quitte]
touzin has quit [Ping timeout: 256 seconds]
sepp2k has joined #ruby-lang
adaleigh has quit [Ping timeout: 240 seconds]
kwd has quit [Quit: Sleeping now. ZZZzzz…]
centrx has quit [Quit: Mead error: Connection reset by beer]
relix has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
ponch_ has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
touzin has joined #ruby-lang
solars has joined #ruby-lang
ponch_ has quit [Ping timeout: 240 seconds]
MikaAK2 has joined #ruby-lang
snoopybbt has joined #ruby-lang
CaptainJet has quit []
robmiller has joined #ruby-lang
Cakey has joined #ruby-lang
francisfish has joined #ruby-lang
touzin has quit [Ping timeout: 256 seconds]
robmiller has quit [Client Quit]
MikaAK2 has quit [Quit: node-irc says goodbye]
MikaAK1 has quit [Quit: node-irc says goodbye]
Cakey has quit [Ping timeout: 240 seconds]
enebo has joined #ruby-lang
shinnya has joined #ruby-lang
johncash has quit [Quit: Leaving.]
snoopybbt has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby-lang
jsullivandigs has joined #ruby-lang
johncash has joined #ruby-lang
johncash has left #ruby-lang [#ruby-lang]
monees has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
ponch_ has joined #ruby-lang
monees has joined #ruby-lang
MikaAK has quit [Ping timeout: 240 seconds]
shtirlic has quit [Quit: ZNC - http://znc.in]
ponch_ has quit [Ping timeout: 250 seconds]
shtirlic has joined #ruby-lang
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
charliesome has joined #ruby-lang
DEac- has quit [Ping timeout: 272 seconds]
duderonomy has joined #ruby-lang
CaptainJet has joined #ruby-lang
yfeldblum has joined #ruby-lang
bruno- has quit [Ping timeout: 260 seconds]
arooni-mobile has quit [Ping timeout: 250 seconds]
Johz has quit [Ping timeout: 260 seconds]
DEac- has joined #ruby-lang
Johz has joined #ruby-lang
adaleigh has joined #ruby-lang
arBmind has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
adaleigh has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
MikaAK1 has joined #ruby-lang
yfeldblum has joined #ruby-lang
_ht has quit [Remote host closed the connection]
MikaAK2 has joined #ruby-lang
andrewhl has joined #ruby-lang
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
robbyoconnor has joined #ruby-lang
jarto has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby-lang
bruno- has joined #ruby-lang
ponch_ has joined #ruby-lang
tomqq has quit []
bruno- has quit [Ping timeout: 240 seconds]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
JohnFord has joined #ruby-lang
aero224 has joined #ruby-lang
pr0ton has joined #ruby-lang
pr0ton has joined #ruby-lang
monees has quit [Ping timeout: 240 seconds]
kith has quit [Quit: kith]
ponch_ has quit [Ping timeout: 256 seconds]
bin7me has quit [Quit: Leaving]
kith has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
aero224 has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
momomomomo has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
andrewhl has quit [Quit: andrewhl]
diegoviola has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 272 seconds]
Sgeo has joined #ruby-lang
adaleigh has joined #ruby-lang
shinnya has joined #ruby-lang
mehlah has joined #ruby-lang
banister has quit [Ping timeout: 256 seconds]
adaleigh has quit [Ping timeout: 250 seconds]
andrewhl has joined #ruby-lang
andrewhl has quit [Client Quit]
ruby-lang685 has joined #ruby-lang
<ruby-lang685> hi ruby folks! can anyone tell me how to do this correctly? puts "thingy %{woo}" % {"woo" => "foo"}
<ruby-lang685> I know that puts "thingy %{woo}" % {:woo => "foo"} works, but that's not how my hash is defined (sorry, I'm a ruby noob and I don't totally understand the :business)
<jhass> the key needs to be a symbol
<jhass> how is your hash generated?
<drbrain> >> "thingy %{woo}" % {woo: "foo"}
<eval-in__> drbrain => "thingy foo" (https://eval.in/173067)
danijoo has quit [Read error: Connection reset by peer]
<jhass> note that {woo: "foo"} is the same as { :woo => "foo" }
<drbrain> (I type too slow)
danijoo has joined #ruby-lang
saarinen has quit [Quit: saarinen]
ap4y has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
aero224 has joined #ruby-lang
monees has joined #ruby-lang
banister has joined #ruby-lang
saarinen has joined #ruby-lang
<ruby-lang685> jhass, the hash is actually generated from a chef data bag
AncientAmateur has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
AncientAmateur has joined #ruby-lang
<jhass> so it might be reasonable to convert the keys to symbols (never do it that for untrusted input!): printer_hash = hash.each_with_object({}) {|(k, v), h| h[k.to_sym] = v }
<ruby-lang685> jhass, this statement is confusing: {woo: "foo"} is the same as { :woo => "foo" }
<jhass> it's true
<jhass> alternative syntax for the same literal
<ruby-lang685> oh, I get it, but converting keys to symbols equals yuck...is there really no way to do string variable replacement with a hash of string keys
<ruby-lang685> ?
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> not that I'm aware of
<ruby-lang685> yikes, that sucks
<jhass> besides manually interpolating of course
<ruby-lang685> thanks for the info
<ruby-lang685> I'm used to being able to do this with python dictionaries so it's strange
<jhass> puts "thingy #{hash['woo']}"
<jhass> python doesn't have symbols though
<ruby-lang685> exactly ;)
<ruby-lang685> yeah, the thing is I want to store the strings (including replacements) in a data bag, so I shouldn't need to know the hash name
ap4y has quit [Remote host closed the connection]
ap4y has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
qq17 has quit [Ping timeout: 240 seconds]
qq17 has joined #ruby-lang
<ruby-lang685> so, in python, I can receive a string, such as "%(thingy)" and pass the string format method a dictionary/hash containing thingy
MichD is now known as michd
<ruby-lang685> it seriously can't be this hard in ruby can it?
nathanstitt has joined #ruby-lang
saarinen has quit [Quit: saarinen]
<jhass> well, thingy is an identifier and for identifier we use symbols in ruby, not strings
<ruby-lang685> I really hate to be one of those guys that's coming from another language and saying "why can't you do this", but honestly, this is basic stuff
<ruby-lang685> hrmm, I clearly need to learn more about identifiers/symbols in ruby and why I should love having to do that ;)
<jhass> I've already shown you how you can convert your hash to make it work
kylo has quit [Ping timeout: 240 seconds]
<ruby-lang685> jhass, oh, I know you did...it's just seems to be a very inelegant solution to me (no offense intended!!!)
<jhass> it's not super elegant no, depending on the output you want there might a better one
<ruby-lang685> i just want to receive a string from a data bag and replace values without doing anything special
cmhobbs has quit [Remote host closed the connection]
dda has joined #ruby-lang
<jhass> (note that I've no idea about chef and its terminology, since this isn't #chef)
kylo has joined #ruby-lang
<ruby-lang685> oh, I know, but chef just hands you a hash with strings as keys
<ruby-lang685> not symbols
<ruby-lang685> and now I have to do this silly stuff to get strings to symbols
<jhass> how does the actual string you want to build look like?
<ruby-lang685> anyhow, thank you so much for the answer
yfeldblum has quit [Ping timeout: 250 seconds]
<ruby-lang685> it's a pretty generic issue....I have a ruby script (chef recipe) that gets a hash (from a data bag) and I'd like to be able to define replacements in the data bag (hashish)
yfeldblum has joined #ruby-lang
ponch_ has joined #ruby-lang
<ruby-lang685> so, essentially, I'd like to get a hash, let's say thinger = {"id": "woohoogins", "name": "This is %{name}"}
pr0ton has joined #ruby-lang
<jhass> ({"id" => "woohoogins", "name" => "This is %{name}"} the : syntax only works for symbol keys)
<ruby-lang685> I understand that (now), but I'm looking for another way I guess
<ruby-lang685> I'm getting the hash for replacement from docopt, which gives me a hash with string keys
<ruby-lang685> meh...this is silly...I'll just convert the hash like you sugested, but I'd really like to know if there's a more elegant solution someday ;)
<ruby-lang685> in other words, why should I have to convert strings to symbols in order to inject them into a string?
ponch_ has quit [Ping timeout: 240 seconds]
AncientAmateur has quit [Remote host closed the connection]
<jhass> no
<jhass> if you're doing named replacements with the % method you need the passed hashs keys to be symbols
<jhass> I'm still not sure what pattern your result string follows, so no idea
<ruby-lang685> yes, I understand this, but why?
<jhass> because that's how the % method works. As said you're defining identifiers to be replaced, so it makes sense to use rubys representation of identifiers to define map to the values
<ruby-lang685> please understand that I'm not trying to be an ass...I just really don't understand why it's so ugly when I'm used to something much cleaner
<ruby-lang685> I have a string that I want to inject variable values into: "thinger: %{woo}" and I've been handed a hash with string keys: {"woo": "foohoogins"}....it's strange to me that there's not a simple way to bang those two together
DEac- has quit [Read error: Connection reset by peer]
DEac-_ has joined #ruby-lang
<jhass> well, you could probably use a hash that doesn't care, like ActiveSupports HashWithIndifferentAccess
<jhass> you're still on the meta level
<jhass> it often helps to make concrete examples with as real data as possible
yugui_zzz is now known as yugui
<ruby-lang685> nah, I'm on a practical level ;)
<jhass> defining input and desired output
<ruby-lang685> I really don't know how I could improve it...let me make a paste bin
elia has joined #ruby-lang
DivineEntity has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ruby-lang685> jhass: http://codepad.org/hQ9vwGwO
pr0ton has quit [Quit: pr0ton]
djbkd has joined #ruby-lang
fowlduck has joined #ruby-lang
adaleigh has joined #ruby-lang
<ruby-lang685> jhass: I had a typo...this is desired: http://codepad.org/6gVs0wXH
solars has quit [Ping timeout: 240 seconds]
<ruby-lang685> this works the way I'd like, but it's not how it's defined in reality: http://codepad.org/zX8UKP97
MikaAK2 has quit [Quit: node-irc says goodbye]
MikaAK1 has quit [Quit: node-irc says goodbye]
<jhass> meh, I'd probably monkeypatch Docopt to return symbols :P
yugui is now known as yugui_zzz
<jhass> that thing is not very rubyesque code anyway
adaleigh has quit [Ping timeout: 240 seconds]
<jhass> class Docopt::Option; def name; (long || short).to_sym; end; end;
JohnFord has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Quit: Computer has gone to sleep.]
<ruby-lang685> hmmm, I'm not surprised since it's been ported to multiple languages
<ruby-lang685> I'll have to read more about ruby identifiers/symbols
<ruby-lang685> "class Docopt::Option; def name; (long || short).to_sym; end; end;" --> not sure what this means
bruno- has joined #ruby-lang
<jhass> it's redefining a method inside Docopt
monees has quit [Remote host closed the connection]
alexju_ has quit [Remote host closed the connection]
<ruby-lang685> I see...hrmmm, my gut tells me to go with your original suggestion instead of that, but I'm only tracking 85% here with my lack of ruby fu
djbkd has quit [Quit: My people need me...]
alexju has joined #ruby-lang
bruno- has quit [Ping timeout: 240 seconds]
<ruby-lang685> jhass, thanks! I promise to read more and better understand the zen ruby way of doing things ;)
funspectre1_ has joined #ruby-lang
alexju has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
enebo has quit [Quit: enebo]
<dangerou_> can you mixin to a module?
saarinen has joined #ruby-lang
AKASkip has quit [Ping timeout: 256 seconds]
WilfredTheGreat has quit [Read error: Connection reset by peer]
<drbrain> dangerou_: module methods don't get included, only instance methods
<dangerou_> thanks
pr0ton has quit [Quit: pr0ton]
pr0ton has joined #ruby-lang
dangerousdave has joined #ruby-lang
zwichenzug has quit [Remote host closed the connection]
zwichenzug has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Johz has quit [Quit: Leaving]
dangerou_ has quit [Ping timeout: 250 seconds]
pr0ton has quit [Quit: pr0ton]
nathanstitt has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
ruby-lang685 has quit [Quit: Page closed]
r3zn0r has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
kalehv has joined #ruby-lang
<|jemc|> dangerou_: I haven't used it, but there exists a 'mixology' gem the provides an alternative method of mixing modules in that can be unmixed
enebo has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
dangerousdave has quit [Ping timeout: 256 seconds]
sdouglas has joined #ruby-lang
<fowlduck> where is the documentation for ConditionVariable in ruby 2.1.2? It still exists in the language and isn't the same as Monitor::ConditionVariable, from what I can tell
sarkyniin has joined #ruby-lang
sarkyniin has quit [Client Quit]
<fowlduck> MonitorMixin, rather
<drbrain> fowlduck: it should be at top-level
<fowlduck> am I taking crazy pills? I don't see it in the docs http://ruby-doc.org/core-2.1.2/
<fowlduck> I see the documentation in the source near the top of thread.c
<fowlduck> but nothing in the web docs
<fowlduck> iiiiinteresting
<fowlduck> jhass: thanks for the trick
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adaleigh has joined #ruby-lang
bruno- has joined #ruby-lang
adaleigh has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 250 seconds]
<|jemc|> fowlduck: yes, ConditionVariable is a critically important tool and criminally underdocumented and underused
<fowlduck> it's pretty amazing once you know how to use it (and have a need for it)
<|jemc|> note that the one that MonitorMixin::ConditionVariable has a different API from ConditionVariable
sarkyniin has joined #ruby-lang
sarkyniin has quit [Client Quit]
<fowlduck> yep
<|jemc|> s/the one that//
<|jemc|> which is silly, quite honestly
<fowlduck> #wait will operate on the monitor in one case
<fowlduck> and you have to pass a mutex in the other case
<fowlduck> (that's just from memory)
<fowlduck> yeah, and wait_until/wait_while
adaleigh has joined #ruby-lang
<|jemc|> every time I see sleep(period_of_time) until condition_blah in ruby I want to smack the author with a hammer made of ConditionVariable
<fowlduck> testing stuff that uses condition variables is hard, though :/
<fowlduck> haha
<|jemc|> I think it's just because proper threading is so ill-understood by most ruby devs, who never have to touch it or understand it in their everyday work
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
x0f has quit [Ping timeout: 240 seconds]
<fowlduck> yup
<fowlduck> I do a crap-ton of ruby concurrency work. or have, in the past
<fowlduck> I did a ton of work on the agent gem
<|jemc|> back in a bit (commute)
<fowlduck> word
<fowlduck> later
havenwood has quit [Remote host closed the connection]
<jaimef> if you have an array of method names and you wish to invoke them in a foreach loop, would you use call?
havenwood has joined #ruby-lang
<drbrain> jaimef: yes
x0f has joined #ruby-lang
ponch_ has joined #ruby-lang
D9 has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
sdouglas_ has joined #ruby-lang
jhass is now known as jhass|off
<jaimef> Symbol#.to_method? :P
ponch_ has quit [Ping timeout: 240 seconds]
<jaimef> send
miqui has quit [Ping timeout: 264 seconds]
<drbrain> err, right, send
stardiviner has joined #ruby-lang
<drbrain> sorry
sarkyniin has joined #ruby-lang
sdouglas has quit [Ping timeout: 272 seconds]
cklee has quit [Quit: Connection closed for inactivity]
havenwood has quit []
dda has quit [Quit: logging out.]
mikecmpbll has quit [Quit: ciao.]