havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.0, 2.6.5, 2.5.7: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
pisculichi has quit [Quit: leaving]
phaul has quit [Ping timeout: 272 seconds]
fphilipe has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Guest7892 has joined #ruby
jenrzzz has joined #ruby
davidw has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
leitz has quit [Quit: Leaving]
fphilipe has quit [Ping timeout: 272 seconds]
blackmesa has quit [Quit: WeeChat 2.7]
tau is now known as tau\off
olddogbarks has joined #ruby
ur5us has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
Guest7892 has quit [Ping timeout: 240 seconds]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs1 has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Quit: Lost terminal]
jenrzzz has joined #ruby
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
postmodern has joined #ruby
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
olddogbarks has quit [Quit: ZZZzzz…]
Guest51 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
olddogbarks has joined #ruby
davidw has quit [Ping timeout: 272 seconds]
drincruz_ has quit [Ping timeout: 240 seconds]
_phaul has quit [Ping timeout: 260 seconds]
nofxx has quit [Quit: Leaving]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
wildtrees has quit [Quit: Leaving]
dasher00 has joined #ruby
priodev has quit [Ping timeout: 260 seconds]
ltp has quit [Ping timeout: 268 seconds]
priodev has joined #ruby
ltp has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has joined #ruby
cthulchu has quit [Ping timeout: 268 seconds]
TCZ is now known as valarray
priodev has quit [Ping timeout: 240 seconds]
priodev has joined #ruby
LtHummus has quit [Ping timeout: 240 seconds]
tau\off is now known as tau
Azure has joined #ruby
pwnd_nsfw` has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
olddogbarks has quit [Quit: ZZZzzz…]
drincruz_ has joined #ruby
buckworst has joined #ruby
fphilipe has quit [Ping timeout: 272 seconds]
buckworst has quit [Client Quit]
lucasb has quit [Quit: Connection closed for inactivity]
buckworst has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
turbo_choo has joined #ruby
ftj has joined #ruby
ftj has quit [Client Quit]
ftj has joined #ruby
ftj has quit [Client Quit]
ftj has joined #ruby
ftj has quit [Client Quit]
dviola has quit [Quit: WeeChat 2.7]
ftj has joined #ruby
galaxie has joined #ruby
ftj has quit [Client Quit]
fratis has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
dasher00 has quit [Ping timeout: 260 seconds]
fratis has quit [Read error: Connection reset by peer]
valarray has quit [Quit: Bye Bye]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
dinfuehr has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
LtHummus has joined #ruby
splud_wurk has quit [Quit: splud_wurk]
alexherbo2 has quit [Ping timeout: 272 seconds]
cthulchu_ has joined #ruby
olddogbarks has joined #ruby
duderonomy has joined #ruby
olddogbarks has quit [Client Quit]
olddogbarks has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
drincruz_ has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
cthulchu_ has quit [Ping timeout: 240 seconds]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
sergioro has joined #ruby
ttoocs has joined #ruby
fphilipe has joined #ruby
code_zombie has joined #ruby
fphilipe has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
PuercoPope has joined #ruby
_whitelogger has joined #ruby
coffeex3 has quit [Ping timeout: 272 seconds]
gix- has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby
klaas_ has joined #ruby
m17 has quit [Ping timeout: 240 seconds]
m17 has joined #ruby
klaas has quit [Ping timeout: 240 seconds]
gix has joined #ruby
nofxx has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
turbo_choo has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
Swyper has joined #ruby
s3nd1v0g1us has quit [Quit: WeeChat 2.6]
drincruz_ has quit [Ping timeout: 260 seconds]
Swyper has quit []
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has quit [Remote host closed the connection]
kapil_ has joined #ruby
olddogbarks has quit [Quit: ZZZzzz…]
tpanarch1st has quit [Ping timeout: 255 seconds]
alfiemax has joined #ruby
nofxx has joined #ruby
turbo_choo has joined #ruby
gix has quit [Ping timeout: 265 seconds]
fphilipe has joined #ruby
Intelo_ has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has joined #ruby
jenrzzz has joined #ruby
sauvin has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
threwahway has joined #ruby
<threwahway> when i bundler install it says Using i18n 0.9.5 but when i jekyll serve --watch bunder/runtime.rb says "you already activated i18n 1.7.0 but your gemfile requires 0.9.5" :(
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest51 has joined #ruby
alfiemax has quit [Remote host closed the connection]
code_zombie has quit [Quit: Leaving]
conta has joined #ruby
alfiemax has joined #ruby
darkstardevx has quit [Ping timeout: 240 seconds]
darkstardev13 has quit [Ping timeout: 260 seconds]
prestorium has joined #ruby
fercell has joined #ruby
conta has quit [Quit: conta]
darkstardevx has joined #ruby
darkstardev13 has joined #ruby
fig-le-deunch has joined #ruby
conta has joined #ruby
TomyWork has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
akemhp has quit [Ping timeout: 272 seconds]
klaas_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
klaas has joined #ruby
vondruch has joined #ruby
nofxx has quit [Remote host closed the connection]
Guest51 has quit [Quit: Textual IRC Client: www.textualapp.com]
pama has joined #ruby
pama has quit [Client Quit]
pama has joined #ruby
jenrzzz has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
ldepandis has joined #ruby
conta has quit [Quit: conta]
nofxx has joined #ruby
howdoi has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
FuraiTHD has quit [Quit: WeeChat 2.7]
Furai has joined #ruby
schne1der has joined #ruby
Mrgoose845701915 has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
Batisi[m] has quit [Quit: killed]
scipio_africanu4 has quit [Quit: killed]
thebananaking has quit [Quit: Connection closed for inactivity]
mikecmpbll has joined #ruby
teclator has joined #ruby
snickers has joined #ruby
turbo_choo has quit [Remote host closed the connection]
dionysus69 has joined #ruby
mistergibson[m] has joined #ruby
fphilipe has quit [Ping timeout: 246 seconds]
Guest7892 has joined #ruby
akemhp has joined #ruby
Fernando-Basso has joined #ruby
stdedos has joined #ruby
alfiemax has quit [Remote host closed the connection]
<stdedos> However, it does not work with Net::HTTP functions. It's my first monkeypatch, so, what am I missing?
turt2live has joined #ruby
linuus[m] has joined #ruby
scipio_africanu4 has joined #ruby
qbrd[m] has joined #ruby
execat[m] has joined #ruby
kp666[m] has joined #ruby
sepp2k has joined #ruby
Batisi[m] has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitz has joined #ruby
fanta1 has joined #ruby
sergioro has quit [Quit: leaving]
chalkmonster has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
fphilipe has joined #ruby
royal_screwup21 has joined #ruby
pwnd_nsfw has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
alfiemax has joined #ruby
buckworst has quit [Quit: WeeChat 2.7]
fphilipe has quit [Ping timeout: 248 seconds]
royal_screwup21 has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
royal_screwup21 has joined #ruby
kapil_ has quit [Quit: Connection closed for inactivity]
bukkitgerman8 has quit [Quit: Du Mongo]
x0n has joined #ruby
kinduff has joined #ruby
kinduff has quit [Changing host]
kinduff has joined #ruby
clemens3 has joined #ruby
chalkmonster has quit [Ping timeout: 265 seconds]
chalkmonster has joined #ruby
<leitz> adam12, you awake?
alexherbo2 has joined #ruby
_phaul has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
ldepandis has quit [Remote host closed the connection]
darkstardevx has quit [Ping timeout: 260 seconds]
darkstardev13 has quit [Ping timeout: 260 seconds]
fphilipe has joined #ruby
darkstardevx has joined #ruby
ellcs1 has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
bukkitgerman8 has joined #ruby
schne1der has quit [Remote host closed the connection]
schne1der has joined #ruby
akemhp has joined #ruby
darkstardev13 has joined #ruby
<kinduff> morning everyone
<leitz> Morning kinduff!
<leitz> adam12, if you get a chance, can you let me know if this is a reasonable understanding of your recommendations on the Adapter pattern? I'm finally making time to wrap my head around it. https://github.com/makhidkarun/ftl_tools/blob/integrating_adapter/lib/ftl_tools/character_builder.rb#L50-L62
alexherbo2 has quit [Ping timeout: 272 seconds]
akemhp has quit [Quit: Leaving]
alexherbo2 has joined #ruby
fanta1 has quit [Quit: fanta1]
jenrzzz has joined #ruby
alfiemax has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Guest7892 has quit [Quit: Leaving]
burningserenity has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
snickers has quit [Quit: Textual IRC Client: www.textualapp.com]
phaul has joined #ruby
_phaul has quit [Ping timeout: 268 seconds]
drincruz_ has joined #ruby
Ytrezar has joined #ruby
alfiemax has quit [Remote host closed the connection]
xco has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
akemhp has joined #ruby
olddogbarks has joined #ruby
lucasb has joined #ruby
olddogbarks has quit [Client Quit]
dnadev2 has joined #ruby
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
minall has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7]
olddogbarks has joined #ruby
conta1 has joined #ruby
tau has quit [Remote host closed the connection]
chalkmonster has joined #ruby
alexherbo2 has joined #ruby
Swyper has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
alexherbo2 has quit [Client Quit]
dnadev2 has quit [Quit: Leaving]
phaul has quit [Ping timeout: 272 seconds]
cisco has joined #ruby
m_antis has joined #ruby
<adam12> leitz: Looks OK to me at a cursory glance.
jcalla has joined #ruby
splud_wurk has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<stdedos> However, it does not work with Net::HTTP functions. It's my first monkeypatch, so, what am I missing?
TCZ has joined #ruby
john2496 has joined #ruby
codefriar has quit [Ping timeout: 272 seconds]
drincruz_ has joined #ruby
codefriar has joined #ruby
m_antis has quit [Quit: m_antis]
MrCrackPot has joined #ruby
openstruct has joined #ruby
<openstruct> I'm playing around with Net::HTTP. When I open a connection via `.new` then `.start`, what determines the amount between the last request and when the TCP connection moves into a CLOSE_WAIT state?
<openstruct> Is that Ruby's GC?
ellcs1 has quit [Ping timeout: 240 seconds]
ellcs1 has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
Swyper has quit [Remote host closed the connection]
<leitz> adam12, thanks!
ellcs1 has quit [Ping timeout: 248 seconds]
akemhp has quit [Ping timeout: 272 seconds]
duderonomy has joined #ruby
jenrzzz has joined #ruby
alexherbo2 has joined #ruby
pinpox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
pinpox has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
fercell has quit [Quit: WeeChat 2.7]
MrCrackPot has quit [Ping timeout: 240 seconds]
TomyWork has quit [Remote host closed the connection]
ttoocs has quit [Ping timeout: 272 seconds]
ellcs1 has joined #ruby
conta1 has quit [Quit: conta1]
markopasha has joined #ruby
kinduff has quit [Quit: Leaving]
kinduff has joined #ruby
kinduff has joined #ruby
kinduff has quit [Changing host]
TCZ has quit [Quit: Bye Bye]
prestorium has quit [Quit: prestorium]
greengriminal has joined #ruby
kapil_ has joined #ruby
codefriar has quit [Ping timeout: 268 seconds]
fercell has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
clemens3 has quit [Ping timeout: 265 seconds]
millerti has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 260 seconds]
Swyper has joined #ruby
cisco has quit [Ping timeout: 240 seconds]
cisco has joined #ruby
cisco is now known as Guest13027
Deesl has joined #ruby
Intelo_ has quit [Ping timeout: 268 seconds]
Guest13027 has quit [Ping timeout: 246 seconds]
openstruct has quit [Quit: WeeChat 2.4]
cisco_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
akemhp has joined #ruby
m_antis has joined #ruby
Swyper has quit [Remote host closed the connection]
citizentwo has quit [Ping timeout: 240 seconds]
citizentwo has joined #ruby
gix has joined #ruby
Swyper has joined #ruby
markopasha has quit [Ping timeout: 265 seconds]
cisco_ has quit [Quit: leaving]
m_antis has quit [Quit: m_antis]
Intelo_ has joined #ruby
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
kinduff has quit [Remote host closed the connection]
pr0ton has joined #ruby
Kilo`byte has joined #ruby
Intelo_ has quit [Ping timeout: 260 seconds]
pr0ton has quit [Quit: pr0ton]
m_antis has joined #ruby
cthulchu_ has joined #ruby
Swyper has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.7]
citizentwo has quit [Remote host closed the connection]
minall has quit [Quit: minall]
citizentwo has joined #ruby
kristian_on_linu has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
coffeex3 has joined #ruby
m_antis has quit [Quit: m_antis]
minall has joined #ruby
schne1der has quit [Quit: schne1der]
LtHummus has quit [Ping timeout: 272 seconds]
LtHummus has joined #ruby
schne1der has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
fphilipe has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
wildtrees has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kristian_on_linu has quit [Remote host closed the connection]
Kilo`byte has joined #ruby
Intelo_ has joined #ruby
Fernando-Basso has joined #ruby
<threwahway> jesus christ ruby is such a pile of shit lmao
threwahway has left #ruby ["Leaving"]
<al2o3-cr> what a nice young man
<havenwood> Happy Valentine's Day, Ruby! <3
<havenwood> al2o3-cr: They were trying to launch a Jekyll blog with a version of i18n that's higher than any version that's been released. How dare Ruby?!
<al2o3-cr> oh, dear.
schne1der has quit [Ping timeout: 272 seconds]
<al2o3-cr> havenwood: have you dabbled with sorbet?
<havenwood> al2o3-cr: yes
<al2o3-cr> how'd you find it?
<havenwood> C++
<havenwood> :P
<adam12> facepalm.gif
<al2o3-cr> :P
Intelo_ has quit [Ping timeout: 265 seconds]
<havenwood> al2o3-cr: We use a full set of Ruby, so Sorbet isn't a great match. For folk targeting its subset of Ruby, it looks nice.
fphilipe has joined #ruby
<al2o3-cr> been testing it out, seems not to bad tbh
<havenwood> al2o3-cr: Soutaro's recent demos of Steep are actually really exciting to me. Soutaro is doing ruby/ruby-signature and Steep, which is both written in Ruby and support Ruby. It's not as far along as Steep and isn't used in production (yet).
<havenwood> al2o3-cr: https://github.com/soutaro/steep
<al2o3-cr> ah, i'll have a ganders at this. didn't realise
<havenwood> al2o3-cr: This is the other one to watch: https://github.com/mame/ruby-type-profiler
<havenwood> (It doesn't require annotation at all.)
<al2o3-cr> havenwood: awesome.
sauvin has quit [Read error: Connection reset by peer]
<al2o3-cr> havenwood: do you know if any of these will be accustomed with ruby 3?
<havenwood> al2o3-cr: Soutaro is giving a keynote at RubyKaigi. ;)
sagax has quit [Ping timeout: 268 seconds]
bvdw has quit [Read error: Connection reset by peer]
<al2o3-cr> havenwood: oh, ok. i'll keep watch ;)
<havenwood> al2o3-cr: Ah, it's 2020 now. Here's last year's RubyKaigi: https://rubykaigi.org/2019/presentations/soutaro.html
bvdw has joined #ruby
<havenwood> 2020 Kaigi: https://rubykaigi.org/2020
<havenwood> Tickets still available!
<al2o3-cr> yeah, i've watched that :)
Ai9zO5AP has joined #ruby
<al2o3-cr> havenwood: anyway of getting an array of arguments when using the ... syntax easily?
<al2o3-cr> or is this not possible?
<havenwood> al2o3-cr: not possible
<havenwood> al2o3-cr: the ... syntax doesn't feel fully baked to me
ExoUNX has joined #ruby
<havenwood> al2o3-cr: it's really a pass-through feature
<ExoUNX> greetings :D
<havenwood> ExoUNX: hi!
<al2o3-cr> ah, ok.
<havenwood> al2o3-cr: it's currently ... only, alone, meant to be passed on
<al2o3-cr> havenwood: i've not test but can you pass ... to block args?
<al2o3-cr> *tested
<ExoUNX> this will be loaded question so be gentle please ;)
LtHummus_ has joined #ruby
<al2o3-cr> ExoUNX: o/
<al2o3-cr> ExoUNX: we'll be gentle :)
<ExoUNX> I'm coming from php (laravel) and python (django) so I have pretty good idea on the RoR concept. However I'm curious if there's a good guide/documentation on how to properly setup a RoR app (other than the codebase)
<al2o3-cr> havenwood: seems not, even with parens
<ExoUNX> so getting it ready for production
<ExoUNX> how it's web environment should be
<jhass> mh, I don't think there is because there's just so many variables to it, scale, platform, ops experience, opinions
LtHummus has quit [Ping timeout: 268 seconds]
<jhass> actual tech it uses, I probably can't even come up with all of them
<ExoUNX> right, I'll be using ansible to provision CentOS 8 LXC instances, no docker
badaircloger has quit [Read error: Connection reset by peer]
<ExoUNX> example I would use ansible to install php (and extensions), nginx, manage certs and configs
<ExoUNX> pretty simple and traditional in this case
<ExoUNX> once I get a good foundation on how to have secure and performant infrastructure for Ruby I can apply that elsewhere
<jhass> the biggest choice you can make in this case is probably the appserver to use, maybe how to install ruby
<havenwood> ExoUNX: You don't *need* NGINX with Ruby, but it's very popular to use it and just reverse proxy to your Ruby app.
<ExoUNX> yah, nginx isn't required for much but it's definitely goto reverse proxy
<jhass> going for a reverse proxy setup gives the app the freedom to choose the appserver and keep your scripts a bit more reusable probably
<ExoUNX> also it gives me good TLS management + TLS 1.3 :D
<jhass> honestly just find the in your opinion cleanest way to install the ruby version you need onto CentOS 8
<al2o3-cr> i always remember nginx as nix-ng (next-generation) don't ask me why :P
<jhass> everything else is running gem install bundler; bundle install --deployment; setup systemd service for appserver; setup reverse proxy
<jhass> and from then one you'll notice soon enough if there's something to tweak
<ExoUNX> yah, so does ruby use a process manager like Swoole or PM2 or something like php-fpm
alexherbo24 has joined #ruby
<jhass> there certainly is stuff but with systemd I say it's not needed
<ExoUNX> is it actually called "appserver?"
<al2o3-cr> havenwood: would you say to keep an eye on https://github.com/mame/ruby-type-profiler
<jhass> your appserver is just gonna be a dependency to your rails app and give you a bundle exec the_appserver some_socket_path
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo24 is now known as alexherbo2
<jhass> appserver examples and most popular being puma and unicorn
<jhass> but there's more
<ExoUNX> is there a good balance of ease, performance, and reliability
Ai9zO5AP has quit [Ping timeout: 246 seconds]
<jhass> which one suits best in the end tends to be quite specific to your workload but either will bring you a long way before you notice any differences
badaircloger has joined #ruby
<jhass> and swapping out is really easy usually
* al2o3-cr tries to find a solution to ...
<jhass> it's pretty well abstracted
<jhass> so what I'm trying to say I think is, don't worry too much at this stage :)
<jhass> pick something and go for it
<jhass> you might rather want to spend sometime on how to install ruby, especially on CentOS since the ruby ecosystem tends to like to stay on rather recent ruby versions
<ExoUNX> Puma is looking good
<jhass> so it might prove to be beneficial to your upgrade path to avoid the system package
<ExoUNX> well it's CentOS 8 so it should be more recent thankfully
<ExoUNX> but I know the pain using CentOS 7 for new php, python, and node apps lol
<jhass> hah, didn't see thoese yet
Ai9zO5AP has joined #ruby
duderono_ has joined #ruby
<jhass> you prefer those over brightbox now?
duderonomy has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
duderonomy has joined #ruby
<havenwood> jhass: they just do Ubuntu, afaik
<jhass> yeah, I mean for ubuntu of course
<jhass> since fullstaq seems to do both
<havenwood> <3 Jemalloc
<havenwood> jhass: Jemalloc plus Debian, RHEL and CentOS packages got me interested. I hope it progresses.
<jhass> cool :)
<jhass> yeah jemalloc is worth a lot indeed
<jhass> but I mean you can just preload it, no?
<adam12> Run FreeBSD and then you can have jemalloc all the time .. :)
<havenwood> jhass: yeah, totally, just more likely to not end up with it working and folk don't
duderono_ has quit [Ping timeout: 260 seconds]
<jhass> just checked, I run at least one app with LD_PRELOAD=/usr/lib/libjemalloc.so and already half-forgot that I do :D
<adam12> I wonder how much the landscape will change when Falcon becomes more host-it-all style (SSL termination, static files, etc). Comparable to when mod_rails launched?
coffeex3 has quit [Ping timeout: 272 seconds]
<jhass> you'd run that on port 443 directly?
<adam12> jhass: Possibly. One less piece.
<adam12> jhass: I already go non-traditional for most of my deploys where I run Caddy instead of nginx.
<jhass> dunno, HTTP parsing is hard and I'd rather not have my apps memory leaked...
<jhass> TLS termination is hard too
TCZ has joined #ruby
<jhass> and lastly there's also easier things than privelege dropping
<jhass> but I guess you could hook it up to systemd socket activation to avoid that one
<adam12> Can run it unpriv'd and masquerade the traffic too... but I agree it has it's warts.
<adam12> I've come to appreciate simplier, and not having nginx+some acme client in the mix as become very enjoyable.
<adam12> Ditching systemd has been quite nice too, but I built something for FreeBSD.
<jhass> I just have a central haproxy in front of the other VMs/containers/whatever for my personal setup
<jhass> one time setup
royal_screwup21 has joined #ruby
sagax has joined #ruby
<adam12> jhass: Do you terminate SSL on the haproxy instance?
<jhass> yeah
<jhass> since I own the VM host
<ExoUNX> thanks I'll take a look
<ExoUNX> I just want to make sure I do this as correctly as possibly given my requirements
<ExoUNX> and again if there's any good documentation or official guides I'd appreciate the share
lineus has quit [Ping timeout: 240 seconds]
olddogbarks has quit [Quit: ZZZzzz…]
xco has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
<al2o3-cr> havenwood: i've figured out a way, bit it's not pretty :(
cd has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
<al2o3-cr> &>> for assert, opt in pairs(require'socket':tcp():connect('127.1',9367):getoption('node-relay')) do if assert then print(opt) end end
<rubydoc> stderr: -e:4: syntax error, unexpected ':', expecting ')'... check link for more (https://carc.in/#/r/8k6m)
<al2o3-cr> oops, wrong buffer
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr> &>> def x(...) o = $>.dup; $>.reopen(File.new(IO::NULL,?w)); p(...); ensure; $>.reopen(o) end; x(1, [0,9,8], v=2, *{a: :b}, **{f:1}, x: :y, &->{})
<rubydoc> stderr: playpen: application terminated abnormally with signal 31 (Bad system call) (https://carc.in/#/r/8k6n)
<al2o3-cr> ah, should of known :P
SeepingN has joined #ruby
m_antis has joined #ruby
jenrzzz has joined #ruby
<al2o3-cr> lionel messi, i know
olddogbarks has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
<al2o3-cr> i forgot to close too :(
gigetoo has quit [Ping timeout: 240 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
gigetoo has joined #ruby
xco has joined #ruby
coffeex3 has joined #ruby
ur5us has joined #ruby
royal_screwup21 has joined #ruby
ur5us has quit [Quit: Leaving]
duderonomy has quit [Ping timeout: 265 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
m_antis has quit [Quit: m_antis]
lineus has joined #ruby
duderonomy has joined #ruby
phaul has joined #ruby
splud_wurk has quit [Quit: splud_wurk]
tpanarch1st has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
fercell has quit [Quit: WeeChat 2.7]
pinpox- has joined #ruby
pinpox has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
burningserenity has quit [Quit: Leaving.]
tau has joined #ruby
TorpedoSkyline has joined #ruby
fphilipe has quit [Ping timeout: 272 seconds]
citizentwo has quit [Remote host closed the connection]
fphilipe has joined #ruby
tau has quit [Quit: tau]
ExoUNX has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markopasha has joined #ruby
<wildtrees> if I am reading a file and appending/writing a file in sinatra from different routes using the default webbrick backend, do I need to implement some sort of locking or I may experiences races/failures? or does ruby handle that with files?
ur5us has joined #ruby
<adam12> wildtrees: Webrick is multi-threaded. I'd lock the file before writing, or handle it atomically somehow.
<adam12> wildtrees: You _might_ be protected by the GVL but I wouldn't rely on it.
citizentwo has joined #ruby
<wildtrees> whats GVL stand for? I have heard of GIL before in interpreters, global interpreter lock ?
<havenwood> wildtrees: Global VM Lock
<adam12> wildtrees: It's the same.
<havenwood> wildtrees: (VM instead of interpreter.)
citizentwo has quit [Ping timeout: 265 seconds]
impermanence has quit [Ping timeout: 272 seconds]
<al2o3-cr> what if matz done away with the lock? would everything be better or worse?
minall has quit [Quit: minall]
tau has joined #ruby
alexherbo2 has joined #ruby
ExoUNX has joined #ruby
alexherbo20 has joined #ruby
troulouliou_dev has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
ExoUNX has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has joined #ruby
ExoUNX has joined #ruby
ExoUNX has quit [Client Quit]
alexherbo20 has quit [Ping timeout: 272 seconds]
Fernando-Basso has quit [Quit: Leaving]
davispuh has joined #ruby
leitz has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 240 seconds]
olddogbarks has quit [Quit: I am functioning within established parameters.]
cc_ has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
citizentwo has joined #ruby
markopasha has quit [Ping timeout: 265 seconds]
<havenwood> al2o3-cr: single threaded code runs much slower with find grained checks
<al2o3-cr> havenwood: moar cores moar parallelism?
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr> running in a single core can be fast
<al2o3-cr> *will be faster
<al2o3-cr> havenwood: what do you think about the amd x3990?
<havenwood> al2o3-cr: i try to not think how few cores i have
<al2o3-cr> intel will bounce back, i assure you.
<al2o3-cr> that too much for anyone. that beating xeons ffs
<al2o3-cr> havenwood: cpu spec?
<havenwood> al2o3-cr: 2.8 GHz Quad-Core Intel Core i7
<al2o3-cr> havenwood: what gen?
<havenwood> al2o3-cr: 2017
<havenwood> dunno
<al2o3-cr> so 7th gen. goes by the year.
<al2o3-cr> havenwood: laptop?
<havenwood> al2o3-cr: yup
<havenwood> al2o3-cr: carved... from a solid block of aluminium
cc__ has joined #ruby
<al2o3-cr> so mac :)
<al2o3-cr> havenwood: is it a 4k screen on that?
<havenwood> al2o3-cr: plugged into one via a cablematters hub
<havenwood> al2o3-cr: waiting on getting a 16" here soon
cc_ has quit [Ping timeout: 265 seconds]
<al2o3-cr> sweet! what's the native resolution?
jenrzzz_ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
davispuh has joined #ruby
<havenwood> ¯\_(ツ)_/¯
jenrzzz has quit [Ping timeout: 272 seconds]
kapil_ has quit [Quit: Connection closed for inactivity]
<al2o3-cr> no worries. i wanted the x1 carbon gen 8, but the specs a mediocre for price they want. shame, seriously is.
<al2o3-cr> i'll just stick with my t490s.
<al2o3-cr> best thing about it, is, the 4k oled dolby vision screen with hdr. how good the hdr is ¯\_(ツ)_/¯
<al2o3-cr> havenwood: this is a good channel: https://www.youtube.com/channel/UCcCYOO2uYPnG-21WDOWdwew
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
fphilipe_ has joined #ruby
fphilipe has quit [Ping timeout: 272 seconds]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
Rob_boR has joined #ruby
drincruz_ has quit [Ping timeout: 246 seconds]
john2496 has quit [Read error: Connection reset by peer]
Rob_boR has quit [Remote host closed the connection]
citizentwo has quit [Remote host closed the connection]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
john2496 has joined #ruby
john2496 has quit [Remote host closed the connection]
coffeex3 has quit [Ping timeout: 268 seconds]
davispuh has joined #ruby
cow[moo] has joined #ruby
millerti has quit [Read error: Connection reset by peer]
<wildtrees> how do I data from post route in sinatra? the field I am sending is data and params[:data] is coming back blank
cow[moo] has quit [Client Quit]
<wildtrees> how do I access the data from a post request in sinatra
<wildtrees> ?
TorpedoSkyline has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TCZ> <form action="/postroute" method="post">, params[:data]
<TCZ> wildtrees: maybe you have put route instead of post
<wildtrees> I am using axios, just checked my route via curl with -F and the correct form data, seems to responding correctly, think I am using axios wrong :(
TCZ has quit [Quit: Bye Bye]
lucasb has quit [Quit: Connection closed for inactivity]
tau has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 272 seconds]
olddogbarks has joined #ruby
duderonomy has quit [Ping timeout: 265 seconds]
citizentwo has joined #ruby
olddogbarks has quit [Quit: ZZZzzz…]
olddogbarks has joined #ruby
ellcs1 has quit [Ping timeout: 240 seconds]