<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
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 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>
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?
<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.
<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
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?
<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.
<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]