havenwood changed the topic of #ruby to: Ruby 3.3.0, 3.2.3, 3.1.4 https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
<[0x1eef]> zayd: Not sure there is one specific answer. Try 'gem env'. That will tell you where system gems are installed. GEM_HOME / GEM_PATH can play a role too, along side 'gem install --user-install'.
<zayd> [0x1eef]: apparently it puts them in ~/bin, thanks
<weaksauce> oh yeah if you aren't in a bundled project you could just do which jekyll
<[0x1eef]> For me it is ~/.local/share/gem/ruby-X.X.X/bin with --user-install given to gem install as well.
<[0x1eef]> Typo, it's actually: ~/.local/share/gem/ruby/X.X.X/bin
polishdub has quit [Ping timeout: 245 seconds]
<zayd> [0x1eef]: yeah that's how it is for me on arch but i was testing something in a gentoo vm
gaussianblue has joined #ruby
polishdub has joined #ruby
fercell has joined #ruby
fercell_ has quit [Ping timeout: 272 seconds]
matoro has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
matoro has joined #ruby
Vonter has joined #ruby
konsolebox has joined #ruby
Fridtjof has quit [Quit: ZNC - http://znc.in]
Fridtjof has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
_ht has joined #ruby
grenierm has joined #ruby
gaussianblue has quit [Quit: leaving]
donofrio__ has quit [Remote host closed the connection]
Trivial has joined #ruby
johnjaye has quit [Ping timeout: 260 seconds]
johnjaye has joined #ruby
wyclif has joined #ruby
dalan03822833508 has quit [Quit: dalan03822833508]
wyclif has quit [Ping timeout: 272 seconds]
dalan03822833508 has joined #ruby
wyclif has joined #ruby
oneeyedalien has joined #ruby
graaff has joined #ruby
brokkoli_origin has quit [Ping timeout: 264 seconds]
<Trivial> Hi, I have a lot a people told me Ruby is a dead language use Python.I try to learn Ruby for SysAdmin, scripting and Hacking for metasploit module for exemple. People told me Ruby is not installed on linux server by default, as Python is so switch to Python
<Trivial> What do you thing, Ruby is a good choice I thing to get another language as Python, why push Python all over the internet as the rule
<[0x1eef]> Python is popular. Especially in the AI field. For example there's PyTorch. I don't think Ruby has anything on the same level. It doesn't really matter if it is installed by default or not IMO, and I don't think either Ruby Or Python come by default with any Linux. If they do it's more of a coincidence then being part of the base install.
<Trivial> Python is installed by default in Ubuntu. Not sure about Debian. https://linuxize.com/post/how-to-install-python-on-ubuntu-22-04/
oneeyedalien has quit [Quit: Leaving]
<Trivial> So the specificity of Python is the use of ML and datascience that Ruby is not capable to handle?
<[0x1eef]> The ecosystem isn't as mature as Python's for sure.
brokkoli_origin has joined #ruby
TomyWork has joined #ruby
osc4rpt has quit [Ping timeout: 245 seconds]
osc4rpt has joined #ruby
xkoncek has quit [Ping timeout: 255 seconds]
xkoncek1 has joined #ruby
xkoncek1 has quit [Ping timeout: 256 seconds]
xkoncek has joined #ruby
pascal_blaze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mweckbecker has quit [Quit: leaving]
mweckbecker has joined #ruby
<gsg> afaict, it's part due to technical reasons, part due to the existence of foundational libraries such as numpy
<gsg> either way, i don't think you'll find the sorts of primitives for fast matrix computations, for example, in ruby
koenraad_ has joined #ruby
grenierm has quit [Ping timeout: 250 seconds]
<gsg> outside of the web dev world, you're probably right that the "killer app" for ruby may well be metasploit (or homebrew, if you're on osx)
<gsg> that said, i don't think you need to learn _that much_ ruby to write metasploit payloads. i haven't written anything myself, but my pythonista friends who have tell me it was about a day's worth of reading about the language
<gsg> Trivial: for sysadmin and writing exploits (metasploit aside,) i don't think you can go wrong with either of those. i tend to favor ruby because it's more fun to write
koenraad_ is now known as koenraad
dalan03822833508 has quit [Quit: dalan03822833508]
xdminsy has joined #ruby
wyclif has quit [Ping timeout: 272 seconds]
dalan03822833508 has joined #ruby
dalan03822833508 has quit [Client Quit]
wyclif has joined #ruby
wyclif has quit [Ping timeout: 245 seconds]
Guest78 has joined #ruby
Guest78 has quit [Client Quit]
wyclif has joined #ruby
<Trivial> Thanks for the precision gsg, but i heard so lib in Ruby for Datascience (ie: NMatrix, Daru, Statsample, Rubyvis, SymEgine via the website http://ruby-data.org/
pascal_blaze has joined #ruby
<gsg> oh of course they exist now. but numpy has been around since '95!
<gsg> so python became a no-brainer in the statistics and numeric computation world before ruby alternatives had the chance to develop
<gsg> well that's my read of it anyway
Trivial has quit [Ping timeout: 252 seconds]
ken_barber has joined #ruby
infinityfye has quit [Ping timeout: 256 seconds]
pascal_blaze has quit [Ping timeout: 260 seconds]
pascal_blaze has joined #ruby
rapha has joined #ruby
<rapha> hi all!
<rapha> client project FINALLY not on Ruby 2.7 anymore. feeling very happy! :D
<wnd> I think we still have some legacy bits running on 2.2
<rapha> wow, that's the oldest i've heard yet
MoskitoHero has joined #ruby
MoskitoHero has quit [Client Quit]
Trivial has joined #ruby
<adam12> rapha: Nice :)
<adam12> I think we deprecated 2.7 too fast, but I get why. The keyword split sucked.
<adam12> I have machines still running 2.7 that I can't upgrade yet. I need to rely on the host Ruby version.
<adam12> I've ended up removing some dependencies from the project and rewriting pieces just to maintain 2.7 compat.
pascal_blaze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
infinityfye has joined #ruby
<rapha> keyword split, adam?
<gr33n7007h> rapha: here's a good read about it: https://eregon.me/blog/2021/02/13/correct-delegation-in-ruby-2-27-3.html
<gr33n7007h> basically ruby 3.0 gained proper support for keyword arguments
<adam12> Yeah, exactly.
c10l has quit [Remote host closed the connection]
c10l has joined #ruby
<adam12> Without the split, I wonder if people would have been more willing to maintain backwards compat.
<adam12> ofc, split was a good thing... just annoying to deal with :)
<rapha> oh ok, keyword arguments i know & love and have already started converting the whole code to
<rapha> so by split you meant split in the community?
<adam12> Split was how the argument change was done. It "split" them from normal args to keyword args. In 2.7, the keyword args were an implicit Hash as the final arg. `opts = {}` style.
<adam12> I don't think the community split, and most projects took it fairly well...
<adam12> And ruby2_keywords was an OK solve.
<leftylin1> pandabot_: what's ruby vs python
eddof13 has joined #ruby
<adam12> WRT Discord, I find it ebbs and flows similar to this channel. Some days there's very very little activity, sometimes it's bustling.
<[0x1eef]> I can't bring myself to sign up to that. It's infused too much with social media concepts. I don't like communities run by capitlaists either :P
eddof13 has quit [Quit: eddof13]
donofrio has joined #ruby
eddof13 has joined #ruby
<rapha> i did sign up but try to use it as little as possible. you're exactly right on both counts, OverCoder
<rapha> [0x1eef]*
Trivial has quit [Ping timeout: 252 seconds]
TomyWork has quit [Ping timeout: 272 seconds]
pascal_blaze has joined #ruby
pascal_blaze has quit [Ping timeout: 245 seconds]
eddof13 has quit [Quit: eddof13]
___nick___ has joined #ruby
pascal_blaze has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
eddof13 has joined #ruby
pascal_blaze has quit [Ping timeout: 252 seconds]
pascal_blaze has joined #ruby
pascal_blaze has quit [Ping timeout: 256 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
<adam12> [0x1eef]: I get it :| The Matrix bridge was a nice compromise.
<myappie> # encoding: utf-8
<myappie> # psychological_warfare.rb
<myappie> # WARNING: This module is designed for academic or authorized security exercises only.
<myappie> # It must adhere to all applicable ethical and legal standards.
pascal_blaze has joined #ruby
pascal_blaze has quit [Ping timeout: 245 seconds]
pascal_blaze has joined #ruby
pascal_blaze has quit [Ping timeout: 260 seconds]
ken_barber has quit [Quit: Client closed]
___nick___ has quit [Ping timeout: 268 seconds]
_ht has quit [Remote host closed the connection]
konsolebox has quit [Quit: .]
pascal_blaze has joined #ruby
pascal_blaze has quit [Ping timeout: 272 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
jvalleroy has joined #ruby
pascal_blaze has joined #ruby
pascal_blaze has quit [Ping timeout: 245 seconds]
pascal_blaze has joined #ruby
donofrio_ has joined #ruby
brokkoli_origin has quit [Ping timeout: 256 seconds]
brokkoli_origin has joined #ruby
gr33n7007h has quit [Quit: WeeChat 4.2.2]
donofrio has quit [Ping timeout: 272 seconds]
gr33n7007h has joined #ruby
pascal_blaze has quit [Ping timeout: 255 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
z0e has joined #ruby
<[0x1eef]> myappie: # frozen_string_literal: true
<[0x1eef]> :))
infinityfye has quit [Ping timeout: 260 seconds]
leah2 has quit [Ping timeout: 255 seconds]
eddof13 has quit [Quit: eddof13]