jonathanmarvens has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ironcamel has joined #ruby-lang
rtdp has joined #ruby-lang
luiz_lha has quit [Ping timeout: 255 seconds]
jonathanmarvens has joined #ruby-lang
luiz_lha has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
jonathanmarvens has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
tectonic has quit []
DivineEntity has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
dfranciosi has joined #ruby-lang
apeiros has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
nofxx has quit [Remote host closed the connection]
landodger has quit [Remote host closed the connection]
jonathanmarvens has quit [Remote host closed the connection]
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
dingus_khan has joined #ruby-lang
kalehv has quit [Ping timeout: 245 seconds]
jonathanmarvens has quit [Ping timeout: 245 seconds]
dfranciosi has quit [Remote host closed the connection]
luiz_lha has quit [Ping timeout: 240 seconds]
luiz_lha has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 245 seconds]
_ht has joined #ruby-lang
bruno- has joined #ruby-lang
symm- has joined #ruby-lang
Miphix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
dfranciosi has joined #ruby-lang
bruno- has quit [Ping timeout: 240 seconds]
Blaguvest has quit []
mistym has joined #ruby-lang
scmx has joined #ruby-lang
_ht has quit [Ping timeout: 250 seconds]
luiz_lha has quit [Ping timeout: 250 seconds]
luiz_lha has joined #ruby-lang
|jemc| has quit [Ping timeout: 250 seconds]
rtdp has quit [Ping timeout: 250 seconds]
_ht has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
vincent has joined #ruby-lang
vincent is now known as Guest79018
aero224 has quit [Remote host closed the connection]
dfranciosi has quit [Remote host closed the connection]
aero224 has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
Reg_ has joined #ruby-lang
sdouglas has joined #ruby-lang
Guest79018 has quit [Remote host closed the connection]
<Reg_>
Any good Ruby learning videos recommended for a beginner ?
tbuehlmann has joined #ruby-lang
sdouglas has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby-lang
cklee has quit [Quit: Connection closed for inactivity]
jonathanmarvens has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 245 seconds]
dingus_khan has quit [Remote host closed the connection]
symm- has joined #ruby-lang
relix has joined #ruby-lang
luiz_lha has quit [Ping timeout: 264 seconds]
luiz_lha has joined #ruby-lang
bruno- has joined #ruby-lang
alexju has joined #ruby-lang
alexju has quit [Read error: No route to host]
alexju_ has joined #ruby-lang
alexju_ has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
polyidus has joined #ruby-lang
alexju has joined #ruby-lang
dingus_khan has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
alexju has quit [Remote host closed the connection]
alexju has joined #ruby-lang
AKASkip has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
tunabee has joined #ruby-lang
ledestin_ has joined #ruby-lang
vincent has joined #ruby-lang
vincent is now known as Guest4032
ledestin has quit [Ping timeout: 250 seconds]
ledestin_ is now known as ledestin
jhass|off is now known as jhass
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
AKASkip has quit [Ping timeout: 250 seconds]
tbuehlmann has quit [Quit: Leaving]
dangerousdave has joined #ruby-lang
Reg_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
jackhammer2022 has joined #ruby-lang
luiz_lha has quit [Ping timeout: 250 seconds]
luiz_lha has joined #ruby-lang
Atttwww has quit [Ping timeout: 256 seconds]
stamina has joined #ruby-lang
mehlah has joined #ruby-lang
luiz_lha has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
luiz_lha has joined #ruby-lang
marr has joined #ruby-lang
luiz_lha has quit [Ping timeout: 245 seconds]
dingus_khan has joined #ruby-lang
luiz_lha has joined #ruby-lang
dingus_khan has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
toastynerd has quit [Remote host closed the connection]
luiz_lha has quit [Ping timeout: 260 seconds]
BucOder has joined #ruby-lang
Guest4032 has quit [Remote host closed the connection]
luiz_lha has joined #ruby-lang
BucOder has quit [Client Quit]
adaleigh has quit [Remote host closed the connection]
adaleigh has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
luiz_lha has quit [Ping timeout: 240 seconds]
luiz_lha has joined #ruby-lang
adaleigh has quit [Ping timeout: 245 seconds]
adaleigh has joined #ruby-lang
adaleigh has quit [Read error: Connection reset by peer]
adaleigh has joined #ruby-lang
adaleigh has quit [Read error: Connection reset by peer]
adaleigh_ has joined #ruby-lang
adaleigh_ has quit [Read error: Connection reset by peer]
adaleigh has joined #ruby-lang
adaleigh has quit [Read error: Connection reset by peer]
adaleigh has joined #ruby-lang
adaleigh has quit [Read error: Connection reset by peer]
adaleigh has joined #ruby-lang
bruno- has joined #ruby-lang
bruno- is now known as Guest92666
adaleigh has quit [Ping timeout: 240 seconds]
adaleigh has joined #ruby-lang
luiz_lha has quit [Ping timeout: 255 seconds]
Guest92666 has quit [Ping timeout: 256 seconds]
luiz_lha has joined #ruby-lang
adaleigh_ has joined #ruby-lang
luiz_lha has quit [Max SendQ exceeded]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adaleigh has quit [Ping timeout: 250 seconds]
luiz_lha has joined #ruby-lang
godd2 has quit [Remote host closed the connection]
adaleigh_ has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
relix has joined #ruby-lang
relix has quit [Client Quit]
shinnya has joined #ruby-lang
toastynerd has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
apeiros has quit []
apeiros has joined #ruby-lang
elia has joined #ruby-lang
sarkyniin has joined #ruby-lang
michd is now known as MichD
symm- has quit [Ping timeout: 245 seconds]
stamina has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby-lang
symm- has joined #ruby-lang
<llakey>
Why when i run `gem install starter` i get this error: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Service Unavailable: Back-end server is at capacity 503 (https://api.rubygems.org/api/v1/dependencies?gems=starter)
<dangerousdave>
I am running a ruby application in an AWS instance. I launch the application from a bash script. The Ruby application runs in an infinite loop. My AWS instance returns a timeout, and shows a red health status, i suspect because my application is in a loop. The application works as expected other than this. Any ideas on how to resolve this please?
relix has quit [Remote host closed the connection]
relix has joined #ruby-lang
robmiller has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
ayonkhan has quit [Read error: Connection reset by peer]
chris123456789 has joined #ruby-lang
adaleigh has joined #ruby-lang
yfeldblum has joined #ruby-lang
dingus_khan has quit [Ping timeout: 240 seconds]
adaleigh has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
vincent_ has joined #ruby-lang
Cakey has joined #ruby-lang
AKASkip has joined #ruby-lang
luiz_lha has quit [Ping timeout: 260 seconds]
Guest59270 has joined #ruby-lang
nathanstitt has joined #ruby-lang
chris123456789 has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby-lang
luiz_lha has joined #ruby-lang
Guest59270 is now known as yorbamatte
kalehv has quit [Remote host closed the connection]
luiz_lha has quit [Max SendQ exceeded]
yorbamatte has quit []
luiz_lha has joined #ruby-lang
bin7me has quit [Remote host closed the connection]
luiz_lha has quit [Max SendQ exceeded]
luiz_lha has joined #ruby-lang
jg_ has joined #ruby-lang
zwichenzug has quit [Remote host closed the connection]
weems|mac has joined #ruby-lang
toastynerd has joined #ruby-lang
luiz_lha has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
luiz_lha has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
toastynerd has quit [Ping timeout: 255 seconds]
<ledestin>
jhass: yeah, I realize that I’m in the wrong, holding lock for too long
<jhass>
ledestin: I suppose you have two loops waiting for the same resource?
luiz_lha has quit [Max SendQ exceeded]
<ledestin>
jhass: no, one loop and occasionally other threads would request the resource
luiz_lha has joined #ruby-lang
<jhass>
does the loop need the resource all the time or only for a (small) period of the cylce?
<ledestin>
I thought it does (and I guess, it’s just simpler that way), but now I realise it’s wrong to have other users to wait for up to 1 second
<jhass>
the question is why you sleep with the lock hold
<jhass>
why don't you sleep after the loop released the lock
<ledestin>
it’s a select, and it returns ios. if I move select out of synchronize, I’ll have to check that the ios are still registered with the module. It’s possible to do it in a different way, it’s just a bit more work.
luiz_lha has quit [Max SendQ exceeded]
luiz_lha has joined #ruby-lang
<ledestin>
jhass: btw, am I reinventing the wheel, doing async IO loop that calls callbacks on registered io reads?
<jhass>
I think there was some event machine stuff for that, never used to EM itself even though, so not sure
enebo has joined #ruby-lang
<ledestin>
jhass: thank you, I find your comments most helpful
<ledestin>
hmm, maybe that will work, will have to try it
<jhass>
There might be a simpler architecture for you with something like a semaphore and/or a condition variable, it's kinda hard to tell what you're doing still ;)
<ledestin>
jhass: if you’re on Bitbucket, I can show you
sdouglas has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
bruno- has quit [Ping timeout: 256 seconds]
DivineEntity has joined #ruby-lang
bruno- has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
tunabee_ has joined #ruby-lang
tunabee has quit [Ping timeout: 260 seconds]
bwc has joined #ruby-lang
shinnya has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
bwc has quit [Ping timeout: 250 seconds]
amystephen has quit [Ping timeout: 245 seconds]
DivineEntity has quit [Ping timeout: 264 seconds]
amystephen has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
scmx has joined #ruby-lang
adaleigh has quit [Remote host closed the connection]
MikaAK2 has quit [Ping timeout: 255 seconds]
MikaAK1 has quit [Ping timeout: 240 seconds]
cirenyc has joined #ruby-lang
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
bradcliffe has joined #ruby-lang
scmx has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
sdouglas has joined #ruby-lang
sdouglas has quit [Ping timeout: 250 seconds]
tunabee_ has quit [Ping timeout: 256 seconds]
jhass is now known as jhass|off
tunabee has joined #ruby-lang
MichD is now known as michd
nofxx_ has joined #ruby-lang
nofxx_ has joined #ruby-lang
nofxx has quit [Ping timeout: 264 seconds]
eqbal has joined #ruby-lang
Sammidysam has joined #ruby-lang
<Sammidysam>
Is it considered bad practice to, in a Ruby Gem executable, add `../lib` to the load path regardless of if someone is running it as a gem or not?
bwc has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
cerico has joined #ruby-lang
AKASkip1 has quit [Ping timeout: 260 seconds]
eqbal has quit [Ping timeout: 246 seconds]
robmiller has quit [Quit: Leaving.]
symm- has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
Sammidysam has quit [Quit: Leaving]
havenwood has joined #ruby-lang
dangerou_ has quit [Ping timeout: 245 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
postmodern has joined #ruby-lang
MikaAK has joined #ruby-lang
spastorino has joined #ruby-lang
MikaAK1 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Quit: I growing sleepy]
qq17 has quit [Quit: leaving]
MikaAK_ has joined #ruby-lang
zenojis has quit [Ping timeout: 240 seconds]
MikaAK has quit [Quit: node-irc says goodbye]
MikaAK_ is now known as MikaAK
zenojis has joined #ruby-lang
eval-in__ has quit [Remote host closed the connection]
<ljarvis>
even though you left, yes
x0f has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
x0f has joined #ruby-lang
Cort3z_ has joined #ruby-lang
MikaAK has quit [Remote host closed the connection]