<axisys>
need help with installing rvc.. I am getting nokogiri requires Ruby version >= 2.1.0 .. but then it will break puppet .. on centos 7
jrabe has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
<axisys>
let me know if I should really taking it over to #centos channel
<axisys>
s/taking/take/
vtx has joined #ruby
ycyclist has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
alnewkirk has quit [Ping timeout: 258 seconds]
<RickHull>
you can use a prior version of Nokogiri maybe, but watch out for CVEs
<RickHull>
if you want to avoid Centos system dependencies, you can build out your entire ruby environment pretty easily, for certain values of easily
<RickHull>
probably you want to check with #centos first
hotpancakes has quit [Client Quit]
<RickHull>
you won't get much help in here for ruby < 2.2
<latemus>
i am writing a rack application. so i'm coding everthing in a class. i'd like to create methods within the class, and use them within the class. is this possible?
chmurifree has joined #ruby
<latemus>
i can't seem to figure out the convention for calling methods within the class itself so they run when the class is instatniated. what should i look up.
alnewkirk has joined #ruby
goyox86 has quit [Quit: goyox86]
<axisys>
RickHull: yes if I upgrade ruby .. then puppet will fail
<RickHull>
axisys: almost certainly the recent versions of puppet run fine on ruby 2.4+
<axisys>
puppet for centos 7 based on //yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
<RickHull>
you could just run whatever ruby you want, and `gem install puppet`
<RickHull>
(presumably) if you want to deal with centos dependencies, then check with #centos
fmcgeough_ has quit [Quit: fmcgeough_]
alnewkirk has quit [Ping timeout: 240 seconds]
Ropeney has joined #ruby
marr has quit [Ping timeout: 258 seconds]
<axisys>
hmm.. did not think of `gem install puppet'
<RickHull>
well, be careful mixing centos packages with newer gems
<axisys>
RickHull: let me try on a centos 7 VM
fmcgeough has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alnewkirk has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<axisys>
so on a fresh new centos 7 VM .. obviously there is no gem
<axisys>
so installing yum install -y rubygems installs a olderversion
<axisys>
can gem upgrade itself from there? like pip?
jenrzzz has quit [Ping timeout: 240 seconds]
<RickHull>
yeah
<RickHull>
gem update --system
<RickHull>
or gem install rubygems-update
<RickHull>
(last I checked, and sudo as necessary)
<axisys>
ok.. so gem update --system got me to 2.6.14 .. now gem install rvc says missing ruby.h .. do I install the header files with gem or yum?
tvw has quit [Remote host closed the connection]
<RickHull>
who owns `which ruby` ?
<RickHull>
if it's yum's ruby, then you'll want something like ruby-devel package
<axisys>
root
lordpdd has joined #ruby
<RickHull>
i mean, what subsystem
<RickHull>
it's possible you installed your own ruby, e.g. with ruby-build or ruby-install
<RickHull>
presumably it's yum's ruby
cdg has quit [Ping timeout: 246 seconds]
eckhardt has joined #ruby
eroux has quit [Quit: ZZZzzz… ZZZzzz…]
<RickHull>
yeah, so try to find the development packages for yum's ruby
<axisys>
ruby-devel
alnewkirk has quit [Ping timeout: 255 seconds]
<axisys>
so back to same error.. nokogiri requires Ruby version >= 2.1.0.
<RickHull>
latemus: can you paste your attempts?
<RickHull>
and there is no newer ruby for centos 7?
<RickHull>
ruby2.2 or something maybe?
Technodrome has joined #ruby
<RickHull>
what is your ruby --version ?
<axisys>
doing a yum upgrade
fmcgeough has quit [Quit: fmcgeough]
jphase has quit [Remote host closed the connection]
porfa has quit [Quit: porfa]
chouhou__ has quit [Remote host closed the connection]
<lordpdd>
what's a good place to ask a question about activerecord?
alnewkirk has joined #ruby
Devalo has joined #ruby
<axisys>
RickHull: still 2.0
<axisys>
:-)
MrBusiness has quit [Ping timeout: 246 seconds]
npgm has quit [Quit: Connection closed for inactivity]
<RickHull>
lordpdd: here or #rubyonrails
<RickHull>
axisys: you will probably want a newer ruby. 2.0 way EOL
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull>
you can install one in your homedir pretty easily
<axisys>
RickHull: I need to use rvc for a whole team ..
megamosaren has quit [Ping timeout: 258 seconds]
<RickHull>
i would upgrade centos or look for a newer ruby package
<axisys>
RickHull: I did
alnewkirk has quit [Ping timeout: 248 seconds]
Devalo has quit [Ping timeout: 248 seconds]
<RickHull>
i mean, to a newer centos
<axisys>
RickHull: yum upgrade does that
<RickHull>
ruby 2.0 is like 7 years old maybe?
<axisys>
lol
<RickHull>
recent centos should be running 2.4
<RickHull>
check on that
<axisys>
RickHull: let me check with #centos.. thanks
vtx has quit [Quit: vtx]
alnewkirk has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys is now known as troys_
alnewkirk has quit [Ping timeout: 240 seconds]
PresidentBiscuit has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
coderphive has joined #ruby
<RickHull>
ruby 2.0 was released early 2013, it's not *that* old, but it is EOL
<lordpdd>
I'm using AR 3.2 and I'm having a problem with `serialize :field, JSON` - it works locally but on other machines/servers I get a JSON parsing error "JSON::ParserError: input must be a string or IO" has anyone had this issue before?
<zanoni>
I'm not that familiar with rack but the error I keep getting shows this GET request, and it's like the two paths are merged, yet I see nothing about the route in it - 2017-10-27 00:54:20 +0000: Rack app error handling request { GET /vagrant/TestRails/MediaExplorer/vagrant/TestRails/Music/Bugg.....}
quobo has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Quit: WeeChat 1.9.1]
alnewkirk has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
alnewkirk has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
troys_ is now known as troys
alnewkirk has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
brian_penguin has joined #ruby
alnewkirk has joined #ruby
megamosaren has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
alnewkirk has quit [Ping timeout: 240 seconds]
juggler has joined #ruby
d^sh has joined #ruby
brian_penguin has quit [Quit: Leaving]
ogres has joined #ruby
alnewkirk has joined #ruby
coderphive has quit [Quit: coderphive]
coderphive_ has joined #ruby
gusrub has quit []
thomasv314 has joined #ruby
uZiel has joined #ruby
enterprisey has quit [Remote host closed the connection]
<dminuoso>
RickHull: |> is basically just a poor mans excuse for having no function composition. ;-)
<RickHull>
<3 |>
cschneid_ has quit [Ping timeout: 255 seconds]
<dminuoso>
Well, we will get it in ruby 2.5 :P
<dminuoso>
The less elegant version of it, but we will have a ruby version of |> soon. :)
DarkBushido has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 246 seconds]
<dminuoso>
Though I really do wish Elixir had the power to compose two functions together easily without creating some helper module R with some function compose, R.compose(A.func, B.func) is just horrid.
aphelion has quit [Ping timeout: 240 seconds]
Apocalypse has quit [Ping timeout: 255 seconds]
epochwolf has quit [Ping timeout: 255 seconds]
rideh has quit [Ping timeout: 252 seconds]
code_zombie__ has quit [Quit: Leaving]
cout has quit [Ping timeout: 260 seconds]
alnewkirk has quit [Ping timeout: 258 seconds]
<RickHull>
on a scale of php to unicorns and rainbows, where is horrid?
<dminuoso>
RickHull: Around Perl.
k3rn31 has joined #ruby
<RickHull>
i hear good things about perlnukem 6
<dminuoso>
I've even seen fancy ruby constructs such as: R. aFunc . bFunc
<dminuoso>
Where method_missing is overloaded to return certain proxy objects
<dminuoso>
(Which would compose)
<dminuoso>
Which is stronger than Proc#* because you can freely compose methods without having to build procs/lambdas from them
<baweaver>
so there's a method to the madness?
<RickHull>
the story of ruby
<RickHull>
(tm)
enterprisey has joined #ruby
alnewkirk has joined #ruby
armyriad has quit [Quit: Leaving]
armyriad has joined #ruby
<RickHull>
dminuoso: where I'm returning from a block, how can I make the lambda approach work better?
<dminuoso>
RickHull: Last night I was sure you could tackle those .each things with transducers more elegantly.
<RickHull>
i vaguely understood transducers like 6 months ago
DarkBushido has joined #ruby
DarkBushido has quit [Changing host]
DarkBushido has joined #ruby
<RickHull>
haven't thought about that in a while
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rideh has joined #ruby
<RickHull>
i'm not happy with #bf_search and #df_search, they feel rough but sufficient
<dminuoso>
RickHull: Let me emphasize again that this was just a personal opinion. Your code looked very clean.
<dminuoso>
Ignore the fact that its in JS, its one of the better articles on the subject.
<RickHull>
what about monads in ruby, what is the signature?
<dminuoso>
RickHull: Something where #flat_map makes sense on.
<RickHull>
hm, that's new here
<dminuoso>
For Ruby that only applies to Array (which is a full fledged monad)
<RickHull>
what is the test for monadry in ruby?
epochwolf has joined #ruby
<RickHull>
i can see where Array#flat_map makes sense
<dminuoso>
RickHull: You identify whether it is indeed a monadic object in the category of endofunctors.
<RickHull>
endofunctors? *barf*
<dminuoso>
RickHull: Endofunctors are basically things where .map makes sense on. ;-)
<RickHull>
Enumerables, kinda?
<dminuoso>
(That is a simplified version, but it works well enough for programming)
cschneid has joined #ruby
<dminuoso>
No.
<RickHull>
:(
aphelion has joined #ruby
<dminuoso>
RickHull: the idea of map is not about iterating. its about applying a function to "its content"
<RickHull>
map x to y
<dminuoso>
with x and y being functions, yes.
<dminuoso>
;)
<RickHull>
what about f(x) = x^3
<RickHull>
is that a map? or an endofucntor?
<dminuoso>
RickHull: Neither.
anisha_ has joined #ruby
<RickHull>
seems pretty close
<dminuoso>
RickHull: think of an endofunctor as any type of object that can "contain values" in *some* form
<dminuoso>
For example: Array can contain many values
<dminuoso>
Box can contain one value
Apocalypse has joined #ruby
<dminuoso>
Maybe *may* contain a value, but perhaps it doesnt.
<dminuoso>
Future contains a value (in the future)
alnewkirk has quit [Ping timeout: 240 seconds]
<dminuoso>
And in each case map would apply a function to "its content", satisfying the special property of the type (array having many, Future having one.. in the future, maybe possibly having none)
<dminuoso>
Any such type that can contain values, and apply functions to its content (via map) is basically an endofunctor - or short "functor" (when programmers say functor they always mean endofunctor)
<RickHull>
*nod*
ogres has quit [Quit: Connection closed for inactivity]
<RickHull>
"a generic container class" but not really
<RickHull>
what's wrong with that idea?
aupadhye has joined #ruby
alnewkirk has joined #ruby
<RickHull>
f(x) = x^3 is the map part, container class is the endofunctor part
<RickHull>
?
<RickHull>
i would think Enumerable is monadic (sp?)
Dimik has joined #ruby
<RickHull>
what disqualifies Enumerable from monadry?
aupadhye has quit [Ping timeout: 248 seconds]
LocaMocha has joined #ruby
troys_ is now known as troys
<dminuoso>
RickHull: In reality there are many more endofunctors, but that is at least one type that we usually concern us ourselves with as programmers.
<dminuoso>
RickHull: In addition that #map must follow some axioms
<dminuoso>
If * is function composition, then .map(f * g) must be the same as .map(g).map(f) in ruby terms (this is called a covariant functor)
<dminuoso>
Or if its a contravariant functor, then .map(f * g) must be the same as .map(f).map(g)
<dminuoso>
(Function composition is in reverse direction, so f * g would be `f after g`)
<RickHull>
* is multiplication?
<dminuoso>
Also .map(&:itself) must produce the same output unchanged.
<dminuoso>
RickHull: Function composition
<dminuoso>
Technically it should be written as .map(&(f * g)), .map(&f) and .map(&g) because ruby is stupid :P
<RickHull>
oh duh, sorry, you said that already :)
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
<dminuoso>
So basically the functor in addition respects the order of functions applied to its contents (whether you chain them through multiple invocations of map, or whether you compose them first, and then use it with map)
AnoHito has joined #ruby
alnewkirk has quit [Ping timeout: 255 seconds]
oleo has quit [Quit: Leaving]
<RickHull>
so what about Enumerable?
<RickHull>
how do we apply monadic theory or definitions?
<dminuoso>
RickHull: The reason that `map` doesnt map values but rather the function is shadowed by the fact that ruby's map first maps the function, and immediately applies it to the 'container'
jphase has joined #ruby
<RickHull>
hmmm....
<dminuoso>
RickHull: Monads are kind of like functors, except in addition to #map they also support #flatten and follow some special laws.
<dminuoso>
But they are hard to explain, they are far more easily "discovered" by yourself if you are told to do some certain things.
<RickHull>
i recall in previous examinations, apply() is a sensible operation
<RickHull>
(maybe errantly)
astrobunny has joined #ruby
<dminuoso>
RickHull: ever done promises in JavaScript?
<RickHull>
newp
<RickHull>
I've horsed around with them in Ruby or Elixir IIRC
alnewkirk has joined #ruby
astrobun_ has joined #ruby
aupadhye has joined #ruby
LocaMocha has quit [Ping timeout: 240 seconds]
astrobunny has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
LocaMocha has joined #ruby
jphase has quit [Ping timeout: 258 seconds]
<dminuoso>
RickHull: The thing about Enumerable is that strictly speaking you could construct classes that don't respect the axioms I mentioned: a.map(&(f * g)) == a.map(&g).map(&g) (or the other way around, but contravariant functors are somewhat rare in programming)
<dminuoso>
But are still Enumerable.
<dminuoso>
A random example: An unordered list.
<dminuoso>
Would be quite enumerable, but it will *not* respect the order of composition in the slightest.
<RickHull>
hm, sounds like a Bag
<RickHull>
hm, order of composition?
<dminuoso>
a.map(&(f * g)) == a.map(&g).map(&g)
<dminuoso>
And if a = a.map(&:itself)
<RickHull>
a.map(&f).map(&g) ?
<dminuoso>
And if a == a.map(&:itself)
<dminuoso>
Those are the basic requirements of a functor.
<dminuoso>
Err yes.
<dminuoso>
Well
<dminuoso>
a.map(&g).map(&f)
<dminuoso>
Yours would be one of those really rare contravariant functors.
<dminuoso>
(Not rare in mathematics, but rare in programming)
<RickHull>
a.map(&:itself) -- no problem there right?
<RickHull>
i mean, with a hypothetical Enumerable#itself
<RickHull>
yes, lovely, separate behavior from objectness
<RickHull>
verbs from nouns
<RickHull>
?
ColeHub has joined #ruby
<dminuoso>
RickHull: So assume you have some [initialPosition], you can just call .map(&nextPosition) and you get an entire array of possible next positions.
<RickHull>
yeah, a nice general interface
<RickHull>
like REST/HTTP
<dminuoso>
The idea is that you dont *know* which move the opponent will do, so you have no option but to compute an array of all simultaneously.
<dminuoso>
And that is non-deterministic computation
alnewkirk has joined #ruby
<RickHull>
hm, that is not satisfying. I could check them all in series in some order
<dminuoso>
RickHull: Its not about efficiency, its just the concept.
<RickHull>
expressing the parallelism of the problem?
<dminuoso>
Yeah pretty much.
<dminuoso>
RickHull: So until now this is just a functor. However you have a problem.
<dminuoso>
What if you want to check all the possible layouts 2 moves from now?
<RickHull>
n^2
aufi has joined #ruby
<dminuoso>
Given some initial = [initialPosition], if you did initial.map(&nextPosition) you now have an array of an array of positions.
<dminuoso>
So you can't simply to initial.map(&nextPosition).map(&nextPosition)
<RickHull>
hmmm
<dminuoso>
So in order to do this, array is equipped with flat_map, (which is just map(...).flatten ), which can do this - thus modelling non deterministic computation
<RickHull>
flatten jumbles things?
<dminuoso>
RickHull: flatten knows how to peel off one layer
<dminuoso>
It turns Array<Array<ChessboardPosition>> into Array<ChessboardPosition>
<RickHull>
hm, sounds like curry
<RickHull>
FWIW rfold and lfold are dim lightbulbs in the foggy recesses
<dminuoso>
Wait, now we are talking about catamorphisms?
<RickHull>
no, don't mind my ramblings
alfiemax has joined #ruby
<RickHull>
I have dipped my toes into functional programming but not recently; been shaking the rust off here :)
<dminuoso>
RickHull: What is important, is to understand is that Array is not naturally a functor or monad. It's possible that there's multiple functors or monads you can construct with Array.
konsolebox has quit [Ping timeout: 258 seconds]
<RickHull>
that makes sense enough. I can imagine a contract, and Array happens to be able satisfy it in a simple way and possibly others
<dminuoso>
Right. But most of the time there is only one useful thing to do.
<RickHull>
and if EnumerableFunctor were a mixin like Enumerable but cared enough, it might satisfy all of the reqs
alnewkirk has quit [Ping timeout: 258 seconds]
<dminuoso>
RickHull: Such a thing would be called: OrderedList.
imode has joined #ruby
<dminuoso>
Or rather, it would have to be an OrderedEnumerable
<RickHull>
to me that is Enumerable in the platonic sense
<dminuoso>
RickHull: Consider Set.
<dminuoso>
A wildly underused class.
<dminuoso>
It's an Enumerable, but unordered.
<RickHull>
possibly enumerable rather than necessarily?
<dminuoso>
You have to assume the order is random everytime you iterate.
<RickHull>
i have a sense that Enumerable means top to bottom
<RickHull>
we can assign a number to it
<RickHull>
and sort on it
<dminuoso>
RickHull: Nope, Enumerable just means you can iterate over it.
<dminuoso>
RickHull: Which implies you can do things such as filtering
<dminuoso>
(Because you can inspect each object)
<RickHull>
i mean enumerable in the platonic sense
<RickHull>
am I wrong there?
<dminuoso>
RickHull: You are.
<RickHull>
bah
<RickHull>
boo! *shakes fist*
<RickHull>
so just countable basically
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull>
and we define #each
<dminuoso>
Right.
alnewkirk has joined #ruby
banisterfiend has joined #ruby
bwilson has quit [Quit: bwilson]
<RickHull>
so what about unordered nondeterministic cool things? do they get a cool name?
<dminuoso>
RickHull: The best example to get a good grasp of what monads are, is to keep the non-deterministic computation in mind (where your computation function takes an input, and generates an array of results), and then study JavaScript promises.
<RickHull>
it seems like a nice property
<dminuoso>
Or implement a logger done the functional programming way.
<dminuoso>
You will invent the monad yourself.
cschneid_ has joined #ruby
<RickHull>
all of functional programming is just take the problem, split it into parts, solve them (map), and then join back together (reduce)
<RickHull>
it's like a burrito, right?
cschnei__ has joined #ruby
guacamole has joined #ruby
cschneid_ has quit [Ping timeout: 252 seconds]
snickers has joined #ruby
Silthias1 has joined #ruby
cschnei__ has quit [Ping timeout: 252 seconds]
* RickHull
removes tongue from cheek
<RickHull>
it's late, thanks again, cheers!
Silthias has quit [Ping timeout: 240 seconds]
troys has quit [Quit: Bye]
Ltem has joined #ruby
mjolnird has joined #ruby
alnewkirk has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
rabajaj has joined #ruby
conta has joined #ruby
alnewkirk has joined #ruby
nertzy has quit [Ping timeout: 240 seconds]
apeiros_ has joined #ruby
alnewkirk has quit [Ping timeout: 255 seconds]
alnewkirk has joined #ruby
alnewkirk has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
ajaysingh has joined #ruby
alnewkirk has joined #ruby
|ifei5good has quit [Ping timeout: 248 seconds]
|ifei5g00d has joined #ruby
alnewkirk has quit [Ping timeout: 240 seconds]
Immune has quit [Ping timeout: 248 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
postmodern has quit [Quit: Leaving]
oetjenj has joined #ruby
alnewkirk has joined #ruby
enterprisey has quit [Remote host closed the connection]
<dev_>
in the main.rb, compute_price(vehicle), compute_prices functions
<dev_>
yes
alnewkir1 has joined #ruby
alnewkirk has quit [Ping timeout: 255 seconds]
<apeiros>
and your problem is?
<dev_>
i'm newbie of ruby, if do this task correctly?
<dev_>
i have some doubts with functions
<dev_>
the generated result to output.json
nowhereman has joined #ruby
<apeiros>
Date will not include hours/minutes/seconds
<apeiros>
there's two other classes which do: DateTime and Time
|ifei5g00d has quit [Ping timeout: 240 seconds]
<dev_>
thanks
<apeiros>
I think you also don't consider this part of the exercise in your code: "you should consider if it wouldn't be cheaper to take the daily or weekly price instead"
<dev_>
but the results are the same with DateTime and Date, i checked
<apeiros>
and some cosmetics: don't use parse for a standardized format. the time is given in iso8601, both DateTime and Time have .iso8601 parsing methods explicitly
<dev_>
yes i have a problem with how to define this "you should consider if it wouldn't be cheaper to take the daily or weekly price instead", any hints
<apeiros>
re results the same: then maybe you're doing something wrong in the calculations too. try to calc by hand and see whether you get the expected result from your code.
<apeiros>
another cosmetic issue: result = []; enum.each do … result << value; end --> result = enum.map { … value }
<apeiros>
gotta go for lunch now, somebody else can probably help you in the meantime.
<dev_>
thank you!
FahmeF has joined #ruby
guacamole has joined #ruby
|ifei5g00d has joined #ruby
fullstack has quit [Ping timeout: 240 seconds]
FahmeF_ has quit [Ping timeout: 240 seconds]
megamosaren has quit [Ping timeout: 240 seconds]
fullstack has joined #ruby
FahmeF_ has joined #ruby
FahmeF has quit [Ping timeout: 252 seconds]
RickHull has quit [Ping timeout: 260 seconds]
meinside has joined #ruby
jameser_ has joined #ruby
__Yiota has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
<dev_>
any help ?
hippyphysicist has joined #ruby
alnewkir1 has quit [Ping timeout: 248 seconds]
s2013 has joined #ruby
hippyphysicist has quit [Quit: Leaving]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FahmeF has joined #ruby
porfa has joined #ruby
FahmeF_ has quit [Ping timeout: 246 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
zoras has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
FahmeF_ has joined #ruby
FahmeF has quit [Ping timeout: 240 seconds]
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
astrobun_ has quit [Remote host closed the connection]
cadillac_ has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
milardovich has joined #ruby
cadillac_ has joined #ruby
rikkipitt has joined #ruby
hippyphysicist__ has joined #ruby
hippyphysicist__ has quit [Read error: Connection reset by peer]
mn3m has joined #ruby
FahmeF_ has quit [Remote host closed the connection]
nowhereman has quit [Quit: Konversation terminated!]
nowhereman has joined #ruby
tvw has joined #ruby
alfiemax has quit [Remote host closed the connection]
rabajaj has quit [Remote host closed the connection]
anisha_ has quit [Read error: Connection reset by peer]
anisha has joined #ruby
rikkipitt has quit [Ping timeout: 248 seconds]
mn3m has quit [Quit: mn3m]
mn3m has joined #ruby
mim1k_ is now known as mim1k
andikr has quit [Remote host closed the connection]
gix has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
tcopeland has quit [Quit: tcopeland]
ldnunes has joined #ruby
milardovich has quit [Remote host closed the connection]
gix has joined #ruby
DTZUZO has joined #ruby
mn3m_ has joined #ruby
FahmeF has joined #ruby
rikkipitt has joined #ruby
mn3m_ has quit [Remote host closed the connection]
<havenwood>
I have our prod rails app running on my phone.
sagax has joined #ruby
DebianUser_ has joined #ruby
c-c has joined #ruby
<c-c>
Hi
<c-c>
So is it impossible to do non-blocking read on pipes in ruby 2.3?
|ifei5g00d has quit [Ping timeout: 255 seconds]
<c-c>
I attempted io.read_nonblocking, with and without a begin-resque-select, different getc and read ways. They all behave identically to me on linux.
<c-c>
ie. the process sits there and waits until something writes in the pipe
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vipaca has joined #ruby
|ifei5g00d has joined #ruby
alfiemax has joined #ruby
voiceftp has quit [Remote host closed the connection]
<zanoni>
What's the best way to see what is going on with Rack middleware? Something is making Thin freeze but I'm not sure how to debug Rack
voiceftp has joined #ruby
vipaca has quit [Client Quit]
porfa has joined #ruby
Ltem has quit [Quit: Leaving]
alfiemax has quit [Ping timeout: 260 seconds]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
DoubleMalt has quit [Ping timeout: 255 seconds]
Heph_ has joined #ruby
alfiemax has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
voiceftp has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Ping timeout: 255 seconds]
voiceftp has joined #ruby
cadillac_ has joined #ruby
k3rn31 has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
Kestrel-029 has quit [Read error: Connection reset by peer]