havenwood changed the topic of #ruby to: Ruby 3.4.1, 3.3.7 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
livoreno has quit [Quit: Connection closed for inactivity]
Sampersand has quit [Quit: Client closed]
Inline has joined #ruby
mjacob has quit [Ping timeout: 252 seconds]
mjacob has joined #ruby
Jado has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
mjacob has quit [Ping timeout: 252 seconds]
mjacob has joined #ruby
AkyRhO1 has joined #ruby
AkyRhO has quit [Ping timeout: 252 seconds]
AkyRhO has joined #ruby
AkyRhO1 has quit [Ping timeout: 252 seconds]
Inline has joined #ruby
livoreno has joined #ruby
jasfloss has quit [Ping timeout: 260 seconds]
swee has joined #ruby
jasfloss has joined #ruby
s-liao-200 has joined #ruby
polishdub has quit [Ping timeout: 260 seconds]
hightower4 has joined #ruby
hightower3 has quit [Ping timeout: 248 seconds]
MyNetAz has quit [Remote host closed the connection]
polishdub has joined #ruby
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #ruby
mjacob has quit [Ping timeout: 252 seconds]
mjacob has joined #ruby
MyNetAz has joined #ruby
dalan03822833508 has quit [Quit: dalan03822833508]
dalan03822833508 has joined #ruby
R2robot has quit [Ping timeout: 248 seconds]
R2robot has joined #ruby
brw has quit [Remote host closed the connection]
brw has joined #ruby
Jado has quit [Ping timeout: 260 seconds]
hd1 has joined #ruby
hd1 has quit [Client Quit]
eddof13 has joined #ruby
Jado has joined #ruby
s-liao-200 has quit [Ping timeout: 240 seconds]
livoreno has quit [Quit: Connection closed for inactivity]
konsolebox has joined #ruby
grenierm has joined #ruby
Jado has quit [Ping timeout: 252 seconds]
Jado has joined #ruby
eddof13 has quit [Quit: eddof13]
Jado has quit [Remote host closed the connection]
Inline has quit [Ping timeout: 244 seconds]
gemmaro_ has quit [Read error: Connection reset by peer]
gemmaro_ has joined #ruby
admin1234 has joined #ruby
<admin1234> vastly improved over the last time i shared it
<constxd> admin1234: come on bro
<o0x1eef> I generally agree with what was said. I think (Free|Hardened)BSD also have their place. I generally avoid Linux unless I have to use it.
admin1234 has quit [Ping timeout: 272 seconds]
<constxd> whether you agree with the sentiment or not, the article is not good
admin1234 has joined #ruby
<o0x1eef> How come?
hd1 has joined #ruby
<constxd> i don't know who the target audience is supposed to be
<o0x1eef> When I write the target audience is usually a later self :D But I guess that's why no one reads them :))
<constxd> if you have already bought into the openbsd mindset then you don't need to be convinced, and if you haven't then this article will not make openbsd sound appealing at all
<constxd> everyone knows openbsd is secure
<o0x1eef> Fair enough. But I think some of the points are solid. The OpenBSD approach really does feel "simple". The Linux crowd seem to thrive in complexity and over-engineering. I think Linus would admit that to a degree, but maybe not as directly as that..
<constxd> "hey did you know openbsd is really secure? here's a huge list of features it's missing -- isn't that awesome? now check out this 3000 line shell script"
<constxd> yeah simplicity is nice but people romanticize it too much
Inline has joined #ruby
gemmaro_ has quit [Ping timeout: 252 seconds]
gemmaro_ has joined #ruby
hd1 has quit [Quit: Client closed]
<constxd> "the original UNIX ran on a 20MHz CPU with 256K of memory! nowadays my system uses 3 GIGABYTES to idle after boot... software was way better in the 70s!"
<constxd> meanwhile the original UNIX was broken as shit and full of bugs and the people who think "modern software sucks" would be miserable if they had to use it for more than 1 day
splud has quit [Ping timeout: 245 seconds]
<o0x1eef> I'm thinking in different terms. Both pledge and unveil have simple interfaces, and they're integrated into all browsers that I know of: Firefox, chromium, & its forks. So out of the box you have a pretty secure browser, with zero effort. That's simple on multiple levels.
<constxd> yes
<constxd> pledge and unveil are good
<constxd> there are linux ports
<constxd> it's good that openbsd exists, but i see it more as like a security-oriented research OS
<o0x1eef> 'pf' is also relatively simple, you can get up to speed with it quickly as a user/sysadmin, and for me it is definitely in the top 3 best BSD software
<o0x1eef> Yeah. It has its place. It's not one size fits all. I use it to host gitea, and on the desktop too.
splud has joined #ruby
leah2 has quit [Ping timeout: 252 seconds]
konsolebox has quit [Ping timeout: 252 seconds]
MyNetAz has quit [Remote host closed the connection]
leah2 has joined #ruby
JulioPapel has joined #ruby
gr33n7007h has joined #ruby
konsolebox has joined #ruby
MyNetAz has joined #ruby
JulioPapel has quit [Quit: JulioPapel]
JulioPapel has joined #ruby
hwpplayer1 has joined #ruby
Inline has quit [Ping timeout: 246 seconds]
MyNetAz has quit [Remote host closed the connection]
Linux_Kerio has joined #ruby
admin1234 has quit [Ping timeout: 260 seconds]
admin1234 has joined #ruby
MyNetAz has joined #ruby
Inline has joined #ruby
admin1234 has quit [Ping timeout: 252 seconds]
mange has quit [Quit: Zzz...]
hwpplayer1 has quit [Remote host closed the connection]
admin1234 has joined #ruby
fantazo has quit [Quit: Lost terminal]
grenierm has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
sobinec has joined #ruby
<sobinec> Guys, there is a new matrix space created for Ruby related stuff.
<sobinec> https://matrix.to/#/#rubylanguage:matrix.org
mooff has quit [Ping timeout: 252 seconds]
MyNetAz has quit [Ping timeout: 252 seconds]
mooff has joined #ruby
konsolebox has joined #ruby
<ih8u> so, for search engines, am i supposed to put keywords in a hidden element in my template/s?
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 244 seconds]
<ih8u> or is there some other more sophisticated method for search engine indexing?
rvalue- is now known as rvalue
donofrio has joined #ruby
s-liao-200 has joined #ruby
MyNetAz has joined #ruby
gthank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jado has joined #ruby
s-liao-200 has quit [Quit: Client closed]
user71 has joined #ruby
admin1234 has quit [Ping timeout: 252 seconds]
eddof13 has joined #ruby
MsInput has joined #ruby
admin1234 has joined #ruby
msv has quit [Remote host closed the connection]
donofrio has quit [Ping timeout: 252 seconds]
trillion_exabyte has quit [Ping timeout: 252 seconds]
hwpplayer1 has joined #ruby
trillion_exabyte has joined #ruby
hwpplayer1 has quit [Read error: Connection reset by peer]
hwpplayer1 has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
<o0x1eef> ih8u: I don't do any of that but then again I haven't had great results but that might be for other reasons. Generally as a rule of thumb: add sitemap.xml, add meta descriptions, validate with bing (it will provide actionable feedback instead of being mysterious like Google), try to get other sites linking to yours.
entropie has quit [Ping timeout: 248 seconds]
entropie has joined #ruby
<ih8u> what does `puma cannot load such file -- base64` mean?
<o0x1eef> The stdlib has been moved to gems. See https://stdgems.org and also https://rubygems.org/gems/base64
<o0x1eef> It's suppose to be a bundled gem, but distributions can do strange things to a standard ruby installation, so you might be missing it
<ih8u> puma by itself work, `bundle exec puma` doesn't
<o0x1eef> puma probably needs updated to depend on base64, that could be a PR but the short term fix is to add gem 'base64' to your Gemfile
<ih8u> o0x1eef: thank you for your help, by the way
<o0x1eef> De nada
<ih8u> but why would it word by itself and not with bundle?
<ih8u> i should mention this is only the case on alma linux
<ih8u> i do not have this problem on debian
admin1234 has quit [Ping timeout: 276 seconds]
<o0x1eef> AFAIK because bundle is an isolated environment, where only the gems in Gemfile.lock are available. If you don't have base64 in your Gemfile.lcok, then it doesn't exist. It might also depend on your Ruby version. I think base64 was only moved to stdlib relatively recently.
<o0x1eef> /to stdlib/to a stdlib gem/
<ih8u> i see
admin1234 has joined #ruby
<ih8u> i am one point release higher on alma
<ih8u> that is quite quite new
<ih8u> iot appears to be working
<ih8u> thank you
<o0x1eef> +1
R2 has joined #ruby
rvalue- has joined #ruby
R2robot has quit [Ping timeout: 276 seconds]
rvalue has quit [Ping timeout: 252 seconds]
hwpplayer1 has quit [Remote host closed the connection]
R2 has quit [Ping timeout: 260 seconds]
rvalue- is now known as rvalue
gthank has joined #ruby
R2robot has joined #ruby
eddof13 has quit [Quit: eddof13]
hightower4 has quit [Remote host closed the connection]
eddof13 has joined #ruby
entropie has quit [Ping timeout: 260 seconds]
entropie has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
trillion_exabyte has quit [Ping timeout: 252 seconds]
trillion_exabyte has joined #ruby
admin1234 has quit [Ping timeout: 248 seconds]
donofrio has joined #ruby
R2 has joined #ruby
R2robot has quit [Ping timeout: 248 seconds]
Jado has quit [Ping timeout: 252 seconds]
admin1234 has joined #ruby
gthank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gthank has joined #ruby
R2robot has joined #ruby
R2 has quit [Ping timeout: 260 seconds]
msv has joined #ruby
msv has quit [Remote host closed the connection]
msv has joined #ruby
Jado has joined #ruby
Jado has quit [Ping timeout: 268 seconds]
sobinec has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
Jado has joined #ruby
ih8u has quit [Remote host closed the connection]
Jado has quit [Ping timeout: 244 seconds]
Jado has joined #ruby
Sampersand has joined #ruby
Jado has quit [Ping timeout: 260 seconds]
Sampersand has quit [Quit: Client closed]
csoria has joined #ruby
<csoria> hello Ruby community
<csoria> I have one question, I hope you can help me to understand what is happening please
Jado has joined #ruby
<csoria> class Test
<csoria> attr_reader :values
<csoria> def initialize(values)
<csoria> end
<csoria> @values = values
<csoria> def execute
<csoria> puts "[*] Before: #{values.inspect}"
<csoria> values = append values
<csoria> puts "[*] After: #{values.inspect}"
<csoria> values
<csoria> end
<csoria> def append(values)
<csoria> puts "[*] Inside #append: #{values.inspect}"
<csoria> [*values, "new"]
<csoria> end
<csoria> end
<csoria> Test.new(["first"]).execute
<csoria> # [*] Before: ["first"]
<csoria> # [*] Inside #append: nil
<csoria> # [*] After: ["new"]
<csoria> why is this happening? I would expect values in "append values" to be the @values, but it not, is nil
<csoria> I understand that after that line, values is shadowed, but not before
<csoria> if I change "append values" to "append self.values" it works as expected (uses getter method)
admin1234 has quit [Ping timeout: 268 seconds]
<csoria> just for reference, I think I found the response in https://www.ruby-lang.org/en/documentation/faq/4/ in the section "When does a local variable become accessible?"
<csoria> thanks anyway :+1:
csoria has quit [Quit: Leaving]
<kinduff> :)
admin1234 has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
gr33n7007h has quit [Ping timeout: 248 seconds]
donofrio has quit [Ping timeout: 252 seconds]
donofrio has joined #ruby
gr33n7007h has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
eddof13 has quit [Quit: eddof13]
Jado has quit [Remote host closed the connection]
Jado has joined #ruby
Jado has quit [Ping timeout: 268 seconds]
eddof13 has joined #ruby
Jado has joined #ruby
Linux_Kerio has quit [Ping timeout: 252 seconds]
Linux_Kerio has joined #ruby
denvermullets has joined #ruby
hightower2 has quit [Remote host closed the connection]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
user71 has quit [Quit: Leaving]
svm has joined #ruby
gemmaro- has joined #ruby
entropy has joined #ruby
antranigv_ has joined #ruby
rvalue- has joined #ruby
brokkoli_originl has joined #ruby
gr33n7001 has joined #ruby
Jado has quit [Ping timeout: 252 seconds]
gemmaro_ has quit [Ping timeout: 252 seconds]
antranigv has quit [Ping timeout: 252 seconds]
gr33n7007h has quit [Ping timeout: 252 seconds]
MyNetAz has quit [Ping timeout: 252 seconds]
brokkoli_origin has quit [Ping timeout: 252 seconds]
msv has quit [Ping timeout: 252 seconds]
entropie has quit [Ping timeout: 252 seconds]
rvalue has quit [Ping timeout: 252 seconds]
entropy is now known as entropie
Jado has joined #ruby
rvalue- is now known as rvalue
Inline has joined #ruby
denvermullets has quit [Ping timeout: 246 seconds]
Jado has quit [Ping timeout: 248 seconds]
Jado has joined #ruby
hightower2 has joined #ruby
Jado has quit [Ping timeout: 268 seconds]
Jado has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
gr33n7001 has quit [Ping timeout: 260 seconds]
gr33n7007h has joined #ruby
denvermullets has joined #ruby
LainExperiments has joined #ruby
denvermullets has quit [Remote host closed the connection]
MyNetAz has joined #ruby
admin1234 has quit [Remote host closed the connection]
Linux_Kerio has quit [Ping timeout: 268 seconds]
admin1234 has joined #ruby
gr33n7007h has quit [Ping timeout: 246 seconds]
admin1234 has quit [Ping timeout: 272 seconds]
Jado has quit [Ping timeout: 244 seconds]
gr33n7007h has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
JulioPapel has quit [Ping timeout: 246 seconds]
Jado has joined #ruby
ollysmith_ has joined #ruby
ollysmith has quit [Ping timeout: 248 seconds]
eddof13 has quit [Quit: eddof13]
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
LainExperiments has quit [Quit: Client closed]
admin1234 has joined #ruby
gthank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
svm is now known as msv