havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: 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!
arzWZM has quit [Ping timeout: 246 seconds]
arzWZM has joined #ruby
BSaboia has joined #ruby
akem_ has joined #ruby
akem has quit [Read error: Connection reset by peer]
lightstalker has quit [Ping timeout: 240 seconds]
lightstalker has joined #ruby
drincruz has joined #ruby
DaRock has joined #ruby
Iambchop has quit [*.net *.split]
matti has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
timwis has quit [*.net *.split]
Liothen has quit [*.net *.split]
Chew has quit [*.net *.split]
Atro has quit [*.net *.split]
cstrahan has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
gajus has quit [*.net *.split]
darthThorik has quit [*.net *.split]
Mutsuhito has quit [*.net *.split]
Net has quit [*.net *.split]
fowlduck has quit [*.net *.split]
turt2live has quit [*.net *.split]
apotheon has quit [*.net *.split]
Vashy has quit [*.net *.split]
podman has quit [*.net *.split]
d0liver has quit [*.net *.split]
cranq has quit [*.net *.split]
jegade has quit [*.net *.split]
legit has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
michael_mbp has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
cstrahan has joined #ruby
turt2live has joined #ruby
hahuang65 has joined #ruby
Iambchop has joined #ruby
timwis has joined #ruby
matti has joined #ruby
Liothen has joined #ruby
Chew has joined #ruby
gajus has joined #ruby
Atro has joined #ruby
Vashy has joined #ruby
Mutsuhito has joined #ruby
darthThorik has joined #ruby
legit has joined #ruby
cranq has joined #ruby
Kilo`byte has joined #ruby
Net has joined #ruby
fowlduck has joined #ruby
d0liver has joined #ruby
podman has joined #ruby
apotheon has joined #ruby
jegade has joined #ruby
cranq has quit [Max SendQ exceeded]
prkn8[m] has quit [Remote host closed the connection]
newalexandria[m4 has quit [Write error: Connection reset by peer]
M_ka_Manchotix[m has quit [Remote host closed the connection]
simi[m] has quit [Remote host closed the connection]
Vagabond[m] has quit [Remote host closed the connection]
tranch[m] has quit [Write error: Connection reset by peer]
doug[m]1 has quit [Write error: Connection reset by peer]
execat[m] has quit [Write error: Connection reset by peer]
finn[m] has quit [Write error: Connection reset by peer]
sepp2k has quit [Read error: Connection reset by peer]
nod0n[m] has quit [Write error: Connection reset by peer]
drincruz has quit [Quit: WeeChat 2.8]
cranq has joined #ruby
turt2live has quit [Write error: Connection reset by peer]
hsiktas[m] has quit [Write error: Connection reset by peer]
linuus[m] has quit [Write error: Connection reset by peer]
batisi[m] has quit [Remote host closed the connection]
timwis has quit [Ping timeout: 270 seconds]
matti has quit [Ping timeout: 270 seconds]
drincruz has joined #ruby
ur5us has joined #ruby
matti has joined #ruby
timwis has joined #ruby
linuus[m] has joined #ruby
drincruz has quit [Ping timeout: 264 seconds]
Iarfen has quit [Remote host closed the connection]
execat[m] has joined #ruby
newalexandria[m] has joined #ruby
finn[m] has joined #ruby
hsiktas[m] has joined #ruby
turt2live has joined #ruby
doug[m]1 has joined #ruby
sepp2k has joined #ruby
nod0n[m] has joined #ruby
tranch[m] has joined #ruby
simi[m] has joined #ruby
prkn8[m] has joined #ruby
Vagabond[m] has joined #ruby
batisi[m] has joined #ruby
M_ka_Manchotix[m has joined #ruby
phablet_ has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 256 seconds]
Garb0 has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
drincruz has joined #ruby
zacts has joined #ruby
orbyt_ has joined #ruby
dnadev2 has quit [Quit: Leaving]
ajay has joined #ruby
<ajay> Hey.
ajay has quit [Client Quit]
<havenwood> aj, hi
<leftylink> too bad
Garb0_ has joined #ruby
Garb0 has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
bruce_lee has quit [Ping timeout: 256 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
zacts has quit [Quit: WeeChat 2.8]
braincrash has quit [Quit: bye bye]
cthulchu_ has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
braincrash has joined #ruby
wymillerlinux has quit [Ping timeout: 246 seconds]
zacts has joined #ruby
fabio_ has joined #ruby
MadLamb has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
rose_nd_ash has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem_ has quit [Quit: Leaving]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
ChmEarl has quit [Quit: Leaving]
imode has joined #ruby
skape has quit [Quit: Connection closed for inactivity]
arzWZM has quit [Ping timeout: 240 seconds]
arzWZM has joined #ruby
CrazyEddy has joined #ruby
akem has joined #ruby
akem has quit [Remote host closed the connection]
konsolebox has quit [Read error: Connection reset by peer]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz has quit [Ping timeout: 264 seconds]
konsolebox has joined #ruby
rose_nd_ash has joined #ruby
pabs has joined #ruby
pabs has quit [Client Quit]
rose_nd_ash has quit [Ping timeout: 240 seconds]
pabs has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
itok_ has quit []
itok_ has joined #ruby
itok_ has quit [Client Quit]
itok has joined #ruby
Phoebus has joined #ruby
rose_nd_ash has joined #ruby
schne1der has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
rose_nd_ash has joined #ruby
mossplix has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
arzWZM has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 256 seconds]
rose_nd_ash has joined #ruby
ritalinona has quit [Quit: Leaving]
rose_nd_ash has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 2.8]
rose_nd_ash has joined #ruby
mossplix has quit [Remote host closed the connection]
imode has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
mossplix has joined #ruby
dionysus69 has joined #ruby
ur5us has joined #ruby
dionysus69 has quit [Remote host closed the connection]
ruurd has joined #ruby
deimos_ has quit [Remote host closed the connection]
Mikaela has quit [Quit: Mikaela]
Mikaela has joined #ruby
deimos_ has joined #ruby
chalkmonster has joined #ruby
mossplix has quit [Remote host closed the connection]
fabio_ has quit [Remote host closed the connection]
teclator has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mnathani has quit [Read error: Connection reset by peer]
mnathani has joined #ruby
arzWZM has joined #ruby
sphex has quit [Ping timeout: 240 seconds]
sphex has joined #ruby
mossplix has joined #ruby
ellcs has joined #ruby
shokohsc has quit [Quit: The Lounge - https://thelounge.chat]
ellcs has quit [Ping timeout: 244 seconds]
rose_nd_ash has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 2.8]
rose_nd_ash has joined #ruby
arzWZM has quit [Ping timeout: 246 seconds]
arzWZM has joined #ruby
rose_nd_ash has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
shokohsc has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
mossplix has joined #ruby
zacts has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
zacts has quit [Quit: WeeChat 2.8]
schne1der has quit [Quit: schne1der]
schne1der has joined #ruby
rose_nd_ash has joined #ruby
giorgian has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
rose_nd_ash has quit [Remote host closed the connection]
cd has quit [Quit: cd]
konsolebox has joined #ruby
BSaboia has joined #ruby
roadie has joined #ruby
sphex has quit [Ping timeout: 264 seconds]
sphex has joined #ruby
rose_nd_ash has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
schne1der has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
MrCrackPot has joined #ruby
Frobozz has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
fercell has joined #ruby
Secret-Fire has quit [Read error: Connection reset by peer]
drincruz has joined #ruby
Secret-Fire has joined #ruby
Frobozz has quit [Quit: quit]
plutes has quit [Quit: If you judge me now, you have judge me prematurely.]
troulouliou_div2 has joined #ruby
Secret-Fire has quit [Remote host closed the connection]
drincruz has quit [Ping timeout: 256 seconds]
MrCrackPot has quit [Quit: Leaving]
Secret-Fire has joined #ruby
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
drincruz has joined #ruby
schne1der has joined #ruby
rose_nd_ash has joined #ruby
Phoebus has quit [Quit: Connection closed for inactivity]
Vashy has quit [Quit: ZNC - http://znc.in]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
mossplix has quit [Remote host closed the connection]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
arzWZM has quit [Ping timeout: 256 seconds]
mossplix has joined #ruby
venmx has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
arzWZM has joined #ruby
lxsameer has joined #ruby
mossplix has quit [Remote host closed the connection]
hiroaki has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
_aeris_ has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
ChmEarl has joined #ruby
rose_nd_ash has quit [Quit: Leaving...]
konsolebox has joined #ruby
mossplix has joined #ruby
lucasb has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
SeepingN has joined #ruby
roadie has joined #ruby
ellcs has joined #ruby
<Tuor> Hi, this is my code right now: https://paste.ubuntu.com/p/PHFVMZxWDj/ I would like to now search in the names, old_names, ipv4s, if a string matches. The purpose of the script is: a user can enter a part of an ip address or name and get listet all matching servers. :)
fercell has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
skape has joined #ruby
<adam12> Tuor: Since you're working with Strings, it should be easy enough. Maybe the Servers class has a search method that accepts a term and asks all the servers if they might match that term.
alfiemax_ has joined #ruby
Mikaela9 has joined #ruby
<Tuor> first test was successfull... https://paste.ubuntu.com/p/RGJrhFJm8K/
<Tuor> thx adam12
Nicmavr has joined #ruby
Mikaela has quit [Quit: Ping timeout (120 seconds)]
alfiemax has quit [Ping timeout: 240 seconds]
Mikaela9 is now known as Mikaela
konsolebox has quit [Read error: Connection reset by peer]
<adam12> Tuor: Yeah I like it.
<adam12> Tuor: I'd look at Enumerable#select. Maybe you want to select if name.match(pattern) or description.match(pattern). etc :)
<Tuor> My csv data seems to not be complete, some ipv4 addresses are missing, now I got a "undefined method `match' for nil:NilClass (NoMethodError)". I have to skip the check, if it does not have a match method...
<Tuor> adam12: will do :)
alfiemax has joined #ruby
alfiemax_ has quit [Ping timeout: 246 seconds]
roadie has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
<Tuor> select is working. :)
TCZ has joined #ruby
<Tuor> adam12: look at that: https://paste.ubuntu.com/p/ZqxSBdbNgM/
Nicmavr has quit [Remote host closed the connection]
<Tuor> one thing left, the user should be able to pass the search string as script param not as hard coded string... ;)
axisys has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
roadie has joined #ruby
rippa has joined #ruby
<adam12> Tuor: You likely want ARGV, the global. https://ruby-doc.com/core/doc/globals_rdoc.html
rose_nd_ash has quit [Remote host closed the connection]
roadie has quit [Ping timeout: 272 seconds]
konsolebox has quit [Read error: Connection reset by peer]
howdoi has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
sagax has quit [Read error: Connection reset by peer]
Garb0_ has quit [Read error: Connection reset by peer]
rose_nd_ash has joined #ruby
davispuh has joined #ruby
konsolebox has joined #ruby
justache has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
justache has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
TCZ has quit [Quit: Leaving]
zacts has joined #ruby
cthulchu_ has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
orbyt_ has joined #ruby
zacts has quit [Client Quit]
zacts has joined #ruby
roadie has joined #ruby
donofrio has quit [Remote host closed the connection]
imode has joined #ruby
xco has joined #ruby
xco has quit [Client Quit]
fercell has quit [Quit: WeeChat 2.8]
ujjain2 has joined #ruby
roadie has quit [Ping timeout: 246 seconds]
greengriminal has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
venmx has quit [Quit: leaving]
ellcs has quit [Ping timeout: 260 seconds]
vondruch has quit [Ping timeout: 256 seconds]
rose_nd_ash has joined #ruby
phykos has joined #ruby
xco has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
<xco> has anyone got some opinions to share on a standing desk?
rose_nd_ash has joined #ruby
<phykos> guys I got this (https://termbin.com/7gqx) while compiling master, what should I do?
ujjain2 has quit [Ping timeout: 256 seconds]
alfiemax_ has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
roadie has joined #ruby
rose_nd_ash has quit [Quit: Leaving...]
rose_nd_ash has joined #ruby
DaRock has quit [Ping timeout: 240 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
xco has joined #ruby
<havenwood> phykos: The trunk branch doesn't always compile, fwiw.
<havenwood> phykos: It's unstable.
<havenwood> phykos: Does 2.7.1 compile?
<havenwood> phykos: What distro?
<havenwood> xco: I have an Ikea IDÅSEN that's sturdy and functional.
drincruz has joined #ruby
rose_nd_ash has quit [Quit: Leaving...]
dionysus69 has quit [Read error: Connection reset by peer]
<adam12> xco: I use an Ikea tabletop (solid wood) and a sit-stand base from PrimeCables.ca.
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
<xco> havenwood adam12 do you use this daily? How many hours at a time? does is help in lower back pain relief?
rose_nd_ash has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Client Quit]
<adam12> xco: I use the desk daily _but_ I stand very little lately. It's hard to gain a rythm. It was easier when it was _always_ a standing desk (the desk before this one).
<adam12> xco: for my lower back pain, I make a conscious effort to keep my feet planted on the floor. If I'm messing around (browsing HN/etc), I'm notorious for putting my feet up and sitting sideways, messing up the back.
phykos has quit [Quit: Leaving]
<leftylink> but my feet dno't feel as comfortable. I wonder if a mat would help
<adam12> fatigue mats definitely help. Wearing shoes can help too.
<leftylink> ah... shoes. right
<havenwood> Introducing RBS, Ruby’s new type signature language: https://developer.squareup.com/blog/the-state-of-ruby-3-typing/
<leftylink> you know, somehow I would not have thought of the shoes thing
<havenwood> No, not shoes!
<adam12> leftylink: It feels strange to wear them in the house, at least where I am (cultural, etc). Maybe it's more common in other areas. But it definitely helps.
<havenwood> Lems are nice if you must stuff your feet into foot boxes.
<adam12> xco: There's also different chair options like the kneeling chair or balance ball, if you're so inclined.
<xco> adam12 shoes? hm. i never would have thought of that...
<adam12> I feel like RSI is going to get me before the back pain.
<havenwood> xco: I actually lie down more than standing. ¯\_(ツ)_/¯
<havenwood> xco: I just prop my computer so I can type.
<havenwood> xco: I don't really use the standing desk properly. I do like my wobbly stool to sit.
<xco> havenwood i lied down too but i have a bigger screen while at my desk :(. serious dilemma... to lie or not to lie :(
<havenwood> xco: I'm waiting on my 16" laptop to replace this 15" with broken keys. I'll type so much faster without all the missed strokes.
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
<xco> havenwood preach, i have some missed keys too so i bought the magic keyboard to replace it :D
Sauvin has quit [Read error: Connection reset by peer]
gix has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
<havenwood> RBS FTW! \o/
<havenwood> Chistmas is coming...
<adam12> havenwood: Which 16"?
<havenwood> adam12: MBP, unsure on specs.
uplime is now known as [
<leftylink> oh
<leftylink> looks like that is the one with an esc key
<leftylink> that is exciting.
<leftylink> ... although these days I usually use an external keyboard anyway so it doesn't even matter
<leftylink> I don't understand how people avoid accidentally touching the touch bar when typing numbers though
cnsvc has joined #ruby
schne1der has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
plutes has joined #ruby
plutes has quit [Max SendQ exceeded]
plutes has joined #ruby
zacts has quit [Quit: WeeChat 2.8]
teclator has joined #ruby
Bounga has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
TCZ has joined #ruby
ur5us has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jetchisel has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
cd has joined #ruby
konsolebox has joined #ruby
kinduff has quit [Quit: Ping timeout (120 seconds)]
kinduff has joined #ruby
cyrus_mc_ has joined #ruby
TCZ has quit [Quit: Leaving]
wymillerlinux has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
fredolinhares has joined #ruby
Bounga has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
konsolebox has quit [Read error: Connection reset by peer]
leitz has joined #ruby
<leitz> Just starting to look at Bundler. Is there an easy way to keep the Gemfile gem list and the my_program.gemspec gem list in sync?
<CommunistWolf> you can tell the one to pull from the other
<CommunistWolf> but I forget which one is which
<leitz> CommunistWolf, thanks! Reading now.
konsolebox has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
<adam12> leitz: Inside your Gemfile, just put `gemspec` after `source`.
<adam12> leitz: You can mix and match too; keep development dependencies in Gemfile after/before gemspec, and just production dependencies in .gemspec
bambanx has joined #ruby
<leitz> adam12, thanks! I'm giving it a go, but it's been a long day.
<leitz> I've avoided bundler for as long as possible, but a friend wants to help with some code, and getting everything set up with Ruby is harder for him.
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greypack has joined #ruby
<adam12> leitz: Bundler has it's warts but I'm not sure I could ever go back..
drincruz has quit [Ping timeout: 240 seconds]
<leitz> adam12, is bundler just used for development? That is, if I install "my_gem", and it installs and dependencies, is bundler needed at that point?
bambanx has quit [Ping timeout: 246 seconds]
zacts has joined #ruby
zacts has quit [Client Quit]
zacts has joined #ruby
<CommunistWolf> it's mostly for development. there is a deploy mode that packages all the dependent gems up, but I've never seen anyone use it
<adam12> CommunistWolf: I've noticed the Eventide project uses bundler --standalone.
<adam12> leitz: Development / application deploys mostly.