00:02
tomzx has left #ruby-lang [#ruby-lang]
00:03
Torrieri has quit [Ping timeout: 244 seconds]
00:06
postmodern has joined #ruby-lang
00:07
tomzx has joined #ruby-lang
00:09
tomzx has quit [Client Quit]
00:10
outoftime has joined #ruby-lang
00:17
<
zenspider >
holy fuck maglev is fast
00:17
<
zenspider >
it's been too long since I've played in this space
00:18
mistym has quit [Remote host closed the connection]
00:20
<
zenspider >
mri is 79x slower in their pstore/gstore benchmark :O
00:22
<
zenspider >
huh... and it is worse on a 2.0 mri than 1.8... odd
00:26
outoftime has quit [Quit: Leaving]
00:28
kurko_ has joined #ruby-lang
00:28
telemachus has quit [Ping timeout: 264 seconds]
00:29
<
zenspider >
70x slower overall (wallclock) w/ mri 2... that's impressive
00:30
espinet has quit [Quit: espinet]
00:30
telemachus has joined #ruby-lang
00:33
andrewhl has quit [Remote host closed the connection]
00:35
soahccc is now known as soahccc`
00:37
Zyclops1 has quit [Quit: Leaving.]
00:37
T_Rex_ has joined #ruby-lang
00:38
jsilver has quit [Remote host closed the connection]
00:39
stardiviner has joined #ruby-lang
00:40
neoesque has joined #ruby-lang
00:44
<
jperry2_ >
anyone know when rspec 2.11 will be released?
00:44
<
jperry2_ >
oh looks like it was released
00:45
<
zenspider >
not soon enough
00:45
kurko_ has quit [Quit: This computer has gone to sleep]
00:46
gregf has quit [Read error: Connection reset by peer]
00:49
hynkle has quit [Quit: Computer has gone to sleep.]
00:50
daniellutz_ has quit [Quit: daniellutz_]
00:50
gregf has joined #ruby-lang
00:56
hynkle has joined #ruby-lang
00:57
kurko_ has joined #ruby-lang
00:58
dumfries has quit [Excess Flood]
01:00
dumfries has joined #ruby-lang
01:01
msaffitz has quit [Quit: Computer has gone to sleep.]
01:01
gix has quit [Ping timeout: 246 seconds]
01:04
bryancp has joined #ruby-lang
01:04
bryancp has quit [Remote host closed the connection]
01:05
dvorak has quit [Remote host closed the connection]
01:05
jtoy has quit [Quit: jtoy]
01:07
gix has joined #ruby-lang
01:07
mrsolo has quit [Quit: Leaving]
01:08
dvorak has joined #ruby-lang
01:09
banisterfiend has quit [Remote host closed the connection]
01:09
banisterfiend has joined #ruby-lang
01:09
banisterfiend has quit [Read error: Connection reset by peer]
01:10
hynkle has quit [Quit: Computer has gone to sleep.]
01:10
banisterfiend has joined #ruby-lang
01:11
msaffitz has joined #ruby-lang
01:11
tjadc has quit [Read error: Connection reset by peer]
01:12
Zyclops1 has joined #ruby-lang
01:15
ando has joined #ruby-lang
01:15
ando has quit [Client Quit]
01:16
Torrieri has joined #ruby-lang
01:16
Torrieri has quit [Changing host]
01:16
Torrieri has joined #ruby-lang
01:18
Sambaler_ has joined #ruby-lang
01:21
nazty has joined #ruby-lang
01:22
mistym has joined #ruby-lang
01:22
<
ryanf >
I didn't realize maglev was supposed to be fast. I thought it was just an MRI fork grafted onto their object DB?
01:22
Sambalero has quit [Ping timeout: 265 seconds]
01:22
mistym has quit [Changing host]
01:22
CodeBlock has quit [Excess Flood]
01:22
mistym has joined #ruby-lang
01:24
<
ryanf >
oh, it has its own JIT
01:24
<
zenspider >
ryanf: no, it is supposed to be fast... they're smalltalk vm experts
01:24
<
zenspider >
and it is more like cleanroom + rubinius ... not a fork of mri at all
01:24
Zyclops1 has left #ruby-lang [#ruby-lang]
01:25
<
ryanf >
apparently I was misinformed
01:25
<
ryanf >
well, that makes it even more interesting. cool.
01:26
fgomez has joined #ruby-lang
01:27
msaffitz has quit [Quit: Computer has gone to sleep.]
01:27
<
zenspider >
damnit this is awesome. I've been stupid for staying away for so long.
01:27
<
zenspider >
persistable lambdas... continuations... fuck me
01:28
seanstickle has quit [Quit: Nihil sub sole novum]
01:29
CodeBlock has joined #ruby-lang
01:31
perryh_away is now known as perryh
01:33
ttilley_off is now known as ttilley
01:37
andrewhl has joined #ruby-lang
01:37
akira989 has quit [Remote host closed the connection]
01:39
neocoin has joined #ruby-lang
01:40
nazty has quit [Ping timeout: 250 seconds]
01:40
kurko_ has quit [Quit: This computer has gone to sleep]
01:45
heftig has quit [Remote host closed the connection]
01:45
heftig has joined #ruby-lang
01:47
JustinCampbell has quit [Remote host closed the connection]
01:49
kurko_ has joined #ruby-lang
01:51
perryh is now known as perry
01:51
brianpWins has quit [Quit: brianpWins]
01:53
woollyams has joined #ruby-lang
01:56
Z33K|Lux has joined #ruby-lang
02:01
kvirani has joined #ruby-lang
02:04
sepp2k1 has quit [Read error: Connection reset by peer]
02:05
andrewhl has quit [Remote host closed the connection]
02:12
bglusman has joined #ruby-lang
02:17
rippa has joined #ruby-lang
02:18
savage- has quit [Read error: Connection reset by peer]
02:23
apeiros_ has joined #ruby-lang
02:24
chutwig has joined #ruby-lang
02:24
nazty has joined #ruby-lang
02:26
Torrieri has quit [Read error: Operation timed out]
02:28
apeiros_ has quit [Ping timeout: 255 seconds]
02:28
krz has quit [Quit: krz]
02:31
krz has joined #ruby-lang
02:33
cirenyc has joined #ruby-lang
02:33
sailias has quit [Quit: Leaving.]
02:37
ramonmaruko has quit [Remote host closed the connection]
02:39
msaffitz has joined #ruby-lang
02:39
ramonmaruko has joined #ruby-lang
02:41
alindeman has quit [Read error: Connection reset by peer]
02:41
kvirani_ has joined #ruby-lang
02:42
kurko__ has joined #ruby-lang
02:42
kvirani has quit [Read error: Connection reset by peer]
02:43
kurko_ has quit [Ping timeout: 244 seconds]
02:43
andrewhl has joined #ruby-lang
02:52
alindeman has joined #ruby-lang
02:52
jxie has quit [Read error: Connection reset by peer]
02:52
jxie has joined #ruby-lang
02:53
Torrieri has joined #ruby-lang
02:54
jsilver has joined #ruby-lang
02:59
pbjorklu1d has joined #ruby-lang
03:00
s0ra_h is now known as sora_h
03:01
ramonmaruko has quit [Remote host closed the connection]
03:02
pbjorklund has quit [Read error: Operation timed out]
03:03
ramonmaruko has joined #ruby-lang
03:08
ramonmaruko has quit [Remote host closed the connection]
03:09
alindeman has quit [Ping timeout: 240 seconds]
03:10
espinet has joined #ruby-lang
03:11
ramonmaruko has joined #ruby-lang
03:19
Tearan has quit [Ping timeout: 244 seconds]
03:19
Tearan has joined #ruby-lang
03:19
jperry2_ has quit [Quit: jperry2_]
03:26
wallerdev has quit [Quit: wallerdev]
03:26
wallerdev has joined #ruby-lang
03:26
andrewhl has quit [Remote host closed the connection]
03:28
andrewhl has joined #ruby-lang
03:29
dhruvasagar has joined #ruby-lang
03:30
sailias has joined #ruby-lang
03:32
jtoy has joined #ruby-lang
03:34
savage- has joined #ruby-lang
03:37
dhruvasagar has quit [Read error: Connection reset by peer]
03:38
espinet has quit [Quit: espinet]
03:39
dhruvasagar has joined #ruby-lang
03:42
wasnotrice has joined #ruby-lang
03:44
savage- has quit [Read error: Connection reset by peer]
03:44
savage-_ has joined #ruby-lang
03:52
jsilver has quit [Remote host closed the connection]
03:54
igotnolegs has joined #ruby-lang
03:55
wasnotrice has left #ruby-lang ["Leaving..."]
04:00
neoesque has quit [Ping timeout: 264 seconds]
04:02
sailias has quit [Quit: Leaving.]
04:02
kurko__ has quit [Quit: This computer has gone to sleep]
04:05
savage-_ has quit [Remote host closed the connection]
04:16
<
nazty >
anyone around
04:17
dhruvasagar has quit [Ping timeout: 264 seconds]
04:18
mistym has quit [Remote host closed the connection]
04:23
savage- has joined #ruby-lang
04:23
msaffitz has quit [Quit: Computer has gone to sleep.]
04:24
wpaulson has joined #ruby-lang
04:25
jsilver has joined #ruby-lang
04:25
jsilver has quit [Remote host closed the connection]
04:26
jsilver has joined #ruby-lang
04:26
jsilver has quit [Remote host closed the connection]
04:29
erpuds has quit [Quit: erpuds]
04:30
<
zenspider >
nazty: nope
04:31
sailias has joined #ruby-lang
04:33
slyphon has quit [Ping timeout: 245 seconds]
04:33
rohit has joined #ruby-lang
04:36
gregmore_ has joined #ruby-lang
04:37
havenn has joined #ruby-lang
04:38
gregmoreno has quit [Ping timeout: 246 seconds]
04:42
frem has quit [Quit: Farewell!]
04:43
jtoy has quit [Quit: jtoy]
04:43
akira989 has joined #ruby-lang
04:46
Torrieri has quit [Ping timeout: 244 seconds]
04:50
ryanf has quit [Read error: Operation timed out]
04:51
rindolf has joined #ruby-lang
04:51
wasnotrice has joined #ruby-lang
04:52
imperator has joined #ruby-lang
04:53
brianpWins has joined #ruby-lang
04:55
havenn has quit [Remote host closed the connection]
04:55
wpaulson has joined #ruby-lang
05:02
sailias has quit [Ping timeout: 264 seconds]
05:03
agile has quit [Remote host closed the connection]
05:03
petercooper has quit [Remote host closed the connection]
05:04
rindolf has quit [Ping timeout: 244 seconds]
05:05
ruurd has joined #ruby-lang
05:16
Ober has quit [Ping timeout: 240 seconds]
05:19
d3vic3 has quit [Read error: Operation timed out]
05:20
ryanf has joined #ruby-lang
05:22
d3vic3 has joined #ruby-lang
05:25
livinded has quit [Remote host closed the connection]
05:26
savage- has quit [Remote host closed the connection]
05:28
rohit has quit [Read error: Connection reset by peer]
05:31
jaimef has joined #ruby-lang
05:32
T_Rex_ has quit [Quit: T_Rex_]
05:37
woollyams has quit [Read error: Connection reset by peer]
05:41
Torrieri has joined #ruby-lang
05:41
yumike has joined #ruby-lang
05:42
woollyams has joined #ruby-lang
05:45
hahuang65 has joined #ruby-lang
05:45
crudson has quit [Remote host closed the connection]
05:45
Z33K|Lux has quit []
05:48
savage- has joined #ruby-lang
05:48
dhruvasagar has joined #ruby-lang
05:54
dc5ala has joined #ruby-lang
05:55
yxhuvud has joined #ruby-lang
06:06
neoesque has joined #ruby-lang
06:09
rindolf has joined #ruby-lang
06:09
akira989 has quit [Read error: Connection reset by peer]
06:12
jtoy has joined #ruby-lang
06:17
ruurd has quit [Quit: Leaving...]
06:25
perry is now known as perryh_away
06:25
jtoy has quit [Quit: jtoy]
06:27
|Vargas| has joined #ruby-lang
06:27
|Vargas| has quit [Changing host]
06:27
|Vargas| has joined #ruby-lang
06:29
andrewhl has quit [Remote host closed the connection]
06:32
JohnBat26 has joined #ruby-lang
06:34
banisterfiend has quit [Ping timeout: 265 seconds]
06:35
woollyams has quit [Quit: Computer has gone to sleep.]
06:35
savage- has quit [Remote host closed the connection]
06:37
rushed has joined #ruby-lang
06:43
saLOUt has joined #ruby-lang
06:43
tonni has quit [Remote host closed the connection]
06:43
banisterfiend has joined #ruby-lang
06:44
savage- has joined #ruby-lang
06:46
banisterfiend has quit [Read error: Connection reset by peer]
06:46
banisterfiend` has joined #ruby-lang
06:49
tonni has joined #ruby-lang
06:50
zerdliu has joined #ruby-lang
06:51
scientes has quit [Ping timeout: 264 seconds]
06:52
gsav has joined #ruby-lang
06:52
zerdliu has quit [Client Quit]
06:53
zerdliu has joined #ruby-lang
06:53
solars has joined #ruby-lang
06:53
brianpWins has quit [Quit: brianpWins]
06:53
zerdliu has quit [Client Quit]
06:54
zerdliu has joined #ruby-lang
06:55
ruurd has joined #ruby-lang
06:55
gsav has quit [Read error: Connection reset by peer]
06:56
gsav has joined #ruby-lang
06:57
tjadc has joined #ruby-lang
06:58
Sambaler_ has quit [Remote host closed the connection]
06:59
zmack has joined #ruby-lang
06:59
flak has joined #ruby-lang
07:00
flak is now known as Guest347
07:01
iamlacroix has joined #ruby-lang
07:01
rippa has quit [Ping timeout: 245 seconds]
07:01
imperator has quit [Quit: This computer has gone to sleep]
07:04
ruurd_ has joined #ruby-lang
07:04
ruurd_ is now known as Guest12220
07:06
ruurd has quit [Ping timeout: 240 seconds]
07:07
brianpWins has joined #ruby-lang
07:07
Tearan has quit [Ping timeout: 252 seconds]
07:08
AlHafoudh has joined #ruby-lang
07:09
Tearan has joined #ruby-lang
07:10
mssola has joined #ruby-lang
07:11
xtagon has quit [Ping timeout: 245 seconds]
07:12
zmack_ has joined #ruby-lang
07:15
zmack has quit [Ping timeout: 246 seconds]
07:17
dalekurt has quit [Quit: Zzz...]
07:17
Torrieri has quit [Remote host closed the connection]
07:20
alexkane has quit [Ping timeout: 265 seconds]
07:20
hahuang65 has quit [Quit: Computer has gone to sleep.]
07:21
hahuang65 has joined #ruby-lang
07:22
tjadc has quit [Ping timeout: 264 seconds]
07:23
Tearan has quit [Ping timeout: 250 seconds]
07:24
ttilley is now known as ttilley_off
07:24
outsmartin has joined #ruby-lang
07:25
toretore has joined #ruby-lang
07:25
Guest347 has left #ruby-lang [#ruby-lang]
07:25
ryanf has quit [Quit: leaving]
07:25
rippa has joined #ruby-lang
07:26
ezkl has joined #ruby-lang
07:30
savage- has quit [Remote host closed the connection]
07:31
krz has quit [Quit: krz]
07:32
srbartlett has quit [Remote host closed the connection]
07:39
nazty has quit [Ping timeout: 245 seconds]
07:45
woollyams has joined #ruby-lang
07:45
voker57 has quit [Remote host closed the connection]
07:46
igotnolegs has quit [Quit: Computer has gone to sleep.]
07:46
neocoin has quit [Remote host closed the connection]
07:48
alexkane has joined #ruby-lang
07:49
gnufied has joined #ruby-lang
07:55
Mon_Ouie has quit [Ping timeout: 245 seconds]
07:57
Mon_Ouie has joined #ruby-lang
07:59
JohnBat26 has quit [Remote host closed the connection]
08:00
alexkane has quit [Ping timeout: 255 seconds]
08:07
outsmartin has quit [Quit: Leaving.]
08:09
zerdliu has quit [Ping timeout: 249 seconds]
08:10
Mon_Ouie has quit [Ping timeout: 245 seconds]
08:10
tjadc has joined #ruby-lang
08:11
JohnBat26 has joined #ruby-lang
08:12
Mon_Ouie has joined #ruby-lang
08:17
<
rue >
Nobody here but us dust bunnies
08:25
Tearan has joined #ruby-lang
08:27
jsilver has joined #ruby-lang
08:31
robotmay has joined #ruby-lang
08:34
thisirs has joined #ruby-lang
08:37
futurechimp has joined #ruby-lang
08:37
fgomez has quit [Quit: leaving]
08:38
sora_h is now known as s0ra_h
08:54
concernedcitizen has joined #ruby-lang
08:55
thone has quit [Ping timeout: 244 seconds]
08:56
workmad3 has joined #ruby-lang
08:56
rushed has left #ruby-lang [#ruby-lang]
08:58
iamlacroix has quit [Remote host closed the connection]
08:59
kain has quit [Quit: quit]
09:01
zerdliu has joined #ruby-lang
09:01
NeVeR_ has joined #ruby-lang
09:02
futurechimp has quit [Read error: Operation timed out]
09:08
futurechimp has joined #ruby-lang
09:11
nazty has joined #ruby-lang
09:13
nazty has quit [Read error: Operation timed out]
09:14
tbuehlmann has joined #ruby-lang
09:17
s0ra_h is now known as sora_h
09:19
apeiros_ has joined #ruby-lang
09:20
<
apeiros_ >
anybody using ruby to interface with exchange 2007? mainly to read & create contacts and appointments… if so - what solutions do you use?
09:22
jMCg has left #ruby-lang [#ruby-lang]
09:25
tr-808 has quit [Remote host closed the connection]
09:25
Berglund has joined #ruby-lang
09:27
Berglund has quit [Client Quit]
09:28
AlHafoudh has quit [Ping timeout: 252 seconds]
09:29
tekin has joined #ruby-lang
09:30
rolfb has joined #ruby-lang
09:30
wallerdev has quit [Quit: wallerdev]
09:34
zz_chrismcg is now known as chrismcg
09:34
neoesque has quit [Quit: Bye!]
09:34
<
rfx >
How can I tell PrettyPrint (pp) to use stderr?
09:36
<
apeiros_ >
$stderr.puts obj.pretty_inspect
09:38
<
rfx >
ah, i see. thanks
09:38
gregmoreno has joined #ruby-lang
09:39
gregmore_ has quit [Ping timeout: 240 seconds]
09:39
fgomez has joined #ruby-lang
09:40
jarib has quit [Excess Flood]
09:41
jarib has joined #ruby-lang
09:42
saLOUt has quit [Quit: Konversation terminated!]
09:44
kitallis has joined #ruby-lang
09:45
Mon_Ouie has quit [Ping timeout: 245 seconds]
09:47
srbartlett has joined #ruby-lang
09:48
ezkl has quit [Read error: Connection reset by peer]
09:49
sj26 has joined #ruby-lang
09:50
sora_h is now known as s0ra_h
09:54
zerdliu has quit [Read error: Connection reset by peer]
09:55
cdt has joined #ruby-lang
09:57
soahccc` is now known as soahccc
10:00
Mon_Ouie has joined #ruby-lang
10:02
kain has joined #ruby-lang
10:06
s0ra_h is now known as sora_h
10:06
<
rfx >
searching for best practice calling a shell command leads me to Open3 (I'm on Linux); me needs are to process stdout and stderr. Is this a good choice?
10:06
<
rfx >
s/me needs/my needs/ ...
10:08
<
matti >
rfx: There is also a systemu gem.
10:08
<
matti >
rfx: Open3 is fine too.
10:08
<
matti >
There is also this new gem...
10:08
* matti
sratches his head...
10:08
<
matti >
I forgot ;/
10:09
<
rfx >
ok, thanks :)
10:10
postmodern has quit [Quit: Leaving]
10:12
wpaulson has joined #ruby-lang
10:13
<
banisterfiend` >
matti: open4? :)
10:15
<
matti >
banisterfiend`: No, not that this one (not the one I've forgotten). Somebody send a twitt about new job / shell management thing. I bookmarked it at home.
10:24
wpaulson_ has joined #ruby-lang
10:27
wpaulson has quit [Ping timeout: 252 seconds]
10:27
wpaulson_ is now known as wpaulson
10:29
futurechimp has quit [Quit: This computer has gone to sleep]
10:30
tr-808 has joined #ruby-lang
10:31
d3vic3 has quit [Quit: leaving]
10:31
dhruvasagar has quit [Quit: Lost terminal]
10:32
dhruvasagar has joined #ruby-lang
10:33
sora_h is now known as s0ra_h
10:33
d3vic3 has joined #ruby-lang
10:36
AlHafoudh has joined #ruby-lang
10:38
mdstunthamster has joined #ruby-lang
10:54
mouzone_ has quit [Changing host]
10:54
mouzone_ has joined #ruby-lang
10:54
s0ra_h is now known as sora_h
10:54
mouzone_ is now known as mouzone
11:00
nazty has joined #ruby-lang
11:04
<
rfx >
I've (barely) managed to write a super tiny sinatra app (it's a gitlab post receive hook received) and got it working. I'm not wondering, how do I properly "deploy" it. Currently I simply start it with "bundle exec ruby hook.rb"; I know how I'd setup a init.d script for it. But I'm missing information how I get the PID for it to control it from that script
11:04
nazty has quit [Ping timeout: 255 seconds]
11:05
<
rfx >
(note: ruby beginner alert here)
11:06
A124 has joined #ruby-lang
11:12
<
lzhz >
rfx: you could start it with rackup, the -P option specifies the pidfile to use.
11:13
<
rfx >
ah, ok .. I seee the rackup command ... where did it come from? Part of the sinatra gem?
11:13
<
lzhz >
part of rack gem
11:14
<
lzhz >
but it is a dependency of sinatra, so you don't need to worry about that
11:16
<
rfx >
lzhz: very helpful, guess that will do it!
11:16
alexkane has joined #ruby-lang
11:17
dmwuw has quit [Ping timeout: 240 seconds]
11:21
futurechimp has joined #ruby-lang
11:21
JustinCampbell has joined #ruby-lang
11:22
kristofferrr has joined #ruby-lang
11:27
alindeman has joined #ruby-lang
11:31
sailias has joined #ruby-lang
11:31
voker57 has joined #ruby-lang
11:31
voker57 has quit [Changing host]
11:31
voker57 has joined #ruby-lang
11:32
thone has joined #ruby-lang
11:36
ruby-lang380 has joined #ruby-lang
11:38
ruby-lang380 has quit [Client Quit]
11:40
Cope has quit [Remote host closed the connection]
11:41
concernedcitizen has quit [Remote host closed the connection]
11:50
futurechimp has quit [Quit: This computer has gone to sleep]
11:53
justinmcp has joined #ruby-lang
12:01
petercooper has joined #ruby-lang
12:03
jxie has quit [Quit: leaving]
12:03
outsmartin has joined #ruby-lang
12:05
futurechimp has joined #ruby-lang
12:06
srbartlett has quit [Remote host closed the connection]
12:08
cantonic_ has joined #ruby-lang
12:11
cantonic has quit [Ping timeout: 265 seconds]
12:11
cantonic_ is now known as cantonic
12:14
thone has quit [Read error: Connection reset by peer]
12:18
A124 has quit [Quit: Leaving.]
12:19
woollyams has quit [Quit: Computer has gone to sleep.]
12:21
mwjcomputing has joined #ruby-lang
12:22
mistym has joined #ruby-lang
12:22
mistym has quit [Changing host]
12:22
mistym has joined #ruby-lang
12:23
jperry2_ has joined #ruby-lang
12:25
hynkle has joined #ruby-lang
12:26
Natch has quit [Remote host closed the connection]
12:31
kristofferrr has quit [Quit: ❤]
12:32
diegoviola has joined #ruby-lang
12:32
woollyams has joined #ruby-lang
12:32
NeVeR_ has quit [Remote host closed the connection]
12:34
hynkle has quit [Quit: Computer has gone to sleep.]
12:36
mistym has quit [Remote host closed the connection]
12:38
kurko_ has joined #ruby-lang
12:38
justinmcp has quit [Remote host closed the connection]
12:41
tekin has quit [Quit: Computer has gone to sleep.]
12:44
d3vic3 has quit [Ping timeout: 246 seconds]
12:45
d3vic3 has joined #ruby-lang
12:46
Axsuul has quit [Ping timeout: 248 seconds]
12:50
sepp2k has joined #ruby-lang
12:55
woollyams has quit [Quit: Computer has gone to sleep.]
12:56
carloslopes has joined #ruby-lang
12:57
dv310p3r has joined #ruby-lang
12:57
futurechimp has quit [Quit: This computer has gone to sleep]
12:59
mistym has joined #ruby-lang
12:59
mistym has quit [Changing host]
12:59
mistym has joined #ruby-lang
12:59
sailias has quit [Quit: Leaving.]
13:02
futurechimp has joined #ruby-lang
13:06
GeekOnCoffee has quit [Read error: Connection reset by peer]
13:06
GeekOnCoffee has joined #ruby-lang
13:07
symm-_ has joined #ruby-lang
13:07
symm- has quit [Ping timeout: 252 seconds]
13:12
rindolf has quit [Quit: Leaving]
13:16
espinet has joined #ruby-lang
13:18
robbyoconnor has quit [Ping timeout: 264 seconds]
13:18
digitalbane has joined #ruby-lang
13:19
d3vic3 has quit [Ping timeout: 248 seconds]
13:20
d3vic3 has joined #ruby-lang
13:22
iamlacroix has joined #ruby-lang
13:29
iamlacroix has quit [Remote host closed the connection]
13:29
bryancp has joined #ruby-lang
13:31
mistym has quit [Remote host closed the connection]
13:34
GeekOnCoffee has quit [Ping timeout: 250 seconds]
13:35
futurechimp has quit [Quit: This computer has gone to sleep]
13:39
tekin_ has joined #ruby-lang
13:39
tekin_ has quit [Client Quit]
13:40
tekin has joined #ruby-lang
13:41
imperator has joined #ruby-lang
13:43
futurechimp has joined #ruby-lang
13:48
jperry2_ has quit [Quit: jperry2_]
13:49
slyphon_ has joined #ruby-lang
13:52
slyphon_ is now known as slyphon
13:52
marcos has joined #ruby-lang
13:57
fromhet has joined #ruby-lang
13:58
ryez has joined #ruby-lang
13:59
enebo has joined #ruby-lang
14:00
sockmonk has joined #ruby-lang
14:01
tbuehlmann has quit []
14:01
kvirani_ has quit [Remote host closed the connection]
14:01
ttilley_off is now known as ttilley
14:02
outoftime has joined #ruby-lang
14:03
Sambalero has joined #ruby-lang
14:04
yumike has quit [Quit: Computer has gone to sleep.]
14:08
mistym has joined #ruby-lang
14:08
akira989 has joined #ruby-lang
14:08
mistym has quit [Changing host]
14:08
mistym has joined #ruby-lang
14:11
slyphon has quit [Quit: WeeChat 0.3.7]
14:15
gsav has quit [Ping timeout: 265 seconds]
14:16
publicvoid__ has joined #ruby-lang
14:18
msch has quit [Excess Flood]
14:18
cantonic has quit [Quit: cantonic]
14:19
publicvoid_ has quit [Ping timeout: 248 seconds]
14:21
sailias has joined #ruby-lang
14:28
gsav has joined #ruby-lang
14:38
andrewhl has joined #ruby-lang
14:40
outsmartin has quit [Quit: Leaving.]
14:40
mwjcomputing has quit [Quit: Leaving]
14:40
imperator has quit [Quit: This computer has gone to sleep]
14:43
|Vargas| has quit [Quit: ...]
14:47
msaffitz has joined #ruby-lang
14:49
Guest12220 has quit [Quit: Leaving...]
14:50
brunocoelho has joined #ruby-lang
14:51
moisesv has joined #ruby-lang
14:54
dalekurt has joined #ruby-lang
14:55
carloslopes1 has joined #ruby-lang
14:55
carloslopes1 has quit [Client Quit]
14:55
carloslopes1 has joined #ruby-lang
14:57
slyphon has joined #ruby-lang
14:57
carloslopes has quit [Ping timeout: 248 seconds]
15:01
carloslopes has joined #ruby-lang
15:01
jxie has joined #ruby-lang
15:02
carloslopes1 has quit [Ping timeout: 245 seconds]
15:02
dc5ala has quit [Quit: Ex-Chat]
15:03
Jay_Levitt has joined #ruby-lang
15:04
T_Rex_ has joined #ruby-lang
15:04
virunga has joined #ruby-lang
15:04
wpaulson has quit [Ping timeout: 250 seconds]
15:07
bglusman has quit [Remote host closed the connection]
15:07
wpaulson has joined #ruby-lang
15:11
andrewhl has quit [Remote host closed the connection]
15:13
JohnBat26 has quit [Read error: Operation timed out]
15:13
chendo_ has joined #ruby-lang
15:15
chendo_ has quit [Client Quit]
15:17
shtirlic has joined #ruby-lang
15:18
msaffitz has quit [Quit: Computer has gone to sleep.]
15:19
HassanS has joined #ruby-lang
15:22
HassanS has quit [Client Quit]
15:22
marcos has left #ruby-lang [#ruby-lang]
15:22
coryf has joined #ruby-lang
15:24
malev has joined #ruby-lang
15:24
virunga has quit [Quit: Sto andando via]
15:28
mytrile has joined #ruby-lang
15:28
outsmartin has joined #ruby-lang
15:34
thisirs has quit [Remote host closed the connection]
15:36
MrPunkin has joined #ruby-lang
15:36
<
MrPunkin >
What would be the fastest way to iterate over a nested hash system?
15:37
<
MrPunkin >
looking to find all hash keys of "_content" and do something with them in a timely manner, if possible
15:37
<
MrPunkin >
from an API response
15:43
dmwuw has joined #ruby-lang
15:43
andrewhl has joined #ruby-lang
15:44
malev has quit [Remote host closed the connection]
15:45
<
telemachus >
In a regex validation for URLs, can anyone think of why the final | in this regex? :format => /^http\:\/\/|/
15:46
gnufied has quit [Quit: Leaving.]
15:46
kyrylo has quit [Quit: WeeChat 0.3.8]
15:47
bfreeman has joined #ruby-lang
15:47
cantonic has joined #ruby-lang
15:47
scampbell has joined #ruby-lang
15:48
tjadc has quit [Remote host closed the connection]
15:48
heftig has quit [Ping timeout: 272 seconds]
15:48
<
telemachus >
That would seem to guarantee that the empty string (or anything else matches at start of string). Why would that be desirable?
15:49
<
apeiros_ >
/…|/ will match everything
15:49
<
apeiros_ >
since it contains the empty regex
15:49
<
apeiros_ >
and // =~ anything is a tautology
15:50
<
telemachus >
how is that ever wanted behavior?
15:50
robbyoconnor has joined #ruby-lang
15:51
<
apeiros_ >
I have no idea
15:51
<
telemachus >
ok, at least I'm not crazy
15:52
<
mistym >
telemachus: Are you seeing this in someone's real code?
15:52
<
telemachus >
mistym: Yes
15:52
<
telemachus >
coworkers
15:54
gnufied has joined #ruby-lang
15:54
hynkle has joined #ruby-lang
15:54
S1kx has quit [Quit: Leaving]
15:54
<
telemachus >
s/coworkers/coworker's/
15:54
<
mistym >
telemachus: :(
15:54
<
telemachus >
agreed
15:55
carloslopes has quit [Quit: Leaving.]
15:57
<
apeiros_ >
hit him with a stick?
15:57
<
apeiros_ >
probably a typo
15:57
* telemachus
talked with him
15:57
<
telemachus >
Thanks
15:57
<
apeiros_ >
I think I made the very same typo once too… (no, I'm not your coworker, and no, not in a regex to match the scheme of an uri)
15:57
<
telemachus >
I just figured there must be something I wasn't seeing.
15:58
malev has joined #ruby-lang
15:58
<
telemachus >
He wanted to match /^http:\/\// OR ""
15:58
robotmay has quit [Remote host closed the connection]
15:58
<
apeiros_ >
should be %r{\Ahttp://|\A\z} then
15:58
<
telemachus >
my first guess is always "There's something I don't know here..."
15:59
<
apeiros_ >
so hit him with the regex anchors instead of poking him with a stick…
15:59
<
telemachus >
So I tried in irb and rubular and then figured I would ask here, just in case
15:59
hynkle has quit [Client Quit]
15:59
* telemachus
smiles
16:00
mytrile has quit [Remote host closed the connection]
16:00
heftig has joined #ruby-lang
16:00
<
telemachus >
apeiros_, mistym Thanks
16:02
cjs226 has joined #ruby-lang
16:02
apeiros_ has quit [Remote host closed the connection]
16:02
naz has quit [Ping timeout: 245 seconds]
16:02
solars has quit [Read error: Operation timed out]
16:02
hynkle has joined #ruby-lang
16:03
kvirani has joined #ruby-lang
16:04
jtoy has joined #ruby-lang
16:04
kitallis has joined #ruby-lang
16:05
brianpWins has quit [Quit: brianpWins]
16:06
savage- has joined #ruby-lang
16:10
bglusman has joined #ruby-lang
16:10
bglusman has quit [Remote host closed the connection]
16:10
bglusman has joined #ruby-lang
16:14
dhruvasagar has quit [Ping timeout: 240 seconds]
16:15
havenn has joined #ruby-lang
16:15
symm-_ has quit [Ping timeout: 252 seconds]
16:18
tenderlove has quit [Remote host closed the connection]
16:18
msaffitz has joined #ruby-lang
16:19
espinet_ has joined #ruby-lang
16:20
espinet has quit [Ping timeout: 248 seconds]
16:20
espinet_ is now known as espinet
16:21
Criztian has joined #ruby-lang
16:22
gnufied has quit [Quit: Leaving.]
16:22
butchanton has joined #ruby-lang
16:23
scientes has joined #ruby-lang
16:23
sora_h is now known as s0ra_h
16:27
kurko_ has quit [Ping timeout: 264 seconds]
16:29
brunocoelho has quit [Remote host closed the connection]
16:31
kvirani has quit [Remote host closed the connection]
16:33
workmad3 has quit [Ping timeout: 250 seconds]
16:33
kurko_ has joined #ruby-lang
16:34
sailias has quit [Ping timeout: 245 seconds]
16:34
brianpWins has joined #ruby-lang
16:35
cdt has quit [Quit: Ex-Chat]
16:36
tcopp has joined #ruby-lang
16:36
T_Rex_ has quit [Read error: Connection reset by peer]
16:36
naz has joined #ruby-lang
16:37
T_Rex_ has joined #ruby-lang
16:37
apeiros_ has joined #ruby-lang
16:38
Axsuul has joined #ruby-lang
16:43
jtoy has quit [Quit: jtoy]
16:44
petercooper has quit [Remote host closed the connection]
16:46
hynkle has quit [Quit: Computer has gone to sleep.]
16:47
zmack_ has quit [Remote host closed the connection]
16:48
carloslopes has joined #ruby-lang
16:49
fromhet has quit [Quit: fromhet]
16:50
hynkle has joined #ruby-lang
16:51
kitallis has quit [Quit: Computer has gone to sleep.]
16:52
cantonic has quit [Quit: cantonic]
16:54
fromhet has joined #ruby-lang
16:54
havenn has quit [Remote host closed the connection]
16:56
carloslopes has quit [Quit: Leaving.]
16:57
carloslopes has joined #ruby-lang
16:57
hynkle has quit [Quit: Computer has gone to sleep.]
16:58
soahccc is now known as soahccc`
17:04
jarib has quit [Excess Flood]
17:04
jarib has joined #ruby-lang
17:07
hynkle has joined #ruby-lang
17:08
shtirlic has quit [Remote host closed the connection]
17:16
outsmartin1 has joined #ruby-lang
17:17
hynkle has quit [Quit: Computer has gone to sleep.]
17:19
hynkle has joined #ruby-lang
17:19
outsmartin has quit [Ping timeout: 264 seconds]
17:19
moisesv has quit [Quit: moisesv]
17:25
hynkle has quit [Quit: Computer has gone to sleep.]
17:26
chrismcg is now known as zz_chrismcg
17:28
A124 has joined #ruby-lang
17:29
enroxorz has joined #ruby-lang
17:29
enroxorz has joined #ruby-lang
17:33
burgestrand has joined #ruby-lang
17:34
kyrylo has joined #ruby-lang
17:34
sailias has joined #ruby-lang
17:35
NeVeR_ has joined #ruby-lang
17:36
jtoy has joined #ruby-lang
17:36
cirenyc has quit [Ping timeout: 252 seconds]
17:37
<
jtoy >
how can i tell if ARGF has data?
17:38
<
jtoy >
it looks like ARGF is just shitty code
17:40
NeVeR_ has quit [Read error: Connection reset by peer]
17:40
<
apeiros_ >
jtoy: you read from it?
17:40
imperator has joined #ruby-lang
17:41
NeVeR_ has joined #ruby-lang
17:41
r0bby has joined #ruby-lang
17:44
robbyoconnor has quit [Ping timeout: 240 seconds]
17:44
<
jtoy >
i want to use ARGF if there is a file, if not, then don't read
17:45
<
apeiros_ >
um, that's not how argf works…
17:46
<
apeiros_ >
use ARGV then, do your own tests and whatever else
17:46
ledao has joined #ruby-lang
17:46
r0bby has quit [Ping timeout: 264 seconds]
17:48
<
apeiros_ >
jtoy: I'm not interested in reading a blog article.
17:48
<
jtoy >
apeiros_: good for you
17:48
<
apeiros_ >
phrase your problem
17:49
<
jtoy >
apeiros_: already did, thanks for the help!
17:52
RPM has joined #ruby-lang
17:53
r0bby has joined #ruby-lang
17:54
pbjorklund has joined #ruby-lang
17:54
NeVeR_ has quit [Ping timeout: 264 seconds]
17:56
RPM has quit [Ping timeout: 264 seconds]
17:57
pbjorklu1d has quit [Ping timeout: 265 seconds]
17:57
NeVeR_ has joined #ruby-lang
18:00
<
rue >
jtoy: ARGF has data if you read from it and it has data.
18:00
NeVeR_ has quit [Client Quit]
18:01
<
jtoy >
rue, i want to skip it if it doesn't have data, i guess i just need to use argv and argf
18:01
NeVeR_ has joined #ruby-lang
18:01
<
jtoy >
argf can also get data from piping in data
18:01
<
rue >
If you don’t want the ARGF behaviour, just use ARGV directly.
18:01
futurechimp has quit [Quit: This computer has gone to sleep]
18:05
tubbo has quit [Read error: Operation timed out]
18:05
xtagon has joined #ruby-lang
18:06
NeVeR_ has quit [Ping timeout: 264 seconds]
18:06
tubbo has joined #ruby-lang
18:07
NeVeR_ has joined #ruby-lang
18:09
NeVeR_ has quit [Client Quit]
18:09
NeVeR_ has joined #ruby-lang
18:13
mrsolo has joined #ruby-lang
18:13
Criztian has quit [Remote host closed the connection]
18:13
ryez has quit [Ping timeout: 245 seconds]
18:15
ruurd has joined #ruby-lang
18:16
Austin__ has joined #ruby-lang
18:18
soahccc` is now known as soahccc
18:20
kvirani has joined #ruby-lang
18:21
lele has quit [Ping timeout: 260 seconds]
18:22
A124 has quit [Quit: Leaving.]
18:24
mrsolo has quit [Quit: This computer has gone to sleep]
18:28
mrsolo has joined #ruby-lang
18:35
r0bby has quit [Ping timeout: 248 seconds]
18:38
r0bby has joined #ruby-lang
18:40
wallerdev has joined #ruby-lang
18:40
workmad3 has joined #ruby-lang
18:43
Hakon|mbp has quit [Quit: Leaving...]
18:48
Austin__1 has joined #ruby-lang
18:48
<
jtoy >
is there a safe way to turn a string into a hash?
18:49
<
MrPunkin >
jtoy: how would you logically determine how to make a hash from a string?
18:49
Austin__ has quit [Ping timeout: 252 seconds]
18:49
<
MrPunkin >
Is it serialized or something?
18:49
<
jtoy >
just checking if there is a safe way
18:49
<
MrPunkin >
jtoy: well that all depends how the string is formatted
18:49
gsav has quit [Quit: Lost terminal]
18:49
<
jtoy >
":id => 123"
18:50
<
jtoy >
or "{:id => 123}"
18:50
<
MrPunkin >
So it's like a hash already, just in string format?
18:50
<
jtoy >
MrPunkin: yes
18:50
gsav has joined #ruby-lang
18:50
<
apeiros_ >
or: gem install literal_parser
18:50
<
jtoy >
apeiros_: cool,thx
18:51
robotmay has joined #ruby-lang
18:52
fayimora has joined #ruby-lang
18:52
r0bby has quit [Ping timeout: 264 seconds]
18:52
Jay_Levitt has joined #ruby-lang
18:53
codewrangler has joined #ruby-lang
18:53
gsav has quit [Client Quit]
18:53
hynkle has joined #ruby-lang
18:55
gsav has joined #ruby-lang
19:06
jarib has quit [Excess Flood]
19:08
jarib has joined #ruby-lang
19:08
jaylevitt has joined #ruby-lang
19:08
Jay_Levitt has quit [Read error: Connection reset by peer]
19:08
hynkle has quit [Quit: Computer has gone to sleep.]
19:12
antall has joined #ruby-lang
19:13
pbjorklu1d has joined #ruby-lang
19:13
pbjorklund has quit [Ping timeout: 246 seconds]
19:15
workmad3 has quit [Ping timeout: 244 seconds]
19:16
joshwines has quit [Read error: Connection reset by peer]
19:17
gsav has quit [Ping timeout: 264 seconds]
19:18
hynkle has joined #ruby-lang
19:21
r0bby has joined #ruby-lang
19:27
Criztian has joined #ruby-lang
19:31
gsav has joined #ruby-lang
19:31
Austin__1 has left #ruby-lang [#ruby-lang]
19:31
Dreamer3 has joined #ruby-lang
19:32
havenn has joined #ruby-lang
19:34
<
rue >
I was thinking "foo".hash
19:37
rippa has quit [Ping timeout: 252 seconds]
19:44
mwjcomputing2 has joined #ruby-lang
19:44
workmad3 has joined #ruby-lang
19:44
andrewhl has quit [Read error: Connection reset by peer]
19:44
andrewhl has joined #ruby-lang
19:46
msaffitz has quit [Quit: Computer has gone to sleep.]
19:48
mwjcomputing has joined #ruby-lang
19:52
ryanf has joined #ruby-lang
19:52
bglusman has quit [Remote host closed the connection]
19:52
JoelMcCracken has joined #ruby-lang
19:53
msaffitz has joined #ruby-lang
19:53
fgomez has quit [Ping timeout: 252 seconds]
19:57
mrsolo has quit [Quit: This computer has gone to sleep]
20:03
yxhuvud has quit [Ping timeout: 244 seconds]
20:04
gsav has quit [Ping timeout: 265 seconds]
20:09
wmoxam has joined #ruby-lang
20:09
A124 has joined #ruby-lang
20:10
mwjcomputing has quit [Quit: Leaving]
20:14
dalekurt has quit [Quit: Zzz...]
20:15
Hakon|mbp has joined #ruby-lang
20:18
postmodern has joined #ruby-lang
20:20
enroxorz has quit [Quit: Leaving]
20:20
fayimora has quit [Ping timeout: 265 seconds]
20:21
<
drbrain >
whitequark: by the way, we were wrong about rb_block_given_p() being callable without the GVL
20:21
lele has joined #ruby-lang
20:21
<
drbrain >
whitequark: GET_THREAD gets the thread that has the GVL which is not necessarily your thread
20:22
JoelMcCracken has quit [Ping timeout: 244 seconds]
20:22
butchanton has quit [Quit: Leaving.]
20:24
JoelMcCracken has joined #ruby-lang
20:25
JoelMcCracken has quit [Disconnected by services]
20:25
JoelMcCr` has joined #ruby-lang
20:25
fayimora has joined #ruby-lang
20:26
r0bby has quit [Ping timeout: 244 seconds]
20:27
fayimora has quit [Client Quit]
20:28
mrsolo has joined #ruby-lang
20:28
jsilver has quit [Remote host closed the connection]
20:31
<
rue >
Ooh, ministat
20:31
JoelMcCr` has left #ruby-lang [#ruby-lang]
20:32
kristofferrr has joined #ruby-lang
20:32
msaffitz has quit [Quit: Computer has gone to sleep.]
20:33
sockmonk has quit [Ping timeout: 264 seconds]
20:34
<
kristofferrr >
I'm giving MiniTest a try after being used to RSpec. I'm wondering what the naming convention for such files is? test/"filename of file to be tested"_test.rb ?
20:34
<
rue >
drbrain: Does it do graphing now, too?
20:34
<
rue >
Or visualization
20:38
sepp2k1 has joined #ruby-lang
20:39
<
drbrain >
it does a scatter plot with mean, avg and stddev
20:39
<
erikh >
I remember this now
20:39
sepp2k has quit [Ping timeout: 264 seconds]
20:43
workmad3 has quit [Ping timeout: 245 seconds]
20:44
<
naquad >
i did require 'irb'; IRB.start(__FILE__); thats basically same as i see in irb executable, but my extensions are not loaded (rc file) :( why so?
20:45
MrPunkin has quit [Quit: MrPunkin]
20:46
zmack has joined #ruby-lang
20:47
hahuang65 has joined #ruby-lang
20:48
jsilver has joined #ruby-lang
20:48
digitalbane has left #ruby-lang [#ruby-lang]
20:48
orange_ninja has joined #ruby-lang
20:50
NeVeR_ has quit [Read error: Connection reset by peer]
20:52
mssola has quit [Quit: Konversation terminated!]
20:53
<
orange_ninja >
Can anyone tell me why ruby refuses to let me use rubygems on Windows?
20:53
<
drbrain >
orange_ninja: how so?
20:54
T_Rex__ has joined #ruby-lang
20:54
msaffitz has joined #ruby-lang
20:54
T_Rex_ has quit [Read error: Connection reset by peer]
20:54
T_Rex__ is now known as T_Rex_
20:54
<
whitequark >
drbrain: oh. I see.
20:55
<
orange_ninja >
example: I want to use the 'zip' gem. So if I run ruby -rrubygems foo.rb , it says 'no such file to load -- zip (LoadError)' where foo.rb contains: 'require 'zip'
20:55
<
drbrain >
whitequark: I learned this after "SEGV in SEGV handler"
20:56
zz_chrismcg is now known as chrismcg
20:56
<
drbrain >
orange_ninja: what does `gem which zip` say?
20:56
<
orange_ninja >
e:/Apps/jruby-1.6.7/lib/ruby/gems/1.8/gems/zip-2.0.2/lib/zip.rb
20:57
chrismcg is now known as zz_chrismcg
20:57
<
drbrain >
ok, what does `ruby -v` say?
20:57
<
orange_ninja >
ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
20:57
scampbell has quit [Quit: Ex-Chat]
20:57
<
drbrain >
orange_ninja: you have two implementations of ruby installed
20:57
<
orange_ninja >
that's interesting... the gem is under my jruby directory
20:58
<
drbrain >
`gem` belongs to jruby, apparently, while `ruby` is separate
20:58
<
drbrain >
orange_ninja: maybe it's a PATH issue?
20:58
s0ber_ has joined #ruby-lang
20:59
s0ber has quit [Read error: Operation timed out]
20:59
s0ber_ is now known as s0ber
21:01
A124 has quit [Quit: Leaving.]
21:01
<
orange_ninja >
drbrain: THANK YOU! you nailed it
21:01
<
drbrain >
orange_ninja: awesome
21:01
<
drbrain >
before everybody started using rvm this happened all the time for linux users
21:02
<
orange_ninja >
:) is it save to use rvm in windows?
21:02
<
orange_ninja >
safe*
21:02
<
drbrain >
I have no idea how much work that would be to set up
21:02
<
erikh >
rvm isn't really windows compatible, I think there's a windows tool called 'pik' that's similar.
21:03
<
drbrain >
I suppose its possible, but you'd need a large portion of the GNU compiler toolchain
21:03
<
orange_ninja >
i see
21:03
<
erikh >
mingw at least.
21:04
hynkle has quit [Quit: Computer has gone to sleep.]
21:06
zmack has quit [Remote host closed the connection]
21:06
malev has quit [Remote host closed the connection]
21:07
bryancp has quit [Remote host closed the connection]
21:08
sailias has quit [Ping timeout: 248 seconds]
21:08
wpaulson has joined #ruby-lang
21:15
kristofferrr has quit [Quit: ❤]
21:18
wpaulson_ has joined #ruby-lang
21:19
wpaulson_ has quit [Client Quit]
21:19
thone has joined #ruby-lang
21:21
antall has quit [Quit: Leaving]
21:21
wpaulson has quit [Ping timeout: 264 seconds]
21:31
jaylevitt has quit [Ping timeout: 264 seconds]
21:35
donmateo has joined #ruby-lang
21:37
havenn has quit [Remote host closed the connection]
21:44
rolfb has joined #ruby-lang
21:49
s0ra_h is now known as sora_h
21:53
erics has joined #ruby-lang
21:55
donmateo has left #ruby-lang [#ruby-lang]
21:55
slyphon has quit [Quit: WeeChat 0.3.7]
21:55
tcopp has left #ruby-lang [#ruby-lang]
21:56
soahccc is now known as soahccc`
21:56
sailias has joined #ruby-lang
21:57
tenderlove has joined #ruby-lang
21:57
Skif has quit [Ping timeout: 240 seconds]
21:57
mistym has quit [Remote host closed the connection]
21:57
hopkinsju has joined #ruby-lang
21:59
espinet has quit [Quit: espinet]
22:03
bfreeman has quit [Read error: Connection reset by peer]
22:04
bfreeman has joined #ruby-lang
22:05
kurko_ has quit [Quit: This computer has gone to sleep]
22:08
awwaiid has quit [Read error: Connection reset by peer]
22:09
awwaiid has joined #ruby-lang
22:10
petercooper has joined #ruby-lang
22:12
thone has quit [Ping timeout: 244 seconds]
22:12
dv310p3r has quit [Ping timeout: 248 seconds]
22:15
sora_h is now known as s0ra_h
22:16
carloslopes has quit [Quit: Leaving.]
22:18
naz has quit [Read error: Operation timed out]
22:18
sailias has quit [Ping timeout: 264 seconds]
22:23
SpitfireWP has quit [Disconnected by services]
22:24
T_Rex_ has quit [Read error: Connection reset by peer]
22:25
outoftime has quit [Quit: Leaving]
22:25
<
drbrain >
running benchmarks is really boring
22:25
<
erikh >
try bootstrapping servers all day
22:26
<
erikh >
automation is great but it's not so much fun to stare at
22:26
<
rolfb >
i don't think that's the point of automation
22:26
<
rolfb >
if you still have to stare
22:27
<
erikh >
it is if I'm testing the automation
22:27
diegoviola has quit [Quit: leaving]
22:27
<
drbrain >
erikh: this is only initial collection
22:27
<
drbrain >
next I need to modify zlib and re-run the same benchmarks
22:29
<
drbrain >
I probably should find some slow hardware to run the benchmarks on too, to test the interruptibility of the zlib extension
22:29
<
drbrain >
perhaps 16KB is too small
22:29
<
erikh >
probably all in cache though
22:30
<
erikh >
oh, I guess I misunderstood. if you're rotating the stream endlessly, probably not :)
22:30
<
drbrain >
erikh: yeah… the buffer size is chosen so that a thread interrupt is processed quickly
22:30
thone has joined #ruby-lang
22:30
<
drbrain >
but I'm not sure what a good value for "quickly" is
22:30
<
erikh >
I doubt you could do it right with a static value
22:31
<
erikh >
fsvo "right"
22:31
kurko_ has joined #ruby-lang
22:31
<
erikh >
thinking about this some more, maybe making it configurable would be best.
22:32
<
drbrain >
I can pick a value that makes sense for common hardware
22:32
<
erikh >
oh sure, a sensible default of course
22:33
<
drbrain >
the first thing I'm going to figure out is "should we bother with incremental buffer growth?"
22:33
<
erikh >
you mean pushing it until the delay reaches a certain threshold, or something else?
22:34
JoelMcCracken has joined #ruby-lang
22:34
<
drbrain >
yes, something like that
22:34
<
erikh >
that's probably a good idea, but I still think the number should be overridable
22:35
d3vic3 has quit [Ping timeout: 252 seconds]
22:35
<
drbrain >
for example, if you have inflate in a timeout, you want the thread to die quickly and not consume your CPU unnecessarily
22:35
<
erikh >
oh while you're here: who do I talk to about dns changes for test.rubygems.org?
22:35
<
drbrain >
also, as the buffer size grows larger zlib becomes more efficient as it spends less time in realloc()
22:35
<
ged >
Does anyone have a better way to find the nth newline in a string than this?
22:35
<
ged >
n = 11; i = str.index("\n"); (n-1).times { i = str.index("\n", i+1) }
22:36
<
erikh >
ged: that's probably really fast
22:36
<
drbrain >
erikh: qrush
22:36
<
erikh >
wait. shouldn't str.index just work there?
22:36
<
erikh >
drbrain: thanks
22:36
<
ged >
Index finds the first occurance after the offset.
22:36
d3vic3 has joined #ruby-lang
22:37
<
drbrain >
ged: why do you need the index? Is this something #scan can help with?
22:37
thone has quit [Quit: leaving]
22:38
thone has joined #ruby-lang
22:38
<
ged >
drbrain: I'm writing a function that will return a slice of lines of a file.
22:38
<
drbrain >
ged: maybe something like str =~ /(.*?\n){11}/m
22:38
<
drbrain >
… maybe /m doesn't need to be there
22:38
<
erikh >
not if \n is specified
22:39
<
erikh >
ged: str.scan(/[^\n]+\n/)[10] ?
22:39
<
drbrain >
ged: or str.lines.take 11
22:39
<
erikh >
a friend of mine wrote a library that does this, not sure of the quality thoguh
22:40
<
rue >
Asking for a friend
22:40
<
ged >
I'd be interested in seeing it if it doesn't just read the whole file in. :P
22:40
<
erikh >
yeah, it's seek based if my memory is correct
22:40
<
erikh >
but the source is there and it's really small.
22:41
<
ged >
Oh, neat. Yeah, it indexes all of the lines ahead of time.
22:41
<
drbrain >
ged: you can use .lines.take with an IO
22:41
<
rue >
/m is only for .
22:41
<
ged >
drbrain: Oh, nice!
22:42
<
rue >
I don’t think it affects any of the onig stuff, at any rate
22:42
wmoxam has quit [Ping timeout: 264 seconds]
22:43
<
ged >
drbrain: That'll be nicer when I find the offset of the beginning line, especially.
22:43
jbsan has quit [Quit: jbsan]
22:44
cuttooth has joined #ruby-lang
22:44
<
ged >
Thanks for the ideas, all!
22:46
slyphon has joined #ruby-lang
22:47
stardiviner has joined #ruby-lang
22:48
woollyams has joined #ruby-lang
22:48
stardiviner has quit [Read error: Connection reset by peer]
22:49
woollyams has quit [Client Quit]
22:49
soahccc` is now known as soahccc
22:50
kurko_ has quit [Quit: This computer has gone to sleep]
22:50
jarib has quit [Excess Flood]
22:51
slyphon has quit [Quit: WeeChat 0.3.7]
22:52
enebo has quit [Quit: enebo]
22:52
kvirani has quit [Remote host closed the connection]
22:52
jarib has joined #ruby-lang
22:53
kvirani has joined #ruby-lang
22:53
mistym has joined #ruby-lang
22:53
mistym has quit [Changing host]
22:53
mistym has joined #ruby-lang
22:55
hopkinsju has quit [Quit: hopkinsju]
22:55
slyphon has joined #ruby-lang
22:56
seanstickle has joined #ruby-lang
22:57
kvirani has quit [Ping timeout: 244 seconds]
22:58
woollyams has joined #ruby-lang
23:00
Sambalero has quit [Remote host closed the connection]
23:01
fgomez has joined #ruby-lang
23:02
x0F has quit [Disconnected by services]
23:02
x0F_ has joined #ruby-lang
23:02
x0F_ is now known as x0F
23:02
tomb has quit [Quit: Computer has gone to sleep.]
23:02
erics has quit [Remote host closed the connection]
23:02
Skif has joined #ruby-lang
23:02
dalekurt has joined #ruby-lang
23:03
<
erikh >
original herpsta
23:03
JustinCampbell has quit [Remote host closed the connection]
23:03
woollyams has quit [Client Quit]
23:03
JustinCampbell has joined #ruby-lang
23:04
JustinCampbell has quit [Read error: Connection reset by peer]
23:04
JustinCampbell has joined #ruby-lang
23:07
Criztian has quit [Remote host closed the connection]
23:08
codewrangler has joined #ruby-lang
23:08
fromhet has quit [Remote host closed the connection]
23:09
woollyams has joined #ruby-lang
23:13
slyphon has quit [Quit: WeeChat 0.3.7]
23:14
coryf has quit [Remote host closed the connection]
23:15
thone_ has joined #ruby-lang
23:16
robotmay has quit [Remote host closed the connection]
23:17
malev has joined #ruby-lang
23:17
jbsan has joined #ruby-lang
23:18
bryancp has joined #ruby-lang
23:20
apeiros_ has quit [Remote host closed the connection]
23:23
zigidias has quit [Ping timeout: 252 seconds]
23:23
Defusal has quit [Read error: Connection reset by peer]
23:23
Defusal has joined #ruby-lang
23:23
Defusal has quit [Changing host]
23:23
Defusal has joined #ruby-lang
23:23
hopkinsju has joined #ruby-lang
23:25
s0ra_h is now known as sora_h
23:27
zigidias has joined #ruby-lang
23:27
andrewhl has quit [Remote host closed the connection]
23:27
soahccc is now known as soahccc`
23:29
dalekurt_ has joined #ruby-lang
23:30
soahccc` is now known as soahccc
23:30
Kellin has joined #ruby-lang
23:30
dalekurt has quit [Ping timeout: 245 seconds]
23:30
dalekurt_ is now known as dalekurt
23:32
srbartlett has joined #ruby-lang
23:34
dalekurt_ has joined #ruby-lang
23:35
mistym has quit [Remote host closed the connection]
23:37
dalekurt has quit [Ping timeout: 264 seconds]
23:38
stardiviner has joined #ruby-lang
23:39
dalekurt_ is now known as dalekurt
23:40
woollyams has quit [Quit: Computer has gone to sleep.]
23:42
neocoin has joined #ruby-lang
23:43
JoelMcCracken has quit [Ping timeout: 264 seconds]
23:43
kurko_ has joined #ruby-lang
23:43
msaffitz has quit [Quit: Computer has gone to sleep.]
23:44
brianpWins has quit [Quit: brianpWins]
23:50
toretore has quit [Quit: Leaving]
23:50
JoelMcCracken has joined #ruby-lang
23:51
thone_ has quit [Quit: leaving]
23:51
thone has quit [Quit: Lost terminal]
23:52
hopkinsju has quit [Quit: hopkinsju]
23:52
espinet has joined #ruby-lang
23:54
malev has quit [Remote host closed the connection]
23:54
kke has quit [Ping timeout: 252 seconds]
23:54
kke has joined #ruby-lang
23:55
wallerdev has quit [Quit: wallerdev]
23:55
wallerdev has joined #ruby-lang
23:56
johnashenfelter has joined #ruby-lang
23:57
thone has joined #ruby-lang
23:57
johnashenfelter has left #ruby-lang [#ruby-lang]
23:58
soahccc is now known as soahccc`
23:58
espinet has quit [Quit: espinet]
23:59
johnashenfelter has joined #ruby-lang
23:59
kurko_ has quit [Quit: This computer has gone to sleep]
23:59
soahccc` is now known as soahccc
23:59
bfreeman has quit [Quit: bfreeman]