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…]
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]
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]