havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 2.7.2, 2.6.6, 3.0.0-preview1: 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 | Can't talk? Register/identify with NickServ
ruskie has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
cow[moo] has joined #ruby
ur5us_ has joined #ruby
DTZUZU is now known as toxix
XV8 has joined #ruby
pwnd_sfw1 has joined #ruby
braincrash has quit [Ping timeout: 264 seconds]
pwnd_sfw has quit [Ping timeout: 272 seconds]
pwnd_sfw1 is now known as pwnd_sfw
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] 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
m27frogy has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
m27frogy has joined #ruby
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
cow[moo] has joined #ruby
akem__ has joined #ruby
akem_ has quit [Ping timeout: 272 seconds]
Rudd0 has quit [Ping timeout: 240 seconds]
johnny56 has quit [Ping timeout: 272 seconds]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 256 seconds]
gueorgui has quit [Ping timeout: 260 seconds]
johnny56 has joined #ruby
gueorgui has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
johnny56 has quit [Ping timeout: 240 seconds]
jobewan has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 256 seconds]
chouhoulis has quit [Remote host closed the connection]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
ChmEarl has quit [Quit: Leaving]
johnny56 has joined #ruby
teclator has quit [Ping timeout: 260 seconds]
gg1025 has joined #ruby
<gg1025> Hi All, I posted a question on https://www.ruby-forum.com/t/watir-element-intercepted/260484 and haven't received any help. Not sure how to get help here but can anybody help me with this above question? Much appreciated.
teclator has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
teclator has quit [Ping timeout: 256 seconds]
teclator has joined #ruby
paydro has joined #ruby
johnny56 has joined #ruby
Rudd0 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
teclator has quit [Ping timeout: 246 seconds]
<pwnd_sfw> gg1025 so does it work or it doesn't work..
<pwnd_sfw> I'm going to say your post does not offer enough information
<pwnd_sfw> either way
johnny56 has joined #ruby
<gg1025> unfortunately it does not work as expected. it works in the sense that it adds an item to the cart, then crashes with an error message about an element being intercepted.
<gg1025> what additional information do you need?
cthulchu_ has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
johnny56 has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 260 seconds]
duderonomy has joined #ruby
donofrio has quit [Remote host closed the connection]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 256 seconds]
crankharder has quit [Ping timeout: 256 seconds]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
johnny56 has joined #ruby
s2013 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
johnny56 has joined #ruby
bocaneri has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
gavlee has quit [Quit: Reboot :(]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
johnny56 has joined #ruby
roadie has joined #ruby
x0n has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
dfucci has joined #ruby
dan64- has joined #ruby
dan64 has quit [Ping timeout: 256 seconds]
anemoiac has quit [Read error: Connection reset by peer]
teclator has joined #ruby
Flonk has quit [Ping timeout: 246 seconds]
johnny56 has quit [Ping timeout: 240 seconds]
Flonk has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
roadie has joined #ruby
Glumetu has joined #ruby
vondruch has joined #ruby
jenrzzz has joined #ruby
johnny56 has joined #ruby
<Cork> Is there an efficient way to get the privious ip in ruby if one have an ip mask and an ip?
jenrzzz has quit [Ping timeout: 246 seconds]
<Cork> ex. "192.168.1.192/26" and "192.168.1.204"
cloud69 has joined #ruby
gavlee has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
plant_enjoyer has joined #ruby
cd has quit [Quit: cd]
VicMackey has joined #ruby
philCryo_ has joined #ruby
baojg has quit [Remote host closed the connection]
Milos has quit [Remote host closed the connection]
fowl has quit [Ping timeout: 246 seconds]
philCryo has quit [Ping timeout: 240 seconds]
fowl has joined #ruby
Milos has joined #ruby
crankharder has joined #ruby
baojg has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
plant_enjoyer has quit [Quit: Leaving]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
johnny56 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnny56 has quit [Ping timeout: 240 seconds]
<Cork> fippy: ah, that is way more then what i need, i just need the static in mask prev ip :)
<Cork> i ended up replacing NetAddr::CIDR.create("192.168.1.192/26").broadcast with IPAddr.new("192.168.1.192/26").to_range.last(2).first
<Cork> a bit ugly but seams to have decent performance
Tziltzal has joined #ruby
<Cork> haven't found anyway to take it from random ip though
<Tziltzal> Hi. Is there a way to give symmetric different/set difference a predicate to compare by?
johnny56 has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
teclator has quit [Ping timeout: 256 seconds]
teclator has joined #ruby
phaul has quit [Ping timeout: 256 seconds]
rubydoc has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
<nakilon> Tziltzal what do you mean?
rubydoc has joined #ruby
<nakilon> there is array.uniq{ |i| ... } and there is Set stdlib ^ method: https://ruby-doc.org/stdlib-2.7.2/libdoc/set/rdoc/Set.html#method-i-5E
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nakilon> and you can emulate it with Array because it has methods &, | and -
<Tuor> Hi, I did some work in the past weeks on https://gitlab.com/nod0n/backup-the-backup. Any suggestions, "dos and don'ts", or genreal comments?
<nofrex> a README is usually a good idea
<nofrex> is this a tool for personal use only, or for other people to use too?
braincrash has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
chalkmonster has joined #ruby
<Tuor> Ah maybe the README would have the answer if there were one: This tool does backup the data produced by Trilio Backup for Red Hat Virtualization. It backups the RHV Backup. Why? Trilio does miss the possibility to delete snapshots after some time but keeping for example one a week and later one a month and it has no disaster recovery strategy. This tools aims to fill that gap. First it should the what we need it to do, but if some other people have intrest
<Tuor> in it, we can colaborate. ;)
jenrzzz has quit [Ping timeout: 260 seconds]
zyextant has joined #ruby
johnny56 has joined #ruby
cloud69 has quit [Quit: Connection closed for inactivity]
infinityfye has quit [Quit: Leaving]
crankharder has joined #ruby
infinityfye has joined #ruby
dfucci has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 240 seconds]
johnny56 has quit [Ping timeout: 272 seconds]
zyxtant has joined #ruby
zyextant has quit [Ping timeout: 272 seconds]
dfucci has joined #ruby
johnny56 has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.9]
johnny56 has quit [Ping timeout: 240 seconds]
<rapha> hi all
<rapha> say, good people, is there a way to tell Psych's #to_yaml to always use the |-\n form for strings with newlines in them, instead of the "" form?
<rapha> or does it make that decision based on information i'm not thinking of rn?
DaRock has joined #ruby
johnny56 has joined #ruby
<Tuor> nofrex: I added a README https://gitlab.com/nod0n/backup-the-backup
<nofrex> Tuor: cool, that's very helpful
chalkmonster has joined #ruby
fippy has quit [Remote host closed the connection]
fippy has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
kent\n has quit [Ping timeout: 264 seconds]
kent\n has joined #ruby
noctux has quit [Read error: Connection reset by peer]
noctux has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
Tziltzal has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Tziltzal has joined #ruby
Axy has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
crankharder has joined #ruby
noctux has quit [Remote host closed the connection]
noctux has joined #ruby
ujjain has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ujjain has joined #ruby
ujjain has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Pitbull has joined #ruby
BenDover has joined #ruby
chalkmonster has quit [Ping timeout: 240 seconds]
Pitbull 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]
apotheon has quit [Ping timeout: 260 seconds]
apotheon has joined #ruby
waqstar has joined #ruby
<waqstar> Hi
donofrio has joined #ruby
infinityfye has quit [Ping timeout: 240 seconds]
infinityfye has joined #ruby
<waqstar> I installed fluentd which comes with ruby. I do ruby -v and can see this: ruby 2.4.5p335 (2018-10-18 revision 65137) [x64-mingw32] - however doing an install using gem install I get "you need to install development tools first"
<waqstar> I thought mingw32 comes with the development tools?
<nakilon> whoever it was who suggested me to use Timeout.timeout, it indeed resulted in ruby processes to stop accumulate
<nakilon> but now zombie ffmpeg processes from .timeout{ system "ffmpeg ..." } are accumulating
crankharder has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
howdoi has joined #ruby
XV8 has quit [Quit: Textual IRC Client: www.textualapp.com]
waqstar has quit []
<gg1025> Hi All, I posted a question on https://www.ruby-forum.com/t/watir-element-intercepted/260484 and haven't received any help. Not sure how to get help here but can anybody help me with this above question? Much appreciated.
bmurt has joined #ruby
chouhoulis has joined #ruby
<adam12> gg1025: Not familiar with Watir but Google's suggesting that this might be an element in front of the element you want to click, and adding a delay might be a solution.
<adam12> gg1025: In all honesty, I might see if you could replace Watir with Ferrum. I think it should be fairly similar, but the benefits is that you're using the Chrome CDP to drive it directly, and not going through Selenium which can be sometimes a black box.
<gg1025> @adam12 thanks. That's what's weird. there isn't an element in front of it. the element in question is a menue on the side. I've used Selenium with python and used a similar function to get the same response. I'll try using Ferrum and see what the outcome might be.
<adam12> gg1025: Unfortunately too hard to debug something like this as a 3rd party. I'd need to see the URL and the script, and install all the dependencies. I don't think it's a Ruby issue more so a race condition or an issue with the webdriver.
sagax has joined #ruby
<adam12> gg1025: if you can see the browser while it's being driven, that would probably help (I presume you have in some way to identify the menu on the side)
<gg1025> adam12: Gotcha. I'll put in a delay and see if it will help. otherwise back to the drawing board ;)
<gg1025> adam12 I just looked at the error and tracked it down to the partical element based on it's info
al2o3-cr has joined #ruby
ChmEarl has joined #ruby
mjacob has quit [Read error: Connection reset by peer]
mjacob has joined #ruby
Pitbull has joined #ruby
ignorand has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
ua_ has quit [Read error: Connection reset by peer]
akem_ has joined #ruby
akem__ has quit [Ping timeout: 240 seconds]
ua has joined #ruby
gg1025 has quit [Ping timeout: 256 seconds]
fippy has quit [Quit: Leaving]
Omnilord has joined #ruby
paydro has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
johnny56 has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
ellcs has joined #ruby
VicMackey has quit [Quit: Konversation terminated!]
ellcs has quit [Ping timeout: 264 seconds]
Tziltzal has quit [Ping timeout: 264 seconds]
ellcs has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
Tziltzal has joined #ruby
banisterfiend has joined #ruby
Glumetu has quit [Quit: Glumetu]
Pitbull has quit [Quit: Diabe? tkwi w szczegó?ach]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
greypack has quit [Ping timeout: 256 seconds]
kent\n has quit [Ping timeout: 272 seconds]
kent\n has joined #ruby
DaRock has quit [Ping timeout: 272 seconds]
greypack has joined #ruby
ignorand has quit [Disconnected by services]
johnny56 has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
akem_ is now known as akem
howdoi has quit [Quit: Connection closed for inactivity]
Technodrome has joined #ruby
johnny56 has joined #ruby
SeepingN has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
c0san0stra has quit [Ping timeout: 256 seconds]
c0san0stra has joined #ruby
ua has quit [Excess Flood]
ua has joined #ruby
johnny56 has quit [Ping timeout: 256 seconds]
ellcs has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
<Tuor> Hi, why do I have to rewind after writing to a temporary file? https://gitlab.com/nod0n/backup-the-backup/-/commit/292cf18d919c76a6f15bf3e2013ae7bae9b4ee22
<Tuor> My code doesn't work without it. But this works in pry: `File.open('/tmp/asdf.txt', 'w+') do |f| f.write('asdf') end`
ellcs has joined #ruby
howdoi has joined #ruby
maryo has joined #ruby
ua has quit [Quit: Leaving]
<nakilon> Tuor, try f.flush
<nakilon> maybe .write flushes implicitely
vondruch has quit [Read error: Connection reset by peer]
maryo has quit [Quit: Leaving]
_aeris has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris is now known as _aeris_
cthulchu_ has joined #ruby
toxix has quit [Ping timeout: 256 seconds]
dfucci has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
ua has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
toxix has joined #ruby
_paul0 has quit [Remote host closed the connection]
paul0 has joined #ruby
dfucci has joined #ruby
philCryo_ has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 240 seconds]
philCryo has joined #ruby
philCryo has quit [Client Quit]
dfucci has joined #ruby
edwardly has quit [Ping timeout: 260 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
Tziltzal has quit [Ping timeout: 272 seconds]
crankharder has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
buckworst has joined #ruby
buckworst has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Rudd0 has quit [Ping timeout: 272 seconds]
buckworst has joined #ruby
braincrash has quit [Ping timeout: 256 seconds]
bocaneri has quit [Remote host closed the connection]
boc_tothefuture has joined #ruby
boc_tothefuture has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
BTRE has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
jenrzzz has joined #ruby
ur5us_ has joined #ruby
akem has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
buckwors1 has joined #ruby
buckworst has quit [Ping timeout: 240 seconds]
Pitbull has joined #ruby
m27frogy has quit [Ping timeout: 240 seconds]
gix has joined #ruby
cd has joined #ruby
<apotheon> interesting link
<Pitbull> THANKS
<apotheon> Some comments in each source file explaining what's being implemented would make it easier to navigate.
<apotheon> . . . or maybe a README in each chapter directory explaining what algorithms are implemented in each file.
<Pitbull> Each file is answer to exercise from https://www.amazon.com/Essential-Algorithms-Rod-Stephens/dp/1118612108
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
buckwors1 has quit [Quit: WeeChat 2.9]
<apotheon> Pitbull: Sure, but the solutions might be interesting for people who don't have the book, too.
<Pitbull> Hmmm. Maybe I'll add some links to particular algorithms ;o
<apotheon> It might also help potential employers find value in this archive as hiring criteria.
jenrzzz has joined #ruby
bambanx has joined #ruby
davispuh has joined #ruby
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
jinie has joined #ruby
edwardly has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zyxtant has quit [Ping timeout: 265 seconds]
ellcs has quit [Ping timeout: 240 seconds]
dfucci has quit [Ping timeout: 256 seconds]
akem has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
akem has quit [Client Quit]
akem has joined #ruby
Technodrome has joined #ruby
Rudd0 has joined #ruby
ignorand has joined #ruby
poguez_ has joined #ruby
paul0 has quit [Ping timeout: 272 seconds]
Pitbull has quit [Quit: Diabe? tkwi w szczegó?ach]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
paul0 has joined #ruby
gdonald has joined #ruby
paul0 has quit [Ping timeout: 260 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
toxix is now known as DTZUZU
<Tuor> nakilon: will try. :)
paul0 has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cd has quit [Quit: cd]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
infinityfye has quit [Quit: Leaving]
<bodgix> ∆2
cd has joined #ruby
m27frogy has joined #ruby
Pitbull has joined #ruby
roshanavand_ has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
coyo has quit [Ping timeout: 260 seconds]