apeiros changed the topic of #ruby-lang to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
mistym has quit [Remote host closed the connection]
BubonicPestilenc has joined #ruby-lang
arBmind1 has joined #ruby-lang
kith has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
arBmind has quit [Ping timeout: 240 seconds]
cleopatra has quit [Remote host closed the connection]
nmpb has joined #ruby-lang
dagda1 has joined #ruby-lang
<ericwood> applescript is like the abcense of syntax
dagda1 has quit [Client Quit]
UnLambda has joined #ruby-lang
cleopatra has joined #ruby-lang
<red_menace> applescript has a syntax - you have to figure it out by trial and error, but it has one
<ericwood> it chose to base itself off English, which has a GREAT syntax :D
<red_menace> yeah - you have to figure that one out by trial and error as well
mkaesz has joined #ruby-lang
kith has joined #ruby-lang
kith has quit [Changing host]
kith has joined #ruby-lang
havenwood has joined #ruby-lang
mkaesz has quit [Ping timeout: 272 seconds]
jmrepetti has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
arBmind1 has quit [Quit: Leaving.]
nmpb has quit [Quit: Probably off to work.]
jxie has quit [Remote host closed the connection]
jxie has joined #ruby-lang
mistym has joined #ruby-lang
marr has quit [Ping timeout: 252 seconds]
AKASkip has quit [Ping timeout: 244 seconds]
spastorino has joined #ruby-lang
AKASkip has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
malconis has joined #ruby-lang
malconis has quit [Client Quit]
iamninja has quit [Quit: ZZZzzz…]
kiyote23 has joined #ruby-lang
kurko__ has joined #ruby-lang
iamninja has joined #ruby-lang
cleopatra has quit [Remote host closed the connection]
dfinninger has joined #ruby-lang
kiyote23 has quit [Ping timeout: 240 seconds]
oak has quit [Ping timeout: 264 seconds]
<nofxx_> ary.each(&:meth, with_param) wouldn't be nice? kinda like #send
kiyote23 has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pyttepatsy has joined #ruby-lang
<waxjar> nofxx_: you can abuse #each_with_object
kiyote23 has quit [Remote host closed the connection]
<waxjar> >> [1,2,3].each_with_object(3).map(&:==)
<eval-in__> waxjar => [false, false, true] (https://eval.in/228373)
kiyote23 has joined #ruby-lang
kiyote23 has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby-lang
klmlfl has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.0.1]
<nofxx_> waxjar, heh, hackish, but more chars than just opening the darn block or maybe supressed || pipes, will give you a letter ary.each { x(:param) }
<nofxx_> 'x' is nice, already means variable by itself, but I'm ok with 'o' or 'e'
<nofxx_> should have used sentences better, sorry waxjar hehe
cornerma1 has joined #ruby-lang
<nofxx_> and bad example too: ary.each { x.meth(:param) }
<waxjar> i tried adding some more magic to Symbol a while ago, but it's ugly: https://gist.github.com/britishtea/79ffe59b775e13af6f76
<nofxx_> or maybe the 'x' could be supressed, and self binded to it: ary.each { meth(:param) }
yfeldblu_ has joined #ruby-lang
<waxjar> (also overwrites the existing Symbol#[])
charliesome has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
yfeldblum has quit [Ping timeout: 256 seconds]
kiyote23 has quit [Remote host closed the connection]
djwilcox has joined #ruby-lang
kiyote23 has joined #ruby-lang
<djwilcox> im having a problem with my bashrc - getting a command not found for rackup and bundle
jimbach has quit [Remote host closed the connection]
<djwilcox> just need to add something to my bash path, but not sure what to add
apeiros has quit [Read error: Connection reset by peer]
kiyote23 has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<djwilcox> anyone know the file path for rackup command ?
vieq has quit [Ping timeout: 264 seconds]
<threeifbywhiskey> djwilcox: It's system-dependent; what're you running?
<bnagy> it's more than just system dependent
vieq has joined #ruby-lang
<djwilcox> running ubuntu
<djwilcox> does this look right - /home/$USER/.rvm/scripts/rvm
<djwilcox> added to bash path
<bnagy> you can't just randomly add stuff o_0
<bnagy> first up, if you installed with rvm then a) imvho you've done it wrong and b) there's #rvm where they're very helpful
pablocantero has joined #ruby-lang
<bnagy> if you just want to find out where rackup is you can do something like find / -name rackup 2>/dev/null
<bnagy> but you should make sure you know what I'm asking you to run before you run it
<waxjar> have you added whatever rvm says you should add to your bash config file?
<djwilcox> cheers bnagy, im running in a docker container
UnLambda has quit [Ping timeout: 245 seconds]
<djwilcox> it just the path in my bashrc, doesnt have the path for ruby, hence command not found
<bnagy> rvm needs you to run an rvm script thing when you start your shell
<bnagy> which is in their instructions somewhere
<djwilcox> yer its just the file path bnagy
dfinninger has quit [Remote host closed the connection]
pablocantero has quit [Ping timeout: 264 seconds]
djwilcox has quit [Quit: WeeChat 1.0.1]
UnLambda has joined #ruby-lang
kiyote23 has joined #ruby-lang
jimbach has joined #ruby-lang
mistym has quit [Remote host closed the connection]
AKASkip has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby-lang
th___ has quit [Read error: Connection reset by peer]
jimbach has quit [Ping timeout: 258 seconds]
th_ has joined #ruby-lang
pnbeast has joined #ruby-lang
nmpb has joined #ruby-lang
godd2 has joined #ruby-lang
mistym has joined #ruby-lang
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
cleopatra has joined #ruby-lang
threeifbywhiskey has left #ruby-lang [#ruby-lang]
mattetti has joined #ruby-lang
pricees has joined #ruby-lang
nmpb has quit [Quit: Probably off to work.]
kiyote23 has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
bf4 has joined #ruby-lang
elimS has joined #ruby-lang
pricees has quit [Ping timeout: 258 seconds]
jimbach has quit [Ping timeout: 252 seconds]
cleopatra has quit [Remote host closed the connection]
mattetti has left #ruby-lang [#ruby-lang]
bmichelsen has joined #ruby-lang
cleopatra has joined #ruby-lang
dfinninger has joined #ruby-lang
snoopybbt has quit [Ping timeout: 250 seconds]
dfinninger has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby-lang
hao has joined #ruby-lang
hao has quit [Client Quit]
jimbach has quit [Ping timeout: 264 seconds]
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
cmhobbs has joined #ruby-lang
elimS has quit [Quit: Lingo: www.lingoirc.com]
bf4_ has joined #ruby-lang
cleopatra has quit [Remote host closed the connection]
bf4 has quit [Ping timeout: 272 seconds]
Musashi007 has joined #ruby-lang
hakunin_ is now known as hakunin
kiyote23 has joined #ruby-lang
fedexo has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
kiyote23 has quit [Ping timeout: 245 seconds]
isale-eko has quit [Remote host closed the connection]
cleopatra has joined #ruby-lang
kurko__ has joined #ruby-lang
midhir has quit [Remote host closed the connection]
midhir has joined #ruby-lang
rcvalle has joined #ruby-lang
pyttepatsy has quit [Ping timeout: 252 seconds]
midhir has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 272 seconds]
oleo__ has joined #ruby-lang
gix has joined #ruby-lang
oleo is now known as Guest25969
Guest25969 has quit [Ping timeout: 258 seconds]
emmesswhy has joined #ruby-lang
emmesswhy has quit [Read error: Connection reset by peer]
emmesswhy has joined #ruby-lang
emmesswhy has quit [Ping timeout: 252 seconds]
kurko__ has quit [Ping timeout: 264 seconds]
<havenwood> The sun nibbles on the clouds, and gumdrop tears rain down.
<havenwood> oops, misstell
cmhobbs has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
kiyote23 has joined #ruby-lang
Jamo_ has quit [Remote host closed the connection]
dfinninger has joined #ruby-lang
kiyote23 has quit [Ping timeout: 264 seconds]
UnLambda has quit [Ping timeout: 264 seconds]
bf4_ has quit [Ping timeout: 256 seconds]
dfinninger has quit [Ping timeout: 255 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
Musashi007 has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby-lang
Musashi007 has quit [Ping timeout: 240 seconds]
fedexo has quit [Ping timeout: 256 seconds]
mcclurmc has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
ur5us has joined #ruby-lang
emmesswhy has joined #ruby-lang
emmesswhy has quit [Ping timeout: 264 seconds]
pricees has joined #ruby-lang
pricees has quit [Ping timeout: 265 seconds]
t7y9r has quit [Ping timeout: 240 seconds]
t3h_j4n170r has quit [Ping timeout: 240 seconds]
t3h_j4n170r has joined #ruby-lang
t7y9r has joined #ruby-lang
midhir has joined #ruby-lang
AKASkip has joined #ruby-lang
midhir has quit [Ping timeout: 240 seconds]
bmichelsen has joined #ruby-lang
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
mistym has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
diegoviola has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
mcclurmc has quit [Ping timeout: 252 seconds]
pyttepatsy has joined #ruby-lang
pyttepatsy has quit [Ping timeout: 258 seconds]
mistym has joined #ruby-lang
blueness has quit [Ping timeout: 264 seconds]
dxta has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
pnbeast has quit [Quit: leaving]
blueness has joined #ruby-lang
dfinninger has joined #ruby-lang
dfinninger has quit [Client Quit]
jimbach has quit [Ping timeout: 272 seconds]
pyttepatsy has joined #ruby-lang
pyttepatsy has quit [Ping timeout: 264 seconds]
gianlucadv has joined #ruby-lang
mcclurmc has joined #ruby-lang
mcclurmc has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
cleopatra has quit [Quit: Saliendo]
cleopatra has joined #ruby-lang
red_menace has quit [Quit: Quit]
kiyote23 has joined #ruby-lang
kiyote23 has quit [Ping timeout: 245 seconds]
isale-eko has joined #ruby-lang
midhir has joined #ruby-lang
pyttepatsy has joined #ruby-lang
midhir has quit [Ping timeout: 245 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
allomov has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.91 [Firefox 33.1/20141106120505]]
NoNMaDDeN has quit [Ping timeout: 255 seconds]
ur5us has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
bmichelsen has joined #ruby-lang
lsegal has joined #ruby-lang
jimbach has joined #ruby-lang
rippa has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
kapil__ has joined #ruby-lang
kiyote23 has joined #ruby-lang
kiyote23 has quit [Ping timeout: 272 seconds]
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 258 seconds]
pyttepatsy has quit [Ping timeout: 265 seconds]
snoopybbt has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
kiyote23 has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
Rampages has quit [Quit: Oh... where my internets?]
Lewix has quit [Remote host closed the connection]
kiyote23 has quit [Ping timeout: 240 seconds]
midhir has joined #ruby-lang
Rampages has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
midhir has quit [Ping timeout: 256 seconds]
ur5us has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
GBrawl has joined #ruby-lang
Rampages has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Rampages has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbach has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
sarkyniin has joined #ruby-lang
GBrawl has quit [Quit: (null)]
nofxx_ has quit [Ping timeout: 265 seconds]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
emmesswhy has joined #ruby-lang
snoopybbt has quit [Ping timeout: 250 seconds]
emmesswhy has quit [Read error: Connection reset by peer]
marcdel has quit [Ping timeout: 244 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
emmesswhy has joined #ruby-lang
kiyote23 has joined #ruby-lang
usershell has joined #ruby-lang
kiyote23 has quit [Ping timeout: 250 seconds]
Jamo_ has joined #ruby-lang
usershell has quit [Remote host closed the connection]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby-lang
toretore has joined #ruby-lang
fusillicode has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 256 seconds]
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
lilsheep has joined #ruby-lang
<lilsheep> hii
lilsheep has quit [Remote host closed the connection]
apeiros__ has joined #ruby-lang
apeiros___ has joined #ruby-lang
kiyote23 has joined #ruby-lang
apeiros_ has quit [Ping timeout: 252 seconds]
apeiros has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
kiyote23 has quit [Ping timeout: 244 seconds]
midhir has joined #ruby-lang
futilegames has quit [Ping timeout: 245 seconds]
midhir has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby-lang
pyttepatsy has joined #ruby-lang
apeiros__ is now known as apeiros_
jimbach has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
pyttepatsy has quit [Ping timeout: 240 seconds]
futilegames has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
ikrima_ has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
oleo__ is now known as oleo
futilegames has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
bmichelsen has joined #ruby-lang
dangerousdave has joined #ruby-lang
futilegames has quit [Ping timeout: 272 seconds]
futilegames has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
godd2 has quit [Ping timeout: 258 seconds]
futilegames has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
kiyote23 has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
BubonicPestilenc has quit [Read error: Connection reset by peer]
BubonicPestile-1 has joined #ruby-lang
futilegames has joined #ruby-lang
pyttepatsy has joined #ruby-lang
mkaesz has quit [Ping timeout: 240 seconds]
fusillicode has quit [Read error: Connection reset by peer]
pyttepatsy has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
fusillicode has joined #ruby-lang
futilegames has quit [Ping timeout: 244 seconds]
emmesswhy has joined #ruby-lang
oleo has quit [Quit: Verlassend]
midhir has joined #ruby-lang
emmesswhy has quit [Read error: Connection reset by peer]
emmesswhy has joined #ruby-lang
futilegames has joined #ruby-lang
emmesswhy has quit [Read error: Connection reset by peer]
emmesswhy has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
midhir has quit [Remote host closed the connection]
midhir has joined #ruby-lang
futilegames has joined #ruby-lang
midhir has quit [Ping timeout: 256 seconds]
gix has quit [Ping timeout: 252 seconds]
futilegames has quit [Ping timeout: 256 seconds]
gix has joined #ruby-lang
kiyote23 has quit [Ping timeout: 265 seconds]
pablocantero has joined #ruby-lang
futilegames has joined #ruby-lang
mkaesz has joined #ruby-lang
dangerousdave has joined #ruby-lang
futilegames has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
allomov has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
midhir has joined #ruby-lang
mcclurmc has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
midhir has quit [Ping timeout: 272 seconds]
mcclurmc has quit [Ping timeout: 265 seconds]
futilegames has quit [Ping timeout: 256 seconds]
midhir has joined #ruby-lang
mkaesz has quit [Ping timeout: 265 seconds]
cornerma1 has joined #ruby-lang
midhir has quit [Ping timeout: 240 seconds]
cornerman has quit [Ping timeout: 252 seconds]
cornerma1 is now known as cornerman
futilegames has joined #ruby-lang
jxie has quit [Ping timeout: 250 seconds]
mkaesz has joined #ruby-lang
sferik has joined #ruby-lang
futilegames_ has joined #ruby-lang
jxie has joined #ruby-lang
ikrima_ has quit [Ping timeout: 264 seconds]
futilegames has quit [Ping timeout: 264 seconds]
futilegames_ is now known as futilegames
andy888_ has joined #ruby-lang
jimbach has joined #ruby-lang
mkaesz has quit [Ping timeout: 264 seconds]
chinmay_dd has joined #ruby-lang
andy888_ has quit [Client Quit]
jimbach has quit [Ping timeout: 258 seconds]
havenwood has joined #ruby-lang
futilegames_ has joined #ruby-lang
futilegames has quit [Ping timeout: 252 seconds]
futilegames_ is now known as futilegames
imperator has joined #ruby-lang
lapide_viridi has joined #ruby-lang
elastik has joined #ruby-lang
jmrepetti has joined #ruby-lang
mkaesz has joined #ruby-lang
dangerousdave has joined #ruby-lang
Iskarlar has joined #ruby-lang
<elastik> hello
<elastik> Anyone out there?
<havenwood> hi
<elastik> awesome! it works
<elastik> I just set this up
<elastik> Is this a place to ask for help with ruby?
<havenwood> elastik: here or #ruby are good places
<elastik> ok. I just added #ruby as well
mkaesz has quit [Ping timeout: 252 seconds]
<elastik> I'm looking for a little help with some ruby code. Anyone want to take a look?
red_menace has joined #ruby-lang
<havenwood> elastik: if you paste a link to a gist, i betcha folk will look!
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
red_menace has quit [Client Quit]
snoopybbt has joined #ruby-lang
postmodern has quit [Quit: Leaving]
<elastik> ok. cool. I'm going to to that!!!
red_menace has joined #ruby-lang
bf4 has joined #ruby-lang
oleo has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
chinmay_dd has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
<elastik> I'm trying to get this code to work
<elastik> any help or advice would be appreciated
kurko__ has joined #ruby-lang
kurko__ has quit [Client Quit]
matp_ has joined #ruby-lang
pablocantero has joined #ruby-lang
lapide_viridi has quit [Quit: See ya'!]
matp has quit [Ping timeout: 240 seconds]
<havenwood> elastik: drop empty parens from methods. properly indenting with two spaces help for comprehending code. if you name your gist with a .rb extension, it gets pretty colors, eg: https://gist.github.com/havenwood/651c3f95d19a8ede9a5a
<havenwood> elastik: so neither method is working as intended?
lapide_viridi has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
<havenwood> elastik: in #micro_flagger you're using `flaglinks` and `$flaglinks`, neither of which are defined
<elastik> ok. i updated the code
<elastik> please refresh
pablocantero has quit [Ping timeout: 245 seconds]
<elastik> the first part of the method find_flaglinks works
<havenwood> elastik: add indention and save with a .rb ext
<elastik> ok. one sec
<havenwood> the flat grey isn't readable :P
<havenwood> we do <3 our two-space soft tabs
pyttepatsy has joined #ruby-lang
<elastik> i think i got it right this time
<elastik> thanks for your help
<havenwood> looks prettier!
<elastik> :)
<elastik> The code works up to line 13
<havenwood> elastik: don't think you meant to?: puts = flaglinks
<elastik> omg
<elastik> let me fix that
<elastik> ok fixed. im green lol
mkaesz has joined #ruby-lang
ikrima_ has joined #ruby-lang
pyttepatsy has quit [Ping timeout: 258 seconds]
<havenwood> elastik: unless you're on 1.8, you should skip the: require 'rubygems'
<wnd> I probably missed the whole exercise, but flaglinks = page.search("//a[@class='flaglink']/@href").map(&:value); page = Nokogiri::HTML(open(flaglinks.first)) or something
<elastik> @havenwood, I removed the rubygems line
<elastik> thanks @wnd
<elastik> I'm going to try and wrap my head around your comment
<elastik> test the code see if it works
inkblots has joined #ruby-lang
kapil__ has quit [Quit: Connection closed for inactivity]
apeiros___ is now known as apeiros
elia has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
<elastik> @havenwood
<elastik> it broke completely once i removed the require 'rubygems'
<elastik> I had to add it back
<havenwood> elastik: are you using Ruby 1.8?
<elastik> I'm using nitrous.io
<elastik> let me check
ikrima_ has quit [Ping timeout: 264 seconds]
<elastik> ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
<havenwood> elastik: then you shouldn't need: require 'rubygems'
banister has joined #ruby-lang
<elastik> I imagine that i will understand why later down the road.
<elastik> The great news is the @wnd's code made it work!!!
<havenwood> elastik: :)
<elastik> I'm jumping up and down!!!
<elastik> just updated the code in gist
<elastik> Thank you guys for helping! I will pay it forward
emmesswhy has quit [Quit: This computer has gone to sleep]
chinmay_dd has quit [Ping timeout: 240 seconds]
elia has quit [Quit: Computer has gone to sleep.]
dangerousdave has joined #ruby-lang
pyttepatsy has joined #ruby-lang
dangerousdave has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby-lang
bhaak has quit [Ping timeout: 272 seconds]
<dangerousdave> Anyone know why this times out please? "Net::Telnet::new("Host" => "gmail-smtp-in.l.google.com", "port" => 25, "Timeout" => 30)"
<dangerousdave> works fine from comman line prompt
chinmay_dd has joined #ruby-lang
<jhass> dangerousdave: Please do not crosspost without at least telling so. Experience shows that people don't bother to inform the other channels of provided solutions, therefore it is considered rude.
<matti> +1 jhass
<dangerousdave> sorry, i had no response in the other channel
<jhass> 4 minutes is nothing on IRC
<jhass> especially on a sunday
<apeiros> also it's no excuse for NOT TELLING THE OTHER CHANNEL.
<apeiros> both channels actually.
<jhass> oh, and why the heck do you connect to the SMTP port via telnet
jmrepetti has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
jmrepetti has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
<dangerousdave> jhass, to check if an email is legit, http://www.labnol.org/software/verify-email-address/18220/
bhaak has joined #ruby-lang
pablocantero has joined #ruby-lang
<jhass> and what exactly does the telnet protocol have to do with that?
<matti> jhass: He has add 'Telnetmode' => false, but then why bothr ;p
<matti> bother*
<matti> s/has/can/
kurko__ has quit [Client Quit]
<matti> I need coffee.
snoopybbt has quit [Ping timeout: 250 seconds]
<jhass> so it becomes another API for TCPSocket? still feels wrong
<matti> jhass: Also, Telnet has expect-like functionality built in.
<matti> jhass: Which I can see might be useful for something like challenge-response protocol like SMTP, etc.
<jhass> I think he used telnet on his commandline and now wants to translate that
<dangerousdave> yes ^
klmlfl has quit [Remote host closed the connection]
<jhass> -> TCPSocket
<jhass> also, there's netcat
jmrepetti has quit [Ping timeout: 265 seconds]
lapide_viridi has quit [Quit: See ya'!]
<jhass> which those examples should be using, IMO
pablocantero has quit [Ping timeout: 264 seconds]
midhir has joined #ruby-lang
<dangerousdave> jhass, sorry, I am not following
<jhass> you're not speaking telnet, you don't need to use a telnet client
<jhass> you pretend to speak SMTP, but not fully, so go a layer deeper -> TCP
<dangerousdave> ok, thanksyou!
lapide_viridi has joined #ruby-lang
midhir has quit [Ping timeout: 240 seconds]
<matti> dangerousdave: And in your case, "port" should be "Port" in Net::Telnet.new
mihcall has joined #ruby-lang
LapideViridi has joined #ruby-lang
<matti> dangerousdave: Otherwise you get port 23, so it will time out.
<dangerousdave> matti, ahhhhh
GBrawl has joined #ruby-lang
<dangerousdave> jhass, socets seem to be working, thanks
<matti> dangerousdave: "Telnetmode" => false too
LapideViridi has quit [Client Quit]
<matti> dangerousdave: Otherwise it will start adding weird encoding there.
<matti> apeiros: Ohai!
LapideViridi has joined #ruby-lang
gianlucadv has quit [Ping timeout: 245 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matti> dangerousdave: Make sure to put correct fully-qualified host name for EHLO, in case Google want to verify it.
lapide_viridi has quit [Ping timeout: 244 seconds]
<dangerousdave> matti, the "mail from"?
<matti> dangerousdave: Read SMTP RFC :)
<dangerousdave> ok
pyttepatsy has quit [Ping timeout: 245 seconds]
<dangerousdave> thanls for all your help
<matti> dangerousdave: No worries.
mihcall has quit [Quit: Page closed]
gianlucadv has joined #ruby-lang
Miphix has quit [Quit: Leaving]
<dangerousdave> matti, I am not managing to return from "tn.cmd("ehlo <my ip address")". It outputs the available commands, but just sits there, not even a timeout
charliesome has quit [Quit: zzz]
midhir has joined #ruby-lang
workmad3 has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
elia has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
workmad3 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
GBrawl has quit [Quit: (null)]
imperator has quit [Quit: Valete!]
futilegames has quit [Ping timeout: 244 seconds]
chinmay_dd has quit [Ping timeout: 258 seconds]
futilegames has joined #ruby-lang
snoopybbt has joined #ruby-lang
dxta has joined #ruby-lang
futilegames has quit [Quit: futilegames]
LapideViridi has quit [Ping timeout: 264 seconds]
lapide_viridi has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
midhir has quit [Remote host closed the connection]
midhir has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Rampages has quit [Read error: Connection reset by peer]
Rampages has joined #ruby-lang
chinmay_dd has joined #ruby-lang
elia has joined #ruby-lang
midhir has quit [Ping timeout: 255 seconds]
oleo__ has joined #ruby-lang
oleo is now known as Guest49800
snoopybbt has quit [Ping timeout: 250 seconds]
Guest49800 has quit [Ping timeout: 250 seconds]
sarkyniin has joined #ruby-lang
Rampages has quit [Read error: Connection reset by peer]
Rampages has joined #ruby-lang
bmichelsen has joined #ruby-lang
Rampages has quit [Read error: Connection reset by peer]
Rampages has joined #ruby-lang
Rampages has quit [Client Quit]
dangerousdave has joined #ruby-lang
snoopybbt has joined #ruby-lang
klmlfl has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GBrawl has joined #ruby-lang
pyttepatsy has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
oleo__ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
bf4 has quit [Quit: Lost terminal]
oleo__ has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
oleo__ has joined #ruby-lang
diegoviola has joined #ruby-lang
oleo__ has quit [Client Quit]
oleo has joined #ruby-lang
GBrawl has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
inkblots has quit [Quit: WeeChat 0.4.2]
chouhoulis has joined #ruby-lang
Iskarlar has joined #ruby-lang
Iskarlar has quit [Client Quit]
elia has quit [Quit: Computer has gone to sleep.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elia has joined #ruby-lang
pablocantero has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
chouhoulis has quit [Remote host closed the connection]
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
stamina has joined #ruby-lang
gix has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
pablocantero has quit [Ping timeout: 250 seconds]
gix- has quit [Ping timeout: 240 seconds]
g0bl1n has joined #ruby-lang
banister has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
midhir has joined #ruby-lang
|jemc| has joined #ruby-lang
fedexo has joined #ruby-lang
jmrepetti has joined #ruby-lang
allomov has quit [Remote host closed the connection]
sferik has joined #ruby-lang
sferik has quit [Client Quit]
Iskarlar has joined #ruby-lang
jimbach has joined #ruby-lang
hakunin has quit []
jmrepetti has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
jmrepetti has joined #ruby-lang
jmrepetti has quit [Ping timeout: 250 seconds]
elastik has quit [Ping timeout: 258 seconds]
danijoo has quit [Quit: Leaving...]
jmrepetti has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
klmlfl has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
ZaRDaK has joined #ruby-lang
<g0bl1n> help ? https://eval.in/228652
<g0bl1n> need to have new methods that need to be used on severall Car modules
mistym has joined #ruby-lang
<ljarvis> g0bl1n: you can't do that without monkeypatching String, this is what refinements are trying to solve
jmrepetti has quit [Remote host closed the connection]
<ljarvis> you'd have to change it to `to_underscore(string)`
havenwood has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmrepett_ has joined #ruby-lang
<ljarvis> g0bl1n: with refinements: https://eval.in/228657
lapide_viridi has quit [Ping timeout: 272 seconds]
<ljarvis> irrc you need to be on ruby 2.1+
yfeldblum has joined #ruby-lang
spastorino has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 255 seconds]
lapide_viridi has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.0.1]
lapide_viridi has quit [Client Quit]
yfeldblum has quit [Ping timeout: 252 seconds]
|jemc| has joined #ruby-lang
<apeiros> 2.0+
usershell has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
havenwood has joined #ruby-lang
lapide_viridi has joined #ruby-lang
Iskarlar has joined #ruby-lang
stamina has joined #ruby-lang
futilegames_ has joined #ruby-lang
futilegames has quit [Ping timeout: 255 seconds]
futilegames_ is now known as futilegames
usershel_ has joined #ruby-lang
Lewix has joined #ruby-lang
seank__ has quit [Read error: Connection reset by peer]
usershell has quit [Ping timeout: 245 seconds]
stamina has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pablocantero has joined #ruby-lang
marr has joined #ruby-lang
pablocantero has quit [Ping timeout: 265 seconds]
jmrepett_ has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
jmrepett_ has joined #ruby-lang
lapide_viridi has quit [Quit: See ya'!]
emmesswhy has joined #ruby-lang
noaon has joined #ruby-lang
dorei has joined #ruby-lang
<g0bl1n> ljarvis, thanks, great
yfeldblum has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
awsmsrc has joined #ruby-lang
sarkyniin has quit [Remote host closed the connection]
cleopatra has quit [Ping timeout: 265 seconds]
<g0bl1n> ljarvis, for 1.9.3, something like this ? https://eval.in/228668
yfeldblum has quit [Ping timeout: 265 seconds]
jmrepett_ has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
jmrepetti has joined #ruby-lang
jmrepetti has quit [Ping timeout: 265 seconds]
jmrepetti has joined #ruby-lang
<awsmsrc> yo
awsmsrc has left #ruby-lang [#ruby-lang]
danijoo has joined #ruby-lang
ikrima_ has joined #ruby-lang
lapide_viridi has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
elia has joined #ruby-lang
mistym has quit [Remote host closed the connection]
jmrepetti has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
fedexo has quit [Ping timeout: 258 seconds]
jmrepetti has quit [Ping timeout: 250 seconds]
<g0bl1n> for 1.9.3, what would be the right way to have added a String method usable by other modules ? https://eval.in/228668
jmrepetti has joined #ruby-lang
gix has quit [Quit: Client exiting]
BubonicPestilenc has joined #ruby-lang
jimbach has joined #ruby-lang
<waxjar> monkey-patch the core class and put a big fat warning in your readme
BubonicPestile-1 has quit [Ping timeout: 264 seconds]
<waxjar> or something like this: https://eval.in/228669
<g0bl1n> yes, I had that solution previously, use a method, not patching String class...
mistym has joined #ruby-lang
<g0bl1n> the refinements ljarvis mentions is awesome, but not for 1.9.3 :(
<waxjar> time to upgrade :p
<ljarvis> g0bl1n: you can monkeypatch String as waxjar suggests
lsegal has joined #ruby-lang
<ljarvis> I'd just use module helper methods and pass the string in myself
<g0bl1n> yes, I'll do it, thanks ;)
usershel_ has quit [Remote host closed the connection]
gianlucadv has quit [Ping timeout: 258 seconds]
mcclurmc has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
yfeldblum has joined #ruby-lang
godd2 has joined #ruby-lang
jmrepetti has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
ikrima_ has quit [Ping timeout: 244 seconds]
ikrima_ has joined #ruby-lang
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
lapide_viridi has quit [Quit: See ya'!]
ozzloy has joined #ruby-lang
Narzew has joined #ruby-lang
usershell has joined #ruby-lang
ikrima_ has quit [Ping timeout: 240 seconds]
jmrepetti has joined #ruby-lang
usershell has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby-lang
pablocantero has joined #ruby-lang
wallerdev has quit [Client Quit]
jmrepetti has quit [Remote host closed the connection]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbach has quit [Remote host closed the connection]
mkaesz has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
davs has joined #ruby-lang
jmrepetti has joined #ruby-lang
Iskarlar has joined #ruby-lang
postmodern has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
gix has joined #ruby-lang
seank_ has quit [Read error: Connection reset by peer]
seank_ has joined #ruby-lang
usershell has joined #ruby-lang
davs has quit [Quit: Lost terminal]
fclausen has joined #ruby-lang
fclausen has quit [Client Quit]
jmrepetti has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nofxx_ has joined #ruby-lang
usershell has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
Iskarlar has joined #ruby-lang
fclausen has joined #ruby-lang
fclausen has quit [Client Quit]
fclausen has joined #ruby-lang
fclausen has quit [Client Quit]
ZaRDaK has quit [Quit: Leaving]
fclausen has joined #ruby-lang
fclausen has quit [Client Quit]
elia has quit [Client Quit]
fclausen has joined #ruby-lang
fclausen has quit [Client Quit]
jmrepetti has joined #ruby-lang
fclausen has joined #ruby-lang
futilegames has quit [Quit: futilegames]
fclausen has quit [Quit: leaving]
fclausen has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmrepetti has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
Iskarlar has joined #ruby-lang
g0bl1n has quit [Ping timeout: 250 seconds]
jmrepetti has quit [Ping timeout: 265 seconds]
gix has quit [Quit: Client exiting]
g0bl1n has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
dangerousdave has joined #ruby-lang
dangerousdave has quit [Client Quit]
g0bl1n has quit [Ping timeout: 264 seconds]
futilegames_ has joined #ruby-lang
futilegames has quit [Ping timeout: 265 seconds]
gix has joined #ruby-lang
futilegames_ has quit [Ping timeout: 240 seconds]
jmrepetti has joined #ruby-lang
emmesswhy has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
sferik has joined #ruby-lang
AKASkip has quit [Ping timeout: 240 seconds]
kurko__ has joined #ruby-lang
havenwood has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.0.1]
diegoviola has joined #ruby-lang
mistym has quit [Read error: Connection reset by peer]
seank__ has joined #ruby-lang
mistym has joined #ruby-lang
seank_ has quit [Ping timeout: 245 seconds]
g0bl1n has joined #ruby-lang
araujo has quit [Quit: Leaving]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.0.1]
kurko__ has joined #ruby-lang
Averna has joined #ruby-lang
chills42 has joined #ruby-lang
chills42 has quit [Ping timeout: 240 seconds]