00:00
ta has joined #ruby-lang
00:02
klmlfl_ has quit [Ping timeout: 240 seconds]
00:04
midhir has quit [Remote host closed the connection]
00:05
jo__ has joined #ruby-lang
00:07
tcopeland has joined #ruby-lang
00:09
tenderlove has quit [Read error: Connection reset by peer]
00:11
tenderlove has joined #ruby-lang
00:12
Savoyard has joined #ruby-lang
00:12
tenderlove has quit [Read error: Connection reset by peer]
00:15
tenderlove has joined #ruby-lang
00:15
diegoviola has quit [Read error: Connection reset by peer]
00:16
skade has quit [Quit: Computer has gone to sleep.]
00:17
gwendall_ has quit [Remote host closed the connection]
00:19
emmesswhy has joined #ruby-lang
00:20
tenderlove has quit [Read error: Connection reset by peer]
00:20
tenderlo_ has joined #ruby-lang
00:20
emmesswhy has quit [Client Quit]
00:21
emmesswhy has joined #ruby-lang
00:25
ta_ has joined #ruby-lang
00:28
ta has quit [Ping timeout: 245 seconds]
00:28
ta has joined #ruby-lang
00:29
senor_jalapeno has joined #ruby-lang
00:29
ta_ has quit [Ping timeout: 245 seconds]
00:30
ta_ has joined #ruby-lang
00:33
sankaber has joined #ruby-lang
00:33
ta has quit [Ping timeout: 260 seconds]
00:35
tkuchiki has joined #ruby-lang
00:35
caseypatrickdris has joined #ruby-lang
00:36
gilberto has joined #ruby-lang
00:37
<
gilberto >
"look at this gem I found"
00:39
Lewix has joined #ruby-lang
00:39
Lewix has joined #ruby-lang
00:39
natevick has joined #ruby-lang
00:41
bmichelsen has quit [Quit: ZZZzzz…]
00:43
Musashi007 has quit [Ping timeout: 250 seconds]
00:45
natevick_ has joined #ruby-lang
00:46
natevick has quit [Quit: natevick]
00:46
natevick_ is now known as natevick
00:48
natevick has quit [Quit: natevick]
00:49
gilberto has quit [Ping timeout: 246 seconds]
00:52
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:53
sankaber has joined #ruby-lang
01:00
|jemc| has quit [Ping timeout: 250 seconds]
01:00
rcvalle has quit [Quit: rcvalle]
01:02
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:03
sankaber has joined #ruby-lang
01:06
yusuf1 has joined #ruby-lang
01:06
yusuf1 has quit [Max SendQ exceeded]
01:06
djbkd has quit [Remote host closed the connection]
01:06
yusuf1 has joined #ruby-lang
01:07
loincloth has quit [Remote host closed the connection]
01:09
tenderlo_ has quit [Quit: Leaving...]
01:14
TheStranjer has joined #ruby-lang
01:15
Bwild has joined #ruby-lang
01:17
stamina has quit [Ping timeout: 255 seconds]
01:19
Savoyard has quit [Quit: (null)]
01:21
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:24
havenwood has quit []
01:25
RobertBirnie has quit [Ping timeout: 258 seconds]
01:28
dabradley has quit [Ping timeout: 265 seconds]
01:29
marr has quit [Ping timeout: 265 seconds]
01:31
Lewix has quit [Remote host closed the connection]
01:36
lsegal has joined #ruby-lang
01:36
hendranata_ has joined #ruby-lang
01:38
loincloth has joined #ruby-lang
01:42
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:43
loincloth has quit [Ping timeout: 250 seconds]
01:44
hahuang65 has quit [Ping timeout: 264 seconds]
01:45
ryez has joined #ruby-lang
01:45
houhoulis has joined #ruby-lang
01:46
yfeldblum has joined #ruby-lang
01:46
Musashi007 has joined #ruby-lang
01:46
Savoyard has joined #ruby-lang
01:47
|jemc| has joined #ruby-lang
01:50
yfeldblum has quit [Read error: Connection reset by peer]
01:50
yfeldblum has joined #ruby-lang
01:50
mistym has quit [Remote host closed the connection]
01:52
sankaber has joined #ruby-lang
01:55
dabradley has joined #ruby-lang
01:59
amsi has quit [Quit: Leaving]
01:59
bb010g has joined #ruby-lang
02:01
shinnya has quit [Ping timeout: 250 seconds]
02:06
gwendall has joined #ruby-lang
02:07
Lewix has joined #ruby-lang
02:10
emmesswhy has quit [Quit: This computer has gone to sleep]
02:10
gwendall has quit [Ping timeout: 244 seconds]
02:11
emmesswhy has joined #ruby-lang
02:12
emmesswhy has quit [Client Quit]
02:13
emmesswhy has joined #ruby-lang
02:19
matsutomo has joined #ruby-lang
02:22
cornerma1 has joined #ruby-lang
02:23
_fritchie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:25
cornerman has quit [Ping timeout: 258 seconds]
02:25
cornerma1 is now known as cornerman
02:28
tpope_ is now known as tpope
02:30
BadBadtz-Maru has joined #ruby-lang
02:30
_fritchie has joined #ruby-lang
02:32
imperator has joined #ruby-lang
02:35
jxie has quit [Ping timeout: 244 seconds]
02:37
jxie has joined #ruby-lang
02:42
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:44
godd2 has quit [Ping timeout: 250 seconds]
02:45
emmesswhy has quit [Quit: This computer has gone to sleep]
02:45
apeiros_ has quit [Remote host closed the connection]
02:46
apeiros_ has joined #ruby-lang
02:46
amclain has joined #ruby-lang
02:48
emmesswhy has joined #ruby-lang
02:51
bmichelsen has joined #ruby-lang
03:01
jxie has quit [Read error: Connection reset by peer]
03:02
haylon has joined #ruby-lang
03:06
jxie has joined #ruby-lang
03:07
gwendall has joined #ruby-lang
03:09
dm78 has joined #ruby-lang
03:09
dm78 has quit [Read error: Connection reset by peer]
03:10
Asher2 has quit [Quit: Leaving.]
03:10
Asher has joined #ruby-lang
03:11
gwendall has quit [Ping timeout: 264 seconds]
03:12
micaeked has quit [Ping timeout: 244 seconds]
03:14
David_H_Smith has joined #ruby-lang
03:15
Lewix has quit [Remote host closed the connection]
03:18
koderok has joined #ruby-lang
03:18
Musashi007 has quit [Ping timeout: 245 seconds]
03:18
michaeldeol has joined #ruby-lang
03:18
ARMIGER1 has joined #ruby-lang
03:19
koderok has quit [Client Quit]
03:20
mistym has joined #ruby-lang
03:21
has_no_name has joined #ruby-lang
03:22
has_no_name has left #ruby-lang [#ruby-lang]
03:22
michaeldeol has quit [Client Quit]
03:27
gjaldon has joined #ruby-lang
03:37
sk_0 has quit [Ping timeout: 272 seconds]
03:39
charliesome has quit [Quit: zzz]
03:40
matsutomo has quit [Quit: matsutomo]
03:42
Musashi007 has joined #ruby-lang
03:42
oak1 has quit [Read error: Connection reset by peer]
03:43
jgpawletko has quit [Quit: jgpawletko]
03:44
ARMIGER1 has left #ruby-lang [#ruby-lang]
03:45
charliesome has joined #ruby-lang
03:50
Lewix has joined #ruby-lang
03:50
Lewix has quit [Changing host]
03:50
Lewix has joined #ruby-lang
03:53
simi has joined #ruby-lang
03:53
ur5us has quit [Remote host closed the connection]
03:53
imperator has quit [Quit: Valete!]
03:54
ur5us has joined #ruby-lang
03:54
nisstyre has quit [Changing host]
03:54
nisstyre has joined #ruby-lang
03:56
emmesswhy has quit [Quit: This computer has gone to sleep]
03:56
kapil__ has joined #ruby-lang
03:58
matsutomo has joined #ruby-lang
04:00
michaeldeol has joined #ruby-lang
04:02
Musashi007 has quit [Quit: Musashi007]
04:04
Savoyard has quit [Quit: (null)]
04:06
AmirolAhmad has joined #ruby-lang
04:07
gjaldon has quit [Remote host closed the connection]
04:08
Lewix has quit [Remote host closed the connection]
04:08
gwendall has joined #ruby-lang
04:10
sk_0 has joined #ruby-lang
04:12
gwendall has quit [Ping timeout: 260 seconds]
04:24
kiyote23 has joined #ruby-lang
04:24
octodoodle has joined #ruby-lang
04:25
ur5us has quit [Remote host closed the connection]
04:25
ur5us has joined #ruby-lang
04:26
octodoodle has quit [Client Quit]
04:26
octodoodle has joined #ruby-lang
04:27
godd2 has joined #ruby-lang
04:30
kyb3r_ has joined #ruby-lang
04:33
apeiros__ has joined #ruby-lang
04:34
apeiros_ has quit [Read error: Connection reset by peer]
04:34
jlpeters has quit [Ping timeout: 244 seconds]
04:34
akahn has quit [Ping timeout: 244 seconds]
04:34
ramblinpeck_ has quit [Ping timeout: 244 seconds]
04:34
jlpeters has joined #ruby-lang
04:34
bmichelsen has quit [Quit: ZZZzzz…]
04:35
chancancode has quit [Ping timeout: 244 seconds]
04:35
ggherdov has quit [Ping timeout: 244 seconds]
04:35
cleopatra has quit [Ping timeout: 240 seconds]
04:36
jds has quit [Ping timeout: 244 seconds]
04:36
x0f has quit [Ping timeout: 244 seconds]
04:36
dlackty_ has quit [Ping timeout: 244 seconds]
04:37
ur5us has quit [Ping timeout: 250 seconds]
04:37
jds has joined #ruby-lang
04:38
dlackty_ has joined #ruby-lang
04:38
chancancode has joined #ruby-lang
04:38
goddamnit2 has joined #ruby-lang
04:39
ramblinpeck_ has joined #ruby-lang
04:39
akahn has joined #ruby-lang
04:39
x0f has joined #ruby-lang
04:39
godd2 has quit [Disconnected by services]
04:39
goddamnit2 is now known as godd2
04:40
charliesome has quit [Quit: zzz]
04:40
haylon has quit [Quit: Leaving]
04:43
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:44
ggherdov has joined #ruby-lang
04:45
jxie has quit [Ping timeout: 250 seconds]
04:46
jxie has joined #ruby-lang
04:48
Savoyard has joined #ruby-lang
04:53
gix has quit [Ping timeout: 265 seconds]
04:53
jxie has quit [Ping timeout: 250 seconds]
04:54
jxie has joined #ruby-lang
04:57
gix has joined #ruby-lang
05:02
mcclurmc has quit [Remote host closed the connection]
05:03
bmichelsen has joined #ruby-lang
05:05
bmichelsen has quit [Client Quit]
05:08
gjaldon has joined #ruby-lang
05:10
Savoyard has quit [Quit: (null)]
05:10
hahuang63 has quit [Quit: WeeChat 1.0.1]
05:11
chinmay_dd has joined #ruby-lang
05:15
Lewix has joined #ruby-lang
05:16
chinmay_dd has quit [Ping timeout: 245 seconds]
05:20
michaeldeol has joined #ruby-lang
05:23
chinmay_dd has joined #ruby-lang
05:25
Lewix has quit [Remote host closed the connection]
05:25
tris has quit [Ping timeout: 272 seconds]
05:25
charliesome has joined #ruby-lang
05:26
blowmage has quit [Ping timeout: 272 seconds]
05:26
blowmage has joined #ruby-lang
05:27
Savoyard has joined #ruby-lang
05:27
tris has joined #ruby-lang
05:30
mattyohe has quit [Quit: Connection closed for inactivity]
05:31
dagda1 has joined #ruby-lang
05:31
havenwood has joined #ruby-lang
05:32
Savoyard has quit [Ping timeout: 272 seconds]
05:34
kiyote23 has quit [Remote host closed the connection]
05:35
kiyote23 has joined #ruby-lang
05:39
ruby-lang075 has joined #ruby-lang
05:40
kiyote23 has quit [Ping timeout: 250 seconds]
05:40
chinmay_dd has quit [Ping timeout: 255 seconds]
05:42
loincloth has joined #ruby-lang
05:43
hramrach_ has quit [Ping timeout: 250 seconds]
05:43
st0mar has quit [Quit: quit]
05:45
ur5us has joined #ruby-lang
05:46
Musashi007 has joined #ruby-lang
05:46
t3h_j4n170r has joined #ruby-lang
05:47
Musashi007 has quit [Client Quit]
05:47
loincloth has quit [Ping timeout: 272 seconds]
05:48
spetryk has joined #ruby-lang
05:49
ur5us has quit [Ping timeout: 250 seconds]
05:51
matp has quit [Remote host closed the connection]
05:52
matp has joined #ruby-lang
05:55
ruby-lang075 has quit [Ping timeout: 246 seconds]
05:56
emmesswhy has joined #ruby-lang
05:56
gwendall has joined #ruby-lang
05:58
spastorino has quit [Quit: Connection closed for inactivity]
06:01
gwendall has quit [Ping timeout: 260 seconds]
06:03
Sadin has quit [Remote host closed the connection]
06:03
octodoodle has quit [Remote host closed the connection]
06:07
David_H_Smith has quit []
06:07
spetryk has quit [Quit: Be back later ...]
06:09
oleo has quit [Remote host closed the connection]
06:15
TheStranjer has quit [Quit: Leaving]
06:18
chinmay_dd has joined #ruby-lang
06:21
Savoyard has joined #ruby-lang
06:21
octodoodle has joined #ruby-lang
06:25
gianlucadv has joined #ruby-lang
06:25
Savoyard has quit [Ping timeout: 264 seconds]
06:30
micaeked has joined #ruby-lang
06:41
kiyote23 has joined #ruby-lang
06:42
loincloth has joined #ruby-lang
06:43
sent-hil has joined #ruby-lang
06:47
loincloth has quit [Ping timeout: 264 seconds]
06:48
apeiros__ has quit [Read error: Connection reset by peer]
06:48
apeiros_ has joined #ruby-lang
06:52
Lewix has joined #ruby-lang
07:00
apeiros_ has quit [Remote host closed the connection]
07:01
apeiros_ has joined #ruby-lang
07:01
kiyote23 has quit [Ping timeout: 244 seconds]
07:03
matp_ has joined #ruby-lang
07:04
gjaldon has quit [Remote host closed the connection]
07:04
ryez has quit [Ping timeout: 246 seconds]
07:04
charliesome has quit [Quit: zzz]
07:05
matp has quit [Ping timeout: 250 seconds]
07:05
apeiros_ has quit [Ping timeout: 258 seconds]
07:06
Miphix has quit [Read error: Connection reset by peer]
07:06
hakunin has quit [Read error: Connection reset by peer]
07:06
Miphix has joined #ruby-lang
07:06
charliesome has joined #ruby-lang
07:07
Xzanron has joined #ruby-lang
07:08
gwendall has joined #ruby-lang
07:10
hakunin has joined #ruby-lang
07:10
hendranata_ has quit [Ping timeout: 250 seconds]
07:18
mcclurmc has joined #ruby-lang
07:19
charliesome has quit [Quit: zzz]
07:23
mcclurmc has quit [Ping timeout: 240 seconds]
07:32
charliesome has joined #ruby-lang
07:34
GaelanAintAround has quit [Ping timeout: 265 seconds]
07:36
GaelanAintAround has joined #ruby-lang
07:42
loincloth has joined #ruby-lang
07:44
icebal has joined #ruby-lang
07:45
<
icebal >
anybody up and awake?
07:45
<
pipework >
No, we all died.
07:45
<
icebal >
just checking, its 1:45am here
07:46
<
icebal >
was wondering if anybody could help me with some code im stuck with
07:46
houhoulis has quit [Remote host closed the connection]
07:46
<
icebal >
its Net/Telnet waitfor(), and it also is doing the same thing in net-ssh-telnet
07:47
loincloth has quit [Ping timeout: 245 seconds]
07:48
<
icebal >
it connects, inputs the userid and pass, gets to the next prompt of "TERM = (xterm) "
07:49
<
icebal >
it should be waiting for that line, input xterm and move on, but it doesnt do anything at all.
07:50
<
icebal >
this is all before any unix prompt pops up
07:50
gimmeeruby has joined #ruby-lang
07:50
nertzy has joined #ruby-lang
07:51
<
icebal >
any ideas?
07:51
matsutomo has quit [Quit: matsutomo]
07:52
Lewix has quit [Remote host closed the connection]
07:53
matsutomo has joined #ruby-lang
07:54
<
gimmeeruby >
hello there :)
07:55
havenwood has quit [Remote host closed the connection]
07:55
tcopeland has quit [Read error: Connection reset by peer]
07:55
havenwood has joined #ruby-lang
07:55
tcopeland has joined #ruby-lang
07:56
<
icebal >
i've got the snippets up on stack exchange
07:56
<
icebal >
if anyuone would like to look
08:00
nertzy has quit [Quit: This computer has gone to sleep]
08:03
mistym has quit [Quit: Leaving...]
08:04
havenwood has quit [Remote host closed the connection]
08:05
Iskarlar_ has joined #ruby-lang
08:05
shuriu has joined #ruby-lang
08:09
emmesswhy has quit [Quit: This computer has gone to sleep]
08:10
Savoyard has joined #ruby-lang
08:14
Savoyard has quit [Ping timeout: 245 seconds]
08:19
amclain has quit [Quit: Leaving]
08:19
<
zenspider >
icebal: which one are you claiming doesn't work?
08:19
<
zenspider >
looks like your option on the second one is wrong
08:20
djbkd has joined #ruby-lang
08:20
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:21
<
zenspider >
icebal: how does your firm claim that telnet is for security over ssh??
08:22
yfeldblum has quit [Ping timeout: 240 seconds]
08:23
<
zenspider >
icebal: the point that joel was making wasn't necessarily to use ssh... but to read the code to see how it handles IO
08:25
<
zenspider >
you might also want to look at expect.rb
08:25
shuriu has quit [Remote host closed the connection]
08:26
shuriu has joined #ruby-lang
08:28
<
icebal >
i have learned not to bring it up lol, seeing as how ssh is both more powerful and more secure
08:28
|jemc| has quit [Ping timeout: 240 seconds]
08:28
<
icebal >
they even use it for pharmacy equipment to access pharm servers
08:28
<
icebal >
i've checked it out, and it seems like its being handled as another login prompt.
08:29
<
zenspider >
not descriptive
08:29
<
icebal >
expect is included into net/telnet and net-ssh-telnet. this is how waitfor handles prompts i guess
08:29
<
icebal >
ssh.rb, sorry
08:31
<
icebal >
i have tried bot looking for the string, and using a regex, which is the Match option
08:31
<
zenspider >
expect is
_not_ included in net/telnet nor does net/telnet use it inside of waitfor
08:32
<
icebal >
my bad, i saw end/expect interface over SSH with an API almost identical to Net::Telnet
08:32
<
icebal >
send/expect*
08:34
<
zenspider >
nor does the ssh gem
08:35
<
icebal >
well, i shall delve into the expect.rb gem, and hopefully it solves the issue
08:35
nofxx has quit [Ping timeout: 256 seconds]
08:35
stardiviner has quit [Ping timeout: 256 seconds]
08:35
<
zenspider >
not a gem. it ships with ruby.
08:35
<
zenspider >
and it isn't meant to fix the problem. have you looked at the code for waitfor
08:37
<
icebal >
yeah, it either for a String, converts string into a regex, then uses that to match incoming data
08:37
<
icebal >
or for Match, uses the supplied regex to match incoming data
08:37
<
icebal >
or you can use Prompt to regex for a different prompt
08:38
jxie has quit [Ping timeout: 250 seconds]
08:38
<
zenspider >
you've read the code...
08:38
<
zenspider >
why do you write this then?: $telnet.waitfor(Match => /Enter\s*$/) { |c| print c }
08:39
<
icebal >
that's the next step, i was simplifying it, it matches the next prompt of "Enter your 4-7 character userid, "
08:39
jxie has joined #ruby-lang
08:39
<
zenspider >
it's also
_wrong_
08:40
<
zenspider >
Match as a constant? look at the code in waitfor again
08:40
<
zenspider >
this is also nonsense: /.* $ $/
08:41
<
zenspider >
it's probably the source of your problem
08:42
<
icebal >
i have also removed that and used the default and still doesnt work :(
08:42
loincloth has joined #ruby-lang
08:42
wprice has quit [Read error: Connection reset by peer]
08:43
<
zenspider >
the default is /[$%#>] \z/n and might not work on an ancient hpux boxen. depends on a lot of things.
08:43
wprice has joined #ruby-lang
08:43
<
zenspider >
your regexps are syntactically borked tho. look into that.
08:43
chouhoulis has quit [Read error: Connection reset by peer]
08:44
chouhoulis has joined #ruby-lang
08:45
<
icebal >
the prompt that is used is "pwd $ "
08:45
bougyman has quit [Ping timeout: 258 seconds]
08:45
<
zenspider >
and how do you match that in a regexp?
08:45
djbkd has quit [Remote host closed the connection]
08:46
<
icebal >
thats what the /.* $ $/ was for. for "anything" plus space plus $ plus space end of prompt
08:46
bougyman has joined #ruby-lang
08:46
<
icebal >
or removed the last $
08:46
<
zenspider >
icebal: and that's why you need to study your regexps
08:47
loincloth has quit [Ping timeout: 260 seconds]
08:48
<
icebal >
im really new to regex, i used rubular to craft the important ones, havent gotten to a place to make sure Prompt works
08:48
nisstyre has quit [Ping timeout: 265 seconds]
08:49
<
icebal >
even if i manually waitfor user and pass, which works, the TERM= (xterm) still wont work
08:50
yfeldblu_ has joined #ruby-lang
08:50
<
zenspider >
icebal: come to think of it, it probably shouldn't
08:50
<
zenspider >
why would TERM = xterm if you're telnetting in?
08:50
<
icebal >
its the system default, even if you just press enter
08:51
mLF has joined #ruby-lang
08:51
<
icebal >
telnet'd manually to make sure of what commands to put in
08:51
<
zenspider >
if you telnet in yourself, or `ssh -T`, you see that prompt?
08:52
<
icebal >
its part of the MOTD basically
08:52
<
zenspider >
I have doubts
08:52
<
wnd >
I guess I've been using sed for too long. I would not have realised that / $ $/ did not match " $ ".
08:52
gjaldon has joined #ruby-lang
08:52
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:53
<
icebal >
it goes user, pass, copyright info, TERM = (xterm) <input>, Enter your 3-7 userid: <input>, then drops you to Prompt
08:53
koderok has joined #ruby-lang
08:54
<
icebal >
i can sanitize the prompts real quick and past them somewhere
08:54
yfeldblu_ has quit [Ping timeout: 244 seconds]
08:54
<
zenspider >
no. I want you to go find the shell code that outputs that
08:54
<
icebal >
i don't know if i have access
08:55
<
zenspider >
if you can login, and you can run that shell code, you can read that shell code
08:56
<
zenspider >
# Match:: a regular expression, specifying the data to wait for.
08:56
<
zenspider >
# Prompt:: as for Match; used only if Match is not specified.
08:57
robbyoconnor has joined #ruby-lang
08:57
<
zenspider >
so, you're just calling waitfor incorrectly
08:57
gjaldon has quit [Ping timeout: 264 seconds]
08:57
<
zenspider >
tho I'm still not sure why you're calling waitfor at all, instead of specifying a proper prompt
08:57
<
zenspider >
and using cmd
08:58
<
icebal >
how is Match used incorrectly? String is simpler, and builds a regex around it. Match is using a regex that matches only that line out of all the login spam login generates
09:00
<
zenspider >
+options+ can be either a regular expression or a hash of options.
09:00
<
zenspider >
what'd you pass?
09:00
sent-hil has quit [Quit: Connection closed for inactivity]
09:00
<
icebal >
String => "TERM = (xterm) " doesnt work either
09:01
<
zenspider >
you're NOT reading
09:01
<
zenspider >
bring up a terminal
09:01
<
zenspider >
fire up irb
09:01
<
zenspider >
enter: "TERM = (xterm) ".class
09:02
<
icebal >
shows as a string
09:02
hendranata_ has joined #ruby-lang
09:02
apeiros_ has joined #ruby-lang
09:02
<
zenspider >
no, it returns exactly: String
09:02
<
zenspider >
what does the doco say options can be?
09:03
<
icebal >
as for Match, except a string that will be converted into a regular expression. Used only if Match and Prompt are not specified.
09:04
<
icebal >
from rubydoc
09:04
gjaldon has joined #ruby-lang
09:04
<
zenspider >
I'm rapidly approaching the point where I can't help you
09:04
<
zenspider >
your code: $telnet.waitfor("TERM = (xterm) ")
09:05
<
zenspider >
doco: +options+ can be either a regular expression or a hash of options.
09:05
<
zenspider >
do you see the disconnect?
09:06
<
icebal >
i do, but "String" => "TERM = (xterm) " doesnt do it either
09:06
<
zenspider >
again... you are NOT jesus
09:07
<
pipework >
Oh. News to me.
09:07
<
icebal >
does that not count as a hash of options?
09:07
<
icebal >
the code even shows:
09:07
<
icebal >
elsif options.has_key?("String")
09:07
<
icebal >
Regexp.new( Regexp.quote(options["String"]) )
09:08
<
icebal >
this should take whatever is getting assigned to String in the hash to have a regex built around it for waitfor to use
09:09
marr has joined #ruby-lang
09:09
<
icebal >
i guess im not getting what your trying to say. neither regex by itself, or called by Match, or String => have worked
09:09
matp_ has quit [Remote host closed the connection]
09:10
matp has joined #ruby-lang
09:10
<
icebal >
i've used rubular to build a regex that only matches that prompt and it still did not work.
09:10
midhir has joined #ruby-lang
09:13
yfeldblum has joined #ruby-lang
09:15
gwendall has quit [Remote host closed the connection]
09:15
<
icebal >
i'm trying to understand this, but i'm pretty new at ruby.
09:15
gwendall has joined #ruby-lang
09:17
[spoiler] has joined #ruby-lang
09:17
yfeldblum has quit [Ping timeout: 240 seconds]
09:17
nisstyre has joined #ruby-lang
09:18
gimmeeruby has quit [Ping timeout: 246 seconds]
09:18
elia has joined #ruby-lang
09:19
RitterJack has joined #ruby-lang
09:20
Jan_ has joined #ruby-lang
09:20
gwendall has quit [Ping timeout: 260 seconds]
09:20
caseypatrickdris has quit [Read error: No route to host]
09:20
caseypat_ has joined #ruby-lang
09:21
<
icebal >
zenspider, the prompt is a part of .profile of the user we login as
09:21
<
icebal >
the xterm part is here:
09:21
<
icebal >
# Set up the terminal:
09:21
<
icebal >
eval ` tset -s -Q -m ':?xterm' `
09:21
<
icebal >
TERM=${TERM:-xterm}
09:22
<
yorickpeterse >
morning kids
09:22
<
Eising >
good morning old chap
09:23
kyb3r_ has quit [Read error: Connection reset by peer]
09:29
<
icebal >
thanks for the help, sorry for the confusion, ill mess with it some more.....
09:34
simi has quit [Ping timeout: 258 seconds]
09:42
loincloth has joined #ruby-lang
09:44
Asher has quit [Read error: Connection reset by peer]
09:44
Asher has joined #ruby-lang
09:46
loincloth has quit [Ping timeout: 245 seconds]
09:48
shuriu has quit [Remote host closed the connection]
09:48
gwendall has joined #ruby-lang
09:49
shuriu has joined #ruby-lang
09:50
rbowlby_ has quit [Remote host closed the connection]
09:58
arBmind1 has quit [Quit: Leaving.]
09:58
Savoyard has joined #ruby-lang
09:59
workmad3 has joined #ruby-lang
10:00
simi has joined #ruby-lang
10:01
kapil__ has quit [Quit: Connection closed for inactivity]
10:02
Savoyard has quit [Ping timeout: 240 seconds]
10:04
charliesome has quit [Quit: zzz]
10:05
jo__ has quit [Quit: Connection closed for inactivity]
10:06
hendranata_ has quit [Ping timeout: 258 seconds]
10:06
Xzanron_ has joined #ruby-lang
10:09
Xzanron has quit [Ping timeout: 258 seconds]
10:14
Xzanron has joined #ruby-lang
10:16
charliesome has joined #ruby-lang
10:17
Xzanron_ has quit [Ping timeout: 272 seconds]
10:18
arBmind has joined #ruby-lang
10:20
gjaldon has quit [Remote host closed the connection]
10:21
mcclurmc has joined #ruby-lang
10:22
benlovell has joined #ruby-lang
10:25
yusuf1 has quit [Quit: Leaving.]
10:25
micaeked has quit [Quit: WeeChat 1.0.1]
10:26
mcclurmc has quit [Ping timeout: 265 seconds]
10:27
charliesome has quit [Quit: zzz]
10:27
arBmind1 has joined #ruby-lang
10:31
arBmind has quit [Ping timeout: 244 seconds]
10:31
arBmind1 has quit [Ping timeout: 245 seconds]
10:33
arBmind has joined #ruby-lang
10:36
kiyote23 has joined #ruby-lang
10:41
kiyote23 has quit [Ping timeout: 265 seconds]
10:42
loincloth has joined #ruby-lang
10:42
charliesome has joined #ruby-lang
10:43
charliesome has quit [Client Quit]
10:43
benlovell has quit [Ping timeout: 265 seconds]
10:43
gwendall has quit [Remote host closed the connection]
10:44
kapil__ has joined #ruby-lang
10:45
Bwild has quit [Ping timeout: 250 seconds]
10:45
benlovell has joined #ruby-lang
10:46
Bwild has joined #ruby-lang
10:47
loincloth has quit [Ping timeout: 245 seconds]
10:50
rbowlby has joined #ruby-lang
10:50
arBmind has quit [Ping timeout: 245 seconds]
10:56
ta_ has quit [Read error: Connection reset by peer]
10:58
mnngfltg has joined #ruby-lang
11:00
ta has joined #ruby-lang
11:00
arBmind has joined #ruby-lang
11:01
stamina has joined #ruby-lang
11:02
yfeldblum has joined #ruby-lang
11:02
stamina has quit [Remote host closed the connection]
11:03
matsutomo has quit [Quit: matsutomo]
11:05
rikkipitt has joined #ruby-lang
11:06
yfeldblum has quit [Ping timeout: 265 seconds]
11:10
matsutomo has joined #ruby-lang
11:10
gwendall has joined #ruby-lang
11:11
VictorBjelkholm has joined #ruby-lang
11:11
VictorBjelkholm has quit [Max SendQ exceeded]
11:15
viillaine has joined #ruby-lang
11:17
viillaine has quit [Client Quit]
11:20
VictorBjelkholm has joined #ruby-lang
11:20
VictorBjelkholm has quit [Max SendQ exceeded]
11:20
postmodern has quit [Remote host closed the connection]
11:20
arBmind1 has joined #ruby-lang
11:20
arBmind has quit [Ping timeout: 240 seconds]
11:21
micechal_ has quit [Read error: Connection reset by peer]
11:23
Savoyard has joined #ruby-lang
11:27
micechal has joined #ruby-lang
11:30
rbowlby has quit [Ping timeout: 245 seconds]
11:33
matsutomo has quit [Quit: matsutomo]
11:40
charliesome has joined #ruby-lang
11:40
spastorino has joined #ruby-lang
11:41
iamninja has quit [Quit: ZZZzzz…]
11:42
loincloth has joined #ruby-lang
11:47
loincloth has quit [Ping timeout: 255 seconds]
11:48
Xzanron has quit [Ping timeout: 244 seconds]
11:49
_elia has joined #ruby-lang
11:49
Xzanron has joined #ruby-lang
11:52
tkuchiki has quit [Remote host closed the connection]
11:52
tkuchiki has joined #ruby-lang
11:52
elia has quit [Ping timeout: 272 seconds]
11:54
arBmind1 has quit [Ping timeout: 265 seconds]
11:55
shuriu has quit [Remote host closed the connection]
11:56
yfeldblum has joined #ruby-lang
11:57
tkuchiki has quit [Ping timeout: 255 seconds]
11:57
shuriu has joined #ruby-lang
12:00
yfeldblum has quit [Ping timeout: 240 seconds]
12:00
kurko__ has joined #ruby-lang
12:00
arBmind has joined #ruby-lang
12:01
octodoodle has quit [Remote host closed the connection]
12:01
qba73 has joined #ruby-lang
12:02
benlovell has quit [Ping timeout: 272 seconds]
12:03
octodoodle has joined #ruby-lang
12:04
shazaum has joined #ruby-lang
12:12
pd has quit [Ping timeout: 260 seconds]
12:12
Iskarlar_ has quit [Max SendQ exceeded]
12:13
hplar_ has quit [Ping timeout: 260 seconds]
12:15
jgpawletko has joined #ruby-lang
12:15
nomadicoder has quit [Ping timeout: 260 seconds]
12:15
Guest85414______ has quit [Ping timeout: 260 seconds]
12:15
henrikhodne has quit [Ping timeout: 260 seconds]
12:17
mLF has quit [Ping timeout: 260 seconds]
12:17
sross07 has quit [Ping timeout: 260 seconds]
12:17
lacrosse__ has quit [Ping timeout: 260 seconds]
12:17
dbussink has quit [Excess Flood]
12:17
ramblinpeck_ has quit [Ping timeout: 260 seconds]
12:17
akahn has quit [Ping timeout: 260 seconds]
12:17
GarethAdams has quit [Ping timeout: 260 seconds]
12:19
GarethAdams has joined #ruby-lang
12:19
phrozen77 has quit [Ping timeout: 260 seconds]
12:19
Xzyx987X_ has quit [Ping timeout: 260 seconds]
12:19
Caius has quit [Ping timeout: 260 seconds]
12:20
dlackty_ has quit [Ping timeout: 260 seconds]
12:20
adambeynon_ has quit [Ping timeout: 260 seconds]
12:21
lele has quit [Ping timeout: 260 seconds]
12:21
chris2 has quit [Ping timeout: 260 seconds]
12:21
manveru has quit [Read error: Connection reset by peer]
12:22
Sgeo_ has joined #ruby-lang
12:22
henrikhodne has joined #ruby-lang
12:22
heftig has quit [Ping timeout: 260 seconds]
12:23
Caius has joined #ruby-lang
12:23
simi has quit [Ping timeout: 260 seconds]
12:23
GaelanAintAround has quit [Ping timeout: 260 seconds]
12:23
blowmage has quit [Ping timeout: 260 seconds]
12:23
GarethAdams has quit [Ping timeout: 260 seconds]
12:23
_whitelogger has quit [Ping timeout: 260 seconds]
12:25
_whitelogger has joined #ruby-lang
12:35
_whitelogger has joined #ruby-lang
12:39
Iskarlar1 has joined #ruby-lang
12:40
Bwild has quit [Quit: leaving]
12:40
Savoyard has quit [Quit: (null)]
12:41
Aova has quit [Remote host closed the connection]
12:42
loincloth has joined #ruby-lang
12:43
charliesome has quit [Quit: zzz]
12:45
[spoiler] has quit [Quit: Leaving]
12:46
loincloth has quit [Ping timeout: 245 seconds]
12:49
<
yorickpeterse >
whitequark: so with the Russian Christmas sale coming up, can I hire you to do some shopping?
12:49
<
yorickpeterse >
whitequark: a co-worker told me everything is already at a 50% discount
12:50
yfeldblum has joined #ruby-lang
12:51
<
whitequark >
the shops are adjusting the prices as they fall
12:52
<
whitequark >
additionally, it's not like anything worthwhile is manufactured locally; just go to aliexpress or something
12:52
<
maloik >
what's this you're talking about? some kind of black friday in russia?
12:52
Caius has joined #ruby-lang
12:52
Torrieri has joined #ruby-lang
12:52
<
yorickpeterse >
whitequark: I'd like to buy 5 tanks please
12:52
<
maloik >
(my eyes are tingling by the thought of cheap gadgets I don't really need)
12:53
<
yorickpeterse >
maloik: Russian Bitcoin is dropping
12:54
<
whitequark >
maloik: RUB has dropped almost 50% in the last ummm
12:54
<
whitequark >
five hours
12:55
yfeldblum has quit [Ping timeout: 256 seconds]
12:55
<
yorickpeterse >
hahaha
12:57
charliesome has joined #ruby-lang
12:57
benlovell has joined #ruby-lang
12:58
<
yorickpeterse >
Meanwhile Dutch news sources aren't covering any of this
12:59
<
whitequark >
they'll catch up in a few days :]
13:00
diegoviola has joined #ruby-lang
13:03
benlovell has quit [Ping timeout: 245 seconds]
13:08
datazombie has joined #ruby-lang
13:08
Caius has quit [*.net *.split]
13:08
Torrieri has quit [*.net *.split]
13:09
scampbell has joined #ruby-lang
13:14
yalue has joined #ruby-lang
13:14
<
apeiros_ >
whitequark: why's that? because of the recent embargos?
13:17
gwendall has joined #ruby-lang
13:18
<
whitequark >
apeiros_: many factors
13:18
rikkipitt has quit [Remote host closed the connection]
13:18
<
whitequark >
OPEC's price war, for example, is a big one
13:21
benlovell has joined #ruby-lang
13:23
snoopybbt has quit [Ping timeout: 250 seconds]
13:25
stamina has joined #ruby-lang
13:25
<
darix >
apeiros_: spiegel.de has a pretty good summary
13:28
diegoviola has quit [Quit: WeeChat 1.0.1]
13:29
[spoiler] has joined #ruby-lang
13:31
Torrieri has joined #ruby-lang
13:33
jxie has quit [Ping timeout: 240 seconds]
13:34
rikkipitt has joined #ruby-lang
13:34
t0rrieri has joined #ruby-lang
13:35
jxie has joined #ruby-lang
13:37
tkuchiki has joined #ruby-lang
13:37
shuriu has quit [Remote host closed the connection]
13:38
leandrosnunes has quit [Ping timeout: 250 seconds]
13:40
shuriu has joined #ruby-lang
13:41
charliesome has quit [Quit: zzz]
13:41
kiyote23 has joined #ruby-lang
13:42
loincloth has joined #ruby-lang
13:44
Manchotix has joined #ruby-lang
13:44
Lewix has joined #ruby-lang
13:44
Lewix has joined #ruby-lang
13:46
kiyote23 has quit [Ping timeout: 258 seconds]
13:46
Torrieri has quit [*.net *.split]
13:47
loincloth has quit [Ping timeout: 255 seconds]
13:48
<
apeiros_ >
thanks darix & whitequark
13:51
Savoyard has joined #ruby-lang
13:55
Savoyard has quit [Ping timeout: 244 seconds]
13:57
fusillicode has joined #ruby-lang
14:01
malconis has joined #ruby-lang
14:05
Savoyard has joined #ruby-lang
14:06
manlycode has joined #ruby-lang
14:14
caseypat_ has quit [Remote host closed the connection]
14:18
jo__ has joined #ruby-lang
14:19
mcclurmc has joined #ruby-lang
14:20
workmad3 has quit [Ping timeout: 245 seconds]
14:20
ta_ has joined #ruby-lang
14:22
dluv has joined #ruby-lang
14:22
justinmcp_ has joined #ruby-lang
14:23
pabs_ has joined #ruby-lang
14:23
hagebake has joined #ruby-lang
14:23
kurko___ has joined #ruby-lang
14:24
setanta has joined #ruby-lang
14:24
chris2_ has joined #ruby-lang
14:24
saltsa has joined #ruby-lang
14:24
chinmay_dd has quit [Quit: Leaving]
14:25
chris2 has quit [Disconnected by services]
14:25
chris2_ is now known as chris2
14:26
setanta has quit [Client Quit]
14:27
kiyote23 has joined #ruby-lang
14:27
RitterJack has quit [Quit: Quitte]
14:28
houhoulis has joined #ruby-lang
14:29
Savoyard has quit [Quit: (null)]
14:29
kiyote23 has quit [Remote host closed the connection]
14:30
neurodam1ge has joined #ruby-lang
14:30
kurko__ has quit [*.net *.split]
14:30
ta has quit [*.net *.split]
14:30
mnngfltg has quit [*.net *.split]
14:30
vondruch has quit [*.net *.split]
14:30
hagabaka has quit [*.net *.split]
14:30
anekos_ has quit [*.net *.split]
14:30
saltsa_ has quit [*.net *.split]
14:30
tzero has quit [*.net *.split]
14:30
neurodamage has quit [*.net *.split]
14:30
zz_dlu has quit [*.net *.split]
14:30
justinmcp has quit [*.net *.split]
14:30
pabs has quit [*.net *.split]
14:30
weaksauce has quit [*.net *.split]
14:30
iamninja has quit [*.net *.split]
14:30
leandrosnunes has joined #ruby-lang
14:30
kiyote23 has joined #ruby-lang
14:31
Iskarlar_ has joined #ruby-lang
14:31
kiyote23 has quit [Remote host closed the connection]
14:31
tzero has joined #ruby-lang
14:31
rikkipitt has quit []
14:32
shazaum has quit [Quit: This computer has gone to sleep]
14:32
anekos_ has joined #ruby-lang
14:32
mnngfltg has joined #ruby-lang
14:32
henrikhodne has joined #ruby-lang
14:34
Iskarlar has quit [Ping timeout: 256 seconds]
14:34
Xzanron has quit [Ping timeout: 264 seconds]
14:35
<
yorickpeterse >
Always nice to see silly snippets like this in our code:
14:35
kiyote23 has joined #ruby-lang
14:35
<
yorickpeterse >
12require 'capybara/rspec'
14:35
<
yorickpeterse >
(minus the 12, that's a line number)
14:36
mattyohe has joined #ruby-lang
14:37
<
apeiros_ >
is that a real guinea pig on a real capybara? o0
14:37
datazombie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:38
sross_work|2 is now known as sross07
14:38
yfeldblum has joined #ruby-lang
14:39
Xzanron has joined #ruby-lang
14:40
<
yorickpeterse >
I think it's a fake sadly
14:42
cornerma1 has joined #ruby-lang
14:43
yfeldblum has quit [Ping timeout: 255 seconds]
14:43
Xzanron_ has joined #ruby-lang
14:44
caseypatrickdris has joined #ruby-lang
14:45
oleo has joined #ruby-lang
14:46
cornerman has quit [Ping timeout: 264 seconds]
14:46
cornerma1 is now known as cornerman
14:46
senor_jalapeno has quit [Ping timeout: 244 seconds]
14:47
Xzanron has quit [Ping timeout: 264 seconds]
14:47
Iskarlar_ has quit [Ping timeout: 258 seconds]
14:48
Iskarlar has joined #ruby-lang
14:48
<
yorickpeterse >
well somebody doesn't like to be confronted with the truth
14:48
<
yorickpeterse >
well, the theoratical truth
14:51
workmad3 has joined #ruby-lang
14:51
spetryk has joined #ruby-lang
14:52
<
rotti_love >
how do output JSON in my controller with a custom root node. Such as books: [usual_stuff]
14:52
Xzanron_ has quit [Quit: Leaving]
14:53
gjaldon has joined #ruby-lang
14:55
Iskarlar_ has joined #ruby-lang
14:57
scampbell has quit [Quit: Leaving]
14:57
shazaum has joined #ruby-lang
14:59
Iskarlar has quit [Ping timeout: 250 seconds]
15:00
<
whitequark >
rotti_love: /join #ror
15:02
kiyote23 has quit [Remote host closed the connection]
15:04
gix has quit [Ping timeout: 272 seconds]
15:05
shambrarian has joined #ruby-lang
15:06
whippythellama has joined #ruby-lang
15:06
nofxx has joined #ruby-lang
15:06
sross_work|2 has joined #ruby-lang
15:07
sross07 has quit [Read error: Connection reset by peer]
15:08
<
rotti_love >
alright!
15:08
kiyote23 has joined #ruby-lang
15:09
gix has joined #ruby-lang
15:12
loincloth has joined #ruby-lang
15:13
kiyote23 has quit [Remote host closed the connection]
15:13
kiyote23 has joined #ruby-lang
15:15
tkuchiki has quit [Remote host closed the connection]
15:16
chinmay_dd has joined #ruby-lang
15:16
tkuchiki has joined #ruby-lang
15:17
rotti_love has quit [Quit: Changing server]
15:17
shinnya has joined #ruby-lang
15:18
gjaldon has quit [Remote host closed the connection]
15:19
senor_jalapeno has joined #ruby-lang
15:19
gjaldon has joined #ruby-lang
15:20
benlovell has quit [Ping timeout: 255 seconds]
15:21
tkuchiki has quit [Ping timeout: 256 seconds]
15:21
sross_work|2 is now known as sross07
15:23
gwendall has quit [Remote host closed the connection]
15:24
mcclurmc has quit [Remote host closed the connection]
15:25
mattyohe has quit [Changing host]
15:25
mattyohe has joined #ruby-lang
15:25
mcclurmc has joined #ruby-lang
15:30
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:32
datazombie has joined #ruby-lang
15:32
yfeldblum has joined #ruby-lang
15:36
simi has quit [Ping timeout: 245 seconds]
15:36
ItSANgo_ has quit [Quit: Leaving...]
15:37
yfeldblum has quit [Ping timeout: 258 seconds]
15:37
kiyote23 has quit [Remote host closed the connection]
15:38
malconis has joined #ruby-lang
15:38
enebo has joined #ruby-lang
15:38
malconis has quit [Read error: Connection reset by peer]
15:41
kapil__ has quit [Quit: Connection closed for inactivity]
15:43
tenderlove has joined #ruby-lang
15:44
malconis has joined #ruby-lang
15:45
gjaldon has quit [Remote host closed the connection]
15:46
gjaldon has joined #ruby-lang
15:48
tenderlo_ has joined #ruby-lang
15:49
pabs_ is now known as pabs
15:50
tenderlove has quit [Ping timeout: 264 seconds]
15:57
mcclurmc has quit [Remote host closed the connection]
15:58
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:59
mistym has joined #ruby-lang
15:59
gwendall has joined #ruby-lang
16:00
caseypatrickdris has quit [Remote host closed the connection]
16:01
vondruch has joined #ruby-lang
16:02
mcclurmc has joined #ruby-lang
16:03
houhoulis has quit [Remote host closed the connection]
16:03
benlovell has joined #ruby-lang
16:09
apeiros_ has quit [Remote host closed the connection]
16:09
ItSANgo has joined #ruby-lang
16:12
caseypatrickdris has joined #ruby-lang
16:13
mcclurmc has quit [Remote host closed the connection]
16:16
malconis has joined #ruby-lang
16:17
Manchotix has quit [Quit: Verlassend]
16:18
havenwood has joined #ruby-lang
16:19
benlovell has quit [Ping timeout: 245 seconds]
16:26
havenwood has quit [Remote host closed the connection]
16:27
yfeldblum has joined #ruby-lang
16:27
senor_jalapeno has quit [Ping timeout: 250 seconds]
16:28
havenwood has joined #ruby-lang
16:29
mcclurmc has joined #ruby-lang
16:31
yfeldblum has quit [Ping timeout: 240 seconds]
16:32
mcclurmc has quit [Remote host closed the connection]
16:33
t0rrieri has quit [Quit: Be back later ...]
16:33
benlovell has joined #ruby-lang
16:33
klmlfl has joined #ruby-lang
16:33
Iskarlar_ has quit [Read error: Connection reset by peer]
16:37
symm- has joined #ruby-lang
16:37
mcclurmc has joined #ruby-lang
16:39
Iskarlar has joined #ruby-lang
16:40
|jemc| has joined #ruby-lang
16:44
mcclurmc has quit [Remote host closed the connection]
16:46
emmesswhy has joined #ruby-lang
16:51
sea6ear has left #ruby-lang [#ruby-lang]
16:52
rbowlby has joined #ruby-lang
16:52
mcclurmc has joined #ruby-lang
16:55
gjaldon has quit [Remote host closed the connection]
16:55
mcclurmc has quit [Remote host closed the connection]
16:56
rbowlby has quit [Ping timeout: 240 seconds]
16:58
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:00
gjaldon has joined #ruby-lang
17:01
mistym has quit [Remote host closed the connection]
17:05
jo__ has quit [Quit: Connection closed for inactivity]
17:05
nertzy has joined #ruby-lang
17:08
ta_ has quit [Remote host closed the connection]
17:10
gjaldon has quit [Remote host closed the connection]
17:11
bb010g has quit [Quit: Connection closed for inactivity]
17:14
benlovell has quit [Ping timeout: 264 seconds]
17:14
fusillicode has quit [Ping timeout: 264 seconds]
17:16
amsi has joined #ruby-lang
17:16
gjaldon has joined #ruby-lang
17:16
solars has quit [Ping timeout: 258 seconds]
17:17
datazombie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:19
gwendall has quit [Remote host closed the connection]
17:20
caseypatrickdris has quit [Remote host closed the connection]
17:20
apeiros_ has joined #ruby-lang
17:21
yfeldblum has joined #ruby-lang
17:21
kiyote23 has joined #ruby-lang
17:22
mistym has joined #ruby-lang
17:22
lele has joined #ruby-lang
17:25
apeiros_ has quit [Ping timeout: 255 seconds]
17:25
RobertBirnie has joined #ruby-lang
17:25
yfeldblum has quit [Ping timeout: 245 seconds]
17:26
apeiros_ has joined #ruby-lang
17:26
djbkd has joined #ruby-lang
17:26
datazombie has joined #ruby-lang
17:27
mLF has quit [Ping timeout: 250 seconds]
17:27
__butch__ has joined #ruby-lang
17:27
klmlfl has quit [Remote host closed the connection]
17:29
stamina has quit [Quit: WeeChat 1.0.1]
17:29
_djbkd has joined #ruby-lang
17:29
tenderlo_ has quit [Quit: Leaving...]
17:30
nertzy has quit [Quit: This computer has gone to sleep]
17:30
emmesswhy has quit [Quit: This computer has gone to sleep]
17:31
tenderlove has joined #ruby-lang
17:31
mcclurmc has joined #ruby-lang
17:31
djbkd has quit [Ping timeout: 265 seconds]
17:32
mcclurmc has quit [Remote host closed the connection]
17:32
bmichelsen has joined #ruby-lang
17:33
t0rrieri has joined #ruby-lang
17:33
_elia has quit [Quit: Computer has gone to sleep.]
17:38
t0rrieri has quit [Ping timeout: 250 seconds]
17:40
shambrarian_ has joined #ruby-lang
17:40
michaeldeol has joined #ruby-lang
17:40
_djbkd has quit [Ping timeout: 250 seconds]
17:40
mnngfltg has quit [Remote host closed the connection]
17:41
kiyote23 has quit [Remote host closed the connection]
17:41
mLF has joined #ruby-lang
17:41
rikkipitt has joined #ruby-lang
17:43
shambrarian has quit [Ping timeout: 258 seconds]
17:43
IFrank00 has joined #ruby-lang
17:45
deol has joined #ruby-lang
17:45
michaeldeol has quit [Read error: Connection reset by peer]
17:47
rbowlby has joined #ruby-lang
17:48
<
IFrank00 >
Español ??
17:49
workmad3 has quit [Ping timeout: 264 seconds]
17:49
shuriu has quit [Remote host closed the connection]
17:50
<
apeiros_ >
IFrank00: english. but there is a spanish ruby channel.
17:50
<
apeiros_ >
#ruby-es or #ruby.es I think
17:51
yfeldblum has joined #ruby-lang
17:51
IFrank00 has left #ruby-lang ["Leaving"]
17:52
fusillicode has joined #ruby-lang
17:53
klmlfl has joined #ruby-lang
17:54
midhir has quit [Read error: Connection timed out]
17:54
fusillicode1 has joined #ruby-lang
17:55
midhir has joined #ruby-lang
17:55
nofxx has quit [Ping timeout: 272 seconds]
17:55
emmesswhy has joined #ruby-lang
17:56
rikkipit_ has joined #ruby-lang
17:57
rikkipitt has quit [Ping timeout: 256 seconds]
17:57
fusillicode has quit [Ping timeout: 272 seconds]
17:58
spetryk has quit [Quit: Be back later ...]
18:00
Savoyard has joined #ruby-lang
18:01
wallerdev has joined #ruby-lang
18:02
senor_jalapeno has joined #ruby-lang
18:07
chouhoul_ has joined #ruby-lang
18:08
skade has joined #ruby-lang
18:09
nofxx has joined #ruby-lang
18:09
nofxx has quit [Changing host]
18:09
nofxx has joined #ruby-lang
18:09
centrx has joined #ruby-lang
18:10
chouhoulis has quit [Ping timeout: 255 seconds]
18:12
Miphix has quit [Quit: Leaving]
18:14
gjaldon has quit [Remote host closed the connection]
18:19
nofxx_ has joined #ruby-lang
18:19
nofxx_ has joined #ruby-lang
18:20
skade has quit [Quit: Computer has gone to sleep.]
18:20
nofxx has quit [Ping timeout: 250 seconds]
18:20
benlovell has joined #ruby-lang
18:24
benlovell has quit [Ping timeout: 240 seconds]
18:28
imperator has joined #ruby-lang
18:29
senor_jalapeno has quit [Ping timeout: 256 seconds]
18:30
gwendall has joined #ruby-lang
18:31
seank_ has quit [Read error: No route to host]
18:31
seank_ has joined #ruby-lang
18:31
nofxx_ has quit [Ping timeout: 255 seconds]
18:34
yfeldblum has quit [Remote host closed the connection]
18:34
t0rrieri has joined #ruby-lang
18:34
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:35
caseypatrickdris has joined #ruby-lang
18:38
iamninja has joined #ruby-lang
18:39
t0rrieri has quit [Ping timeout: 272 seconds]
18:40
sarkyniin has joined #ruby-lang
18:40
caseypatrickdris has quit [Ping timeout: 272 seconds]
18:42
gjaldon has joined #ruby-lang
18:43
hahuang65 has joined #ruby-lang
18:43
ta has joined #ruby-lang
18:44
gjaldon has quit [Client Quit]
18:47
caseypatrickdris has joined #ruby-lang
18:47
kerunaru has joined #ruby-lang
18:51
oleo is now known as Guest17950
18:51
oleo__ has joined #ruby-lang
18:52
t0rrieri has joined #ruby-lang
18:52
Guest17950 has quit [Ping timeout: 245 seconds]
18:52
oleo__ has quit [Read error: Connection reset by peer]
18:53
oleo__ has joined #ruby-lang
18:53
yfeldblum has joined #ruby-lang
18:54
oleo__ is now known as oleo
18:56
seanosaur has joined #ruby-lang
18:58
yfeldblum has quit [Ping timeout: 250 seconds]
18:59
skade has joined #ruby-lang
19:01
Savoyard has quit [Quit: (null)]
19:01
mcclurmc has joined #ruby-lang
19:01
eristic_ is now known as eristic
19:03
Lewix has quit [Remote host closed the connection]
19:05
malconis has joined #ruby-lang
19:05
chouhoulis has joined #ruby-lang
19:06
mcclurmc has quit [Ping timeout: 256 seconds]
19:06
sarkyniin has quit [Ping timeout: 255 seconds]
19:06
sarkyniin has joined #ruby-lang
19:09
momomomomo has joined #ruby-lang
19:09
chouhoul_ has quit [Ping timeout: 240 seconds]
19:10
oleo has quit [Quit: Verlassend]
19:12
rikkipit_ has quit [Remote host closed the connection]
19:13
Savoyard has joined #ruby-lang
19:18
senor_jalapeno has joined #ruby-lang
19:19
oleo has joined #ruby-lang
19:20
AmirolAhmad has quit [Remote host closed the connection]
19:20
iamninja has quit [Max SendQ exceeded]
19:20
andrewck has joined #ruby-lang
19:21
rippa has joined #ruby-lang
19:21
ur5us has joined #ruby-lang
19:22
iamninja has joined #ruby-lang
19:22
kiyote23 has joined #ruby-lang
19:23
ur5us has quit [Read error: Connection reset by peer]
19:23
ur5us_ has joined #ruby-lang
19:23
andrewck is now known as calebk
19:23
calebk has left #ruby-lang [#ruby-lang]
19:23
calebk has joined #ruby-lang
19:26
<
calebk >
does anyone have experience with threading in ruby?
19:26
Lewix has joined #ruby-lang
19:27
<
apeiros_ >
oh, no helpa
19:27
<
ljarvis >
calebk: lots of people
19:27
<
ljarvis >
ask your question if you have one
19:27
<
apeiros_ >
calebk: don't ask to ask. ask your question.
19:28
<
apeiros_ >
a "yes" as answer to your previous question does not guarantee an answer to your real question anyway.
19:28
<
apeiros_ >
and vice versa
19:28
<
calebk >
ok, well I wrote my first code in Ruby this week :), and I stumbled on a problem where when I spawn new threads off a loop, only the first index of that loop issues a new thread
19:29
<
calebk >
I’m stumped as to why this occurs
19:29
<
|jemc| >
calebk: paste your code to gist.github.com
19:29
oleo has quit [Quit: Verlassend]
19:30
imperator has quit [Quit: Leaving]
19:30
<
apeiros_ >
calebk: your first week of ruby. and you wrote this?
19:30
<
|jemc| >
calebk: how are you measuring that only one thread is created?
19:31
mcclurmc has joined #ruby-lang
19:31
<
calebk >
I put a line in the loop after changing it to each_with index ‘puts ‘#{i}’”
19:31
<
calebk >
as a counter
19:31
<
calebk >
it always continues on 0 index
19:32
<
calebk >
but it doesn’t do the 1 and so on
19:32
<
|jemc| >
you're talking about L105-L111?
19:33
<
|jemc| >
so your question is, why does the loop run only once, not why is only one thread spawned?
19:33
<
calebk >
yeah… because inqueue_addy has a array of items to each have its own thread
19:33
<
calebk >
is that because I’m calling back on the instance?
19:33
<
calebk >
it can only do one?
19:34
<
|jemc| >
what is the value of inqueue_addy.size just before your loop?
19:34
<
calebk >
well for the demo address
19:34
havenwood has quit [Remote host closed the connection]
19:35
<
apeiros_ >
you add to an unsynchronized array in a thread
19:35
mcclurmc has quit [Remote host closed the connection]
19:35
<
calebk >
I only noticed this as I was converting the code to output a gexf instead of json
19:35
<
apeiros_ >
you might well have joined over the whole array before any new thread has been added
19:36
<
apeiros_ >
and since you went through that part already, the rest of your program runs and any thread being added later will simply be terminated
19:36
<
calebk >
wait… are you referring to the allthreads array?
19:36
<
|jemc| >
calebk: basically, make sure you're not mutating the array as you iterator over it
19:37
<
apeiros_ >
remember, Thread.new do …code in here may be executed any time later … end
19:37
<
apeiros_ >
so start.alltxs(…) might return quite quickly, spawning a thread. that thread not being yet scheduled. next line you join.
19:37
oleo has joined #ruby-lang
19:37
<
calebk >
that makes more sense
19:38
<
calebk >
sigh… i thought it was running fine before I published to git, hubris
19:38
<
apeiros_ >
also again, you mutate an unsynchronized datastructure. bad idea.
19:39
<
calebk >
what are my options then?
19:39
<
|jemc| >
calebk: have you seen Queue?
19:39
<
|jemc| >
(the builtin threadsafe queue object)
19:39
<
apeiros_ >
various. one is to rerun the join if the size of the array changed.
19:39
robbyoconnor has quit [Ping timeout: 245 seconds]
19:40
<
apeiros_ >
another is to redesign this into a job queue with worker threads
19:40
<
calebk >
i saw some random snippets online, but i haven’t seen anything concrete that gives me an idea of production code
19:40
<
apeiros_ >
as for unsync array: use a mutex around your mutation and read
19:40
mcclurmc has joined #ruby-lang
19:41
<
calebk >
a mutex on the threadpool array itself?
19:41
<
|jemc| >
calebk: using Queue is pretty simple - a producer thread can queue.push(task) and a consumer thread can task = queue.pop - you should be able to search around and find some relevant patterns
19:41
bmichelsen has quit [Quit: ZZZzzz…]
19:41
<
apeiros_ >
since you're new to ruby: @@class_variables are frowned upon as they usually don't work the way people think they do
19:42
<
apeiros_ >
addendum @ |jemc| Queue: any thread can push work
19:42
<
apeiros_ >
calebk: and: congrats to your first ruby code :)
19:42
<
ljarvis >
beats my first ruby code
19:42
<
apeiros_ >
other info: community standard is 2 space for indent
19:43
godd2 has quit [Ping timeout: 264 seconds]
19:43
<
|jemc| >
as apeiros_ mentioned, Queue does not restrict who pops and who pushes - but you need to come up with a structured pattern for your code
19:43
<
|jemc| >
(whatever that pattern is)
19:43
<
apeiros_ >
|jemc|: yes, but with a crawler it makes a lot of sense that the workers themselves add more work
19:43
kurko___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:43
<
|jemc| >
apeiros_: sure
19:43
<
apeiros_ >
and skimming over his code, it looks… "crawly"
19:43
<
ljarvis >
also consider using Set (require 'set') rather than trying to re-implement it
19:44
<
apeiros_ >
calebk: on another note:
*nothing* in ruby is thread-safe unless it explicitly states to be.
19:44
godd2 has joined #ruby-lang
19:45
<
apeiros_ >
a lot of things will work even without proper use of mutexes. don't be fooled by this. this is mostly an effect of rather long scheduling times.
19:45
<
calebk >
ah, yeah I figured that part out, i was reading up on mutex and thread-locking, and this was my first attempt to overcome the workers creating subworkers issue
19:46
<
|jemc| >
calebk: it can sometimes be hard to find good examples of threaded code in ruby as many ruby users would rather tuck their heads in the sand and not touch threads - be sure you also check out both Monitor and ConditionVariable if you want to improve your ruby threading 'vocabulary' with more primitives
19:46
<
calebk >
ty for the insight
19:47
<
calebk >
i figured out would do something more elegant for my next project in ruby, but I just kind of wanted this code to be functional rather than write the whole thing
19:48
<
calebk >
this was more a learning experience for ruby syntax, and it ended up to a procedural stuff that stumped me
19:49
<
apeiros_ >
seems quite find for first code
19:49
<
apeiros_ >
I assume you coded in other languages before?
19:49
<
|jemc| >
calebk: it's always good to learn by trying to accomplish a task you actually need done
19:50
<
calebk >
yup, proficient in other languages to varying degrees
19:51
nofxx_ has joined #ruby-lang
19:59
yalue has quit [Quit: return 0;]
20:00
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:01
wallerdev has quit [Quit: wallerdev]
20:03
weaksauce has joined #ruby-lang
20:06
dagda1 has joined #ruby-lang
20:06
wallerdev has joined #ruby-lang
20:07
chinmay_dd has quit [Quit: Leaving]
20:08
rubyjoe99 has joined #ruby-lang
20:09
<
rubyjoe99 >
hi everyone.
20:12
shinnya has quit [Ping timeout: 272 seconds]
20:14
shazaum has quit [Quit: Leaving]
20:17
shinnya has joined #ruby-lang
20:18
stamina has joined #ruby-lang
20:20
gianlucadv has quit [Ping timeout: 250 seconds]
20:21
JohnBat26 has joined #ruby-lang
20:28
bmichelsen has joined #ruby-lang
20:32
stef204 has joined #ruby-lang
20:36
ur5us has joined #ruby-lang
20:37
wallerdev has quit [Quit: wallerdev]
20:39
ur5us_ has quit [Ping timeout: 258 seconds]
20:39
arBmind has quit [Ping timeout: 264 seconds]
20:47
jamo has quit [Disconnected by services]
20:47
jamo_ is now known as Jamo
20:51
zeba has joined #ruby-lang
20:51
stamina has quit [Ping timeout: 272 seconds]
20:53
sarkyniin has quit [Ping timeout: 245 seconds]
20:56
emmesswhy has quit [Quit: This computer has gone to sleep]
20:57
mistym has quit [Quit: Leaving...]
20:58
[spoiler] has quit [Quit: Leaving]
21:02
chills42 has quit [Remote host closed the connection]
21:03
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:03
wallerdev has joined #ruby-lang
21:06
calebk has quit [Ping timeout: 245 seconds]
21:07
Sadin has joined #ruby-lang
21:07
_fritchie has joined #ruby-lang
21:09
klmlfl has quit [Remote host closed the connection]
21:09
klmlfl has joined #ruby-lang
21:09
momomomomo has quit [Ping timeout: 265 seconds]
21:10
Sadin has quit [Client Quit]
21:10
momomomomo has joined #ruby-lang
21:12
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:12
Sadin has joined #ruby-lang
21:13
zeba has quit [Ping timeout: 240 seconds]
21:14
mLF has quit [Ping timeout: 264 seconds]
21:15
calebk has joined #ruby-lang
21:16
stamina has joined #ruby-lang
21:19
calebk has quit [Ping timeout: 264 seconds]
21:22
workmad3 has joined #ruby-lang
21:27
workmad3 has quit [Ping timeout: 250 seconds]
21:37
symm- has quit [Ping timeout: 240 seconds]
21:38
senor_jalapeno has quit [Ping timeout: 250 seconds]
21:41
momomomomo_ has joined #ruby-lang
21:42
momomomomo has quit [Ping timeout: 250 seconds]
21:42
momomomomo_ is now known as momomomomo
21:43
arBmind has joined #ruby-lang
21:46
mistym has joined #ruby-lang
21:47
jkad1 has joined #ruby-lang
21:52
dorei has joined #ruby-lang
21:58
mustmodify has joined #ruby-lang
21:58
<
mustmodify >
I really like Ruby but this is ... border line humiliating. `Math.log(1000, 10)` => `2.99999` yeah, it's not ruby. Still, that sucks.
22:01
dagda1 has joined #ruby-lang
22:01
caseypatrickdris has quit [Remote host closed the connection]
22:02
klmlfl has quit [Remote host closed the connection]
22:04
djbkd has joined #ruby-lang
22:04
<
womble >
>> Math.log(1000, 10)
22:05
<
womble >
mustmodify: The joys of floating point arithmetic.
22:05
<
womble >
>> Math.log(1000, 10).round
22:05
<
godd2 >
With great precision comes great responsibility
22:05
JohnBat26 has quit [Ping timeout: 250 seconds]
22:05
<
womble >
>> Math.log(1000, 10).round(5)
22:05
<
womble >
godd2: Too right.
22:06
senor_jalapeno has joined #ruby-lang
22:06
<
womble >
>> Math.log(1000, 10).round(15)
22:06
<
womble >
How many sig figs do you really need, anyway?
22:06
<
godd2 >
all of them
22:06
<
womble >
ALL THE SIG FIGS
22:06
<
centrx >
To be fair, real numbers aren't real
22:07
<
womble >
At least they're not just figments of our imaginations
22:07
<
godd2 >
How Can Numbers Be Real If Our Eyes Aren't Real?
22:07
<
womble >
Like that crazy upstart j
22:07
<
womble >
(Or i, if you're not an engineer)
22:07
<
godd2 >
engineers use j for sqrt(-1) ?
22:10
momomomomo has quit [Quit: momomomomo]
22:10
skade has quit [Quit: Computer has gone to sleep.]
22:10
<
womble >
Well, electrical engineers, anyway. i was already in use for current.
22:10
<
womble >
We've had our coulombs longer than we've had square roots, apparently.
22:11
leandrosnunes has quit [Ping timeout: 265 seconds]
22:12
skade has joined #ruby-lang
22:17
iamninja has quit [Quit: ZZZzzz…]
22:20
AmirolAhmad has joined #ruby-lang
22:21
linc01n_ has quit [Ping timeout: 258 seconds]
22:22
seanosaur has quit []
22:22
linc01n has joined #ruby-lang
22:22
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
22:23
benanne has joined #ruby-lang
22:23
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:23
calebk has joined #ruby-lang
22:24
malconis has joined #ruby-lang
22:24
GBrawl has joined #ruby-lang
22:25
AmirolAhmad has quit [Ping timeout: 256 seconds]
22:27
klmlfl has joined #ruby-lang
22:29
momomomomo has joined #ruby-lang
22:31
__butch__ has quit [Quit: Leaving.]
22:34
RobertBirnie has quit [Ping timeout: 264 seconds]
22:36
jgpawletko has quit [Quit: jgpawletko]
22:36
seamon has joined #ruby-lang
22:36
rubyjoe99 has quit [Ping timeout: 246 seconds]
22:36
RobertBirnie has joined #ruby-lang
22:36
seamon is now known as lha
22:37
lha has quit [Client Quit]
22:38
leandrosnunes has joined #ruby-lang
22:41
momomomomo_ has joined #ruby-lang
22:42
lha has joined #ruby-lang
22:42
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:43
zeba has joined #ruby-lang
22:44
momomomomo has quit [Ping timeout: 255 seconds]
22:44
momomomomo_ is now known as momomomomo
22:45
yfeldblum has joined #ruby-lang
22:47
shambrarian_ has quit [Quit: bye!]
22:48
momomomomo has quit [Quit: momomomomo]
22:49
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:52
dagda1 has joined #ruby-lang
22:52
elia has joined #ruby-lang
22:54
seamon has joined #ruby-lang
22:56
<
bougyman >
TIL named capture doesn't work in an interpolated regex
22:57
arBmind has quit [Quit: Leaving.]
22:58
<
bougyman >
even with a regex in a var.
22:58
<
bougyman >
[3] pry(main)> r1 = /(?<time>\d\d:\d\d:\d\d)/; r1 =~ '10:10:10'; time
22:58
<
bougyman >
NameError: undefined local variable or method `time' for main:Object
22:58
<
bougyman >
/(?<time>\d\d:\d\d:\d\d)/ =~ '10:10:10 '; time
22:58
<
bougyman >
=> "10:10:10"
22:58
havenwood has joined #ruby-lang
22:59
<
apeiros_ >
because otherwise you'd have dynamic local variables
22:59
<
bougyman >
I know that.
22:59
<
bougyman >
I understand why
22:59
<
bougyman >
just wasn't thinking about it when I tried to use it.
23:00
Savoyard has quit [Quit: (null)]
23:00
elia has quit [Quit: Computer has gone to sleep.]
23:00
<
bougyman >
back to r1.match('10:10:10')[:time]
23:01
<
bougyman >
which gives nil if it doesn't match, so need assignment, ugh.
23:01
manlycode has quit [Quit: Lost terminal]
23:01
<
apeiros_ >
>> r1 = /(?<time>\d\d:\d\d:\d\d)/; '10:10:10'[r, :time]
23:01
<
apeiros_ >
>> r1 = /(?<time>\d\d:\d\d:\d\d)/; '10:10:10'[r1, :time]
23:01
<
apeiros_ >
you can thank me later :-p
23:02
<
bougyman >
but I still need assingment there.
23:02
seamon has quit [Remote host closed the connection]
23:02
kurko__ has joined #ruby-lang
23:02
<
apeiros_ >
you don't need a temporary to check against non-match
23:04
<
bougyman >
also, i need :time, :nick, :message
23:04
<
apeiros_ >
ah well, then you're screwed
23:05
<
apeiros_ >
parsing irc logs?
23:06
<
bougyman >
if /(?<time>\d\d:\d\d:\d\d) <[@+ ](?<nick>[^>]+)> (?<message>.*)$/ =~ line
23:06
<
bougyman >
[time, nick, message]
23:06
<
bougyman >
elsif /(?<time>\d\d:\d\d:\d\d) * (?<message>(?<nick>[^ ]*) .*)/ =~ line
23:06
<
bougyman >
[time, nick, message]
23:06
<
bougyman >
yeah, old irssi logs
23:06
<
bougyman >
woops, mispaste
23:06
postmodern has joined #ruby-lang
23:07
stamina has quit [Quit: WeeChat 1.0.1]
23:07
elia has joined #ruby-lang
23:09
cleopatra has joined #ruby-lang
23:10
zeba has left #ruby-lang ["Leaving..."]
23:11
workmad3 has joined #ruby-lang
23:11
skade has quit [Quit: Computer has gone to sleep.]
23:12
momomomomo has joined #ruby-lang
23:12
jkad1 has quit [Quit: WeeChat 1.0.1]
23:14
<
bougyman >
bur I can't even interpolate strings inside of those or they break.
23:14
senor_jalapeno has quit [Ping timeout: 255 seconds]
23:14
<
bougyman >
like if I try to turn \d\d:\d\d:\d\d into a string and interpolate. The regex still matches so it passes to the next line where nick and message have values but 'time' is undefined.
23:14
kerunaru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:15
<
bougyman >
weird behavior.
23:15
seamon has joined #ruby-lang
23:16
workmad3 has quit [Ping timeout: 272 seconds]
23:17
enebo has quit [Quit: enebo]
23:25
spasedgoat has joined #ruby-lang
23:28
spetryk has joined #ruby-lang
23:33
whippythellama has quit [Quit: whippythellama]
23:36
klmlfl has quit [Ping timeout: 258 seconds]
23:37
GBrawl has quit [Quit: (null)]
23:39
havenwood has quit [Remote host closed the connection]
23:47
elia has quit [Quit: Computer has gone to sleep.]
23:50
Iskarlar has joined #ruby-lang
23:52
Iskarlar has quit [Client Quit]
23:53
Iskarlar has joined #ruby-lang
23:58
caseypatrickdris has joined #ruby-lang