00:04
shinnya has quit [Ping timeout: 240 seconds]
00:05
tolerablyjake has joined #ruby
00:09
ecuanaso has joined #ruby
00:15
alfiemax has joined #ruby
00:19
alfiemax has quit [Ping timeout: 240 seconds]
00:25
beremenushka3 has quit [Ping timeout: 264 seconds]
00:25
beremenushka3 has joined #ruby
00:28
alfiemax has joined #ruby
00:33
alfiemax has quit [Ping timeout: 260 seconds]
00:33
marr has quit [Ping timeout: 256 seconds]
00:34
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:36
HoierM has joined #ruby
00:38
mrBen2k2k2k has joined #ruby
00:40
Yzguy has quit [Quit: Zzz...]
00:41
alfiemax has joined #ruby
00:41
a92n18a has joined #ruby
00:43
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:45
alfiemax has quit [Ping timeout: 240 seconds]
00:48
tdy has quit [Ping timeout: 255 seconds]
00:52
prblmchld has joined #ruby
00:54
dessm has joined #ruby
00:54
alfiemax has joined #ruby
00:55
ecuanaso has joined #ruby
00:56
coderphive has quit [Quit: coderphive]
00:56
jenrzzz has joined #ruby
00:56
<
jenrzzz >
hey peeps, anyone know of a nice way to zip an array with itself without assigning an intermediate variable?
00:57
<
jenrzzz >
i want [1, 2, 3] to become [[1, 1], [2, 2], [3, 3]]
00:58
<
havenwood >
jenrzzz: The straightforward way is: [1, 2, 3].map { |n| [n, n] }
00:58
alfiemax has quit [Ping timeout: 248 seconds]
00:58
<
jenrzzz >
havenwood: haha yes, that is straightforward indeed. thanks :)
00:59
<
jenrzzz >
i'm trying to use all the enumerable methods I haven't tried before so I've been looking for really specific functionality
00:59
cschneid has joined #ruby
01:00
amar has joined #ruby
01:00
<
havenwood >
jenrzzz: Nice, I think exploring Enumerable is very worthwhile.
01:01
<
havenwood >
jenrzzz: Here's a silly one: [1, 2, 3].map(&:yield_self).map(&:cycle).map { |enum| enum.take 2 }
01:02
<
mr-robert >
> "test"
01:02
<
mr-robert >
no ruby bot anymore?
01:02
<
havenwood >
mr-robert: double >
01:02
<
jenrzzz >
[1, 2, 3].map(&:yield_self).map(&:cycle).map { |enum|
01:02
<
jenrzzz >
enum.take 2 }
01:02
<
mr-robert >
>> [1, 2, 3].map(&:yield_self).map(&:cycle).map { |enum| enum.take 2 }
01:02
<
ruby[bot] >
mr-robert: # => undefined method `yield_self' for 1:Fixnum (NoMethodError) ...check link for more (
https://eval.in/981978)
01:02
<
havenwood >
mr-robert: the bot is stuck on 2.3
01:02
gizmore has joined #ruby
01:02
<
havenwood >
>> RUBY_VERSION
01:03
<
havenwood >
nightly ftw!
01:03
<
jenrzzz >
havenwood: that is silly
01:03
<
mr-robert >
i think eval.in supports 2.4
01:03
<
jenrzzz >
resisting the urge to put it in
01:05
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:05
amar has quit [Ping timeout: 248 seconds]
01:05
gizmore|2 has quit [Ping timeout: 256 seconds]
01:12
dinfuehr has quit [Ping timeout: 268 seconds]
01:12
dstrunk has joined #ruby
01:12
dinfuehr_ has joined #ruby
01:13
a92n18a has quit [Quit: Leaving]
01:15
alfiemax has joined #ruby
01:20
alfiemax has quit [Ping timeout: 276 seconds]
01:21
cschneid has quit [Remote host closed the connection]
01:24
cschneid has joined #ruby
01:24
bmurt has joined #ruby
01:24
jenrzzz has quit [Ping timeout: 264 seconds]
01:25
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
01:25
cschneid has quit [Remote host closed the connection]
01:26
Yxhuvud has joined #ruby
01:28
alfiemax has joined #ruby
01:29
cschneid has joined #ruby
01:32
tdy has joined #ruby
01:33
alfiemax has quit [Ping timeout: 264 seconds]
01:35
ecuanaso has joined #ruby
01:48
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:49
pilne has quit [Ping timeout: 255 seconds]
01:50
jenrzzz has joined #ruby
01:50
jenrzzz has quit [Changing host]
01:50
jenrzzz has joined #ruby
01:52
erlend has quit [Ping timeout: 240 seconds]
01:54
erlend has joined #ruby
01:54
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
01:54
John_Ivan has joined #ruby
01:54
John_Ivan has quit [Changing host]
01:54
John_Ivan has joined #ruby
01:54
jenrzzz has quit [Ping timeout: 256 seconds]
01:55
Yxhuvud has joined #ruby
01:55
cschneid has quit [Remote host closed the connection]
01:58
\void has quit [Quit: So long, and thanks for all the fish.]
01:59
jenrzzz has joined #ruby
01:59
jenrzzz has quit [Changing host]
01:59
jenrzzz has joined #ruby
02:00
houhoulis has joined #ruby
02:04
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:06
HoierM has quit [Ping timeout: 264 seconds]
02:09
alfiemax has joined #ruby
02:11
sucks_ has joined #ruby
02:12
karapetyan has quit [Remote host closed the connection]
02:14
rshetty has joined #ruby
02:22
prblmchld has quit [Quit: Konversation terminated!]
02:22
prblmchld has joined #ruby
02:23
moei has quit [Quit: Leaving...]
02:25
Yzguy has joined #ruby
02:27
Yzguy has quit [Client Quit]
02:28
chrisco has joined #ruby
02:30
rshetty has quit [Remote host closed the connection]
02:34
John_Ivan has quit [Read error: Connection reset by peer]
02:34
chrisco has quit [Remote host closed the connection]
02:38
alfiemax_ has joined #ruby
02:40
alfiemax has quit [Ping timeout: 240 seconds]
02:43
AJA4350 has quit [Remote host closed the connection]
02:45
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:49
dstrunk has joined #ruby
02:51
phaul has quit [Ping timeout: 240 seconds]
02:54
cschneid has joined #ruby
02:56
Deesl has joined #ruby
02:56
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
02:57
Yxhuvud has joined #ruby
02:59
cschneid has quit [Ping timeout: 256 seconds]
03:05
sameerynho has quit [Ping timeout: 256 seconds]
03:08
Yzguy has joined #ruby
03:08
sucks_ has quit [Quit: Leaving]
03:08
sucks has joined #ruby
03:08
sucks has quit [Max SendQ exceeded]
03:09
alfiemax has joined #ruby
03:10
sucks has joined #ruby
03:11
Yzguy has quit [Client Quit]
03:12
karapetyan has joined #ruby
03:13
alfiemax_ has quit [Ping timeout: 264 seconds]
03:17
karapetyan has quit [Ping timeout: 256 seconds]
03:17
Yzguy has joined #ruby
03:18
Yzguy has quit [Client Quit]
03:19
shinnya has joined #ruby
03:19
anisha has joined #ruby
03:21
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:22
kapil___ has joined #ruby
03:26
noobineer has quit [Remote host closed the connection]
03:27
sucks has quit [Ping timeout: 246 seconds]
03:35
gix has joined #ruby
03:37
gix- has quit [Ping timeout: 264 seconds]
03:39
jordanm has quit [Ping timeout: 264 seconds]
03:40
jordanm has joined #ruby
03:45
iMadper has quit [Ping timeout: 248 seconds]
03:46
justizin has quit [Quit: Connection closed for inactivity]
03:51
mikhael_k33hl has joined #ruby
03:52
<
mikhael_k33hl >
Anyone using concurrent-ruby here? How do you close the pool and kill all futures?
03:58
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
03:59
rshetty has joined #ruby
04:00
Yxhuvud has joined #ruby
04:02
erlend has quit [Ping timeout: 248 seconds]
04:02
erlend has joined #ruby
04:03
rshetty has quit [Ping timeout: 240 seconds]
04:04
jenrzzz has quit [Ping timeout: 248 seconds]
04:05
<
baweaver >
>> module Enumerable;def zip_with(&fn)map{|v|[v,fn[v]]}end;end; [1,2,3,4,5].zip_with(&:itself)
04:05
<
baweaver >
cc havenwood, mr-robert
04:05
rshetty has joined #ruby
04:07
jenrzzz has joined #ruby
04:07
jenrzzz has quit [Changing host]
04:07
jenrzzz has joined #ruby
04:07
<
baweaver >
>> module Enumerable;def zip_with(&fn)map{|v|[v,fn[v]]}end;end; [1,2,3,4,5].zip_with { |v| '' << (v + 65) }
04:10
mrBen2k2k2k_ has joined #ruby
04:11
jenrzzz has quit [Ping timeout: 268 seconds]
04:12
workmad3 has joined #ruby
04:13
<
havenwood >
baweaver: nice
04:13
rshetty has quit [Remote host closed the connection]
04:14
workmad3_ has quit [Ping timeout: 240 seconds]
04:16
rshetty has joined #ruby
04:24
kies has quit [Ping timeout: 256 seconds]
04:24
skweek has joined #ruby
04:26
nadir has joined #ruby
04:30
agent_white has joined #ruby
04:30
rshetty has quit [Remote host closed the connection]
04:31
jenrzzz has joined #ruby
04:31
jenrzzz has quit [Changing host]
04:31
jenrzzz has joined #ruby
04:33
karapetyan has joined #ruby
04:36
jenrzzz has quit [Ping timeout: 260 seconds]
04:37
jenrzzz has joined #ruby
04:38
karapetyan has quit [Ping timeout: 260 seconds]
04:42
rshetty has joined #ruby
04:44
sanscoeur has quit [Remote host closed the connection]
04:53
ecuanaso has joined #ruby
04:57
alfiemax has quit [Remote host closed the connection]
05:00
rshetty has quit [Remote host closed the connection]
05:00
govg has joined #ruby
05:02
houhoulis has quit [Remote host closed the connection]
05:04
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:05
donofrio has quit [Remote host closed the connection]
05:05
SeepingN has joined #ruby
05:05
duderonomy has joined #ruby
05:07
rshetty has joined #ruby
05:16
rshetty has quit [Remote host closed the connection]
05:16
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:28
<
mikhael_k33hl >
It hangs on puts 'int terminating . . .'
05:38
c0ncealed has quit [Remote host closed the connection]
05:38
kies has joined #ruby
05:39
c0ncealed has joined #ruby
05:40
sunrunner20 has quit [Remote host closed the connection]
05:41
aupadhye has joined #ruby
05:46
rshetty has joined #ruby
05:52
rshetty has quit [Ping timeout: 260 seconds]
05:56
dessm has quit [Remote host closed the connection]
06:07
alfiemax has joined #ruby
06:09
erlend has quit [Ping timeout: 240 seconds]
06:11
erlend has joined #ruby
06:12
biberu has joined #ruby
06:20
rshetty has joined #ruby
06:25
rshetty has quit [Ping timeout: 256 seconds]
06:35
rshetty has joined #ruby
06:35
rshetty has quit [Remote host closed the connection]
06:36
pelegreno has quit [Remote host closed the connection]
06:36
pelegreno has joined #ruby
06:36
pelegreno has quit [Remote host closed the connection]
06:38
rshetty has joined #ruby
06:38
rshetty has quit [Remote host closed the connection]
06:38
pelegreno has joined #ruby
06:43
claudiuinberlin has joined #ruby
06:51
kapil___ has quit [Quit: Connection closed for inactivity]
06:53
alex`` has joined #ruby
06:55
rshetty has joined #ruby
06:56
rshetty has quit [Remote host closed the connection]
06:57
rshetty has joined #ruby
07:00
tdy has quit [Ping timeout: 268 seconds]
07:02
rshetty has quit [Ping timeout: 260 seconds]
07:03
rshetty has joined #ruby
07:04
rshetty has quit [Remote host closed the connection]
07:05
rshetty has joined #ruby
07:05
rshetty has quit [Remote host closed the connection]
07:05
rshetty has joined #ruby
07:05
DarkUnicorn has joined #ruby
07:08
arekushi has quit [Quit: Gateway shutdown]
07:12
sanscoeur has joined #ruby
07:14
_rshetty_ has joined #ruby
07:15
rshetty has quit [Read error: Connection reset by peer]
07:20
arekushi has joined #ruby
07:20
Puffball_ has joined #ruby
07:23
Puffball has quit [Ping timeout: 240 seconds]
07:25
arekushi has quit [Quit: Gateway shutdown]
07:26
_rshetty_ has quit [Remote host closed the connection]
07:26
rshetty has joined #ruby
07:29
arekushi has joined #ruby
07:30
physicist__ has joined #ruby
07:31
karapetyan has joined #ruby
07:31
rshetty has quit [Ping timeout: 260 seconds]
07:35
karapetyan has quit [Ping timeout: 264 seconds]
07:37
mikhael_k33hl has quit [Ping timeout: 260 seconds]
07:39
suukim has joined #ruby
07:40
schneider has joined #ruby
07:42
amar has joined #ruby
07:43
alfiemax has quit [Remote host closed the connection]
07:46
d^sh has joined #ruby
07:47
physicist__ has quit [Quit: leaving]
07:51
dionysus69 has joined #ruby
07:52
physicist__ has joined #ruby
07:54
roshanavand has joined #ruby
07:54
code_zombie has joined #ruby
07:54
venmx has joined #ruby
07:57
alfiemax has joined #ruby
07:57
alfiemax has quit [Remote host closed the connection]
07:57
alfiemax has joined #ruby
07:59
p0p0pr37 has joined #ruby
08:00
dr3w_ has joined #ruby
08:01
dr3w_ has quit [Client Quit]
08:02
venmx has quit [Ping timeout: 248 seconds]
08:02
rshetty has joined #ruby
08:08
imode1 has quit [Ping timeout: 264 seconds]
08:11
conta has joined #ruby
08:11
marr has joined #ruby
08:14
jenrzzz has quit [Ping timeout: 264 seconds]
08:14
ellcs has joined #ruby
08:14
ledestin has quit [Ping timeout: 248 seconds]
08:18
erlend has quit [Ping timeout: 264 seconds]
08:19
erlend has joined #ruby
08:22
kapil___ has joined #ruby
08:24
dionysus69 has quit [Ping timeout: 248 seconds]
08:27
d^sh has joined #ruby
08:29
conta has quit [Ping timeout: 264 seconds]
08:32
Erlingur has joined #ruby
08:35
clemens3 has joined #ruby
08:35
Phate has joined #ruby
08:36
phate408 has quit [Ping timeout: 260 seconds]
08:37
jenrzzz has joined #ruby
08:37
jenrzzz has joined #ruby
08:37
jenrzzz has quit [Changing host]
08:39
rshetty has quit [Remote host closed the connection]
08:42
minimalism has quit [Quit: minimalism]
08:42
Erlingur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:44
nadir has quit [Quit: Connection closed for inactivity]
08:46
al2o3-cr has quit [Quit: WeeChat 2.1]
08:47
gr33n7007h has joined #ruby
08:47
gr33n7007h is now known as al2o3-cr
08:47
arekushi has quit [Quit: Gateway shutdown]
08:49
Papierkorb has joined #ruby
08:52
arekushi has joined #ruby
08:53
rshetty has joined #ruby
08:54
KeyJoo has joined #ruby
09:00
venmx has joined #ruby
09:00
rshetty has quit [Remote host closed the connection]
09:03
_rshetty_ has joined #ruby
09:09
_rshetty_ has quit [Remote host closed the connection]
09:11
rshetty has joined #ruby
09:11
rshetty has quit [Remote host closed the connection]
09:11
rshetty has joined #ruby
09:13
lypsis has joined #ruby
09:14
rshetty has quit [Remote host closed the connection]
09:15
adgtl has quit [Disconnected by services]
09:17
arekushi has quit [Read error: Connection reset by peer]
09:17
suukim has quit [Quit: Konversation terminated!]
09:18
postmodern has joined #ruby
09:20
karapetyan has joined #ruby
09:21
arekushi has joined #ruby
09:23
amar has quit [Remote host closed the connection]
09:23
amar has joined #ruby
09:24
venmx has quit [Ping timeout: 256 seconds]
09:24
nadir has joined #ruby
09:24
karapetyan has quit [Ping timeout: 256 seconds]
09:25
amatas has joined #ruby
09:28
jenrzzz has quit [Ping timeout: 264 seconds]
09:29
howdoi has joined #ruby
09:30
anisha has quit [Quit: This computer has gone to sleep]
09:31
dr3w_ has joined #ruby
09:32
dr3w_ has quit [Client Quit]
09:35
marr has quit [Ping timeout: 276 seconds]
09:37
schneider has quit [Ping timeout: 264 seconds]
09:43
dr3w_ has joined #ruby
09:45
Zaab1t has joined #ruby
09:45
rshetty has joined #ruby
09:55
rshetty has quit [Remote host closed the connection]
10:00
minimalism has joined #ruby
10:01
ellcs has quit [Ping timeout: 264 seconds]
10:04
schneider has joined #ruby
10:04
KeyJoo has quit [Remote host closed the connection]
10:05
DarkUnicorn has quit [Quit: Connection closed for inactivity]
10:10
Papierkorb has left #ruby ["Konversation terminated!"]
10:10
tdy has joined #ruby
10:15
rshetty has joined #ruby
10:17
venmx has joined #ruby
10:17
tdy has quit [Ping timeout: 276 seconds]
10:18
gizmore has quit [Ping timeout: 260 seconds]
10:19
stormpack has joined #ruby
10:22
stormpack_ has joined #ruby
10:23
rshetty has quit [Remote host closed the connection]
10:23
rshetty has joined #ruby
10:24
stormpack has quit [Ping timeout: 240 seconds]
10:26
erlend has quit [Ping timeout: 256 seconds]
10:28
erlend has joined #ruby
10:29
venmx has quit [Ping timeout: 248 seconds]
10:29
rshetty has quit [Ping timeout: 240 seconds]
10:30
venmx has joined #ruby
10:31
schneider has quit [Ping timeout: 256 seconds]
10:31
phaul has joined #ruby
10:32
dr3w_ has joined #ruby
10:35
schneider has joined #ruby
10:36
dr3w_ has quit [Client Quit]
10:36
phaul has quit [Ping timeout: 260 seconds]
10:39
sameerynho has joined #ruby
10:41
alex`` has quit [Remote host closed the connection]
10:41
rshetty has joined #ruby
10:42
rshetty has quit [Remote host closed the connection]
10:42
\void has joined #ruby
10:42
alex`` has joined #ruby
10:42
rshetty has joined #ruby
10:45
marr has joined #ruby
10:46
rshetty has quit [Remote host closed the connection]
10:46
rshetty has joined #ruby
10:47
mostlybadfly has joined #ruby
10:48
Phate has quit [Ping timeout: 276 seconds]
10:48
thinkpad has quit [Ping timeout: 248 seconds]
10:48
phate408 has joined #ruby
10:52
postmodern has quit [Quit: Leaving]
10:55
tcopeland has quit [Quit: tcopeland]
10:55
ryzokuken has joined #ruby
11:01
conta has joined #ruby
11:02
alex`` has quit [Ping timeout: 256 seconds]
11:02
donofrio has joined #ruby
11:03
alex`` has joined #ruby
11:03
aupadhye_ has joined #ruby
11:04
aupadhye has quit [Read error: Connection reset by peer]
11:04
_rshetty_ has joined #ruby
11:05
trautwein has joined #ruby
11:05
AJA4350 has joined #ruby
11:06
rshetty has quit [Ping timeout: 256 seconds]
11:07
venmx has quit [Remote host closed the connection]
11:08
karapetyan has joined #ruby
11:08
aupadhye_ has quit [Ping timeout: 256 seconds]
11:08
oleo has quit [Quit: Leaving]
11:09
thinkpad has joined #ruby
11:09
_rshetty_ has quit [Remote host closed the connection]
11:10
rshetty has joined #ruby
11:12
karapetyan has quit [Ping timeout: 240 seconds]
11:12
oleo has joined #ruby
11:14
conta has quit [Ping timeout: 264 seconds]
11:16
trautwein has joined #ruby
11:16
karapetyan has joined #ruby
11:17
_aeris_ has quit [Remote host closed the connection]
11:19
rshetty has quit [Remote host closed the connection]
11:19
rshetty has joined #ruby
11:20
aupadhye_ has joined #ruby
11:21
rshetty has quit [Read error: Connection reset by peer]
11:23
apparition has joined #ruby
11:26
thinkpad has quit [Quit: lawl]
11:27
rshetty has joined #ruby
11:29
thinkpad has joined #ruby
11:29
rshetty has quit [Remote host closed the connection]
11:29
noobineer has joined #ruby
11:30
rshetty has joined #ruby
11:31
ams__ has joined #ruby
11:32
crankharder has quit [Remote host closed the connection]
11:33
tomphp has joined #ruby
11:34
crankharder has joined #ruby
11:34
rshetty has quit [Ping timeout: 255 seconds]
11:38
dr3w_ has joined #ruby
11:38
ldnunes has joined #ruby
11:39
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:40
marr has quit [Ping timeout: 240 seconds]
11:41
Cavallari has joined #ruby
11:46
dr3w_ has quit [Read error: Connection reset by peer]
11:46
thinkpad has quit [Ping timeout: 276 seconds]
11:48
thinkpad has joined #ruby
11:51
dr3w_ has joined #ruby
11:53
_aeris_ has joined #ruby
11:53
_aeris_ has quit [Remote host closed the connection]
11:55
tcopeland has joined #ruby
11:55
noobineer has quit [Ping timeout: 260 seconds]
11:55
_aeris_ has joined #ruby
11:55
thinkpad has quit [Ping timeout: 240 seconds]
12:01
dr3w_ has quit [Read error: Connection reset by peer]
12:02
dr3w_ has joined #ruby
12:03
johnnyt has joined #ruby
12:06
rshetty has joined #ruby
12:08
rshetty has quit [Read error: No route to host]
12:09
synthroid has joined #ruby
12:12
johnnyt has quit [Ping timeout: 240 seconds]
12:13
aceruser has joined #ruby
12:14
dionysus69 has joined #ruby
12:15
thinkpad has joined #ruby
12:15
aceruser has quit [Remote host closed the connection]
12:17
aceruser has joined #ruby
12:18
alex`` has quit [Quit: WeeChat 2.1]
12:18
trautwein has joined #ruby
12:20
johnnyt has joined #ruby
12:22
weaksauce has quit [Ping timeout: 268 seconds]
12:23
SynSynack has quit [Quit: Не разучиться мечтать... любить...]
12:24
johnnyt has quit [Ping timeout: 240 seconds]
12:24
beremenushka3 has quit [Remote host closed the connection]
12:24
aceruser has quit [Remote host closed the connection]
12:24
aceruser has joined #ruby
12:25
duderono_ has joined #ruby
12:25
houhoulis has joined #ruby
12:26
reber has joined #ruby
12:27
beremenushka has joined #ruby
12:28
aceruser has quit [Read error: Connection reset by peer]
12:28
duderonomy has quit [Ping timeout: 256 seconds]
12:30
aceruser has joined #ruby
12:30
duderono_ has quit [Ping timeout: 264 seconds]
12:31
code_zombie has quit [Ping timeout: 255 seconds]
12:31
iMadper has joined #ruby
12:33
alex`` has joined #ruby
12:34
erlend has quit [Ping timeout: 260 seconds]
12:35
Ltem has joined #ruby
12:36
erlend has joined #ruby
12:40
thinkpad has quit [Quit: lawl]
12:43
dr3w_ has quit [Read error: Connection reset by peer]
12:43
aceruser has quit [Remote host closed the connection]
12:44
thinkpad has joined #ruby
12:44
aceruser has joined #ruby
12:44
ecuanaso has joined #ruby
12:48
dr3w_ has joined #ruby
12:48
jrafanie has joined #ruby
12:50
alfiemax has quit [Remote host closed the connection]
12:51
alfiemax has joined #ruby
12:51
aceruser has quit [Remote host closed the connection]
12:54
rshetty has joined #ruby
12:54
rshetty has quit [Remote host closed the connection]
12:54
loveablelobster has joined #ruby
12:55
alfiemax has quit [Ping timeout: 240 seconds]
12:57
loveablelobster has quit [Client Quit]
13:01
_aeris_ has quit [Remote host closed the connection]
13:01
_aeris_ has joined #ruby
13:02
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:06
genpaku_ is now known as genpaku
13:08
alex`` has quit [Quit: WeeChat 2.1]
13:08
alex`` has joined #ruby
13:09
jcalla has joined #ruby
13:10
rshetty has joined #ruby
13:10
venmx has joined #ruby
13:12
nadir has quit [Quit: Connection closed for inactivity]
13:13
rsh has joined #ruby
13:16
rshetty has quit [Remote host closed the connection]
13:16
rshetty has joined #ruby
13:18
rshetty has quit [Remote host closed the connection]
13:18
rshetty has joined #ruby
13:21
universa1 has quit [Ping timeout: 256 seconds]
13:22
duderonomy has joined #ruby
13:25
suukim has joined #ruby
13:25
universa1 has joined #ruby
13:28
dr3w_ has quit [Read error: Connection reset by peer]
13:28
howdoi has quit [Quit: Connection closed for inactivity]
13:31
DLSteve has joined #ruby
13:32
dr3w_ has joined #ruby
13:35
houhoulis has quit [Remote host closed the connection]
13:36
houhoulis has joined #ruby
13:36
raynold has quit [Quit: Connection closed for inactivity]
13:38
rshetty has quit [Remote host closed the connection]
13:38
dionysus69 has quit [Ping timeout: 240 seconds]
13:39
rshetty has joined #ruby
13:40
lightstalker has quit [Remote host closed the connection]
13:40
houhoulis has quit [Ping timeout: 240 seconds]
13:41
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:41
rshetty has quit [Remote host closed the connection]
13:42
rshetty has joined #ruby
13:42
kapil___ has quit [Quit: Connection closed for inactivity]
13:42
universa1 has quit [Ping timeout: 276 seconds]
13:43
lightstalker has joined #ruby
13:44
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:45
ecuanaso has joined #ruby
13:45
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:45
universa1 has joined #ruby
13:47
duderonomy has joined #ruby
13:48
griffindy has joined #ruby
13:48
agent_white has quit [Quit: leaving]
13:48
phaul has joined #ruby
13:49
shinnya has quit [Ping timeout: 248 seconds]
13:49
griffindy has quit [Client Quit]
13:50
universa1 has quit [Ping timeout: 246 seconds]
13:52
griffindy has joined #ruby
13:53
griffindy has quit [Client Quit]
13:54
d10n-work has joined #ruby
13:55
bmurt has joined #ruby
14:00
griffindy has joined #ruby
14:00
rfoust has joined #ruby
14:01
zautomata has quit [Changing host]
14:01
zautomata has joined #ruby
14:01
gnufied has joined #ruby
14:02
griffindy has quit [Client Quit]
14:05
jeffreylevesque has joined #ruby
14:06
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:10
dr3w_ has quit [Read error: Connection reset by peer]
14:10
Rapture has joined #ruby
14:13
dr3w_ has joined #ruby
14:16
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:17
universa1 has joined #ruby
14:23
oleo has quit [Quit: Leaving]
14:23
ta__ has quit [Remote host closed the connection]
14:24
synthroid has quit [Remote host closed the connection]
14:26
murthyteja has joined #ruby
14:27
howdoi has joined #ruby
14:27
rshetty has quit [Remote host closed the connection]
14:28
synthroid has joined #ruby
14:29
murthyteja has left #ruby [#ruby]
14:29
prblmchld has quit [Quit: Konversation terminated!]
14:30
pastorinni has joined #ruby
14:31
chouhoulis has joined #ruby
14:31
John_Ivan has joined #ruby
14:34
bmurt has joined #ruby
14:35
apparition has quit [Quit: Bye]
14:40
moei has joined #ruby
14:42
kn-928 has joined #ruby
14:42
imode1 has joined #ruby
14:43
erlend has quit [Ping timeout: 256 seconds]
14:44
oleo has joined #ruby
14:45
erlend has joined #ruby
14:49
aupadhye_ has quit [Quit: Leaving]
14:50
Mike11 has joined #ruby
14:53
mniip has joined #ruby
14:58
cschneid has joined #ruby
14:58
<
lembron >
uhm, how do i make rspec to not carry on with further tests? - as in "dont even try the rest of this file/describe block"?
14:58
<
lembron >
fail as well as fail_test both only fail this particular it-set, not the further ones
14:58
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:59
sameerynho has quit [Ping timeout: 264 seconds]
14:59
<
dminuoso >
lembron: fail_fast
15:01
venmx has quit [Remote host closed the connection]
15:02
<
lembron >
my ide does not resolve this to anything... -- is that expected? to just trigger a hard error? - and it seems to not do a thing :/
15:02
<
lembron >
undefined method `fail_fast' for #<RSpec::ExampleGroups
15:03
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
15:03
<
lembron >
(beaker on puppet-rspec this is)
15:03
schneider has quit [Ping timeout: 240 seconds]
15:04
jhammerman has joined #ruby
15:04
Cavallari has quit [Quit: Cavallari]
15:05
schneider has joined #ruby
15:05
<
lembron >
RSpec.configure.fail_fast is a thing - but that then also seems to fail everything - i would like to "skip this context" or so
15:05
n008f4g_ has joined #ruby
15:05
FrostCandy has joined #ruby
15:06
<
dminuoso >
No idea.
15:07
<
jhammerman >
I need to get the broker count for a topic for monitoring purposes, If I try to call initialize I get a private method error
15:08
duderonomy has joined #ruby
15:08
govg has quit [Ping timeout: 264 seconds]
15:08
raynold has joined #ruby
15:09
ellcs has joined #ruby
15:10
sanscoeur has quit [Remote host closed the connection]
15:10
dr3w_ has joined #ruby
15:10
aceruser has joined #ruby
15:11
ramfjord has joined #ruby
15:13
synthroid has quit [Remote host closed the connection]
15:14
schneider has quit [Ping timeout: 264 seconds]
15:15
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:20
BTRE has quit [Remote host closed the connection]
15:20
tcopeland has quit [Ping timeout: 264 seconds]
15:22
BTRE has joined #ruby
15:22
ghormoon has quit [Ping timeout: 240 seconds]
15:23
<
apeiros >
jhammerman: Kafka::Protocol::MetadataRequest.new creates a new instance of the class
15:23
synthroid has joined #ruby
15:23
<
apeiros >
new also calls initialize in the process, passing on all arguments you gave to new.
15:24
synthroi_ has joined #ruby
15:24
synthroid has quit [Remote host closed the connection]
15:27
roshanavand has quit [Ping timeout: 256 seconds]
15:28
ghormoon has joined #ruby
15:28
<
jhammerman >
Ok, awesome - how do I use the the connection I created with kafka_obj = Kafka.new([“host:port”], options)?
15:29
<
jhammerman >
response = kafka_obj::Protocol::MetadataRequest.new? And then response will be an object of type MetadataResponse?
15:30
<
apeiros >
I don't know that library. you'll have to read its docs.
15:33
govg has joined #ruby
15:37
govg has quit [Remote host closed the connection]
15:38
govg has joined #ruby
15:38
k0mpa has joined #ruby
15:39
herbmillerjr has quit [Quit: Konversation terminated!]
15:39
rshetty has joined #ruby
15:39
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
15:41
rshetty has quit [Remote host closed the connection]
15:41
aceruser has quit [Ping timeout: 260 seconds]
15:42
ta_ has joined #ruby
15:42
aceruser has joined #ruby
15:42
johnnyt has joined #ruby
15:43
cagomez has joined #ruby
15:43
rshetty has joined #ruby
15:44
ramfjord has quit [Ping timeout: 240 seconds]
15:45
k0mpa has quit [Remote host closed the connection]
15:48
tolerablyjake has joined #ruby
15:48
marxarelli has joined #ruby
15:48
nielsk has joined #ruby
15:48
noobineer has joined #ruby
15:49
tcopeland has joined #ruby
15:55
karapetyan has quit [Remote host closed the connection]
15:56
karapetyan has joined #ruby
15:56
Mia has joined #ruby
15:56
Mia has quit [Changing host]
15:56
Mia has joined #ruby
15:56
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
15:58
ramfjord has joined #ruby
16:00
znz_jp has quit [Ping timeout: 276 seconds]
16:00
alfiemax has joined #ruby
16:00
karapetyan has quit [Ping timeout: 256 seconds]
16:01
johnnyt has quit [Quit: leaving]
16:03
karapetyan has joined #ruby
16:03
fhmax has joined #ruby
16:04
cthulchu has joined #ruby
16:05
chouhoul_ has joined #ruby
16:05
aceruser has quit [Remote host closed the connection]
16:05
aceruser has joined #ruby
16:06
Zaab1t has quit [Quit: Zaab1t]
16:08
nielsk has joined #ruby
16:08
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:08
chouhoulis has quit [Ping timeout: 256 seconds]
16:09
chouhoul_ has quit [Ping timeout: 256 seconds]
16:10
ecuanaso has joined #ruby
16:11
SteenJobs has joined #ruby
16:11
ramfjord has quit [Ping timeout: 256 seconds]
16:11
ecuanaso has quit [Client Quit]
16:13
eckhardt has joined #ruby
16:15
ta_ has quit [Ping timeout: 240 seconds]
16:18
kapil___ has joined #ruby
16:20
kn-928 has quit [Ping timeout: 264 seconds]
16:23
ta_ has joined #ruby
16:25
karapetyan has quit [Remote host closed the connection]
16:25
karapetyan has joined #ruby
16:27
ellcs has quit [Ping timeout: 248 seconds]
16:30
karapetyan has quit [Ping timeout: 256 seconds]
16:31
lunarkitty7 has quit [Ping timeout: 255 seconds]
16:33
darkhanb has joined #ruby
16:35
darkhanb has quit [Client Quit]
16:36
aceruser has quit [Remote host closed the connection]
16:36
aceruser has joined #ruby
16:36
jenrzzz has joined #ruby
16:36
jenrzzz has quit [Changing host]
16:36
jenrzzz has joined #ruby
16:39
synthroid has joined #ruby
16:41
jenrzzz has quit [Ping timeout: 256 seconds]
16:43
synthroi_ has quit [Ping timeout: 256 seconds]
16:43
ecuanaso has joined #ruby
16:43
physicist__ has quit [Read error: Connection reset by peer]
16:45
howdoi has quit [Quit: Connection closed for inactivity]
16:45
eckhardt has joined #ruby
16:47
physicist__ has joined #ruby
16:47
Mike11 has quit [Quit: Leaving.]
16:47
ecuanaso has quit [Ping timeout: 240 seconds]
16:50
lunarkitty7 has joined #ruby
16:50
sanscoeur has joined #ruby
16:51
sanscoeur has quit [Read error: Connection reset by peer]
16:52
erlend has quit [Ping timeout: 240 seconds]
16:52
Azure has joined #ruby
16:53
gizmore has joined #ruby
16:54
erlend has joined #ruby
16:55
sanscoeur has joined #ruby
16:56
ta_ has quit [Ping timeout: 264 seconds]
16:58
kn-928 has joined #ruby
16:59
hinbody has quit [Quit: leaving]
17:02
hinbody has joined #ruby
17:03
kn-928 has quit [Ping timeout: 260 seconds]
17:03
cagomez has quit [Remote host closed the connection]
17:04
sameerynho has joined #ruby
17:04
cagomez has joined #ruby
17:04
ta_ has joined #ruby
17:05
alfiemax has quit [Remote host closed the connection]
17:05
cagomez has quit [Read error: Connection reset by peer]
17:05
ramfjord has joined #ruby
17:09
Erlingur has joined #ruby
17:10
imode1 has quit [Ping timeout: 248 seconds]
17:15
whippythellama has joined #ruby
17:17
ramfjord has quit [Ping timeout: 240 seconds]
17:19
fhmax has quit [Ping timeout: 268 seconds]
17:20
<
baweaver >
GOOD MORNING
17:21
<
dminuoso >
YOU ARE NOT RADAR, BAWEAVER
17:21
<
dminuoso >
Stop pretending!
17:21
<
baweaver >
I'M TRYING!
17:21
harrycs has joined #ruby
17:21
<
baweaver >
How's dminuoso today?
17:22
dr3w_ has joined #ruby
17:29
SteenJobs has quit [Quit: peaceee]
17:32
Cavallari has joined #ruby
17:36
comet23 has joined #ruby
17:36
<
comet23 >
what is the best thing about ruby?
17:37
<
apeiros >
it's a pleasure to write code in it
17:37
Erlingur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:37
<
comet23 >
what gives you pleasure?
17:37
<
apeiros >
why do you ask?
17:38
<
comet23 >
out of curiosity
17:38
<
dminuoso >
comet23: The logo.
17:38
ta_ has quit [Ping timeout: 256 seconds]
17:39
<
dminuoso >
comet23: The best thing is probably the elegance of actual-ruby-DSLs. Well, from the user POV, not the implementor.
17:39
<
elomatreb >
Standard library is fun, and the syntax is fairly unique and a pleasure to use
17:39
<
dminuoso >
comet23: Just look at rspec, it's pretty nifty looking. :)
17:40
cagomez has joined #ruby
17:40
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:40
ellcs has joined #ruby
17:41
iMadper` has joined #ruby
17:42
amar has quit [Remote host closed the connection]
17:43
\void is now known as Time-Warp
17:44
Time-Warp is now known as \void
17:45
iMadper has quit [Ping timeout: 264 seconds]
17:45
tolerablyjake has joined #ruby
17:45
ta_ has joined #ruby
17:47
ams__ has quit [Quit: Connection closed for inactivity]
17:50
kn-928 has joined #ruby
17:50
harrycs has quit [Read error: Connection reset by peer]
17:50
harrycs has joined #ruby
17:52
amatas has quit [Quit: amatas]
17:57
karapetyan has joined #ruby
17:58
sunrunner20 has joined #ruby
17:58
karapetyan has quit [Client Quit]
18:04
ta_ has quit [Remote host closed the connection]
18:04
ta_ has joined #ruby
18:06
rshetty has quit [Remote host closed the connection]
18:09
suukim has quit [Quit: Konversation terminated!]
18:11
ellcs has quit [Ping timeout: 256 seconds]
18:15
ellcs has joined #ruby
18:17
rshetty has joined #ruby
18:21
rshetty has quit [Ping timeout: 256 seconds]
18:21
<
phaul >
comet23: apart from DSLs there is the object model with eigenclasses, the everything is an object idea and that is mostly reflective + duck typing
18:22
<
phaul >
these are all thing I like in ruby
18:22
k0mpa has joined #ruby
18:24
tomphp has joined #ruby
18:24
ramfjord has joined #ruby
18:24
sauvin has quit [Ping timeout: 264 seconds]
18:25
bmurt has joined #ruby
18:25
SteenJobs has joined #ruby
18:25
apeiros has quit [Read error: Connection reset by peer]
18:26
jenrzzz has joined #ruby
18:26
jenrzzz has quit [Changing host]
18:26
jenrzzz has joined #ruby
18:26
apeiros_ has joined #ruby
18:26
apeiros_ is now known as apeiros
18:27
darkhanb has joined #ruby
18:28
dionysus69 has joined #ruby
18:28
nadir has joined #ruby
18:32
harry_ has joined #ruby
18:35
harrycs has quit [Ping timeout: 246 seconds]
18:35
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:36
apeiros has quit [Remote host closed the connection]
18:36
apeiros has joined #ruby
18:37
solocshaw has quit [Ping timeout: 260 seconds]
18:38
einarj has joined #ruby
18:40
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
18:41
imode1 has joined #ruby
18:42
weaksauce has joined #ruby
18:44
alfiemax has joined #ruby
18:44
Ltem has quit [Quit: Leaving]
18:44
stormpack_ has quit [Quit: Leaving]
18:46
Azure has quit [Read error: Connection reset by peer]
18:46
jenrzzz has quit [Ping timeout: 240 seconds]
18:46
amar has joined #ruby
18:46
Azure has joined #ruby
18:46
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:47
nielsk has joined #ruby
18:47
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:48
tbuehlmann_ has quit [Changing host]
18:48
tbuehlmann has joined #ruby
18:51
physicist__ has quit [Quit: leaving]
18:52
tomphp has joined #ruby
18:52
SCHAPiE has quit [Read error: Connection reset by peer]
18:54
kn-928 has quit [Ping timeout: 246 seconds]
18:54
rsh has quit [Quit: leaving]
18:57
SCHAPiE has joined #ruby
18:57
kapil___ has quit [Quit: Connection closed for inactivity]
18:57
FrostCandy has quit [Ping timeout: 256 seconds]
18:59
marr has joined #ruby
18:59
krawchyk has joined #ruby
19:00
erlend has quit [Ping timeout: 255 seconds]
19:01
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:01
za1b1tsu has joined #ruby
19:02
FrostCandy has joined #ruby
19:03
erlend has joined #ruby
19:04
ecuanaso has joined #ruby
19:07
tdy has joined #ruby
19:10
jottr_ has joined #ruby
19:13
harry_ has quit [Remote host closed the connection]
19:14
harry_ has joined #ruby
19:15
Rapture has joined #ruby
19:15
alex`` has quit [Ping timeout: 240 seconds]
19:15
harry_ has quit [Remote host closed the connection]
19:16
harry_ has joined #ruby
19:16
jottr_ has quit [Ping timeout: 255 seconds]
19:17
harry_ has quit [Remote host closed the connection]
19:18
harry_ has joined #ruby
19:18
cremes77 has joined #ruby
19:19
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:19
harry_ has quit [Remote host closed the connection]
19:20
jottr_ has joined #ruby
19:21
harrycs has joined #ruby
19:23
ruurd has joined #ruby
19:23
harrycs has quit [Remote host closed the connection]
19:24
jottr_ has quit [Client Quit]
19:24
harrycs has joined #ruby
19:24
cagomez has quit [Remote host closed the connection]
19:25
tolerablyjake has joined #ruby
19:25
cagomez has joined #ruby
19:25
solocshaw has joined #ruby
19:25
jenrzzz has joined #ruby
19:26
pilne has joined #ruby
19:29
harrycs has quit [Ping timeout: 256 seconds]
19:30
solocshaw has quit [Ping timeout: 248 seconds]
19:30
cagomez has quit [Ping timeout: 264 seconds]
19:32
ruurd has quit [Ping timeout: 248 seconds]
19:33
cremes77 has quit [Quit: cremes77]
19:33
schneider has joined #ruby
19:34
einarj has quit [Remote host closed the connection]
19:34
cremes77 has joined #ruby
19:34
einarj has joined #ruby
19:35
lypsis has quit [Remote host closed the connection]
19:37
guille-moe has joined #ruby
19:39
einarj has quit [Ping timeout: 260 seconds]
19:41
bmurt has joined #ruby
19:41
cagomez has joined #ruby
19:41
schneider has quit [Ping timeout: 256 seconds]
19:42
alex`` has joined #ruby
19:42
claudiuinberlin has joined #ruby
19:45
fhmax has joined #ruby
19:46
Azure has quit [Read error: Connection reset by peer]
19:46
cagomez has quit [Ping timeout: 260 seconds]
19:46
Azure has joined #ruby
19:47
solocshaw has joined #ruby
19:47
schneider has joined #ruby
19:49
cremes77 has quit [Quit: cremes77]
19:51
schneider has quit [Ping timeout: 240 seconds]
19:51
amar has quit [Ping timeout: 256 seconds]
19:53
guille-moe has quit [Ping timeout: 256 seconds]
19:53
agent_white has joined #ruby
19:56
schneider has joined #ruby
19:57
mjolnird has joined #ruby
19:57
cagomez has joined #ruby
19:57
amar has joined #ruby
20:00
alex`` has quit [Quit: WeeChat 2.1]
20:01
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:02
cagomez has quit [Ping timeout: 256 seconds]
20:02
schneider has quit [Ping timeout: 256 seconds]
20:02
sanscoeu_ has joined #ruby
20:06
sanscoeur has quit [Ping timeout: 268 seconds]
20:07
schneider has joined #ruby
20:08
solocshaw has quit [Ping timeout: 264 seconds]
20:09
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:09
unreal has joined #ruby
20:11
bmurt has joined #ruby
20:12
schneider has quit [Ping timeout: 264 seconds]
20:12
cagomez has joined #ruby
20:12
jenrzzz has quit [Ping timeout: 264 seconds]
20:13
<
Zarthus >
>@yuki24 yuki24 locked as too heated and limited conversation to collaborators 26 days ago
20:13
<
Zarthus >
you can give reasons, nice
20:15
<
al2o3-cr >
hanmac: yeah i seen that, they wasn't having any of it
20:16
Puffball_ has quit [Remote host closed the connection]
20:16
schneider has joined #ruby
20:16
<
hanmac >
my personal favorite "BigDecimal maintainers WANT my code to break"
20:16
cagomez has quit [Ping timeout: 240 seconds]
20:17
cagomez has joined #ruby
20:20
mikhael_k33hl has joined #ruby
20:21
<
mikhael_k33hl >
Why am I getting a 'undefined local variable or method' when calling a method inside trap(:INT) do end block?
20:22
schneider has quit [Ping timeout: 268 seconds]
20:22
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:24
quobo has joined #ruby
20:24
<
al2o3-cr >
over £150,000 per annum 45%
20:25
<
apeiros >
mikhael_k33hl: because you try to either use an undefined local variable or an undefined method
20:27
schneider has joined #ruby
20:27
<
apeiros >
your traps run in the context of your class. you don't have a shut_down class method.
20:27
<
apeiros >
also, next time, code + error. riddling is not fun.
20:27
TheBloke has joined #ruby
20:28
<
apeiros >
(error meaning including backtrace + if necessary info which line is which if line numbers don't add up)
20:28
<
mikhael_k33hl >
apeiros: sorry about that, noted with thanks. Btw, how do I making this trap a instance method?
20:29
eckhardt has joined #ruby
20:29
sanscoeu_ has quit [Remote host closed the connection]
20:29
chouhoulis has joined #ruby
20:29
<
apeiros >
trap is not a method, it's a callback. define the trap block in an instance of RsyncSupervisor.
20:29
reber has quit [Remote host closed the connection]
20:30
sanscoeur has joined #ruby
20:30
<
apeiros >
also note that traps don't play nice with threads.
20:31
<
apeiros >
it's a few years ago I last worked with it, but back then, traps would stop the world, always run in the main thread, and restore the main thread's sleep status after running.
20:31
schneider has quit [Ping timeout: 240 seconds]
20:32
<
mikhael_k33hl >
apeiros: pretty new to this, can you provide an article that I can read of regarding this one? This script will be run by systemd as a daemon
20:32
<
dminuoso >
apeiros: I really dont want to be nitpick here, but do you think its correct to call "trap" to not be a method?
20:32
<
apeiros >
dminuoso: I was referring to the block, not trap itself. but yes, trap itself is of course a method.
20:33
<
dminuoso >
then dont mind me, I actually read that wrong then.
20:33
<
apeiros >
mikhael_k33hl: I'm not aware of one, sorry.
20:33
<
apeiros >
dminuoso: I wasn't overly clear :)
20:33
<
mikhael_k33hl >
How do I define the trap block in an instance?
20:33
<
mikhael_k33hl >
Oh just create a method for it
20:33
<
apeiros >
mikhael_k33hl: uh, really? how do you run any code in an instance?
20:34
<
al2o3-cr >
you can just create it at class level no?
20:34
<
apeiros >
not if he wants to run instance methods in it.
20:35
<
al2o3-cr >
oh right, nvm.
20:35
<
apeiros >
(ok, it'd work then too, but they'd need some way to refer to the instance then)
20:35
dsfg has joined #ruby
20:36
<
al2o3-cr >
yeah, then it would get hacky.
20:36
<
apeiros >
it already is hacky
20:36
<
mikhael_k33hl >
so basically, this script will be run by systemd, and I've read systemd sends a signal SIGTERM > wait(90 seconds) > SIGKILL to the process to stop it. So I need to trap that signal to invoke shutdown for the FixedPool(concurrent-ruby)
20:36
<
apeiros >
&ri Singleton mikhael_k33hl
20:36
schneider has joined #ruby
20:36
<
apeiros >
note, IMO singletons are an abomination and shouldn't be used
20:36
<
apeiros >
(with some exceedingly rare exceptions)
20:37
<
apeiros >
traps are singular in nature, though. hence my hint.
20:38
fhmax has quit [Ping timeout: 240 seconds]
20:39
amar_ has joined #ruby
20:39
amar has quit [Read error: Connection reset by peer]
20:39
za1b1tsu has quit [Quit: Leaving]
20:41
schneider has quit [Ping timeout: 248 seconds]
20:41
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:43
clemens3 has quit [Ping timeout: 260 seconds]
20:45
schneider has joined #ruby
20:45
skweek has quit [Remote host closed the connection]
20:47
synthroid has quit []
20:47
dsfg has quit [Quit: Page closed]
20:49
jeffreylevesque has quit [Ping timeout: 264 seconds]
20:50
schneider has quit [Ping timeout: 240 seconds]
20:50
code_zombie has joined #ruby
20:50
code_zombie has quit [Max SendQ exceeded]
20:51
code_zombie has joined #ruby
20:51
schneider has joined #ruby
20:56
schneider has quit [Ping timeout: 264 seconds]
20:57
schneider has joined #ruby
20:58
Cavallari has quit [Quit: Cavallari]
20:59
agent_white has quit [Quit: leaving]
21:03
clemens3 has joined #ruby
21:04
jcalla has quit [Quit: Leaving]
21:11
erlend has quit [Ping timeout: 260 seconds]
21:11
Fysicus has quit [Ping timeout: 256 seconds]
21:11
erlend has joined #ruby
21:14
clemens3 has quit [Ping timeout: 240 seconds]
21:14
jhammerman has quit [Quit: jhammerman]
21:14
ldnunes has quit [Quit: Leaving]
21:15
pastorinni has quit [Remote host closed the connection]
21:16
pastorinni has joined #ruby
21:18
galeido has quit [Ping timeout: 252 seconds]
21:18
TheBloke has joined #ruby
21:18
galeido has joined #ruby
21:22
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:26
bmurt has joined #ruby
21:26
pastorinni has quit [Remote host closed the connection]
21:27
jeffreylevesque has joined #ruby
21:27
netherwolfe has joined #ruby
21:28
postmodern has joined #ruby
21:31
dr3w_ has joined #ruby
21:36
clemens3 has joined #ruby
21:37
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:38
cremes77 has joined #ruby
21:38
ellcs has quit [Ping timeout: 240 seconds]
21:41
marxarelli is now known as marxarelli|afk
21:42
jenrzzz has joined #ruby
21:42
jenrzzz has quit [Changing host]
21:42
jenrzzz has joined #ruby
21:44
houhoulis has joined #ruby
21:46
ur5us has joined #ruby
21:49
phaul has quit [Ping timeout: 268 seconds]
21:52
FrostCandy has quit []
21:52
za1b1tsu has joined #ruby
21:53
d10n-work has quit [Quit: Connection closed for inactivity]
21:54
dionysus69 has quit [Ping timeout: 256 seconds]
21:54
Fysicus has joined #ruby
21:56
Fysicus has quit [Excess Flood]
21:56
Fysicus has joined #ruby
21:57
amar_ has quit [Remote host closed the connection]
21:57
amar has joined #ruby
21:57
amar has quit [Remote host closed the connection]
22:00
cremes77 has quit [Quit: cremes77]
22:01
phaul has joined #ruby
22:01
ur5us has quit [Ping timeout: 252 seconds]
22:04
krawchyk has quit [Quit: krawchyk]
22:04
ramfjord has quit [Ping timeout: 255 seconds]
22:05
cremes77 has joined #ruby
22:08
tcopeland has quit [Quit: tcopeland]
22:09
iszak has quit [Ping timeout: 240 seconds]
22:09
n0m4d1c has joined #ruby
22:09
iszak has joined #ruby
22:09
iszak has joined #ruby
22:09
iszak has quit [Changing host]
22:10
ur5us has joined #ruby
22:11
SynSynack has joined #ruby
22:14
\void has quit [Quit: So long, and thanks for all the fish.]
22:17
pastorinni has joined #ruby
22:18
graft has quit [Ping timeout: 268 seconds]
22:20
za1b1tsu has quit [Quit: Leaving]
22:20
cremes77 has quit [Quit: cremes77]
22:21
kn-928 has joined #ruby
22:21
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:22
shinnya has joined #ruby
22:24
eckhardt has joined #ruby
22:27
FrostCandy has joined #ruby
22:28
netherwolfe has quit [Quit: Leaving]
22:29
pastorinni has quit [Remote host closed the connection]
22:29
pastorinni has joined #ruby
22:32
n0m4d1c_ has joined #ruby
22:33
comet23 has quit [Quit: Connection closed for inactivity]
22:34
pastorinni has quit [Ping timeout: 248 seconds]
22:35
n0m4d1c has quit [Ping timeout: 240 seconds]
22:38
ramfjord has joined #ruby
22:40
kn-928 has quit [Quit: WeeChat 2.1]
22:40
kn-928 has joined #ruby
22:41
cschneid has quit [Remote host closed the connection]
22:41
cschneid has joined #ruby
22:42
pastorinni has joined #ruby
22:42
jeffreylevesque has quit [Ping timeout: 240 seconds]
22:43
quobo has quit [Quit: Connection closed for inactivity]
22:44
clemens3 has quit [Ping timeout: 240 seconds]
22:46
orbyt_ has joined #ruby
22:46
cschneid has quit [Ping timeout: 276 seconds]
22:47
John_Ivan has quit [Read error: Connection reset by peer]
22:51
k0mpa has quit [Quit: k0mpa]
22:52
jenrzzz has quit [Ping timeout: 260 seconds]
22:56
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:57
solocshaw has joined #ruby
22:59
pastorinni has quit [Remote host closed the connection]
23:01
jenrzzz has joined #ruby
23:01
jenrzzz has quit [Changing host]
23:01
jenrzzz has joined #ruby
23:01
tcopeland has joined #ruby
23:03
eckhardt has joined #ruby
23:05
FrostCandy has quit []
23:07
gizmore has quit [Ping timeout: 240 seconds]
23:10
aceruser has quit [Read error: Connection reset by peer]
23:10
aceruser has joined #ruby
23:11
seydar has joined #ruby
23:11
SteenJobs has quit [Quit: peaceee]
23:11
ramfjord has quit [Ping timeout: 268 seconds]
23:12
<
seydar >
i just installed rvm fresh on my linux box (using the instructions on the rvm homepage), then i ran "rvm get head", and it does not list 2.6.0 as an available ruby to install
23:15
cthulchu_ has joined #ruby
23:17
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:18
<
seydar >
i think i'm going to open up an empty chat room because i honestly think half my problems get fixed just by hitting "enter" on irc
23:18
cthulchu has quit [Ping timeout: 256 seconds]
23:18
erlend has quit [Ping timeout: 264 seconds]
23:20
gizmore has joined #ruby
23:20
erlend has joined #ruby
23:21
schneider has quit [Ping timeout: 264 seconds]
23:21
houhoulis has quit []
23:22
nadir has quit [Quit: Connection closed for inactivity]
23:23
<
orbyt_ >
That's what the duck is fore
23:26
solocshaw has quit [Ping timeout: 264 seconds]
23:26
duderonomy has joined #ruby
23:26
venmx has joined #ruby
23:26
rfoust has joined #ruby
23:31
<
phaul >
quack, quack
23:35
nfsnobody has quit [Ping timeout: 248 seconds]
23:35
solocshaw has joined #ruby
23:35
uptime has quit [Excess Flood]
23:35
kent\n has quit [Remote host closed the connection]
23:36
uptime has joined #ruby
23:36
kent\n has joined #ruby
23:38
nfsnobody has joined #ruby
23:40
schneider has joined #ruby
23:42
dstrunk has joined #ruby
23:44
dstrunk has quit [Client Quit]
23:44
schneider has quit [Ping timeout: 240 seconds]
23:45
dstrunk has joined #ruby
23:45
<
seydar >
weird. i seem to no longer have sshd.
23:46
venmx has quit [Ping timeout: 256 seconds]
23:46
<
phaul >
you are still connected to irc
23:47
solocshaw has quit [Ping timeout: 240 seconds]
23:47
<
seydar >
irc is on my laptop, i somehow maintained an open ssh connection to my server... i just lost vim and sshd
23:49
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:55
n0m4d1c has joined #ruby
23:58
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:59
n0m4d1c_ has quit [Ping timeout: 260 seconds]
23:59
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]