havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.2, 3.1.4, 3.0.6, 3.3.0-preview1: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
panella32 has joined #ruby
panella32 has quit [Quit: Textual IRC Client: www.textualapp.com]
<johnjaye> what are some good basic applications written in ruby
<johnjaye> things more to learn from than necessarily amazing all in one wizard apps
<weaksauc_> metasploit chef
<weaksauc_> basic
<weaksauc_> oh
gonix has joined #ruby
gonix has quit [Ping timeout: 240 seconds]
<weaksauc_> johnjaye to be fair a lot of good code out there. rails has a lot going on but it's pretty well structured for how big it is
<weaksauc_> a lot of indirection though so it's not a good beginner one by any stretch of the mind
<johnjaye> ah ok.
<weaksauc_> minitest
<weaksauc_> that one is pretty small
<weaksauc_> any of those are actually pretty instructive to look through though
<johnjaye> is metasploit chef one thing or two things
<weaksauc_> two
<weaksauc_> vulnerability scanner and a devops tool
<johnjaye> programmers have a somewhat disturbing habit of naming things random words
<johnjaye> like check out vomit, my new database app. or grease, the new debugging tool for perl and php modules
<johnjaye> chef is exactly what i mean. it's a random word. and the description makes no sense to me at all.
<johnjaye> but a lot of people use it... so it's probably doing something.
Erwin51 has joined #ruby
<weaksauc_> homebrew is another tool
<weaksauc_> yeah the names are a bit weird
<weaksauc_> harder to google for
<adam12> Anybody using bake or toys? I was about to just roll my own CLI stuff again but bake is fairly close to what I want. Tempted to just use it.
<adam12> I used toys a while ago but I remember checking docs for everything repeatedly.
<adam12> Prefer not to use Thor.
<weaksauc_> last time i did one it was thor i think
<adam12> Yeah. I've always kinda used Thor, and I did CommandKit on one too.
<adam12> Just looking at alternatives for no reason other than to always be exploring.
<weaksauc_> yeah
<weaksauc_> wait did i use thor
<weaksauc_> i used gli actually last time and it was nice
<weaksauc_> git style command lines
<adam12> Oh yeah. I use Cri for that.
<adam12> It also worked good.
<weaksauc_> similar but a different level of abstraction it looks like
<adam12> I was just trying to be a bit lazy. Did you ever use sake?
<adam12> It was super cool in the mid-2000s. Came from ryan tomayko I think?
<adam12> I'm looking at a shared CLI infrastructure for all my projects and didn't feel like re-inventing the week.
<weaksauc_> i didn't but that looks neat
<adam12> s/week/wheel
<adam12> bake is kinda similar.
<adam12> So is toys, iirc.
<adam12> Oh it was from Chris Wansrath
<adam12> I'm out. Have a good evening.
Erwin51 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
<weaksauc_> later on
glider has joined #ruby
John_Ivan has joined #ruby
reset has joined #ruby
dcx has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
c10l6 has joined #ruby
c10l has quit [Ping timeout: 240 seconds]
c10l6 is now known as c10l
moldorcoder7 has quit [Ping timeout: 246 seconds]
grenierm has joined #ruby
darkism has quit [Ping timeout: 250 seconds]
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
nektro has quit [Quit: Leaving]
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
_ht has joined #ruby
reset has quit [Ping timeout: 250 seconds]
shokohsc0 has joined #ruby
shokohsc has quit [Ping timeout: 268 seconds]
shokohsc0 is now known as shokohsc
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp- has joined #ruby
Sankalp- is now known as Sankalp
nektro has joined #ruby
reset has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
petru has quit [Quit: WeeChat 3.5]
petru has joined #ruby
Sankalp has quit [Ping timeout: 250 seconds]
Sankalp has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 265 seconds]
Sankalp- is now known as Sankalp
crespire1 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
infinityfye has joined #ruby
moldorcoder7 has joined #ruby
teclator has joined #ruby
nmollerup has quit [Remote host closed the connection]
nmollerup has joined #ruby
braxas_ is now known as braxas
teclator has quit [Ping timeout: 240 seconds]
grenierm has quit [Ping timeout: 245 seconds]
Demi is now known as Rune
Rune is now known as Demi
nmollerup has quit [Quit: Leaving]
markong has joined #ruby
moldorcoder7 has quit [Ping timeout: 240 seconds]
infinityfye has quit [Ping timeout: 240 seconds]
infinityfye has joined #ruby
infinityfye has quit [Remote host closed the connection]
paulmcquad has joined #ruby
gr33n7007h has quit [Ping timeout: 268 seconds]
gr33n7007h has joined #ruby
<libsys> do you guys know how to ask if something is null when using qualified idenfifiers in ruby sequel?
<libsys> somewhing like .where(Sequel[:tbl][:col]: nil)
gr33n7007h has quit [Ping timeout: 240 seconds]
paulmcquad has quit [Quit: Konversation terminated!]
gr33n7007h has joined #ruby
<libsys> also, how to negate that same thing
<johnjaye> is gem install foo the correct syntax
<johnjaye> or does it need sudo
<johnjaye> oh ok i don't have permission for /var/lib/gems/2.7.0 directory
<EvanR> you probably want to use a ruby version manager and install all your gems for the local user
<EvanR> no real reason to need super user permission
<johnjaye> ok. also is dradis-metasploit what weaksauc_ was referring to earlier?
<johnjaye> gem serach sploit returns an octet of packages, including "sploit".
<mooff> johnjaye: you can gem install --user foo
<johnjaye> i tried that i thought
<johnjaye> or is --user interpreted to be --user-install
<libsys> ended up using literals... here is what I'm trying to do... if you know how to do it using built-in functions, that would be great too: https://snippet.host/csbnfo
<johnjaye> also there's no gem show
roadie has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.91)]
polishdub has quit [Ping timeout: 250 seconds]
Cajuns79 has joined #ruby
mentor has joined #ruby
Cajuns79 has quit [Ping timeout: 240 seconds]
beefs79 has joined #ruby
mentor has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
<weaksauc_> johnjaye and why are you not using a ruby version manager?
beefs79 has quit [Ping timeout: 240 seconds]
Al2O3 has quit [Ping timeout: 256 seconds]
anathe16 has joined #ruby
Sheilong has joined #ruby
markong has quit [Ping timeout: 240 seconds]
panella32 has joined #ruby
moldorcoder7 has joined #ruby
<johnjaye> because i don't know how
<johnjaye> probably more importantly i'm not sure what that is. like having 2.7,2.8,2.9 installed at the same time?
<weaksauc_> yeah
<weaksauc_> it does a few things
<weaksauc_> has the ruby tied not to your system ruby which may break things if you try to update that
<weaksauc_> makes the ruby installs in userland so you never need sudo
<johnjaye> so it's like brew?
<weaksauc_> and lets you work on multiple projects with multiple different versions of ruby
<weaksauc_> i prefer rbenv as it generally does the right thing
<weaksauc_> coupled with ruby-install
<johnjaye> ok. also this metasploit thing is huge. even with --depth=1 it's taking awhile to download
<weaksauc_> yeah it is a huge project
gemmaro has joined #ruby
<weaksauc_> 70k commits is a lot
<johnjaye> well. can i just learn from small parts of it.
<johnjaye> that was the question you were answering
<weaksauc_> it might be a bit much
panella32 has quit [Quit: Textual IRC Client: www.textualapp.com]
<weaksauc_> but there is no harm at poking around and looking at things
<johnjaye> the problem i have with learning from large projects is the "but why" loop
<johnjaye> i see a variable or function x. i want to know what it is. so i go to its location. it has a definition. but i don't understand any of the things in the definition. so i repeat forever
<weaksauc_> johnjaye do you know any rails?
<johnjaye> it's like using a dictionary. every word is defined in terms of other words
<johnjaye> nop
<johnjaye> i vaguely know rails is a thing people use for web things.
<weaksauc_> yeah
<weaksauc_> try the minitest source
<johnjaye> you can never understand the definition of a word from a dictionary therefore. since every word is just defined with other words!
<weaksauc_> i think minitest is perfect for you
<weaksauc_> it's a small library
<weaksauc_> small in scope
<johnjaye> well it downloaded really fast. that's a good sign
<johnjaye> only about 4k loc. nice
<johnjaye> sloc says it's actually 2k for some reason
darkism has joined #ruby
gemmaro has quit [Remote host closed the connection]
anathe16 has quit [Ping timeout: 256 seconds]
darkism has quit [Ping timeout: 240 seconds]
darkism has joined #ruby
darkism has quit [Client Quit]
Al2O3 has joined #ruby
hsiktas[m] has quit [Ping timeout: 265 seconds]
jhass[m] has quit [Ping timeout: 265 seconds]
gr33n7007h has quit [Ping timeout: 268 seconds]
gr33n7007h has joined #ruby
<ox1eef_> I like test-unit. And it ships as part of the stdlib.
<weaksauc_> read that too and compare and contrast approaches
gonix has joined #ruby
gonix has quit [Ping timeout: 240 seconds]
shokohsc6 has joined #ruby
shokohsc has quit [Ping timeout: 250 seconds]
shokohsc6 is now known as shokohsc
_ht has quit [Remote host closed the connection]
<havenwood> johnjaye: You might consider checking out Ronin codebase as an alternative to Metasploit.
<havenwood> ox1eef_: Minitest ftw
<havenwood> Also in stdlib :)
<weaksauc_> huh til ronin
<weaksauc_> neat
markong has joined #ruby
jhass[m] has joined #ruby
hsiktas[m] has joined #ruby
tomtmym has quit [Quit: Gone.]
micah has left #ruby [#ruby]
<isene> rsh is now usable (at least for me) for everyday use [https://github.com/isene/rsh]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 250 seconds]
desnudopenguino1 is now known as desnudopenguino
<havenwood> isene: congrats!
<weaksauc_> isene nice!
<isene> Thanks to you guys for the help in creating this
Sampersand has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
CrazyEddy has joined #ruby
markong has quit [Ping timeout: 265 seconds]