00:01
venmx has quit [Ping timeout: 250 seconds]
00:08
mikecmpbll has quit [Quit: inabit. zz.]
00:11
lytol has quit [Remote host closed the connection]
00:14
surrounder has left #ruby ["WeeChat 2.3"]
00:15
akosednar has quit [Ping timeout: 268 seconds]
00:16
akosednar has joined #ruby
00:31
cschneid has joined #ruby
00:35
cschneid has quit [Ping timeout: 246 seconds]
00:39
gix has quit [Ping timeout: 245 seconds]
00:40
scrptktty has quit [Quit: Connection closed for inactivity]
00:41
davidw_ has quit [Ping timeout: 244 seconds]
00:46
tdy has joined #ruby
00:47
hutch has quit [Ping timeout: 246 seconds]
00:52
davidw_ has joined #ruby
00:55
solocshaw has joined #ruby
00:56
tdy has quit [Ping timeout: 240 seconds]
00:57
davidw_ has quit [Ping timeout: 240 seconds]
00:57
hutch has joined #ruby
01:00
cnsvc_ has joined #ruby
01:00
cnsvc has joined #ruby
01:12
solocshaw has quit [Ping timeout: 272 seconds]
01:17
meinside has joined #ruby
01:34
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:35
cnsvc has quit [Ping timeout: 256 seconds]
01:35
cnsvc_ has quit [Ping timeout: 256 seconds]
01:36
d10n-work has quit [Quit: Connection closed for inactivity]
01:39
solocshaw has joined #ruby
01:42
lytol has joined #ruby
01:43
tdy has joined #ruby
01:43
solocshaw has quit [Ping timeout: 250 seconds]
01:44
solocshaw has joined #ruby
01:46
hutch has quit [Ping timeout: 272 seconds]
01:53
duderonomy has joined #ruby
01:56
bmurt has joined #ruby
02:04
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:09
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:11
hutch has joined #ruby
02:11
cschneid has joined #ruby
02:17
cschneid has quit [Ping timeout: 250 seconds]
02:19
cthulchu has quit [Disconnected by services]
02:20
esrse has joined #ruby
02:20
cthulchu_ has joined #ruby
02:20
solocshaw1 has joined #ruby
02:21
solocshaw has quit [Ping timeout: 246 seconds]
02:21
solocshaw1 is now known as solocshaw
02:22
tdy has quit [Ping timeout: 246 seconds]
02:22
cschneid has joined #ruby
02:27
hutch has quit [Ping timeout: 250 seconds]
02:29
cnsvc has joined #ruby
02:29
cnsvc_ has joined #ruby
02:33
spacesuitdiver has joined #ruby
02:35
cschneid has quit [Ping timeout: 250 seconds]
02:41
memofun has joined #ruby
02:41
memofun has quit [Quit: WeeChat 1.9.1]
02:46
hutch has joined #ruby
02:52
tdy has joined #ruby
02:55
AJA4350 has quit [Quit: AJA4350]
03:01
kapil____ has joined #ruby
03:01
tiff has joined #ruby
03:01
jthomas2 has joined #ruby
03:02
solocshaw has quit [Quit: solocshaw]
03:05
jthomas2 has quit [Ping timeout: 246 seconds]
03:09
hutch has quit [Ping timeout: 272 seconds]
03:10
garyserj has quit [Quit: garyserj]
03:12
rkazak has joined #ruby
03:18
al2o3-cr has quit [Ping timeout: 246 seconds]
03:19
lytol has quit [Remote host closed the connection]
03:20
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:25
darix has quit [Quit: may the packets be with you...]
03:26
rkazak has quit [Quit: Sleep.....ing....]
03:27
orbyt_ has joined #ruby
03:28
cnsvc_ has quit [Ping timeout: 256 seconds]
03:28
cnsvc has quit [Ping timeout: 256 seconds]
03:28
Swyper has joined #ruby
03:29
Swyper has quit [Remote host closed the connection]
03:30
darix has joined #ruby
03:34
hutch has joined #ruby
03:39
hutch has quit [Ping timeout: 268 seconds]
03:49
jottr has quit [Ping timeout: 240 seconds]
03:50
ogres has joined #ruby
03:57
cnsvc_ has joined #ruby
03:58
cnsvc has joined #ruby
04:00
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:05
braincrash has quit [Quit: bye bye]
04:09
spacesuitdiver has joined #ruby
04:10
braincrash has joined #ruby
04:12
cnsvc has quit [Ping timeout: 256 seconds]
04:12
cnsvc_ has quit [Ping timeout: 256 seconds]
04:18
davidw_ has joined #ruby
04:18
agent_white has quit [Quit: leaving]
04:19
cnsvc has joined #ruby
04:20
jottr has joined #ruby
04:24
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:25
jottr has quit [Ping timeout: 246 seconds]
04:25
cnsvc_ has joined #ruby
04:28
masterasia has joined #ruby
04:37
hutch has joined #ruby
04:37
Swyper has joined #ruby
04:40
cnsvc has quit [Ping timeout: 256 seconds]
04:44
davidw_ has quit [Ping timeout: 250 seconds]
04:50
spacesuitdiver has quit [Read error: Connection reset by peer]
04:52
spacesuitdiver has joined #ruby
04:54
<
barg >
is there any particular recommended way for converting a csv to xls?
04:54
hutch has quit [Ping timeout: 245 seconds]
04:54
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:57
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:58
Swyper has quit [Remote host closed the connection]
04:59
tdy has quit [Ping timeout: 246 seconds]
05:00
tdy has joined #ruby
05:03
hutch has joined #ruby
05:04
<
eam >
barg: excel can open a .csv natively, what kind of conversion did you want to do?
05:04
<
eam >
at its most simple: File.rename "foo.csv", "foo.xls"
05:09
idiocrash has joined #ruby
05:10
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:10
cnsvc has joined #ruby
05:12
Renich has quit [Ping timeout: 246 seconds]
05:14
KeyJoo has joined #ruby
05:17
spacesuitdiver has joined #ruby
05:18
hutch has quit [Ping timeout: 250 seconds]
05:29
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:30
al2o3-cr has joined #ruby
05:32
Dreamer3 has quit [Quit: Leaving...]
05:35
Inline has quit [Quit: Leaving]
05:48
masterasia has joined #ruby
05:53
cschneid has joined #ruby
05:58
cschneid has quit [Ping timeout: 250 seconds]
05:59
hutch has joined #ruby
06:00
cnsvc_ has quit [Remote host closed the connection]
06:00
cnsvc_ has joined #ruby
06:01
jthomas2 has joined #ruby
06:02
rkazak has joined #ruby
06:06
jthomas2 has quit [Ping timeout: 272 seconds]
06:24
cschneid has joined #ruby
06:27
Dbugger has joined #ruby
06:41
_whitelogger has joined #ruby
06:42
cnsvc has quit [Quit: WeeChat 2.3]
06:44
cnsvc has joined #ruby
06:46
rkazak has joined #ruby
06:46
rippa has joined #ruby
06:52
hutch has quit [Ping timeout: 268 seconds]
06:53
despai has joined #ruby
06:53
hutch has joined #ruby
06:57
cschneid has quit [Ping timeout: 246 seconds]
07:01
aupadhye has joined #ruby
07:03
Nicmavr has quit [Read error: Connection reset by peer]
07:04
cnsvc has quit [Quit: WeeChat 2.2]
07:05
cnsvc has joined #ruby
07:05
Nicmavr has joined #ruby
07:09
dellavg_ has joined #ruby
07:09
rkazak has quit [Quit: Sleep.....ing....]
07:10
conta has quit [Quit: conta]
07:10
conta has joined #ruby
07:12
cnsvc has quit [Ping timeout: 256 seconds]
07:17
rkazak has joined #ruby
07:19
cnsvc has joined #ruby
07:21
aufi has joined #ruby
07:29
rkazak has quit [Quit: Sleep.....ing....]
07:36
_whitelogger has joined #ruby
07:38
jottr has joined #ruby
07:40
hutch has quit [Ping timeout: 244 seconds]
07:43
jottr has quit [Ping timeout: 245 seconds]
07:45
jottr has joined #ruby
07:49
despai has quit [Quit: ...]
07:54
kapil____ has joined #ruby
08:11
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:17
cschneid has joined #ruby
08:21
Puffball has joined #ruby
08:29
aupadhye is now known as aupadhye|food
08:31
al2o3-cr has quit [Quit: WeeChat 2.3]
08:31
sandelius has joined #ruby
08:45
jmcgnh has quit [Read error: Connection reset by peer]
08:45
spacesuitdiver has joined #ruby
08:46
jmcgnh has joined #ruby
08:49
jottr has quit [Ping timeout: 245 seconds]
08:50
cschneid has quit [Ping timeout: 272 seconds]
08:54
aupadhye|food is now known as aupadhye
09:00
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:04
VladGh has quit [Ping timeout: 250 seconds]
09:04
mikecmpbll has joined #ruby
09:10
ur5us has joined #ruby
09:13
ur5us has quit [Read error: Connection reset by peer]
09:14
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:16
za1b1tsu has joined #ruby
09:18
vondruch has joined #ruby
09:35
ellcs has joined #ruby
09:36
lxsameer has joined #ruby
09:51
Mike11 has joined #ruby
09:53
venmx has joined #ruby
09:56
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:58
m0w has joined #ruby
10:05
cnsvc has quit [Ping timeout: 256 seconds]
10:10
kapil____ has quit [Quit: Connection closed for inactivity]
10:11
Mike11 has quit [Ping timeout: 246 seconds]
10:17
Mike11 has joined #ruby
10:28
venmx has quit [Quit: leaving]
10:33
akosednar has quit [Ping timeout: 250 seconds]
10:33
akosednar has joined #ruby
10:36
uplime has quit [Ping timeout: 240 seconds]
10:47
cschneid has joined #ruby
10:49
KeyJoo has quit [Quit: KeyJoo]
10:51
reber has joined #ruby
10:57
reber has quit [Remote host closed the connection]
11:07
Nicmavr has quit [Ping timeout: 245 seconds]
11:12
esrse has quit [Ping timeout: 246 seconds]
11:12
Nicmavr has joined #ruby
11:12
uplime has joined #ruby
11:19
roshanavand has joined #ruby
11:20
cschneid has quit [Ping timeout: 245 seconds]
11:25
m0w has quit [Ping timeout: 246 seconds]
11:26
d^sh has quit [Ping timeout: 246 seconds]
11:27
d^sh has joined #ruby
11:27
m0w has joined #ruby
11:32
n01 has joined #ruby
11:32
n01 has quit [Remote host closed the connection]
11:33
n01 has joined #ruby
11:33
ruurd has joined #ruby
11:34
n01 has quit [Remote host closed the connection]
11:35
m0w has quit [Ping timeout: 246 seconds]
11:41
jottr has joined #ruby
11:45
_whitelogger has joined #ruby
11:46
uplime has quit [Ping timeout: 272 seconds]
11:49
jottr has quit [Ping timeout: 240 seconds]
11:56
jottr has joined #ruby
12:00
al2o3-cr has joined #ruby
12:04
Mike111 has joined #ruby
12:05
Mike111 has quit [Max SendQ exceeded]
12:05
masterasia has joined #ruby
12:06
Mike11 has quit [Ping timeout: 246 seconds]
12:12
nowhere_man has joined #ruby
12:14
status402 has joined #ruby
12:15
vondruch has quit [Ping timeout: 245 seconds]
12:32
nowhere_man has quit [Ping timeout: 252 seconds]
12:34
m0w has joined #ruby
12:35
aupadhye is now known as aupadhye|brb
12:35
vondruch has joined #ruby
12:39
aupadhye|brb is now known as aupadhye
12:40
status402_ has joined #ruby
12:40
status402 has quit [Read error: Connection reset by peer]
12:45
m0w has quit [Ping timeout: 250 seconds]
12:48
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
13:00
dviola has joined #ruby
13:01
AJA4350 has joined #ruby
13:02
uplime has joined #ruby
13:05
Emmanuel_Chanel has joined #ruby
13:07
lucasb has joined #ruby
13:13
kapil____ has joined #ruby
13:14
jottr has quit [Ping timeout: 272 seconds]
13:16
jottr has joined #ruby
13:16
cschneid has joined #ruby
13:17
uplime has quit [Ping timeout: 245 seconds]
13:18
jcalla has quit [Ping timeout: 250 seconds]
13:24
laaron has joined #ruby
13:42
_whitelogger has joined #ruby
13:49
agent_white has joined #ruby
13:50
reber has joined #ruby
13:50
uplime has joined #ruby
13:51
BTRE has quit [Remote host closed the connection]
13:54
cschneid has quit [Ping timeout: 246 seconds]
13:59
al2o3-cr has quit [Quit: WeeChat 2.3]
14:00
laaron has quit [Remote host closed the connection]
14:00
laaron has joined #ruby
14:01
laaron has quit [Remote host closed the connection]
14:01
laaron has joined #ruby
14:02
laaron has quit [Remote host closed the connection]
14:02
laaron has joined #ruby
14:02
cyberarm has quit [Ping timeout: 246 seconds]
14:03
laaron has quit [Remote host closed the connection]
14:03
laaron has joined #ruby
14:04
laaron has quit [Remote host closed the connection]
14:04
laaron has joined #ruby
14:05
laaron has quit [Remote host closed the connection]
14:05
laaron has joined #ruby
14:06
laaron has quit [Remote host closed the connection]
14:06
profetes has joined #ruby
14:06
al2o3-cr has joined #ruby
14:06
laaron has joined #ruby
14:07
laaron has quit [Remote host closed the connection]
14:07
laaron has joined #ruby
14:07
sandelius has joined #ruby
14:08
laaron has quit [Remote host closed the connection]
14:09
laaron has joined #ruby
14:09
laaron has quit [Remote host closed the connection]
14:09
donofrio has joined #ruby
14:09
laaron has joined #ruby
14:10
laaron has quit [Remote host closed the connection]
14:10
laaron has joined #ruby
14:11
dviola has quit [Ping timeout: 245 seconds]
14:12
Swyper has joined #ruby
14:12
<
Swyper >
string.gsub(/\W+/, ' ')
14:12
<
Swyper >
what exactly is /\W+/, ' '
14:12
PeteHansen has joined #ruby
14:13
<
PeteHansen >
Hello! So what's the fastest language on earth, say you need to execute commands with nanosecond presision?
14:13
aupadhye has quit [Quit: Leaving]
14:13
dviola has joined #ruby
14:14
<
phaul >
Swyper: /something/ is a regexp literal. You can find the meaning of \W and + on the page I linked
14:14
venmx has joined #ruby
14:15
<
Swyper >
ah I see it
14:15
donofrio has quit [Ping timeout: 272 seconds]
14:15
BTRE has joined #ruby
14:16
venmx has quit [Client Quit]
14:18
<
PeteHansen >
* precision
14:19
<
phaul >
assembly maybe, given a fixed architecture, for a given processor from a given vendor.
14:20
<
PeteHansen >
Cool, thanks man :D
14:21
jcalla has joined #ruby
14:22
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:23
uplime has quit [Ping timeout: 250 seconds]
14:26
dinfuehr has quit [Ping timeout: 240 seconds]
14:26
dinfuehr has joined #ruby
14:28
PeteHansen has quit [Quit: Lost terminal]
14:30
uplime has joined #ruby
14:34
mikecmpb_ has joined #ruby
14:34
Puffball has quit [Remote host closed the connection]
14:34
mikecmpbll has quit [Ping timeout: 268 seconds]
14:39
donofrio has joined #ruby
14:41
Swyper has quit [Remote host closed the connection]
14:42
polishdub has joined #ruby
14:46
Swyper has joined #ruby
14:46
<
Swyper >
string.gsub(/\W+/, '')
14:46
<
Swyper >
does this modify the original string aswell?
14:47
<
Swyper >
expected: "acc"
14:47
<
Swyper >
got: ["acc"]
14:47
<
canton7 >
that's pretty easy to test :P
14:48
<
canton7 >
you expected a string when you got an array
14:48
<
Swyper >
and to_s'ing that string makes it
14:48
<
Swyper >
expected: "acc"
14:48
<
Swyper >
got: "[\"acc\"]"
14:48
<
Swyper >
yeah I know but its not so straightforward to get just the string
14:49
<
tbuehlmann >
it does not mutate the string but returns a new one. different story for .gsub! which mutates (or returns nil if no changes were made)
14:56
<
Swyper >
Failure/Error: closest_c = string.split.max_by(1) {|word| (word.length-1)-word.index(‘c’)}: TypeError: nil can't be coerced into Integer
14:58
<
phaul >
&>> 'c'.index(‘c’)
14:58
donofrio has quit [Ping timeout: 268 seconds]
14:59
<
phaul >
your ' marks around c are some utf8 quotation marks
14:59
bmurt has joined #ruby
15:00
laaron has quit [Remote host closed the connection]
15:00
donofrio has joined #ruby
15:02
<
phaul >
ah, but not in the paste, just in what you pasted here. never mind
15:02
laaron has joined #ruby
15:03
vondruch_ has joined #ruby
15:04
<
phaul >
Swyper: the cause of the error is that if word does not contain 'c' then word.index('c') is nil. You can't subtract nil
15:05
<
Swyper >
TypeError:
15:05
<
Swyper >
nil can't be coerced into Integer
15:05
<
Swyper >
shoulden't compact remove all nils
15:05
conta has quit [Ping timeout: 246 seconds]
15:05
<
phaul >
&>> 'xxx'.index('y')
15:05
vondruch has quit [Ping timeout: 250 seconds]
15:06
vondruch_ is now known as vondruch
15:06
<
Swyper >
closest_c.max_by(1) {|word| (word.length-1)-word.index('c')}
15:06
<
Swyper >
my issue I guess is that I'm unsure of wether I can throw an if statement in there or how I should try to resolve this :P
15:08
<
Swyper >
maybe I should run a select beforehand which filters out all nil values
15:09
<
phaul >
you need to filter the ones without 'c'. compact indeed removed the nils.
15:09
<
phaul >
but you can also put an if in there
15:09
<
Swyper >
is there a general rule for knowing when you can put an if through an iterator and when you can't
15:09
<
Swyper >
like
*I think* you can't put an if in maps
15:10
<
phaul >
you always can
15:10
<
phaul >
&>> [1,2,3].map { |i| if i.odd? then 'odd'; else 'even'; end }
15:11
<
phaul >
reads better with multi line do..end and without semicolons
15:12
<
phaul >
for such things you can also use the ternary expression
15:12
<
Swyper >
I don't know why I thought I could not add ifs in certain cases
15:12
<
Swyper >
for sure I just find them conusing to follow
15:12
<
Swyper >
**confusing
15:12
<
phaul >
&>> [1,2,3].map { |i| i.odd? ? 'odd' : 'even' }
15:13
<
phaul >
ternary is for these kind of one liner ifs. condition plus two single case on one line
15:14
* phaul
afk for a bit
15:15
donofrio has quit [Ping timeout: 246 seconds]
15:16
KeyJoo has joined #ruby
15:16
cd has quit [Quit: cd]
15:19
cschneid has joined #ruby
15:21
al2o3-cr has quit [Quit: WeeChat 2.3]
15:21
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:21
hiroaki has joined #ruby
15:22
Inline has joined #ruby
15:23
conta has joined #ruby
15:28
cschneid has quit []
15:29
zenspider has quit [Read error: Connection reset by peer]
15:30
zenspider_ has joined #ruby
15:30
al2o3-cr has joined #ruby
15:33
uplime has quit [Ping timeout: 246 seconds]
15:34
chouhoulis has joined #ruby
15:35
Rapture has joined #ruby
15:41
Sembei has joined #ruby
15:42
Pisuke has quit [Ping timeout: 250 seconds]
15:43
gnufied has joined #ruby
15:44
dinfuehr has quit [Ping timeout: 246 seconds]
15:46
Inline has quit [Remote host closed the connection]
15:46
dinfuehr has joined #ruby
15:47
donofrio has joined #ruby
15:50
za1b1tsu has quit [Remote host closed the connection]
15:50
jthomas2 has joined #ruby
15:50
Inline has joined #ruby
15:53
d^sh has quit [Ping timeout: 240 seconds]
15:53
donofrio has quit [Ping timeout: 272 seconds]
15:53
conta1 has joined #ruby
15:54
d^sh has joined #ruby
15:56
jthomas3 has joined #ruby
15:59
jthomas2 has quit [Ping timeout: 272 seconds]
15:59
Swyper has quit [Remote host closed the connection]
16:00
laaron has quit [Remote host closed the connection]
16:00
spiette has joined #ruby
16:01
laaron has joined #ruby
16:01
laaron has quit [Remote host closed the connection]
16:01
dinfuehr has quit [Ping timeout: 250 seconds]
16:02
laaron has joined #ruby
16:02
conta1 has quit [Ping timeout: 250 seconds]
16:02
dinfuehr has joined #ruby
16:02
laaron has quit [Remote host closed the connection]
16:02
status402_ has quit [Quit: status402_]
16:03
laaron has joined #ruby
16:03
laaron has quit [Remote host closed the connection]
16:04
laaron has joined #ruby
16:04
laaron has quit [Remote host closed the connection]
16:05
laaron has joined #ruby
16:05
laaron has quit [Remote host closed the connection]
16:06
laaron has joined #ruby
16:06
laaron has quit [Remote host closed the connection]
16:07
laaron has joined #ruby
16:07
laaron has quit [Remote host closed the connection]
16:08
laaron has joined #ruby
16:08
laaron has quit [Remote host closed the connection]
16:09
vondruch has quit [Quit: vondruch]
16:09
laaron has joined #ruby
16:09
vondruch has joined #ruby
16:09
laaron has quit [Remote host closed the connection]
16:10
laaron has joined #ruby
16:10
laaron has quit [Remote host closed the connection]
16:11
laaron has joined #ruby
16:16
hiroaki has quit [Ping timeout: 250 seconds]
16:17
<
havenwood >
They're gone, but I'd be tempted to #chunk.
16:17
<
havenwood >
&>> [1, 2, 3, 3, 4, 4, 4].each_with_index.chunk(&:first).map(&:last).reject(&:one?).map { |a| a.map(&:last).minmax }
16:18
Renich has joined #ruby
16:20
Aqo has joined #ruby
16:23
aufi has quit [Ping timeout: 246 seconds]
16:27
dinfuehr has quit [Ping timeout: 244 seconds]
16:28
dinfuehr has joined #ruby
16:29
akaiiro has joined #ruby
16:30
<
phaul >
it would be cool if rubydoc had an option for this..
16:31
profetes has quit [Ping timeout: 272 seconds]
16:32
hiroaki has joined #ruby
16:32
uplime has joined #ruby
16:35
ruurd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:37
quipa has joined #ruby
16:38
uplime has quit [Ping timeout: 240 seconds]
16:39
uplime has joined #ruby
16:42
hiroaki has quit [Ping timeout: 250 seconds]
16:42
jcalla has quit [Ping timeout: 246 seconds]
16:43
davidw_ has joined #ruby
16:47
hiroaki has joined #ruby
16:53
\void has joined #ruby
16:56
Swyper has joined #ruby
16:59
hutch has joined #ruby
16:59
dviola has quit [Ping timeout: 244 seconds]
17:00
laaron has quit [Remote host closed the connection]
17:00
laaron has joined #ruby
17:01
laaron has quit [Remote host closed the connection]
17:01
laaron has joined #ruby
17:02
laaron has quit [Remote host closed the connection]
17:02
laaron has joined #ruby
17:03
laaron has quit [Remote host closed the connection]
17:03
laaron has joined #ruby
17:04
laaron has quit [Remote host closed the connection]
17:04
laaron has joined #ruby
17:05
laaron has quit [Remote host closed the connection]
17:06
laaron has joined #ruby
17:06
laaron has quit [Remote host closed the connection]
17:06
laaron has joined #ruby
17:07
laaron has quit [Remote host closed the connection]
17:07
rubydoc has quit [Ping timeout: 246 seconds]
17:07
laaron has joined #ruby
17:08
laaron has quit [Remote host closed the connection]
17:08
phaul has quit [Ping timeout: 246 seconds]
17:08
laaron has joined #ruby
17:08
tdy has joined #ruby
17:09
dviola has joined #ruby
17:09
laaron- has joined #ruby
17:10
laaron- has quit [Remote host closed the connection]
17:10
laaron has quit [Remote host closed the connection]
17:10
laaron- has joined #ruby
17:12
lxsameer has quit [Ping timeout: 244 seconds]
17:14
spacesuitdiver has joined #ruby
17:19
agent_white has quit [Quit: brb]
17:20
<
Swyper >
I don't why the array I declared is completely empty
17:21
<
Swyper >
if((number == arr[i+1]) && (!(arr[0]..arr[i-1]).include?(arr[i])))
17:21
<
Swyper >
the second part of that is probably causing the issue
17:22
phaul has joined #ruby
17:24
rubydoc has joined #ruby
17:26
lucasb has quit [Quit: Connection closed for inactivity]
17:27
_phaul has joined #ruby
17:29
phaul has quit [Ping timeout: 244 seconds]
17:31
_phaul is now known as phaul
17:31
<
phaul >
Swyper: arr[0] .. arr[i-1] is the main issue. Lets say for instance arr[0] is 'a' and arr[i-1] is 'c'. then it's bassically 'a' .. 'c' which is a range containing 'a', 'b' and 'c'
17:32
mikecmpb_ has quit [Quit: inabit. zz.]
17:32
SeepingN has joined #ruby
17:33
<
phaul >
you can slice an array with a very similar syntax probably that's what you wanted. take a look at
17:33
<
phaul >
&ri Array#slice
17:34
<
Swyper >
I wanted it to be a range from a[0] to [a-1]
17:34
<
Swyper >
ok i got what your saying
17:36
<
Swyper >
if((number == arr[i+1]) && (!(arr[0..i-1]).include?(arr[i]))) gives me the same output
17:36
<
baweaver >
Someone likes parens
17:37
<
baweaver >
if number == arr[i+1] && !(arr[0..i-1]).include?(arr[i])
17:37
<
baweaver >
if number == arr[i+1] && !arr[0..i-1].include?(arr[i])
17:38
<
baweaver >
There we go. That does the same thing and doesn't have superfluous parens.
17:38
<
Swyper >
I do have alot of redundant parans in there. lol
17:38
<
baweaver >
&ri Enumerable#chunk
17:38
<
baweaver >
Read into that.
17:40
<
baweaver >
phaul: I should coax them into visiting IRC again
17:40
<
baweaver >
We chat on Twitter occasionally.
17:40
akaiiro has quit [Ping timeout: 240 seconds]
17:42
pskosinski has joined #ruby
17:50
sanscoeur has joined #ruby
17:51
orbyt_ has joined #ruby
17:54
pskosinski has quit [Remote host closed the connection]
17:55
BH23 has quit [Ping timeout: 246 seconds]
17:56
akaiiro has joined #ruby
17:56
lytol has joined #ruby
18:00
laaron- has quit [Remote host closed the connection]
18:00
pskosinski has joined #ruby
18:01
laaron has joined #ruby
18:01
laaron has quit [Remote host closed the connection]
18:01
laaron has joined #ruby
18:02
laaron has quit [Remote host closed the connection]
18:02
laaron has joined #ruby
18:03
laaron has quit [Remote host closed the connection]
18:03
laaron has joined #ruby
18:04
pskosinski_ has joined #ruby
18:04
laaron has quit [Remote host closed the connection]
18:04
laaron has joined #ruby
18:05
laaron has quit [Remote host closed the connection]
18:05
laaron has joined #ruby
18:06
laaron has quit [Remote host closed the connection]
18:06
laaron has joined #ruby
18:06
pskosinski has quit [Ping timeout: 272 seconds]
18:07
laaron has quit [Remote host closed the connection]
18:07
laaron has joined #ruby
18:08
akaiiro has quit [Remote host closed the connection]
18:08
laaron has quit [Remote host closed the connection]
18:08
laaron has joined #ruby
18:09
laaron has quit [Remote host closed the connection]
18:09
pskosinski_ has quit [Remote host closed the connection]
18:09
laaron has joined #ruby
18:10
laaron has quit [Remote host closed the connection]
18:10
laaron has joined #ruby
18:11
conta has quit [Quit: conta]
18:12
akaiiro has joined #ruby
18:13
conta has joined #ruby
18:17
conta has quit [Ping timeout: 246 seconds]
18:21
KeyJoo has quit [Quit: KeyJoo]
18:23
sauvin has quit [Read error: Connection reset by peer]
18:25
r29v has joined #ruby
18:34
<
Swyper >
im still not getting why !(list_of_passed_elements.include?(arr[i])) hardly executes
18:35
Eiam has joined #ruby
18:37
<
Swyper >
havenwood phaul if any of you guys are on and can help
18:38
<
havenwood >
Swyper: Instead of Array.new use the Array literal unless you're providing an argument or block: []
18:39
<
havenwood >
Swyper: `i.succ` is a fancy, fast way to do `i+1`
18:39
<
havenwood >
Swyper: No need for these outer parens - remove them: (list_of_passed_elements.include?(arr[i]))
18:40
<
havenwood >
Swyper: So just: !list_of_passed_elements.include?(arr[i])
18:40
<
havenwood >
Swyper: Most folk use #<< (the shovel operator) instead of #push.
18:40
<
havenwood >
Swyper: list_of_elements << i
18:40
<
havenwood >
Swyper: Drop the explicit `return` unless you're returning early.
18:41
hurricanehrndz has joined #ruby
18:41
<
Swyper >
why << instead of push ?
18:42
<
havenwood >
Swyper: More visually pleasing I suppose. It indicates what side of the Array is being added to. It's just aesthetic, but It's rare to see #push.
18:42
<
havenwood >
Swyper: It's the least important of my suggestions. >.>
18:42
<
havenwood >
Swyper: less noise too - usually no parens and no dot
18:43
<
Swyper >
the parens make it easier for me to read
18:44
<
Swyper >
but im trying a new approach rn
18:44
<
havenwood >
Swyper: That's ^ identical behavior, just a surface-level refactor.
18:44
d10n-work has joined #ruby
18:44
<
havenwood >
list_of_passed_elements << arr[i]
18:44
<
havenwood >
list_of_passed_elements.push(arr[i])
18:44
<
havenwood >
top one ^ is less noise
18:45
<
havenwood >
it doesn't really matter
18:45
<
Swyper >
renamed the array to be more descriptive
18:46
<
Swyper >
still cant figure out why its not working >_>
18:46
<
Swyper >
I'm going to figure out nested the arrays after should be easy
18:46
<
Swyper >
but I want all the indexes in the new array I made
18:47
<
havenwood >
Swyper: I'd use #chunk, but consider the following:
18:47
<
havenwood >
&>> [1, 2, 3, 3, 4, 4, 4].each_cons(2).with_index { |(a, b), i| puts i if a == b }
18:48
<
havenwood >
Swyper: #each_cons(2) is basically what you're doing with index comparison, but it's more performant, succinct and automatically handles the prone-to-error index comparison.
18:49
<
havenwood >
&>> [:a, :b, :b, :c, :c, :c, :d].each_cons(2).to_a
18:49
<
rubydoc >
# => [[:a, :b], [:b, :b], [:b, :c], [:c, :c], [:c, :c], [:c, :d]] (
https://carc.in/#/r/5wm5 )
18:49
<
havenwood >
Swyper: So it's index 0 & 1, then 1 & 2, and so on.
18:49
tdy has quit [Ping timeout: 244 seconds]
18:50
<
havenwood >
&>> [:a, :b, :b, :c, :c, :c, :d].chunk(&:itself).to_a.map(&:last)
18:50
<
havenwood >
No need for that #to_a - was going to show the full result.
18:50
<
havenwood >
Swyper: #chunk is made for just this scenario - when you want to chunk things that have contiguous indexes
18:51
<
havenwood >
&>> [0, 0, 1, 1, 1, 3].chunk(&:itself).map(&:last) # Swyper
18:52
Swyper has quit [Remote host closed the connection]
18:58
raulp has quit [Ping timeout: 272 seconds]
18:59
sameerynho has joined #ruby
18:59
jcalla has joined #ruby
19:00
laaron has quit [Remote host closed the connection]
19:01
laaron has joined #ruby
19:01
laaron has quit [Remote host closed the connection]
19:01
laaron has joined #ruby
19:02
Swyper has joined #ruby
19:02
laaron has quit [Remote host closed the connection]
19:03
laaron has joined #ruby
19:03
laaron has quit [Remote host closed the connection]
19:04
laaron has joined #ruby
19:04
quipa has quit [Remote host closed the connection]
19:04
laaron has quit [Remote host closed the connection]
19:05
laaron has joined #ruby
19:05
quipa has joined #ruby
19:05
laaron has quit [Remote host closed the connection]
19:06
laaron has joined #ruby
19:07
Swyper has quit [Ping timeout: 272 seconds]
19:07
laaron has quit [Remote host closed the connection]
19:07
<
cthulchu_ >
my lovely folks
19:07
laaron has joined #ruby
19:07
laaron has quit [Remote host closed the connection]
19:08
<
cthulchu_ >
If I have def self.method(), then later in a different method of the same class, when I need to call the method, do I have to mention self or not?
19:08
<
cthulchu_ >
it works fine when I call it like self.method(), but I wonder if there is a difference in this case
19:08
laaron has joined #ruby
19:08
laaron has quit [Remote host closed the connection]
19:09
laaron has joined #ruby
19:09
laaron has quit [Remote host closed the connection]
19:10
laaron has joined #ruby
19:10
quipa has quit [Excess Flood]
19:10
laaron has quit [Remote host closed the connection]
19:11
laaron has joined #ruby
19:11
quipa has joined #ruby
19:12
quipa has quit [Read error: Connection reset by peer]
19:16
hutch has quit [Ping timeout: 250 seconds]
19:20
JargonedIambic has joined #ruby
19:20
hutch has joined #ruby
19:22
kapil____ has quit [Quit: Connection closed for inactivity]
19:22
JargonedIambic has quit [Remote host closed the connection]
19:25
Swyper has joined #ruby
19:25
<
Swyper >
I have no idea why chat keeps disconnecting me
19:25
<
havenwood >
cthulchu_: Yes, you need to call module and class methods on the module or class.
19:26
<
Swyper >
I finally got it working
19:26
<
havenwood >
Swyper: See the logs for what you missed. Or grab a bouncer like ZNC.
19:26
<
havenwood >
Swyper: Show your code?
19:26
<
Swyper >
its still mostly the same
19:27
<
havenwood >
Swyper: nice
19:28
<
havenwood >
Swyper: Using the Array literal `[]` is faster and uses less memory than `Array.new`, which should only be used with arguments.
19:28
<
Swyper >
sorry if this is off-topic but it takes so much effort to get the code to even work, I'm usually to tired to refactor it to make it pretty/more-readable/efficient when I don't need to
19:28
<
havenwood >
Swyper: Drop the parens around: (number != count)
19:28
<
Swyper >
is that a common thing? how do you guys tackle it ?
19:29
<
havenwood >
Swyper: Red, green, refactor!
19:29
GodFather has joined #ruby
19:29
<
havenwood >
Swyper: The refactor part is hugely important, since we end up reading code more often than writign.
19:29
<
havenwood >
Swyper: Your future self will thank your past self.
19:29
<
Swyper >
so get it working, take a break and then refactor ?
19:30
<
havenwood >
Swyper: yup!
19:30
<
havenwood >
Swyper: And enjoy the refactor. That's a fun process and you end up with something more lovely, more performant, and more readable.
19:32
<
cjohnson >
What is the ruby construct where you can define a context for overriding child classes
19:33
<
havenwood >
cjohnson: refinements?
19:33
<
cjohnson >
that's the one thanks
19:33
<
cthulchu_ >
there seems to be an issue with curvy brackets...
19:33
cnsvc has joined #ruby
19:37
<
havenwood >
Swyper: Check if your solution works when the first number is repeated.
19:41
<
havenwood >
cthulchu_: what's the error?
19:42
<
cthulchu_ >
the last curvy bracket is highlighted by the syntax checker
19:42
<
cthulchu_ >
I have little clue why
19:42
<
havenwood >
cthulchu_: it's supposed to be `end` not `}`.
19:42
<
cthulchu_ >
file do end?
19:42
<
havenwood >
cthulchu_: do with end or { with }
19:42
<
cthulchu_ >
riiiight!
19:43
<
cthulchu_ >
sorry for that
19:47
Swyper has quit [Remote host closed the connection]
19:51
<
baweaver >
ohai cjohnson
19:51
<
baweaver >
happy new years
19:52
evenom has joined #ruby
19:52
arup_r has joined #ruby
19:58
<
cjohnson >
baweaver: obye
19:58
<
cjohnson >
lol jk happy new year
19:59
ua has quit [Ping timeout: 246 seconds]
20:00
laaron has quit [Remote host closed the connection]
20:00
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:00
laaron has joined #ruby
20:01
laaron has quit [Remote host closed the connection]
20:01
jcalla has quit [Ping timeout: 246 seconds]
20:01
laaron has joined #ruby
20:02
laaron has quit [Remote host closed the connection]
20:02
laaron has joined #ruby
20:03
ua has joined #ruby
20:03
laaron has quit [Remote host closed the connection]
20:04
laaron has joined #ruby
20:04
despai has joined #ruby
20:04
laaron has quit [Remote host closed the connection]
20:05
laaron has joined #ruby
20:05
laaron has quit [Remote host closed the connection]
20:05
streblo has joined #ruby
20:05
streblo has quit [Read error: Connection reset by peer]
20:06
laaron has joined #ruby
20:06
laaron has quit [Remote host closed the connection]
20:07
laaron has joined #ruby
20:07
laaron has quit [Remote host closed the connection]
20:08
streblo has joined #ruby
20:08
laaron has joined #ruby
20:08
laaron has quit [Remote host closed the connection]
20:09
laaron has joined #ruby
20:09
laaron has quit [Remote host closed the connection]
20:10
laaron has joined #ruby
20:10
laaron has quit [Remote host closed the connection]
20:11
laaron has joined #ruby
20:14
evenom has quit [Quit: Leaving]
20:17
jcalla has joined #ruby
20:20
<
Iambchop >
&>> [Time.utc('2019-01-01 00:02:57.000'), Time.utc(2019, 1, 1, 0, 2, 57)]
20:20
tdy has joined #ruby
20:24
crankharder has joined #ruby
20:31
<
Eiam >
happy new year rubyist
20:32
<
Eiam >
another year of helping people with their homework
20:33
streblo has quit [Ping timeout: 256 seconds]
20:34
conta has joined #ruby
20:34
<
havenwood >
Eiam: \o/
20:38
ua_ has joined #ruby
20:38
conta has quit [Ping timeout: 250 seconds]
20:41
ua has quit [Ping timeout: 250 seconds]
20:46
mikecmpbll has joined #ruby
20:47
conta has joined #ruby
20:50
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:51
rkazak has joined #ruby
20:52
conta has quit [Ping timeout: 272 seconds]
20:54
Fernando-Basso has joined #ruby
20:57
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:57
gix has joined #ruby
21:00
laaron has quit [Remote host closed the connection]
21:00
laaron has joined #ruby
21:01
laaron has quit [Remote host closed the connection]
21:01
laaron has joined #ruby
21:01
dviola has quit [Ping timeout: 250 seconds]
21:01
laaron has quit [Remote host closed the connection]
21:02
despai has quit [Quit: ...]
21:02
laaron has joined #ruby
21:03
laaron has quit [Remote host closed the connection]
21:03
laaron has joined #ruby
21:03
laaron has quit [Remote host closed the connection]
21:04
laaron has joined #ruby
21:04
laaron has quit [Remote host closed the connection]
21:05
laaron has joined #ruby
21:06
laaron has quit [Remote host closed the connection]
21:06
reber has quit [Remote host closed the connection]
21:06
laaron has joined #ruby
21:07
laaron has quit [Remote host closed the connection]
21:07
laaron has joined #ruby
21:07
<
Eiam >
and maybe professionals with their workwork =)
21:08
laaron has quit [Remote host closed the connection]
21:08
<
mspo >
I do workwork at home
21:08
laaron has joined #ruby
21:08
<
mspo >
it rarely presents as "figure out how to slice a pizza in two lines of code"
21:09
laaron has quit [Remote host closed the connection]
21:09
laaron has joined #ruby
21:10
laaron has quit [Remote host closed the connection]
21:10
laaron has joined #ruby
21:11
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:12
dviola has joined #ruby
21:12
cnsvc has quit [Ping timeout: 256 seconds]
21:19
conta has joined #ruby
21:23
conta has quit [Remote host closed the connection]
21:24
conta has joined #ruby
21:27
spacesuitdiver has joined #ruby
21:28
conta has quit [Ping timeout: 246 seconds]
21:30
orbyt_ has joined #ruby
21:35
dviola has quit [Quit: WeeChat 2.3]
21:40
phaul has quit [Quit: bye]
21:40
phaul has joined #ruby
21:40
phaul has quit [Client Quit]
21:40
phaul has joined #ruby
21:41
phaul has quit [Client Quit]
21:41
phaul has joined #ruby
21:42
<
Eiam >
funny most of my workwork in ruby involves figuring out how to slice data into various views
21:44
<
Eiam >
thats kind of like pizza!
21:44
<
Eiam >
Ruby: The ultimate pizza cutter
21:44
<
phaul >
?pizza, Eiam
21:44
<
ruby[bot] >
here's your pizza: 🍕
21:45
<
phaul >
ruby[bot] ruined it :(
21:45
* Eiam
writes a single line of Ruby to enumerate the pizza 15 times to pull the one pepperoni he wants from the whole pizza
21:50
ivanskie has joined #ruby
21:53
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
22:00
laaron has quit [Remote host closed the connection]
22:00
<
up|ime >
15 times? that's a big pizza.
22:00
<
up|ime >
most of my pizzas are 8 slices
22:01
eb0t has quit [Quit: WeeChat 2.2]
22:01
conta has joined #ruby
22:01
<
SeepingN >
XXL baby
22:01
<
Eiam >
was more a jab at people constantly enumerating large structures poorly =)
22:02
laaron has joined #ruby
22:03
<
Eiam >
I just turn it all into hashes so lookup is super easy!
22:04
<
up|ime >
if only enumerating a large pizza was one of the problems i had
22:05
conta has quit [Ping timeout: 245 seconds]
22:09
MyMind has joined #ruby
22:09
tiff has joined #ruby
22:09
towo has quit [Remote host closed the connection]
22:11
Sembei has quit [Ping timeout: 268 seconds]
22:14
towo has joined #ruby
22:15
MyMind has quit [Ping timeout: 245 seconds]
22:15
Pisuke has joined #ruby
22:19
Spitfire has quit [Ping timeout: 264 seconds]
22:25
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:27
Spitfire has joined #ruby
22:28
<
cthulchu_ >
ruuuuby! wewewewe
22:30
laaron has quit [Remote host closed the connection]
22:30
laaron has joined #ruby
22:32
conta has joined #ruby
22:33
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:34
Swyper has joined #ruby
22:34
<
havenwood >
&>> require 'matrix'; 29.upto(32).map { |n| (Matrix[[0, 1], [1, 1]] ** n.pred)[1, 1] % n.pred + 140 }.tap { |a| a[-1] += 99 }.reverse.pack('C*').force_encoding('utf-8')
22:36
<
Eiam >
did you just encode a pizza
22:36
<
Eiam >
oh AND you got a .tap in there to abuse, look at you
22:37
conta has quit [Ping timeout: 250 seconds]
22:37
xlued has joined #ruby
22:37
<
phaul >
havenwood: have you heard about the C obfuscation contest?
https://www.ioccc.org/ even though it's C you might appreciate some of the code there :)
22:38
<
Eiam >
hehe that was a thing when I was in high school
22:38
Swyper has quit [Ping timeout: 250 seconds]
22:39
<
phaul >
it still seems to be a thing
22:39
<
Eiam >
didn't Why used to do weird ruby code
22:41
Swyper has joined #ruby
22:42
Swyper has quit [Remote host closed the connection]
22:50
orbyt_ has joined #ruby
22:51
polishdub has quit [Quit: leaving]
22:51
evdubs_ has quit [Remote host closed the connection]
22:52
evdubs_ has joined #ruby
22:53
<
Iambchop >
The underhanded C contest was always good too: innocent looking code with a malicious behavior.
22:57
donofrio has joined #ruby
22:57
<
Eiam >
your circle isn't one?
22:57
mikecmpbll has quit [Quit: inabit. zz.]
22:58
donofrio has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
22:58
donofrio has joined #ruby
23:00
laaron has quit [Remote host closed the connection]
23:00
laaron has joined #ruby
23:01
laaron has quit [Remote host closed the connection]
23:01
laaron has joined #ruby
23:02
laaron has quit [Remote host closed the connection]
23:02
crankharder has quit [Ping timeout: 250 seconds]
23:02
laaron has joined #ruby
23:03
laaron has quit [Remote host closed the connection]
23:04
laaron has joined #ruby
23:04
laaron has quit [Remote host closed the connection]
23:05
laaron has joined #ruby
23:05
laaron has quit [Remote host closed the connection]
23:06
laaron has joined #ruby
23:06
laaron has quit [Remote host closed the connection]
23:07
laaron has joined #ruby
23:07
laaron has quit [Remote host closed the connection]
23:08
laaron has joined #ruby
23:08
laaron has quit [Remote host closed the connection]
23:09
donofrio has quit [Ping timeout: 246 seconds]
23:09
laaron has joined #ruby
23:10
laaron has quit [Remote host closed the connection]
23:10
laaron has joined #ruby
23:11
hutch has quit [Ping timeout: 245 seconds]
23:12
<
cthulchu_ >
I REALLY appreciate that String[0] works as one would expect
23:12
<
cthulchu_ >
I tried many langs and every bloody time I was like "OMFG!" when it doesn't work like that
23:13
<
phaul >
leftylink: those are great, thanks for the link.
23:15
<
baweaver >
!connection laaron
23:15
laaron was kicked from #ruby by ruby[bot] [repeated join/part detected]
23:15
<
phaul >
yeah, I was a bit disappointed printing random chars on my screen first. then... whoa! that's cool!
23:15
* baweaver
wanders in
23:18
mksybr has joined #ruby
23:18
GodFather has quit [Ping timeout: 244 seconds]
23:18
viaduct has joined #ruby
23:18
viaduct has quit [Remote host closed the connection]
23:22
Fernando-Basso has quit [Remote host closed the connection]
23:23
dellavg_ has quit [Ping timeout: 246 seconds]
23:25
hutch has joined #ruby
23:29
conta has joined #ruby
23:33
Dbugger has quit [Quit: Leaving]
23:34
conta has quit [Ping timeout: 268 seconds]
23:40
<
mspo >
cthulchu_: does it dtrt if that character is wide?
23:41
masterasia has joined #ruby
23:42
<
mspo >
(fyi ruby25 seems to)
23:42
<
mspo >
with the extra annoying string: ⚛⚛⚛ :)
23:44
<
cthulchu_ >
gonna try
23:44
<
cthulchu_ >
wowowowow
23:44
<
cthulchu_ >
what a hack!
23:44
<
mspo >
cthulchu_: ?
23:44
<
cthulchu_ >
2.2.0 :022 > ⚛⚛⚛[0]
23:44
<
cthulchu_ >
NameError: undefined local variable or method `⚛⚛⚛' for main:Object
23:45
<
mspo >
put it in ""
23:45
<
cthulchu_ >
works fine in 2.2.0
23:48
gix has quit [Ping timeout: 268 seconds]
23:50
cnsvc has joined #ruby