adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
johnny56 has quit [Remote host closed the connection]
johnny56 has joined #ruby
jenrzzz_ has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
moldorcoder7 has quit [Quit: %bye mirc%]
jenrzzz has joined #ruby
evdubs_ has joined #ruby
evdubs__ has joined #ruby
evdubs__ has quit [Remote host closed the connection]
evdubs_ has quit [Remote host closed the connection]
evdubs has quit [Remote host closed the connection]
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby
jenrzzz has joined #ruby
Qchmqs has joined #ruby
moldorcoder7 has joined #ruby
Technodrome has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby
TCZ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
cliluw has quit [Ping timeout: 265 seconds]
cliluw has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
jenrzzz_ has joined #ruby
linoge has quit [Ping timeout: 268 seconds]
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz_ has joined #ruby
dpl has quit [Ping timeout: 240 seconds]
nofxx has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 252 seconds]
TCZ has quit [Quit: oh eh ah]
jenrzzz_ has joined #ruby
cuerbot has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
linoge has joined #ruby
linoge has quit [Read error: Connection reset by peer]
jenrzzz_ has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
MalkbabY_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
andremedeiros has quit [Read error: Connection reset by peer]
MalkbabY has quit [Ping timeout: 240 seconds]
andremedeiros has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Azure|dc is now known as Azure
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
MalkbabY_ is now known as MalkbabY
gix has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
dsrt^ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
evdubs has joined #ruby
m_antis has joined #ruby
m_antis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
evdubs_ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
evdubs has quit [Ping timeout: 260 seconds]
m27frogy has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
pwnd_5 has joined #ruby
pwnd_ has quit [Read error: Connection reset by peer]
pwnd_5 is now known as pwnd_
spectra has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Milos has quit [Quit: ZNC 1.8.2 - https://znc.in]
akem has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
Milos has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ChmEarl has quit [Quit: Leaving]
spectra has joined #ruby
Qchmqs has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
jenrzzz has joined #ruby
ur5us__ has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
jla has joined #ruby
MalkbabY_ has joined #ruby
evdubs__ has joined #ruby
evdubs__ has quit [Read error: Connection reset by peer]
evdubs__ has joined #ruby
evdubs_ has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
evdubs_ has joined #ruby
evdubs__ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
neshpion has quit [Quit: neshpion]
dhollinger has quit [Ping timeout: 252 seconds]
evdubs__ has joined #ruby
fercell has quit [Ping timeout: 268 seconds]
fercell has joined #ruby
evdubs_ has quit [Ping timeout: 260 seconds]
teclator has joined #ruby
ua has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jla has quit [Ping timeout: 240 seconds]
ur5us__ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ua has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
shtirlic has joined #ruby
dka_ has joined #ruby
actuallybatman has quit [Quit: leaving]
al2o3-cr has quit [Quit: WeeChat 3.1]
jenrzzz has joined #ruby
keyvan has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
keyvan has quit [Client Quit]
keyvan has joined #ruby
jla has joined #ruby
Rudd0 has quit [Ping timeout: 260 seconds]
shtirlic has quit [Remote host closed the connection]
dhollinger has joined #ruby
dpl has joined #ruby
sagax has quit [Remote host closed the connection]
vondruch has joined #ruby
jenrzzz has joined #ruby
ur5us__ has quit [Ping timeout: 258 seconds]
gearnode has joined #ruby
gearnode has quit [Client Quit]
gearnode has joined #ruby
lockweel has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
hiroaki_ has joined #ruby
jenrzzz has joined #ruby
erpel has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
dpl has quit [Quit: dpl]
dpl has joined #ruby
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ruurd has joined #ruby
naftilos76 has joined #ruby
jenrzzz has joined #ruby
BSaboia has joined #ruby
TomyWork has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ur5us__ has joined #ruby
AndreYuhai has joined #ruby
rmnull has joined #ruby
cd has quit [Quit: cd]
rmnull has quit [Quit: WeeChat 3.0.1]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #ruby
duderonomy has joined #ruby
BTRE has quit [Ping timeout: 265 seconds]
BTRE has joined #ruby
Milos has quit [Ping timeout: 246 seconds]
evdubs_ has joined #ruby
evdubs__ has quit [Ping timeout: 240 seconds]
evdubs__ has joined #ruby
evdubs_ has quit [Ping timeout: 240 seconds]
MalkbabY has joined #ruby
Milos has joined #ruby
MalkbabY_ has quit [Ping timeout: 265 seconds]
Milos has quit [Quit: ZNC 1.8.2 - https://znc.in]
shtirlic has joined #ruby
<Cork> anyone know how to get irb 1.2.6 to autocomplete global variables the same as "older" irb versions?
<Cork> it just prints the autocomplete value above the input line but doesn't fill in the command line :/
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
Milos has joined #ruby
Rudd0 has joined #ruby
felixi has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 246 seconds]
ur5us__ has quit [Ping timeout: 250 seconds]
ruurd has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
m27frogy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<AndreYuhai> If I don't use webpack-dev-server I can not see the React element on DOM, why is that?
<AndreYuhai> rails assets:precompile fixed that
felixi has left #ruby [#ruby]
vondruch has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
Qchmqs has joined #ruby
<LACampbell> my unscientific benchmarks are showing me that mri/roda/puma is about twice as fast as node.js/express. but the former will start timing out earlier
evdubs_ has joined #ruby
evdubs__ has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
evdubs__ has joined #ruby
budonyc has quit [Remote host closed the connection]
evdubs_ has quit [Ping timeout: 240 seconds]
jla has quit [Ping timeout: 240 seconds]
jhill has quit [Ping timeout: 245 seconds]
jhill has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
BSaboia has quit [Ping timeout: 240 seconds]
stryek has joined #ruby
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 246 seconds]
MalkbabY_ has joined #ruby
jimms has joined #ruby
MalkbabY has quit [Ping timeout: 240 seconds]
BSaboia has joined #ruby
m_antis has joined #ruby
linoge has joined #ruby
jla has joined #ruby
SeepingN has joined #ruby
MalkbabY_ is now known as MalkbabY
m_antis has quit [Read error: Connection reset by peer]
AndreYuhai has quit [Quit: Lost terminal]
<adam12> LACampbell: Be interesting to see how Async/Falcon compares.
maroloccio has joined #ruby
jenrzzz has joined #ruby
naftilos76 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jetchisel has joined #ruby
ChmEarl has joined #ruby
jordanm has quit [Ping timeout: 245 seconds]
BSaboia has quit [Read error: Connection reset by peer]
jordanm has joined #ruby
dsrt^ has quit [Ping timeout: 260 seconds]
shtirlic has quit [Read error: Connection reset by peer]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
shtirlic has joined #ruby
dsrt^ has joined #ruby
dsrt^ has quit [Max SendQ exceeded]
shtirlic_ has joined #ruby
shtirlic has quit [Ping timeout: 260 seconds]
shtirlic_ is now known as shtirlic
shtirlic has quit [Client Quit]
shtirlic has joined #ruby
BSaboia has joined #ruby
LiteWait has joined #ruby
m_antis has joined #ruby
AndreYuhai has joined #ruby
<AndreYuhai> I've got a Rails 6 project using React. However when after I install react using webpacker:install:react then on CircleCI I get an error saying webpacker conflict
<AndreYuhai> Basically if I install react and then try to do webpacker:install I get the same error on my machine
<AndreYuhai> Not really an error I think, but just asking whether I want to overwrite webpacker
<AndreYuhai> Don't know why that happens though
AndreYuhai has quit [Quit: leaving]
jenrzzz has joined #ruby
evdubs__ has quit [Ping timeout: 240 seconds]
noboruma has joined #ruby
jla has quit [Ping timeout: 260 seconds]
LiteWait has quit [Quit: Connection closed]
jenrzzz has quit [Ping timeout: 252 seconds]
m_antis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erpel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
naftilos76 has joined #ruby
maroloccio has quit [Quit: WeeChat 2.3]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
TorpedoSkyline has quit [Quit: Konversation terminated!]
TorpedoSkyline has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
brunosaboia_ has joined #ruby
BSaboia has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
jla has joined #ruby
brunosaboia_ has quit [Quit: Leaving]
BSaboia has joined #ruby
gix has joined #ruby
Technodrome has joined #ruby
Qchmqs has quit [Quit: leaving]
erpel has joined #ruby
postmodern has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
neshpion has joined #ruby
m_antis has joined #ruby
evdubs has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
MalkbabY_ has joined #ruby
jenrzzz has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
MalkbabY has quit [Ping timeout: 240 seconds]
m_antis has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 252 seconds]
vondruch has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Synthead has joined #ruby
<Synthead> I'm trying to get a pry-remote session going with a project that uses sidekiq. binding.remote_pry works fine, but when I attempt to connect to it via pry-remote, it starts up a console in the sidekiq process, and the console that called pry-remote just exits. Is there some way I can fix this?
TomyWork has quit [Quit: Leaving]
<havenwood> Synthead: What do you mean by "console that called pry-remote just exits" exactly?
<havenwood> Synthead: Ohh, "exits" I read "exists" haha...
<Synthead> :D
<Synthead> yeah, it simply returns to the prompt after about 1/4 second, and the pry console shows up in sidekiq instead
<Synthead> I'm using the same gem versions
turt2live has quit [Ping timeout: 245 seconds]
<havenwood> Synthead: I see folk having issues with rack-timeout timing out a request but dunno for a sidekick job.
<havenwood> Synthead: Sidekiq isn't logging anything interesting about the job?
<Synthead> in relation to pry-remote? There is text that it is listening for an incoming connection, and it looks normal
<havenwood> Synthead: And no reason the job would abort?
<havenwood> I can't think of a likely culprit.
turt2live has joined #ruby
<Synthead> havenwood: the job doesn't abort; it waits for an incoming pry-remote connection, and when it receives one, the pry console shows up in the foreground in the sidekiq job, and the pry-remote client simply exits
<Synthead> it's pretty strange
naftilos76 has quit [Quit: Leaving]
jimms has quit [Quit: Leaving]
neshpion has quit [Quit: neshpion]
neshpion has joined #ruby
jla has quit [Ping timeout: 268 seconds]
cd has joined #ruby
icarus has joined #ruby
lockweel has quit [Quit: Leaving]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Synthead has quit [Quit: Leaving]
BSaboia has joined #ruby
jetchisel has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
jenrzzz_ has joined #ruby
lucasb has joined #ruby
GodFather has joined #ruby
shtirlic has quit [Ping timeout: 260 seconds]
hkais has joined #ruby
<hkais> hi there, can someone help a newbee with this issue?
<hkais> FrozenError (can't modify frozen String: ""):
<hkais> getting this in a RoR application redmine
hkais has quit [Read error: Connection reset by peer]
hkais has joined #ruby
neshpion has quit [Ping timeout: 240 seconds]
neshpion has joined #ruby
hiroaki_ has quit [Ping timeout: 260 seconds]
iftheshoefritz has joined #ruby
<iftheshoefritz> hi folks, I'm looking at building ruby from source because of problems on my M1 MBP. Ruby 2.7.1 and Ruby 3 have different config.sub files:
<iftheshoefritz> ☁ $ diff ruby-2.7.1/tool/config.sub ruby-3.0.1/tool/config.sub | grep arm64
<iftheshoefritz>  > arm64-*)
<iftheshoefritz> Ruby 2.7.1 fails because it doesn't know about arm64. At the moment I fix this by copying the config.sub from Ruby3 into the Ruby 2.7.1 tool directory. But is there an argument to that I can pass to configure to tell it to get config.sub from somewhere else?
<havenwood> hkais: Share the full error backtrace?
jla has joined #ruby
jla has quit [Ping timeout: 240 seconds]
<havenwood> hkais: What version of redmine do you have there?
jla has joined #ruby
hiroaki_ has joined #ruby
iftheshoefritz has quit [Ping timeout: 240 seconds]
<hkais> this version
<havenwood> hkais: It looks like you're using 4.0 or earlier and need 4.1 or later?
<havenwood> hkais: Yeah, the issue is fixed in 4.1 and that's 4.0.
<havenwood> hkais: Looks like 4.2 is current.
<havenwood> hkais: If you can, just use the latest stable release of redmine.
<hkais> sadly cannot so easy. since using the ubuntu package
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
<havenwood> hkais: It's a good question why it's frozen, since the frozen string literal wasn't added until 4.1.
<havenwood> hkais: You could just try adding an explicit `# frozen_string_literal: false` to the top line of the offending file.
<havenwood> hkais: Maybe redmine folk would recognize why it's getting frozen in 4.0. There's not an obvious reason occurring to me, but I'm not a redmine user.
jenrzzz has quit [Ping timeout: 240 seconds]
<hkais> i have added manually the comment by a suggestion, but it did not help
<hkais> now i removed the comments with # frozen_string_literal: false
<hkais> and the issue is the same
<havenwood> hkais: Yeah, that older redmine isn't expecting Strings to be frozen so looks like cascading failures.
<havenwood> hkais: I think that actually did fix the one file, and now codeset_util.rb is balking.
<havenwood> hkais: I'd personally switch to latest redmine and ditch the apt package.
jetchisel has joined #ruby
<havenwood> hkais: export RUBYOPT="--disable-frozen-string-literal"
<havenwood> ?crosspost hkais
<ruby[bot]> hkais: Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
<havenwood> (Looks like question is crossposted in #rubyonrails.)
<havenwood> hkais: I wonder if someone enabled frozen string literals in RUBYOPT, since 4.0 should work fine with itself.
<hkais> codeset_util.rb does not have a frozen-string literal
<hkais> maybe a stupid question, but how to set this option globally? afaik passenger is calling ruby?
jenrzzz_ has quit [Ping timeout: 252 seconds]
<hkais> regardign cross posting: yes did it since I though this channel is not active, but this changed by your answer
<havenwood> hkais: export RUBYOPT="--disable-frozen-string-literal"
jenrzzz has joined #ruby
<hkais> maybe a stupid question, but there to add RUBYOPT?
<havenwood> hkais: RUBYOPT is an environment variable in your shell.
<havenwood> hkais: I don't understand the question.
<havenwood> hkais: Look at your current RUBYOPT: printenv RUBYOPT
<havenwood> Anything?
jenrzzz_ has joined #ruby
<havenwood> hkais: I was curious if someone set frozen string literals in the RUBYOPT env var since it's disabled by default but somehow enabled here.
<havenwood> hkais: You an look at all your env vars with: printenv
<hkais> RUBYOPT did not find anything neither in /etc nor in the env
<havenwood> Does setting it lie I suggested fix the issue?
<hkais> found /etc/default/redmine but adding RUBYOPT="--disable-frozen-string-literal" into the file did not fix the issue
<hkais> do i need to add it to passenger.conf?
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz_ has quit [Ping timeout: 252 seconds]
erpel has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
ua has quit [Ping timeout: 246 seconds]
ua_ has joined #ruby
noboruma has quit [Remote host closed the connection]
TCZ has joined #ruby
pwnd_ has quit [Read error: Connection reset by peer]
pwnd_ has joined #ruby
gearnode has quit [Ping timeout: 258 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Read error: Connection reset by peer]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ur5us__ has joined #ruby
jenrzzz has joined #ruby
evdubs_ has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
evdubs has quit [Ping timeout: 260 seconds]
jla has quit [Ping timeout: 246 seconds]
dachi has joined #ruby
MalkbabY_ is now known as Malkbaby
Malkbaby is now known as MalkbabY
dachi is now known as dachin
jenrzzz has quit [Ping timeout: 245 seconds]
TCZ has quit [Quit: oh eh ah]
maroloccio has joined #ruby
jenrzzz has joined #ruby
dachin has quit [Quit: leaving]
hkais has quit [Ping timeout: 246 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
gearnode has joined #ruby
jetchisel has quit [Ping timeout: 245 seconds]
jetchisel has joined #ruby
GodFather has joined #ruby
cd has quit [Quit: cd]
neshpion has quit [Remote host closed the connection]
MalkbabY_ has joined #ruby
MalkbabY_ has quit [Changing host]
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 265 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
pyra has joined #ruby
dpl_ has joined #ruby
<LACampbell> adam12: roda with falcon is about 2.5 times faster than node.js/express, AND it doesn't fall over. though I should point out how bad my loadtesting script is, it just loops a GET (which reads filenames in a directory then prettifies them) 10,000 times
<LACampbell> I'll try and figure out ractors later and do some concurrent requests
dpl has quit [Ping timeout: 268 seconds]
Technodrome has joined #ruby
<pyra> LACampbell: that is awesome!
evdubs_ is now known as evdubs
<pyra> that needs to be plastered on reddit or something
<pyra> ruby possibly being faster than node is a big deal
<havenwood> LACampbell: Are you using async-io to read the file so Falcon Fibers can suspend?
<havenwood> Oh, you said filenames*
andremedeiros has quit [Read error: Connection reset by peer]
<havenwood> LACampbell: Async with any I/O lets Falcon shine.
<LACampbell> havenwood: no, just using Dir.glob from the stdlib
cd has joined #ruby
<LACampbell> pyra: yeah it is awesome. shows you should probably test your assumptions about what's fast. you wouldn't know how to simulate concurrent requests would you?
andremedeiros has joined #ruby
<pyra> maybe siege?
<havenwood> or wrk.
<LACampbell> https://gist.github.com/LAC-Tech/49baa48c8e8ec3d635c85b51fafc9646 it's not exactly sophisticated...
<LACampbell> (with 10,000 ruby falls over though, node is a trooper in that regard, hasn't fallen over yet)
<havenwood> or h2load
jenrzzz has quit [Ping timeout: 240 seconds]
<pyra> could also use ractors to make the test parallel
<havenwood> Falcon will already be concurrent backed by Fibers and the Ruby 3 Thread Scheduler.
<havenwood> Ractors won't help unless you want to peg cores doing some computation or something for each request.
<LACampbell> (it just occurs to me I probably just have the timeouts because the different environments have timeouts set to different values by default)
<LACampbell> havenwood: falcon itself might be concurrent but if I just do a synchronous GET request in a loop it will just do them all one by one
jenrzzz has joined #ruby
<LACampbell> also h2load looks awesome
<havenwood> LACampbell: Falcon also natively support HTTP/2. Multiplexing has its own wins.
<havenwood> wrk, seige, h2load, and friends are great at supporting N connections with M threads
jenrzzz_ has quit [Ping timeout: 252 seconds]
<LACampbell> right but it's not smart enough to predict what my dumb script does, so I am running those GETs in parallel
<havenwood> LACampbell: Usually the tools are making the requests. I guess you mean you currently are using your own script rather than a tool that provides concurrent requests?
pyra has quit [Quit: Konversation terminated!]
<havenwood> LACampbell: Typhoeus is great at parallel requests, HTTP/2 ones too, with libcurl under the hood.
pyra has joined #ruby
<havenwood> LACampbell: Or from the Falcon family, Async::HTTP is a bit lower level but also has HTTP/2 support and concurrency with Async.
<havenwood> LACampbell: Or these days you can even to concurrent requests with Async and Net::HTTP like they show in the Ruby 3 announcement.
<havenwood> See the "Fiber Scheduler" example: https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
<havenwood> do* concurrent requests
<LACampbell> havenwood: yeah I am using that script I posted. trying to use h2load now, but it errors out
neshpion has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<LACampbell> Protocol::HTTP1::InvalidRequest: "SM"
jenrzzz has joined #ruby
<LACampbell> ok got it working (for some bizarre reason it only works in verbose mode)
jenrzzz has quit [Ping timeout: 240 seconds]
<LACampbell> for 1000 concurrent requests, 100 clients, and 10 streams per client, falcon/roda blows express.js out the water. and yes the express.js version is using async file IO. though to be fair maybe I should run it in cluster mode
linoge has quit [Remote host closed the connection]
jinie_ has joined #ruby
jinie has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz_ has quit [Ping timeout: 245 seconds]
Qchmqs has joined #ruby
shokohsc6 has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
TCZ has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
dviola has quit [Ping timeout: 260 seconds]
hiroaki_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
dviola has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
meimeix has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
meimeix has joined #ruby