apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
wildroman2 has quit [Remote host closed the connection]
<kasperg> MrZYX: Good call, I think I have destroyed the original file while playing around
capicue has quit [Quit: Leaving...]
nfk has quit [Quit: yawn]
<kasperg> MrZYX: I need to do some work on the file before saving it, not just move it. But thanks, it looks like it works now, thank you!
gyre007 has joined #ruby
Lewix has joined #ruby
Ox6abe_ has quit [Ping timeout: 252 seconds]
fijimunkii has joined #ruby
<benzrf> hlo? can anybody answer my question?
<benzrf> ;_;
Ox6abe has quit [Ping timeout: 260 seconds]
shedd has joined #ruby
<MrZYX> didn't I?
preller has joined #ruby
Olipro has quit [Ping timeout: 260 seconds]
<benzrf> oh sorry
<benzrf> i guess what i was asking is
<benzrf> how are private methods implemented?
<benzrf> what happens differently between foo() and self.foo() that can be detected?
ddd has joined #ruby
Ox6abe has joined #ruby
IceDragon has joined #ruby
<MrZYX> private methods are not allowed to be called with an explicit receiver, self.foo uses one (self)
<benzrf> how can you tell what the receiver is?
<MrZYX> programatically?
<benzrf> also, is def sugar for anything?
<MrZYX> hm, I don't remember exactly but I think def and define_method end up at the same C function inside MRI
Kricir has quit [Ping timeout: 252 seconds]
<MrZYX> but not really, no
kaldrenon has joined #ruby
<benzrf> alright
<benzrf> so if i redfined define_method, def would still work
<MrZYX> yes
<benzrf> OK
shedd has quit [Ping timeout: 246 seconds]
<MrZYX> actually I never tried but I'd be highly surprised if not
agjacome_ has quit [Ping timeout: 252 seconds]
<benzrf> holy shit
<benzrf> i just redfined it
<benzrf> and as soon as i hit enter
<benzrf> i got flooded with tracebacks
<MrZYX> hm, had no problems in pry
Ox6abe has quit [Ping timeout: 240 seconds]
<MrZYX> >> def define_method name, &block; block.call; end; def foo; "test"; end;
<eval-in_> MrZYX => nil (https://eval.in/77086)
<benzrf> ah\
<benzrf> it's because I put in no methods
<benzrf> *args
d45h has joined #ruby
rjhunter has joined #ruby
<MrZYX> >> def define_method; end; def foo; "test"; end;
<eval-in_> MrZYX => nil (https://eval.in/77087)
Ox6abe has joined #ruby
kaldrenon has quit [Ping timeout: 240 seconds]
<benzrf> I overrode Class tho
<benzrf> and in pry only
<benzrf> irb did not mess up
robertjpayne has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
echevemaster has joined #ruby
hamakn has joined #ruby
lyanchih has joined #ruby
mengu has joined #ruby
kofno has joined #ruby
hamakn has quit [Remote host closed the connection]
Ox6abe has quit [Ping timeout: 240 seconds]
rjhunter has quit [Ping timeout: 250 seconds]
Ox6abe has joined #ruby
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
Ox6abe_ has joined #ruby
hamakn has quit [Remote host closed the connection]
nhhagen has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
KS has joined #ruby
awarner has quit [Read error: Connection reset by peer]
awarner has joined #ruby
jorge__ has joined #ruby
lyanchih has quit [Quit: lyanchih]
Ox6abe has quit [Ping timeout: 252 seconds]
pragmatism_ has joined #ruby
hamakn_ has quit [Remote host closed the connection]
jorge__ has quit [Client Quit]
hamakn has joined #ruby
Ox6abe_ has quit [Ping timeout: 246 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
jerius has joined #ruby
mengu has quit [Ping timeout: 246 seconds]
niklasb has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
jorge__ has joined #ruby
hamakn_ has quit [Remote host closed the connection]
kofno has joined #ruby
hamakn has joined #ruby
Ox6abe has joined #ruby
predator217 has joined #ruby
shiva_inu has joined #ruby
shiva_inu is now known as shiva_inu
benzrf has left #ruby [#ruby]
phipes has quit [Remote host closed the connection]
Olipro has joined #ruby
predator117 has quit [Ping timeout: 246 seconds]
dcope has joined #ruby
<dcope> hey all
hamakn has quit [Ping timeout: 240 seconds]
<dcope> would i just put that in a module?
vikhyat has joined #ruby
Megtastique has quit []
Beoran_ has joined #ruby
Olipro_ has joined #ruby
pzula has joined #ruby
shedd has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
Olipro_ is now known as Olipro
DeProdigy has joined #ruby
eka has joined #ruby
Beoran__ has quit [Ping timeout: 252 seconds]
Ox6abe has quit [Remote host closed the connection]
Ox6abe has joined #ruby
niklasb has quit [Ping timeout: 246 seconds]
shedd has quit [Ping timeout: 252 seconds]
amacgregor has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
nwertman has quit [Ping timeout: 246 seconds]
blandflakes has joined #ruby
jorge__ has quit [Ping timeout: 246 seconds]
DeProdigy has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
stabby_lambda has quit [Quit: Leaving...]
havenwood has quit [Read error: Connection reset by peer]
havenn has joined #ruby
stateInvalid has joined #ruby
Fraeon has quit [Ping timeout: 246 seconds]
Guedes0 has joined #ruby
Guedes0 has left #ruby [#ruby]
Fraeon has joined #ruby
ExxKA has quit [Ping timeout: 264 seconds]
kiwi_35646 has joined #ruby
akonny has quit [Quit: akonny]
nhhagen has joined #ruby
maletor has joined #ruby
kiwi_35646 has quit [Read error: Connection reset by peer]
KS has quit [Ping timeout: 246 seconds]
Es0teric has joined #ruby
s2013{Texas} has quit [Ping timeout: 260 seconds]
Olipro_ has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
klaut has joined #ruby
angusigu1ss has joined #ruby
RoryHughes has quit []
stateInvalid has quit [Quit: Leaving]
Barrin6 has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
Olipro_ is now known as Olipro
yenic has joined #ruby
whysosad has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
yenic has left #ruby [#ruby]
hamakn has joined #ruby
pragmatism_ has quit [Quit: ZNC - http://znc.in]
kofno has quit [Ping timeout: 246 seconds]
kofno has joined #ruby
heidi has joined #ruby
heidi has quit [Client Quit]
kiwi_43868 has joined #ruby
angusigu1ss has quit [Ping timeout: 260 seconds]
phipes has joined #ruby
Jdubs has quit [Remote host closed the connection]
MrZYX is now known as MrZYX|off
robustus has quit [Ping timeout: 245 seconds]
heidi has joined #ruby
robustus has joined #ruby
jamesaanderson has joined #ruby
zmansiv has joined #ruby
kiwi_43868 has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
phipes has quit [Ping timeout: 250 seconds]
hamakn has quit [Ping timeout: 252 seconds]
nettoweb has quit [Quit: nettoweb]
pu22l3r has joined #ruby
kirun has quit [Quit: Client exiting]
kofno has quit [Ping timeout: 250 seconds]
shedd has joined #ruby
rburton- has quit [Quit: Leaving...]
zcreative has joined #ruby
funburn has quit [Quit: funburn]
nettoweb has joined #ruby
DeProdigy has joined #ruby
havenn has quit [Remote host closed the connection]
kofno has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
KS has joined #ruby
aantix has joined #ruby
R33C3 has joined #ruby
rjhunter has joined #ruby
pragmatism has quit [Quit: pragmatism]
pzula has quit [Ping timeout: 246 seconds]
pzula has joined #ruby
drag00n has quit [Ping timeout: 240 seconds]
SUPER_AMY has joined #ruby
SUPER_AMY has quit [Client Quit]
hiyosi has joined #ruby
R33C3 has quit [Remote host closed the connection]
spacebark has joined #ruby
rjhunter has quit [Ping timeout: 260 seconds]
SUPER_AMY has joined #ruby
spacebark has left #ruby [#ruby]
SUPER_AMY has quit [Client Quit]
funburn has joined #ruby
R33C3 has joined #ruby
DeProdigy has quit [Ping timeout: 260 seconds]
kofno has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
mikesplain has joined #ruby
kofno has joined #ruby
SUPER_AMY has joined #ruby
SUPER_AMY has quit [Client Quit]
maletor has joined #ruby
SUPER_AMY has joined #ruby
R33C3 has quit [Ping timeout: 252 seconds]
KS has quit [Ping timeout: 240 seconds]
mikemac has quit [Remote host closed the connection]
nifty has joined #ruby
mikemac has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
mikesplain has quit [Ping timeout: 260 seconds]
javierbuilder has joined #ruby
zzak_ has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
javierbuilder has joined #ruby
duggiefresh has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 246 seconds]
javierbuilder has quit [Max SendQ exceeded]
nobitanobi has quit [Ping timeout: 260 seconds]
klaut has quit [Remote host closed the connection]
kofno has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
amacgregor_ has joined #ruby
Jdubs has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
heidi has quit [Quit: Leaving.]
Lewix has joined #ruby
phipes has joined #ruby
snuffeluffegus has quit [Quit: Leaving]
shedd has joined #ruby
snuffeluffegus has joined #ruby
motto has quit [Quit: Sto andando via]
kofno has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
KS has joined #ruby
michaeldeol has joined #ruby
jorge_ has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
hamakn has joined #ruby
jerius has quit []
Garo__ has quit [Ping timeout: 272 seconds]
michaeldeol has quit [Ping timeout: 250 seconds]
moted has quit [Quit: moted]
epitamizor has joined #ruby
DeProdigy has joined #ruby
Garo_ has joined #ruby
Jamo has quit [Ping timeout: 272 seconds]
kofno has quit [Ping timeout: 252 seconds]
Jamo has joined #ruby
kofno has joined #ruby
jamesfung14 has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
robertjpayne has quit [Remote host closed the connection]
nhhagen has joined #ruby
noyb has joined #ruby
hamakn has quit [Ping timeout: 246 seconds]
ner0x has joined #ruby
randomnick_ has quit [Quit: Leaving]
nhhagen has quit [Ping timeout: 260 seconds]
maletor has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
funburn has quit [Quit: funburn]
kofno has joined #ruby
rburton- has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
duggiefresh has joined #ruby
rburton- has quit [Read error: Connection reset by peer]
duggiefresh has quit [Remote host closed the connection]
rburton- has joined #ruby
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
vikhyat has quit [Remote host closed the connection]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
amacgregor has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
amacgregor__ has joined #ruby
Barrin6 has quit [Quit: Leaving]
brennanMKE has quit [Remote host closed the connection]
amacgregor_ has quit [Ping timeout: 246 seconds]
_Andres has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
jkhwan has quit [Ping timeout: 272 seconds]
shedd has joined #ruby
funburn has joined #ruby
mele- has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
funburn has quit [Client Quit]
rburton_ has joined #ruby
almarshall has quit [Quit: almarshall]
phantomcircuit has quit [Remote host closed the connection]
Olipro has joined #ruby
nobitanobi has joined #ruby
phantomcircuit has joined #ruby
gyre007 has quit [Remote host closed the connection]
rburton- has quit [Ping timeout: 240 seconds]
rburton- has joined #ruby
rburton- has quit [Remote host closed the connection]
blandflakes has quit [Disconnected by services]
mercwithamouth has quit [Ping timeout: 250 seconds]
shedd has quit [Ping timeout: 260 seconds]
_Andres has joined #ruby
mele- has quit [Ping timeout: 250 seconds]
KS has quit [Quit: leaving]
rjhunter has joined #ruby
rburton_ has quit [Ping timeout: 246 seconds]
_Andres has quit [Read error: Connection reset by peer]
carif has quit [Quit: Ex-Chat]
carif has joined #ruby
kofno has quit [Ping timeout: 250 seconds]
Olipro has quit [Excess Flood]
kofno has joined #ruby
benzrf has joined #ruby
<benzrf> hello
<benzrf> lambdas vs procs:
<benzrf> - procs have special rules for args and returns
<benzrf> - lambdas are basically lexically scoped methods as an object
<benzrf> yes?
Olipro has joined #ruby
codeFiend has joined #ruby
rjhunter has quit [Ping timeout: 250 seconds]
Megtastique has joined #ruby
_Andres has joined #ruby
Megtastique has quit [Client Quit]
zarul has quit [Read error: Operation timed out]
Megtastique has joined #ruby
Megtastique has quit [Remote host closed the connection]
<nobitanobi> hihi
vikhyat has joined #ruby
Megtastique has joined #ruby
noyb has quit [Quit: Lost terminal]
nifty has quit [Quit: Leaving]
brian___ has quit [Quit: brian___]
Rollabunna has quit [Remote host closed the connection]
rjsamson has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
rjsamson is now known as stabby_lambda
Rollabunna has joined #ruby
kofno has joined #ruby
americus has joined #ruby
DeProdigy has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: nettoweb]
todeprepaka has joined #ruby
Rollabunna has quit [Ping timeout: 250 seconds]
todeprepaka has quit [Remote host closed the connection]
Hanmac has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
almarshall has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
daidoji has joined #ruby
bricker`LA has quit [Ping timeout: 250 seconds]
kofno has quit [Ping timeout: 246 seconds]
foredoomed has joined #ruby
brunosanches has joined #ruby
kofno has joined #ruby
brunosanches is now known as brunops
brunops has quit [Changing host]
brunops has joined #ruby
michael_lee has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
michael_lee has quit [Max SendQ exceeded]
j2sentient has joined #ruby
colonolGron has quit [Quit: leaving]
foredoomed has quit [Ping timeout: 246 seconds]
michael_lee has joined #ruby
sng|afk is now known as synergy_
DeProdigy has joined #ruby
shedd has joined #ruby
kostine has quit [Quit: kostine]
_Andres has quit [Read error: Connection reset by peer]
Megtastique has quit []
shedd has quit [Ping timeout: 260 seconds]
benzrf has left #ruby [#ruby]
Briareos1 has joined #ruby
baroquebobcat has joined #ruby
kofno has quit [Ping timeout: 250 seconds]
yano is now known as republicandude
blandflakes has joined #ruby
kofno has joined #ruby
Megtastique has joined #ruby
mattmcclure is now known as sh1ps
sh1ps is now known as mattmcclure
foredoomed has joined #ruby
republicandude is now known as yano
Megtastique has quit [Client Quit]
phipes has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
petey has joined #ruby
nhhagen has joined #ruby
foredoomed has quit [Ping timeout: 260 seconds]
petey has quit [Ping timeout: 246 seconds]
americus has quit [Quit: Bye]
nhhagen has quit [Ping timeout: 252 seconds]
eka has quit [Quit: Computer has gone to sleep.]
rh1n0 has joined #ruby
eka has joined #ruby
maletor has joined #ruby
pzula has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
kofno has joined #ruby
eka has quit [Ping timeout: 246 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
yano is now known as obamasucks
obamasucks is now known as yano
Zarkhder has joined #ruby
Lewix has joined #ruby
<devians> is it possible for rvm/bundler to 'cache' gem information somehow?
DeProdigy has quit [Ping timeout: 240 seconds]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jorge_ has quit [Ping timeout: 246 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
shedd has joined #ruby
kofno has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
pragmatism has joined #ruby
kofno has joined #ruby
kitak_ has quit [Remote host closed the connection]
<pragmatism> back
kitak has joined #ruby
pragmatism has quit [Client Quit]
mjs2600 has joined #ruby
banister has joined #ruby
Megtastique has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
rjhunter has joined #ruby
psyl0n has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
foredoomed has joined #ruby
Zarkhder has quit [Quit: Leaving...]
foredoomed has quit [Client Quit]
sailias has joined #ruby
rjhunter has quit [Ping timeout: 246 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
kofno has quit [Ping timeout: 250 seconds]
valesk has quit [Remote host closed the connection]
kofno has joined #ruby
phipes has joined #ruby
DeProdigy has joined #ruby
pabloh has quit [Quit: Saliendo]
phipes has quit [Read error: Connection reset by peer]
phipes_ has joined #ruby
platzhirsch has quit [Ping timeout: 260 seconds]
R33C3 has joined #ruby
DeProdigy has quit [Ping timeout: 250 seconds]
wallerdev has quit [Quit: wallerdev]
nifty has joined #ruby
wallerdev has joined #ruby
snuffeluffegus has quit [Quit: Leaving]
phipes_ has quit [Ping timeout: 260 seconds]
Briareos1_ has joined #ruby
pzula has joined #ruby
Briareos1 has quit [Ping timeout: 246 seconds]
jibi has quit [Quit: .]
decoponio has joined #ruby
SUPER_AMY has quit [Quit: Lost terminal]
kofno has quit [Ping timeout: 260 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kofno has joined #ruby
jamesaanderson has joined #ruby
bricker`LA has joined #ruby
R33C3 has quit [Remote host closed the connection]
R33C3 has joined #ruby
<devians> what's the go with bundler, does it keep some kind of gem cache or somesuch? I'm running into a few problems where it seems it could be solved if there wasnt a cache invalidation problem
CyberFlames has joined #ruby
R33C3 has quit [Read error: Connection reset by peer]
pzula has quit [Ping timeout: 250 seconds]
Lewix has quit [Remote host closed the connection]
epitamizor has quit [Quit: Connection terminated]
almarshall has quit [Quit: almarshall]
kofno has quit [Ping timeout: 246 seconds]
Jdubs has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
jacobsmith has joined #ruby
kofno has joined #ruby
aantix has quit [Quit: aantix]
Ox6abe has quit []
Jdubs has joined #ruby
shedd has joined #ruby
mkevin has joined #ruby
<mkevin> hello
<sam113101> hello
<mkevin> hi sam
kitak has quit [Remote host closed the connection]
<mkevin> is this a good room for discussion?
petey has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sam113101> about ruby? yes
<mkevin> good. i am new to programming in general and ruby. how long have you used ruby?
shedd has quit [Ping timeout: 260 seconds]
<sam113101> about a year I'd say, but I rarely use it
phipes has joined #ruby
charliesome has joined #ruby
<mkevin> have you completed any projects with it?
<sam113101> yes
<sam113101> a few
dhruvasagar has joined #ruby
nhhagen has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
kofno has quit [Ping timeout: 250 seconds]
kofno has joined #ruby
<mkevin> did you have to know the language inside and out to complete the work?
<sam113101> I don't know, I knew quite a lot about it already
davy has joined #ruby
brunops has quit [Ping timeout: 246 seconds]
<sam113101> ruby is quite an easy language, though
rh1n0 has quit [Quit: Leaving...]
nhhagen has quit [Ping timeout: 246 seconds]
<devians> sam113101 i find the language easy but the ecosystem fairly deep and difficult to get into
codeFiend has quit [Quit: codeFiend]
Emmanuel_Chanel has quit [Quit: Leaving]
brunops has joined #ruby
nari has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
<lagweezle> mkevin: That depends, I think, on how advanced a project you are planning to do. Knowing the language somewhat deeply will help you more elegantly and quickly solve the problem you are trying to solve, but it certainly is not a requirement in many--possibly most--cases.
phipes has quit [Remote host closed the connection]
Briareos1_ has quit [Remote host closed the connection]
<lagweezle> mkevin: As devians noted, the ecosystem is VERY deep and confounds me a bit as well.
<devians> yeah. thats probably reason numero uno that I'm not doing more ruby
kofno has quit [Ping timeout: 260 seconds]
<devians> i've basically learnt it because of necessity, to run the various developer tools and apps that I want to run
Lewis has joined #ruby
kofno has joined #ruby
psyl0n has quit [Remote host closed the connection]
aantix has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phipes has joined #ruby
braincrash has quit [Quit: bye bye]
<mkevin> ok, i might as well qualify myself a bit - so i used to be an architect. the world came crashing down around 2008, as I am sure you all experienced to some degree as well. luckily i was able to move into a business role and i have been able to eat and whatnot. however, i miss the "development" and "building' aspect. A friend recommended I look into software development and specifically ruby. So, I spent some time with ruby. Then rails.
<mkevin> Poked around with html. Then css. Did some php (didnt like it). And now here I am. So, I have looked at a variety of packages. Definitely a deep pool. Do you all have a specific specialty and stick to that?
braincrash has joined #ruby
jamesaanderson has joined #ruby
<nobitanobi> mkevin, what do you mean by packages?
fijimunkii has quit [Ping timeout: 246 seconds]
<mkevin> pardon. languages.
<nobitanobi> oh ok
<nobitanobi> Ruby is great. Good decision.
<devians> mkevin I'm curious as to why you didnt like php?
<nobitanobi> have you tried tryruby.org?
<mkevin> yes
<devians> no agenda, its just that its been my bread and butter for a decade and I'm always curious about newcomers viewpoints
pu22l3r has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 240 seconds]
shedd has joined #ruby
<ddd> i don't like the language semantics, find it far more difficult to work in than ruby, doesn't read anywhere near as naturally as ruby (though it too can be made to read terse or dense) generally, and I don't like the 'feel' of the language compared to ruby. Ruby feels 'right' to me.
nifty has quit [Ping timeout: 252 seconds]
rjhunter has joined #ruby
<ddd> thats why i don't like php. good or bad :shrug:
kofno has joined #ruby
<lagweezle> I can say that Ruby Koans was greatly helpful to me.
<mkevin> i thought ruby was easier to read, to be honest
<devians> ddd, interesting. I agree that its not a nice to read / pretty language
<nobitanobi> devians, I have been asked that many times by ex colleagues that I used to work and we used PHP. They always say but why "ruby"? And I just can say, Ruby is clean and I am happy when I work with it. PHP seems messy.
<devians> It gets much much better when you use higher level stuff like laravel
<lagweezle> PHP A Fractal of Bad Design <-- much of this article, wherever it is hiding on the web, I agree with.
<devians> lagweezle while theres valid points in that article, I think it kind of misses the point a touch?
Megtastique has quit []
<devians> aaaanywho, not here to try and talk about php in a ruby channel :P
<ddd> devians: that lack of niceness to me makes it harder to both code and comprehend. with ruby i don't really have to work at understanding what's going on even if i don't understand all the nuances of the chosen statements. i can't say the same for php. thats a big downside for php in my personal opinion (which is as always, just an opinion)
<lagweezle> true, true. <.<;
<nobitanobi> ddd, +1 completely feel like you. Ruby comes natural to me
blandflakes has quit [Quit: Leaving]
<ddd> and ruby doesn't seem to penalize me as harshly when i goof things. :)
<ddd> which i do a lot of hehe
<devians> ddd, lagweezle, nobitanobi et al, its interesting isn't it. My preferred language is javascript these days, and I think it's a horrid language to read/write but conceptually quite nice.
<ddd> or i should say, more accurately, i can recover faster from the goofs i make
<nobitanobi> devians, really? Why is that?
<ddd> devians: yeah i know a few that feel that way about JS as well.
Lewis has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 250 seconds]
<devians> nobitanobi why is what sorry?
<nobitanobi> boh, I don't. I am still trying to go into the Prototyping thing :/
<ddd> not my cup of tea either, but for those that like it, its an extremely 'fun' language they say
<nobitanobi> What does give you JS?
shedd has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
<devians> a lot of the things i do in js that turn out to be lovely bits of code feel like cheating. i cant describe it any other way.
<ddd> hehe
<nobitanobi> ha
<nobitanobi> interesting
<ddd> thats how i feel with ruby. its.. succinct i think is the word i want
<nobitanobi> I'm actually working with JS nowadays, creating a crawler with PhantomJS.
<devians> like, big sets of models in somewhat complex datasets, working with them in a functional manner, with map/filter/pluck etc
<mkevin> how much coding did you have to do before you felt comfortable?
<ddd> mkevin: who's that to?
<mkevin> anyone
<devians> ie, i have a project that represents an aircraft atm, and the code that lets me grab 'all seats with active bells' is vnice. or the code that lets me grab 'all ids for seats with these properties'
<devians> its not a traditional loop, its a functional chain that recurses down through the datastructure.
<devians> its just... i dunno, nice.
wozniak has joined #ruby
<ddd> myself, about a year. when i was coding steady i was getting pretty good. then i took an almost 5 month break with zero coding, and now i'm having a dickens of a time because i 'think' i remember something one way, and its really not. and i'm jumping the gun a lot.
<nobitanobi> devians, seems nice :) I'm glad you have reached that point in JS. I haven't yet. And I have read "JS the good parts twice" XD
<ddd> but when i was coding full time, it took about 2, maybe 3 months to start rolling, and the next 8-10 months i was clicking along fairly well.
blandflakes has joined #ruby
<nobitanobi> Now I'm actually working with C. Oh boy, pointers.
<ddd> but i started with rails, decided i wanted just ruby so concentrated on ruby only, forgoing rails. then went back to the rails framework
<devians> haha. nobitanobi learning coffeescript back when it came out gave me a surprising boost, seeing how it turned familiar concepts (class inheritance) into js (prototypal inheritance)
<mkevin> when you work for a company as a programmer, is that 8 hours a day of typing and staring at a screen?
<nobitanobi> ddd, same here. Started with Rails, now Ruby :P
<devians> also, learning to abuse javascripts scope and treatment of new and this helps a lot
<nobitanobi> mkevin, depends on the company I guess
<ddd> nobitanobi++
<nobitanobi> mkevin, I work as a programmer and I could say I am an average of 6 hours?
<ddd> i mean some companies just wANT LEGIONS of code. others want less code, FAR more quality
<nobitanobi> make it 5 :D
<ddd> so it depends
<nobitanobi> but I'm a lazy bastard, so...
<devians> I'm a freelance consultant. my days vary _wildly_ as to what I'm doing
<ddd> devians: same here. i'm a freelancer
codeFiend has joined #ruby
<devians> lately I've been devops ninja, getting my brain around vagrant and ansible.
<mkevin> lets say you are working on a project. do you find that you are reinventing the wheel all the time, or are you mostly using prebuilt (plugins?) (gems?) to produce the results?
<ddd> but ruby isn't the only language i touch. I also use C++ and am learning java. (took *a* class on java, now just finding my zone, wherever that is, with it)
amacgregor has joined #ruby
<nobitanobi> I kind of miss my freelancing days. That moment when you realize it's 9pm and you still have your PJs
<ddd> mkevin: naa, too many gems out there, many okish, others great, to reinvent
<ddd> nobitanobi: haha true that
<Reach> is it tough to get freelance jobs?
nwertman has joined #ruby
<ddd> yes
<devians> nobitanobi ah i cant do that. otherwise i fuck about all day. gotta shower, get dressed, go to the office etc
<nobitanobi> mkevin, gems are great. Ruby is really good on that
<devians> Reach depends on you really.
<nobitanobi> devians, that's great. I work at a coworking space and there are tons of freelancers there
<mkevin> is this a good source to learn from: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
<ddd> very tough. tons of freelancers out there, tough to differentiate yourself. once you do, jobs start to come in, but its tough. you have to find a way to make *you* stick out from the legions and that can be rough as hell
<nobitanobi> mkevin, yes. For Rails is really good
<devians> nobitanobi I'm going to move house soon and I'm going to build myself a proper office. spend 5k or so on fitout.
kofno has quit [Ping timeout: 246 seconds]
<ddd> most of the work i've gotten has been word of mouth.
echevemaster has quit [Remote host closed the connection]
<nobitanobi> devians, good
<ddd> that seems to be where most work i get comes from
kofno has joined #ruby
<nobitanobi> I literally remember myself coding from bed. When I reached that point, I was like... My mum would not be proud right now
<ddd> nobitanobi: why not? if you can get paid and not even leave the bed..
<nobitanobi> ddd, greasy hair..
<nobitanobi> you feel me?
<ddd> hahaha
<ddd> yeah
<devians> ddd, i really dont find it tough at all. I find that my skillset is so head and shoulders above the rest that people talk to me and go 'thank fucking christ, someone competent. hire him'
<mkevin> is ruby a good choice to use for static websites or is it best for dynamic or is it good for just about anything?
<ddd> devians: :shrug: i must be really shit then. because that sure doesn't happen around here
<devians> but perhaps thats more indicative of my local area
<nobitanobi> ddd, where u from?
<ddd> kentucky
<devians> that or your competition is better
<nobitanobi> california here
<nobitanobi> well, originally from Barcelona. I'm an immigrant
stevenhaddox has quit [Quit: Zzzz]
<ddd> devians: possibly. still implies that i'm shit if my competition is better than I am.
<ddd> you're either capable of doing the job or not. i know plenty capable of doing the job. getting folks out there to notice (advertising, word of mouth, access to job boards, etc) isn't easy peasy
<ddd> especially when they have 20 or 30 applying or bidding for the same job
brunops has quit [Ping timeout: 246 seconds]
davy has quit [Quit: Leaving...]
<mkevin> i have found that its easiest to find work when you are a salesman first. this means phone calls. lots and lots of phone calls.
<ddd> most of what i've gotten, as i said earlier, comes from word of mouth. other competent coders that I know (some are well known in the community, others not as much) looked at my work (sometimes without me knowing) and pointed someone my way.
<nobitanobi> word of mouth is the way to go.
<nobitanobi> yup.
<ddd> mkevin: yeah i'm not a salesman.
<mkevin> this is the same issue in most industries
s2013 has joined #ruby
sayan has joined #ruby
<ddd> i should say that as i'm not good at sales. i like the coding more than i do selling, including myself hehe
<ddd> which as you point out works against me
<devians> yeah, I dont bother with job boards or anything like that. I have a strong network of both clients and fellow freelancers who refer me work. I have strong relationships with a few recruiters that push things my way, and I slowly grow that network via functions (standard networking) and working via things like twitter.
<mkevin> i avoided twitter but signed on a couple weeks ago.
<ddd> devians: yeah you've found a workflow that works for you. i'm still struggling with that. I got out of the Army, reinvented myself as a coder, and am still working out the 'i need to do this and this to eat'
<ddd> it will come, as i figure it out. just a learning curve i guess
<devians> ddd, if you wanted to double your work, I would go on twitter and make a list of all the people in your area on there that freelance in industries similar or complementary to you. Ie if you do rails, find ui/ux consultants. Talk to and make friends with all these people and basically make yourself visible and useful. you can turn those relationships into quite a lot of referral work
<mkevin> that is the same sales technique i used in another industry
<ddd> not sure if i could use twitter. i use twitter for political action. politics and work don't usually go hand in hand
<nobitanobi> see u guys later! nice conversation going on here. mkevin Ruby is an awesome language, but its community is even more awesome
Megtastique has joined #ruby
<nobitanobi> stick with it, you will have fun
<ddd> 80% of who i follow (and that follow me) are politically related. like House of Representatives, Senators, etc
<ddd> i could scrap all that, but the twitter history would remain. would probably fry me for work coming off twitter :)
<fsck3r> Hi
<devians> ddd, make another account then.
<ddd> good point
mlpinit_ has joined #ruby
<mkevin> any of you use wordpress?
kofno has quit [Ping timeout: 246 seconds]
ner0x has quit [Quit: Leaving]
<ddd> i do for a political blog, but i don't dive into the code
<ddd> strictly a user, there
phipes has quit [Remote host closed the connection]
<devians> never look at the wordpress code, your eyes will melt
<ddd> hehe
kofno has joined #ruby
CyberFlames has quit [Quit: Lost terminal]
lukec has quit [Quit: lukec]
mlpinit has quit [Ping timeout: 250 seconds]
dhruvasa1ar has joined #ruby
bluOxigen has joined #ruby
shedd has joined #ruby
mlpinit_ has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
aclearman037 has joined #ruby
r0bby_ has quit [Excess Flood]
shedd has quit [Ping timeout: 260 seconds]
r0bby_ has joined #ruby
phipes has joined #ruby
brunops has joined #ruby
nhhagen has joined #ruby
IceDragon has quit [Quit: Space~~~]
s2013_ has joined #ruby
s2013 has quit [Ping timeout: 246 seconds]
<lagweezle> Reading scroll back from when I was nommiing food.
<lagweezle> devians: That airplane thing sounds quite neat!
kofno has quit [Ping timeout: 252 seconds]
<devians> yeah, its quite an interesting problem to model
kofno has joined #ruby
<devians> seats have data, seats belong in rows, rows belong in zones, zones belong to an aircraft. given an aircraft, give me the bell state of all selected seats :)
aclearman037 has quit []
nhhagen has quit [Ping timeout: 252 seconds]
Barrin6 has joined #ruby
eka has joined #ruby
aclearman037 has joined #ruby
angusigu1ss has joined #ruby
phipes has quit [Remote host closed the connection]
hogeo has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
falood has joined #ruby
brunops has quit [Changing host]
brunops has joined #ruby
jacobsmith has quit [Ping timeout: 246 seconds]
jeffdb has joined #ruby
eka has quit [Ping timeout: 260 seconds]
kofno has quit [Ping timeout: 240 seconds]
phipes has joined #ruby
kofno has joined #ruby
angusigu1ss has quit [Ping timeout: 246 seconds]
nisstyre has joined #ruby
_jesse__ has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
ner0x has joined #ruby
brunops has quit [Quit: leaving]
aclearman037 has quit []
Megtastique has quit []
kofno has quit [Ping timeout: 260 seconds]
codeFiend has quit [Quit: codeFiend]
kofno has joined #ruby
Arzaga has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
dhruvasa1ar has quit [Ping timeout: 246 seconds]
rjhunter has joined #ruby
shedd has joined #ruby
HawkTracker has joined #ruby
havenwood has quit [Ping timeout: 260 seconds]
mmcdaris has quit [Quit: mmcdaris]
<HawkTracker> hello I trying to work with net ssh and I am getting a regex error when loading a config file for ssh.
rjhunter has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has joined #ruby
Kryto01 has joined #ruby
<HawkTracker> this is the code
<Kryto01> ..
shedd has quit [Ping timeout: 250 seconds]
kofno has quit [Ping timeout: 246 seconds]
<HawkTracker> ..?
Kryto01 has quit [Quit: I Love My Ubuntu.....]
<mr`spock> HawkTracker, any useful information in the error/exception?
kofno has joined #ruby
Sawbones has joined #ruby
<Radar> HawkTracker: Try using SSHKit instead.
falood has quit [Remote host closed the connection]
<HawkTracker> /home/marshall/.ssh/config:5: syntax error, unexpected tIVAR, expecting end-of-input
falood has joined #ruby
falood has quit [Remote host closed the connection]
falood has joined #ruby
<mr`spock> notice you have single quotes around your string you're trying to use a variable
<HawkTracker> IdentityFile ~/.ssh/Marshall@Main-Key_rsa.private
s2013_ has quit [Ping timeout: 250 seconds]
<mr`spock> load('~/.ssh/config', '#{server}') <------
<mr`spock> fix that first?
<HawkTracker> fix what?
<mr`spock> maybe that's correct? or are you trying to use a variable in there?
mmcdaris has joined #ruby
<HawkTracker> i am trying to use a variable
<mr`spock> '#{server}' if i'm not mistaken, that won't put the server variable there.....
<HawkTracker> it won't
<HawkTracker> ?
<HawkTracker> what should it be?
<mr`spock> no. just put server - no quotes or anything, if server is some object
phipes has quit [Remote host closed the connection]
<mr`spock> Net::SSH.start load('~/.ssh/config', server) do |ssh <--- that's how you'd do it if `server` variable is already set
<HawkTracker> i am new to ruby and based on the code I started practicing with, every variable is #{variable_name}
hiyosi has quit [Ping timeout: 240 seconds]
<HawkTracker> is is not true?
<mr`spock> yes, then it would be "#{server}"
phipes has joined #ruby
<mr`spock> but you don't need to use anything else inside the string, so no need to use interpolation (i think that's what it's called)
<HawkTracker> ok, so i changed the single quote to double
<HawkTracker> it still fails
<mr`spock> your problem was simply using single quotes instead of double quotes
<mr`spock> same error?
<HawkTracker> Net::SSH.start load('~/.ssh/config', "#{$server}") do |ssh|
<HawkTracker> same error
<mr`spock> are you sure the variable is prefixed with $?
<HawkTracker> it is i just checked
<HawkTracker> i needed it to be
<mr`spock> got it
<HawkTracker> this ssh stuff is in a def
<HawkTracker> ... a function... right
<HawkTracker> ?
<mr`spock> yes
<HawkTracker> ok
<HawkTracker> it looks like ruby thinks "-" is regex option?
hogeo has quit [Remote host closed the connection]
<bnagy> that's a syntax error, not a regex error
<HawkTracker> should i use sshKit?
<bnagy> you can't load an ssh config file as ruby code
<HawkTracker> would that work better?
<bnagy> which is what you're doing there
<mr`spock> i am not too familiar with Net::SSH ... what are you trying to do? it doesn't look like you're instantiating Net::SSH.start properly
kofno has quit [Ping timeout: 246 seconds]
<bnagy> Net::SSH.start("host", "user", :password => "password") do |ssh| ...
<bnagy> is how it should look
<HawkTracker> trying to run ssh commands
<HawkTracker> on a remote server
kitak has joined #ruby
<HawkTracker> bnagy, that is right, but I need to use a config file
kofno has joined #ruby
hiyosi has joined #ruby
<bnagy> ok, well you're using the keyword load, not Net::SSH::Config.load
<HawkTracker> "Note that you will never need to use this class directly"
kitak has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
<bnagy> ... aaaand what does the rest of that sentence say?
phansch has joined #ruby
<bnagy> and how is it different from what you're doing?
nifty has joined #ruby
falood has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
<HawkTracker> it says :config is called by default
<HawkTracker> why can't i just use load then?
<bnagy> so then just do Net::SSH.start("host", "user") {
amacgregor_ has joined #ruby
petey has joined #ruby
<HawkTracker> because I don't want to explicitly give the host and user. Just the host name in the config file
phipes has quit [Remote host closed the connection]
ner0x has quit [Quit: Leaving]
<HawkTracker> the config file has all the info like ip address, user, port, identity file
<bnagy> you still have to tell it what to connect to
<HawkTracker> that is #{server}
hogeo has joined #ruby
<mr`spock> bnagy, hence the second argument to load()
petey has quit [Read error: Connection reset by peer]
<HawkTracker> the name of the hostname
amacgregor has quit [Ping timeout: 246 seconds]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy> holy crap
<HawkTracker> load (path, host, settings={})
petey has joined #ruby
<mr`spock> HawkTracker, just FYI you can use just the variable name there, which is $server you said
<bnagy> ok, sort it out yourselves
<mr`spock> lol yeah
<bnagy> this is the blind leading the blind
<bnagy> man ssh_config
<bnagy> learn to read
<bnagy> learn to ruby
* mr`spock agrees
Jetchisel has joined #ruby
<bnagy> then you may have a chance
fijimunkii has joined #ruby
<bnagy> mr`spock: I'm talking to you as well
<bnagy> this is nothing to do with string interpolation
<mr`spock> i know that
kofno has quit [Ping timeout: 246 seconds]
sailias has quit [Ping timeout: 246 seconds]
<mr`spock> i can't help him understand how to read documentation and code, though. i can hold my own when it comes to development.
kofno has joined #ruby
rh1n0 has joined #ruby
<HawkTracker> bnagy you didn't understand that load required a second parameter for the name of the host. You shouldn't be talking.
<bnagy> sigh
browndawg has quit [Ping timeout: 250 seconds]
agent_white has quit [Quit: brb]
phipes has joined #ruby
shedd has joined #ruby
hamakn has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
<HawkTracker> anyone?
<mr`spock> HawkTracker, you're not calling the `load()` properly
kofno has joined #ruby
<mr`spock> at least you might not be. i can't know because i can't see what you're doing and where.
<mr`spock> you need to know how to make sure you're calling what you need to return what you need and feed what you need into each argument. does Net::SSH.start accept whatever the netssh load returns?
kitak_ has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
<mr`spock> some more research into the code and documentation (and hopefully examples) can show you how to do what you're trying to accomplish
<HawkTracker> i would, be there is literally zero examples of people using this
nhhagen has joined #ruby
<mr`spock> .start may interpret what you're trying to do and call .load internally. i don't know.
<HawkTracker> my first google search was ruby net ssh config examples
<HawkTracker> second *
<nobitanobi> gnight folks
nobitanobi has quit [Quit: Leaving]
<bnagy> night
hamakn has quit [Ping timeout: 250 seconds]
nari has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
rhunter has joined #ruby
<devians> hey guys, i'm having a lot of problems with bundler. could someone please clue me in? when I change things around, change gems or sources or version etc, it seems like the 'old' version persists, i get a lot of errors around wrong paths etc. the only way around it seems to be to completely blow away my entire ruby version in rvm and rebuild from scratch.
CaptainJet has quit []
kofno has quit [Ping timeout: 246 seconds]
kofno has joined #ruby
fijimunkii has quit [Ping timeout: 246 seconds]
<bnagy> you could try a simpler version manager
<bnagy> and if rails is involved you could ask over there - ror people seem to use bundler a lot more than vanilla ruby
<devians> nah, its a rack app. gollum to be precise
<rhunter> devians, bundler only really controls which versions are loaded at runtime. Make sure you "bundle exec" anything that cares about which version of a gem is used
<devians> sorry, my stack is rack + passenger + nginx
<devians> i'm not execing anything myself, its all through config.ru
<mr`spock> devians, another suggestion: check which gemset you're using, and possibly consider making another gemset for testing?
<devians> the problem is that I'm in dev, i'm mucking around with things constantly, and every time I change something I have to bugger about endlessly fighting whatever cache bundler has going
<mr`spock> devians, `rvm current` should show you your current ruby version, and `rvm gemset list` should show you your available gemsets
<mr`spock> devians, generally it's not a pain at all if you have a gemset for each project, as a developer
jonahR has joined #ruby
Parker0 has joined #ruby
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mr`spock> i've never had a problem with gems or versions with multiple projects because each set of gems is isolated from the others
<rhunter> devians, make sure config.ru loads the bundle as soon as it can
<devians> i'm installing using bundle install --deployment mr`spock does that change much?
larissa has quit [Quit: Leaving]
<mr`spock> devians, yes, because i believe in that case it installs the gems in a shared location inside your rails app.
<devians> vendor/bundle yes
<rhunter> --deployment includes "no shared gems" and "path", so it should be as isolated as a gemset
<mr`spock> (sorry, i know you said it's not rails)
<devians> what I dont get, right, is that if I rm -rf vendor, and bundle install again, i still get 'ghosts'
<rhunter> decians, what misbehaviour do you see to observe these ghosts?
<mr`spock> do you know if `bundle exec` will prioritize the gems isnide vendor/bundle over system gems?
<devians> rhunter basically, 'cannot find file at $path' errors, where $path is some old version of a gem
<rhunter> mr`spock - more than prioritise, --disable-shared-gems should make the system gems unavailable
<rhunter> devians, and that's raised from a "require"?
kofno has quit [Ping timeout: 260 seconds]
kofno has joined #ruby
kitak has joined #ruby
ewnd9 has joined #ruby
dhruvasagar has joined #ruby
<rhunter> devians, Is that Passenger? Does it have leftover interpreters running from before the change?
kasperg has quit [Remote host closed the connection]
<devians> hrm. perhaps thats it. I'm restarting nginx, I would assume that would be enough to sort out lagging passenger processes
<rhunter> that's a reasonable assumption
fragmachine has joined #ruby
<devians> like I said, the only thing that seems to 100% sort it, is blowing away the entire ruby install :/
jeffdb has quit [Quit: jeffdb]
ddd has quit [Read error: No route to host]
jeffdb has joined #ruby
<mr`spock> devians, does `gem env` show you ruby version && path you expect?
rh1n0 has quit [Quit: Leaving...]
<rhunter> it might help tracing the problem to log the value of $" and $: at various times (pre/post bundler.setup, in a request...)
Nilium has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
<devians> mr`spock i'm not entirely sure how i'd run 'gem env' in the right context
<rhunter> I'm on my phone so I can't conveniently spell out the long, actually-readable names for $" and $:
<mr`spock> i see
<mr`spock> welp i'm no help. sorry and good luck
kitak has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rjhunter has joined #ruby
kitak has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
kofno has joined #ruby
<lagweezle> Actually, realized I've got a good question for folks
<rhunter> ?
phipes has quit [Remote host closed the connection]
<rhunter> The answer is "cheese"
<lagweezle> Capistrano seems to be "the" choice for deploying things. Any pointers as to what I should be looking at in specific for using it to deploy to a mac mini?
<bnagy> ooh! cheese! Good plan.
<lagweezle> Brie ... I need more brie.
havenwood has quit [Ping timeout: 260 seconds]
maroloccio has joined #ruby
<rhunter> lagweezle, Capistrano is certainly a popular choice for Ruby apps - it's definitely not the only option
rickruby has quit [Quit: Connection closed for inactivity]
<lagweezle> Aye.
Nilium has joined #ruby
<rhunter> it's certainly the most popular "in its class"
rjhunter has quit [Ping timeout: 260 seconds]
<mr`spock> on that topic, can you guys suggest something better than capistrano? i'm deploying a rails 4 app right now and capistrano's documentation SUCKS
<lagweezle> mmhmm
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lagweezle> I'm all up for pointers to alternatives, as well.
hoyang has joined #ruby
hoyang has quit [Max SendQ exceeded]
<rhunter> Capistrano 3 is very different to Capistrano 2
<mr`spock> yeah, and the documentation for 3 is garbage, and most of the complicated issues are documented in 2
rrichards has joined #ruby
fragmachine has quit [Remote host closed the connection]
<mr`spock> any recommendations on what to do? cap 3 doesn't feel it belongs in the ranks of the other great gems
<rhunter> The major alternatives are not different programs doing the same thing, but entirely different approaches
<rhunter> notably artifact-oriented pipelines
<rhunter> Deploying machines/packages/containers
<mr`spock> i need to pull production branch of my repo to my debian machine and run several commands afterward.
<mr`spock> using chef to prep server
mkevin has left #ruby [#ruby]
<mr`spock> (already using chef. already got cap going but wouldn't mind looking at alternatives)
hoyang has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
<rhunter> mr`spock, packaging the app as a Debian package (with postinst script) at build time
rrichards has quit [Client Quit]
<mr`spock> and updates would be packaged, with postinit script, and installed as a new package?
<lagweezle> interesting
<mr`spock> installed as an update to existing package*?
<mr`spock> i don't like the dependency it places on the packaging system of the host
<rhunter> in these days of reproducible builds and "cattle not pets" servers, updates are often fresh installs to a new machine
<bnagy> ansible?
<mr`spock> got it. yeah, that would be reasonable, sort of.
<mr`spock> it would certainly work fine with our openstack setup
rjhunter has joined #ruby
<mr`spock> haproxy accepts a reload command and reloads the config without interruption, so it won't hurt to go to a new batch of servers upon successful update. sounds painful for frequent updates.
rhunter_ has joined #ruby
<mr`spock> rhunter, thanks for the "cattles not pets", that's funny :)
jamesaanderson has joined #ruby
<rhunter_> i can't take the credit for inventing it, but I like the metaphor
<lagweezle> Aye! That is a great one.
<lagweezle> Sadly, I'm in the pets not cattle scenario... :(
kofno has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
kofno has joined #ruby
maroloccio has quit [Ping timeout: 240 seconds]
pnbeast has quit [Quit: leaving]
havenwood has joined #ruby
<rhunter_> all the cloud services around make it much easier to start with cattle now
<rhunter_> probably a spiel for another time
rhunter has quit [Ping timeout: 260 seconds]
<lagweezle> This is a personal toy, but I should look into 'em.
<lagweezle> Wonder if I can get an AWS system to run tmux and irssi and a bot and whatever from for free or super low ...
<rhunter_> but if you haven't checked out how easy it is to provision a new machine or two, do something to it, and shut it down -- do yourself a favour and check out one of the fancy demos
sayan has quit [Ping timeout: 240 seconds]
<rhunter_> docker is changing things even further
<mr`spock> rhunter_, yeah, i love it. unfortunately i can't provision with my esxi machine, so i have to use paid cloud providers.
<rhunter_> I was involved in a programme of work where the "new server" requests were provisioned by raising a support ticket and eventually getting the VMWare ESX rights and all that.
yfeldblum has joined #ruby
<rhunter_> A concerted effort got the time between "let's make a service" and "it's in production" from about two weeks to under an hour
<rhunter_> which was pretty handy given the architecture involved *lots* of new services
michaeldeol has quit [Remote host closed the connection]
<rhunter_> anyway
<rhunter_> we were talking about capistrano
kofno has quit [Ping timeout: 252 seconds]
<mr`spock> , and replacing it with the possibility of making system packages
<rhunter_> if you have the use-case it was designed for, capistrano works quite well indeed
<rhunter_> with cap3, the use case is deliberately narrower
kofno has joined #ruby
michaeldeol has joined #ruby
shanlar- has joined #ruby
<rhunter_> the maintainer is aware that artifact-based deployments (especially containers) are The Future for the most part
<mr`spock> well, provisioning new servers isn't awful, if we find the proper openstack provider. but doing a git pull and restarting a couple services doesn't seem unreasonable for minor updates
<rhunter_> and is trying to trim down Capistrano to as simple as possible for just that narrow set of cases
shanlar has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
<mr`spock> so then i think i feel comfortable moving forward with capistrano, knowing i'll come across a better method later in which suites me best
rippa has joined #ruby
codeFiend has joined #ruby
<rhunter_> mr`spock: the capistrano mailing list is pretty helpful if you run into something that doesn't seem to make sense
<rhunter_> but a big motivation for cap3 has been to simplify and shrink
michaeldeol has quit [Ping timeout: 260 seconds]
jeffdb has quit [Quit: jeffdb]
<rhunter_> if you're trying to do (insert crazy complex thing), then capistrano may not be the best tool for your situation
<mr`spock> seemed to be a good idea. it works well for what i'm doing and it seems straightforward. it's just _very poorly_ documented and leaves lots of holes and questions.
<mr`spock> i had to do a lot of deploys just to find out how it works
shedd has joined #ruby
<mr`spock> thanks for all your info
stabby_lambda has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 246 seconds]
<rhunter_> :-)
yfeldblum has quit [Remote host closed the connection]
kofno has joined #ruby
yfeldblum has joined #ruby
zcreative has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
nhhagen has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
phipes has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
kitak has quit [Ping timeout: 245 seconds]
<lagweezle> aye! thank yo uas well!
ddd has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Catie has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
petey has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
maroloccio has joined #ruby
arietis has joined #ruby
lfox has quit [Quit: ZZZzzz…]
mmcdaris has quit [Quit: mmcdaris]
michaeldeol has joined #ruby
ewnd9 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
michaeldeol has quit [Read error: Connection reset by peer]
deol has joined #ruby
Jaclyn has quit [Quit: Lost terminal]
HawkTracker has quit [Ping timeout: 252 seconds]
zipper has joined #ruby
charliesome has joined #ruby
Guest63888 has joined #ruby
jkhwan has joined #ruby
Guest63888 is now known as stickybuds
hogeo has quit [Remote host closed the connection]
deol has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 246 seconds]
stickybuds has quit [Quit: Leaving]
mmcdaris has joined #ruby
jkhwan has quit [Remote host closed the connection]
kofno has joined #ruby
jkhwan has joined #ruby
shedd has joined #ruby
jamesaanderson has joined #ruby
nifty has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
Tearan has joined #ruby
dhruvasagar has quit [Ping timeout: 250 seconds]
shedd has quit [Ping timeout: 246 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
jeffdb has joined #ruby
jeffdb has quit [Client Quit]
kitak has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
jeffdb has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
jeffdb has quit [Client Quit]
Azure has quit [Quit: My MBP went to sleep.]
jgrevich has quit [Quit: jgrevich]
jeffdb has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
royalty has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
Rollabunna has joined #ruby
jeffdb has quit [Client Quit]
fmoli has quit [Ping timeout: 260 seconds]
Rollabunna has quit [Remote host closed the connection]
arietis has joined #ruby
jeffdb has joined #ruby
jeffdb has quit [Client Quit]
kofno has quit [Ping timeout: 246 seconds]
enape_101 has quit [Ping timeout: 260 seconds]
kofno has joined #ruby
karupanerura has quit [Ping timeout: 256 seconds]
Sawbones has quit [Remote host closed the connection]
zz_karupanerura has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
zz_karupanerura is now known as karupanerura
thelorax123 has quit [Remote host closed the connection]
closer has quit [Ping timeout: 256 seconds]
stabby_lambda has joined #ruby
thelorax123 has joined #ruby
jeffdb has joined #ruby
closer has joined #ruby
jeffdb has quit [Client Quit]
stabby_lambda has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 250 seconds]
shedd has joined #ruby
kofno has joined #ruby
gianlucadv has joined #ruby
nifty has joined #ruby
nhhagen has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
Tearan has quit [Quit: Sleepy Badger....]
thesheff17 has quit [Ping timeout: 246 seconds]
nhhagen has quit [Ping timeout: 252 seconds]
Tearan has joined #ruby
Tearan has quit [Client Quit]
kitak has joined #ruby
hogeo has quit [Remote host closed the connection]
shime has joined #ruby
aryaching_ has joined #ruby
kitak has quit [Remote host closed the connection]
HawkTracker has joined #ruby
hogeo has joined #ruby
Tearan has joined #ruby
Tearan has quit [Client Quit]
phansch_ has joined #ruby
tacos1de has joined #ruby
rushed has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
phansch has quit [Ping timeout: 260 seconds]
Tearan has joined #ruby
Tearan has quit [Client Quit]
Nanuq has quit [Ping timeout: 245 seconds]
phansch_ has quit [Quit: Leaving]
kofno has quit [Ping timeout: 246 seconds]
phansch has joined #ruby
kofno has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
hiall has joined #ruby
Tearan has joined #ruby
Tearan has quit [Client Quit]
<devians> hey guys, I have a rack app and i'd like to override a view in a gem. can I include my own from somewhere and extend the original?
michaeldeol has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tearan has joined #ruby
Tearan has quit [Client Quit]
rushed has quit [Quit: rushed]
<rhunter_> devians: can you explain that in different words? (maybe a concrete example)
<devians> rhunter_ well, i'm hacking on a gollum wiki. the gollum gem has Precious::Views::Layout, and i would like to extend that class and add a few methods, without cracking open the gem and changing it
browndawg has quit [Quit: Leaving.]
<rhunter_> "monkey patches" in your own code are the common solution for that kind of thing
michaeldeol has quit [Ping timeout: 240 seconds]
Tearan has joined #ruby
Tearan has quit [Client Quit]
hogeo has quit [Remote host closed the connection]
Nanuq has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
<devians> rhunter_ how would I go about that?
Tearan has joined #ruby
Tearan has quit [Client Quit]
cantonic has joined #ruby
kofno has joined #ruby
<rhunter_> devians: just put some code that looks something like `class Precious::Views::Layout ; def my_new_method_wow ; end ; end` in a file that gets required
Tearan has joined #ruby
Tearan has quit [Client Quit]
<Lewix> rhunter_: Are you in ruby-lang?
phipes has quit [Remote host closed the connection]
<rhunter_> Lewix: nope, should i be?
skaflem has joined #ruby
shedd has joined #ruby
Tearan has joined #ruby
nhhagen has joined #ruby
Tearan has quit [Client Quit]
yottanami has joined #ruby
<yottanami> Is this code correct ? http://dpaste.com/1496835/
<yottanami> How can I make the last 3 lines smaller ?
Tearan has joined #ruby
Tearan has quit [Client Quit]
<rhunter_> yottanami: the construct `variable ||= value` might help you
Tearan has joined #ruby
Tearan has quit [Client Quit]
hiall has quit [Quit: hiall]
Tearan has joined #ruby
Tearan has quit [Client Quit]
<lagweezle> I was going to say -> user_fields["password"] = params[:password] if params[:password]
<Lewix> rhunter_: https://gist.github.com/anonymous/d6ae3a9866f7640c8473 I just didn't wanna have to repeat myself =)
Kricir has joined #ruby
Tearan has joined #ruby
Tearan has quit [Client Quit]
<yottanami> rhunter_: Is my code ok at all?
<yottanami> Where can I read more about that ? "||=" is not searchable :D
<lagweezle> I'm puzzled as to how ||= would help here.
<lagweezle> I don't doubt I'm missing something and it can, but I don't understand how.
Tearan has joined #ruby
Tearan has quit [Client Quit]
<rhunter_> yottanami, lagweezle: actually, I think I might have read the code wrong. ||= might not help after all
shedd has quit [Ping timeout: 246 seconds]
<lagweezle> "pipe pipe equals" as a search string in google gets hits that are appropriate, btw, yottanami
<Lewix> yottanami: a ||= b is in fact a || a = b
<lagweezle> rhunter_: Ah. Okay. I was wondering if I'd not encountered even more magical properties. Phew.
<lagweezle> Now, however...
* lagweezle staggers off towards bed.
Tearan has joined #ruby
<rhunter_> good night lagweezle
<yottanami> rhunter_: lagweezle Lew : Actually my code is here http://dpaste.com/1496836/ and I need something like this http://dpaste.com/1496837/
arietis has quit [Quit: Computer has gone to sleep.]
Tearan has quit [Client Quit]
<yottanami> Is it possible ?
Tearan has joined #ruby
Tearan has quit [Client Quit]
kofno has quit [Ping timeout: 252 seconds]
shime has quit [Ping timeout: 240 seconds]
Tearan has joined #ruby
Tearan has quit [Client Quit]
kofno has joined #ruby
arietis has joined #ruby
<lagweezle> Fire up irb and see if it works?
<Lewix> yottanami: do you prefer dpaste over gist
<lagweezle> Although something looks weird...
<lagweezle> Why are you building a dictionary with a dictionary to pass to a method?
Tearan has joined #ruby
Tearan has quit [Client Quit]
<yottanami> Lewix: It is an old bad habit :D When I wan Django developer
<rhunter_> yottanami: it's not directly possible (literal hashes can't have conditional items) but you can choose a style that works
Tearan has joined #ruby
Tearan has quit [Client Quit]
<yottanami> rhunter_: What kind of style you mean ?
<lagweezle> g'night folks :) Thank you once again for feeding my brain! :)
<rhunter_> sorry, "you can choose a style that achieves your goal in a visually-consistent way"
Tearan has joined #ruby
<rhunter_> eg, you can start with an empty array build it with statements (since the statements can have conditions)
Tearan has quit [Client Quit]
<rhunter_> you can pass through the password whether or not it's present in the source
Tearan has joined #ruby
Tearan has quit [Client Quit]
<rhunter_> you can map from one dict to another with a block
<rhunter_> you can just pass the whole thing all the way through without modifying it
Tearan has joined #ruby
Tearan has quit [Client Quit]
<rhunter_> I don't know if any of those fit your purpose, but you could look at them and see if they look good to you
Tearan has joined #ruby
Tearan has quit [Client Quit]
tkuchiki has quit [Ping timeout: 240 seconds]
<yottanami> rhunter_: Which code style is your suggestion for this job ?
<yottanami> can you show me with sample code ?
<rhunter_> "just pass the whole thing without modifying it"
kofno has quit [Ping timeout: 246 seconds]
<rhunter_> user_fields = params
kofno has joined #ruby
<yottanami> rhunter_: And what about password condition ?
predator217 has quit [Ping timeout: 252 seconds]
<rhunter_> although if @user is an ActiveRecord object and params is untrusted data from, say, a Rails controller, this might introduce a security risk
dseitz has joined #ruby
thelorax123 has quit [Remote host closed the connection]
hiall has joined #ruby
<rhunter_> there is no password condition, really -- if the input hash doesn't have a key, neither will the output hash
vikhyat has quit [Remote host closed the connection]
hogeo has joined #ruby
<yottanami> rhunter_: So How can I update user's password in secure way?
tkuchiki has joined #ruby
predator117 has joined #ruby
mary5030 has quit [Remote host closed the connection]
thelorax123 has joined #ruby
lsmola has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
<rhunter_> >> {name: 'John', password: 'secret'}.select {|key, value| [:name, :password].include? key}
<eval-in_> rhunter_ => {:name=>"John", :password=>"secret"} (https://eval.in/77208)
<rhunter_> >> {name: 'John', password: 'secret', some_other_thing: 'should not come through'}.select {|key, value| [:name, :password].include? key}
<eval-in_> rhunter_ => {:name=>"John", :password=>"secret"} (https://eval.in/77209)
kofno has quit [Ping timeout: 246 seconds]
<rhunter_> >> {name: 'John', some_other_thing: 'should not come through'}.select {|key, value| [:name, :password].include? key}
<eval-in_> rhunter_ => {:name=>"John"} (https://eval.in/77210)
kofno has joined #ruby
vikhyat has joined #ruby
aantix has quit [Quit: aantix]
kidoz has quit [Quit: Ухожу я от вас]
spergy1 has joined #ruby
spergy1 has quit [Max SendQ exceeded]
spergy1 has joined #ruby
spergy1 has quit [Max SendQ exceeded]
Barrin6 has quit [Quit: Leaving]
spergy has quit [Ping timeout: 250 seconds]
amacgregor has joined #ruby
jamesfung14 has quit [Ping timeout: 240 seconds]
fntzr has joined #ruby
hiall has quit [Quit: hiall]
hogeo has quit [Remote host closed the connection]
fntzr has quit [Client Quit]
spergy has joined #ruby
amacgregor_ has quit [Ping timeout: 246 seconds]
zipper has quit [Read error: Connection reset by peer]
Es0teric has joined #ruby
Es0teric has quit [Client Quit]
kofno has quit [Ping timeout: 246 seconds]
eka has joined #ruby
hiall has joined #ruby
Es0teric has joined #ruby
kofno has joined #ruby
Es0teric has quit [Client Quit]
Emmanuel_Chanel has joined #ruby
kitak has joined #ruby
wildroman2 has joined #ruby
eka has quit [Ping timeout: 246 seconds]
<TTilus> also check activerecord protected arguments
psyl0n has joined #ruby
wallerdev has quit [Quit: wallerdev]
michaeldeol has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
kofno has joined #ruby
hiall has quit [Quit: hiall]
ner0x has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
synergy_ is now known as sng|afk
hogeo has joined #ruby
hamakn has joined #ruby
hogeo has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
eka has joined #ruby
wildroman2 has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
nisstyre has quit [Quit: Leaving]
spergy has left #ruby [#ruby]
hamakn has quit [Ping timeout: 246 seconds]
LadyRainicorn has joined #ruby
zipper has joined #ruby
wildroman2 has quit [Ping timeout: 246 seconds]
iliketur_ has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
shedd has joined #ruby
zarul has joined #ruby
banister has joined #ruby
claymore has joined #ruby
Hanmac1 has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
relix has joined #ruby
jonahR has joined #ruby
akonny has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
noop has joined #ruby
Hanmac1 has quit [Ping timeout: 250 seconds]
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
kofno has quit [Ping timeout: 252 seconds]
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
kofno has joined #ruby
mengu has joined #ruby
stabby_lambda has joined #ruby
mengu has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
Hanmac has quit [Ping timeout: 246 seconds]
arietis has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
wildroman2 has joined #ruby
klaut has joined #ruby
thelorax123 has quit [Remote host closed the connection]
Astralum has joined #ruby
emergion has joined #ruby
nhhagen has quit [Remote host closed the connection]
<emergion> Heya, What happens when instance variable name is same as method name?
nhhagen has joined #ruby
DanBoy has quit [Remote host closed the connection]
<emergion> Heya, What happens when instance variable name is same as method name?
thelorax123 has joined #ruby
nhhagen_ has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
wildroman2 has quit [Remote host closed the connection]
stabby_lambda has quit [Ping timeout: 246 seconds]
<TTilus> then you have ivar and method wit the same name
<LadyRainicorn> Nothing.
sng|afk is now known as synergy_
<LadyRainicorn> (But this is confusing and should be avoided)
<emergion> How would you access the instance variable though, you would have to use instance_variable_get right ?
<TTilus> iver id @name and method id name
nhhagen has quit [Ping timeout: 252 seconds]
mbreedlove has joined #ruby
end_guy has quit [Remote host closed the connection]
<TTilus> s/id/is/g
<emergion> Totally agreed, just working on someone's code though, really don't want to have to change to much. I think if I define a setter method I should be out of the woods
<emergion> *too much
<LadyRainicorn> No, @var works.
nifty has quit [Ping timeout: 252 seconds]
<LadyRainicorn> It's just that var != @var
<emergion> LadyRainicorn, but how do you access it from outside the class ?
<emergion> It would clash with the method name right ?
j2sentient has quit [Ping timeout: 252 seconds]
<LadyRainicorn> Defining a setter method would be *really* confusing, because if you do obj.var = 5, obj.var isn't 5
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LadyRainicorn> obj.instance_variable_get(:@var)
<LadyRainicorn> You really, really do not want to have an attribute-like-thing with the same name as an instance variable that's not linkwd to it.
iliketur_ has quit [Quit: zzzzz…..]
<emergion> LadyRainicorn, even though it is confusing, I don't agree that it doesn't work. I just tested it. var and var= are different things
Monie has joined #ruby
<LadyRainicorn> Yep.
<LadyRainicorn> said
<LadyRainicorn> Tjat's what I saif.
Monie has quit [Max SendQ exceeded]
<LadyRainicorn> obj.var = 5 doesn't set obj.var to 5.
<emergion> LadyRainicorn, oh yes, sorry I just re-read it ;)
<LadyRainicorn> That makes no sense whatsoever.
<emergion> God damn stupid other code
Monie has joined #ruby
<emergion> Ok, refactor it is, thank you
<Hanmac1> emergion: for sample in one of my classes i have an @data variable wich is an Array, but obj.data and obj.data= works with Strings
kofno has quit [Ping timeout: 260 seconds]
Hanmac1 is now known as Hanmac
kofno has joined #ruby
hogeo has joined #ruby
<Reach> i think the hardest programming assignment i had to do was to simulate a data structure for polynomials
<Reach> so you could add/multiply them and other such things
<LadyRainicorn> That's not very hard really.
<Reach> it was...
<Reach> took a couple of days
<LadyRainicorn> Err... in Ruby?
carraroj has joined #ruby
<Reach> supposed to do it for n variables, i only did 3 unless you want more for loops
<Reach> maple actually
<Reach> i want to try it in ruby
<LadyRainicorn> I have no experience with maple, but if that is really an optimal solution it is a fucked up language.
<Reach> how do you mean?
<emergion> It's actually strange, checkout how debug is handled in this bit of code...https://github.com/applicationsonline/librarian/blob/master/lib/librarian/ui.rb
banister has joined #ruby
<emergion> they have a accessor method set to debug! ? hehe
<LadyRainicorn> As I said, it's not a difficult problem. Polynomials can be represented quite easily.
<Reach> how would you do it
<Reach> just off the top of your head
mary5030 has joined #ruby
hogeo has quit [Ping timeout: 246 seconds]
shedd has joined #ruby
<Reach> different CAS represent them differently
<Reach> i used Axiom's method
<LadyRainicorn> Represent Polynomial with an array, implement rules for polynomial multiplication?
<Reach> yeah
<LadyRainicorn> It's like multiplying by hand really.
<LadyRainicorn> You just write a program to do that.
<Reach> addition was kind of hard actually
<Reach> you have to implement more checks
kofno has quit [Ping timeout: 246 seconds]
j2sentient has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.1]
mary5030 has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
synergy_ is now known as sng|Zzz
zipper has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
HawkTracker has quit [Ping timeout: 246 seconds]
shedd has quit [Ping timeout: 260 seconds]
<LadyRainicorn> Err, I suppose if you're learning?
<LadyRainicorn> Is there a question here?
<Reach> im not the best programmer
<Reach> so it was tough to me :P
<LadyRainicorn> Maybe if you show some code we can give you suggestions for improvement.
<Reach> oh its long gone
<Reach> and it was in maple
<Reach> i want to try it for ruby though, like i said.
<Reach> i wanna make a CAS in ruby as a fun, personal project
psyl0n has quit [Remote host closed the connection]
<existensil> CAS?
d45h has quit [Read error: Connection reset by peer]
kofno has quit [Ping timeout: 250 seconds]
<LadyRainicorn> Computer Algebra System probably
kofno has joined #ruby
d45h has joined #ruby
ewnd9 has quit [Ping timeout: 246 seconds]
zipper has joined #ruby
<Reach> yeah
<Reach> computer algebra system
jonahR has joined #ruby
lucazi has joined #ruby
agent_white has joined #ruby
<LadyRainicorn> Reach: You may enjoy https://github.com/adrianomitre/Polynomial
dmoe has quit [Quit: Updating details, brb]
dmoe has joined #ruby
michaeldeol has joined #ruby
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Client Quit]
coder_neo has joined #ruby
michaeldeol has quit [Ping timeout: 250 seconds]
kofno has quit [Ping timeout: 250 seconds]
kofno has joined #ruby
Astral_ has joined #ruby
RoryHughes has joined #ruby
Mon_Ouie has joined #ruby
Ogion has quit [Ping timeout: 260 seconds]
Ogion has joined #ruby
spider-mario has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
RoryHughes has quit [Client Quit]
shedd has joined #ruby
Ogion has quit [Client Quit]
Emmanuel_Chanel has joined #ruby
allsystemsarego has joined #ruby
dhruvasagar has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arefaslani has joined #ruby
banister has joined #ruby
Ogion has joined #ruby
schaerli has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
carraroj has quit [Ping timeout: 246 seconds]
Kricir has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 250 seconds]
Astral_ has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kofno has joined #ruby
newton has quit [Ping timeout: 252 seconds]
lyanchih has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
charliesome has joined #ruby
arefaslani has quit [Ping timeout: 250 seconds]
ewnd9 has joined #ruby
RoryHughes has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
eka has joined #ruby
jamesaxl has joined #ruby
kofno has joined #ruby
RoryHughes has quit []
RoryHughes has joined #ruby
hogeo has joined #ruby
wildroman2 has joined #ruby
newton has joined #ruby
mbreedlove_ has joined #ruby
MrZYX|off is now known as MrZYX
mbreedlove has quit [Ping timeout: 260 seconds]
wildroman2 has quit [Ping timeout: 252 seconds]
hogeo has quit [Ping timeout: 252 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
carraroj has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
shedd has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
kofno has quit [Ping timeout: 246 seconds]
shadoi has joined #ruby
aryaching_ has quit []
kofno has joined #ruby
LiohAu has joined #ruby
drumusician has joined #ruby
RoryHughes has quit []
shadoi has quit [Ping timeout: 240 seconds]
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
thesheff17 has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
VTLob has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
kofno has joined #ruby
psyl0n has quit [Ping timeout: 246 seconds]
_Andres has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
agjacome has joined #ruby
rushed has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
nhhagen has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Speed has joined #ruby
michaeldeol has joined #ruby
mbreedlove_ has quit [Ping timeout: 246 seconds]
tjad has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 252 seconds]
Tectonic has quit []
kofno has joined #ruby
nhhagen has quit [Ping timeout: 260 seconds]
banister has joined #ruby
mercwithamouth has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
stabby_lambda has joined #ruby
ner0x has quit [Quit: Leaving]
g3orge has joined #ruby
gr33n7007h has joined #ruby
mojjojo has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
stabby_lambda has quit [Ping timeout: 246 seconds]
<devians> how do you monkeypatch something like sinatra base, where the order of methods is apparently significant :/
kofno has joined #ruby
_5kg has quit [Ping timeout: 246 seconds]
coder_neo has quit [Ping timeout: 246 seconds]
Jdubs has quit [Read error: Connection reset by peer]
Jdubs has joined #ruby
<rhunter_> devians: you stop what you're doing and see if there's another way :-)
<devians> yeah. I'm fast approaching the point where I make my own gem fork
<devians> or I just outright abandon the project.
eka has quit [Quit: Computer has gone to sleep.]
<LadyRainicorn> Wow, why did they make the method order significant?
<LadyRainicorn> That is crazy haha.
<devians> LadyRainicorn route precedence apparently
Lewis has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
niklasb has joined #ruby
zipper has quit [Ping timeout: 250 seconds]
kofno has joined #ruby
zipper has joined #ruby
Lewis has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
arietis has quit [Quit: Computer has gone to sleep.]
p4d4w4n has joined #ruby
thesheff17 has quit [Ping timeout: 252 seconds]
nhhagen has joined #ruby
kofno has quit [Ping timeout: 252 seconds]
nhhagen_ has joined #ruby
kofno has joined #ruby
arietis has joined #ruby
sayan has joined #ruby
Guest82507 has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
nhhagen_ has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
raddazong is now known as madhatter
madhatter has quit [Changing host]
madhatter has joined #ruby
eka has joined #ruby
xcv has joined #ruby
agent_white has quit [Quit: gnight]
anderson has joined #ruby
hogeo has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
olivier_bK1 has joined #ruby
olivier_bK has quit [Quit: Quitte]
kofno has quit [Ping timeout: 246 seconds]
zipper has quit [Ping timeout: 250 seconds]
kofno has joined #ruby
almarshall has joined #ruby
emergion has quit [Ping timeout: 260 seconds]
shedd has joined #ruby
LadyRainicorn has quit [Ping timeout: 260 seconds]
Jdubs has quit [Remote host closed the connection]
wongon has quit [Quit: wongon]
jibi has joined #ruby
dhruvasa1ar has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
zipper has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
kofno has joined #ruby
zipper has quit [Read error: Connection reset by peer]
kaldrenon has joined #ruby
bluOxigen has joined #ruby
kaldrenon has quit [Ping timeout: 252 seconds]
gyre007 has joined #ruby
SHyx0rmZ has joined #ruby
michaeldeol has joined #ruby
jonahR has quit [Quit: jonahR]
rhunter_ has quit [Remote host closed the connection]
gyre007 has quit [Ping timeout: 240 seconds]
mojjojo has quit [Quit: mojjojo]
mengu has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 246 seconds]
kofno has joined #ruby
coder_neo has joined #ruby
carraroj has quit [Ping timeout: 246 seconds]
zipper has joined #ruby
zipper is now known as Guest65670
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
<shevy> .
Xeago has joined #ruby
shedd has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
hamakn has joined #ruby
Emmanuel_Chanel has joined #ruby
Guest65670 has quit [Ping timeout: 260 seconds]
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
kofno has quit [Ping timeout: 260 seconds]
shedd has quit [Ping timeout: 250 seconds]
kofno has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has joined #ruby
dhruvasa1ar has quit [Ping timeout: 260 seconds]
platzhirsch has joined #ruby
Czupa has joined #ruby
zipper_ has joined #ruby
psyl0n has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
jamo_ has joined #ruby
schaerli has joined #ruby
lyanchih has quit [Quit: lyanchih]
rootshift has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
jamo_ has quit [Client Quit]
RoryHughes has joined #ruby
michael_lee has joined #ruby
jamo_ has joined #ruby
jamo_ has quit [Client Quit]
relix has joined #ruby
kofno has joined #ruby
jamo_ has joined #ruby
hogeo has joined #ruby
schaerli_ has joined #ruby
schaerli_ has quit [Remote host closed the connection]
schaerli has quit [Ping timeout: 252 seconds]
Lewis has joined #ruby
barratt has joined #ruby
rhunter has joined #ruby
zipper_ has quit [Ping timeout: 252 seconds]
relix has quit [Ping timeout: 260 seconds]
hoyang has quit [Ping timeout: 260 seconds]
Guedes0 has joined #ruby
hogeo has quit [Ping timeout: 246 seconds]
Guedes0 has left #ruby [#ruby]
Lewis has quit [Ping timeout: 246 seconds]
kirun has joined #ruby
nhhagen has quit [Remote host closed the connection]
rhunter has quit [Ping timeout: 240 seconds]
klaut has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
nhhagen has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
RoryHughes has quit []
arefaslani has joined #ruby
rootshift has quit [Quit: rootshift]
kofno has quit [Ping timeout: 246 seconds]
r0bby_ has quit [Ping timeout: 252 seconds]
nhhagen has quit [Ping timeout: 246 seconds]
RoryHughes has joined #ruby
dkamioka has joined #ruby
kofno has joined #ruby
RoryHughes has quit [Client Quit]
zipper_ has joined #ruby
RoryHughes has joined #ruby
shedd has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
rjhunter has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
shedd has quit [Ping timeout: 260 seconds]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
zipper_ has quit [Ping timeout: 260 seconds]
stabby_lambda has joined #ruby
wozniak has quit [Remote host closed the connection]
lucazi has quit [Ping timeout: 246 seconds]
hamakn has quit [Ping timeout: 260 seconds]
dkamioka has quit [Remote host closed the connection]
shinsel has joined #ruby
jpablobr has joined #ruby
dkamioka has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
lyanchih has joined #ruby
stabby_lambda has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
aasirc has joined #ruby
lucazi has joined #ruby
michaeldeol has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
coder_neo has quit [Quit: Leaving]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
hamakn has joined #ruby
michaeldeol has quit [Ping timeout: 260 seconds]
kofno has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
kofno has joined #ruby
colonolGron has joined #ruby
AlSquire has joined #ruby
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lucazi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lucazi has joined #ruby
dseitz has joined #ruby
mikecmpbll has joined #ruby
Guest74836 has joined #ruby
mengu has quit [Remote host closed the connection]
shedd has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
pyrac has joined #ruby
kofno has quit [Ping timeout: 260 seconds]
zipper has joined #ruby
kofno has joined #ruby
_5kg has joined #ruby
tacos1de has quit [Remote host closed the connection]
tacos1de has joined #ruby
RoryHughes has quit []
shedd has quit [Ping timeout: 260 seconds]
stabby_lambda has joined #ruby
RoryHughes has joined #ruby
xcv has joined #ruby
mengu has joined #ruby
dkamioka has joined #ruby
RoryHughes has quit [Client Quit]
RoryHughes has joined #ruby
arefaslani has quit [Read error: Connection reset by peer]
javierbuilder has joined #ruby
arefaslani has joined #ruby
mengu has quit [Remote host closed the connection]
javierbuilder has quit [Max SendQ exceeded]
olivier_bK1 has quit [Ping timeout: 252 seconds]
_5kg has quit [Ping timeout: 246 seconds]
Guest82507 has quit [Remote host closed the connection]
lucazi has quit [Ping timeout: 260 seconds]
mengu has joined #ruby
<shevy> is there an easy way to find out all entries of a case/when menu?
RoryHughes has quit [Client Quit]
RoryHughes has joined #ruby
RoryHughes has quit [Client Quit]
sailias has joined #ruby
nari has quit [Ping timeout: 246 seconds]
RoryHughes has joined #ruby
RoryHughes has quit [Client Quit]
<MrZYX> you mean all possible solutions when you for example supply a regex?
nari has joined #ruby
nettoweb has quit [Quit: nettoweb]
sayan has quit [Ping timeout: 260 seconds]
brian___ has joined #ruby
<shevy> hmm
kofno has quit [Ping timeout: 252 seconds]
<shevy> can there be simple regexes that check for things like
<shevy> case 'foo',
kofno has joined #ruby
<shevy> 'bar',
<shevy> 'ble'
rjhunter has joined #ruby
<shevy> sorry
<shevy> I meant when, rather than case there
<MrZYX> hmm, so you want to parse a ruby which contains a case statement?
LiohAu has quit [Quit: LiohAu]
browndawg has joined #ruby
gianlucadv has quit [Ping timeout: 260 seconds]
<shevy> yeah!
flatr0ze_ has quit [Quit: Communi 3.0.1 - http://communi.github.com]
klaut has joined #ruby
flatr0ze_ has joined #ruby
Guest74836 has quit [Remote host closed the connection]
flatr0ze_ has quit [Client Quit]
flatr0ze_ has joined #ruby
<TTilus> why would you want (or need) to?
<shevy> I have one but it's faulty, it only checks the line after when
<shevy> TTilus because of readline autocompletion. now that you know the answer, can you come with a solution? ;)
nhhagen has joined #ruby
rjhunter has quit [Ping timeout: 246 seconds]
rickruby has joined #ruby
<TTilus> why on earth would you need readline autocompletion to parse case?
<TTilus> make case branches methods
<shevy> TTilus Readline allows one to add to completion proc via Readline.completion_proc
<TTilus> then have a hash which maps commandes to methods
<TTilus> then autocomplete over hash keys
<MrZYX> I'd look into stuff like https://github.com/whitequark/parser
<shevy> I do not have a hash and it would be insane to build one with several thousand case/when entries TTilus
<TTilus> solved
<shevy> not solved
<TTilus> care to explain what you are doing?
Sawbones has joined #ruby
<shevy> Sure. I want to be able to autocomplete on all options that can be presentable to a user based on case/when menus for every kind of shell or shell-like environment in any project.
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kofno has quit [Ping timeout: 250 seconds]
nhhagen has quit [Ping timeout: 252 seconds]
<shevy> All entries in case/when menus have a main entry point (the first one usually in the way I write it), and several subcommands/aliases to them.
kofno has joined #ruby
<TTilus> you need to shave down your scope abit
<shevy> Readline tab completion is great because it can save a lot of typing time.
<shevy> why
bluOxigen has quit [Ping timeout: 246 seconds]
<shevy> MrZYX I'll have a look, thanks
<TTilus> you magical autocompletion is supposed to read the program source and find out how the user inpot could possibly be complete?
<TTilus> input ... be completed
mjs2600 has joined #ruby
hogeo has joined #ruby
fijimunkii has joined #ruby
<TTilus> if your library interface includes reading program source (and the lib is not a dev tool) odds are that you are doing it wrong
lkba has joined #ruby
<MrZYX> TTilus: it probably won't work anyway, but let him make his own experiences ;)
shedd has joined #ruby
jbpros has joined #ruby
mengu has quit []
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
<TTilus> how about startin with one popular menu lib and building a completion addon/plugin for that and then extending from there to support more menu/shell libs?
zodiak has quit [Read error: Operation timed out]
Sawbones has quit [Remote host closed the connection]
j2sentient has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 246 seconds]
<TTilus> MrZYX: well ill at least state the obvious once and give shevy the possibility to take the advice, hes a nice guy
mercwithamouth has quit [Ping timeout: 246 seconds]
almarshall has quit [Quit: almarshall]
shedd has quit [Ping timeout: 250 seconds]
BizarreCake has joined #ruby
dkamioka has quit [Remote host closed the connection]
Sawbones has joined #ruby
arefasla_ has joined #ruby
flatr0ze_ has quit [Quit: Communi 3.0.1 - http://communi.github.com]
mlpinit has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Client Quit]
RoryHughes has joined #ruby
RoryHughes has quit [Client Quit]
lowski has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
arefaslani has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
lowski has quit [Client Quit]
lowski has joined #ruby
yottanami has left #ruby [#ruby]
randomnick_ has joined #ruby
p4d4w4n has joined #ruby
rubyracer has joined #ruby
lowski is now known as lucazi
lucazi is now known as lowski
Sawbones has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
nifty has joined #ruby
carraroj has joined #ruby
Speed has left #ruby ["WeeChat 0.4.2"]
coder_neo has joined #ruby
veduardo has joined #ruby
platzhirsch has quit [Quit: Leaving.]
platzhirsch has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Astralum has joined #ruby
Sawbones has joined #ruby
fijimunkii has quit [Ping timeout: 240 seconds]
hogeo has quit [Quit: Leaving...]
carraroj has quit [Client Quit]
nettoweb has joined #ruby
platzhirsch has left #ruby [#ruby]
fijimunkii has joined #ruby
fijimunkii has quit [Read error: Connection reset by peer]
almarshall has joined #ruby
nettoweb has quit [Client Quit]
OdNairy has quit []
wildroman2 has quit [Remote host closed the connection]
nifty has quit [Ping timeout: 250 seconds]
cantonic has quit [Quit: cantonic]
fijimunkii has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
rootshift has joined #ruby
nifty has joined #ruby
rootshift has quit [Client Quit]
Lewis has joined #ruby
mojjojo has joined #ruby
jbpros has quit [Quit: jbpros]
nhhagen has joined #ruby
LiohAu has joined #ruby
Lewis has quit [Remote host closed the connection]
noop has quit [Ping timeout: 252 seconds]
codeFiend has quit [Quit: codeFiend]
aryaching has joined #ruby
jbpros has joined #ruby
allaire has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
p4d4w4n has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rjhunter has joined #ruby
p4d4w4n has quit [Client Quit]
alenela has joined #ruby
barratt has quit [Quit: Leaving...]
<alenela> hi
<alenela> a am f
rjhunter has quit [Ping timeout: 246 seconds]
matti has joined #ruby
zipper has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
ner0x has joined #ruby
zipper has joined #ruby
pyrac has quit [Quit: pyrac]
alenela has quit []
dkamioka has joined #ruby
petey has joined #ruby
vikhyat has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 250 seconds]
b00stfr3ak has joined #ruby
sailias has quit [Ping timeout: 260 seconds]
shedd has joined #ruby
forcefsck has joined #ruby
jbpros has quit [Quit: jbpros]
arefasla_ has quit [Read error: Connection reset by peer]
psyl0n has quit [Remote host closed the connection]
arefaslani has joined #ruby
Sthebig has quit [Ping timeout: 245 seconds]
Guest87522 has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
jbpros has joined #ruby
jbpros has quit [Client Quit]
nettoweb has joined #ruby
Sawbones has quit [Remote host closed the connection]
nwertman has quit [Ping timeout: 246 seconds]
brian___ has quit [Read error: Connection reset by peer]
dopie has joined #ruby
<dopie> hey all
<matti> Hi
lyanchih has quit [Ping timeout: 246 seconds]
psyl0n has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
<havenwood> g'morning
<dopie> matti, do you mechanize???
<dopie> i have some questions using it
lukec has joined #ruby
<matti> I don't, but ask question anyway.
<matti> ;]
<shevy> MrZYX it already works nicely for all single when lines
<matti> shevy: !
<shevy> hey matti
<shevy> how is Helsinki
<matti> I am in London.
matheuscaceres has joined #ruby
<shevy> hmmmm
<matti> ;]
michaeldeol has joined #ruby
<matti> shevy: And I am not a Fin.
<matti> ;p
<shevy> -5°C
<shevy> that's pretty low
<matti> London is 10 C
b00stfr3ak has quit [Ping timeout: 260 seconds]
<matti> 10-11 depends on the web site ;p
<shevy> damn
mojjojo has quit [Quit: mojjojo]
<shevy> that's more than here :(
<matti> Its sunny too. A bit weird.
relix has joined #ruby
mojjojo has joined #ruby
<shevy> how is the food?
<shevy> (Hahahahahaha)
preller has quit [Ping timeout: 252 seconds]
<matti> Very funny ;p
<matti> shevy: Depends. I had sushi yesterday and it was nice.
<matti> shevy: London has it all.
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
<shevy> except for donking donuts, those things were awesome when I was in London. since that day I regard all donuts here with contempt (they also are awful compared to those in London)
<matti> ;s
lfox has joined #ruby
b00stfr3ak has joined #ruby
<matti> You need to try donuts in Poland or non-American style ones.
michaeldeol has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
<dopie> how do i using mechanize click on the EMAIL tab and fill out the form?
<matti> shevy: I like these too.
Czupa has quit [Remote host closed the connection]
<shevy> matti are they filled with something?
yfeldblum has joined #ruby
xcv has quit [Remote host closed the connection]
<shevy> because here, they also sell donuts without any filling... tastes so awful...
* Hanmac had schnitzel today ... in germany if the schnitzel does fit on the plate its not a real one ;P
<matti> shevy: They are, indeed.
Lewix has quit [Remote host closed the connection]
<matti> Hanmac: ? ;]
<shevy> matti the germans eat a lot
<shevy> one tour through bavaria and you understand why they drink so much beer
<shevy> because it fits to all that much they ate before!
b00stfr3ak has quit [Ping timeout: 246 seconds]
<Hanmac> imo saxony is better for food visiting ... bavaria has to many stuff that looks to crazy to eat
<shevy> dunno, I liked bavaria
yfeldblum has quit [Ping timeout: 240 seconds]
marcgg has quit [Read error: Connection reset by peer]
<matti> I trust both of you ;p
<matti> I don't eat red meat for 8 years now ;s
marcgg has joined #ruby
<shevy> how about blue meat
<shevy> dopie, I think the mechanize comes with some examples bundled
<PPH> hi guys, is there a way in ruby to say that some code have to be run before a method? Like a callback but before
<matti> shevy: Veggies and sea food only ;]
<shevy> like in examples/spider.rb: page = l.click
<shevy> matti ewwww... sea food... oysters
<matti> PPH: Not sure what you mean, but check method_missing maybe.
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bnjamin has joined #ruby
<PPH> matti, no in fact I have like 3 methods calling the same method at the begining, I was wondering if there was a way to make it more DRY
gyre007 has joined #ruby
<matti> PPH: Maybe there is :) Hard to say not know what you want to do ;p
<PPH> matti, aight I understand
<Hanmac> matti this week there was a documentation about someone that ONLY eats RAW meat from sheep and goats ... he does not eat any Veggies or fruits ... and he says he only manage to do that because he eats everything from the sheep and goats
zipper has quit [Ping timeout: 252 seconds]
veduardo has left #ruby [#ruby]
<havenwood> Hanmac: i saw that, yeah he's fine with his food being vegetarians
pzula has joined #ruby
shedd has joined #ruby
browndawg has quit [Quit: Leaving.]
lowski is now known as lowski_away
gyre007 has quit [Ping timeout: 260 seconds]
ambushsabre has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
dkamioka has quit [Remote host closed the connection]
gyre007 has joined #ruby
dkamioka has joined #ruby
nari has quit [Ping timeout: 252 seconds]
mgorbach has joined #ruby
mgorbach has quit [Remote host closed the connection]
nhhagen has joined #ruby
dkamioka has quit [Ping timeout: 250 seconds]
spider-mario has quit [Read error: Connection reset by peer]
phansch has quit [Quit: Leaving]
tjbiddle has joined #ruby
<MrZYX> PPH: maybe your three methods want to be a (or their own) class
<PPH> MrZYX, well I found I needed a new layer of abstarction, now everything seems ok
nhhagen has quit [Ping timeout: 252 seconds]
_5kg has joined #ruby
rjhunter has joined #ruby
<PPH> MrZYX, well that's exactly what you said :P
pyrac has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
almarshall has quit [Quit: almarshall]
pedda has joined #ruby
ambushsabre has joined #ruby
pedda has quit [Max SendQ exceeded]
preller has quit [Ping timeout: 260 seconds]
rjhunter has quit [Ping timeout: 246 seconds]
nettoweb has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
mjs2600 has quit [Remote host closed the connection]
Lewis has joined #ruby
arefaslani has quit [Ping timeout: 260 seconds]
spyderman4g63 has quit [Read error: No route to host]
ippx has joined #ruby
spyderman4g63 has joined #ruby
arefaslani has joined #ruby
preller has joined #ruby
Lewis has quit [Ping timeout: 246 seconds]
lukec has quit [Quit: lukec]
Sthebig has joined #ruby
pzula has quit [Ping timeout: 260 seconds]
nfk has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
shedd has joined #ruby
nhhagen has joined #ruby
coder_neo has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
pedda has joined #ruby
jamesaanderson has joined #ruby
buscon has joined #ruby
nettoweb has quit [Ping timeout: 246 seconds]
steffes has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
rushed has quit [Quit: rushed]
petey has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 240 seconds]
LL_ has joined #ruby
Arzaga has joined #ruby
matheuscaceres has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
kitak has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
mojjojo has quit [Quit: mojjojo]
kitak has joined #ruby
ippx has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkamioka has joined #ruby
enebo has joined #ruby
blandflakes has quit [Quit: Leaving]
St_Marx has quit [Ping timeout: 245 seconds]
michaeldeol has joined #ruby
mojjojo has joined #ruby
bedouin has quit [Quit: Updating details, brb]
cburyta has joined #ruby
cburyta has quit [Client Quit]
blandflakes has joined #ruby
bedouin has joined #ruby
Arzaga has quit [Client Quit]
pyrac has quit [Quit: pyrac]
pyrac has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
nettoweb_ has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
nettoweb_ is now known as nettoweb
cbetta has joined #ruby
maletor has joined #ruby
bentonrr has joined #ruby
matheuscaceres has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has quit [Remote host closed the connection]
wallerdev has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
crapple has quit [Max SendQ exceeded]
crapple has joined #ruby
St_Marx has joined #ruby
stabby_lambda has quit [Remote host closed the connection]
mojjojo_ has joined #ruby
mojjojo has quit [Read error: Connection reset by peer]
mojjojo_ is now known as mojjojo
jamesaanderson has joined #ruby
shedd has joined #ruby
angusigu1ss has joined #ruby
obanta has joined #ruby
larissa has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
obanta has left #ruby [#ruby]
mjs2600 has joined #ruby
thesheff17 has joined #ruby
v0n has joined #ruby
CaptainJet has joined #ruby
johnmilton has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
nhhagen_ has joined #ruby
nifty has quit [Ping timeout: 246 seconds]
danshult_ has quit [Remote host closed the connection]
Parker0 has joined #ruby
danshultz has joined #ruby
s2013 has joined #ruby
aspires has joined #ruby
f0ster has quit [Ping timeout: 240 seconds]
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
Catie has joined #ruby
Arzaga has joined #ruby
RoryHughes has joined #ruby
nettoweb has quit [Quit: nettoweb]
Arzaga has quit [Client Quit]
steffes has quit []
TDJACR has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
mary5030 has joined #ruby
Czupa has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
rjhunter has joined #ruby
jacobsmith has joined #ruby
dioms has quit [Quit: Connection closed for inactivity]
TDJACR has joined #ruby
LL_ has left #ruby [#ruby]
colonolGron has quit [Ping timeout: 252 seconds]
v0n has quit [Ping timeout: 260 seconds]
arefaslani has quit [Ping timeout: 250 seconds]
pyrac has quit [Quit: pyrac]
rjhunter has quit [Ping timeout: 250 seconds]
jacobsmith has quit [Ping timeout: 240 seconds]
ua has quit [Ping timeout: 252 seconds]
arefaslani has joined #ruby
f0ster has joined #ruby
j2sentient has joined #ruby
ua has joined #ruby
IceDragon has joined #ruby
buscon has quit [Remote host closed the connection]
colonolGron has joined #ruby
wildroman2 has quit [Remote host closed the connection]
jamesaxl has quit [Read error: Connection reset by peer]
aantix has joined #ruby
brennanMKE has joined #ruby
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sailias has joined #ruby
Arzaga has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Arzaga has quit [Client Quit]
matheuscaceres has quit [Quit: matheuscaceres]
jamesaxl has joined #ruby
pyrac has joined #ruby
wallerdev has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nifty has joined #ruby
shedd has joined #ruby
jamesaxl has quit [Ping timeout: 246 seconds]
mjs2600 has quit [Remote host closed the connection]
Squarepy has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
ephemerian has joined #ruby
nhhagen has joined #ruby
RoryHughes has quit []
shedd has quit [Ping timeout: 252 seconds]
LiohAu has quit [Quit: LiohAu]
Arzaga has joined #ruby
Catie has quit [Quit: Time to go!]
nhhagen has quit [Ping timeout: 252 seconds]
jamesaxl has joined #ruby
thelorax123 has quit [Remote host closed the connection]
Catie has joined #ruby
freakazoid0223 has quit [Ping timeout: 272 seconds]
fijimunkii has quit [Quit: leaving]
fijimunkii has joined #ruby
michaeldeol has joined #ruby
Sthebig has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
MattStratton has joined #ruby
sailias has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Ping timeout: 260 seconds]
noop has joined #ruby
yfeldblum has joined #ruby
redramires1 has joined #ruby
mojjojo has quit [Quit: mojjojo]
sbos99 has joined #ruby
barratt has joined #ruby
<redramires1> Hi guys .I am new in Ruby.I don't understand yield statement.Can anybody give some explanation or link on it?
aasirc has quit [Quit: Textual IRC Client: www.textualapp.com]
arefaslani has quit [Write error: Connection reset by peer]
nifty has quit [Ping timeout: 252 seconds]
<MrZYX> yield executes a block that is passed to the method, it passes arguments as parameters to the block and returns the return value of the block
yfeldblum has quit [Ping timeout: 240 seconds]
lukec has joined #ruby
RoryHughes has joined #ruby
<redramires1> So with yield I can attach block to method?
<MrZYX> no, you call an attached block
phansch has joined #ruby
<redramires1> aaa,it's clear.Thanks.
<MrZYX> >> def foo; yield "test"; end; foo { |param| param.upcase }
<eval-in_> MrZYX => "TEST" (https://eval.in/77375)
lfox has quit [Quit: ZZZzzz…]
RoryHughes has quit [Client Quit]
danshultz has joined #ruby
ryanRT has quit [Quit: Ex-Chat]
nifty has joined #ruby
codeFiend has joined #ruby
stevenhaddox has joined #ruby
r0bby_ has joined #ruby
shedd has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RoryHughes has joined #ruby
dkamioka has quit [Remote host closed the connection]
<Hanmac> shevy did you read: "The 13½ Lives of Captain Bluebear" ? whould you visit a city named "Esidarap S'loof" ? ;P
Squarepy has quit [Quit: Leaving]
arietis has quit [Quit: Computer has gone to sleep.]
danshultz has quit [Ping timeout: 252 seconds]
shedd has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
coca_rails has joined #ruby
decoponio has quit [Quit: Leaving...]
michael_lee has quit [Quit: Ex-Chat]
wongon has joined #ruby
allaire has quit []
freggles has joined #ruby
coder_neo has quit [Quit: Leaving]
arietis has joined #ruby
Sawbones has joined #ruby
r0bby_ has quit [Ping timeout: 250 seconds]
mgorbach has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
pzula has joined #ruby
shedd has joined #ruby
Sawbones has quit [Remote host closed the connection]
race_q_UNY has joined #ruby
mojjojo has joined #ruby
mgorbach has quit [Client Quit]
mikesplain has joined #ruby
mgorbach has joined #ruby
wildroman2 has quit [Remote host closed the connection]
mgorbach has quit [Remote host closed the connection]
preller has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
mgorbach has joined #ruby
sheap has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
race_q_UNY has quit [Ping timeout: 260 seconds]
enebo has quit [Quit: enebo]
wildroman2 has joined #ruby
codeFiend has quit [Quit: codeFiend]
Lewix has joined #ruby
Lewix has quit [Remote host closed the connection]
Arzaga has joined #ruby
allaire has joined #ruby
nhmood has joined #ruby
Arzaga has quit [Client Quit]
enebo has joined #ruby
<nhmood> Is there a more concise way of writing this expression: hash[:opt] = something if hash[:opt].nil
<nhmood> .nil?*
<canton7> hash[:opt] ||= something
<canton7> though that'll replace hash[:opt] with 'something' if it's false, as well as nil
RoryHughes has quit []
<nhmood> Does that expand to hash[:opt] = hash[:opt] || something?
<nhmood> So that if hash[:opt] is nil, itll take the value of something?
<nhmood> or false as you mentioned
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
preller has joined #ruby
RoryHughes has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
<MrZYX> to be precise it expands to hash[:opt] || hash[:opt] = something, but yes
kaldrenon has joined #ruby
<canton7> yeah, it doesn't perform the operation has[:opt] = hash[:opt] if it's truthsy, although most of the time that's just an implementation detail
Megtastique has joined #ruby
tirengarfio_ has quit [Remote host closed the connection]
petey has joined #ruby
kaldrenon has quit [Ping timeout: 246 seconds]
eka has joined #ruby
daidoji has quit [Quit: "Coffeeshop"]
Ohga has joined #ruby
petey has quit [Ping timeout: 246 seconds]
p4d4w4n has joined #ruby
<Ohga> hi. new to making gems. does a script in bin/ work out of the box on windows, and if so why. if not, how to make it work on both win and *nix?
<Xeago> highly depends on path on windows
<Xeago> which may or may not include rubygems' path
michaeldeol has joined #ruby
jamesaanderson has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
barratt has quit [Quit: Leaving...]
<canton7> with my default rubyinstaller install, it works fine
barratt has joined #ruby
<Hanmac> shevy! rwx has more than 100 commits ... yey! and i also commited somethings to the ruby samples
michaeldeol has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
enape_101 has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
RoryHughes has quit []
heidi has joined #ruby
yfeldblum has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
wallerdev has quit [Quit: wallerdev]
Kricir has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
KillerFox has quit [Ping timeout: 264 seconds]
Hanmac1 has joined #ruby
aantix has quit [Quit: aantix]
d45h has quit [Ping timeout: 246 seconds]
<havenwood> apeiros: How's vacation going??
yfeldblum has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
Kabaka has quit [Ping timeout: 250 seconds]
Xeago_ has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
mary5030 has joined #ruby
MattStratton has quit [Quit: Textual IRC Client: www.textualapp.com]
ahawkins has joined #ruby
Briareos1 has joined #ruby
ahawkins has left #ruby [#ruby]
skaflem has quit [Quit: Leaving]
ambushsabre has joined #ruby
_Andres has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
koopa has joined #ruby
mjs2600 has joined #ruby
koopa has quit [Client Quit]
koopa has joined #ruby
mgorbach has quit [Quit: ZNC - http://znc.in]
koopa_ has joined #ruby
KillerFox has joined #ruby
nettoweb has quit [Quit: nettoweb]
fijimunkii has quit [Ping timeout: 260 seconds]
Megtastique has quit []
mgorbach has joined #ruby
Kricir has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
aantix has joined #ruby
koopa__ has joined #ruby
jibi has quit [Quit: .]
lele` has quit [Quit: Coyote finally caught me]
<Ohga> my path contains "c:\Ruby200\bin". but what I mean is that windows doesn't support shebangs (right?) so how does this work?
koopa has quit [Ping timeout: 252 seconds]
timonv_ has joined #ruby
spyderma_ has joined #ruby
koopa_ has quit [Ping timeout: 252 seconds]
BraddBitt has joined #ruby
mjs2600_ has joined #ruby
klaut has quit [Remote host closed the connection]
danshultz has joined #ruby
iliketur_ has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
it_tard has joined #ruby
it_tard has joined #ruby
it_tard has quit [Changing host]
hiyosi_ has joined #ruby
Jetchisel has joined #ruby
mary5030 has quit [Remote host closed the connection]
chiel_ has joined #ruby
ekarlso- has joined #ruby
n88_ has joined #ruby
Freijo has joined #ruby
_Andres_ has joined #ruby
yeltzooo9 has joined #ruby
pzula_ has joined #ruby
BraddBitt has quit [Ping timeout: 246 seconds]
lowski has joined #ruby
MrZYX is now known as MrZYX|off
greenrose1 has joined #ruby
nhhagen has joined #ruby
dkamioka has joined #ruby
andrewbogott has joined #ruby
pwh_ has joined #ruby
<apeiros> havenwood: good, good, thanks for asking
<Xeago_> SLAP!
Lewix has joined #ruby
lele has joined #ruby
<Xeago_> how you doing apeiros!?
danshultz has quit [Ping timeout: 245 seconds]
<apeiros> Xeago_: fine. having 4 weeks of holidays as of now
waxjar_ has joined #ruby
<apeiros> how are you?
<Xeago_> great!
mumblet has joined #ruby
<Xeago_> discovered whiskey about 3 weeks ago :)
mumblet is now known as Guest6999
jrd00 has joined #ruby
<apeiros> loool
deepy- has joined #ruby
tris- has joined #ruby
jcarouth` has joined #ruby
<matti> apeiros: 4 weeks?
tsykodukl has joined #ruby
<Xeago_> attended a whiskey tasting, it was amazing
<matti> apeiros: Why, got yourself fired? ;]
DanKnox_ has joined #ruby
<apeiros> matti: you don't want to know how many holidays I'll have left after that
nhhagen_ has joined #ruby
spider-mario has joined #ruby
<matti> Hahah
<Xeago_> I think he got himself a lot of overhours that he is spending before the end of the year
<apeiros> matti: no, overhours + untaken holidays
<matti> apeiros: I see :)
MetaCosm_ has joined #ruby
<matti> apeiros: Quite cool situation to be in ;]
<matti> apeiros: I am envious ;]
<apeiros> Xeago_: no chance spending all overhours before the end of the year anymore ;-)
<Xeago_> you traveling somewhere?
MrZYX|off is now known as MrZYX
<apeiros> Xeago_: nope. staying in balconia.
mjs2600 has quit [*.net *.split]
_Andres has quit [*.net *.split]
barratt has quit [*.net *.split]
pzula has quit [*.net *.split]
allaire has quit [*.net *.split]
spyderman4g63 has quit [*.net *.split]
nfk has quit [*.net *.split]
dopie has quit [*.net *.split]
ner0x has quit [*.net *.split]
lowski_away has quit [*.net *.split]
newton has quit [*.net *.split]
VTLob has quit [*.net *.split]
hiyosi has quit [*.net *.split]
Fraeon has quit [*.net *.split]
brain_shim has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
greenrose has quit [*.net *.split]
timonv has quit [*.net *.split]
waxjar has quit [*.net *.split]
pwh has quit [*.net *.split]
m__s has quit [*.net *.split]
zz_tsykoduk has quit [*.net *.split]
mumblerit has quit [*.net *.split]
soulcake has quit [*.net *.split]
DanKnox has quit [*.net *.split]
n88 has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
ValicekB has quit [*.net *.split]
joonty_ has quit [*.net *.split]
ph8 has quit [*.net *.split]
chiel has quit [*.net *.split]
Mohan__ has quit [*.net *.split]
jcarouth has quit [*.net *.split]
BraddPitt has quit [*.net *.split]
timmow has quit [*.net *.split]
gadgetoid has quit [*.net *.split]
Caius has quit [*.net *.split]
awkisopen has quit [*.net *.split]
maxmanders has quit [*.net *.split]
tris has quit [*.net *.split]
Rix has quit [*.net *.split]
jrd0 has quit [*.net *.split]
Sami345 has quit [*.net *.split]
mist has quit [*.net *.split]
ekarlso has quit [*.net *.split]
marienz has quit [*.net *.split]
cbetta has quit [*.net *.split]
deepy has quit [*.net *.split]
jrd00 is now known as jrd0
Guest6999 is now known as mumblerit
DanKnox_ is now known as DanKnox
Opettaja has quit [Quit: WeeChat 0.4.2]
tris- is now known as tris
Guest87522 has quit [Ping timeout: 246 seconds]
rjhunter has joined #ruby
nhhagen_ has quit [Read error: Connection reset by peer]
Hanmac1 has quit [Read error: Connection reset by peer]
<apeiros> yay, netsplit
<Xeago_> balconia, is that the name of your local area?
mist_ has joined #ruby
mumblerit is now known as Guest61662
<Xeago_> haven't heard of it before
nhhagen_ has joined #ruby
<apeiros> no, it's a joke country name. derived from balcony.
<Xeago_> ah :)
b00stfr3ak has joined #ruby
<Xeago_> back to my whiskey, you enjoy whiskey?
mist_ is now known as mist
Cabriel__ has joined #ruby
<apeiros> I like whiskey. but I find it too expensive for what it gives me.
dkamioka has quit [Ping timeout: 252 seconds]
<andrewbogott> ok… I must be making some fundamental regexp mistake. Shouldn't /^instanceproject: (.*)$/i match the string 'instanceproject: puppet'?
<andrewbogott> context: https://dpaste.de/MakL
nhhagen has quit [Ping timeout: 250 seconds]
<Xeago_> why put parens around .*?
maasha has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
ner0x has joined #ruby
Rix has joined #ruby
`ph8 has joined #ruby
<andrewbogott> to capture?
<apeiros> >> 'instanceproject: puppet' =~ /^instanceproject: (.*)$/i
<eval-in_> apeiros => 0 (https://eval.in/77400)
stabby_lambda has joined #ruby
maasha has quit [Client Quit]
newton has joined #ruby
<apeiros> it matches
joonty_ has joined #ruby
<apeiros> so why do you think it doesn't?
marienz has joined #ruby
<Xeago_> eval-in_: I got confused by the return stats of =~
brain_shim has joined #ruby
<Xeago_> should've use #match in irb instead
VTLob has joined #ruby
levin has joined #ruby
maxmanders has joined #ruby
cbetta has joined #ruby
awkisopen has joined #ruby
gadgetoid has joined #ruby
soulcake has joined #ruby
Caius has joined #ruby
m__s has joined #ruby
maxmanders has quit [Changing host]
maxmanders has joined #ruby
<andrewbogott> apeiros: In the code snippet above, it doesn't. You'll note that I'm outputting the line that I'm trying to match so that I can verify that it's really in there...
pyrac has quit [Quit: pyrac]
levin has quit [Max SendQ exceeded]
ValicekB_ has joined #ruby
rjhunter has quit [Ping timeout: 246 seconds]
Caius has quit [Changing host]
soulcake has joined #ruby
soulcake has quit [Changing host]
Caius has joined #ruby
Sami345 has joined #ruby
<apeiros> andrewbogott: a regex either matches a string or doesn't
<apeiros> it doesn't randomly flip
<andrewbogott> yep
timmow has joined #ruby
<apeiros> so either your string is not what you claimed it was
mojjojo has joined #ruby
<andrewbogott> So I must have some mistake elsewhere :(
<apeiros> or you're making another mistake
pyrac has joined #ruby
<Xeago_> $ matches \n right?
<andrewbogott> nothing obviously broken in my code snippet?
levin has joined #ruby
ValicekB_ is now known as ValicekB
<Xeago_> or just end-of-string?
<Xeago_> andrewbogott: not really
levin is now known as Guest97087
Mohan has joined #ruby
<apeiros> Xeago_: no, $ matches before \n
<Xeago_> andrewbogott: if you can run it, plop a binding.pry in there and just echo the statement
<apeiros> also before EOS
<Xeago_> apeiros: ok
Xeago_ is now known as Xeago
<andrewbogott> That bit of code outputs this: https://dpaste.de/CIMM
<andrewbogott> So, I can /see/ that string in there :(
<apeiros> andrewbogott: you may want to inspect the string
<apeiros> maybe it's a tab or something but not a space
<Xeago> andrewbogott: this is puppet right, might it be that puppet has a special stringlike object?
stabby_lambda has quit [Ping timeout: 250 seconds]
<andrewbogott> Xeago: Hm, yeah, that's a pretty good guess… maybe I don't actually have strings at all.
khoury has joined #ruby
<khoury> hello
b00stfr3ak has quit [Ping timeout: 246 seconds]
kofno has joined #ruby
<andrewbogott> given that I know ~nothing about ruby… how can I learn the type of a given variable?
<Xeago> andrewbogott: I know numbers are converted, not sure about strings
<Xeago> >> "foo".inspect
<eval-in_> Xeago => "\"foo\"" (https://eval.in/77408)
<andrewbogott> 'k
<Xeago> >> 1.inspect
<eval-in_> Xeago => "1" (https://eval.in/77409)
<MrZYX> >> 1.class
<eval-in_> MrZYX => Fixnum (https://eval.in/77410)
<Xeago> >> Kernel.inspect
<eval-in_> Xeago => "Kernel" (https://eval.in/77411)
ewnd9 has quit [Ping timeout: 240 seconds]
RoryHughes has joined #ruby
<Xeago> >> Class.new.inspect
<eval-in_> Xeago => "#<Class:0x4115d2f4>" (https://eval.in/77412)
RoryHughes has quit [Client Quit]
<Xeago> there we go :)
<andrewbogott> does inspect return a string?
coca_rails has quit [Remote host closed the connection]
<Xeago> yes
<apeiros> yes
<andrewbogott> 'k
pzula_ has quit [Quit: Lost terminal]
Hanmac has joined #ruby
DeProdigy has joined #ruby
<khoury> I have a problem with adding a font to a rails app in production. I tried the rails channel, but no luck. Anyone?
pzula has joined #ruby
<Hanmac> khoury: #rubyonrails ?
<khoury> Yep, I tried that channel.
someara1 has joined #ruby
Cabriel__ has quit [Quit: Cabriel__]
wildroman2 has quit [Remote host closed the connection]
<MrZYX> did you too just say "I have a problem with something" or did you provide a proper error description?
<khoury> I provided a proper description.
BBBThunda has joined #ruby
lfox has joined #ruby
<khoury> Well, the error is a 404 when it tries to find the asset.
<khoury> I have put my font in app/assets/fonts
<Xeago> no you didn't, how did you add the font, add it under /public?
<andrewbogott> Hm, sure enough, inspect returns #<Puppet::Util::Log:0x7f7e3a6ce4d0 @message="instanceproject: puppet", @time=Sun Dec 08 19:06:57 UTC 2013, @source="Puppet", @level=:notice, @tags=["notice"]>message: instanceproject: puppet
<andrewbogott> Which… does not look like a string to me
<Xeago> andrewbogott: ineed :)
<apeiros> andrewbogott: probably want .message
<andrewbogott> yep, trying...
<Xeago> likely =~ is implemented as .to_s=~
<someara1> is there a rubocop-like linter that works on 1.8.7?
<khoury> And I am deploying with capistrano which precompiles my assets.
<MrZYX> someara1: here's one in one line: puts "update your ruby"
pzula has quit [Client Quit]
<someara1> yes yes I know
wildroman2 has joined #ruby
angusigu1ss has quit [Ping timeout: 246 seconds]
<khoury> In application.css.scss I link to the font like this: font-url('font-name.ttf');
wildroman2 has quit [Remote host closed the connection]
<andrewbogott> yep! .message works. Thanks all!
<khoury> I have tried both url() and asset-url().
wildroman2 has joined #ruby
<someara1> so thats a no?
phipes has joined #ruby
<khoury> It works locally.
<Xeago> andrewbogott: cheers, thanks for sharing with me - I'm doing puppet stuff too nowadays :)
LiohAu has joined #ruby
weems has quit [Ping timeout: 252 seconds]
Drewch has joined #ruby
pzula has joined #ruby
Tearan has joined #ruby
<Hanmac> someara1: ruby1.8.7 died long time ago, there isnt even security patches for that anymore ... that is like using Win95 ...
<someara1> I know all those facts
klaut has joined #ruby
<andrewbogott> Oh, strings are also double-quoted. so ^ wasn't going to work, have to use ^' and '$
<andrewbogott> puppet never does what I expect :(
pzula has quit [Client Quit]
<someara1> unfortunately, a high profile consumer of the code I'm trying to release runs 1.8.7 for a few million uses
<someara1> and I'd like to lint it
pzula has joined #ruby
Columcil1e is now known as Columcille
wallerdev has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
jinie_ is now known as jinie
noop has quit [Ping timeout: 246 seconds]
kofno has quit [Ping timeout: 246 seconds]
psyl0n has quit [Ping timeout: 246 seconds]
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
HawkTracker has joined #ruby
<HawkTracker> hello I trying to work with net ssh and I am getting a regex error when loading a config file for ssh.
Schmidt has joined #ruby
Sami345 has quit [*.net *.split]
timmow has quit [*.net *.split]
maxmanders has quit [*.net *.split]
soulcake has quit [*.net *.split]
awkisopen has quit [*.net *.split]
gadgetoid has quit [*.net *.split]
m__s has quit [*.net *.split]
cbetta has quit [*.net *.split]
Caius has quit [*.net *.split]
<HawkTracker> /home/marshall/.ssh/config:5: syntax error, unexpected tIVAR, expecting end-of-input
<HawkTracker> IdentityFile ~/.ssh/Marshall@Main-Key_rsa.private
khoury has quit [Remote host closed the connection]
<MrZYX> load tries to parse the file as ruby
<HawkTracker> should i use translate then?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nhmood has quit [Quit: Page closed]
<apeiros> load there is Kernel#load
<apeiros> I doubt that's what you want
drumusician has joined #ruby
<apeiros> also '#{foo}' does not interpolate the variable
RoryHughes has joined #ruby
<apeiros> >> foo = "bar"; ["#{foo}", '#{foo}']
<eval-in_> apeiros => ["bar", "\#{foo}"] (https://eval.in/77417)
iliketur_ has quit [Quit: zzzzz…..]
<MrZYX> HawkTracker: open the docs of net-ssh and check the configuration_for method
<HawkTracker> ok
r0bby_ has joined #ruby
stabby_lambda has joined #ruby
pushpak has joined #ruby
awkisopen has joined #ruby
maxmanders has joined #ruby
soulcake has joined #ruby
cbetta has joined #ruby
Caius has joined #ruby
gadgetoid has joined #ruby
maxmanders has quit [Changing host]
maxmanders has joined #ruby
michaeldeol has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
Sami345 has joined #ruby
timmow has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
Caius is now known as Guest92191
<HawkTracker> Net::SSH.start configuration_for('#{$server}','use_ssh_config=true') do |ssh|
<HawkTracker> ?
pzula has quit [Quit: Lost terminal]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pzula has joined #ruby
<MrZYX> Check where the method is defined, it's the same as for ::start and not Kernel, Object or BasicObject
coca_rails has joined #ruby
closures999 has joined #ruby
<HawkTracker> i am new to ruby, I don't know what you mean
pyrac has quit [Quit: pyrac]
m__s has joined #ruby
closures999 has quit [Client Quit]
<MrZYX> with Net:SSH.start you call the method start on Net::SSH
enape_101 has quit [Ping timeout: 246 seconds]
<MrZYX> configuration_for is defined on the same object
wongon has quit [Quit: wongon]
<MrZYX> also forget that globals even exist for now ($server)
mikeplenty has joined #ruby
<MrZYX> don't use them
baroquebobcat has joined #ruby
<HawkTracker> i need them, as the ssh code I am writing is in a function/def
<MrZYX> no you don't
end_guy has joined #ruby
<HawkTracker> really?
<mikeplenty> Object#kind_of? - what does kind mean here? I'm used to Haskell where a kind indicates whether a type is higher order or not. But Ruby doesn't have anything like higher oder types does it?
<HawkTracker> i read you do.
<MrZYX> it most likely should a parameter to your method or class
<MrZYX> *should be
l0cust has joined #ruby
michaeldeol has quit [Ping timeout: 260 seconds]
<HawkTracker> ok, ill consider using a param. For now, I would just like to get the ssh bit working
shedd has quit [Remote host closed the connection]
<yxhuvud> mike: it checks if the object is an instance of the argument, or an instance of a subclass of the argument.
Lewix has quit [Remote host closed the connection]
<MrZYX> mikeplenty: it's also aliased as is_a?
<HawkTracker> What should it look like? Can you give me that one line?
<HawkTracker> Net::SSH.start.configuration_for('#{$server}','use_ssh_config=true') do |ssh|
BraddBitt has joined #ruby
yfeldblum has joined #ruby
pzula has quit [Quit: Lost terminal]
koopa__ has quit [Quit: leaving]
Barrin6 has joined #ruby
l0cust has left #ruby ["Leaving"]
<shevy> Hanmac great!
<HawkTracker> this should be that hard. I just need the code to start a ssh session with the host of $server using the default ssh config location
<HawkTracker> shouldn't*
<HawkTracker> I have been trying for 2 hours, no one can help.
predator117 has quit [Ping timeout: 246 seconds]
<apeiros> HawkTracker: no. people did help. what they didn't is write your code for you.
predator117 has joined #ruby
<apeiros> and yes, if you don't know a language yet, it can take a while to do trivial things.
daidoji has joined #ruby
<HawkTracker> What does this mean > "with Net:SSH.start you call the method start on Net::SSH" and "configuration_for is defined on the same object"
angusigu1ss has joined #ruby
redramires1 has quit [Read error: No route to host]
yfeldblum has quit [Ping timeout: 250 seconds]
aspires has quit []
petey has joined #ruby
someara1 has left #ruby [#ruby]
aantix has quit [Quit: aantix]
<canton7> HawkTracker, just had a look at the docs here: http://net-ssh.rubyforge.org/ssh/v2/api/ . Net::SSH.configuration_for(host) returns a hash of configuration options, and Net::SSH.start(host, user, options={}) takes an optional options has as its third param
duggiefresh has joined #ruby
<canton7> which bit, exactly, are you having trouble with?
duggiefresh is now known as Guest49113
ner0x has quit [Quit: Leaving]
Baluse has joined #ruby
<Baluse> hello what does this mean ?
<Baluse> post "order/place", to: "api/orders#create", defaults: defaults
<HawkTracker> is this close to what it is supposed to look like? >> Net::SSH.start(Net::SSH.configuration_for('#{$server}','use_ssh_config=true')) do |ssh|
pzula has joined #ruby
jamesaanderson has joined #ruby
mengu has joined #ruby
<canton7> Baluse, It's taking advantage of some of ruby's syntax to write a DSL. It expands to 'post("order/place", {:to => "api/orders#create", :defaults => defaults})
mengu has quit [Changing host]
mengu has joined #ruby
<canton7> HawkTracker, stop trying to do it all in one line. write a line which loads an 'options' hash using Net::SSH.configuration_for(host), and another which passes that 'options' hash to Net::SSH.start(host, user, options)
<MrZYX> HawkTracker: also a plain Net:SSH.start('host', 'user') seems to already respect my .ssh/config
pyrac has joined #ruby
<MrZYX> Baluse: sounds like rails routing stuff, if so and you want to know what it does instead of how it works => #rubyonrails
baroquebobcat_ has joined #ruby
iliketur_ has joined #ruby
valesk has joined #ruby
robbyoconnor has joined #ruby
drumsrgr8forn8 has joined #ruby
drumsrgr8forn8 has quit [Remote host closed the connection]
enape_101 has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
aspires has joined #ruby
<HawkTracker> options = Net::SSH.configuration_for('#{$server}','use_ssh_config=true')
<HawkTracker> Net::SSH.start('','','options={#{options}}') do |ssh|
<HawkTracker> am i getting close?
<canton7> slooowly
baroquebobcat has quit [Read error: Connection reset by peer]
r0bby_ has quit [Excess Flood]
pwh_ has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
<HawkTracker> any hints?
Leighton has joined #ruby
awkisopen has quit [Changing host]
awkisopen has joined #ruby
<MrZYX> '..' <- this is a string, '#{foo}' == "\#{foo}"
<canton7> right, now when a method's defined as 'my_method(arg, arg2=something)', that means that arg2 has a default value of 'something'. It means it can either be called as method(param1), or method(param1, param2)
pwh has joined #ruby
<canton7> it *does not* mean you should call it as method(param1, 'arg2=param2')
<HawkTracker> ok...
<canton7> second, string interpolation doesn't occur within single quotes. so '#{foo}' is a literal #{foo},
<canton7> third, why use string interpolation for '#{$server}' anyway? why not just pass in $server?
RoryHughes has quit []
<canton7> fourth, why aren't you passing in a host or user to Net::SSH.start ?
<HawkTracker> i don't know... the code I started with (to learn/practice ruby) always used the syntax of #{var}
baroquebobcat_ has quit [Ping timeout: 260 seconds]
<HawkTracker> i figured thats how ruby did it
<canton7> that's for if you've got a string, and you want to stick a variable into that string
allaire has joined #ruby
fijimunkii has joined #ruby
<HawkTracker> i don't wanna leave a host/user because the ssh config should handle both those. right?
arefaslani has joined #ruby
<canton7> you do not use #{..} every single time you want to use the variable. *just* if you want to insert it into a string
plotter has joined #ruby
mojjojo has quit [Quit: mojjojo]
<HawkTracker> ok... that makes sense
plotter has quit [Client Quit]
<HawkTracker> options = Net::SSH.configuration_for("#{$server}",'use_ssh_config=true')
<HawkTracker> Net::SSH.start('','',"#{options}") do |ssh|
<HawkTracker> closer?
<canton7> you're not listening to me
<canton7> and yeah fair enough, you don't need to pass a host if it's included in the options
nhhagen has quit [Ping timeout: 264 seconds]
lukec has quit [Quit: lukec]
Kricir has joined #ruby
bluOxigen has joined #ruby
<canton7> I said about 4 or 5 times that you *DO NOT* use #{..} every time you reference a variable
<HawkTracker> options = Net::SSH.configuration_for('$server','use_ssh_config=true')
<HawkTracker> Net::SSH.start('','','options') do |ssh|
<HawkTracker> there.
<canton7> lose the quotes around $server = you want to pass the *value* of the variable $server, not the literal string '$server'
<HawkTracker> i thought single quotes were ok?
tsykodukl is now known as zz_tsykodukl
<canton7> and you didn't listen to my first point either
<canton7> <canton7> right, now when a method's defined as 'my_method(arg, arg2=something)', that means that arg2 has a default value of 'something'. It means it can either be called as method(param1), or method(param1, param2)
<canton7> <canton7> it *does not* mean you should call it as method(param1, 'arg2=param2')
<canton7> * pwh (~pwh@18.189.14.113) has joined #ruby
<HawkTracker> mkay
RoryHughes has joined #ruby
<HawkTracker> options = Net::SSH.configuration_for($server,'use_ssh_config=true')
<HawkTracker> Net::SSH.start('','',options) do |ssh|
<HawkTracker> there.
<canton7> no no no
<canton7> read what I just said
<canton7> (you're getting better, slowly)
pyrac has quit [Quit: pyrac]
<HawkTracker> oooo
<apeiros> I admire your patience, canton7
<HawkTracker> Net::SSH.start(options) do |ssh|
<HawkTracker> ?
Guest97087 has quit [Remote host closed the connection]
<canton7> boredom is a terrible thing
Jake232 has joined #ruby
<canton7> no, when did I say that?
<HawkTracker> method(param1), or method(param1, param2)
<canton7> and what are you doing with the second argument for Net::SSH.configuration_for?
g3orge has quit [Quit: WeeChat 0.4.2]
<HawkTracker> thats what the documentation said to put
<HawkTracker> for default location of ssh config
<canton7> <canton7> <canton7> right, now when a method's defined as 'my_method(arg, arg2=something)', that means that arg2 has a default value of 'something'. It means it can either be called as method(param1), or method(param1, param2). it *does not* mean you should call it as method(param1, 'arg2=param2')
<HawkTracker> or do i just put true
Hanmac1 has joined #ruby
<canton7> how many times am I going to repeat that?
<canton7> YES!
<canton7> finally
brennanMKE has quit []
<HawkTracker> so do i need the empty single quotes?
<canton7> yes
tidu12 has joined #ruby
<canton7> otherwise you're passing the 'config' variable where it's expecting a host
<HawkTracker> options = Net::SSH.configuration_for($server,'true')
<HawkTracker> Net::SSH.start('','',options) do |ssh|
koopa has joined #ruby
<canton7> why are you quoting 'true'?
<canton7> you're passing the string 'true'
<canton7> not the boolean true
tidu12 has quit [Max SendQ exceeded]
<HawkTracker> ooooo
<canton7> >> p true == 'true'
<eval-in_> canton7 => false ... (https://eval.in/77429)
<HawkTracker> that makes sense
<HawkTracker> options = Net::SSH.configuration_for($server,true)
<HawkTracker> Net::SSH.start('','',options) do |ssh|
<canton7> there we go
Hanmac has quit [Ping timeout: 250 seconds]
tidu12 has joined #ruby
<HawkTracker> still get an error
<canton7> what error?
<MrZYX> that works but there's room for improvement, look again, what's the default value for use_ssh_config?
<canton7> MrZYX, good point
zipper has joined #ruby
<HawkTracker> the error
Speed has joined #ruby
<canton7> HawkTracker, no, that's a snippet of the stack trace associated with the error. It doesn't actually give the error
enebo has quit [Quit: enebo]
R33C3 has joined #ruby
baroquebobcat has joined #ruby
rjhunter has joined #ruby
<canton7> nope, that's more stacktrace
<canton7> hint: we need some of the stuff that appears *before* the first line of your snippet
shedd has joined #ruby
<HawkTracker> nothing. everything works before the snippet...
pzula has quit [Quit: Lost terminal]
<canton7> paste everything
<HawkTracker> ok
<HawkTracker> rakefile >> http://pastebin.com/fqYHnrRk
aasirc has joined #ruby
baroquebobcat has quit [Client Quit]
<canton7> and the entire output of you running the rakefile, and it erroring?
fdelacruz has joined #ruby
mary5030 has joined #ruby
<HawkTracker> error: http://pastebin.com/JcWv4Mfw
rjhunter has quit [Ping timeout: 245 seconds]
<MrZYX> HawkTracker: your global "variables" want to be constants
R33C3 has quit [Client Quit]
<HawkTracker> mkay...
mikeplenty has quit [Ping timeout: 250 seconds]
shedd has quit [Ping timeout: 246 seconds]
gianlucadv has joined #ruby
aspires has quit []
yfeldblum has joined #ruby
weems has joined #ruby
<MrZYX> does the output change if you run with --trace (apart from the trace getting longer)
<MrZYX> ?
<HawkTracker> no
<canton7> HawkTracker, hmm, so Net::SSH is failing without giving you any messages, by the looks of things
<canton7> add the line 'p options' between lines 19 and 20
<canton7> and I'm going afk for food
phipes has quit [Ping timeout: 260 seconds]
plotter has joined #ruby
<MrZYX> I'd start by removing rake from the game, take your permissions method, put it into a plain ruby file and ruby it with ruby yourfile.rb
iliketur_ has quit [Quit: zzzzz…..]
nhhagen has joined #ruby
<MrZYX> *and run it
Drewch has quit [Quit: Computer has gone to sleep.]
Astralum has quit [Ping timeout: 246 seconds]
mary5030 has quit [Ping timeout: 250 seconds]
<MrZYX> of course don't forget to add a call to it like you do in the task
RoryHughes has quit []
wildroman2 has quit [Remote host closed the connection]
<HawkTracker> {:host_name=>"XXX.XXX.XXX", :port=>22, :user=>"deploy", :keys=>["~/.ssh/Marshall@Git_rsa.private"]}
<HawkTracker> is the output of p options
shedd has joined #ruby
fmendez has joined #ruby
BizarreCake has quit [Quit: Leaving]
<canton7> +1 for MrZYX's suggestion
freggles has quit [Remote host closed the connection]
<HawkTracker> would ssh.exec "ls" output something if it ran correctly?
<HawkTracker> or should i put it?
<MrZYX> it should print to stdout from a glance at the docs, but without further looking into it, ssh.exec! "ls" worked better for me in a quick try
<HawkTracker> n `start': Net::SSH::AuthenticationFailed
<HawkTracker> from test.rb:6:in `permissions'
<HawkTracker> from test.rb:13:in `<main>'
fijimunkii has quit [Quit: leaving]
<MrZYX> so the authentication failed
<HawkTracker> shoot, maybe with key isn't on the server...
zipper has quit [Ping timeout: 246 seconds]
koopa has quit [Quit: leaving]
KevinSjoberg_ is now known as KevinSjoberg
<HawkTracker> no... it works...
<HawkTracker> the rsync works...
sng|Zzz is now known as synergy_
fmendez has quit [Quit: fmendez]
<HawkTracker> :auth_methods => 'publickey'
<HawkTracker> ?
robbyoconnor has quit [Max SendQ exceeded]
jonahR has joined #ruby
stevenhaddox has quit [Quit: Sayonora]
<MrZYX> that shouldn't be disabled by default
<MrZYX> also that option expects an array
<HawkTracker> Net::SSH.start('','',"#{options} {:auth_methods => 'publickey}") do |ssh| ?
angusigu1ss has quit [Ping timeout: 245 seconds]
<MrZYX> now you're passing a string again where the method expects a hash
wongon has joined #ruby
Kricir has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<HawkTracker> mkay
iliketur_ has joined #ruby
phipes has joined #ruby
<HawkTracker> i am getting sick of this...
Guest61662 is now known as mumblerit
<MrZYX> okay, looks like the docs are lying
<HawkTracker> do i need public key?
<MrZYX> the user key in the options hash doesn't actually overwrite the user option
<MrZYX> try Net::SSH.start('', options[:user], options) do |ssh|
matchaw has joined #ruby
bean__ has joined #ruby
goofyballs789748 has joined #ruby
forcefsck has quit [Quit: Ex-Chat]
<HawkTracker> YES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
<HawkTracker> sorry...
<MrZYX> ah, wait
<canton7> line 186
timonv_ has quit [Remote host closed the connection]
<MrZYX> actually you can pass nil instead if empty strings: Net::SSH.start(nil, nil, options[:user], options) do |ssh|
jbpros has joined #ruby
<canton7> user = options.fetch(:user, user)
<MrZYX> line 162
<canton7> hrm
<canton7> unimpressed
<MrZYX> options[:user] = user if user
<canton7> why chuck it both days
<canton7> s/days/ways
maletor has quit [Quit: Computer has gone to sleep.]
<canton7> but yeah, passing nils should work!
<HawkTracker> i am confused
<HawkTracker> line 162? what are you talking about
bean__ has quit [Client Quit]
<canton7> Net::SSH.start(nil, nil, options) do ...
<MrZYX> ^ do that
<canton7> we're looking at the source for Net::SSH.start
<HawkTracker> ok... no user thing
<HawkTracker> yep, that works
<HawkTracker> great! Thanks guys...
<HawkTracker> one more question
eka has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby
<HawkTracker> how to figure the parent directory of the rake file's name
<HawkTracker> exampleL /websites/marshallford.me/rakefile.rb
<MrZYX> File.dirname(__FILE__)
<HawkTracker> return marshallford.me
<HawkTracker> File.dirname(__FILE__) returns the entire thing?
<MrZYX> well, then File.basename(File.dirname(__FILE__)), or File.basename(__dir__) if you're on 2.0
<HawkTracker> i thought
zipper has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
<HawkTracker> test.rb:14:in `<main>': undefined method `put' for main:Object (NoMethodError)
<HawkTracker> put File.basename(File.dirname(__FILE__))
Atrophius has joined #ruby
<MrZYX> yes, put is undefined ;)
<MrZYX> it's puts
<HawkTracker> lol
<HawkTracker> puts File.basename(File.dirname(__FILE__))
<HawkTracker> returns "."
<HawkTracker> which makes sense... but wrong
<MrZYX> right, forget the File.expand_path, but I think I've seen that you're on 2.0, so try the __dir__ version
blaxter has joined #ruby
michaeldeol has quit [Ping timeout: 250 seconds]
<HawkTracker> great. it works
<HawkTracker> thanks all. you guys have github accounts? I wanna follow ya'll
<shevy> __dir__ is Dir.pwd ?
<canton7> no, the dir containing __FILE__
jhaals has joined #ruby
<MrZYX> File.dirname(File.expand_path(__FILE__)) I guess
blaxter has quit [Client Quit]
blaxter has joined #ruby
Kabaka has joined #ruby
marcgg_ has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
arefaslani has quit [Remote host closed the connection]
bnjamin has quit [Remote host closed the connection]
bnjamin has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
rootshift has joined #ruby
matchaw_ has joined #ruby
w4pm has joined #ruby
matchaw has quit [Read error: Operation timed out]
wildroman2 has joined #ruby
Spami has joined #ruby
<shevy> my 1.9.3 does not have it :(
tjbiddle has joined #ruby
<canton7> yeah it's 2.0
g0bl1n has joined #ruby
advorak has joined #ruby
mjs2600_ has left #ruby [#ruby]
drumusician has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
d45h has joined #ruby
<shevy> we have FalseClass and TrueClass
<shevy> is there a parent class for these? like Bool?
<shevy> >> FalseClass.ancestors
<eval-in_> shevy => [FalseClass, Object, Kernel, BasicObject] (https://eval.in/77432)
<shevy> hmmmmmm
maletor has joined #ruby
jibi has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
nettoweb has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
<IceDragon> Shevy: you could just create a module called Boolean
<IceDragon> ?
Briareos1 has quit [Remote host closed the connection]
Barrin6 has quit [Quit: Leaving]
<IceDragon> >> module Boolean ; end ; TrueClass.send(:include, Boolean) ; FalseClass.send(:include, Boolean) ; [TrueClass.ancestors, true.is_a?(Boolean)]
<eval-in_> IceDragon => [[TrueClass, Boolean, Object, Kernel, BasicObject], true] (https://eval.in/77433)
zipper has quit [Quit: Lost terminal]
<IceDragon> its hackish, but it works :P
tjbiddle has quit [Quit: tjbiddle]
<Hanmac1> IceDragon: did you know there are exactly 3 objects where obj.class == obj.singleton_class ?
Hanmac1 is now known as Hanmac
<IceDragon> :O True false and nil
matchaw has joined #ruby
<IceDragon> true*
fmendez has joined #ruby
<IceDragon> :P
nettoweb has quit [Client Quit]
<IceDragon> Hanmac1: Do I get a prize now?
<IceDragon> :D
matchaw_ has quit [Ping timeout: 250 seconds]
petey has quit [Ping timeout: 245 seconds]
<Hanmac> yeah its a hack so you can do: def true.func();end and you can add "singleton" methods into it even true itself is frozen
wallerdev has quit [Quit: wallerdev]
Lewix has joined #ruby
petey has joined #ruby
<IceDragon> I dunno what to say
Kilo`byte has quit [Read error: No route to host]
bonhoeffer has joined #ruby
p4d4w4n has joined #ruby
rjhunter has joined #ruby
atmosx has joined #ruby
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
p4d4w4n has quit [Client Quit]
bonhoeffer has quit [Client Quit]
aspires has joined #ruby
fdelacruz has quit [Quit: EPIC5-1.1.5[1683] - amnesiac : Error 467: Illegal brain function. Process terminated]
Kilo`byte has joined #ruby
Es0teric has joined #ruby
goofyballs789748 has quit [Ping timeout: 261 seconds]
rjhunter has quit [Ping timeout: 246 seconds]
iliketur_ has quit [Quit: zzzzz…..]
Atrophius has quit [Ping timeout: 245 seconds]
j2sentient has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
aasirc has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketur_ has joined #ruby
iliketur_ has quit [Max SendQ exceeded]
iliketur_ has joined #ruby
goofyballs789748 has joined #ruby
fmendez has quit [Quit: fmendez]
nifty has quit [Ping timeout: 244 seconds]
Tectonic has joined #ruby
angusigu1ss has joined #ruby
mois3x has quit [Quit: Connection closed for inactivity]
Hanmac1 has joined #ruby
Rumsteak has joined #ruby
aspires has quit []
jalcine has quit [Excess Flood]
Hanmac has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
Auraelius_ has joined #ruby
Atrophius has joined #ruby
pskosinski has joined #ruby
platzhirsch has joined #ruby
tjbiddle has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
angusigu1ss has quit [Ping timeout: 246 seconds]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
petey has quit [Remote host closed the connection]
petey has joined #ruby
Tectonic has quit []
phansch has quit [Quit: Leaving]
HawkTracker has quit [Quit: Leaving]
mikesplain has quit [Ping timeout: 246 seconds]
shime has joined #ruby
crapple has quit [Ping timeout: 250 seconds]
crapple has joined #ruby
carif has quit [Quit: Ex-Chat]
mercwithamouth has joined #ruby
fmendez has joined #ruby
Auraelius_ has quit [Quit: quit....]
Rumsteak has quit [Quit: Rumsteak]
petey has quit [Ping timeout: 264 seconds]
hiyosi_ has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
<pontiki> hi
advorak has quit [Quit: Ex-Chat]
Mon_Ouie has quit [Ping timeout: 246 seconds]
crapple has quit [Ping timeout: 246 seconds]
<platzhirsch> Hi pontiki, how do you do in Gummischuh?
momomomomo has joined #ruby
crapple has joined #ruby
jalcine has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
Sawbones has joined #ruby
robbyoconnor has joined #ruby
Czupa has quit [Ping timeout: 246 seconds]
enape_101 has quit [Ping timeout: 265 seconds]
michaeldeol has quit [Ping timeout: 265 seconds]
crapple has quit [Excess Flood]
enape_101 has joined #ruby
crapple has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
jpablobr has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
fmendez has quit [Quit: fmendez]
Jake232 has joined #ruby
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
bluOxigen has quit [Ping timeout: 252 seconds]
jhaals has joined #ruby
g0bl1n has quit [Ping timeout: 264 seconds]
obs has joined #ruby
fmendez has joined #ruby
nifty has joined #ruby
<pontiki> sorry?
coca_rails has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 250 seconds]
mmcdaris has quit [Quit: mmcdaris]
phipes has quit [Ping timeout: 250 seconds]
digifiv5e_ has quit [Quit: quit]
phipes has joined #ruby
Czupa has joined #ruby
<platzhirsch> nevermind
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
d45h has quit [Read error: Connection reset by peer]
Czupa has quit [Client Quit]
d45h has joined #ruby
blooberr_ has joined #ruby
phipes_ has joined #ruby
phipes has quit [Ping timeout: 264 seconds]
jibi has quit [Quit: .]
jalcine has quit [Excess Flood]
jalcine has joined #ruby
gianlucadv has quit [Ping timeout: 260 seconds]
Kricir has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
mickthenick has joined #ruby
bean__ has joined #ruby
Thanatermesis has quit [Ping timeout: 252 seconds]
threesome has quit [Ping timeout: 246 seconds]
bean__ has quit [Client Quit]
anderson has quit [Ping timeout: 252 seconds]
jbpros has quit [Quit: jbpros]
mickthenick has quit [Client Quit]
<shevy> IceDragon problem is that I'd have to distribute such a module too, if I make use of this in one of my projects
<IceDragon> boolean gem?
<shevy> hehe
<shevy> that would be an option
lkba has joined #ruby
<shevy> the rails way
<shevy> change ruby into something that no longer resembles ruby :D
jhaals has joined #ruby
kitak has quit [Remote host closed the connection]
<shevy> ActiveRecord.has_cheese?
<bnagy> too late
kitak has joined #ruby
Kricir has joined #ruby
cnrk has joined #ruby
allsystemsarego has quit [Quit: Leaving]
<shevy> pontiki hmm a literal translation of Gummischuh would be rubber-shoe ...
rjhunter has joined #ruby
mickthenick has joined #ruby
nifty has quit [Ping timeout: 252 seconds]
mickthenick has quit [Client Quit]
Reach has quit [Ping timeout: 252 seconds]
Sawbones has quit [Remote host closed the connection]
nhhagen has quit [Remote host closed the connection]
coca_rails has joined #ruby
rjhunter has quit [Ping timeout: 264 seconds]
mickthenick has joined #ruby
dabos has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Thanatermesis has joined #ruby
Reach has joined #ruby
relix has joined #ruby
sbos99 has quit [Ping timeout: 246 seconds]
randomnick_ has quit [Read error: Connection reset by peer]
phipes_ has quit [Read error: Connection reset by peer]
iliketur_ has quit [Quit: zzzzz…..]
resno has quit [Ping timeout: 272 seconds]
resno has joined #ruby
mickthenick has quit [Quit: http://www.kiwiirc.com/ - A hand-crafted IRC client]
mary5030 has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevind_ has joined #ruby
kevind_ has quit [Client Quit]
nhhagen has joined #ruby
Kabaka has quit [Remote host closed the connection]
wongon_ has joined #ruby
wongon has quit [Ping timeout: 265 seconds]
wongon_ is now known as wongon
mickthenick has joined #ruby
mary5030 has quit [Remote host closed the connection]
hiyosi_ has joined #ruby
wongon has quit [Client Quit]
phipes has joined #ruby
spider-mario has quit [Remote host closed the connection]
phipes has quit [Read error: Connection reset by peer]
phipes has joined #ruby
d45h has quit []
hiyosi_ has quit [Ping timeout: 260 seconds]
phipes has quit [Read error: Connection reset by peer]
rubyracer has quit [Ping timeout: 250 seconds]
<PPH> Hi, how can I find a hash key by value?
phipes has joined #ruby
amoli has joined #ruby
advorak has joined #ruby
advorak has quit [Client Quit]
nhhagen has quit [Remote host closed the connection]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<PPH> I have a translation hash and I would like it to work back and forth but I don't know how to retreive the a key from a hash
dabos has quit [Ping timeout: 246 seconds]
L8D has joined #ruby
<hoelzro> if you need the value-to-key lookup to be fast, create another hash
<L8D> How do you serve a static file in sinatra?
Kricir has quit [Remote host closed the connection]
atmosx has quit [Quit: computer went to sleep...]
nhhagen_ has joined #ruby
<PPH> hoelzro, I don't think I need it, it's for a web app
<L8D> I just want to do: get '/' do html :index end
atmosx has joined #ruby
<hoelzro> you can iterate over all of the kv pairs and find the right one then
<MrZYX> PPH: .find {|k,v| v == wanted }.first then
<hoelzro> there's probably some fancy method for it
Shidash has joined #ruby
gr33n7007h has quit [Quit: Leaving]
michaeldeol has joined #ruby
<PPH> bah I'll do a second hash, faster is always better I guess :)
Sawbones has joined #ruby
<PPH> thx
<bnagy> PPH: if the values are unique you can #invert
<bnagy> you can even hsh.update hsh.invert and do it all in one
phipes has quit [Read error: Connection reset by peer]
fuhgeddaboudit has joined #ruby
<PPH> bnagy, ah that sounds cool
coca_rails has quit [Remote host closed the connection]
Rylee has quit [Ping timeout: 246 seconds]
<bnagy> >> h={a: 1}; h.update h.invert; [h[:a], h[1]]
<bnagy> oh nm it's me, lagging
<bnagy> eval-in died?
<eval-in_> bnagy => [1, :a] (https://eval.in/77445)
<bnagy> note that it's very ungood if the values aren't unique
<bnagy> or if any values are the same as keys ( that aren't their own )
Shidash has quit [Quit: Leaving.]
Shidash has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
nhhagen_ has quit [Remote host closed the connection]
Shidash has quit [Client Quit]
iliketur_ has joined #ruby
shime has quit [Ping timeout: 252 seconds]
stabby_lambda has quit [Remote host closed the connection]
ircguest has joined #ruby
koopa_ has joined #ruby
stabby_lambda has joined #ruby
stabby_lambda has quit [Remote host closed the connection]
lukec has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
Mon_Ouie has joined #ruby
Jake232 has quit [Ping timeout: 264 seconds]
Sawbones has quit [Remote host closed the connection]
banister has joined #ruby
phipes has joined #ruby
mickthenick has quit [Ping timeout: 245 seconds]
ircguest has quit [Quit: ircII EPIC4-2.10.1 -- Are we there yet?]
po10 has quit [Quit: /]
Lewix has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
Lewix has joined #ruby
leynos has joined #ruby
xcv_ has joined #ruby
pragmatism has joined #ruby
johnmilton has quit [Remote host closed the connection]
leynos has quit [Write error: Broken pipe]
Megtastique has joined #ruby
Megtastique has quit [Remote host closed the connection]
Rylee has joined #ruby
wallerdev has joined #ruby
Tectonic has joined #ruby
obs has quit [Remote host closed the connection]
enape_101 has quit [Ping timeout: 247 seconds]
atno has quit [Read error: Connection reset by peer]
sheap has quit [Quit: Lost terminal]
kitak has quit [Remote host closed the connection]
ambushsabre has joined #ruby
nhhagen has joined #ruby
Megtastique has joined #ruby
Jake232 has joined #ruby
enape_101 has joined #ruby
atno has joined #ruby
jamesfung14 has joined #ruby
ircguest has joined #ruby
w4pm has quit [Ping timeout: 246 seconds]
crapple has quit [Ping timeout: 245 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mootpointer has joined #ruby
Kricir has joined #ruby
crapple has joined #ruby
claymore has quit [Quit: Leaving]
coca_rails has joined #ruby
ircguest has left #ruby [#ruby]
nomenkun has joined #ruby
culturelabs has quit [Quit: Connection closed for inactivity]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
rjhunter has joined #ruby
allaire has quit []
BBBThunda has quit [Quit: Leaving]
koopa_ has quit [Ping timeout: 264 seconds]
LiohAu has quit [Quit: LiohAu]
crapple has quit [Ping timeout: 250 seconds]
crapple has joined #ruby
Barrin6 has joined #ruby
rjhunter has quit [Ping timeout: 264 seconds]
gsvolt has quit [Ping timeout: 260 seconds]
nomenkun has quit [Ping timeout: 250 seconds]
Megtastique has quit []
bnjamin has quit [Remote host closed the connection]
linduxed has quit [Read error: Operation timed out]
crapple has quit [Ping timeout: 246 seconds]
crapple has joined #ruby
atmosx has quit [Ping timeout: 250 seconds]
jamesaanderson has joined #ruby
<goofyballs789748> Apple Crap
jamesaanderson has quit [Client Quit]
petey has joined #ruby
linduxed has joined #ruby
kitak has joined #ruby
<goofyballs789748> iCrap see ya
dcope has left #ruby [#ruby]
goofyballs789748 has quit [Quit: Leaving]
chel has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
agjacome has quit [Ping timeout: 246 seconds]
<chel> Hi, how can I untar, unzip files in ruby?
<chel> I can definitely make "system" calls, but they are considered unsafe.
<chel> Is there any ruby-library that can do it?
nhhagen has quit [Remote host closed the connection]
bnjamin has joined #ruby
hiyosi_ has joined #ruby
xargoon has quit [Ping timeout: 272 seconds]
po10 has joined #ruby
jamesaanderson has joined #ruby
mlpinit has quit [Remote host closed the connection]
nifty has joined #ruby
po10 has quit [Max SendQ exceeded]
mlpinit has joined #ruby
<MrZYX> tried searching on rubygems.org?
Megtastique has joined #ruby
xargoon has joined #ruby
nari has joined #ruby
hiyosi_ has quit [Read error: Operation timed out]
jamesaanderson has quit [Client Quit]
_Andres_ has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
koopa_ has joined #ruby
marr has joined #ruby
lfox has quit [Quit: ZZZzzz…]
mootpointer has quit [Quit: ENOCAFFEINE.]
mojjojo has joined #ruby
zz_tsykodukl is now known as tsykoduk
koopa_ has quit [Client Quit]
mary5030 has joined #ruby
michaeldeol has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
popl has quit [Ping timeout: 252 seconds]
mary5030 has quit [Ping timeout: 260 seconds]
michaeldeol has quit [Ping timeout: 265 seconds]
mootpointer has joined #ruby
ua has quit [Ping timeout: 246 seconds]
Kricir has quit [Ping timeout: 245 seconds]
akonny has quit [Quit: akonny]
coca_rails has quit [Ping timeout: 245 seconds]
lowski is now known as lowski_away
ua has joined #ruby
fgo has quit [Quit: Connection closed for inactivity]
Megtastique has quit []
iliketur_ has quit [Ping timeout: 246 seconds]
Ohga has left #ruby [#ruby]
mojjojo has quit [Quit: mojjojo]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewbogott is now known as andrewbogott_afk
andrewbogott_afk is now known as andrewbogott
andrewbogott is now known as andrewbogott_afk
ambushsabre has joined #ruby
andrewbogott_afk is now known as andrewbogott
gsvolt has joined #ruby
cdolan has joined #ruby
nhhagen has joined #ruby
DeProdigy has quit [Ping timeout: 252 seconds]
ambushsabre has quit [Read error: Connection reset by peer]
vlad_starkov has quit []
ambushsabre has joined #ruby
mojjojo has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
nhhagen has quit [Ping timeout: 252 seconds]
ambushsabre has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
yfeldblum has joined #ruby
aspires has joined #ruby
baroquebobcat has joined #ruby
rootshift has quit [Quit: rootshift]
unRealElite has joined #ruby
brain_shim has quit [Ping timeout: 246 seconds]
momomomomo has quit [Quit: momomomomo]
Atrophius has quit [Ping timeout: 265 seconds]
wongon has joined #ruby
timonv has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
w4pm has joined #ruby
nowthatsamatt has joined #ruby
<chel> shevy: Thanks!
<shevy> I use system() myself though :-)
rjhunter has joined #ruby
brain_shim has joined #ruby