00:00
GodFather has joined #ruby
00:05
andremedeiros has quit [Read error: Connection reset by peer]
00:07
andremedeiros has joined #ruby
00:10
akem has quit [Ping timeout: 252 seconds]
00:11
akem_ has joined #ruby
00:12
elcuervo has joined #ruby
00:13
andremedeiros has quit [Read error: Connection reset by peer]
00:15
andremedeiros has joined #ruby
00:17
factormystic has quit [Read error: Connection reset by peer]
00:17
factormystic has joined #ruby
00:18
Mia has joined #ruby
00:18
Mia has joined #ruby
00:19
kenichi has quit [Remote host closed the connection]
00:19
kenichi has joined #ruby
00:20
Axy has quit [Ping timeout: 240 seconds]
00:22
andremedeiros has quit [Read error: Connection reset by peer]
00:24
andremedeiros has joined #ruby
00:29
andremedeiros has quit [Read error: Connection reset by peer]
00:31
MalkbabY has quit [Remote host closed the connection]
00:31
andremedeiros has joined #ruby
00:31
MalkbabY has joined #ruby
00:36
akem has joined #ruby
00:36
patr0clus has joined #ruby
00:36
akem_ has quit [Ping timeout: 240 seconds]
00:37
ReinH__ is now known as ReinH
00:41
andremedeiros has quit [Read error: Connection reset by peer]
00:43
andremedeiros has joined #ruby
00:50
andremedeiros has quit [Read error: Connection reset by peer]
00:51
andremedeiros has joined #ruby
00:57
andremedeiros has quit [Read error: Connection reset by peer]
00:59
andremedeiros has joined #ruby
01:01
Azure has quit [Read error: Connection reset by peer]
01:02
Azure has joined #ruby
01:07
mouseghost has joined #ruby
01:09
<
mouseghost >
meow meow, is anyone up? is it possible to make an array with a "hole" in one line? like a=[1]; a[3]=2, but with some syntax like [1,3=>2]
01:10
akem_ has joined #ruby
01:10
akem has quit [Ping timeout: 240 seconds]
01:12
gearnode has quit [Ping timeout: 245 seconds]
01:17
roshanavand__ has quit [Ping timeout: 265 seconds]
01:18
Lyubo1 has joined #ruby
01:21
Tempesta has quit [Read error: Connection reset by peer]
01:21
Tempesta has joined #ruby
01:21
Tempesta has joined #ruby
01:21
Tempesta has quit [Changing host]
01:21
GodFather has quit [Ping timeout: 246 seconds]
01:22
<
havenwood >
mouseghost: You can just do it!
01:23
<
havenwood >
&>> a = [1]; a[2] = 42; a
01:23
<
havenwood >
mouseghost: Oh, I misread.
01:23
<
mouseghost >
yeah but i was hoping that there was some different syntax ;p
01:24
<
havenwood >
&>> [1, [nil] * 2, 3]
01:24
<
havenwood >
&>> [1, *[nil] * 2, 3]
01:24
<
havenwood >
mouseghost: ^
01:24
<
havenwood >
not pretty
01:25
<
mouseghost >
brrr not pretty indeed
01:25
<
mouseghost >
though thanks :3
01:25
<
havenwood >
mouseghost: or you could #fill and shovel on the end?
01:25
<
havenwood >
mouseghost: But no, there's not that specific syntax.
01:25
<
mouseghost >
thanks
01:25
<
havenwood >
any time!
01:26
<
mouseghost >
mlem :3
01:29
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:31
maryo has joined #ruby
01:32
alexherbo2 has quit [Ping timeout: 240 seconds]
01:38
baojg has joined #ruby
01:40
akem_ has quit [Ping timeout: 240 seconds]
01:40
akem has joined #ruby
01:44
al2o3-cr has quit [Quit: WeeChat 3.1]
01:47
al2o3-cr has joined #ruby
01:51
andremedeiros has quit [Read error: Connection reset by peer]
01:52
andremedeiros has joined #ruby
01:56
wald0 has quit [Quit: leaving]
02:05
andremedeiros has quit [Read error: Connection reset by peer]
02:06
mouseghost has quit [Quit: mew wew]
02:06
wald0 has joined #ruby
02:07
andremedeiros has joined #ruby
02:27
akem_ has joined #ruby
02:27
akem has quit [Ping timeout: 260 seconds]
02:31
mnathani has joined #ruby
02:34
akem has joined #ruby
02:35
akem_ has quit [Ping timeout: 240 seconds]
02:42
patr0clus has joined #ruby
02:43
andremedeiros has quit [Read error: Connection reset by peer]
02:45
andremedeiros has joined #ruby
02:49
andremedeiros has quit [Read error: Connection reset by peer]
02:49
Rounin has quit [Ping timeout: 240 seconds]
02:50
andremedeiros has joined #ruby
02:58
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:59
MalkbabY has quit [Remote host closed the connection]
03:00
MalkbabY has joined #ruby
03:05
MalkbabY has quit [Ping timeout: 260 seconds]
03:14
akem has quit [Ping timeout: 240 seconds]
03:14
akem has joined #ruby
03:30
<
leftylink >
can probably arrange some things with Array.new with block. but even though it would be one line, it would be more code anyway, so it'd not really be worth
03:33
patr0clus has joined #ruby
03:35
wald0 has quit [Remote host closed the connection]
03:37
<
havenwood >
Or: [1].tap { _1[3] = 3 } #=> [1, nil, nil, 3]
03:37
<
havenwood >
Two lines is appealing. :P
03:39
<
havenwood >
&>> [1].fill(3, 3, 1)
03:40
<
havenwood >
leftylink: I think Array#fill is the Ruby way. Just isn't common enough for an inline syntax.
03:42
<
leftylink >
it does seem quite reasonable. better than what I might have been thinking of
03:45
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:49
deviantfero has quit [Ping timeout: 265 seconds]
04:04
m27frogy has quit [Ping timeout: 246 seconds]
04:06
ChmEarl has quit [Quit: Leaving]
04:10
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:10
elcuervo has quit [Read error: Connection reset by peer]
04:11
skyikot has joined #ruby
04:12
elcuervo has joined #ruby
04:16
akem_ has joined #ruby
04:17
akem has quit [Ping timeout: 252 seconds]
04:22
howdoi has quit [Quit: Connection closed for inactivity]
04:26
vasanth has joined #ruby
04:27
gix- has joined #ruby
04:27
gix has quit [Disconnected by services]
04:39
nixue has quit [Quit: Connection closed]
04:44
roshanavand has joined #ruby
04:47
shokohsc has quit [Ping timeout: 240 seconds]
04:51
skyikot has quit [Ping timeout: 240 seconds]
04:58
vasanth has quit [Ping timeout: 240 seconds]
05:00
akem_ has quit [Ping timeout: 252 seconds]
05:01
akem has joined #ruby
05:01
patr0clus has joined #ruby
05:09
akem_ has joined #ruby
05:10
akem has quit [Ping timeout: 265 seconds]
05:15
vasanth has joined #ruby
05:19
vasanth has quit [Ping timeout: 240 seconds]
05:29
naftilos76 has joined #ruby
05:35
vasanth has joined #ruby
05:39
vasanth has quit [Ping timeout: 246 seconds]
05:55
vasanth has joined #ruby
06:00
vasanth has quit [Ping timeout: 260 seconds]
06:12
skyikot has joined #ruby
06:15
vasanth has joined #ruby
06:19
hd1 has joined #ruby
06:20
vasanth has quit [Ping timeout: 265 seconds]
06:34
skyikot has quit [Ping timeout: 240 seconds]
06:36
vasanth has joined #ruby
06:40
vasanth has quit [Ping timeout: 240 seconds]
06:54
Xiti has quit [Quit: Leaving]
06:56
vasanth has joined #ruby
07:01
vasanth has quit [Ping timeout: 265 seconds]
07:01
MalkbabY has joined #ruby
07:05
hd1 has quit [Quit: Connection closed]
07:06
MalkbabY has quit [Ping timeout: 265 seconds]
07:16
vasanth has joined #ruby
07:18
gearnode has joined #ruby
07:20
vasanth has quit [Ping timeout: 240 seconds]
07:33
Mrgoose has quit [Ping timeout: 260 seconds]
07:33
Xiti has joined #ruby
07:34
Mrgoose has joined #ruby
07:36
vasanth has joined #ruby
07:40
vasanth has quit [Ping timeout: 240 seconds]
07:47
snickers has quit [Read error: Connection reset by peer]
07:49
cognemo has quit [Quit: cognemo]
07:49
seed0 has quit [Remote host closed the connection]
07:49
seed0 has joined #ruby
07:50
dinfuehr has quit [Ping timeout: 265 seconds]
07:50
dinfuehr has joined #ruby
07:51
cognemo has joined #ruby
07:57
vasanth has joined #ruby
08:01
vasanth has quit [Ping timeout: 252 seconds]
08:03
gearnode has quit [Ping timeout: 240 seconds]
08:17
vasanth has joined #ruby
08:20
Rounin has joined #ruby
08:21
vasanth has quit [Ping timeout: 240 seconds]
08:31
fercell- has joined #ruby
08:31
fercell has quit [Ping timeout: 260 seconds]
08:32
<
al2o3-cr >
Array#insert
08:37
vasanth has joined #ruby
08:41
vasanth has quit [Ping timeout: 240 seconds]
08:57
vasanth has joined #ruby
09:02
vasanth has quit [Ping timeout: 240 seconds]
09:05
maryo has quit [Ping timeout: 252 seconds]
09:18
vasanth has joined #ruby
09:22
vasanth has quit [Ping timeout: 252 seconds]
09:30
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
09:31
Fire-Dragon-DoL has joined #ruby
09:38
vasanth has joined #ruby
09:42
vasanth has quit [Ping timeout: 240 seconds]
09:44
Mia has quit [Ping timeout: 240 seconds]
09:44
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
09:45
Fire-Dragon-DoL has joined #ruby
09:57
maryo has joined #ruby
09:58
vasanth has joined #ruby
10:03
vasanth has quit [Ping timeout: 240 seconds]
10:09
alexherbo2 has joined #ruby
10:09
supercoven has joined #ruby
10:15
jhass has quit [Quit: Bye]
10:18
vasanth has joined #ruby
10:23
maryo has quit [Ping timeout: 240 seconds]
10:23
vasanth has quit [Ping timeout: 260 seconds]
10:38
cd has quit [Quit: cd]
10:39
vasanth has joined #ruby
10:40
jhass has joined #ruby
10:43
vasanth has quit [Ping timeout: 246 seconds]
10:44
lockweel has joined #ruby
10:52
alexherbo27 has joined #ruby
10:53
alexherbo2 has quit [Ping timeout: 240 seconds]
10:53
alexherbo27 is now known as alexherbo2
10:58
Mia has joined #ruby
10:58
Mia has quit [Changing host]
10:58
Mia has joined #ruby
10:59
vasanth has joined #ruby
11:01
m27frogy has joined #ruby
11:02
MalkbabY has joined #ruby
11:04
vasanth has quit [Ping timeout: 265 seconds]
11:06
MalkbabY has quit [Ping timeout: 240 seconds]
11:14
maryo has joined #ruby
11:19
vasanth has joined #ruby
11:24
vasanth has quit [Ping timeout: 240 seconds]
11:35
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:40
vasanth has joined #ruby
11:44
vasanth has quit [Ping timeout: 240 seconds]
11:46
akem_ has quit [Ping timeout: 240 seconds]
11:55
Axy has joined #ruby
11:55
Axy has quit [Changing host]
11:55
Axy has joined #ruby
11:56
cadeskywalker has quit [Ping timeout: 246 seconds]
11:57
Mia has quit [Ping timeout: 260 seconds]
12:01
baojg has quit [Remote host closed the connection]
12:02
baojg has joined #ruby
12:02
baojg has quit [Remote host closed the connection]
12:02
baojg has joined #ruby
12:03
baojg has quit [Remote host closed the connection]
12:03
baojg has joined #ruby
12:03
baojg has quit [Remote host closed the connection]
12:04
baojg has joined #ruby
12:04
baojg has quit [Remote host closed the connection]
12:05
baojg has joined #ruby
12:05
baojg has quit [Remote host closed the connection]
12:06
baojg has joined #ruby
12:06
baojg has quit [Remote host closed the connection]
12:06
baojg has joined #ruby
12:07
baojg has quit [Remote host closed the connection]
12:07
baojg has joined #ruby
12:07
baojg has quit [Remote host closed the connection]
12:10
cadeskywalker has joined #ruby
12:26
jetchisel has quit [Ping timeout: 240 seconds]
12:29
jetchisel has joined #ruby
12:40
fercell has joined #ruby
12:40
fercell- has quit [Ping timeout: 252 seconds]
12:53
fercell- has joined #ruby
12:53
fercell has quit [Ping timeout: 240 seconds]
13:00
jenrzzz has joined #ruby
13:04
jenrzzz has quit [Ping timeout: 240 seconds]
13:05
naftilos76 has quit [Ping timeout: 252 seconds]
13:09
MalkbabY has joined #ruby
13:09
daed_ is now known as daed
13:09
daed has quit [Changing host]
13:09
daed has joined #ruby
13:10
Rudd0 has quit [Ping timeout: 265 seconds]
13:15
jenrzzz has joined #ruby
13:20
jenrzzz has quit [Ping timeout: 268 seconds]
13:28
pmden has joined #ruby
13:29
pmden has quit [Changing host]
13:29
pmden has joined #ruby
13:33
cliluw has quit [Ping timeout: 240 seconds]
13:34
maryo has quit [Ping timeout: 240 seconds]
13:34
cliluw has joined #ruby
13:35
pmden has quit [Quit: quit]
13:38
podge has joined #ruby
13:50
foxxx0 has quit [Quit: foxxx0]
13:51
foxxx0 has joined #ruby
13:52
podge has quit [Ping timeout: 246 seconds]
13:52
podge has joined #ruby
14:07
podge has quit [Quit: quit]
14:10
hiroaki has quit [Ping timeout: 240 seconds]
14:16
akem has joined #ruby
14:23
hiroaki has joined #ruby
14:42
MalkbabY has quit [Remote host closed the connection]
14:43
MalkbabY has joined #ruby
14:48
MalkbabY has quit [Ping timeout: 265 seconds]
14:54
cliluw has quit [Ping timeout: 268 seconds]
15:07
MalkbabY has joined #ruby
15:07
skyikot has joined #ruby
15:18
shtirlic_ has quit [Read error: Connection reset by peer]
15:19
shtirlic has joined #ruby
15:21
MalkbabY has quit [Remote host closed the connection]
15:22
MalkbabY has joined #ruby
15:27
MalkbabY has quit [Ping timeout: 268 seconds]
15:37
MalkbabY has joined #ruby
15:41
maryo has joined #ruby
15:41
naftilos76 has joined #ruby
16:02
ChmEarl has joined #ruby
16:07
patr0clus has joined #ruby
16:08
patr0clus has quit [Client Quit]
16:10
patr0clus has joined #ruby
16:12
wald0 has joined #ruby
16:16
Rudd0 has joined #ruby
16:18
skyikot has quit [Ping timeout: 240 seconds]
16:18
MalkbabY has quit [Remote host closed the connection]
16:19
MalkbabY has joined #ruby
16:23
MalkbabY has quit [Ping timeout: 240 seconds]
16:38
jenrzzz has joined #ruby
16:43
elcuervo has quit [Read error: Connection reset by peer]
16:43
jenrzzz has quit [Ping timeout: 268 seconds]
16:44
elcuervo has joined #ruby
16:57
maryo has quit [Ping timeout: 268 seconds]
17:01
dka has joined #ruby
17:12
alexherbo2 has joined #ruby
17:14
roshanavand_ has joined #ruby
17:15
gearnode has joined #ruby
17:16
kenichi has quit [Ping timeout: 260 seconds]
17:17
roshanavand has quit [Ping timeout: 252 seconds]
17:18
Xiti has quit [Quit: Leaving]
17:37
wald0 has quit [Quit: leaving]
17:40
daemonwrangler has joined #ruby
17:45
akem_ has joined #ruby
17:46
akem has quit [Ping timeout: 246 seconds]
17:47
akem_ has quit [Client Quit]
17:47
akem has joined #ruby
17:48
daemonwrangler has joined #ruby
17:50
al2o3-cr has quit [Read error: Connection reset by peer]
17:52
jenrzzz has joined #ruby
17:57
jenrzzz has quit [Ping timeout: 265 seconds]
18:06
cow[moo] has joined #ruby
18:07
e has quit [Quit: edk]
18:07
jenrzzz has joined #ruby
18:12
jenrzzz has quit [Ping timeout: 260 seconds]
18:20
MalkbabY has joined #ruby
18:25
MalkbabY has quit [Ping timeout: 268 seconds]
18:34
alexherbo2 has quit [Read error: Connection reset by peer]
18:37
Xiti has joined #ruby
18:43
alexherbo2 has joined #ruby
18:47
ur5us_ has joined #ruby
18:56
cd has joined #ruby
18:59
akem_ has joined #ruby
19:02
akem has quit [Ping timeout: 240 seconds]
19:08
ua has quit [Ping timeout: 246 seconds]
19:21
ua has joined #ruby
19:30
alexherbo2 has quit [Ping timeout: 246 seconds]
19:38
alexherbo2 has joined #ruby
19:38
shokohsc has joined #ruby
19:40
kenichi has joined #ruby
19:44
ur5us_ has quit [Ping timeout: 276 seconds]
19:55
tpefreedom has joined #ruby
19:56
MalkbabY has joined #ruby
19:58
duderonomy has joined #ruby
20:03
akem has joined #ruby
20:06
tpefreedom has quit [Quit: Leaving]
20:11
akem has quit [Quit: leaving]
20:23
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:24
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
20:25
akem_ has quit [Ping timeout: 268 seconds]
20:27
akem has joined #ruby
20:38
Rudd0 has quit [Ping timeout: 246 seconds]
20:40
TCZ has joined #ruby
20:44
naftilos76 has quit [Ping timeout: 246 seconds]
20:45
supercoven has quit [Read error: Connection reset by peer]
21:14
MalkbabY has quit [Remote host closed the connection]
21:15
MalkbabY has joined #ruby
21:17
patr0clus has joined #ruby
21:19
MalkbabY has quit [Ping timeout: 240 seconds]
21:36
duderonomy has quit [Ping timeout: 252 seconds]
21:45
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:50
patr0clus has joined #ruby
21:51
dpl__ has joined #ruby
21:51
ur5us_ has joined #ruby
22:00
Rudd0 has joined #ruby
22:02
shtirlic_ has joined #ruby
22:02
shtirlic_ has quit [Client Quit]
22:02
shtirlic_ has joined #ruby
22:03
dionysus69 has joined #ruby
22:03
dionysus69 has quit [Changing host]
22:03
dionysus69 has joined #ruby
22:04
dionysus69 has quit [Client Quit]
22:05
shtirlic has quit [Ping timeout: 246 seconds]
22:12
swaggboi has quit [Quit: C-x C-c]
22:20
swaggboi has joined #ruby
22:36
helmout[m] has joined #ruby
22:43
ChmEarl has quit [Read error: Connection reset by peer]
22:53
gdonald has quit [Remote host closed the connection]
22:54
TCZ has quit [Quit: Czesc]
22:56
ChmEarl has joined #ruby
22:57
al2o3-cr has joined #ruby
22:57
mcr has quit [Read error: Connection reset by peer]
22:58
mcr has joined #ruby
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:04
gdonald has joined #ruby
23:04
Rudd0 has quit [Ping timeout: 240 seconds]
23:22
adu_ has joined #ruby
23:31
tpefreedom has joined #ruby
23:33
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:40
cow[moo] has joined #ruby
23:50
ur5us_ has quit [Ping timeout: 276 seconds]