havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
landakram has joined #ruby
Technodrome has joined #ruby
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
zajn has joined #ruby
<zajn> has anyone successfully installed ruby 3.0.0 on macos big sur? installing through `ruby-install` fails for me during linking, but i can install older rubies through `ruby-install`
ta has joined #ruby
baojg has quit [Remote host closed the connection]
landakram has quit [Ping timeout: 264 seconds]
whoisxy has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
whoisxy has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 260 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has quit [Read error: Connection reset by peer]
erblack has joined #ruby
erblack has quit [Quit: rcirc on GNU Emacs 27.1]
coniptor has joined #ruby
erblack has joined #ruby
zajn has quit [Ping timeout: 245 seconds]
bsdbandit-01 has joined #ruby
deimos_ has quit [Quit: leaving]
bsdbandit-01 has quit [Read error: Connection reset by peer]
deimos_ has joined #ruby
rzjian has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
dhollinger has joined #ruby
rf` has joined #ruby
envex has quit [Ping timeout: 256 seconds]
dhollinger has quit [Ping timeout: 246 seconds]
bamdad has quit [Remote host closed the connection]
dhollinger has joined #ruby
prepend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
akem has quit [Remote host closed the connection]
bsdbandit-01 has joined #ruby
akem has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has quit [Ping timeout: 264 seconds]
TCZ has quit [Quit: Kindergarten is elsewhere!]
whoisxy has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
Mia has quit [Read error: Connection reset by peer]
ChmEarl has quit [Quit: Leaving]
al2o3-cr has quit [Ping timeout: 256 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lypsis has quit [Ping timeout: 260 seconds]
coniptor has quit [Ping timeout: 246 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
davispuh has joined #ruby
coniptor has joined #ruby
rzjian has quit [Quit: ##CoV]
rzjian has joined #ruby
rzjian has quit [Client Quit]
rzjian has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
adu has joined #ruby
rzjian has quit [Quit: WeeChat 3.0]
al2o3-cr has joined #ruby
davispuh has joined #ruby
panorain has joined #ruby
bsdbandit-01 has joined #ruby
davispuh has quit [Ping timeout: 240 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
davispuh has joined #ruby
riceandbeans has quit [Ping timeout: 272 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
michfx has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
michfx has quit [Quit: michfx]
adu has quit [Quit: adu]
michfx has joined #ruby
michfx has quit [Client Quit]
elcuervo has joined #ruby
siery has joined #ruby
michfx has joined #ruby
cuerbot has quit [Ping timeout: 256 seconds]
coniptor has quit [Ping timeout: 246 seconds]
gix has joined #ruby
gix_ has joined #ruby
gix has quit [Disconnected by services]
gix- has quit [Ping timeout: 264 seconds]
wald0 has quit [Ping timeout: 246 seconds]
wald0 has joined #ruby
michfx has quit [Quit: michfx]
coniptor has joined #ruby
michfx has joined #ruby
m27frogy has quit [Ping timeout: 256 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
adu has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
huma has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
michfx has quit [Quit: michfx]
<huma> is nokogiri still the most actively used xml parser?
al2o3-cr has quit [Ping timeout: 256 seconds]
<havenwood> huma: yes
<havenwood> huma: oga is a newer comer but much lesser used https://github.com/YorickPeterse/oga
bsdbandit-01 has joined #ruby
coniptor has joined #ruby
bsdbandit-01 has joined #ruby
adu has quit [Quit: adu]
<huma> havenwood: oh, from yorick :)
wald0 has quit [Ping timeout: 240 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bambanx has quit [Quit: Leaving]
landakram has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
huma has quit [Ping timeout: 256 seconds]
prepend has joined #ruby
lypsis has joined #ruby
prepend has quit [Ping timeout: 272 seconds]
thelounge0929 has joined #ruby
thelounge0929 has left #ruby [#ruby]
thelounge0929 has joined #ruby
thelounge0929 has quit [Client Quit]
erblack has left #ruby ["Killed buffer"]
monban has quit [Quit: monban]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
cd has quit [Quit: cd]
_aeris_ has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
coniptor has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 264 seconds]
landakram has quit [Ping timeout: 264 seconds]
_aeris_ has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
coniptor has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rudd0^ has quit [Ping timeout: 265 seconds]
_aeris_ has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
nofxx__ has joined #ruby
roadie has joined #ruby
nofxx_ has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
ur5us has joined #ruby
coniptor has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
roadie has joined #ruby
huma has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
iNs has quit [Remote host closed the connection]
_aeris_ has quit [Ping timeout: 240 seconds]
_aeris has joined #ruby
_aeris is now known as _aeris_
iNs has joined #ruby
ur5us has quit [Quit: Leaving]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
ur5us has joined #ruby
coniptor has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
kristian_on_linu has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Rudd0 has joined #ruby
roadie has quit [Ping timeout: 246 seconds]
TomyLobo has joined #ruby
roadie has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
iNs has quit [Ping timeout: 240 seconds]
_aeris_ has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
_aeris_ has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
cnsvc_ has quit [Ping timeout: 240 seconds]
roadie has quit [Ping timeout: 272 seconds]
roadie has joined #ruby
Mia has joined #ruby
huma has quit [Ping timeout: 265 seconds]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
somazero has joined #ruby
alexherbo2 has joined #ruby
Rudd0 has quit [Ping timeout: 256 seconds]
Technodrome has joined #ruby
akem has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
burgestrand has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
m27frogy has joined #ruby
schaerli has joined #ruby
ua_ has joined #ruby
ua has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
dfucci has quit [Ping timeout: 256 seconds]
akem has joined #ruby
fandre1986 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
whoisxy has joined #ruby
siery has quit [Read error: Connection reset by peer]
siery has joined #ruby
wald0 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
dionysus69 has joined #ruby
burgestrand has quit [Quit: burgestrand]
siery has quit [Read error: Connection reset by peer]
siery has joined #ruby
BH23 has quit [Remote host closed the connection]
fandre1986 has quit [Ping timeout: 265 seconds]
lucasb has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
drnerdius has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
drnerdius has quit [Quit: Konversation terminated!]
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
Rudd0 has joined #ruby
nertzy has quit [Quit: Leaving]
prion has joined #ruby
<prion> hi rubyists
<prion> can anyone help me spot what's wrong with my solution to this hackerrank problem? https://www.hackerrank.com/challenges/sherlock-and-valid-string/problem
<prion> this is my code: https://termbin.com/qv1t
<prion> it works for all but 2 test cases. this is one that it fails on: https://termbin.com/207j
bsdbandit-01 has quit [Read error: Connection reset by peer]
<prion> never mind i figured it out
<prion> ok no
<prion> i need a way to group an array
<prion> like [1, 1, 2, 1] => [[1, 1], [2], [1]]
<prion> group_by returns a hash that messes things up
FrankyCyborg has joined #ruby
whoisxy has quit [Read error: Connection reset by peer]
ChmEarl has joined #ruby
whoisxy has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
bsdbandit-01 has joined #ruby
<havenwood> &>> [1, 1, 2, 1].chunk(&:itself).map(&:last)
<rubydoc> # => [[1, 1], [2], [1]] (https://carc.in/#/r/a8wk)
<havenwood> prion: ^
_aeris_ has quit [Read error: Connection reset by peer]
iNs has quit [Write error: Connection reset by peer]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
iNs has joined #ruby
_aeris_ has joined #ruby
cuerbot has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
junaidnaseer2 has joined #ruby
davispuh has joined #ruby
wald0 has quit [Quit: Lost terminal]
dfucci has joined #ruby
michfx has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rmnull has joined #ruby
akem has quit [Ping timeout: 256 seconds]
davispuh has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
roshanavand has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whoisxy has quit [Ping timeout: 246 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
landakram has joined #ruby
user189213 has joined #ruby
user189213 has quit [Quit: WeeChat 2.3]
adu has joined #ruby
whoisxy has joined #ruby
cd has joined #ruby
user189213 has joined #ruby
user189213 has quit [Client Quit]
michfx has quit [Quit: michfx]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #ruby
landakram has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
bsdbandit-01 has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
Azure has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
michfx has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
adu has quit [Quit: adu]
michfx has quit [Client Quit]
impermanence has joined #ruby
akem_ has joined #ruby
whoisxy has quit [Ping timeout: 264 seconds]
cliluw has quit [Ping timeout: 256 seconds]
alexherbo21 has joined #ruby
cliluw has joined #ruby
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo21 is now known as alexherbo2
maryo has joined #ruby
harland has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
harland has quit [Client Quit]
helmut has joined #ruby
<helmut> hi. how does rdoc generate documentation? does it (like pydoc) import modules (and possibly submodules) and use introspection or does it (like doxygen) parse sources without executing them?
<jhass> helmut: since comments are not introspectable in ruby, I'm pretty confident in saying it's the latter
<jhass> it might be reusing the parser however
<helmut> what would be the chances of arbitrary code execution by running rdoc on sources (assuming one does not exploit the parser itself)?
<helmut> s/on sources/on possibly malicious sources/
<jhass> ah no, it looks like it has its own parser https://github.com/ruby/ruby/blob/master/lib/rdoc/parser/ruby.rb
<helmut> it also has a c parser it seems
<jhass> well a parser for C since especially a lot of stdlib stuff is implemented and thus documented in C :)
<helmut> if you run pydoc on some foo.py, all the toplevel code gets executed immediately
<helmut> that seems a lot saner to me on the ruby side.
bsdbandit-01 has joined #ruby
<jhass> it's hard to judge though, I'm wouldn't bet there's not some .send call with "user input" somewhere hidden there
<jhass> I'd put it into a resource limited container when running on untrusted user input anyhow, to prevent resource exhaustion attacks if nothing else
<jhass> that is if you want to do some "rdoc as a service" kind of thing
<jhass> note we also got yard as an alternative to rdoc: https://yardoc.org/
<jhass> but I guess same things apply
maryo has quit [Ping timeout: 246 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
<helmut> thank you. my primary interest is in determining whether its api/abi is architecture-specific. if you can run arbitrary code, it is architecture-specific, but it seems like this is not the case. :)
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
lightstalker has quit [Remote host closed the connection]
lightstalker has joined #ruby
TCZ has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
whoisxy has joined #ruby
ur5us has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
<panorain> I guess they make money selling trash software to the government.
roshanavand has joined #ruby
helmut has left #ruby [#ruby]
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
jinie has joined #ruby
cloud69 has joined #ruby
panorain has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 246 seconds]
panorain has joined #ruby
schaerli has quit [Ping timeout: 240 seconds]
nertzy has joined #ruby
<Rounin> panorain: I like to think of it as "getting my tax money back"
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rf` has quit [Remote host closed the connection]
envex has joined #ruby
bsdbandit-01 has joined #ruby
<apotheon> Rounin: nice
prion has quit [Ping timeout: 265 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
ur5us_ has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
jeromelanteri has joined #ruby
somazero has quit [Quit: Leaving]
jeromelanteri has quit [Ping timeout: 260 seconds]
<panorain> Rounin: I appreciate your comment.
<panorain> I think alot. I would like to learn about "Ruby" i'm sorry if I talk way to much. I am honest. Your decision's ... I suppose it's not "the state" I would like to try with "openSUSE".
va5c0 has joined #ruby
somazero has joined #ruby
roshanavand has joined #ruby
rmnull has quit [Quit: WeeChat 3.0]
roshanavand has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand has quit [Ping timeout: 256 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
cliluw has quit [Ping timeout: 265 seconds]
cliluw has joined #ruby
Technodrome has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
jhass has quit [Quit: Bye]
CommunistWolf has quit [Ping timeout: 258 seconds]
va5c0 has quit [Quit: WeeChat 3.0]
junaidnaseer2 has quit [Read error: Connection reset by peer]
coniptor has quit [Ping timeout: 246 seconds]
CommunistWolf has joined #ruby
Rounin has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
ur5us_ has quit [Ping timeout: 264 seconds]
roshanavand has joined #ruby
TCZ has quit [Remote host closed the connection]
ur5us_ has joined #ruby
jhass has joined #ruby
nertzy has quit [Quit: Leaving]
nertzy has joined #ruby
bambanx has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
bsdbandit-01 has joined #ruby
alexherbo25 has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo25 is now known as alexherbo2
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 265 seconds]
gigetoo has joined #ruby
TCZ has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
akem_ has quit [Ping timeout: 256 seconds]
TCZ is now known as SaburoArasaka
ur5us has joined #ruby
ur5us_ has quit [Ping timeout: 264 seconds]
jess has quit [Quit: updates]
whoisxy has quit [Ping timeout: 246 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]