xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jetchisel has joined #ruby
phenom_ has joined #ruby
phenom has quit [Ping timeout: 240 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jetchisel has quit [Ping timeout: 246 seconds]
gell5 has joined #ruby
jenrzzz has joined #ruby
gell5 has quit [Ping timeout: 265 seconds]
plutes has quit [Quit: If you judge me now, you have judge me prematurely.]
^amra has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
ChmEarl has quit [Quit: Leaving]
envex has quit []
DaniG2k has joined #ruby
cnsvc_ has joined #ruby
cd has quit [Quit: cd]
cnsvc_ has quit [Ping timeout: 240 seconds]
^amra has quit [Ping timeout: 260 seconds]
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
imode has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ruby
gix has joined #ruby
gix- has quit [Ping timeout: 265 seconds]
cnsvc_ has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Ping timeout: 260 seconds]
cnsvc_ has joined #ruby
DaniG2k has joined #ruby
shokohsc7 has quit [Read error: Connection reset by peer]
cnsvc_ has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
gix has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 272 seconds]
xco has joined #ruby
imode has joined #ruby
_whitelogger has joined #ruby
DaniG2k has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rmnull has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
teclator has quit [Ping timeout: 246 seconds]
teclator has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
rmnull has quit [Quit: WeeChat 2.8]
cnsvc_ has joined #ruby
jenrzzz has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
edwardly has quit [Ping timeout: 256 seconds]
imode has quit [Ping timeout: 265 seconds]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 260 seconds]
AndreYuhai has joined #ruby
<AndreYuhai>
I want to inherit from ActiveRecord::Base but my class already inherits from another class. I've tried inheriting in the base class but then I get an error saying that I don't have a table for that base class which does not need a table anyway. How to work around this?
hiroaki has quit [Ping timeout: 260 seconds]
<phaul>
try setting self.table_name = 'blah' at the class level
jenrzzz has quit [Ping timeout: 264 seconds]
ReinH has quit [Ping timeout: 256 seconds]
kozowu has quit [Ping timeout: 256 seconds]
rhe has quit [Ping timeout: 256 seconds]
raj has quit [Ping timeout: 256 seconds]
mjacob has quit [Ping timeout: 256 seconds]
<AndreYuhai>
phaul, will try that, thank you.
ReinH_ has joined #ruby
venmx has quit [*.net *.split]
mydog2 has quit [*.net *.split]
lxsameer has quit [*.net *.split]
manveru has quit [*.net *.split]
en10n has quit [*.net *.split]
jrhorn424 has quit [*.net *.split]
integral has quit [*.net *.split]
Lewix has quit [*.net *.split]
pitastrudl has quit [*.net *.split]
gmcintire has quit [*.net *.split]
Pillus has quit [*.net *.split]
meinside has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
tekk has quit [*.net *.split]
legit has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
dorian_ has quit [*.net *.split]
justinmcp has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
dhollinger has quit [*.net *.split]
jennis has quit [*.net *.split]
ellcs has quit [*.net *.split]
chihhsin has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
d0liver has quit [*.net *.split]
kermit has quit [*.net *.split]
itok has quit [*.net *.split]
jerme_ has quit [*.net *.split]
graphicsv has quit [*.net *.split]
afisher has quit [*.net *.split]
ryzokuken has quit [*.net *.split]
darthThorik_ has quit [*.net *.split]
JayDoubleu has quit [*.net *.split]
_whitelogger has joined #ruby
mozzarella has quit [Remote host closed the connection]
e2 has quit [Quit: Stable ZNC provider ##bnc4you]
mozzarella has joined #ruby
<phaul>
yeah. that's annoying
<jhass>
AndreYuhai: if you want to inherit AR::Base without a table for the child class you have to set self.abstract = true iirc
<AndreYuhai>
jhass, not really for the child class but for the class that I am inheriting from AR::Base. Basically my base class does not need a table but sub-classes need
<jhass>
yeah, that's what I mean
<jhass>
the child child class will have its table then
<AndreYuhai>
jhass, oh okay thank you.
<AndreYuhai>
And what any thoughts about superclass missmatch error? :D
<jhass>
AndreYuhai: but I would consider how much you can just extract into modules that you include into your child classes
<jhass>
yeah, that error is just expected, whatever the first definition of a class needs to define the parent class
<jhass>
I guess you could make sure to define it before requring the gem, but it's pretty messy
<jhass>
I stand by trying to use modules instead
<jhass>
using the included hook (perhaps in a prettier fashing using AS::Concern, ymmv) you can do anything a base class could really
<AndreYuhai>
I can try to make as many modules as I can from what I already have. But all the classes I have are from the API itself. API is messy as well. For example: https://dpaste.org/iy1G
nofxx__ has quit [Remote host closed the connection]
e2 has joined #ruby
<jhass>
if they're already representing leaf entities, why would you need to inherit them again?
nofxx__ has joined #ruby
<AndreYuhai>
I was just looking for a way to override it later with < AR::Base so that I wouldn't have to inherit that in my gem.
<jhass>
maybe all you need is focusing on composition
<jhass>
have your AR models wrap your gem's entity classes, rather than inheriting them
<jhass>
yeah I don't think that invalidates anything I said :)
<AndreYuhai>
jhass, how do you mean wrap?
<jhass>
could just do UserInfoModel.new(UserInfoEntity.parse(API_RESPONSE).to_h)
<AndreYuhai>
I mean rather than inheriting
<jhass>
or something into that direction
conta1 has joined #ruby
<AndreYuhai>
oh actually I am parsing responses. I've read this twitter API wrapper: https://github.com/sferik/twitter and then written mine similar to this.
conta has quit [Ping timeout: 256 seconds]
conta1 is now known as conta
jenrzzz has joined #ruby
<jhass>
does it inherit AR::Base or have examples of you inheriting their entity classes? :)
<jhass>
(I'm fairly confident the answer is no to both without even looking again)
<jhass>
So, try to solve this like you would when using that twitter gem. The term for what'll come to you is called composition but it should occur quite naturally here
<AndreYuhai>
jhass, nope, it does not. So as you mentioned above I create a model class inheriting from AR::Base for each entity that my wrapper has? And then just parse the entity inside my model
<jhass>
I'd call it "pass" not parse, but yeah
<jhass>
don't try to make both the same class, they have different jobs!
<jhass>
map one onto the other
<AndreYuhai>
Yes, that is cleaner than what I am trying to do right now. Because if I inherit my base from AR::Base and make it abstract then it gets messy as well with the classes that inherit from Base but need to be instantiated.
<AndreYuhai>
I will do what you suggested. Thank you. :)
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 258 seconds]
gix has joined #ruby
cnsvc_ has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
ldepandis has joined #ruby
phage has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 256 seconds]
cd has joined #ruby
infinityfye has quit [Ping timeout: 264 seconds]
infinityfye has joined #ruby
phage has quit [Ping timeout: 256 seconds]
GodFather has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
phage has joined #ruby
aep has joined #ruby
<aep>
hello there, whats everyone using for webstuff thats not rails? i still love ruby but rails feels a little fat now that everything is microservices
<aep>
something between rails and sinatra maybe?
conta has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
dviola has joined #ruby
GodFather has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
GodFather has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
<phaul>
aep: there is hanami. Size wise prly that comes the closest to being between rails and sinatra. There is roda which is smaller than all.
akem has quit [Quit: Leaving]
cnsvc_ has joined #ruby
Lazarus2 has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
akem has joined #ruby
gell5 has joined #ruby
<aep>
phaul: yeah hanami looks like it
lazarus1 has quit [Ping timeout: 256 seconds]
cnsvc_ has quit [Ping timeout: 240 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
Lazarus2 has quit [Quit: Leaving]
gell5 has quit [Ping timeout: 256 seconds]
AndreYuhai has quit [Quit: Leaving]
clemens3 has quit [Quit: WeeChat 2.7]
xco has joined #ruby
patrick99e99 has joined #ruby
banisterfiend has joined #ruby
snuz has joined #ruby
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 256 seconds]
clemens3 has joined #ruby
phage has joined #ruby
lucasb has joined #ruby
poro has joined #ruby
rafadc has quit [Ping timeout: 264 seconds]
jbeaudoin has quit [Quit: Connection closed for inactivity]
poro has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass>
though at that point, why using threads in the first place (yeah I get, just exploring)
<CommunistWolf>
without some kind of synchronization between the two threads, you cannot make any statements about the other in which their actions will happen
<CommunistWolf>
even the sleep only makes it "fairly likely" that three will come before two
<jhass>
Yeah, in theory the OS could decide to just no schedule the main thread for that long
<xco>
jhass oh the Mutex i can happily apply, my initial though was that since the file is parsed from top to bottom then first message in the thread should be printed first
<jhass>
Well, Thread.new is not running synchronously to that, that's its entire point
<xco>
CommunistWolf is it common practice to use a queue?
<xco>
jhass got it
<CommunistWolf>
pretty common, yeah
<jhass>
conditionvariable is somehow less common but often enough or even better suited :D
<xco>
CommunistWolf ok cool. thanks heroes <3
<CommunistWolf>
you have two options, generally speaking - communicate by sharing state, or sharing state by communication
<CommunistWolf>
queues are the latter; mutexes are the former
<xco>
CommunistWolf wow very concise. i'll quote you on that ;P
davispuh has joined #ruby
<jhass>
IME if you need to synchronize too much, you might not actually benefit from threads or at least you're putting too much into one that should just stay on the main thread
<CommunistWolf>
well, I didn't come up with it myself ;)
<jhass>
especially when it comes to "desired execution order"
<jhass>
threads should mean, "I don't care when this runs", either for now or at least until a substantially later point
<jhass>
and at that later point all you should care about is that it is done now. Beyond this lies madness :)
<xco>
jhass this difinitely gives me a better understanding of the whole thread concept, thank you
<xco>
so it'll be like, to get things running concurrently, use threads, we don't care about that order, we only care that they are done, when the want to care about the order we use queues or Mutex. correct? jhass CommunistWolf
<CommunistWolf>
concurrent programming is hard, you're not going to be able to sum it up pithily
conta has quit [Quit: conta]
<jhass>
when you care about the order you might not want to use threads at all!
<CommunistWolf>
except for when you might
<xco>
jhass in that case we stop at, "threads are for when you want to do thing concurrently, so far as those things get done"?
<jhass>
yeah
<CommunistWolf>
if you've ever done any multiprocess programming, it's like that, but with infinitely more ways to mess up
<xco>
jhass if we don't have to use threads because we don't care about the order, then why does Mutex exist?
<jhass>
to much synchronization (this is was Mutex and ConditionVariable are the primitives for, Queue is already an abstraction built on them) will easily destroy any advantage you might have gained
patrick99e99 has quit [Ping timeout: 265 seconds]
<jhass>
there's valid scenarios where you for example want to inspect that state of a task a thread is working on concurrently
<xco>
aha
<xco>
got it
<jhass>
it's a broad topic and there's no black and white answers, I'm only trying to give some guidance
<jhass>
"Don't do this unless you know better" basically
<xco>
yup, understood :)
<jhass>
I read a nice one the other day: "I have a problem, so I decided to solve it with threads" Nwot opro bmse"
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xco>
hahaha good one
<CommunistWolf>
threading in ruby is often overly painful
<jhass>
Ruby does actually have a second concurrency primitive, Fiber
<jhass>
the general term for those is coroutines and they implement something called cooporative scheduling
<jhass>
So with threads it's the OS that decides when to run those
<jhass>
with fiber's there's only ever one active (per thread) at the same time and it needs to explicitly give up control for another to run
ldepandis has joined #ruby
<jhass>
Enumerator is implemented this way for example
<jhass>
it's "concurrently" producing its values and running the code that reads them, just never at the same time
<jhass>
so with those (Ruby doesn't really implement this, but in principle it could), you can do things like, "Oh I'm gonna wait on this data on the network socket for a while, let's run something else meanwhile"
<jhass>
Node.js primary concurrency works like this and it's what's at work when you read "evented IO" or "async" in that context
<jhass>
Go also put it at its heart with the goroutines, same thing
banisterfiend has joined #ruby
<jhass>
(well they have a thread pool to run them, but anyways)
<CommunistWolf>
well, ruby's threads used to be green too :3
<jhass>
Also Crystal put them at the core of its IO stdlib :)
<jhass>
green threads is a bit different, there you basically have an internal kernel, so in that case the Ruby VM might act like the kernel and schedule thingss at its will. So to the OS it looks like coroutines, yes, but to the user code more like threads. The big difference to coroutines is that they're never interrupted until they explicitly give up control
<poro>
anybody having this problem in vim were even thought you set tabs to be 4 spaces in some files it only adds 2
jenrzzz has joined #ruby
ChmEarl has joined #ruby
<jhass>
I indent pretty much everything with two spaces, so...
cnsvc_ has joined #ruby
<leftylink>
hmm, these days I don't even tell vim how many spaces or tabs to use, I just let vim figure it out itself
gell5 has joined #ruby
gell5 has quit [Ping timeout: 256 seconds]
Bounga has joined #ruby
chalkmonster has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
patrick99e99 has joined #ruby
dviola has quit [Ping timeout: 246 seconds]
patrick99e99 has quit [Ping timeout: 265 seconds]
dviola has joined #ruby
dviola has quit [Client Quit]
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cxl>
Hi, how can I run a gem in anacron? I have tried `~/.rvm/wrappers/maid/ruby maid --force --silent` but it doesn't seem to load the maid gemset properly and doesn't work.
<cxl>
I guess what I'm asking is how to run a gem in an anacron job when using rvm
conta has quit [Quit: conta]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gdonald has joined #ruby
imode has joined #ruby
Azure has joined #ruby
TCZ has joined #ruby
rafadc has joined #ruby
s2013 has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
<s2013>
got a q regarding rspec. asked in the rails channel but that channel is pretty much dead nowadays..
<s2013>
in rspec i am testing a rails controller which calls a method on a model which calls a service object which gets data from an external api. how can i test that controller without actually hitting the external api? i am using allow().and return . but it still hits the external api -- allow_any_instance_of(DataService).to receive(:get_data).and_return('data') -- doesnt seem to work
kinduff has joined #ruby
<apotheon>
I think the Rails channel would be dead-ish because of Slack and the attitudes of many people whose only interest in Ruby is Rails.
<s2013>
right
<apotheon>
So . . . what do you mean it "doesn't work"?
<s2013>
like its still making the external call
<s2013>
and gets the real data from the api
<s2013>
rather than the 'data' its supposed to return
<apotheon>
hmm
<apotheon>
I don't know.
<s2013>
yeah im scratching my head too
<s2013>
probably something obvious im missing
<apotheon>
Is the case where you're sending :get_data in the same scope as that?
<s2013>
when i run that spec it actually calls the external api
<s2013>
i obviously dont want it to do that
<apotheon>
1. You know you're defining get_data twice -- right?
<apotheon>
2. It looks like your call to DataService.new(self).get_data is in a method defined outside the scope of the spec with your mock definition in it, and that might mean that method is not affected by the mock. Of course, I haven't used mocks in a long time, so I may be mistaken.
<s2013>
yeah one is in the model
<s2013>
the other is in the service
<s2013>
that service is reusable
<apotheon>
I'm kinda guessing.
<s2013>
and for 2 , yes, thats what i want to know how to get working
<s2013>
i know ive done it before but i just cant remember exactly
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apotheon>
oops, gone
chalkmonster has quit [Quit: WeeChat 2.8]
banisterfiend has joined #ruby
patrick99e99 has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.8]
Bounga has quit [Ping timeout: 272 seconds]
TCZ has quit [Quit: Leaving]
duderonomy has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem has quit [Quit: Leaving]
akem has joined #ruby
akem has quit [Max SendQ exceeded]
akem has joined #ruby
jenrzzz has joined #ruby
akem has quit [Quit: bye]
Xiti` has quit [Ping timeout: 256 seconds]
Xiti has joined #ruby
orbyt_ has joined #ruby
gell5 has joined #ruby
gell5 has quit [Remote host closed the connection]
gell5 has joined #ruby
gell5 has quit [Remote host closed the connection]
ellcs1 has quit [Ping timeout: 260 seconds]
gdonald has quit [Ping timeout: 256 seconds]
jetchisel has joined #ruby
aep has quit [Quit: WeeChat 2.8]
banisterfiend has joined #ruby
alexherbo27 has joined #ruby
gdonald has joined #ruby
TCZ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo27 is now known as alexherbo2
MarkPryor has joined #ruby
ChmEarl has quit [Ping timeout: 256 seconds]
MarkPryor has quit [Read error: Connection reset by peer]
mbarbar has quit [Ping timeout: 256 seconds]
mbarbar has joined #ruby
ChmEarl has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 256 seconds]
plutes has joined #ruby
akem has joined #ruby
akem has quit [Max SendQ exceeded]
akem has joined #ruby
snuz_ has quit [Read error: Connection reset by peer]
akem has quit [Client Quit]
xco has joined #ruby
akem has joined #ruby
ur5us has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
s2013 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 256 seconds]
infinityfye has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
s2013 has joined #ruby
patrick99e99 has quit [Ping timeout: 240 seconds]
linuus[m] has quit [*.net *.split]
linuus[m] has joined #ruby
jinie has quit [*.net *.split]
tabakhase has quit [*.net *.split]
canton7 has quit [*.net *.split]
ltd has quit [*.net *.split]
cadeskywalker has quit [*.net *.split]
redlegion has quit [*.net *.split]
nuck has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
Mutsuhito has quit [*.net *.split]
d10n-work has quit [*.net *.split]
mattwc has quit [*.net *.split]
kevinsjoberg has quit [*.net *.split]
jnoon has quit [*.net *.split]
ua has quit [*.net *.split]
shansen_ has quit [*.net *.split]
jokester has quit [*.net *.split]
Tuor has quit [*.net *.split]
jinie has joined #ruby
canton7 has joined #ruby
tabakhase has joined #ruby
Mutsuhito has joined #ruby
nuck has joined #ruby
redlegion has joined #ruby
Tuor has joined #ruby
ua has joined #ruby
jokester has joined #ruby
ltd has joined #ruby
shansen_ has joined #ruby
cadeskywalker has joined #ruby
coffeejunk has joined #ruby
d10n-work has joined #ruby
hahuang65 has joined #ruby
kevinsjoberg has joined #ruby
jnoon has joined #ruby
mattwc has joined #ruby
d10n-work has quit [Max SendQ exceeded]
cfjk has quit [*.net *.split]
Guest93362 has quit [*.net *.split]
lypsis_ has quit [*.net *.split]
pwnd__ has quit [*.net *.split]
barg has quit [*.net *.split]
bvdw has quit [*.net *.split]
tastemakerChuck has quit [*.net *.split]
romanlevin has quit [*.net *.split]
bukkitgerman8608 has quit [*.net *.split]
jtdowney has quit [*.net *.split]
phaul has quit [*.net *.split]
genpaku has quit [*.net *.split]
ruskie has quit [*.net *.split]
SoF has quit [*.net *.split]
hagabaka has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
bodgix_ has quit [*.net *.split]
JasonO has quit [*.net *.split]
balo has quit [*.net *.split]
barg has joined #ruby
Guest93362 has joined #ruby
cfjk has joined #ruby
pwnd__ has joined #ruby
lypsis_ has joined #ruby
bvdw has joined #ruby
tastemakerChuck has joined #ruby
bukkitgerman8608 has joined #ruby
romanlevin has joined #ruby
phaul has joined #ruby
ruskie has joined #ruby
SoF has joined #ruby
jtdowney has joined #ruby
balo has joined #ruby
MuffinPimp has joined #ruby
genpaku has joined #ruby
hagabaka has joined #ruby
bodgix_ has joined #ruby
JasonO has joined #ruby
hsiktas[m] has quit [*.net *.split]
ljarvis_ has quit [*.net *.split]
mnemon has quit [*.net *.split]
Vashy has quit [*.net *.split]
jhass has quit [*.net *.split]
jhass has joined #ruby
Vashy has joined #ruby
ljarvis_ has joined #ruby
mnemon has joined #ruby
nuck has quit [Ping timeout: 245 seconds]
redlegion has quit [Ping timeout: 245 seconds]
Mutsuhito has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 245 seconds]
sepp2k has quit [Ping timeout: 240 seconds]
tranch[m] has quit [*.net *.split]
execat[m] has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
lol768 has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
badeball has quit [*.net *.split]
xtsee has quit [*.net *.split]
eldritch has quit [*.net *.split]
sapphyrus has quit [*.net *.split]
prkn8[m] has quit [Ping timeout: 244 seconds]
linuus[m] has quit [Ping timeout: 244 seconds]
donofrio has quit [Remote host closed the connection]
Manchotix[m] has quit [Ping timeout: 260 seconds]
haylon[m] has quit [Ping timeout: 260 seconds]
batisi[m] has quit [Ping timeout: 260 seconds]
turt2live has quit [Ping timeout: 260 seconds]
donofrio has joined #ruby
justache has quit [Ping timeout: 240 seconds]
factormystic has quit [*.net *.split]
cxl has quit [*.net *.split]
miah has quit [*.net *.split]
major_majors has quit [*.net *.split]
Mikaela has quit [*.net *.split]
BTRE has quit [*.net *.split]
gajus has quit [*.net *.split]
leah2 has quit [*.net *.split]
claw has quit [*.net *.split]
belak has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
thebetra1 has quit [*.net *.split]
Querens has quit [*.net *.split]
deimos_ has quit [*.net *.split]
Furai has quit [*.net *.split]
Fusl has quit [*.net *.split]
matthewd has quit [*.net *.split]
`brian has quit [*.net *.split]
spk has quit [*.net *.split]
cxl has joined #ruby
factormystic has joined #ruby
Mikaela has joined #ruby
miah has joined #ruby
leah2 has joined #ruby
claw has joined #ruby
gajus has joined #ruby
major_majors has joined #ruby
thebetra1 has joined #ruby
BTRE has joined #ruby
Furai has joined #ruby
Kilo`byte has joined #ruby
Querens has joined #ruby
belak has joined #ruby
deimos_ has joined #ruby
`brian has joined #ruby
Fusl has joined #ruby
matthewd has joined #ruby
spk has joined #ruby
donofrio has quit [Remote host closed the connection]
Fusl has quit [Max SendQ exceeded]
leah2 has quit [Max SendQ exceeded]
Furai has quit [Max SendQ exceeded]
lol768 has joined #ruby
Hobbyboy has joined #ruby
sol1d has quit [*.net *.split]
darris has quit [*.net *.split]
lucianp_ has quit [*.net *.split]
linetrace has quit [*.net *.split]
nirix has quit [*.net *.split]
In0perable has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
meimeix has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
m27frogy has quit [*.net *.split]
ropeney has quit [*.net *.split]
Benett has quit [*.net *.split]
bier has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
gfawcett has quit [*.net *.split]
madhatter has quit [*.net *.split]
klaas has quit [*.net *.split]
Cork has quit [*.net *.split]
tomaw has quit [*.net *.split]
napcae has quit [*.net *.split]
Milos has quit [*.net *.split]
neot1 has quit [*.net *.split]
zululee_ has quit [*.net *.split]
Junaos has quit [*.net *.split]
xtsee has joined #ruby
sapphyrus has joined #ruby
CrazyEddy has joined #ruby
nirix has joined #ruby
Benett has joined #ruby
ropeney has joined #ruby
linetrace has joined #ruby
In0perable has joined #ruby
m27frogy has joined #ruby
lucianp_ has joined #ruby
darris has joined #ruby
sol1d has joined #ruby
dostoyevsky has joined #ruby
meimeix has joined #ruby
bier has joined #ruby
neot1 has joined #ruby
Cork has joined #ruby
madhatter has joined #ruby
klaas has joined #ruby
napcae has joined #ruby
KrzaQ has joined #ruby
Junaos has joined #ruby
zululee_ has joined #ruby
Milos has joined #ruby
tomaw has joined #ruby
gfawcett has joined #ruby
Furai has joined #ruby
Fusl has joined #ruby
mbarbar has quit [Ping timeout: 260 seconds]
eldritch has joined #ruby
donofrio has joined #ruby
leah2 has joined #ruby
zululee_ has quit [Max SendQ exceeded]
dostoyevsky has quit [Max SendQ exceeded]
redlegion has joined #ruby
gajus has quit [Ping timeout: 243 seconds]
dostoyevsky has joined #ruby
dostoyevsky has quit [Changing host]
dostoyevsky has joined #ruby
Mutsuhito has joined #ruby
zululee_ has joined #ruby
badeball has joined #ruby
gajus has joined #ruby
justache has joined #ruby
hahuang65 has joined #ruby
justache has quit [Excess Flood]
KramerC has quit [Quit: Leaving]
Fridtjof has joined #ruby
nuck has joined #ruby
justache has joined #ruby
d10n-work has joined #ruby
KramerC has joined #ruby
prkn8[m] has joined #ruby
Manchotix[m] has joined #ruby
batisi[m] has joined #ruby
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #ruby
mbarbar has joined #ruby
sepp2k has joined #ruby
linuus[m] has joined #ruby
alexherbo26 has joined #ruby
DTZUZU has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo26 is now known as alexherbo2
tranch[m] has joined #ruby
poro has joined #ruby
execat[m] has joined #ruby
<poro>
Is there a way of using gets.chomp but listening for key presses passively
<poro>
I made a timer that plays a sound in a loop until the user hits enter so I need the loop to keep iterating while waiting for the user input
haylon[m] has joined #ruby
turt2live has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
hsiktas[m] has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldepandis has joined #ruby
ldepandis has quit [Client Quit]
gell5 has joined #ruby
plutes has quit [Ping timeout: 272 seconds]
barg has quit [Read error: Connection reset by peer]
gell5 has quit [Ping timeout: 260 seconds]
barg has joined #ruby
patrick99e99 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
kristian_on_linu has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
plutes has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
chalkmonster has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]