havenwood changed the topic of #ruby to: Ruby 3.4.5, 3.3.9, 3.5.0-preview1 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
pages has joined #ruby
jmcantrell has quit [Ping timeout: 260 seconds]
jmcantrell has joined #ruby
flurp has joined #ruby
jmcantrell has quit [Client Quit]
CRISPR has joined #ruby
jmcantrell has joined #ruby
<o0x1eef> Uploading 4000 files to openai, roughly 1 file per second, and with random errors in between that add a delay of 10 seconds every time they happen. :)
<o0x1eef> This is a problem where concurrency will help and that should be fun
CRISPR has quit [Ping timeout: 272 seconds]
<The_Camel> hello.
szkl has quit [Quit: Connection closed for inactivity]
cappy has joined #ruby
<o0x1eef> Hey
inline has quit [Quit: Leaving]
<The_Camel> o0x1eef, been a while. how've you been?
<o0x1eef> Always a good day when I get to write some code that uses each_slice + fork. :)
<The_Camel> I see.
<o0x1eef> On the other hand, when I replace fork with threads, I seem to hit a race condition within Net::HTTP. So I'll have to dig deeper as well.
<The_Camel> o0x1eef, I advanced my chinese. brought it up to HSK-2.
<o0x1eef> What's that
<The_Camel> o0x1eef, profficiency test for the chinese language. analogous to JLPT.
<o0x1eef> That's cool. Why chinese?
<The_Camel> o0x1eef, because after japanese, chinese is the next coolest language to learn. :)
<o0x1eef> I like Persian poetry
<o0x1eef> The sound of it
<The_Camel> haven't heard that one.
<o0x1eef> Never heard Rumi?
<The_Camel> afraid not.
<o0x1eef> That's your next google search then :)
<The_Camel> o0x1eef, had a quick read of it.
hololeap has joined #ruby
<The_Camel> o0x1eef, you're an atheist right?
<o0x1eef> Nope
<o0x1eef> I'm Muslim
<The_Camel> o0x1eef, huh. never knew.
<The_Camel> o0x1eef, real strange how, we've been acquainted for around 3 years and I only found out now.
<The_Camel> I see.
<o0x1eef> On IRC we're just words on a screen.
<The_Camel> o0x1eef, are you familiar with the Al-Wajid Al-Wujud?
<The_Camel> Probably spelt that wrong. Al-Wajib Al-Wujud
sleetdro- has joined #ruby
<o0x1eef> Nope. I'm not familiar with that. But let's keep it related to Ruby. If you want, we can discuss that in #ruby-offtopic.
<The_Camel> will do
sleetdrop has quit [Ping timeout: 252 seconds]
cappy has left #ruby [Leaving]
mange has joined #ruby
The_Camel has quit [Ping timeout: 252 seconds]
grenierm has joined #ruby
pastelowl has quit [Quit: WeeChat 4.7.0]
grenierm has quit [Quit: Client closed]
jmcantrell has quit [Ping timeout: 252 seconds]
axsuul has quit [Quit: 👋]
axsuul has joined #ruby
infinityfye has joined #ruby
pages has quit [Quit: ZNC - https://znc.in]
pages has joined #ruby
flurp has quit [Quit: The Lounge - https://thelounge.chat]
schne1der has joined #ruby
Quiet-Oil9262 has quit [Quit: The Lounge - https://thelounge.chat]
Quiet-Oil9262 has joined #ruby
inline has joined #ruby
Quiet-Oil9262 has quit [Quit: The Lounge - https://thelounge.chat]
Quiet-Oil9262 has joined #ruby
Quiet-Oil9262 has quit [Quit: The Lounge - https://thelounge.chat]
Quiet-Oil9262 has joined #ruby
nirvdrum7410 has quit [Ping timeout: 272 seconds]
schne1der has quit [Quit: schne1der]
llua has quit [Quit: <Rudolph> shell code is what greycat reads to kids when he tucks them in]
llua has joined #ruby
Quiet-Oil9262 has quit [Quit: The Lounge - https://thelounge.chat]
Quiet-Oil9262 has joined #ruby
jankasi has quit [Ping timeout: 248 seconds]
infinityfye has quit [Killed (NickServ (GHOST command used by infinityfye__))]
infinityfye__ has joined #ruby
infinityfye__ is now known as infinityfye
Vaevictus has joined #ruby
<Vaevictus> i'm wanting to set up a webserver (apache/nginx maybe) to host multiple sites each running, potentially, a distinct ruby version and gemset... what's the current best solution for this?
mange has quit [Quit: Zzz...]
<Vaevictus> puma ? passenger? unicorn ? rainbows!?
svm is now known as msv
<adam12> Vaevictus: No "best" solution, tho the path best travelled is going to be either apache/nginx/caddy + puma, or apache/nginx + mod_passenger.
<Vaevictus> been half a decade since i messed with anything
<adam12> Vaevictus: No unicorn or rainbows. Both considered dead by their author.
<adam12> I'd say it's going to matter with how you want to run them. If you like the idea of scaling down to 0, mod_passenger can't be beat, but the operation is slightly different since mod_passenger starts your processes.
<adam12> Using puma with some proxy in front is what probably a good portion of the ruby world is using so it's a well travelled path if you needed answers.
<adam12> Caddy is nice for many things but one specifically is dead-simple TLS certificates, and a handful of lines to reverse proxy.
<adam12> I'd probably recommend Caddy + Puma if you don't need scale to zero. If traffic is low and you're worried about RAM, nginx+passenger.
<Vaevictus> not sure what scale to zero is anyway :D
<Vaevictus> oh, i see
<Vaevictus> no, running on local infrastructure that's beefy, so that's not a concern
<adam12> I'd do Caddy + Puma then, for sure.
<adam12> or look into Kamal.
<Vaevictus> since i'm old, i've got enough experience with apache to figure this out, would it be best to just puma and use the existing webservers to proxy that?
<Vaevictus> i guess it probably doesn't matter either way.
<adam12> Vaevictus: If you want. The webserver proxy really doesn't matter.
<Vaevictus> yeah. :D
<adam12> Apache has mod_md.
<adam12> I'm just saying, TLS certificates with certbot + restarting server is always super brittle. Caddy just does it, and you don't have to think about it.
<adam12> For many people, that's a win.
<Vaevictus> gotcha
<Vaevictus> naw, that's not a concern.
<Vaevictus> I'm old.
<Vaevictus> :D
<adam12> I hear ya, friend.
<Vaevictus> hell, when i started unix work professionally, freebsd 2.2.6 was out and linux only had redhat and slackware as options, i think :D
<Vaevictus> and debian probably, but it was even scarier back then ^_^
<adam12> I installed Slackware from like 14 floppies O_O. That I downloaded via my 14.4 modem from Walnut Creek. Using Lynx...
<Vaevictus> nice.
<adam12> Great times. Simpler times...
<Vaevictus> i once had a 14.4 modem plugged into a cellular bag phone to dial into America online across state lines to abuse "free long distance"
<adam12> Hah.
<Vaevictus> configured by JUMPERS.
<Vaevictus> the way it should be!
<Vaevictus> ;)
<Vaevictus> shakes fist at cloud
<adam12> My area had this dumb thing where between 2 cities it was long distance, but I was only about 100 yards from that city. It made calling other BBSs long distance which was annoying.
<adam12> But one city was local to both me and that city. There was a PBX we found that we could dial in and then get an outbound dialtone.
<Vaevictus> very nice
<adam12> Made for an interesting dialing sequence, having to add in the IVR prompts, then a bunch of pauses, etc. Like 50 characters typed into bananacom.
<adam12> Anyways. Old people problems.
<Vaevictus> when I got to college, i had the most elite setup: a 75' long cat5 null modem cable stretched across three doorm rooms (out the windows) so me and my buddy could play doom2 networked
<adam12> That's awesome.
<Vaevictus> yeah, we didn't have nics or know how to use them yet, i suppose
<Vaevictus> powers that be did question us about it, but they were appeased by "it's low voltage - data"
<adam12> I had a buddy who did the first cable modem (first high speed internet other than T1/etc) installs and he'd source me lots of stuff. I had dozens of 10/100 NICs.
<adam12> And one day I asked for enough cable to make a large crossover cable and as I looked outside, I saw him running down the street, hanging onto the end of some CAT5, pulling it out of the box on his work fan. I had a 300 foot crossover cable.
<adam12> In hindsight, it was probably shit because of the length, but at 10/100 it worked OK that I remember.
<adam12> Everything seems so easy now in comparison - not having to fuck around with shitty wifi cards, etc.
<Vaevictus> probably near attenuation but meh. :D
<Vaevictus> if it works it works (TM)
<Vaevictus> had a conversation with a nurse just two days ago ... talking about giving laptops to everyone in the clinic ... and i said, first " Well, there's the fact that wifi *always* sucks . "
<adam12> I still LAN 1-2 times a year with the old crew. We have one coming up in October. Too much CS 1.6, a lot of UT2004, Quake 2, Quake 3, etc. Some AoE2.
<Vaevictus> peak Counterstrike. nice.
<adam12> I have an era-appropriate machine for the LAN tho, which helps run the old games.
<Vaevictus> would take a break right now for some awp_l33tsk33t
<adam12> And no wifi. Has to be wired.
<Vaevictus> actually, my fav of the time was awp_rooftops :D
<adam12> Ooh. I don't know that map, I don't think. We play the Italy one, the one that's in the ocean?, and randomly, starwars.
<adam12> Oh. I've never played rooftops either. Interesting.
<adam12> dust2 we play a lot of.
<Vaevictus> leetskeet is dumb, but fun. one team is put into a cage with no knife just awps. the other team is dropped into a machine that launches them across the map like skeet
<Vaevictus> it's possible to win as the skeet team by evading and getting to the cage alive :D
<adam12> some de_aztec.
<adam12> Vaevictus: Sounds like fun.
<Vaevictus> rooftops is just a vs map with a nice feel (along the rooftops)
<adam12> Anyways, back to work for me, or I'd be geeking out all day.
<adam12> Good luck with deployments.
<Vaevictus> https://www.youtube.com/watch?v=G_R6Jt90_RQ <-- potato quality but...
<Vaevictus> thanks for all the help :D
user71 has joined #ruby
brokkoli_origin has quit [Ping timeout: 245 seconds]
brokkoli_origin has joined #ruby
_whitelogger has joined #ruby
brokkoli_origin has quit [Ping timeout: 255 seconds]
Rounin has quit [Remote host closed the connection]
jmcantrell has joined #ruby
brokkoli_origin has joined #ruby
Rounin has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
<havenwood> Vaevictus: That's ^ mruby, embedded in NGINX. For real Ruby, take a look at Falcon and Itsi.
<havenwood> https://itsi.fyi
<havenwood> Itsi is rather new. Falcon is by the Ruby Core maintainer of Fibers and author of the Ruby 3 Fiber scheduler, etc.
johnjaye has quit [Read error: Connection reset by peer]
johnjaye has joined #ruby
oznek has joined #ruby
oznek has quit [Client Quit]
johnjaye has quit [Ping timeout: 260 seconds]
jankasi has joined #ruby
jankasi has quit [Ping timeout: 248 seconds]
<havenwood> Iodine and Rage are other options.
brokkoli_origin has quit [Ping timeout: 255 seconds]
brokkoli_origin has joined #ruby
___nick___ has joined #ruby
The_Camel has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
johnjaye has joined #ruby
___nick___ has quit [Ping timeout: 248 seconds]
jankasi has joined #ruby
jankasi has quit [Read error: Connection reset by peer]
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 255 seconds]
<nakilon> weird, Time.parse in MRI is like hundreds times faster than in truffleruby
___nick___ has joined #ruby
rvalue- is now known as rvalue
Axenntio has joined #ruby
Axenntio has quit [Remote host closed the connection]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
cappy has joined #ruby
andy-turner has joined #ruby
andy-turner has quit [Remote host closed the connection]
andy-turner has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
andy-turner has quit [Client Quit]
chair1 has joined #ruby
chair16 has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
chair1 has quit [Ping timeout: 250 seconds]
chair16 is now known as chair1
chair66 has joined #ruby
chair1 has quit [Ping timeout: 250 seconds]
chair66 is now known as chair1
finsternis has quit [Read error: Connection reset by peer]
chair1 has quit [Quit: Client closed]
brokkoli_origin has quit [Ping timeout: 260 seconds]
infinityfye has quit [Read error: Connection reset by peer]
brokkoli_origin has joined #ruby
sh7d has joined #ruby
pastelowl has joined #ruby