havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview2: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
entel_ has joined #ruby
intelligent_boat has quit [Ping timeout: 246 seconds]
intelligent_boat has joined #ruby
kapil_ has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
kapil has joined #ruby
introom has quit [Ping timeout: 246 seconds]
budo has quit [Quit: Leaving]
budo has joined #ruby
introom has joined #ruby
entel_ has quit []
raz3time has joined #ruby
razetime has quit [Ping timeout: 246 seconds]
entel_ has joined #ruby
entel_ has quit [Client Quit]
raz3time has quit [Ping timeout: 252 seconds]
OverCoder has joined #ruby
caedmon has joined #ruby
budo has quit [Quit: Leaving]
brokkoli_origin has quit [Ping timeout: 246 seconds]
caedmon has quit [Ping timeout: 240 seconds]
brokkoli_origin has joined #ruby
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Perflosopher has joined #ruby
caedmon has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 240 seconds]
raz3time has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 245 seconds]
_ht has joined #ruby
Linux_Kerio has joined #ruby
dalan0382283 has quit [Ping timeout: 240 seconds]
dalan0382283 has joined #ruby
misper has joined #ruby
grenierm has joined #ruby
misper has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
constxqt has quit [Ping timeout: 260 seconds]
constxqt has joined #ruby
OverCoder has quit [Quit: Connection closed for inactivity]
teclator has joined #ruby
reset has quit [Quit: reset]
otisolsen70 has joined #ruby
shokohsc51081 has joined #ruby
shokohsc5108 has quit [Ping timeout: 240 seconds]
shokohsc51081 is now known as shokohsc5108
TomyWork has joined #ruby
raz3time has quit [Ping timeout: 246 seconds]
shokohsc5108 has quit [Ping timeout: 258 seconds]
hightower2 has quit [Ping timeout: 258 seconds]
shokohsc51081 has joined #ruby
willfish has joined #ruby
konsolebox has joined #ruby
hightower2 has joined #ruby
OverCoder has joined #ruby
Linux_Kerio has quit [Ping timeout: 246 seconds]
raz3time has joined #ruby
constxqt has quit [Ping timeout: 246 seconds]
CrazyEddy has quit [Ping timeout: 260 seconds]
grenierm has quit [Ping timeout: 245 seconds]
konsolebox has quit [Quit: Leaving]
raz3time has quit [Ping timeout: 245 seconds]
ultralan has joined #ruby
ultralan has quit [Remote host closed the connection]
hiyori has joined #ruby
victor has joined #ruby
graemefawcett_ has joined #ruby
goofansu_ has joined #ruby
patrick__ has joined #ruby
whereiseveryone_ has joined #ruby
tsujp_ has joined #ruby
hwrd_ has joined #ruby
eax__ has joined #ruby
alexisg_ has joined #ruby
caleb_ has joined #ruby
srushe_ has joined #ruby
g_sg_ has joined #ruby
johnhamelink_ has joined #ruby
jmcantrell_ has joined #ruby
Bounga_ has joined #ruby
pjaspers_ has joined #ruby
Hobbyboy|BNC has joined #ruby
hexology- has joined #ruby
KOTP_ has joined #ruby
sts_ has joined #ruby
Manouchehri_ has joined #ruby
slondr_ has joined #ruby
matta_ has joined #ruby
sts has quit [*.net *.split]
Manouchehri has quit [*.net *.split]
glider has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
hexology has quit [*.net *.split]
lucerne has quit [*.net *.split]
quintasan has quit [*.net *.split]
srushe has quit [*.net *.split]
jmcantrell has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
hwrd has quit [*.net *.split]
matta has quit [*.net *.split]
eax_ has quit [*.net *.split]
alexisg has quit [*.net *.split]
caleb has quit [*.net *.split]
slondr has quit [*.net *.split]
pjaspers has quit [*.net *.split]
Bounga has quit [*.net *.split]
g_sg has quit [*.net *.split]
whereiseveryone has quit [*.net *.split]
tsujp has quit [*.net *.split]
KOTP has quit [*.net *.split]
patrick has quit [*.net *.split]
goofansu has quit [*.net *.split]
graemefawcett has quit [*.net *.split]
Kartagis has quit [*.net *.split]
Hobbyboy|BNC is now known as Hobbyboy
Manouchehri_ is now known as Manouchehri
sts_ is now known as sts
srushe_ is now known as srushe
johnhamelink_ is now known as johnhamelink
jmcantrell_ is now known as jmcantrell
eax__ is now known as eax_
matta_ is now known as matta
caleb_ is now known as caleb
alexisg_ is now known as alexisg
slondr_ is now known as slondr
Bounga_ is now known as Bounga
g_sg_ is now known as g_sg
whereiseveryone_ is now known as whereiseveryone
tsujp_ is now known as tsujp
goofansu_ is now known as goofansu
graemefawcett_ is now known as graemefawcett
patrick__ is now known as patrick
parzzix has quit [Write error: Connection reset by peer]
whereiseveryone has quit [Write error: Connection reset by peer]
alexisg has quit [Write error: Connection reset by peer]
pjaspers_ has quit [Write error: Connection reset by peer]
tsujp has quit [Write error: Connection reset by peer]
slondr has quit [Write error: Connection reset by peer]
Bounga has quit [Write error: Connection reset by peer]
eax_ has quit [Write error: Connection reset by peer]
graemefawcett has quit [Write error: Connection reset by peer]
johnhamelink has quit [Read error: Connection reset by peer]
matta has quit [Read error: Connection reset by peer]
jmcantrell has quit [Write error: Connection reset by peer]
g_sg has quit [Write error: Connection reset by peer]
goofansu has quit [Write error: Connection reset by peer]
hwrd_ has quit [Write error: Connection reset by peer]
patrick has quit [Write error: Connection reset by peer]
KOTP_ has quit [Write error: Connection reset by peer]
srushe has quit [Write error: Connection reset by peer]
caleb has quit [Write error: Connection reset by peer]
patrick has joined #ruby
goofansu has joined #ruby
graemefawcett has joined #ruby
caleb has joined #ruby
pjaspers has joined #ruby
KOTP has joined #ruby
parzzix has joined #ruby
hwrd has joined #ruby
g_sg has joined #ruby
johnhamelink has joined #ruby
eax_ has joined #ruby
tsujp has joined #ruby
jmcantrell has joined #ruby
whereiseveryone has joined #ruby
slondr has joined #ruby
srushe has joined #ruby
alexisg has joined #ruby
Bounga has joined #ruby
matta has joined #ruby
meimei has quit [Ping timeout: 252 seconds]
quintasan has joined #ruby
lucerne has joined #ruby
lucerne has quit [Max SendQ exceeded]
meimei has joined #ruby
lucerne has joined #ruby
pounce has quit [Ping timeout: 258 seconds]
pounce has joined #ruby
dalan0382283 has quit [Quit: dalan0382283]
raz3time has joined #ruby
dalan0382283 has joined #ruby
raz3time has quit [Ping timeout: 244 seconds]
dalan0382283 has quit [Client Quit]
dalan0382283 has joined #ruby
dalan0382283 has quit [Client Quit]
dalan0382283 has joined #ruby
brokkoli_origin has quit [Ping timeout: 252 seconds]
brokkoli_origin has joined #ruby
edr has joined #ruby
brokkoli_origin has quit [Ping timeout: 240 seconds]
brokkoli_origin has joined #ruby
user23 has joined #ruby
factor2 has joined #ruby
factor2 has quit [Ping timeout: 240 seconds]
TomyWork has quit [Remote host closed the connection]
raz3time has joined #ruby
factor2 has joined #ruby
factor2 has quit [Remote host closed the connection]
<desnudopenguino> anyone have any ideas why `bundle install` will work fine on one project on a server but will throw: "Network error while fetching https://rubygems.org/quick/Marshal.4.8/falcon-0.1.0.gemspec.rz (Failed to open TCP connection to rubygems.org:443 (execution expired))" on a different project
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
hightower2 has quit [Ping timeout: 260 seconds]
brokkoli_origin has quit [Ping timeout: 255 seconds]
<adam12> desnudopenguino: Same server for both projects?
hiyori has quit [Quit: Client closed]
graywolf has joined #ruby
hightower2 has joined #ruby
raz3time has quit [Quit: Leaving]
Malin has joined #ruby
<ox1eef_> o/ adam12
<adam12> ox1eef_: good morning! how goes
<adam12> I spent last week building a patio and _most_ of a deck. Very sore this morning as I get back into working.
<adam12> Need to install deck boards still, and the skirting around the side to keep the animals out.
<ox1eef_> Sounds nice. Especially for the warmer weather.
<ox1eef_> And goes alright. There's a heat wave here. Not that comfortable w/o AC.
<adam12> Wow, heat wave? I have had AC off for a few weeks now.
<adam12> It's been nice to work outside because it hasn't been a scorcher, tho last week sun was hot if you were directly in it.
<ox1eef_> 36C-38C here. -_-
constxqt has joined #ruby
<desnudopenguino> adam12: yep same server.
<desnudopenguino> and i'm able to install gems via cli with no issue
xmachina has quit [Quit: WeeChat 4.0.4]
brokkoli_origin has joined #ruby
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
xmachina has joined #ruby
goldfish has joined #ruby
joast has joined #ruby
user23 has quit [Remote host closed the connection]
_ht has joined #ruby
seydar has joined #ruby
<seydar> everyone is talking about and doing async/await stuff
<seydar> but it's just ruby fibers
<seydar> when i look at async code in python, it's LITTERED with async/await keywords. is MRI just magically better, or are we doing everything improperly?
<havenwood> seydar: The former. Ioquatix made Async in Ruby magically better.
graywolf has quit [Quit: WeeChat 4.0.4]
<havenwood> "It's my belief that you should not need to rewrite code at all. Scalability should be a property of the runtime system, not your application code." -Ioquatix
<havenwood> Check out talks like this one. https://www.youtube.com/watch?v=Y29SSOS4UOc
<havenwood> There's a RubyKaigi talk where Ioquatix explicitly talks about async/await and why he made Async the way it is.
<havenwood> seydar: Ioquatix implemented a FiberScheduler interface and io-wait, etc, to Ruby so Fibers can use Epoll/Kqueue, etc under the hood while they suspend for I/O.
mweckbecker has quit [Quit: leaving]
<havenwood> You can use a gem like FiberScheduler directly or Async ships with additional helpful functionality to let you orchestrate Sync and Async code and has things like Semaphores, etc, that end up being helpful.
<havenwood> Older Ioquatix RubyKaigi talks discuss *why* it's designed the way it is and newer ones show off all the practical, production ready code using the FiberScheduler already.
<weaksauce> what a beauty of a system
Vonter has quit [Ping timeout: 246 seconds]
<adam12> ox1eef_: Wow that's crazy.
<adam12> desnudopenguino: That's truely bizarre. Anything in `gem env` that might show a hint? What platform is this?
Vonter has joined #ruby
<adam12> seydar: You should look at Polyphony too, which creatively monkeypatches some bits to make the async/await incredibly seamless. I'm not a big fan of monkeypatching, but it's interesting to see what's possible.
<desnudopenguino> adam12: nothing in there seems off to me, i'm running on FreeBSD. have the same project running on a different server as well (same platform). i'm running through the same initialization of creating a project and adding deps with bundle, to see if there is something off there, maybe a different version of something got set somewhere?
<adam12> desnudopenguino: Can you `curl` or `fetch` that URL manually?
<desnudopenguino> i can!
<weaksauce> desnudopenguino try using verbose mode when bundling
<adam12> O_o I figured you tested that first but worth a shot :P
<desnudopenguino> running through with `bundle init` and `bundle add ...` for the dependencies. it worked fine there...
<adam12> What version of bundler? Can you update?
<desnudopenguino> sometimes i don't test the obvious
<desnudopenguino> :p
<desnudopenguino> 2.4.19
<adam12> Hmmm.
<desnudopenguino> and it's the same across hosts
<desnudopenguino> very strange
<weaksauce> desnudopenguino did you try --verbose?
<seydar> havenwood, adam12: thank you! i'll watch the talk and look into polyphony
<seydar> i still just get the feeling like i should be explicitly using fibers more than i do
<desnudopenguino> wait... i'm an idiot i created the new dir and ran the bundle commands on my localhost, *facepalm* not on the remote host that is having the trouble
<adam12> Hehe
<adam12> seydar: I looked at them a long time ago and they were harder to use. They are definitely a lot better now.
<desnudopenguino> Found changes from the lockfile, re-resolving dependencies because the dependencies in your gemfile changed, you added a new platform to your gemfile
<desnudopenguino> HTTP GET https://index.rubygems.org/versions
<desnudopenguino> Net::OpenTimeout: Failed to open TCP connection to index.rubygems.org:443 (execution expired)
<desnudopenguino> so that's at the top of bundle install --verbose
<desnudopenguino> i can curl https://index.rubygems.org/versions and it spits out a huge list of gems
mweckbecker has joined #ruby
<weaksauce> what version of ruby?
<weaksauce> could be something to do with ssl
Malin has quit [Quit: The Lounge - https://thelounge.chat]
<desnudopenguino> ruby 3.2.2
<desnudopenguino> is there something ruby would need in this case concerning ssl?
<desnudopenguino> i checked the date and time on the server and it appears to be correct for the timezone it's in (with correct TZ as well)
<weaksauce> yeah no idea then
seydar has quit [Ping timeout: 240 seconds]
xmachina has quit [Ping timeout: 240 seconds]
<desnudopenguino> oh, progress, i bumped the timeout to 60s using `bundle config timeout 60` thinking the connection is a bit slow, it's on a cheap vps instance on vultr
<desnudopenguino> things are installing
<desnudopenguino> you'd think out on a vps things would be faster than on my crappy home network where i have my server connected over one of those network over power things that's like a decade old now
<adam12> What region?
<desnudopenguino> US west coast
<adam12> If that's the cheapest Vultr instance that's not IPv6 only, I remember seeing them on the do-not-use list of some software because they underperform. I use them sometimes and haven't noticed it, but worth considering. (The $5/mo ones)
<adam12> Must be really bad tho. Maybe you've been sent to the wrong Fastly POP
<desnudopenguino> i'll deal if that's the case for now, it's just a little remote place to play around for now, nothing in production there yet
seydar has joined #ruby
xmachina has joined #ruby
shokohsc510817 has joined #ruby
shokohsc51081 has quit [Ping timeout: 240 seconds]
shokohsc510817 is now known as shokohsc51081
<desnudopenguino> thank you all for being my rubber ducky while figuring this out :)
reset has joined #ruby
<adam12> desnudopenguino: cheers.
CrazyEddy has joined #ruby
xmachina has quit [Quit: WeeChat 4.0.4]
_ht has quit [Quit: _ht]
willfish has quit [Ping timeout: 240 seconds]
keb has joined #ruby
caedmon has joined #ruby
seydar has quit [Ping timeout: 244 seconds]
goldfish has quit [Read error: Connection reset by peer]
goldfish has joined #ruby
constxqt has quit [Ping timeout: 260 seconds]
keb has quit [Quit: Leaving]
otisolsen70 has quit [Quit: Leaving]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
John_Ivan has joined #ruby
brw has quit [Quit: The Lounge - https://thelounge.chat]
brw has joined #ruby
<havenwood> Using Fibers directly is still as obtuse as it once was. The new `Fiber.schedule do` blocks are really a total abstraction layer separate from Fibers that happen to use Fibers under the hood. https://docs.ruby-lang.org/en/3.2/Fiber.html#method-c-schedule
<havenwood> Just like Enumerator uses Fiber under the hood, but Ioquatix named it `Fiber.schedule do` rather than `Async do` (which he does in his own gem, that uses Fiber.schedule under the hood).
<havenwood> If you want to use `Fiber.schedule do` yourself, the FiberScheduler gem works well. I just use Async libraries, but more and more standard DB adapters, Redis, etc, support it out of the box when you use Async or Fiber.schedule.