00:20
gitter1234 has quit [Quit: Connection closed for inactivity]
00:29
darkstardevx has joined #ruby
00:31
mikecmpbll has quit [Quit: inabit. zz.]
00:50
braj has joined #ruby
00:56
kinduff has quit [Read error: Connection reset by peer]
00:57
kinduff has joined #ruby
00:57
wymillerlinux has quit [Quit: wymillerlinux]
00:57
wymillerlinux has joined #ruby
01:20
d3bug has joined #ruby
01:22
impermanence has joined #ruby
01:41
impermanence has quit [Quit: Connection closed]
01:44
drincruz has quit [Ping timeout: 265 seconds]
01:47
xco has joined #ruby
01:54
ChmEarl has quit [Quit: Leaving]
02:03
ur5us has quit [Ping timeout: 260 seconds]
02:08
fredolinhares has joined #ruby
02:17
jinmiaoluo has joined #ruby
02:25
Xiti has quit [Quit: Leaving]
02:36
ur5us has joined #ruby
02:40
drincruz has joined #ruby
02:42
gitter1234 has joined #ruby
02:49
jinmiaoluo has quit [Ping timeout: 265 seconds]
02:51
Xiti has joined #ruby
02:51
jinmiaoluo has joined #ruby
02:55
drincruz has quit [Ping timeout: 256 seconds]
03:01
jinmiaoluo has quit [Ping timeout: 246 seconds]
03:01
lucianp has quit [Ping timeout: 246 seconds]
03:03
jinmiaoluo has joined #ruby
03:08
lucianp has joined #ruby
03:08
fredolinhares has quit [Read error: Connection reset by peer]
03:08
fredolinhares has joined #ruby
03:09
jinmiaoluo has quit [Remote host closed the connection]
03:10
jinmiaoluo has joined #ruby
03:21
jinmiaoluo has quit [Ping timeout: 246 seconds]
03:23
jinmiaoluo has joined #ruby
03:29
jinmiaoluo has quit [Ping timeout: 256 seconds]
03:31
braj has joined #ruby
03:32
jinmiaoluo has joined #ruby
03:57
kristian_on_linu has quit [Remote host closed the connection]
03:57
fredolinhares has quit [Read error: Connection reset by peer]
04:06
<
sparr >
how should I set a hash key iff it's not already set?
04:06
<
sparr >
hash[key] = hash.fetch(key,newval) # seems awkward
04:07
<
havenwood >
sparr: hash[key] ||= new_val
04:08
wymillerlinux has quit [Ping timeout: 240 seconds]
04:09
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:15
lxsameer has quit [Ping timeout: 256 seconds]
04:17
lxsameer has joined #ruby
04:19
renich has quit [Quit: renich]
04:20
LenPayne has joined #ruby
04:22
jinmiaoluo has quit [Quit: WeeChat 2.8]
04:22
jinmiaoluo has joined #ruby
04:24
cliluw has quit [Ping timeout: 265 seconds]
05:04
cthulchu_ has quit [Ping timeout: 260 seconds]
05:11
ur5us has quit [Ping timeout: 260 seconds]
05:12
gitter1234 has quit [Quit: Connection closed for inactivity]
05:14
jinmiaoluo has quit [Ping timeout: 256 seconds]
05:16
jinmiaoluo has joined #ruby
05:30
jinmiaoluo has quit [Ping timeout: 256 seconds]
05:33
sauvin has joined #ruby
05:39
xco has joined #ruby
05:49
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:50
sauvin is now known as Sauvin
05:51
ldepandis has joined #ruby
06:16
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:22
jinmiaoluo has joined #ruby
06:25
grimgnr has joined #ruby
06:39
venmx has joined #ruby
06:50
jinmiaoluo has quit [Ping timeout: 264 seconds]
06:50
conta has joined #ruby
07:07
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
07:13
romanlevin has joined #ruby
07:14
vondruch has joined #ruby
07:26
Emmanuel_Chanel has joined #ruby
07:36
d3bug has quit [Quit: Connection closed for inactivity]
07:38
howdoi has quit [Quit: Connection closed for inactivity]
07:44
jinmiaoluo has joined #ruby
08:03
conta has quit [Quit: conta]
08:06
mikecmpbll has joined #ruby
08:09
cd has quit [Quit: cd]
08:19
gato has joined #ruby
08:20
ur5us has joined #ruby
08:21
xco has joined #ruby
08:28
cnsvc_ has joined #ruby
08:33
cnsvc_ has quit [Ping timeout: 240 seconds]
08:35
dionysus69 has joined #ruby
08:53
<
sol_ >
im on windows 7 ruby 2.6.6 x64: "rubocop --help" needs ower 7 seconds to execute
09:05
Pascal is now known as r3m
09:05
r3m has quit [Quit: WeeChat 2.9-dev]
09:06
r3m has joined #ruby
09:19
imode has quit [Ping timeout: 272 seconds]
09:20
darkstardevx has quit [Ping timeout: 260 seconds]
09:48
gix has joined #ruby
09:49
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:56
chalkmonster has joined #ruby
10:10
roadie has joined #ruby
10:18
xco has joined #ruby
10:23
gato has quit [Quit: Connection closed]
10:33
akem has quit [Ping timeout: 272 seconds]
10:34
ur5us has quit [Ping timeout: 260 seconds]
10:40
cnsvc_ has joined #ruby
10:40
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:46
cnsvc_ has quit [Ping timeout: 240 seconds]
10:54
FastJack has quit [Ping timeout: 256 seconds]
10:55
FastJack has joined #ruby
11:10
jinmiaoluo has quit [Ping timeout: 260 seconds]
11:22
kinduff has quit [Read error: Connection reset by peer]
11:22
xco has joined #ruby
11:23
kinduff has joined #ruby
11:35
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:36
xco has joined #ruby
11:48
drincruz has joined #ruby
11:56
TCZ has joined #ruby
11:57
drincruz has quit [Ping timeout: 240 seconds]
11:57
akem has joined #ruby
12:06
TCZ has quit [Quit: Leaving]
12:08
burningserenity has joined #ruby
12:10
akem has quit [Ping timeout: 256 seconds]
12:11
akem has joined #ruby
12:30
meinside has quit [Quit: Connection closed for inactivity]
12:32
infinityfye has joined #ruby
12:35
drincruz has joined #ruby
12:41
gix has quit [Quit: Client exiting]
12:43
gix has joined #ruby
12:53
roadie has quit [Ping timeout: 260 seconds]
12:57
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:57
xco has joined #ruby
13:02
<
ule >
sol_: throw your Windows away
13:03
cow[moo] has joined #ruby
13:03
cnsvc_ has joined #ruby
13:06
burningserenity has quit [Remote host closed the connection]
13:10
venmx has quit [Quit: leaving]
13:16
vondruch has quit [Quit: vondruch]
13:16
vondruch has joined #ruby
13:18
jinmiaoluo has joined #ruby
13:23
venmx_ has joined #ruby
13:26
roadie has joined #ruby
13:28
<
sol_ >
ule: i think we should slap the devs instead, rubocop is generally slow =)
13:29
<
sol_ >
i mean also on linux
13:30
roadie has quit [Ping timeout: 246 seconds]
13:38
TCZ has joined #ruby
13:56
troulouliou_div2 has quit [Ping timeout: 260 seconds]
13:57
<
adam12 >
sparr & havenwood I'd probably reach for ||= too but beware boolean values.
13:58
ldepandis has quit [Ping timeout: 256 seconds]
13:59
jinmiaoluo has quit [Remote host closed the connection]
13:59
TCZ has quit [Quit: Leaving]
14:04
cnsvc_ has quit [Ping timeout: 240 seconds]
14:07
clemens3 has joined #ruby
14:09
troulouliou_div2 has joined #ruby
14:11
mikecmpbll has quit [Ping timeout: 265 seconds]
14:13
mikecmpbll has joined #ruby
14:15
venmx_ has quit [Quit: leaving]
14:18
jinmiaoluo has joined #ruby
14:20
TCZ has joined #ruby
14:23
<
ule >
sol_: An alternative is just enable Rubocop lint in your IDE, this way, it catches things in real time
14:35
wogi has joined #ruby
14:35
<
havenwood >
adam12 Good point! That pesky false.
14:36
jinmiaoluo has quit [Ping timeout: 246 seconds]
14:38
jinmiaoluo has joined #ruby
14:42
roadie has joined #ruby
14:44
dionysus69 has quit [Ping timeout: 240 seconds]
14:45
rippa has joined #ruby
14:49
roadie has quit [Ping timeout: 252 seconds]
15:02
cd has joined #ruby
15:03
TCZ has quit [Quit: Leaving]
15:04
roadie has joined #ruby
15:06
jinmiaoluo has quit [Ping timeout: 260 seconds]
15:07
ChmEarl has joined #ruby
15:09
jinmiaoluo has joined #ruby
15:13
brendan- has quit [Read error: Connection reset by peer]
15:19
imode has joined #ruby
15:19
brendan- has joined #ruby
15:19
Emmanuel_Chanel has quit [Quit: Leaving]
15:33
Treehouse has joined #ruby
15:37
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
15:37
jinmiaoluo has quit [Ping timeout: 246 seconds]
15:38
yxhuvud has joined #ruby
15:39
jinmiaoluo has joined #ruby
15:39
Emmanuel_Chanel has joined #ruby
15:40
cahoots has joined #ruby
15:42
wilhelm418 has joined #ruby
15:53
wilhelm418 has quit [Quit: WeeChat 2.8]
16:07
conta has joined #ruby
16:16
davispuh has joined #ruby
16:18
howdoi has joined #ruby
16:29
troulouliou_div2 has quit [Ping timeout: 256 seconds]
16:31
roadie has quit [Ping timeout: 246 seconds]
16:33
roadie has joined #ruby
16:38
jinmiaoluo has quit [Ping timeout: 260 seconds]
16:40
orbyt_ has joined #ruby
16:40
troulouliou_div2 has joined #ruby
16:44
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:50
wymillerlinux has joined #ruby
16:53
impermanence has joined #ruby
16:55
troulouliou_div2 has quit [Ping timeout: 265 seconds]
16:57
mibr has joined #ruby
16:58
venmx has joined #ruby
17:03
xco has joined #ruby
17:05
venmx has quit [Quit: leaving]
17:05
venmx has joined #ruby
17:07
troulouliou_div2 has joined #ruby
17:07
dionysus69 has joined #ruby
17:14
cliluw has joined #ruby
17:14
<
kaleido >
anyone use/recommend a gem to work with opentsdb?
17:16
mikecmpbll has quit [Ping timeout: 260 seconds]
17:19
venmx_ has joined #ruby
17:19
venmx_ has quit [Client Quit]
17:20
venmx_ has joined #ruby
17:20
venmx_ has quit [Client Quit]
17:22
mikecmpbll has joined #ruby
17:22
cliluw has quit [Ping timeout: 260 seconds]
17:29
conta has quit [Quit: conta]
17:29
cliluw has joined #ruby
17:33
venmx has quit [Ping timeout: 265 seconds]
17:36
cliluw has quit [Ping timeout: 260 seconds]
17:38
<
havenwood >
kaleido: What are you trying to do with it? Integrating with a service like Logstash or Metriks or something else?
17:39
<
kaleido >
havenwood: yeah im grabbing route table values and sending them to opentsdb to create graphs in vmware wavefront
17:40
<
kaleido >
there is an opentsdb gem that seems to work just fine, it's just older.
17:41
venmx has joined #ruby
17:41
johnny56 has quit [Remote host closed the connection]
17:42
<
kaleido >
also need to find a more efficient way to run the same script against 92 devices every 60 seconds, given that 92 can always grow.
17:44
<
kaleido >
yeah thts what i found, just curious if there was something a little more modern. but it works fine so i may stick with it.
17:45
<
havenwood >
kaleido: You're using the former?
17:45
<
havenwood >
kaleido: This file is really the whole gem.
17:47
<
havenwood >
kaleido: Without understanding the domain, I'd suggest using a gem like Typhoeus or async-http to make the requests in parallel.
17:48
<
havenwood >
kaleido: Or you could use async-io yourself to get parallel I/O with raw Sockets.
17:48
<
kaleido >
havenwood: thanks i'll investigate those as well
17:49
<
havenwood >
kaleido: Typhoeus is battle tested FFI bindings to libcurl. The Async libraries are Fiber backed futuristic I/O for Ruby.
17:52
<
kaleido >
essentially i am using net/ssh to login to X number of network devices, run about 3 dozen commands on each device, then feed the output of each command to the opentsdb server.
17:53
<
kaleido >
and i'm still very much learning ruby :)
17:53
cnsvc_ has joined #ruby
17:55
<
kaleido >
oh wow, no but this looks like a good fit
17:58
cnsvc_ has quit [Ping timeout: 240 seconds]
18:03
robotmay has quit [Remote host closed the connection]
18:04
chalkmonster has quit [Quit: WeeChat 2.8]
18:04
robotmay has joined #ruby
18:24
Sauvin has quit [Read error: Connection reset by peer]
18:26
cliluw has joined #ruby
18:28
lucasb has joined #ruby
18:43
howdoi has quit [Quit: Connection closed for inactivity]
18:44
lightstalker has quit [Ping timeout: 256 seconds]
18:45
venmx has quit [Quit: leaving]
18:45
akem has quit [Quit: Leaving]
18:47
lightstalker has joined #ruby
18:55
<
kaleido >
i assume with this sshkit i could of course list a variable in place of the array. so instead of "on ["host1", "host2"]" i could have an array defined somewhere and do "on array"
18:56
mibr has quit [Quit: mibr]
18:57
wymillerlinux has quit [Ping timeout: 256 seconds]
19:04
mikecmpbll has quit [Quit: inabit.]
19:10
renich has joined #ruby
19:11
<
kaleido >
this opentsdb gem doesn't seem to let me specify a source, so i suspect all my data would appear from the source of my host. hmm, that would be not so good.
19:11
wymillerlinux has joined #ruby
19:17
roadie has quit [Ping timeout: 260 seconds]
19:33
gato has joined #ruby
19:35
akem has joined #ruby
19:43
kinduff has quit [Read error: Connection reset by peer]
19:44
kinduff has joined #ruby
19:49
roadie has joined #ruby
20:01
roadie has quit [Remote host closed the connection]
20:05
va5c0 has joined #ruby
20:07
vondruch has quit [Ping timeout: 260 seconds]
20:24
gato60 has joined #ruby
20:24
va5c0 has quit [Quit: WeeChat 2.8]
20:26
cnsvc_ has joined #ruby
20:28
gato has quit [Ping timeout: 264 seconds]
20:29
code_zombie has joined #ruby
20:30
cnsvc_ has quit [Ping timeout: 240 seconds]
20:34
kristian_on_linu has joined #ruby
21:02
troulouliou_div2 has quit [Ping timeout: 256 seconds]
21:06
gato60 has quit [Quit: Connection closed]
21:09
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:11
Arahael has quit [Ping timeout: 260 seconds]
21:13
Arahael has joined #ruby
21:14
troulouliou_div2 has joined #ruby
21:15
kristian_on_linu has quit [Remote host closed the connection]
21:24
TCZ has joined #ruby
21:28
sagax has quit [Remote host closed the connection]
21:41
darkstardevx has joined #ruby
21:43
pwnd_nsfw has quit [Remote host closed the connection]
21:44
pwnd_nsfw has joined #ruby
21:45
ur5us has joined #ruby
21:46
wogi has quit [Read error: Connection reset by peer]
21:53
renich has quit [Read error: Connection reset by peer]
22:03
roadie has joined #ruby
22:03
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:15
akem has quit [Ping timeout: 264 seconds]
22:17
TCZ has quit [Quit: Leaving]
22:17
roadie has quit [Ping timeout: 260 seconds]
22:26
havenwood has joined #ruby
22:31
cnsvc has quit [Quit: WeeChat 2.8]
22:31
cnsvc has joined #ruby
22:33
cnsvc has quit [Client Quit]
22:34
cnsvc has joined #ruby
22:41
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:43
orbyt_ has joined #ruby
22:45
venmx has joined #ruby
22:46
havenwood has joined #ruby
22:59
havenwood has joined #ruby
23:10
havenwood has joined #ruby
23:10
infinityfye has quit [Ping timeout: 265 seconds]
23:14
havenwood has quit [Client Quit]
23:15
havenwood has joined #ruby
23:19
havenwood has quit [Client Quit]
23:20
havenwood has joined #ruby
23:23
drincruz has quit [Ping timeout: 260 seconds]
23:33
lucasb has quit [Quit: Connection closed for inactivity]
23:38
drincruz has joined #ruby
23:47
sagax has joined #ruby
23:54
dionysus69 has quit [Ping timeout: 258 seconds]