bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
roshanavand has quit [Ping timeout: 272 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
drincruz has quit [Ping timeout: 260 seconds]
ChmEarl has quit [Quit: Leaving]
drincruz has joined #ruby
DaRock has joined #ruby
yee has quit [Ping timeout: 240 seconds]
drincruz has quit [Ping timeout: 240 seconds]
stnly has quit [Quit: goodbye]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stnly has joined #ruby
jenrzzz has joined #ruby
drincruz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
<havenwood>
apotheon: PREFIX default is /usr/local
<havenwood>
apotheon: Hem, I'd think: PREFIX=/local/path make install
panorain has joined #ruby
bambanx has quit [Quit: Leaving]
jenrzzz has joined #ruby
crankharder has quit [Ping timeout: 264 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
drincruz has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
pwnd_sfw has quit [Ping timeout: 256 seconds]
mozzarella has quit [Ping timeout: 256 seconds]
panorain has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
mozzarella has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
adu has quit [Quit: adu]
jenrzzz has quit [Ping timeout: 264 seconds]
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
bitwinery has quit [Quit: Leaving]
cthulchu_ has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Quit: Quit]
Fire-Dragon-DoL has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
donofrio has quit [Remote host closed the connection]
akem_ has quit [Ping timeout: 264 seconds]
donofrio has joined #ruby
jenrzzz has joined #ruby
DaRock has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
DaRock has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
DaRock has quit [Ping timeout: 265 seconds]
DaRock has joined #ruby
johnny56_ has joined #ruby
RickHull has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
akem_ has joined #ruby
crankharder has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 260 seconds]
retropikzel has joined #ruby
johnny56_ has quit [Ping timeout: 256 seconds]
al2o3-cr has quit [Quit: WeeChat 2.9]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
johnny56_ has joined #ruby
akem_ has quit [Ping timeout: 240 seconds]
Inoperable has quit [Excess Flood]
cliluw has quit [Remote host closed the connection]
Inoperable has joined #ruby
cliluw has joined #ruby
<apotheon>
havenwood: Thanks.
akem has joined #ruby
cd has quit [Quit: cd]
rippa has joined #ruby
Inoperable has quit [Excess Flood]
Inoperable has joined #ruby
braincrash has joined #ruby
jenrzzz has joined #ruby
AnomalyXII has quit [Ping timeout: 272 seconds]
SanguineAnomaly has joined #ruby
akem has quit [Ping timeout: 256 seconds]
bocaneri has joined #ruby
Inoperable has quit [Excess Flood]
Inoperable has joined #ruby
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
braincrash has quit [Ping timeout: 272 seconds]
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
bocaneri has quit [Max SendQ exceeded]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
fippy_ has joined #ruby
fippy has quit [Ping timeout: 246 seconds]
fippy_ has quit [Quit: Leaving]
fippy has joined #ruby
drincruz has joined #ruby
pwnd_sfw has joined #ruby
braincrash has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
panorain has joined #ruby
akem has joined #ruby
akem has quit [Client Quit]
akem has joined #ruby
robotmay has quit [Quit: Be excellent to each other]
bamdad has quit [Ping timeout: 240 seconds]
bamdad has joined #ruby
DaRock has quit [Ping timeout: 260 seconds]
ignorand has joined #ruby
TCZ has joined #ruby
TCZ is now known as LowEffortTroll
DaRock has joined #ruby
duderonomy has quit [Remote host closed the connection]
duderonomy has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
wmoxam has quit [Ping timeout: 256 seconds]
Inoperable has quit [Excess Flood]
jenrzzz has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 264 seconds]
Inoperable has joined #ruby
markin has quit [Read error: Connection reset by peer]
markin has joined #ruby
VicMackey has joined #ruby
weaksauce has quit [Ping timeout: 240 seconds]
<VicMackey>
Hello! I've got a little problem with Ruby and regexps: I don't know how to properly implement and access them. https://dpaste.org/jojJ . The thing is: I tried with an "if", but Rubocop complains rightly about an assignment in the conditional clause. It also reocmmended me to use the Unless statement, but how could I access then the results without calling match again?
<VicMackey>
Thanks in advanc e
<jhass>
the if is perfectly fine, make rubocop shut up
<VicMackey>
jhass: thanks. I finally did something like this, though: https://dpaste.org/t37g
<VicMackey>
(second code block)
<jhass>
which runs the match twice (=worse performance) just to please the way too aggressive default config of rubocop
<jhass>
I guess you could pull the assignment before the conditional
<jhass>
match = DATE_REGEX.match(url); raise "..." unless match; @...
momoninja has left #ruby [#ruby]
<VicMackey>
Alright, I'm gonna try that too and check the results. Thank you!!
jmcgnh has quit [Ping timeout: 246 seconds]
Rudd0 has quit [Ping timeout: 260 seconds]
jmcgnh has joined #ruby
_mecairS` has joined #ruby
rippa has joined #ruby
_mecairS` has quit [Quit: Hi. If i ever be an Angel of Light to guide you, to lead you in every way, will you also think of me at night and day.. https://bit.ly/36blphN]
drincruz has joined #ruby
panorain has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
HugoDan has joined #ruby
HugoDan has left #ruby [#ruby]
jenrzzz has joined #ruby
DaRock has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
evdubs has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
lucasb has joined #ruby
LowEffortTroll has quit [Quit: Diabe? tkwi w szczegó?ach]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
cliluw has quit [Remote host closed the connection]
VicMackey has quit [Quit: Konversation terminated!]
vondruch has quit [Client Quit]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
crankhar1er has quit [Ping timeout: 256 seconds]
TCZ is now known as airquality
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Remote host closed the connection]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
crankharder has joined #ruby
dionysus69 has joined #ruby
s2013 has joined #ruby
jenrzzz has joined #ruby
airquality has quit [Quit: Diabe? tkwi w szczegó?ach]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
elxbarbosa has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
panorain has joined #ruby
iamgr00t has quit [Quit: afk]
Azure has quit [Read error: Connection reset by peer]
fippy has quit [Quit: Leaving]
Azure has joined #ruby
Inoperable has quit [Excess Flood]
iamgr00t has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inoperable has joined #ruby
Inoperable has quit [Excess Flood]
Inoperable has joined #ruby
roshanavand has joined #ruby
jenrzzz has joined #ruby
psj has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
Inoperable has quit [Excess Flood]
Inoperable has joined #ruby
psj has quit [Quit: ERC (IRC client for Emacs 26.3)]
cer0 has joined #ruby
orbyt_ has joined #ruby
Mikaela has quit [Quit: Ping timeout (120 seconds)]
Mikaela has joined #ruby
fippy has joined #ruby
miss0r2 has joined #ruby
<miss0r2>
Hello people. I am trying to setup an automated backup to run every day 5 minuts to midnight. so far so good. I am trying to backup some KVMs. I've found and downloaded this project, and am trying to impliment it: https://github.com/eslam-gomaa/virt-backup
<miss0r2>
But when I try to execute it it tells me that "[ Warning ] (2) Missing disk/s found, Will NOT be backed up:
<miss0r2>
said files are absolutly present at the locations mentioned. Can you guys help me figure out what is going wrong?
<miss0r2>
(I am not very good at ruby)
VicMackey has joined #ruby
<VicMackey>
Hello! I'm starting with Ruby and I've got a pair of questions: I'm trying to follow the best practices, and I'm using bundler, rake, and rspec, though I must admit I find everything a little bit fuzzy still. The questions are: 1) I've started with "bundler gem" and it has created the directory structure for me, and the initial module. I see that every class I write, should go inside a "module" block of that name. I find more clear to use the
<VicMackey>
notation ModuleName::ClassName instead of surrounding everything with an indented block, but Rubocop complains. It says it is better to surround it with a block. As it is helping me with some of the good practices of Ruby, is this standard convention? To surround every class with that block instead of using the Namespace::Class notation?
crankharder has quit [Read error: No route to host]
crankharder has joined #ruby
<VicMackey>
The second question is: when using rspec, I have put "include Module" outside the "RSpec.describe", and likewise, rubocop complains saying that it should go inside that block instead of outside, which forces me to use the notation "Rspec.describe Namespace::Classname". I find it strange though not concerning. Is this standard practice too?
<VicMackey>
Thanks in advance :)
crankharder has quit [Ping timeout: 264 seconds]
crankharder has joined #ruby
duckpuppy has quit [Read error: Connection reset by peer]
duckpuppy has joined #ruby
Inoperable has quit [Excess Flood]
jenrzzz has quit [Ping timeout: 240 seconds]
gueorgui has quit [Ping timeout: 256 seconds]
gueorgui has joined #ruby
Inoperable has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
ignorand has quit [Remote host closed the connection]
drincruz has joined #ruby
<leah2>
using the nested notation will result in issues if the outer scopes are not yet defined, and also change const lookup order
<leah2>
i recommend nesting
<leah2>
i also recommend disabling rubocop rules that annoy you ;)
<VicMackey>
leah2: alright! The thing is that Rubocop tells you how you should do it, but sometimes doesn't tell you why, as for example ShellCheck does.
<VicMackey>
I woudl like to learn without bad habits, and Rubocop seems to be created to fix those
<VicMackey>
Thank you for your answer>!
<leah2>
sometimes the cop have a comment in the source with the rationale
crankharder has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
robotmay has joined #ruby
<VicMackey>
Indeed! But sometimes it doesn't and... but I'll try to look better. Thanks !
drincruz has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
yee has joined #ruby
dionysus69 has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
crankharder has joined #ruby
panorain has quit [Remote host closed the connection]
panorain has joined #ruby
drincruz has joined #ruby
yee has quit [Ping timeout: 272 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
cer0 has quit [Quit: leaving]
drincruz has quit [Ping timeout: 246 seconds]
cd has joined #ruby
crankhar1er has joined #ruby
crankharder has quit [Ping timeout: 264 seconds]
crankhar1er has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 260 seconds]
crankharder has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
henninb has joined #ruby
crankhar1er has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
crankharder has quit [Read error: Connection reset by peer]
yee has joined #ruby
crankharder has joined #ruby
crankhar1er has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
drincruz has joined #ruby
henninb has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 272 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
queip has quit [Ping timeout: 246 seconds]
panorain has quit [Remote host closed the connection]
Fire-Dragon-DoL- has joined #ruby
roshanavand has joined #ruby
dviola has joined #ruby
queip has joined #ruby
retropikzel has quit [Quit: Leaving]
al2o3-cr has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand_ has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
roshanavand_ is now known as roshanavand
fippy has quit [Read error: Connection reset by peer]
queip has quit [Excess Flood]
queip has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yee has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 256 seconds]
also_uplime has quit [Ping timeout: 272 seconds]
Fire-Dragon-DoL- has quit [Quit: Quit]
fippy has joined #ruby
VicMackey has quit [Quit: Konversation terminated!]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fire-Dragon-DoL has quit [Quit: Quit]
weaksauce has joined #ruby
Fire-Dragon-DoL has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
bambanx has joined #ruby
drincruz has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
bmurt has joined #ruby
evdubs has joined #ruby
dfucci has quit [Ping timeout: 272 seconds]
postmodern has joined #ruby
yee has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Quit: Quit]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]