00:01
johnashenfelter has left #ruby-lang [#ruby-lang]
00:04
wallerdev has quit [Quit: wallerdev]
00:05
kyrylo has quit [Quit: WeeChat 0.3.8]
00:06
wallerdev has joined #ruby-lang
00:06
cube526 has joined #ruby-lang
00:07
cantonic has joined #ruby-lang
00:09
Sambalero has joined #ruby-lang
00:09
thone has quit [Quit: Lost terminal]
00:10
r0bby has joined #ruby-lang
00:11
burgestrand has quit [Quit: Leaving.]
00:13
pbjorklu1d has quit [Read error: Connection reset by peer]
00:14
hopkinsju has joined #ruby-lang
00:14
pbjorklund has joined #ruby-lang
00:15
kvs has quit [Ping timeout: 248 seconds]
00:16
rails has quit [Ping timeout: 272 seconds]
00:16
kvs has joined #ruby-lang
00:16
cube526 has quit [Quit: Bye]
00:17
<
jtoy >
how can I end execution from inside of a proc?
00:17
<
jtoy >
return doesn't seem to work
00:18
neocoin has quit [Remote host closed the connection]
00:18
neocoin has joined #ruby-lang
00:18
neocoin has quit [Read error: Connection reset by peer]
00:19
rails has joined #ruby-lang
00:19
neocoin has joined #ruby-lang
00:23
neocoin has quit [Ping timeout: 240 seconds]
00:26
thone has joined #ruby-lang
00:27
r0bby_ has joined #ruby-lang
00:27
Hakon|mbp has quit [Quit: Leaving...]
00:28
sailias has joined #ruby-lang
00:30
r0bby has quit [Ping timeout: 252 seconds]
00:31
mistym has joined #ruby-lang
00:32
neocoin has joined #ruby-lang
00:38
<
nebbie >
doesn't proc returns take you out of the method and use that return value instead?
00:41
<
banisterfiend` >
jtoy: next works too, depending on what kind of behaviour u want
00:44
sailias has quit [Quit: Leaving.]
00:44
banisterfiend` has quit [Remote host closed the connection]
00:45
banisterfiend has joined #ruby-lang
00:45
sailias has joined #ruby-lang
00:48
thone has quit [Quit: leaving]
00:48
thone has joined #ruby-lang
00:49
sailias has quit [Client Quit]
00:49
banisterfiend has quit [Ping timeout: 244 seconds]
00:55
banisterfiend has joined #ruby-lang
00:55
gregf has quit [Quit: WeeChat 0.3.8]
00:57
havenn has joined #ruby-lang
00:57
r0bby_ is now known as robbyoconnor
00:59
havenn has quit [Remote host closed the connection]
00:59
Z33K|Lux has joined #ruby-lang
01:01
hopkinsju has quit [Quit: hopkinsju]
01:01
joshwines has joined #ruby-lang
01:03
gix has quit [Ping timeout: 255 seconds]
01:04
havenn has joined #ruby-lang
01:05
banisterfiend has quit [Ping timeout: 240 seconds]
01:06
banisterfiend has joined #ruby-lang
01:07
gix has joined #ruby-lang
01:08
bryancp has quit [Remote host closed the connection]
01:10
tooky has quit [Read error: Connection reset by peer]
01:14
imperator has quit [Quit: Leaving]
01:15
neoesque has joined #ruby-lang
01:15
kurko_ has joined #ruby-lang
01:16
jperry2 has quit [Quit: jperry2]
01:17
hahuang65 has quit [Quit: Computer has gone to sleep.]
01:18
savage- has quit [Remote host closed the connection]
01:19
outoftime has joined #ruby-lang
01:20
mrsolo has quit [Quit: Leaving]
01:21
Sambalero has quit [Remote host closed the connection]
01:28
cdt has joined #ruby-lang
01:35
methym has joined #ruby-lang
01:36
voker57 has quit [Read error: Operation timed out]
01:36
s0ber has quit [Remote host closed the connection]
01:37
s0ber has joined #ruby-lang
01:37
jsilver has quit [Remote host closed the connection]
01:37
zenspider has quit [Read error: Operation timed out]
01:38
voker57 has joined #ruby-lang
01:38
voker57 has quit [Changing host]
01:38
voker57 has joined #ruby-lang
01:41
jtoy has quit [Quit: jtoy]
01:41
dv310p3r has joined #ruby-lang
01:42
havenn has quit [Read error: Connection reset by peer]
01:42
havenn has joined #ruby-lang
01:42
havenn has quit [Remote host closed the connection]
01:52
krz has joined #ruby-lang
01:53
seanstickle has quit [Quit: Nihil sub sole novum]
01:55
<
MrWGW >
any of you know of a library analogous to python's fabric library?
01:56
krz has quit [Client Quit]
01:56
<
MrWGW >
I've authored a program in python that uses fabric but I really want to rewrite it in ruby
01:57
<
lianj >
you could build something like that with net/ssh from stdlib, but not sure how far fabric goes
01:58
<
MrWGW >
fabric's main thing that it does that I'm interested in
01:58
savage- has joined #ruby-lang
01:58
<
MrWGW >
it returns the Python equivalent of a hash of the output of the commands it dispatches
01:58
<
MrWGW >
tagged by hostname
01:58
<
MrWGW >
so the hostname the command was run on is the key
01:58
<
MrWGW >
and the output of the command is the value
02:02
<
MrWGW >
that looks cool
02:03
<
MrWGW >
I mainly need the hash output because I use it for saving variables
02:09
krz has joined #ruby-lang
02:11
dhruvasagar has joined #ruby-lang
02:13
Rizzle has quit [Ping timeout: 245 seconds]
02:13
Rizzle has joined #ruby-lang
02:17
andrewhl has joined #ruby-lang
02:18
outsmartin1 has quit [Quit: Leaving.]
02:18
snk has quit [Quit: I accidentally the whole program.]
02:21
snk has joined #ruby-lang
02:21
snk has quit [Changing host]
02:21
snk has joined #ruby-lang
02:22
sepp2k1 has quit [Remote host closed the connection]
02:24
jsilver has joined #ruby-lang
02:32
Mikoangelo has quit [Ping timeout: 246 seconds]
02:32
Mikoangelo has joined #ruby-lang
02:36
Sambalero has joined #ruby-lang
02:36
dhruvasagar has quit [Read error: Connection reset by peer]
02:37
dhruvasagar has joined #ruby-lang
02:39
Asher has quit [Quit: Leaving.]
02:47
slyphon has joined #ruby-lang
02:47
Asher has joined #ruby-lang
02:49
artOfWar has joined #ruby-lang
02:54
bryancp has joined #ruby-lang
02:55
igotnolegs has joined #ruby-lang
02:56
zenspider has joined #ruby-lang
02:57
banisterfiend has quit [Ping timeout: 244 seconds]
03:02
zrail has joined #ruby-lang
03:02
<
zrail >
Is there any known circumstance where ruby would keep a file open even after an explicit call to close()?
03:02
<
zrail >
i'm seeing this happen inside sinatra and i don't know how to stop it
03:03
<
drbrain >
sinatra might dup it
03:03
<
drbrain >
but that seems unlikely
03:03
<
zenspider >
highly doubt that it would
03:04
<
drbrain >
zrail: how do you know it's still open?
03:04
<
zrail >
lsof | grep <that pid> show as bunch of text files that i'm explicitly closing
03:05
<
zrail >
oh a bare begin/rescue. hold please.
03:05
<
zrail >
(this may be entirely my fault)
03:06
<
zenspider >
hah. you're not closing it :P
03:06
savage- has quit [Remote host closed the connection]
03:08
<
drbrain >
zrail: why are you using close instead of open with block?
03:09
<
zrail >
i was using open with block and it was doing the same thing
03:09
<
zrail >
yeah, i have bigger problems
03:09
<
zrail >
sorry about that
03:09
bryancp has quit [Remote host closed the connection]
03:09
<
zenspider >
no prob
03:10
<
zenspider >
glad we could help :P
03:10
<
zenspider >
err... mock
03:12
banisterfiend has joined #ruby-lang
03:12
ledao has quit [Quit: Leaving.]
03:18
outoftime has quit [Remote host closed the connection]
03:20
kurko_ has quit [Quit: This computer has gone to sleep]
03:24
rippa has joined #ruby-lang
03:25
<
MrWGW >
btw drbrain your rubygems faciliy is vastly superior to the equivalent facilities in python
03:25
yugui_zzz is now known as yugui
03:27
rtinker has joined #ruby-lang
03:28
JoelMcCracken has quit [Ping timeout: 245 seconds]
03:29
concernedcitizen has joined #ruby-lang
03:29
bfreeman has joined #ruby-lang
03:30
concernedcitizen has quit [Remote host closed the connection]
03:32
shtirlic has joined #ruby-lang
03:32
shtirlic has quit [Remote host closed the connection]
03:34
dhruvasagar has quit [Ping timeout: 250 seconds]
03:35
Sambalero has quit [Remote host closed the connection]
03:36
dhruvasagar has joined #ruby-lang
03:37
tenderlove has quit [Remote host closed the connection]
03:44
dhruvasagar has quit [Ping timeout: 264 seconds]
03:45
rippa has quit [Ping timeout: 245 seconds]
03:47
<
banisterfiend >
MrWGW: do you like talking about facilities
03:47
zigidias has quit [Remote host closed the connection]
03:49
<
MrWGW >
not as much as I like using them
03:50
jtoy has joined #ruby-lang
03:51
qpingu has quit [Ping timeout: 246 seconds]
03:53
<
banisterfiend >
MrWGW: doesn't python have a rubygems like facility? what facilities does it have?
03:56
<
erikh >
easy_install
03:57
ruby-lang748 has joined #ruby-lang
03:57
ryanf has quit [Read error: Connection reset by peer]
03:57
ryanf has joined #ruby-lang
03:58
jtoy has quit [Quit: jtoy]
03:59
ruby-lang748 has quit [Client Quit]
04:03
mistym has quit [Remote host closed the connection]
04:05
malev has joined #ruby-lang
04:05
savage- has joined #ruby-lang
04:08
l0st1 has joined #ruby-lang
04:09
setmeaway has quit [Ping timeout: 240 seconds]
04:10
l0st1 has quit [Client Quit]
04:16
GregHelton has joined #ruby-lang
04:17
GregHelton has quit [Remote host closed the connection]
04:24
xtagon has quit [Ping timeout: 244 seconds]
04:25
savage- has quit [Remote host closed the connection]
04:27
orange_ninja has quit [Ping timeout: 250 seconds]
04:33
jtoy has joined #ruby-lang
04:33
stardiviner has joined #ruby-lang
04:36
^sandbags^ has joined #ruby-lang
04:37
stardiviner has quit [Client Quit]
04:38
stardiviner has joined #ruby-lang
04:38
jtoy has quit [Quit: jtoy]
04:39
ryanf has quit [Quit: leaving]
04:40
sandbags has quit [Ping timeout: 255 seconds]
04:45
malev has quit [Remote host closed the connection]
04:51
yxhuvud has joined #ruby-lang
04:56
Asher has quit [Read error: Connection reset by peer]
04:57
rtinker has quit [Remote host closed the connection]
04:57
perryh_away is now known as perryh
04:57
Asher has joined #ruby-lang
04:59
slyphon has quit [Ping timeout: 245 seconds]
04:59
perryh is now known as perry
05:03
petercooper has quit [Remote host closed the connection]
05:05
espinet has joined #ruby-lang
05:07
ryanf has joined #ruby-lang
05:08
dhruvasagar has joined #ruby-lang
05:11
sandbags has joined #ruby-lang
05:14
zz_chrismcg has quit [Quit: Bye]
05:14
^sandbags^ has quit [Ping timeout: 244 seconds]
05:15
zz_chrismcg has joined #ruby-lang
05:21
gokul has joined #ruby-lang
05:22
jsilver has quit [Remote host closed the connection]
05:22
mssola has joined #ruby-lang
05:25
rushed has joined #ruby-lang
05:30
Sambalero has joined #ruby-lang
05:35
espinet has quit [Quit: espinet]
05:36
neoesque has quit [Quit: Bye!]
05:38
savage- has joined #ruby-lang
05:41
stardiviner has quit [Ping timeout: 255 seconds]
05:42
|Vargas| has joined #ruby-lang
05:42
|Vargas| has quit [Changing host]
05:42
|Vargas| has joined #ruby-lang
05:44
yumike has joined #ruby-lang
05:44
stardiviner has joined #ruby-lang
05:45
stardiviner has quit [Read error: Connection reset by peer]
05:54
akira989 has quit [Remote host closed the connection]
05:57
kitallis has joined #ruby-lang
06:00
brianpWins has joined #ruby-lang
06:11
dhruvasagar has quit [Quit: Lost terminal]
06:20
ruurd has quit [Quit: Leaving...]
06:23
andrewhl has quit [Remote host closed the connection]
06:29
vectorshelve has joined #ruby-lang
06:29
<
vectorshelve >
the gem is installed if i run it independentaly .. but then after tht if i agn run bundle install same error
06:30
<
banisterfiend >
vectorshelve: shhh
06:31
<
vectorshelve >
banisterfiend: who let you back in here ?
06:31
<
erikh >
the internet
06:31
<
erikh >
anyhow, if you think it's a bundler issue, there's #bundler which should be a lot more helpful than here.
06:32
<
vectorshelve >
erikh: thanks
06:33
dc5ala has joined #ruby-lang
06:40
robotmay has joined #ruby-lang
06:41
JohnBat26 has joined #ruby-lang
06:43
Sambalero has quit [Remote host closed the connection]
06:46
postmodern has quit [Quit: Leaving]
06:46
ryanf has quit [Quit: leaving]
06:46
postmodern has joined #ruby-lang
06:49
savage- has quit [Remote host closed the connection]
06:49
scientes has quit [Ping timeout: 244 seconds]
06:49
<
banisterfiend >
erikh: hey erik
06:51
<
banisterfiend >
erikh: i see you uploaded a RL photo on twitter!!
06:52
<
banisterfiend >
erikh: good to finally meet u, erik!! :)))
06:53
ttilley is now known as ttilley_off
06:59
solars has joined #ruby-lang
07:07
zmack has joined #ruby-lang
07:08
ruurd has joined #ruby-lang
07:08
zmack_ has joined #ruby-lang
07:12
zmack has quit [Ping timeout: 264 seconds]
07:18
brianpWins has quit [Quit: brianpWins]
07:24
mwjcomputing2 has quit [Read error: Connection reset by peer]
07:24
symm- has joined #ruby-lang
07:24
krz has quit [Quit: krz]
07:27
<
erikh >
banisterfiend: hi
07:29
<
banisterfiend >
erikh: hey homie
07:29
<
banisterfiend >
erikh: why did you decide to reveal yourself on twitter
07:29
<
erikh >
boredom mostly
07:30
telemachus has quit [Ping timeout: 264 seconds]
07:31
robotmay has quit [Remote host closed the connection]
07:31
<
banisterfiend >
erikh: just mixing it up a bit?
07:32
<
erikh >
yeah. I get that way.
07:35
telemachus has joined #ruby-lang
07:35
stardiviner has joined #ruby-lang
07:38
robbyoconnor has quit [Read error: Connection reset by peer]
07:40
wallerdev has quit [Quit: wallerdev]
07:41
<
erikh >
lots of changes coming down the pipe for me, I think.
07:42
<
erikh >
think I'm going to scratch sm again and start over with taking bits and pieces from systemd and making them optional bits for people who don't want the whole hog
07:42
<
erikh >
there are some good ideas in systemd, it's just an all or nothing pile of turd
07:42
<
erikh >
also thinking about writing a syslogd
07:43
wallerdev has joined #ruby-lang
07:43
<
erikh >
did I mention it's almost 1am and I'm rambling
07:44
igotnolegs has quit [Quit: Computer has gone to sleep.]
07:47
<
yorickpeterse >
Please write more wheels :)
07:47
perry is now known as perryh_away
07:48
<
erikh >
I don't subscribe to "the old ways are best" bs
07:48
<
banisterfiend >
erikh: what do u think of bdsm
07:48
<
erikh >
but I do believe in unix philosophy
07:48
<
erikh >
banisterfiend: I haven't looked at it.
07:48
wallerdev has quit [Quit: wallerdev]
07:51
tomb has joined #ruby-lang
07:51
setmeaway has joined #ruby-lang
07:52
<
yorickpeterse >
What's up with all these stupid gem/project names these days?
07:52
<
banisterfiend >
yorickpeterse: all the good names are taken already ;)
07:52
cdt has quit [Quit: Ex-Chat]
07:52
<
yorickpeterse >
bullshit
07:52
<
yorickpeterse >
if that were true Pry would've been called "Interactive Dick REPL"
07:52
<
yorickpeterse >
or something like that
07:53
<
banisterfiend >
yorickpeterse: some people say pry isn't a good name, as it sounds like the name for a python tool
07:53
<
yorickpeterse >
No, that would require it to include the word python
07:54
<
yorickpeterse >
iPython, bPython, etc
07:54
<
yorickpeterse >
I'm amazed they didn't call it iGuido
07:57
outsmartin has joined #ruby-lang
07:58
kyrylo has joined #ruby-lang
07:59
Dreamer3 has quit [Remote host closed the connection]
08:00
Dreamer3 has joined #ruby-lang
08:00
workmad3 has joined #ruby-lang
08:00
<
symm- >
hi, does anyone know offhand what magic the ruby installer on windows does
08:00
<
erikh >
man, what a hater
08:00
<
symm- >
to make foo.rb files runnable by just typing 'foo'
08:02
<
erikh >
symm-: I think it registers a mime type handler
08:02
<
erikh >
but don't hold me to that.
08:02
<
symm- >
I'll do the boring thing and just run the installer
08:05
srbartlett has quit [Remote host closed the connection]
08:10
pbjorklu1d has joined #ruby-lang
08:10
pbjorklu1d has quit [Client Quit]
08:11
jsilver has joined #ruby-lang
08:13
gnufied has joined #ruby-lang
08:13
gregmore_ has joined #ruby-lang
08:15
gregmoreno has quit [Ping timeout: 265 seconds]
08:17
workmad3 has quit [Ping timeout: 245 seconds]
08:22
cdt has joined #ruby-lang
08:27
robotmay has joined #ruby-lang
08:31
artOfWar has quit [Remote host closed the connection]
08:37
sora_h is now known as s0ra_h
08:40
workmad3 has joined #ruby-lang
08:41
workmad3 has joined #ruby-lang
08:46
stardiviner has joined #ruby-lang
08:46
futurechimp has joined #ruby-lang
08:47
stardiviner has quit [Client Quit]
08:52
thone_ has joined #ruby-lang
08:54
stardiviner has joined #ruby-lang
08:54
<
vectorshelve >
the gem is installed if i run it independentaly .. but then after tht if i agn run bundle install same error
08:56
thone has quit [Ping timeout: 248 seconds]
08:58
<
yorickpeterse >
vectorshelve: there's not much you can do about that in Bundler, it's a network timeout
08:58
<
vectorshelve >
yorickpeterse: why do you think is that happeneing ? and what is the solution ?
09:00
<
yorickpeterse >
Could be any number of reasons. Faulty network configuration, random timeouts, Rubygems going to shit, etc
09:01
<
yorickpeterse >
ping rubygems.org for a while and see if you get any timeouts
09:03
jsilver has quit [Remote host closed the connection]
09:04
tekin has joined #ruby-lang
09:11
pbjorklund has quit [Quit: Lost terminal]
09:12
pbjorklund has joined #ruby-lang
09:12
dalekurt has quit [Quit: Zzz...]
09:13
Z33K|Lux has quit [Ping timeout: 245 seconds]
09:25
s0ra_h is now known as sora_h
09:26
burgestrand has joined #ruby-lang
09:34
jsilver has joined #ruby-lang
09:35
jsilver has quit [Remote host closed the connection]
09:40
stardiviner has joined #ruby-lang
09:41
artOfWar has joined #ruby-lang
09:46
artOfWar has quit [Ping timeout: 264 seconds]
09:50
srbartlett has joined #ruby-lang
09:51
sora_h is now known as s0ra_h
09:55
ioga_wrk has quit [Read error: Connection reset by peer]
09:59
seoaqua has joined #ruby-lang
10:00
kristofferrr has joined #ruby-lang
10:05
symm- has quit [Quit: Leaving...]
10:07
s0ra_h is now known as sora_h
10:08
Z33K|Lux has joined #ruby-lang
10:08
z33k|Luxx has joined #ruby-lang
10:11
AlHafoudh has joined #ruby-lang
10:13
AlHafoudh has quit [Client Quit]
10:14
jarib has quit [Excess Flood]
10:15
jarib has joined #ruby-lang
10:21
Z33K|Lux has quit []
10:21
z33k|Luxx has quit []
10:28
dhruvasagar has joined #ruby-lang
10:30
mssola has quit [Quit: Konversation terminated!]
10:30
ioga_wrk has joined #ruby-lang
10:32
sora_h is now known as s0ra_h
10:38
symm- has joined #ruby-lang
10:38
s0ra_h is now known as sora_h
10:39
zz_chrismcg has left #ruby-lang [#ruby-lang]
10:40
chrismcg has joined #ruby-lang
10:42
sora_h is now known as s0ra_h
10:42
stardiviner has joined #ruby-lang
10:43
srbartlett has quit [Remote host closed the connection]
10:48
rolfb has joined #ruby-lang
10:50
s0ra_h is now known as sora_h
10:54
woollyams has joined #ruby-lang
10:56
Criztian has joined #ruby-lang
10:58
kith has quit [Quit: kith]
11:01
kith has joined #ruby-lang
11:01
kith has quit [Changing host]
11:01
kith has joined #ruby-lang
11:04
futurechimp has quit [Ping timeout: 264 seconds]
11:05
isale-eko has joined #ruby-lang
11:08
AlHafoudh has joined #ruby-lang
11:09
futurechimp has joined #ruby-lang
11:10
symm- has quit [Ping timeout: 252 seconds]
11:12
Natch has joined #ruby-lang
11:12
bryancp has joined #ruby-lang
11:15
symm- has joined #ruby-lang
11:19
Andreas_ has joined #ruby-lang
11:19
bryancp has quit [Remote host closed the connection]
11:21
Andreas_ has quit [Client Quit]
11:22
Andreas_ has joined #ruby-lang
11:22
Andreas_ has quit [Client Quit]
11:23
MacMan90 has joined #ruby-lang
11:23
MacMan90 has quit [Client Quit]
11:25
toretore has joined #ruby-lang
11:27
MacMan90 has joined #ruby-lang
11:28
mwjcomputing has joined #ruby-lang
11:29
MacMan90 has quit [Client Quit]
11:35
kristofferrr has quit [Quit: ❤]
11:35
tekin has quit [Quit: Computer has gone to sleep.]
11:39
urbanmonk has joined #ruby-lang
11:41
gokul has quit [Quit: Leaving]
11:43
yugui is now known as yugui_zzz
11:46
umttumt has joined #ruby-lang
11:51
macmartine has joined #ruby-lang
12:02
methym has quit [Quit: methym]
12:08
cantonic_ has joined #ruby-lang
12:10
kedare has joined #ruby-lang
12:11
srbartlett has joined #ruby-lang
12:11
cantonic has quit [Read error: Operation timed out]
12:11
cantonic_ is now known as cantonic
12:16
yorickpeterse is now known as yorick-cowboy
12:16
sailias has joined #ruby-lang
12:24
pbjorklund has quit [Ping timeout: 246 seconds]
12:24
mistym has joined #ruby-lang
12:24
mistym has joined #ruby-lang
12:24
mistym has quit [Changing host]
12:24
pbjorklund has joined #ruby-lang
12:32
yorick-cowboy is now known as yorickpeterse
12:33
dv310p3r has quit [Read error: Operation timed out]
12:34
pbjorklund has quit [Ping timeout: 244 seconds]
12:35
pbjorklund has joined #ruby-lang
12:37
mistym has quit [Remote host closed the connection]
12:38
jxie has quit [Quit: leaving]
12:41
tommyvyo has joined #ruby-lang
12:43
orange_ninja has joined #ruby-lang
12:43
orange_ninja has quit [Client Quit]
12:44
woollyams has quit [Quit: Computer has gone to sleep.]
12:45
srbartlett has quit [Remote host closed the connection]
12:48
jperry2 has joined #ruby-lang
12:48
isale-eko has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]]
12:48
tekin has joined #ruby-lang
12:49
tekin has quit [Client Quit]
12:50
sailias has quit [Quit: Leaving.]
12:50
sepp2k has joined #ruby-lang
12:53
tekin has joined #ruby-lang
12:56
unixabg has joined #ruby-lang
12:57
<
unixabg >
Greetings, I have a ruby application that is doing some image manipulation. Is it wrong to set the nice priority so when
12:58
<
unixabg >
the system is running large number of processes, it does not start death spiral?
12:58
mistym has joined #ruby-lang
12:59
<
yorickpeterse >
I doubt the priority will have much of an impact
12:59
<
yorickpeterse >
You're better off limiting the resources such as the maximum amount of processes, memory, etc
13:00
<
unixabg >
yorickpeterse: can I handle such things inside my program?
13:00
jarib has quit [Excess Flood]
13:02
jarib has joined #ruby-lang
13:04
Criztian has quit [Remote host closed the connection]
13:04
urbanmonk has quit [Quit: Leaving...]
13:04
bglusman has joined #ruby-lang
13:05
<
yorickpeterse >
You can but you should always assume the process itself is lying
13:05
<
yorickpeterse >
You're better off using a supervisor such as supervisord, monit, runit, etc
13:05
pbjorklund has quit [Read error: Operation timed out]
13:07
<
yorickpeterse >
Of those I think supervisord is unable to limit memory resources and the like, though I could be wrong
13:08
pbjorklund has joined #ruby-lang
13:08
mssola has joined #ruby-lang
13:09
umttumt has quit [Remote host closed the connection]
13:09
<
injekt >
runit/monit <3
13:12
<
yorickpeterse >
I hate chpst though
13:12
<
yorickpeterse >
I can't seem to make it limit processes by residential memory opposed to only vram
13:13
rolfb has quit [Quit: Leaving...]
13:13
jarib has quit [Excess Flood]
13:14
jarib has joined #ruby-lang
13:15
kvirani has joined #ruby-lang
13:19
JoelMcCracken has joined #ruby-lang
13:22
kurko_ has joined #ruby-lang
13:23
mistym has quit [Remote host closed the connection]
13:24
beiter has joined #ruby-lang
13:28
kristofferrr has joined #ruby-lang
13:31
rolfb has joined #ruby-lang
13:32
rohit has joined #ruby-lang
13:35
tofaffy has quit [Ping timeout: 252 seconds]
13:36
enebo has joined #ruby-lang
13:37
<
rue >
Well, just use one that works
13:37
dv310p3r has joined #ruby-lang
13:38
johnpaul has joined #ruby-lang
13:38
<
yorickpeterse >
no wai
13:39
slyphon has joined #ruby-lang
13:40
toertore has joined #ruby-lang
13:40
pbjorklu1d has joined #ruby-lang
13:40
cjs226 has joined #ruby-lang
13:41
rolfb has quit [Quit: Leaving...]
13:41
danishman has joined #ruby-lang
13:41
pbjorklund has quit [Ping timeout: 240 seconds]
13:42
macmartine has quit [Quit: macmartine]
13:42
toretore has quit [Ping timeout: 256 seconds]
13:43
HassanS has joined #ruby-lang
13:45
beiter has quit [Quit: beiter]
13:46
diegoviola has joined #ruby-lang
13:46
neocoin has quit [Remote host closed the connection]
13:46
neocoin has joined #ruby-lang
13:47
sockmonk has joined #ruby-lang
13:48
johnashenfelter has joined #ruby-lang
13:48
johnashenfelter has quit [Client Quit]
13:49
urbanmonk has joined #ruby-lang
13:49
urbanmonk has quit [Client Quit]
13:51
Sambalero has joined #ruby-lang
13:53
johnpaul has joined #ruby-lang
13:56
Kellin has quit [Ping timeout: 245 seconds]
13:58
rohit has quit [Quit: Leaving]
13:58
vectorshelve has quit [Quit: Page closed]
13:59
outoftime has joined #ruby-lang
14:01
futurechimp has quit [Quit: This computer has gone to sleep]
14:04
mistym has joined #ruby-lang
14:04
mistym has quit [Changing host]
14:04
mistym has joined #ruby-lang
14:06
johnashenfelter has joined #ruby-lang
14:06
johnashenfelter has left #ruby-lang [#ruby-lang]
14:11
andrewhl has joined #ruby-lang
14:14
johnpaul has joined #ruby-lang
14:14
johnpaul has quit [Client Quit]
14:15
yumike has quit [Quit: Computer has gone to sleep.]
14:16
publicvoid_ has joined #ruby-lang
14:17
publicvoid__ has quit [Read error: Operation timed out]
14:17
malev has joined #ruby-lang
14:19
johnashenfelter has joined #ruby-lang
14:20
<
johnashenfelter >
anyone able to give specific instructions for compiling ruby 1.9.3p194 with a specific openssl (non-system)
14:20
<
johnashenfelter >
lots of trying to RTFM, no luck except through RVM which isn't something we like on our production servers
14:20
perryh_away is now known as perryh
14:21
futurechimp has joined #ruby-lang
14:23
wallerdev has joined #ruby-lang
14:23
perryh is now known as perryh_away
14:23
sei has quit [Quit: It's too late. You've awakened the gazebo. It catches and eats you.]
14:23
Jay_Levitt has joined #ruby-lang
14:24
Jay_Levitt has quit [Client Quit]
14:24
sora_h is now known as s0ra_h
14:25
s0ra_h is now known as sora_h
14:26
gravindran has joined #ruby-lang
14:28
bryancp has joined #ruby-lang
14:32
pbjorklu1d has quit [Ping timeout: 240 seconds]
14:32
akira989 has joined #ruby-lang
14:34
<
diegoviola >
johnashenfelter: have you tried looking at ./configure --help ?
14:36
<
johnashenfelter >
yes -- nothing specific about ssl
14:36
<
johnashenfelter >
rvm and older rubies apparently took a --with-openssl-dir=
14:36
<
johnashenfelter >
but thats unrecognized in 1.9.3 -- i don't know about prev behavior, but thats in a lot of blog posts/etc
14:37
macmartine has joined #ruby-lang
14:40
<
diegoviola >
not sure, sorry
14:40
<
diegoviola >
i would see how rvm does it
14:40
<
johnashenfelter >
thanks anyhow -- yeah -- pretty hard to parse through the bash :) but posted on #rvm
14:41
sora_h is now known as s0ra_h
14:41
<
diegoviola >
it's strange that ssl isn't in the configure, i've just took a lookt at it
14:42
<
diegoviola >
s/lookt/look/
14:42
s0ra_h is now known as sora_h
14:46
Criztian has joined #ruby-lang
14:49
<
johnashenfelter >
i know -- baffling :)
14:49
enroxorz has joined #ruby-lang
14:49
enroxorz has quit [Changing host]
14:49
enroxorz has joined #ruby-lang
14:50
<
johnashenfelter >
openssl 1.0+ on ubuntu 12.04 (and osx) has a bug with certain tls1.0 servers
14:50
<
johnashenfelter >
so you need 0.9.8 -- rvm can install a rvm-local version of openssl and compile it just fine
14:50
<
johnashenfelter >
that works as expected -- normal rvm or any normal compile using the 1.0 version fails
14:50
<
johnashenfelter >
so trying to get from there to building without rvm
14:51
<
johnashenfelter >
pita
14:52
<
diegoviola >
perhaps there's an env variable that you could use to point it to the right openssl
14:52
<
diegoviola >
have you tried with LD_LIBRARY_PATH or something
14:52
zmack_ has quit [Remote host closed the connection]
14:52
JoelMcCracken has quit [Ping timeout: 244 seconds]
14:52
zmack has joined #ruby-lang
14:53
rolfb has joined #ruby-lang
14:54
<
johnashenfelter >
exactly -- thats what I'm looking for
14:54
<
johnashenfelter >
i'm not normally a compile it from scratch guy (i like my rvm and/or rbenv+ruby-build)
14:55
<
johnashenfelter >
though I did find wayne passes a few flags to openssl that are non-standard (probably better? no-this and that)
14:55
<
johnashenfelter >
so learning :)
14:55
<
johnashenfelter >
and definitely getting the CPU moneys worth out of that EC2 box with all the compilation
14:55
<
rue >
Better, worse, cargo-culting, who’s to say
14:56
hynkle has joined #ruby-lang
14:57
zmack has quit [Ping timeout: 245 seconds]
14:58
tcopp has joined #ruby-lang
15:01
kedare has quit [Ping timeout: 272 seconds]
15:04
robbyoconnor has joined #ruby-lang
15:04
bfreeman has quit [Quit: bfreeman]
15:08
savage- has joined #ruby-lang
15:08
andrewhl has quit [Remote host closed the connection]
15:11
<
diegoviola >
LD_LIBRARY_PATH will override libraries from your dynamic executable but only temporarilty I think
15:12
<
diegoviola >
*temporarily
15:12
<
johnashenfelter >
seems reasonable at first glance -- going to dig in
15:12
SteveG has joined #ruby-lang
15:12
|Vargas| has quit [Quit: ...]
15:15
coryf has joined #ruby-lang
15:18
dalekurt has joined #ruby-lang
15:18
HassanS has quit [Quit: leaving]
15:19
lupine_85 has quit [Ping timeout: 240 seconds]
15:19
tomb has joined #ruby-lang
15:19
mwjcomputing has quit [Quit: Leaving]
15:22
dalekurt_ has joined #ruby-lang
15:22
savage- has quit [Remote host closed the connection]
15:22
jxie has joined #ruby-lang
15:23
dalekurt has quit [Ping timeout: 248 seconds]
15:23
dalekurt_ is now known as dalekurt
15:23
lupine_85 has joined #ruby-lang
15:24
solars has quit [Read error: Operation timed out]
15:25
postmodern has quit [Quit: Leaving]
15:38
malev has quit [Remote host closed the connection]
15:38
andrewhl has joined #ruby-lang
15:40
<
johnashenfelter >
here's the answer:
15:40
<
johnashenfelter >
ruby -e 'RbConfig::CONFIG.each { |k,v| puts "#{k} => #{v}" }' | grep ssl
15:40
<
johnashenfelter >
configure_args => '--prefix=/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194' '--enable-shared' '--disable-install-doc' '--with-openssl' '--with-opt-dir=/home/ubuntu/.rvm/usr' '--with-libyaml'
15:40
savage- has joined #ruby-lang
15:42
savage- has quit [Remote host closed the connection]
15:43
macmartine has quit [Ping timeout: 245 seconds]
15:44
incomethax has joined #ruby-lang
15:45
macmartine has joined #ruby-lang
15:46
S1kx has joined #ruby-lang
15:46
S1kx has joined #ruby-lang
15:47
tjadc has joined #ruby-lang
15:50
bfreeman has joined #ruby-lang
15:53
wallerdev has quit [Quit: wallerdev]
15:53
HassanS_ has joined #ruby-lang
15:54
wallerdev has joined #ruby-lang
15:56
robotmay has quit [Remote host closed the connection]
15:57
bfreeman has quit [Ping timeout: 265 seconds]
15:57
HassanS_ has quit [Remote host closed the connection]
16:01
gnufied has quit [Quit: Leaving.]
16:01
johnashenfelter has left #ruby-lang [#ruby-lang]
16:01
johnashenfelter has joined #ruby-lang
16:02
msaffitz has joined #ruby-lang
16:06
Axsuul has quit [Ping timeout: 245 seconds]
16:06
macmartine has quit [Quit: macmartine]
16:07
Fretta has joined #ruby-lang
16:07
macmartine has joined #ruby-lang
16:09
mistym_ has joined #ruby-lang
16:09
mistym_ has quit [Remote host closed the connection]
16:11
malev has joined #ruby-lang
16:11
Axsuul has joined #ruby-lang
16:12
mytrile has joined #ruby-lang
16:14
savage- has joined #ruby-lang
16:15
macmartine has quit [Quit: macmartine]
16:19
kristofferrr has quit [Quit: ❤]
16:23
T_Rex_ has joined #ruby-lang
16:23
ruurd has quit [Quit: Leaving...]
16:23
slyphon is now known as slyphon_away
16:25
malev has quit [Remote host closed the connection]
16:26
futurechimp has quit [Quit: Leaving]
16:27
JoelMcCracken has joined #ruby-lang
16:30
jtoy has joined #ruby-lang
16:33
Testish has joined #ruby-lang
16:35
Sambalero has quit [Remote host closed the connection]
16:35
Testish has left #ruby-lang [#ruby-lang]
16:37
slyphon_away has quit [Quit: WeeChat 0.3.7]
16:37
johnashenfelter has quit [Quit: johnashenfelter]
16:43
tindron has quit []
16:43
kain has quit [Quit: quit]
16:47
kurko_ has quit [Quit: This computer has gone to sleep]
16:48
robotmay has joined #ruby-lang
16:51
andrewhl has quit [Read error: Connection reset by peer]
16:52
andrewhl has joined #ruby-lang
16:52
hynkle has quit [Quit: Computer has gone to sleep.]
16:54
voker57 has quit [Read error: Connection reset by peer]
16:54
Tearan has quit [Quit: Sleepy Badger....]
16:55
malev has joined #ruby-lang
16:55
cirenyc has joined #ruby-lang
16:57
kurko_ has joined #ruby-lang
16:59
cirenyc has quit [Read error: Connection reset by peer]
16:59
cirenyc has joined #ruby-lang
17:00
erics has joined #ruby-lang
17:01
dhruvasagar has quit [Ping timeout: 246 seconds]
17:04
Skif has quit [Ping timeout: 240 seconds]
17:05
chrismcg is now known as zz_chrismcg
17:07
ttilley_off is now known as ttilley
17:10
mytrile has quit [Remote host closed the connection]
17:15
brianpWins has joined #ruby-lang
17:15
outsmartin1 has joined #ruby-lang
17:16
bfreeman has joined #ruby-lang
17:17
hahuang65 has joined #ruby-lang
17:17
<
jtoy >
hi, I've written a bunch of threaded apps, but usually pretty simple, I'm making a more complicated one now, i wanted to know, in general for each thread should they all maintain their own connections, each thread will be talking to a db, redis, should i use a single connection for each service or have them all have their own connections?
17:18
outsmartin has quit [Ping timeout: 264 seconds]
17:19
rippa has joined #ruby-lang
17:20
hynkle has joined #ruby-lang
17:22
cdt has quit [Quit: Ex-Chat]
17:24
symm- has quit [Ping timeout: 252 seconds]
17:28
coryf_ has joined #ruby-lang
17:28
coryf has quit [Read error: Connection reset by peer]
17:28
coryf_ is now known as coryf
17:28
Sambalero has joined #ruby-lang
17:30
enebo has quit [Quit: enebo]
17:33
Criztian has quit [Remote host closed the connection]
17:36
havenn has joined #ruby-lang
17:40
kvirani has quit [Remote host closed the connection]
17:41
jarib has quit [Excess Flood]
17:41
carloslopes has joined #ruby-lang
17:41
jarib has joined #ruby-lang
17:43
scientes has joined #ruby-lang
17:49
fgomez has quit [Quit: Lost terminal]
17:53
cirenyc has quit [Ping timeout: 245 seconds]
17:53
krz has joined #ruby-lang
17:53
mrsolo has joined #ruby-lang
17:54
Sambalero has quit [Remote host closed the connection]
17:54
sora_h is now known as s0ra_h
17:57
jbsan has quit [Remote host closed the connection]
17:58
<
rue >
jtoy: You’d want to verify that the adapter is thread-safe
18:00
solars has joined #ruby-lang
18:00
mrsolo has quit [Quit: This computer has gone to sleep]
18:02
mrsolo has joined #ruby-lang
18:02
erics has quit [Remote host closed the connection]
18:03
Skif has joined #ruby-lang
18:05
kristofferrr has joined #ruby-lang
18:07
<
drbrain >
jtoy: it reduces lock contention to have a connection per thread
18:08
qpingu has joined #ruby-lang
18:09
kvirani has joined #ruby-lang
18:11
<
jtoy >
i think the libraries are thread safe, so ill probably go with a set of connections per thread
18:15
jfelchner has joined #ruby-lang
18:19
dhruvasagar has joined #ruby-lang
18:26
tbuehlmann has joined #ruby-lang
18:28
qpingu has left #ruby-lang [#ruby-lang]
18:29
butchanton has joined #ruby-lang
18:29
ruurd has joined #ruby-lang
18:30
dr_bob has joined #ruby-lang
18:30
havenn has quit [Remote host closed the connection]
18:36
mahlon has quit [Remote host closed the connection]
18:36
<
rue >
Sounds like a plan
18:36
mahlon has joined #ruby-lang
18:39
owen1 has joined #ruby-lang
18:39
JoelMcCracken has quit [Ping timeout: 265 seconds]
18:40
<
owen1 >
when i upload a big file to a ruby server, is the request being blocked?
18:46
HassanS has joined #ruby-lang
18:46
znowi has joined #ruby-lang
18:47
havenn has joined #ruby-lang
18:48
<
rue >
Whether that request is blocking would depend on the particular server. Typically it shouldn’t be
18:49
<
owen1 >
rue: ok. so passanger will spawn a new thread? and thin is using event loop so it will not?
18:50
neocoin has quit [Read error: Connection reset by peer]
18:52
neocoin has joined #ruby-lang
18:57
cirenyc has joined #ruby-lang
18:59
<
rue >
The latter, yes, I’m not certain about Passenger but I’d assume it will offload it somehow, yes.
18:59
<
rue >
Basically if you have a Real Web Server™, that shouldn’t be an issue
19:00
mrsolo has quit [Quit: This computer has gone to sleep]
19:00
<
owen1 >
rue: awesome. i am curious about how each server scale. the options are threads, process or event loop, as far as i know.
19:01
rizzy has joined #ruby-lang
19:02
voker57 has joined #ruby-lang
19:02
voker57 has quit [Changing host]
19:02
voker57 has joined #ruby-lang
19:03
dc5ala has quit [Quit: Ex-Chat]
19:05
mrsolo has joined #ruby-lang
19:09
segy has quit [Quit: leaving]
19:10
segy has joined #ruby-lang
19:10
segy has quit [Changing host]
19:10
segy has joined #ruby-lang
19:13
msaffitz has quit [Quit: Computer has gone to sleep.]
19:16
cirenyc has quit [Ping timeout: 245 seconds]
19:20
zmack has joined #ruby-lang
19:20
wallerdev has quit [Quit: wallerdev]
19:21
wallerdev has joined #ruby-lang
19:24
frem has joined #ruby-lang
19:25
kawaguchi has joined #ruby-lang
19:26
beiter has joined #ruby-lang
19:27
gsav has joined #ruby-lang
19:28
cirenyc has joined #ruby-lang
19:28
seoaqua has quit [Ping timeout: 245 seconds]
19:31
rizzy has quit [Ping timeout: 246 seconds]
19:31
stephenp has joined #ruby-lang
19:36
Berglund has joined #ruby-lang
19:38
rizzy has joined #ruby-lang
19:39
AlHafoudh has joined #ruby-lang
19:39
rking has quit [Quit: BRB - Restarting IRC client to check on memory footprint reduction.]
19:40
rking has joined #ruby-lang
19:40
rizzy_ has joined #ruby-lang
19:41
zmack has quit [Remote host closed the connection]
19:42
tbuehlmann has quit []
19:43
akira989 has quit [Remote host closed the connection]
19:47
agile has joined #ruby-lang
19:48
JoelMcCracken has joined #ruby-lang
19:49
havenn has quit [Remote host closed the connection]
19:49
naz has joined #ruby-lang
19:51
kain has joined #ruby-lang
19:53
anjen has joined #ruby-lang
19:53
rizzy has quit [Remote host closed the connection]
19:53
rizzy_ has quit [Read error: Connection reset by peer]
19:57
dr_bob has left #ruby-lang [#ruby-lang]
19:58
mytrile has joined #ruby-lang
19:59
akira989 has joined #ruby-lang
20:01
anjen has quit [Quit: anjen]
20:02
enebo has joined #ruby-lang
20:04
scientes has quit [Read error: Connection reset by peer]
20:08
beiter has left #ruby-lang [#ruby-lang]
20:08
robbyoconnor has quit [Ping timeout: 246 seconds]
20:08
yxhuvud has quit [Ping timeout: 265 seconds]
20:12
HassanS has quit [Ping timeout: 240 seconds]
20:12
Sambalero has joined #ruby-lang
20:12
unixabg has left #ruby-lang [#ruby-lang]
20:13
kawaguchi has quit [Quit: Leaving]
20:19
mwjcomputing has joined #ruby-lang
20:19
mwjcomputing has quit [Read error: Connection reset by peer]
20:21
rizzy has joined #ruby-lang
20:23
neocoin has quit [Remote host closed the connection]
20:24
jackhoy05 has joined #ruby-lang
20:28
Silowyi has joined #ruby-lang
20:29
<
Silowyi >
Is there a way in RDOC to collapse a section of the comments? A few of my functions generate large JSON objects and I'd like to show example objects, but have the object listing collapsible.
20:29
enroxorz has quit [Quit: Leaving]
20:29
<
drbrain >
Silowyi: no
20:30
<
drbrain >
Silowyi: you can put examples on a separate page (file) though
20:30
<
Silowyi >
and just link to it? not a bad idea.
20:31
msaffitz has joined #ruby-lang
20:35
msaffitz has quit [Ping timeout: 246 seconds]
20:37
woollyams has joined #ruby-lang
20:38
msaffitz has joined #ruby-lang
20:38
rippa has quit [Ping timeout: 255 seconds]
20:39
sepp2k1 has joined #ruby-lang
20:40
mssola has quit [Quit: Konversation terminated!]
20:40
znowi has quit [Ping timeout: 265 seconds]
20:40
sepp2k has quit [Ping timeout: 264 seconds]
20:41
jackhoy05 has left #ruby-lang [#ruby-lang]
20:42
jackhoy05 has joined #ruby-lang
20:45
znowi has joined #ruby-lang
20:47
ruurd has quit [Quit: Leaving...]
20:47
jsilver has joined #ruby-lang
20:50
jsilver has quit [Remote host closed the connection]
20:50
jsilver has joined #ruby-lang
20:52
jperry2 has quit [Quit: jperry2]
20:52
sepp2k1 has quit [Quit: Leaving.]
20:53
jsilver has quit [Remote host closed the connection]
20:53
sepp2k has joined #ruby-lang
20:53
jsilver has joined #ruby-lang
20:53
jperry2 has joined #ruby-lang
20:56
jackhoy05 has left #ruby-lang [#ruby-lang]
20:56
akira989 has quit [Remote host closed the connection]
20:57
Criztian has joined #ruby-lang
20:58
HassanS has joined #ruby-lang
20:58
kristofferrr has quit [Quit: ❤]
20:58
tekin has joined #ruby-lang
20:59
Swimming_Bird has joined #ruby-lang
20:59
msaffitz has quit [Quit: Computer has gone to sleep.]
20:59
burgestrand has quit [Quit: Leaving.]
21:03
msaffitz has joined #ruby-lang
21:03
akira989 has joined #ruby-lang
21:05
voker57 has quit [Ping timeout: 246 seconds]
21:07
fgomez has joined #ruby-lang
21:08
robbyoconnor has joined #ruby-lang
21:08
hynkle has quit [Quit: Computer has gone to sleep.]
21:14
robbyoconnor has quit [Read error: Connection reset by peer]
21:17
hynkle has joined #ruby-lang
21:18
msaffitz has quit [Quit: Computer has gone to sleep.]
21:19
sockmonk has quit [Ping timeout: 272 seconds]
21:20
petercooper has joined #ruby-lang
21:22
<
jtoy >
how would i know without going through all the code?
21:22
<
jtoy >
I'm trying to debug why my threads are so slow
21:23
msaffitz has joined #ruby-lang
21:24
<
drbrain >
jtoy: you can't test thread safety
21:24
malev has quit [Remote host closed the connection]
21:24
<
drbrain >
jtoy: you can prove thread safety
21:26
dalekurt has quit [Quit: Zzz...]
21:27
gsav has quit [Ping timeout: 265 seconds]
21:28
<
injekt >
threads are hard, lets test thread safety
21:28
dalekurt has joined #ruby-lang
21:30
Sambalero has quit [Ping timeout: 246 seconds]
21:31
msaffitz has quit [Quit: Computer has gone to sleep.]
21:31
ryanf has joined #ruby-lang
21:31
Sambalero has joined #ruby-lang
21:33
akira989 has quit [Ping timeout: 245 seconds]
21:34
minh1 has joined #ruby-lang
21:34
towski has joined #ruby-lang
21:34
gravindran has quit [Read error: Connection reset by peer]
21:35
mytrile has quit [Remote host closed the connection]
21:40
gsav has joined #ruby-lang
21:42
hynkle has quit [Quit: Computer has gone to sleep.]
21:44
HassanS has quit [Quit: Lost terminal]
21:47
carloslopes has quit [Quit: Leaving.]
21:47
burgestrand has joined #ruby-lang
21:48
dhruvasagar has quit [Ping timeout: 248 seconds]
21:48
dalekurt_ has joined #ruby-lang
21:50
kvirani has quit [Remote host closed the connection]
21:50
dalekurt has quit [Ping timeout: 246 seconds]
21:50
dalekurt_ is now known as dalekurt
21:50
akira989 has joined #ruby-lang
21:53
andrewhl has quit [Remote host closed the connection]
21:54
andrewhl has joined #ruby-lang
21:54
dv310p3r has quit [Quit: Leaving]
21:55
incomethax has quit [Quit: incomethax]
21:59
Weems has quit [Read error: Connection reset by peer]
22:01
rizzy has quit [Quit: Leaving]
22:03
<
jtoy >
when i run that code, it is very slow, pulling in data
22:04
<
drbrain >
jtoy: on line 18-20 you should use SizedQueue
22:04
bryancp has quit [Remote host closed the connection]
22:05
<
jtoy >
ok, i will try out SizedQueue
22:05
<
drbrain >
jtoy: your limiting factor is going to be HTTP calls
22:05
Weems has joined #ruby-lang
22:05
<
drbrain >
jtoy: if Excon doesn't use persistent connections this is going to be much slower
22:06
<
jtoy >
drbrain: i don't thinks twitter's regular api supports it
22:06
tekin has joined #ruby-lang
22:06
<
jtoy >
I'm double confirming it now
22:06
<
drbrain >
jtoy: twitter uses HTTP/1.1, it supports persistent connections
22:07
<
jtoy >
drbrain: i tested it before, it only worked on there streaming api, but not there regular one
22:07
malev has joined #ruby-lang
22:07
woollyams has quit [Quit: Computer has gone to sleep.]
22:08
<
drbrain >
jtoy: I tested it right now in telnet, it works fine
22:08
cirenyc has quit [Quit: Leaving...]
22:10
bfreeman has quit [Quit: bfreeman]
22:11
<
jtoy >
drbrain: yeah, ok, it seems to work, not I'm trying to figure out how to use persistent connections with excon
22:11
mistym has quit [Remote host closed the connection]
22:11
<
drbrain >
jtoy: just use net-http-persistent
22:12
stephenp has quit [Quit: stephenp]
22:12
msaffitz has joined #ruby-lang
22:13
<
jtoy >
drbrain: i knew you wrote it before clicking the link!
22:13
<
jtoy >
drbrain: does that support oauth ?
22:14
<
drbrain >
jtoy: no, it's just a persistent connection wrapper
22:15
<
drbrain >
jtoy: either Excon supports persistent connections or it doesn't. You shouldn't be need to turn it on
22:17
wpaulson has joined #ruby-lang
22:17
<
jtoy >
drbrain: at the# keep-alive line
22:17
wpaulson has quit [Remote host closed the connection]
22:17
<
jtoy >
@connection = Excon.new("
http://localhost:4567 ") ;@connection.request(:method => "GET", :path => "/foo") ; @connection.request(:method => "GET", :path => "/bar")
22:17
wpaulson has joined #ruby-lang
22:18
<
drbrain >
yup, that's what you want
22:18
<
jtoy >
drbrain: oh, so keep-alive is the same as persistent connections? HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse,
22:19
fgomez has quit [Quit: Lost terminal]
22:19
<
drbrain >
jtoy: there's an extension to HTTP/1.0 called "keep-alive"
22:19
<
drbrain >
in HTTP/1.1 it's just called "persistent connections"
22:19
malev has quit [Remote host closed the connection]
22:19
fgomez has joined #ruby-lang
22:20
burgestrand has quit [Ping timeout: 248 seconds]
22:26
Natch has quit [Read error: Connection reset by peer]
22:26
Natch has joined #ruby-lang
22:32
enebo has quit [Ping timeout: 265 seconds]
22:32
solars has quit [Ping timeout: 245 seconds]
22:33
bfreeman has joined #ruby-lang
22:35
<
jtoy >
drbrain: so it is much faster now, I ran my program with 10 threads ,each making its own persistent connection, only 5 got established, then i started the same program again, and that got 3 connections established, so a total of 8, why would that happen? if i can get 8, shouldn't the first program be able to get 8 instead of only 5?
22:36
<
drbrain >
you'll have to look at the errors to determine why
22:37
<
jtoy >
there are no errors, excon just sits there waiting, i looked at lsof and its waiting on a SYN_SENT
22:37
anon182973 has joined #ruby-lang
22:37
hynkle has joined #ruby-lang
22:38
<
jtoy >
drbrain: and then i just want to confirm , so I used a class variable for the connection, it seems like the class variable doesn't get kept between threads, are there gotchas I should know about?
22:39
fgomez has quit [Quit: Lost terminal]
22:39
<
drbrain >
I would use a local variable per thread
22:39
coryf has quit [Remote host closed the connection]
22:39
<
drbrain >
Thread.new; connection = Excon.whatever; …; end
22:41
<
zenspider >
argh. wtf
22:41
<
zenspider >
linking ruby
22:41
<
zenspider >
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" -v -x drb
22:41
<
zenspider >
[BUG] cross-thread violation on rb_gc()
22:41
<
zenspider >
I just did a make realclean
22:41
<
zenspider >
wtf do I do?
22:42
<
rue >
What
*did* you do?
22:43
<
zenspider >
make realclean; make test-all
22:43
<
zenspider >
ZOMG! THE HORROR!
22:44
<
zenspider >
I suspect the deps are wrong... AGAIN
22:44
<
drbrain >
for whatever reason make test-all doesn't build ruby or extensions
22:44
ttilley is now known as ttilley_off
22:46
<
zenspider >
aaaand the dependencies are STOOOPIDly set up
22:46
<
zenspider >
fuck it. I don't care anymore
22:46
ttilley_off is now known as ttilley
22:46
hynkle has quit [Quit: Computer has gone to sleep.]
22:46
laanan has joined #ruby-lang
22:48
Criztian has quit [Remote host closed the connection]
22:48
tekin has joined #ruby-lang
22:51
Berglund has quit [Quit: Computer died.]
22:53
icooba_ has joined #ruby-lang
22:54
fgomez has joined #ruby-lang
22:54
icooba has quit [Ping timeout: 250 seconds]
22:54
icooba_ is now known as icooba
22:55
woollyams has joined #ruby-lang
22:57
zrail is now known as zrail|home
22:57
seanstickle has joined #ruby-lang
23:01
x0F has quit [Disconnected by services]
23:01
x0F_ has joined #ruby-lang
23:02
x0F_ is now known as x0F
23:05
retro|cz has joined #ruby-lang
23:08
Natch_z has joined #ruby-lang
23:11
Natch has quit [Ping timeout: 244 seconds]
23:11
Natch_z is now known as Natch
23:13
Kellin has joined #ruby-lang
23:13
outoftime has quit [Quit: Leaving]
23:15
kain has quit [Quit: quit]
23:15
outsmartin1 has quit [Quit: Leaving.]
23:16
srbartlett has joined #ruby-lang
23:23
mistym has joined #ruby-lang
23:23
mistym has quit [Changing host]
23:23
mistym has joined #ruby-lang
23:24
qpingu has joined #ruby-lang
23:26
macmartine has joined #ruby-lang
23:29
macmartine has quit [Client Quit]
23:32
wallerdev has quit [Quit: wallerdev]
23:32
wallerdev has joined #ruby-lang
23:38
iyivurur has joined #ruby-lang
23:38
iyivurur has quit [Client Quit]
23:42
robotmay has quit [Remote host closed the connection]
23:42
laanan has joined #ruby-lang
23:43
<
zenspider >
well you guys sure are exciting...
23:45
krz has quit [Quit: krz]
23:48
minh1 has quit [Quit: WeeChat 0.3.8]
23:53
Sambalero has quit [Remote host closed the connection]
23:54
<
jtoy >
i thought there is a Time.parse method in 1.9.x ?
23:54
<
laanan >
wondering if someone can help me get ruby-debug19 installed on win7...having no luck with forum solutions...
23:55
<
laanan >
ruby and devkit installed correctly
23:55
<
laanan >
no problems with other gems
23:56
butchanton has quit [Quit: Leaving.]
23:56
toertore has quit [Quit: Leaving]
23:58
artOfWar has joined #ruby-lang
23:58
<
erikh >
jtoy: DateTime.parse and Date.parse
23:59
<
jtoy >
erikh: require 'time' fixed it, wtf
23:59
<
erikh >
they're also super slow and occasionally broken
23:59
<
erikh >
yeah, so time is a stdlib and core library
23:59
<
erikh >
I didn't realize Time.parse existed though