apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
sangwoojoo has joined #ruby-lang
levifig has joined #ruby-lang
gwendall has quit [Ping timeout: 244 seconds]
dik_dak has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
klmlfl_ has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
dik_dak has joined #ruby-lang
brocktimus has joined #ruby-lang
djbkd has quit [Ping timeout: 252 seconds]
deryl is now known as ddd
yourabi has joined #ruby-lang
yourabi has quit [Client Quit]
<wiggl3> Are there any pure Ruby IRC clients?
<wiggl3> Preferably something like Irssi, easily themeable etc.
<drbrain> yes, but nothing like irssi
* pipework reminds himself to pull request to net-http-persistent
<drbrain> pipework: oh?
<pipework> drbrain: Yeah, more TLS cipher stuff and other TLS options.
<drbrain> ah, cool
djbkd has joined #ruby-lang
klmlfl has joined #ruby-lang
leonshalimov has joined #ruby-lang
spuk has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
<wiggl3> drbrain: care to share?
wprice has quit [Quit: wprice]
<drbrain> wiggl3: I don't know any offhand, but I'm reasonably certain there aren't any with irssi's feature levels
<wiggl3> ah ok
<wiggl3> damn
klmlfl has quit [Ping timeout: 244 seconds]
<drbrain> irssi is kind of a gold standard for IRC clients
psantos has joined #ruby-lang
<zenspider> flog version 4.3.1 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2015/01/flog-version-4-3-1-has-been-released.html
sudoubuntu has joined #ruby-lang
<imperator> drbrain: whaddya think? https://gist.github.com/djberg96/a49379c3330efc0e837f
tenderlove has quit [Remote host closed the connection]
<zenspider> flay version 2.6.0 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2015/01/flay-version-2-6-0-has-been-released.html
<drbrain> imperator: looks good
<drbrain> you should be able to run the rake tests with `rake`
<imperator> tried that; i get "Don't know how to build task 'docs'"
Bwild has joined #ruby-lang
<imperator> also, seemed weird to use rake to test itself
<imperator> i did clone the git repo; should i not be using that? i wasn't sure what the authoritative source was
tenderlove has joined #ruby-lang
<drbrain> github.com/ruby/rake is the authoritative one these days
<zenspider> minitest-server version 1.0.1 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2015/01/minitest-server-version-1-0-1-has-been-released.html
<imperator> drbrain, aha, thanks
<drbrain> maybe you need to run `rake newb` first
<drbrain> before the tests will run, that is
marr has quit [Ping timeout: 265 seconds]
fclausen has joined #ruby-lang
<imperator> drbrain, ok, cloned that repo instead, tests are running...
<drbrain> cool
<zenspider> minitest version 5.5.1 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2015/01/minitest-version-5-5-1-has-been-released.html
_elia has quit [Ping timeout: 264 seconds]
<imperator> well, passed, but will add some more tests of my own
<drbrain> great
<zenspider> minitest-debugger version 1.0.3 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2015/01/minitest-debugger-version-1-0-3-has-been-released.html
scottschecter has quit [Quit: Leaving]
<zenspider> omnifocus version 2.1.6 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2015/01/omnifocus-version-2-1-6-has-been-released.html
<zenspider> RAWR RELEASE BERZERKER!
pwnz0r has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
brocktimus has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
charliesome has joined #ruby-lang
brocktimus has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sudoubuntu has joined #ruby-lang
kshah has quit [Quit: kshah]
charliesome has quit [Ping timeout: 272 seconds]
gwendall has joined #ruby-lang
gwendall has quit [Ping timeout: 244 seconds]
sondr3 has joined #ruby-lang
Lewix has joined #ruby-lang
<pipework> Wewease da seekwet weppon! https://www.youtube.com/watch?v=aCTCuTCt22k
loincloth has quit [Remote host closed the connection]
sondr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
sondr3 has joined #ruby-lang
yatish27 has joined #ruby-lang
Senjai has quit [Quit: WeeChat 1.0.1]
klmlfl has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Quit: My people need me...]
shinnya_ has quit [Ping timeout: 256 seconds]
klmlfl has quit [Ping timeout: 244 seconds]
sharpmachine has quit [Remote host closed the connection]
shubhamg_ has quit [Remote host closed the connection]
RobertBirnie has quit [Ping timeout: 255 seconds]
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
bb010g has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
kshah has joined #ruby-lang
chills42 has joined #ruby-lang
charliesome has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
Fretta has quit [Remote host closed the connection]
chills42 has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 272 seconds]
ledestin has quit [Quit: ledestin]
gwendall has joined #ruby-lang
amsi has quit [Quit: Leaving]
tsou has left #ruby-lang ["bye"]
gwendall has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 264 seconds]
kshah has quit [Quit: kshah]
loincloth has joined #ruby-lang
fclausen has joined #ruby-lang
loincloth has quit [Ping timeout: 252 seconds]
amclain has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
tenderlove has joined #ruby-lang
Newbie0086 has joined #ruby-lang
<Lewix> imperator: thumbs up
<imperator> danke!
wallerdev has quit [Quit: wallerdev]
psantos has quit [Remote host closed the connection]
Newbie0086 has quit [Ping timeout: 244 seconds]
Newbie0086 has joined #ruby-lang
majeure has joined #ruby-lang
dik_dak has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sush24 has joined #ruby-lang
dik_dak has joined #ruby-lang
dik_dak has quit [Remote host closed the connection]
dik_dak has joined #ruby-lang
sondr3 has quit [Read error: Connection reset by peer]
dik_dak has quit [Client Quit]
sondr3 has joined #ruby-lang
cored has quit [Ping timeout: 244 seconds]
dik_dak has joined #ruby-lang
charliesome has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
cored has joined #ruby-lang
loincloth has joined #ruby-lang
charliesome has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
pwnz0r has quit [Ping timeout: 264 seconds]
gwendall has joined #ruby-lang
fsvehla has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
Sadin has quit [Ping timeout: 255 seconds]
Lewix has quit [Remote host closed the connection]
mistym has quit [Ping timeout: 245 seconds]
TheRinger_ has joined #ruby-lang
klmlfl has joined #ruby-lang
gwendall has quit [Ping timeout: 265 seconds]
Sadin has joined #ruby-lang
Newbie0086 has quit [Ping timeout: 264 seconds]
xcesariox has joined #ruby-lang
fclausen_ has joined #ruby-lang
kapil__ has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
ledestin has joined #ruby-lang
rcvalle has joined #ruby-lang
imperator has left #ruby-lang ["Leaving"]
imperator has quit [Quit: Leaving]
sankaber has joined #ruby-lang
sangwoojoo has quit [Quit: Leaving.]
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 265 seconds]
shubhamgoyal has joined #ruby-lang
slawrence00 has joined #ruby-lang
rahul_j has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
pnbeast has joined #ruby-lang
shubhamg_ has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
shubhamgoyal has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
shubhamg_ has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
sankaber has quit [Read error: Connection reset by peer]
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 272 seconds]
gjaldon has joined #ruby-lang
gwendall has joined #ruby-lang
sush24 has joined #ruby-lang
gwendall has quit [Ping timeout: 245 seconds]
rahul_j has joined #ruby-lang
emmesswhy has joined #ruby-lang
gjaldon has quit [Read error: Connection reset by peer]
gjaldon has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
pwnz0r has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
sush24 has quit [Quit: This computer has gone to sleep]
sankaber has quit [Read error: Connection reset by peer]
sondr3 has joined #ruby-lang
sankaber has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
sankaber has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
gjaldon has quit [Read error: Connection reset by peer]
pwnz0r has joined #ruby-lang
sush24 has joined #ruby-lang
gjaldon has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
gix has quit [Ping timeout: 252 seconds]
pwnz0r has quit [Ping timeout: 240 seconds]
gix has joined #ruby-lang
gjaldon has quit [Read error: Connection reset by peer]
sangwoojoo has joined #ruby-lang
gjaldon has joined #ruby-lang
gjaldon has quit [Client Quit]
bb010g has quit [Quit: Connection closed for inactivity]
sankaber has quit [Read error: Connection reset by peer]
shubhamgoyal has quit [Remote host closed the connection]
sankaber has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
LoganB has joined #ruby-lang
<LoganB> Hello ruby friends!
<LoganB> Is there anyone availiable to assist me in figuring out why my program refuses to run?
<LoganB> fairly small ill get it up on github real fast
duderonomy has quit [Ping timeout: 255 seconds]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
lsegal has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
shubhamgoyal has joined #ruby-lang
<LoganB> anyone available to answer a few questions / assist me with some code that i have that wont run?
sankaber has quit [Read error: Connection reset by peer]
pwnz0r has joined #ruby-lang
sankaber has joined #ruby-lang
<LoganB> Anyone alive?
charliesome has joined #ruby-lang
shubhamgoyal has quit [Read error: Connection reset by peer]
pwnz0r has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
pwnz0r has joined #ruby-lang
sankaber has quit [Client Quit]
<LoganB> anyone here
<womble> Where's the code?
<womble> Can't help you without the code.
<weaksauce> LoganB ask the question and people will answer if they can.
<weaksauce> LoganB you don't need to ask for permission first
<weaksauce> LoganB in fact being a pest will likely get you ignored
shubhamgoyal has joined #ruby-lang
<LoganB> I apologize, did not intend to pester, I just did not know if i was talking to myself hah. https://github.com/lbickmore/Ruby-Pong-Clone is where the code is, everytime I run it i get an error pointing to the line '@ball.draw(self)' and I dont understand why
charliesome has quit [Ping timeout: 272 seconds]
pwnz0r has quit [Ping timeout: 255 seconds]
<womble> LoganB: What's the *error*?
<LoganB> pong.rb:26:in `draw': undefined method `draw' for nil:NilClass (NoMethodError) from pong.rb:31:in `<main>'
gwendall has joined #ruby-lang
<womble> Also, noting *which* file it's in, and the line number, is generally considered helpful.
<womble> LoganB: Well, that's simple enough. @ball hasn't been initialized at the time you call draw.
<LoganB> sorry again, I'm new to programming in general let alone using IRC. Its in the Pong.rb file line 26
<womble> Presumably you'll want to call reset before you call draw, but more likely you'll want to put the content of reset into initialize
rahul_j has joined #ruby-lang
<womble> That way @ball *can't* be nil by the time draw can be called
<LoganB> that worked!
<LoganB> hah, but now i'm left confused as to how what i'm basing this off of worked without that
yatish27 has quit [Remote host closed the connection]
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<LoganB> https://github.com/michaelfairley/pong in his pong.rb file his initialize does not have that.
pwnz0r has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
<LoganB> oh and thank you a ton
sharpmachine has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
gwendall has quit [Ping timeout: 244 seconds]
rahul_j has quit [Client Quit]
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
<womble> LoganB: Well, you're not calling Pong.run; my guess would be that that 'run' method instantiates a Pong instance, calls reset on it, and then calls draw and update over and over and over
Forgetful_Lion has joined #ruby-lang
<LoganB> that makes sense
pwnz0r_ has joined #ruby-lang
<LoganB> thank you womble
fsvehla has quit [Quit: fsvehla]
pwnz0r has quit [Ping timeout: 245 seconds]
<womble> LoganB: You're welcome. Just remember: next time, just ask. If someone can answer, they will.
rahul_j has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
emmesswhy has quit [Ping timeout: 264 seconds]
tenderlove has joined #ruby-lang
emmesswhy has joined #ruby-lang
shubhamg_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
rahul_j has quit [Client Quit]
tenderlove has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
loincloth has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 255 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Sadin has quit [Read error: Connection reset by peer]
loincloth has quit [Ping timeout: 255 seconds]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
rahul_j has quit [Quit: rahul_j]
shubhamg_ has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.0.1]
rahul_j has joined #ruby-lang
kiyote23 has joined #ruby-lang
shubhamg_ has joined #ruby-lang
sangwoojoo has quit [Read error: No route to host]
pwnz0r_ has quit [Remote host closed the connection]
shubhamgoyal has quit [Ping timeout: 264 seconds]
amclain has quit [Quit: Leaving]
oleo__ has joined #ruby-lang
oleo is now known as Guest71432
_fritchie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest71432 has quit [Ping timeout: 245 seconds]
pwnz0r has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
kiyote23 has joined #ruby-lang
maso has joined #ruby-lang
gwendall has quit [Ping timeout: 244 seconds]
maso_ has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
t0rrieri has quit [Quit: Be back later ...]
pwnz0r has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
brocktimus has quit [Remote host closed the connection]
zz_dlu has quit [Ping timeout: 264 seconds]
GaelanAintAround has quit [Ping timeout: 255 seconds]
rcvalle has quit [Quit: rcvalle]
tenderlove has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
mistym has quit [Ping timeout: 244 seconds]
shubhamg_ has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
fsvehla has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
yfeldblum has joined #ruby-lang
nofxx has quit [Read error: Connection timed out]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
iamninja has joined #ruby-lang
tenderlove has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
btiefert has joined #ruby-lang
yfeldblum has joined #ruby-lang
rahul_j has joined #ruby-lang
hahuang61 has quit [Ping timeout: 265 seconds]
diegoviola has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
dik_dak_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
shubhamg_ has joined #ruby-lang
dik_dak has quit [Ping timeout: 240 seconds]
dik_dak_ has quit [Ping timeout: 255 seconds]
shubhamgoyal has quit [Ping timeout: 244 seconds]
maso_ has quit [Quit: Leaving]
sharpmachine has quit [Remote host closed the connection]
mistym has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
kiyote23 has quit [Remote host closed the connection]
ruby-lang065 has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
<ruby-lang065> what is the best way to learn about web-scraping ?
zz_dlu has joined #ruby-lang
gwendall has joined #ruby-lang
ruby-lang065 has quit [Ping timeout: 246 seconds]
dellavg_ has joined #ruby-lang
rahul_j has joined #ruby-lang
gwendall has quit [Ping timeout: 265 seconds]
rahul_j has quit [Client Quit]
rahul_j has joined #ruby-lang
rahul_j has quit [Client Quit]
brocktimus has joined #ruby-lang
rahul_j has joined #ruby-lang
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nofxx has quit [Read error: Connection timed out]
nofxx has joined #ruby-lang
fragamus has joined #ruby-lang
|jemc| has joined #ruby-lang
sondr3 has joined #ruby-lang
sondr3 has quit [Client Quit]
AKASkip has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
iamninja has quit [Quit: ZZZzzz…]
fclausen_ has quit [Ping timeout: 272 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
pnbeast has quit [Quit: leaving]
shubhamgoyal has joined #ruby-lang
shubhamg_ has quit [Ping timeout: 240 seconds]
fclausen has joined #ruby-lang
rahul_j has joined #ruby-lang
GBrawl has joined #ruby-lang
rahul_j has quit [Client Quit]
rahul_j has joined #ruby-lang
stonith has joined #ruby-lang
sharpmachine has joined #ruby-lang
Musashi007 has joined #ruby-lang
sharpmachine has quit [Ping timeout: 265 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym_ has joined #ruby-lang
mistym has quit [Ping timeout: 245 seconds]
gwendall has joined #ruby-lang
nofxx has quit [Read error: Connection timed out]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
gwendall has quit [Ping timeout: 240 seconds]
shubhamg_ has joined #ruby-lang
|jemc| has quit [Ping timeout: 244 seconds]
shubhamgoyal has quit [Ping timeout: 265 seconds]
cornerma1 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
cornerman has quit [Ping timeout: 240 seconds]
cornerma1 is now known as cornerman
emmesswhy has joined #ruby-lang
rbrs has joined #ruby-lang
duderonomy has joined #ruby-lang
duderonomy has quit [Max SendQ exceeded]
rahul_j has quit [Quit: rahul_j]
nofxx has quit [Ping timeout: 255 seconds]
loincloth has joined #ruby-lang
rahul_j has joined #ruby-lang
|jemc| has joined #ruby-lang
mostlybadfly has quit [Quit: Connection closed for inactivity]
loincloth has quit [Ping timeout: 256 seconds]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
fusillicode has joined #ruby-lang
mistym_ is now known as mistym
fusillicode1 has quit [Ping timeout: 244 seconds]
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
fusillicode has quit [Read error: No route to host]
fusillicode has joined #ruby-lang
sharpmachine has joined #ruby-lang
Raycaster1 has left #ruby-lang [#ruby-lang]
shubhamgoyal has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
sharpmachine has quit [Ping timeout: 244 seconds]
shubhamg_ has quit [Ping timeout: 240 seconds]
BubonicPestile-1 has quit [Ping timeout: 255 seconds]
|jemc| has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby-lang
fclausen has joined #ruby-lang
maso has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
hahuang61 has quit [Ping timeout: 265 seconds]
gwendall has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
rahul_j has quit [Quit: rahul_j]
nofxx has quit [Ping timeout: 244 seconds]
fclausen has quit [Ping timeout: 272 seconds]
maso has joined #ruby-lang
maso has quit [Remote host closed the connection]
Bwild has quit [Ping timeout: 244 seconds]
rahul_j has joined #ruby-lang
TheRinger_ has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
LoganB has quit [Ping timeout: 246 seconds]
Xzyx987X has quit [Ping timeout: 252 seconds]
rahul_j has quit [Quit: rahul_j]
Xzyx987X has joined #ruby-lang
rahul_j has joined #ruby-lang
tmi1 has joined #ruby-lang
shubhamg_ has joined #ruby-lang
tmi1 has quit [Quit: Leaving.]
shubhamgoyal has quit [Ping timeout: 264 seconds]
sharpmachine has joined #ruby-lang
kiyote23 has joined #ruby-lang
sharpmachine has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
sush24 has joined #ruby-lang
kiyote23 has quit [Ping timeout: 244 seconds]
psantos has joined #ruby-lang
tenderlove has joined #ruby-lang
charliesome has quit [Ping timeout: 272 seconds]
gwendall has joined #ruby-lang
tenderlove has quit [Ping timeout: 264 seconds]
gwendall has quit [Ping timeout: 244 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
rahul_j has quit [Quit: rahul_j]
shubhamgoyal has joined #ruby-lang
rbrs has quit [Quit: rbrs]
shubhamg_ has quit [Ping timeout: 252 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
GBrawl has quit [Read error: Connection reset by peer]
ledestin has joined #ruby-lang
psantos has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
unsymbol has quit [Ping timeout: 264 seconds]
rahul_j has joined #ruby-lang
sharpmachine has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
sharpmachine has quit [Ping timeout: 252 seconds]
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
Mon_Ouie has joined #ruby-lang
TvL2386 has joined #ruby-lang
gwendall has joined #ruby-lang
sush24 has quit [Ping timeout: 256 seconds]
<TvL2386> hi guys, I'm having an issue with em-http-request. I'm executing an EM::HttpRequest.new(url2).get from an EM::HttpRequest.new(url1) callback. I'm getting a "connection closed by server" error, but when executing "wget $url2" it works... Are there known issues with invoking EM::HttpRequest from a callback?
sush24 has joined #ruby-lang
gwendall has quit [Ping timeout: 244 seconds]
benlovell has joined #ruby-lang
sarkyniin has joined #ruby-lang
GBrawl has joined #ruby-lang
<GBrawl> how can I check if a string only contains, letters, numbers, spaces or dashes?
fragamus has quit [Quit: Computer has gone to sleep.]
<GBrawl> I had somehthing like this str[a-zA-Z0-9] == str
<GBrawl> but still need to accept spaces
<TvL2386> if string =~ /\A[\w \-]+\z/ ..... test it on rubular.com
<GBrawl> oh so I can just type
<GBrawl> string =~?
<TvL2386> yeah
<GBrawl> and the regular expression after that
<TvL2386> string =~ /some regexp/ is a boolean evaluation
sush24 has quit [Quit: This computer has gone to sleep]
<GBrawl> thx for the tip man it worked
Forgetful_Lion has quit [Remote host closed the connection]
<TvL2386> great and yw!
mistym has quit [Remote host closed the connection]
fclausen has joined #ruby-lang
jxie has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
rbrs has joined #ruby-lang
psantos has joined #ruby-lang
<TvL2386> fixed my problem... EM.stop was called while EM::HttpRequest was still working... stupid :-)
symm- has joined #ruby-lang
sharpmachine has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
psantos has quit [Ping timeout: 244 seconds]
sharpmachine has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
yfeldblum has joined #ruby-lang
ledestin has quit [Quit: ledestin]
charliesome has quit [Ping timeout: 272 seconds]
gwendall has joined #ruby-lang
gwendall has quit [Ping timeout: 244 seconds]
mostlybadfly has joined #ruby-lang
dangerousdave has joined #ruby-lang
rahul_j has joined #ruby-lang
rahul_j_ has joined #ruby-lang
iamninja has joined #ruby-lang
benlovell has joined #ruby-lang
rahul_j has quit [Ping timeout: 256 seconds]
rahul_j_ is now known as rahul_j
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
terabytest has joined #ruby-lang
psantos has joined #ruby-lang
psantos has quit [Read error: Connection reset by peer]
psantos has joined #ruby-lang
sharpmachine has joined #ruby-lang
sharpmachine has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
unsymbol has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
gwendall has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
gwendall has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby-lang
<psantos> help
psantos is now known as Kryptonita
rahul_j has joined #ruby-lang
* jhass sends help to Kryptonita's location
benlovell has quit [Ping timeout: 244 seconds]
rahul_j has quit [Client Quit]
yatish27 has joined #ruby-lang
kapil__ has quit [Quit: Connection closed for inactivity]
skade has joined #ruby-lang
<wiggl3> :D
izietto has joined #ruby-lang
Kryptonita is now known as Fastablaze
Fastablaze is now known as Kryptonita
iamninja has quit [Quit: ZZZzzz…]
Integralist has joined #ruby-lang
<Integralist> Hi, I'm starting out doing socket programming and I'm trying to figure out how to locate the location of a unix socket file (I want to read its content to see what it contains) while using something like Socket.accept_loop(TCPServer.new 4481) { |conn| ... }
rahul_j has joined #ruby-lang
<Integralist> I'm using netcat to fire off a connection like so `echo "hai" | nc localhost 4481`
<jhass> there's no file in that case
<jhass> you listen on the tcp socket 0.0.0.0:4481
yfeldblum has joined #ruby-lang
<Integralist> jhass: ah ok, I thought that a socket file was always created when using socket connections?
gwendall has joined #ruby-lang
<jhass> that's going through the full TCP/IP stack as you might expect. Unix sockets are an optimization that basically do TCP through a named pipe
<jhass> targeted at local IPC
<jhass> so no, regular TCP sockets create no files I'm aware of
<jhass> if you want to inspect "the wire", have a look at tcpdump and/or wireshark
yfeldblum has quit [Ping timeout: 240 seconds]
terabytest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gwendall has quit [Ping timeout: 265 seconds]
lapide_viridi has joined #ruby-lang
<Integralist> jhass: ok thanks, will do. I was just led to believe that a socket "file" existed (as in the past when messing with tmux I needed to modify a socket file to allow two users to connect to the same socket connection)
dellavg_ has quit [Ping timeout: 264 seconds]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
astratto has joined #ruby-lang
gwendall has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
hal_9000_ has quit [Ping timeout: 264 seconds]
<Integralist> jhass: thanks, just having a read now :-)
devgiant has joined #ruby-lang
apt-get_ has joined #ruby-lang
_1_ACSWAGGY has joined #ruby-lang
_1_ACSWAGGY has quit [Remote host closed the connection]
apt-get__ has joined #ruby-lang
sarkyniin has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby-lang
apt-get_ has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Integral1st has joined #ruby-lang
apeiros has joined #ruby-lang
sharpmachine has joined #ruby-lang
tenderlove has joined #ruby-lang
astratto has left #ruby-lang [#ruby-lang]
oleo__ has quit [Quit: Verlassend]
Integralist has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Quit: Musashi007]
Integral1st has quit [Ping timeout: 256 seconds]
oleo has joined #ruby-lang
sharpmachine has quit [Ping timeout: 252 seconds]
tenderlove has quit [Ping timeout: 245 seconds]
Integralist has joined #ruby-lang
Integral1st has joined #ruby-lang
enebo has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
elia has joined #ruby-lang
mostlybadfly has quit [Quit: Connection closed for inactivity]
tmi1 has joined #ruby-lang
kiyote23 has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Read error: Connection reset by peer]
zemlya has quit [Ping timeout: 244 seconds]
gwendall has quit [Ping timeout: 265 seconds]
red_menace has joined #ruby-lang
unreal_ has joined #ruby-lang
unreal has quit [Ping timeout: 264 seconds]
unreal_ is now known as unreal
astratto has joined #ruby-lang
|jemc| has joined #ruby-lang
gwendall has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
Aova has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
shubhamgoyal has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
charliesome has quit [Client Quit]
Integralist has quit [Ping timeout: 264 seconds]
Integral1st has quit [Ping timeout: 265 seconds]
unreal_ has joined #ruby-lang
astratto has quit [Quit: WeeChat 1.0.1]
unreal has quit [Ping timeout: 265 seconds]
redtomahawk has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
astratto has joined #ruby-lang
charliesome has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
yfeldblum has joined #ruby-lang
charliesome has quit [Ping timeout: 272 seconds]
brooks has joined #ruby-lang
sharpmachine has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
lapide_viridi has quit [Ping timeout: 244 seconds]
maso has joined #ruby-lang
sharpmachine has quit [Ping timeout: 252 seconds]
sush24 has joined #ruby-lang
Kryptonita has quit [Ping timeout: 265 seconds]
symm- has quit [Quit: Leaving...]
sankaber has joined #ruby-lang
astratto has left #ruby-lang ["WeeChat 1.0.1"]
shubhamgoyal has joined #ruby-lang
skade has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
shubhamgoyal has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
sankaber has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
sankaber has quit [Read error: Connection reset by peer]
fragamus has joined #ruby-lang
sankaber has joined #ruby-lang
<yatish27> What is the best way to get the key of the max value in a hash
cored has joined #ruby-lang
seank__ has quit [Ping timeout: 255 seconds]
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
redtomahawk has quit [Remote host closed the connection]
<jhass> .max_by(&:last).first I'd say
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
sankaber has quit [Read error: Connection reset by peer]
red_menace has quit [Quit: Quit]
nux443 has joined #ruby-lang
sankaber has joined #ruby-lang
benlovell has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
benlovel1 has joined #ruby-lang
Integralist has joined #ruby-lang
Integral1st has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
Integral1st has quit [Ping timeout: 244 seconds]
Integralist has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
sankaber has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
sankaber has joined #ruby-lang
Guest73108 is now known as tekacs
gwendall has quit [Remote host closed the connection]
sankaber has quit [Read error: Connection reset by peer]
tekacs is now known as Guest23247
sankaber has joined #ruby-lang
dm78 has joined #ruby-lang
dm78 has quit [Client Quit]
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
lapide_viridi has joined #ruby-lang
red_menace has joined #ruby-lang
Guest23247 is now known as tekacs
dangerousdave has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
tmi1 has quit [Quit: Leaving.]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tmi1 has joined #ruby-lang
benlovel1 has quit [Ping timeout: 244 seconds]
benlovell has quit [Ping timeout: 245 seconds]
AKASkip has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
lapide_viridi has quit [Ping timeout: 244 seconds]
sankaber has quit [Read error: Connection reset by peer]
redtomahawk has joined #ruby-lang
sankaber has joined #ruby-lang
redtomahawk has quit [Remote host closed the connection]
redtomahawk has joined #ruby-lang
dellavg_ has joined #ruby-lang
lapide_viridi has joined #ruby-lang
sankaber has quit [Client Quit]
iamninja has joined #ruby-lang
benlovell has joined #ruby-lang
hahuang61 has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
tmi1 has quit [Quit: Leaving.]
hahuang61 has quit [Ping timeout: 265 seconds]
tmi1 has joined #ruby-lang
red_menace has quit [Quit: ...zzzZZZzzz...]
maso has quit [Remote host closed the connection]
lapide_viridi has quit [Ping timeout: 245 seconds]
brooks has quit [Quit: brooks]
<nofxx> Guy here really enjoys underscoring mthods, it's all __foos and __bars__ . Where this idiom comes from?
sharpmachine has joined #ruby-lang
red_menace has joined #ruby-lang
charliesome has joined #ruby-lang
skade has joined #ruby-lang
sharpmachine has quit [Ping timeout: 244 seconds]
<Mon_Ouie> Ruby uses those for methods that should not be redefined, giving them a very odd name so that it doesn't happen by accident
RobertBirnie has joined #ruby-lang
skade has quit [Client Quit]
<apeiros> they're usually double underscore at begin and end.
<unsymbol> nofxx Mon_Ouie: i've seen similar in other language communities, e.g. haskell.
GBrawl has quit [Ping timeout: 265 seconds]
<apeiros> and usually you don't define such yourself. the common ones are __id__ and __send__
<apeiros> I'd prefer an external interface instead of having those.
<apeiros> mirrors, as somebody told me that pattern was called.
<nofxx> got it
fragamus has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby-lang
yfeldblum has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
brooks has joined #ruby-lang
RobertBirnie has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
mostlybadfly has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
ammar_ has quit [Quit: leaving]
ammar has joined #ruby-lang
cored has quit [Quit: leaving]
gwendall has joined #ruby-lang
klmlfl has joined #ruby-lang
Integralist has joined #ruby-lang
Integral1st has joined #ruby-lang
lapide_viridi has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo__ has quit [Remote host closed the connection]
oleo has quit [Ping timeout: 252 seconds]
fedexo has joined #ruby-lang
oleo has joined #ruby-lang
leonmaia has joined #ruby-lang
meschi has quit [Remote host closed the connection]
tmi1 has quit [Quit: Leaving.]
zz_dlu has quit [Ping timeout: 244 seconds]
lapideviridi has joined #ruby-lang
lapide_viridi has quit [Ping timeout: 256 seconds]
GaelanAintAround has quit [Ping timeout: 264 seconds]
gwendall has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 255 seconds]
zz_dlu has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
GaelanAintAround has quit [Read error: Connection reset by peer]
zz_dlu has quit [Read error: Connection reset by peer]
TvL2386 has joined #ruby-lang
apt-get_ has joined #ruby-lang
wallerdev has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
<TvL2386> hi guys, how can I do File.read('~/bla') and have it explode ~ to my homedir?
apeiros has joined #ruby-lang
<TvL2386> now I'm getting Errno::ENOENT: No such file or directory @ rb_sysopen - ~/bla
<Mon_Ouie> Use File.expand_path before passing it to File.read
<TvL2386> ah great!!!
apt-get__ has quit [Ping timeout: 245 seconds]
zz_dlu has joined #ruby-lang
<TvL2386> Mon_Ouie, works like a charm
GaelanAintAround has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
sharpmachine has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 265 seconds]
Integral2st has joined #ruby-lang
gwendall has joined #ruby-lang
ddd has quit [Quit: leaving]
sangwoojoo has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
seank_ has joined #ruby-lang
rbowlby has joined #ruby-lang
yatish27 has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
unreal_ is now known as unreal
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
malconis has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
mistym has joined #ruby-lang
sangwoojoo has quit [Client Quit]
slawrence00 has joined #ruby-lang
sangwoojoo has joined #ruby-lang
sangwoojoo has quit [Client Quit]
sangwoojoo has joined #ruby-lang
sangwoojoo has quit [Client Quit]
Integral2st has quit [Quit: leaving]
bb010g has joined #ruby-lang
fragamus has joined #ruby-lang
benlovell has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
skade has joined #ruby-lang
Sadin has joined #ruby-lang
skade has quit [Client Quit]
gwendall has joined #ruby-lang
skade has joined #ruby-lang
lapideviridi has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
lapide_viridi has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Computer has gone to sleep.]
TheRinger_ has joined #ruby-lang
sharpmachine has quit []
lapideviridi has joined #ruby-lang
lapide_viridi has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
ddd has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
Lewix has quit [Remote host closed the connection]
lapideviridi has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
sangwoojoo has joined #ruby-lang
terabytest has joined #ruby-lang
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
_rgn has left #ruby-lang ["WeeChat 0.4.2"]
terabytest has quit [Client Quit]
sangwoojoo has quit [Quit: 전 이만 갑니다.]
sangwoojoo has joined #ruby-lang
meschi has joined #ruby-lang
terabytest has joined #ruby-lang
Integralist has quit [Ping timeout: 240 seconds]
Integral1st has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
meschi has quit [Remote host closed the connection]
meschi has joined #ruby-lang
tenderlove has joined #ruby-lang
emmesswhy has joined #ruby-lang
AKASkip has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
tenderlove has quit [Remote host closed the connection]
dagda1__ has joined #ruby-lang
benlovell has joined #ruby-lang
dagda1 has quit [Ping timeout: 244 seconds]
dagda1__ has quit [Client Quit]
seank_ has quit [Remote host closed the connection]
rbowlby has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
dagda1 has joined #ruby-lang
lapide_viridi has joined #ruby-lang
nofxx has joined #ruby-lang
gix has quit [Ping timeout: 244 seconds]
zz_dlu has quit [Ping timeout: 240 seconds]
GaelanAintAround has quit [Ping timeout: 264 seconds]
fragamus has joined #ruby-lang
gix has joined #ruby-lang
nofxx has quit [Ping timeout: 264 seconds]
GaelanAintAround has joined #ruby-lang
zz_dlu has joined #ruby-lang
seank_ has quit [Remote host closed the connection]
rbrs has quit [Quit: rbrs]
apt-get_ has quit [Ping timeout: 265 seconds]
kiyote23 has quit [Remote host closed the connection]
sangwoojoo has quit [Remote host closed the connection]
rbowlby has joined #ruby-lang
kiyote23 has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fragamus has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
kiyote23 has quit [Ping timeout: 244 seconds]
cornerma1 has joined #ruby-lang
kiyote23 has joined #ruby-lang
cornerman has quit [Ping timeout: 245 seconds]
cornerma1 is now known as cornerman
fedexo_ has joined #ruby-lang
AKASkip has quit [Ping timeout: 264 seconds]
tenderlove has joined #ruby-lang
lupine is now known as lumpen
tenderlove has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
benlovel1 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
centrx has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
benlovel1 has quit [Ping timeout: 264 seconds]
Musashi007 has joined #ruby-lang
leonmaia has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lumpen is now known as lupine
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby-lang
lsegal has joined #ruby-lang
<weaksauce> is there a reason that += a string creates a new object inside of a block whereas the shovel operator doesn't?
Bwild has joined #ruby-lang
<centrx> weaksauce, += is an assignment operator like =, shorthand for z = z + y
<centrx> weaksauce, z + y => new object
<centrx> << => append
<centrx> so short answer: that's what it's for
<centrx> or IS
<weaksauce> centrx I did an irb session and += doesn't change the object_id there. but when run inside this example it will: https://gist.github.com/anonymous/500810e70a4cdc0e5108
<weaksauce> op nevermind it actually did
<centrx> yeah I get a new object_id with += in irb
<weaksauce> I think the object id looked close enough to seem to match
<centrx> += should be the same everywhere
<weaksauce> yeah that's why it was confusing me... because irb the object ids looked close enough to trick me i guess
<centrx> very sneaky app
<weaksauce> indeed: 70327821086580 vs 70327850063780
<weaksauce> saw the 80 and thought same
<weaksauce> my faith in ruby is restored
redtomahawk has quit [Read error: Connection reset by peer]
devgiant has quit [Quit: Leaving]
redtomahawk has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
malconis has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
gwendall has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
mattyohe has joined #ruby-lang
[H]unt3r has joined #ruby-lang
Musashi007 has joined #ruby-lang
tenderlove has joined #ruby-lang
bradland has quit [Quit: bradland]
bradland has joined #ruby-lang
dabradley has quit [Ping timeout: 245 seconds]
[H]unt3r has quit [Quit: Leaving]
<stonith> I'm trying to reference a class from a string name
<centrx> turn a string into a class?
<stonith> yeah I get that to work
<stonith> via const_get
fragamus has joined #ruby-lang
<stonith> but I can't seem to call anything with that class
<stonith> so device = RbVmomi::VIM::const_get"var_name"
<stonith> works
<stonith> but device = RbVmomi::VIM::const_get"var_name"() doesn't
<stonith> actually should be device = RbVmomi::VIM::const_get"#{var_name}"
<centrx> Are you coming from Python?
<stonith> no sorry I'm a total newb
<centrx> ok what are you trying to do exactly?
<stonith> hold on I'll find the code
<jhass> "#{foo}" -> foo.to_s
<jhass> const_get is a method call, .const_get foo or .const_get(foo)
<jhass> that's not a class name, that's a method call
<jhass> use .public_send
<stonith> trying to use a string var to substitue VirtualE1000
<stonith> oh
<jhass> RbVmomi::VIM.public_send foo
<jhass> takes strings and symbols
<stonith> jhass: ok thanks I'll give that a shot
<weaksauce> wow. those are some long methods
<centrx> stonith, This RbVmomi::VIM::VirtualE1000() thing they are doing is actually a fancy/misleading thing they are doing
nathanstitt has joined #ruby-lang
<stonith> oh
<centrx> stonith, You cannot "call" a class with (), VirtualE1000 is actually a class method on RbVmomi::VIM
dangerousdave has joined #ruby-lang
<centrx> with a misleading capital name and using the :: (scope resolution operator)
<jhass> it abuses the fact that you can call method with ::
<bradland> could be rewritten as RbVmomi::VIM.VirtualE1000()
<jhass> which you shouldn't do, just know that you can do it to decipher such stuff
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<bradland> that whole constant as a method name is bad form too, no?
<jhass> yeah
<stonith> hmm
<bradland> bleh, ugly
<bradland> stonith: by bad form, i mean not conventional ruby.
<jhass> though I can't teach myself to not do it when using Nokogiri :/
<stonith> yeah it's a big mess that isn't really maintained
<bradland> in ruby, capitalization means constant
<bradland> when you name a method with a constant, you *must* use parenthesis
<bradland> Foo.bar versus Foo.Bar()
<stonith> basically I'm trying to try a different class I guess
meschi has quit [Remote host closed the connection]
leonmaia has joined #ruby-lang
<bradland> in ruby, it’s typical to drop the paren
nathanstitt has quit [Client Quit]
leonmaia has quit [Remote host closed the connection]
<stonith> sorry I can drop the paren?
GaelanAintAround has quit [Ping timeout: 265 seconds]
<stonith> I can change VirtualE1000 class to VirtualVmxnet3 to hardcode what I want
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<stonith> but wanted to make it optional
Musashi007 has quit [Quit: Musashi007]
zz_dlu has quit [Ping timeout: 255 seconds]
<bradland> you cannot drop the paren in this case, because the method name is VirtualE1000, which is capitalized, which means it’s a constant
<bradland> VirtualE1000 is a method, not a class
<bradland> i don’t know what VirtualVmxnet3 is, so i can’t tell you if they’re interchangable
kiyote23 has joined #ruby-lang
dabradley has joined #ruby-lang
<stonith> bradland: they are
<stonith> I'm just trying to make it a variable
<stonith> instead of hardcoding it
GaelanAintAround has joined #ruby-lang
<bradland> make what a variable?
<stonith> VirtualE1000
zz_dlu has joined #ruby-lang
<bradland> RbVmomi::VIM.public_send “VirtualE1000”
<bradland> i think
<stonith> that seems to work but I can't seem to pass in lines 128-131
Musashi007 has joined #ruby-lang
<bradland> check the docs for Object#public_send: http://www.ruby-doc.org/core-2.2.0/Object.html#method-i-public_send
<stonith> oic
<stonith> ok think I get it now
<jhass> stonith: just append them, .public_send, foo, backing: nic_baking_info...
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> er minus the extra ,
<jhass> silly me
<stonith> oh that works
<stonith> thanks
<stonith> awesome thanks everyone
<bradland> you bet
fragamus has quit [Quit: Computer has gone to sleep.]
<stonith> much appreciated
dellavg_ has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby-lang
GaelanAintAround has quit [Read error: Connection reset by peer]
zz_dlu has quit [Read error: Connection reset by peer]
lapide_viridi has quit [Quit: Leaving]
zz_dlu has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
redtomahawk has quit [Quit: Leaving...]
Lewix has joined #ruby-lang
rbowlby has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ocdmw has joined #ruby-lang
mbug has joined #ruby-lang
dagda1 has joined #ruby-lang
rbowlby has quit [Ping timeout: 255 seconds]
mbug has quit [Ping timeout: 244 seconds]
Lewix has quit [Remote host closed the connection]
mbug has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brooks has quit [Quit: brooks]
dangerousdave has joined #ruby-lang
yfeldblum has joined #ruby-lang
StevenNunez has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
banister has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
brooks has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
sondr3 has joined #ruby-lang
banister has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
izietto has quit [Quit: Sto andando via]
StevenNunez has quit [Remote host closed the connection]
dorei has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
havenwood has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 264 seconds]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
sankaber has joined #ruby-lang
fedexo__ has joined #ruby-lang
fedexo_ has quit [Read error: Connection reset by peer]
sankaber has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
sankaber has joined #ruby-lang
Sadin has quit [Ping timeout: 256 seconds]
brooks has quit [Quit: brooks]
ur5us has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
ur5us has quit [Read error: No route to host]
ur5us_ has joined #ruby-lang
klmlfl has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby-lang
elia has joined #ruby-lang
SilentNuke has joined #ruby-lang
sankaber has quit [Client Quit]
Forgetful_Lion_ has joined #ruby-lang
Forgetful_Lion has quit [Ping timeout: 244 seconds]