00:02
richardburton has joined #ruby-lang
00:02
symm- has quit [Ping timeout: 248 seconds]
00:03
richardburton has quit [Client Quit]
00:05
a1ph4g33k has quit [Quit: Leaving]
00:07
mucker has quit [Remote host closed the connection]
00:07
jonahR has joined #ruby-lang
00:08
jsullivandigs has joined #ruby-lang
00:11
cored has quit [Ping timeout: 246 seconds]
00:18
Elinos has quit [Ping timeout: 256 seconds]
00:20
saarinen has quit [Quit: saarinen]
00:23
jonathanmarvens has joined #ruby-lang
00:27
_jpb_ has joined #ruby-lang
00:28
stamina has quit [Read error: Operation timed out]
00:28
hahuang65 has quit [Ping timeout: 264 seconds]
00:31
havenwood has quit [Remote host closed the connection]
00:31
havenwood has joined #ruby-lang
00:33
hogeo has joined #ruby-lang
00:33
symm- has joined #ruby-lang
00:36
havenwood has quit [Ping timeout: 240 seconds]
00:36
mdedetrich has quit [Quit: Computer has gone to sleep.]
00:42
mdedetrich has joined #ruby-lang
00:44
brianpWins has quit [Quit: brianpWins]
00:45
ascci has joined #ruby-lang
00:49
tkuchiki has joined #ruby-lang
00:50
robbyoconnor has quit [Ping timeout: 240 seconds]
00:51
havenwood has joined #ruby-lang
00:54
havenwood has quit [Read error: Connection reset by peer]
00:54
havenwood has joined #ruby-lang
00:54
ikrima has joined #ruby-lang
00:56
_jpb_ has quit [Ping timeout: 264 seconds]
00:58
jonahR has left #ruby-lang [#ruby-lang]
00:58
shinnya has quit [Ping timeout: 240 seconds]
01:02
alekst has joined #ruby-lang
01:03
ItSANgo has quit [Ping timeout: 245 seconds]
01:04
Zerogrifter has quit [Ping timeout: 264 seconds]
01:04
jonathanmarvens has quit [Remote host closed the connection]
01:04
nathanstitt has quit [Quit: I growing sleepy]
01:06
grough has joined #ruby-lang
01:06
grough has quit [Max SendQ exceeded]
01:07
grough has joined #ruby-lang
01:08
mistym has joined #ruby-lang
01:08
nisstyre has joined #ruby-lang
01:09
ItSANgo has joined #ruby-lang
01:11
jonathanmarvens has joined #ruby-lang
01:16
saarinen has joined #ruby-lang
01:17
nathanstitt has joined #ruby-lang
01:20
havenwood has quit [Remote host closed the connection]
01:21
havenwood has joined #ruby-lang
01:22
jonathanmarvens has quit [Remote host closed the connection]
01:24
jonathanmarvens has joined #ruby-lang
01:24
havenn has joined #ruby-lang
01:25
havenwood has quit [Ping timeout: 240 seconds]
01:26
ikrima has quit [Quit: Computer has gone to sleep.]
01:30
nofxx has quit [Ping timeout: 260 seconds]
01:37
dhruvasagar has joined #ruby-lang
01:40
mdedetrich has quit [Quit: Computer has gone to sleep.]
01:40
Coincidental has quit [Remote host closed the connection]
01:40
Coincidental has joined #ruby-lang
01:44
iliketurtles has quit [Quit: zzzzz…..]
01:45
Coincidental has quit [Ping timeout: 256 seconds]
01:45
iliketurtles has joined #ruby-lang
01:48
jackhammer2022 has joined #ruby-lang
01:49
charliesome has joined #ruby-lang
01:51
mdedetrich has joined #ruby-lang
01:51
iliketurtles has quit [Quit: zzzzz…..]
01:52
Coincidental has joined #ruby-lang
01:53
iliketurtles has joined #ruby-lang
01:54
lele|w has quit [Ping timeout: 260 seconds]
01:58
Domon has joined #ruby-lang
01:59
nofxx has joined #ruby-lang
02:03
hramrach has quit [Ping timeout: 240 seconds]
02:05
hramrach has joined #ruby-lang
02:05
lele|w has joined #ruby-lang
02:14
retro|cz has joined #ruby-lang
02:19
mdedetrich has quit [Quit: Computer has gone to sleep.]
02:20
ascci has quit [Quit: ascci]
02:21
lfox has joined #ruby-lang
02:21
jsullivandigs has quit [Remote host closed the connection]
02:21
jsullivandigs has joined #ruby-lang
02:23
lfox has quit [Client Quit]
02:24
hackeron_ has joined #ruby-lang
02:25
hackeron has quit [Ping timeout: 248 seconds]
02:26
jsullivandigs has quit [Ping timeout: 245 seconds]
02:27
symm- has quit [Ping timeout: 246 seconds]
02:28
jsullivandigs has joined #ruby-lang
02:30
havenn has quit [Remote host closed the connection]
02:31
havenwood has joined #ruby-lang
02:31
mdedetrich has joined #ruby-lang
02:32
lfox has joined #ruby-lang
02:36
havenwood has quit [Ping timeout: 264 seconds]
02:38
cored has joined #ruby-lang
02:38
cored has quit [Changing host]
02:38
cored has joined #ruby-lang
02:55
ikrima has joined #ruby-lang
02:56
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:05
_jpb_ has joined #ruby-lang
03:09
ikrima has quit [Quit: Computer has gone to sleep.]
03:11
_jpb_ has quit [Quit: leaving]
03:12
_jpb_ has joined #ruby-lang
03:12
tonni has quit [Ping timeout: 245 seconds]
03:14
cored has quit [Ping timeout: 240 seconds]
03:15
tonni has joined #ruby-lang
03:17
mdst3 has quit [Read error: Connection reset by peer]
03:18
mdst3 has joined #ruby-lang
03:20
cads has joined #ruby-lang
03:21
lfox has quit [Quit: ZZZzzz…]
03:27
tylersmith has quit [Read error: Connection reset by peer]
03:28
nathanstitt has quit [Quit: I growing sleepy]
03:29
nathanstitt has joined #ruby-lang
03:30
tylersmith has joined #ruby-lang
03:31
jeff_r has joined #ruby-lang
03:32
jsullivandigs has quit [Remote host closed the connection]
03:32
alekst has quit [Quit: Leaving...]
03:32
jsullivandigs has joined #ruby-lang
03:36
iliketurtles has quit [Quit: zzzzz…..]
03:37
jsullivandigs has quit [Ping timeout: 252 seconds]
03:37
iliketurtles has joined #ruby-lang
03:37
tdy has quit [Read error: Connection reset by peer]
03:38
tdy has joined #ruby-lang
03:39
iliketurtles has quit [Read error: Connection reset by peer]
03:39
nathanstitt has quit [Quit: I growing sleepy]
03:39
iliketurtles has joined #ruby-lang
03:40
mdedetrich has quit [Quit: Computer has gone to sleep.]
03:40
dingus_khan has joined #ruby-lang
03:52
dingus_khan has quit [Remote host closed the connection]
03:54
dingus_khan has joined #ruby-lang
03:54
nneko001__ has joined #ruby-lang
03:56
alexju has joined #ruby-lang
03:57
dingus_khan has quit [Remote host closed the connection]
03:58
dingus_khan has joined #ruby-lang
03:58
dingus_khan has quit [Remote host closed the connection]
04:00
iliketurtles has quit [Quit: zzzzz…..]
04:01
kgrz has joined #ruby-lang
04:02
saarinen has quit [Quit: saarinen]
04:04
Oak has joined #ruby-lang
04:04
jonahR has joined #ruby-lang
04:05
iliketurtles has joined #ruby-lang
04:06
robbyoconnor has joined #ruby-lang
04:07
iliketurtles has quit [Read error: Connection reset by peer]
04:08
iliketurtles has joined #ruby-lang
04:10
mannyt has joined #ruby-lang
04:15
Coincidental has quit [Remote host closed the connection]
04:16
mistym has quit [Remote host closed the connection]
04:17
brianpWins has joined #ruby-lang
04:18
Coincide_ has joined #ruby-lang
04:19
jsullivandigs has joined #ruby-lang
04:25
ikrima has joined #ruby-lang
04:25
apeiros has quit [Remote host closed the connection]
04:25
apeiros has joined #ruby-lang
04:27
hahuang65 has joined #ruby-lang
04:30
grahamsavage has quit [Ping timeout: 260 seconds]
04:33
ikrima has quit [Quit: Computer has gone to sleep.]
04:35
ikrima has joined #ruby-lang
04:43
ikrima has quit [Quit: Computer has gone to sleep.]
04:46
charliesome has joined #ruby-lang
04:46
_jpb_ has quit [Ping timeout: 246 seconds]
04:48
tomzx_mac has quit [Read error: Operation timed out]
04:49
jonahR has quit [Ping timeout: 252 seconds]
04:49
mdedetrich has joined #ruby-lang
04:53
Peon- has quit [Read error: Connection reset by peer]
04:53
grahamsavage has joined #ruby-lang
04:53
jonahR has joined #ruby-lang
04:58
apeiros has quit [Remote host closed the connection]
04:59
apeiros has joined #ruby-lang
04:59
ikrima has joined #ruby-lang
04:59
axsuul has joined #ruby-lang
05:03
bzalasky has joined #ruby-lang
05:03
apeiros has quit [Ping timeout: 252 seconds]
05:08
toretore has quit [Quit: Leaving]
05:09
kgrz has quit [Ping timeout: 246 seconds]
05:09
Tearan has quit [Quit: Sleepy Badger....]
05:12
Elinos has joined #ruby-lang
05:13
jeff_r has quit [Remote host closed the connection]
05:13
Elinos has quit [Client Quit]
05:15
iliketurtles has quit [Quit: zzzzz…..]
05:16
brianpWins has quit [Quit: brianpWins]
05:19
Coincide_ has quit [Remote host closed the connection]
05:20
Coincidental has joined #ruby-lang
05:22
malev has quit [Remote host closed the connection]
05:24
mannyt has quit [Quit: mannyt]
05:24
Coincidental has quit [Ping timeout: 264 seconds]
05:26
infecto has joined #ruby-lang
05:28
soba has joined #ruby-lang
05:29
yfeldblum has quit [Read error: Operation timed out]
05:33
arBmind has joined #ruby-lang
05:34
jithu has joined #ruby-lang
05:38
Tearan has joined #ruby-lang
05:40
infecto has quit [Remote host closed the connection]
05:41
roadt_ has quit [Read error: Connection reset by peer]
05:41
roadt_ has joined #ruby-lang
05:42
ikrima has quit [Quit: Computer has gone to sleep.]
05:47
iliketurtles has joined #ruby-lang
05:47
iliketurtles has quit [Max SendQ exceeded]
05:47
Nilium has quit [Ping timeout: 260 seconds]
05:48
iliketurtles has joined #ruby-lang
05:48
bzalasky has quit [Remote host closed the connection]
05:49
bzalasky has joined #ruby-lang
05:49
jonahR has quit [Quit: jonahR]
05:50
kgrz has joined #ruby-lang
05:51
apeiros has joined #ruby-lang
05:53
Nilium has joined #ruby-lang
05:53
bzalasky has quit [Ping timeout: 260 seconds]
05:54
arBmind has quit [Quit: Leaving.]
05:56
jonathanmarvens has quit [Ping timeout: 248 seconds]
05:56
knu has quit [Ping timeout: 248 seconds]
05:56
knu has joined #ruby-lang
05:57
bzalasky has joined #ruby-lang
05:59
sevvie has quit [Remote host closed the connection]
06:10
chris2 has quit [Ping timeout: 240 seconds]
06:11
chris2 has joined #ruby-lang
06:11
tbuehlmann has joined #ruby-lang
06:24
jeff_r has joined #ruby-lang
06:26
grahamsavage has quit [Quit: Leaving]
06:27
dingus_khan has joined #ruby-lang
06:27
vmoravec has joined #ruby-lang
06:28
jeff_r has quit [Ping timeout: 256 seconds]
06:30
Domon has quit [Remote host closed the connection]
06:39
sn0wb1rd has left #ruby-lang [#ruby-lang]
06:39
bzalasky has quit [Remote host closed the connection]
06:40
bzalasky has joined #ruby-lang
06:41
ScaredWee has joined #ruby-lang
06:41
relix has joined #ruby-lang
06:41
Domon has joined #ruby-lang
06:42
ScaredWee has left #ruby-lang [#ruby-lang]
06:42
weems has joined #ruby-lang
06:44
bzalasky has quit [Ping timeout: 260 seconds]
06:45
bzalasky has joined #ruby-lang
06:46
jxie has quit [Ping timeout: 240 seconds]
06:46
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
06:48
jxie has joined #ruby-lang
06:51
solars has joined #ruby-lang
06:51
mistym has joined #ruby-lang
06:51
Tearan has quit [Quit: Sleepy Badger....]
06:53
ScaredWee has joined #ruby-lang
06:53
ScaredWee has left #ruby-lang [#ruby-lang]
06:53
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:54
io_syl has joined #ruby-lang
06:55
hahuang65 has quit [Read error: Connection reset by peer]
06:56
wallerdev has quit [Quit: wallerdev]
06:57
imperator has quit [Quit: This computer has gone to sleep]
06:57
hahuang65 has joined #ruby-lang
06:58
bzalasky has quit [Remote host closed the connection]
06:58
roflmaus has left #ruby-lang [#ruby-lang]
06:58
bzalasky has joined #ruby-lang
07:00
kenta_ has joined #ruby-lang
07:02
bzalasky has quit [Ping timeout: 241 seconds]
07:04
zommi has joined #ruby-lang
07:04
zommi has quit [Remote host closed the connection]
07:05
jonathanmarvens has joined #ruby-lang
07:05
iliketurtles has quit [Quit: zzzzz…..]
07:11
ndrst has joined #ruby-lang
07:14
mistym has quit [Remote host closed the connection]
07:14
Tearan has joined #ruby-lang
07:15
Tearan has quit [Client Quit]
07:17
CoreData has quit [Ping timeout: 260 seconds]
07:20
iliketurtles has joined #ruby-lang
07:30
mucker has joined #ruby-lang
07:37
Coincidental has joined #ruby-lang
07:42
iliketurtles has quit [Quit: zzzzz…..]
07:53
benlovell has joined #ruby-lang
07:55
Coincidental has quit [Remote host closed the connection]
07:56
Coincidental has joined #ruby-lang
07:56
mbj has joined #ruby-lang
07:56
mbj has quit [Client Quit]
07:57
hhatch has joined #ruby-lang
08:00
Coincidental has quit [Ping timeout: 248 seconds]
08:00
chinno998 has joined #ruby-lang
08:00
chinno998 has quit [Max SendQ exceeded]
08:01
chinno998 has joined #ruby-lang
08:01
chinno998 has quit [Max SendQ exceeded]
08:02
chinno998 has joined #ruby-lang
08:07
lunarjar has quit [Ping timeout: 245 seconds]
08:08
lunarjar has joined #ruby-lang
08:08
schaerli has joined #ruby-lang
08:09
kgrz has quit [Remote host closed the connection]
08:10
krz has joined #ruby-lang
08:10
<
krz >
when i do foo = @@foo, and change a the value of foo. it also changes the value of @@foo. is this the intend behaviour?
08:10
chinno998 has left #ruby-lang [#ruby-lang]
08:11
schaerli has quit [Remote host closed the connection]
08:13
benlovell has quit [Ping timeout: 264 seconds]
08:13
<
krz >
dup solved it
08:13
kgrz has joined #ruby-lang
08:13
<
yorickpeterse >
morning
08:14
kgrz_ has joined #ruby-lang
08:15
kek has quit [Remote host closed the connection]
08:16
priodev has quit [Ping timeout: 240 seconds]
08:16
kek has joined #ruby-lang
08:17
schaerli has joined #ruby-lang
08:20
<
gnufied >
Morning guys
08:20
relix has joined #ruby-lang
08:23
dingus_khan has quit [Remote host closed the connection]
08:24
Criztian has joined #ruby-lang
08:25
priodev has joined #ruby-lang
08:26
jsullivandigs has quit [Remote host closed the connection]
08:26
jsullivandigs has joined #ruby-lang
08:27
skade has joined #ruby-lang
08:28
kek has quit [Remote host closed the connection]
08:29
dagobah has joined #ruby-lang
08:30
priodev has quit [Ping timeout: 245 seconds]
08:31
priodev has joined #ruby-lang
08:31
jsullivandigs has quit [Ping timeout: 260 seconds]
08:32
priodev has quit [Read error: Connection reset by peer]
08:32
priodev has joined #ruby-lang
08:33
bmaland_ has left #ruby-lang [#ruby-lang]
08:34
bmaland has joined #ruby-lang
08:35
workmad3 has joined #ruby-lang
08:36
amerine has joined #ruby-lang
08:37
benlovell has joined #ruby-lang
08:40
faces has joined #ruby-lang
08:41
skade has quit [Quit: Computer has gone to sleep.]
08:41
elia has joined #ruby-lang
08:42
face has quit [Ping timeout: 252 seconds]
08:45
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:46
Domon has quit [Remote host closed the connection]
08:46
Domon has joined #ruby-lang
08:51
Domon has quit [Ping timeout: 246 seconds]
08:55
kgrz has quit [Remote host closed the connection]
08:56
kgrz has joined #ruby-lang
08:56
kgrz has quit [Remote host closed the connection]
08:56
<
yorickpeterse >
barefoot office friday
08:56
<
yorickpeterse >
mostly because my socks are drenched
08:56
Domon has joined #ruby-lang
08:56
<
yorickpeterse >
and my shoes
08:56
<
yorickpeterse >
and my jeans
08:58
stamina has joined #ruby-lang
08:58
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:00
kgrz_ has quit [Ping timeout: 256 seconds]
09:00
nofxx has quit [Ping timeout: 240 seconds]
09:01
adambeynon has joined #ruby-lang
09:01
adambeynon has quit [Read error: No route to host]
09:04
kek has joined #ruby-lang
09:04
skade has joined #ruby-lang
09:04
postmodern has quit [Quit: Leaving]
09:05
skade has quit [Client Quit]
09:06
arBmind has joined #ruby-lang
09:08
<
gnufied >
are you naked as well?
09:09
<
yorickpeterse >
No, I don't think it would be appreciated if I started taking off my pants
09:09
adambeynon has joined #ruby-lang
09:09
Lennier has joined #ruby-lang
09:09
benlovell has quit [Ping timeout: 248 seconds]
09:12
benlovell has joined #ruby-lang
09:12
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
09:15
Oak has quit [Remote host closed the connection]
09:20
mbj has joined #ruby-lang
09:21
kgrz has joined #ruby-lang
09:26
axsuul has quit [Ping timeout: 264 seconds]
09:28
<
yorickpeterse >
found in the wild:
09:28
<
yorickpeterse >
template: 'wtf'
09:28
<
yorickpeterse >
I don't think that parameter is actually used anywhere
09:29
schaerli has quit [Remote host closed the connection]
09:30
schaerli has joined #ruby-lang
09:34
schaerli has quit [Ping timeout: 240 seconds]
09:35
Boohbah has quit [Ping timeout: 240 seconds]
09:42
Boohbah has joined #ruby-lang
09:42
postmodern has joined #ruby-lang
09:44
cads has quit [Read error: Operation timed out]
09:49
fosky has quit [Ping timeout: 245 seconds]
09:49
ikrima has joined #ruby-lang
09:54
<
superdealloc >
Is anyone aware of alternative build systems for ruby (apart from mkmf)?
09:55
benlovell has quit [Ping timeout: 240 seconds]
09:57
charliesome has joined #ruby-lang
10:07
<
yorickpeterse >
Rubygems supports cmake, extconf, Rakefiles and configure scripts
10:07
<
yorickpeterse >
but for anything but mkmf you'll have to set all the flags yourself as far as I can tell
10:14
ledestin has quit [Ping timeout: 240 seconds]
10:14
kitak has quit [Read error: Connection reset by peer]
10:14
sepp2k has joined #ruby-lang
10:14
kitak has joined #ruby-lang
10:17
mayday_jay has quit [Ping timeout: 240 seconds]
10:19
mayday_jay has joined #ruby-lang
10:22
roadt_ has quit [Ping timeout: 252 seconds]
10:22
JoshuaPaling has joined #ruby-lang
10:23
roadt_ has joined #ruby-lang
10:24
schaerli has joined #ruby-lang
10:24
omninonsense has joined #ruby-lang
10:32
Oak has joined #ruby-lang
10:36
elia has quit [Ping timeout: 252 seconds]
10:37
imperator has joined #ruby-lang
10:38
benlovell has joined #ruby-lang
10:38
elia has joined #ruby-lang
10:42
chinno998 has joined #ruby-lang
10:42
chinno998 has quit [Max SendQ exceeded]
10:43
chinno998 has joined #ruby-lang
10:43
chinno998 has quit [Max SendQ exceeded]
10:43
chinno998 has joined #ruby-lang
10:44
chinno998 has left #ruby-lang [#ruby-lang]
10:44
ndrst has quit [Remote host closed the connection]
10:46
chinno998 has joined #ruby-lang
10:47
chinno998 has quit [Max SendQ exceeded]
10:47
postmodern has quit [Quit: Leaving]
10:47
chinno998 has joined #ruby-lang
10:49
jxie has quit [Quit: leaving]
10:49
chinno9981 has joined #ruby-lang
10:51
chinno9981 has left #ruby-lang [#ruby-lang]
10:51
chinno998 has quit [Ping timeout: 246 seconds]
10:54
yfeldblum has joined #ruby-lang
10:56
Domon has quit [Remote host closed the connection]
10:56
Domon has joined #ruby-lang
11:01
Domon has quit [Ping timeout: 240 seconds]
11:01
kitak has quit [Remote host closed the connection]
11:03
kitak has joined #ruby-lang
11:09
melter has quit [Ping timeout: 245 seconds]
11:10
solars has quit [Ping timeout: 264 seconds]
11:11
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:13
skade has joined #ruby-lang
11:14
charliesome has joined #ruby-lang
11:19
benlovell has quit [Ping timeout: 260 seconds]
11:21
superdealloc has quit [Quit: Leaving...]
11:24
solars has joined #ruby-lang
11:30
melter has joined #ruby-lang
11:32
soba has quit [Ping timeout: 256 seconds]
11:32
bastilian has joined #ruby-lang
11:37
malev has joined #ruby-lang
11:39
benlovell has joined #ruby-lang
11:40
skade has quit [Quit: Computer has gone to sleep.]
11:41
benlovell has quit [Client Quit]
11:42
elia has quit [Quit: (IRC Client: textualapp.com)]
11:42
ldnunes has joined #ruby-lang
11:42
mbj has quit [Quit: leaving]
11:44
ykk` has joined #ruby-lang
11:44
ykk` has quit [Client Quit]
11:45
elia has joined #ruby-lang
11:45
MaddinXx has joined #ruby-lang
11:46
superdealloc has joined #ruby-lang
11:47
hhatch has quit [Ping timeout: 240 seconds]
11:48
jithu has quit [Ping timeout: 240 seconds]
11:48
JoshuaPaling has joined #ruby-lang
11:51
skade has joined #ruby-lang
11:57
arBmind1 has joined #ruby-lang
11:58
kgrz has quit [Remote host closed the connection]
11:59
arBmind has quit [Ping timeout: 245 seconds]
11:59
headius has joined #ruby-lang
12:03
jithu has joined #ruby-lang
12:05
VTLob has joined #ruby-lang
12:07
richardburton has joined #ruby-lang
12:07
dennus has joined #ruby-lang
12:16
krz has quit [Quit: krz]
12:17
cored has joined #ruby-lang
12:19
nisstyre has quit [Quit: Leaving]
12:19
schaerli has quit [Remote host closed the connection]
12:20
mayday_jay has quit [Quit: c ya!]
12:22
kenta_ has quit [Remote host closed the connection]
12:25
schaerli has joined #ruby-lang
12:27
kgrz has joined #ruby-lang
12:28
omninonsense has quit [Remote host closed the connection]
12:29
bastilian has quit [Read error: Operation timed out]
12:32
kgrz has quit [Ping timeout: 264 seconds]
12:34
symm- has joined #ruby-lang
12:35
kgrz has joined #ruby-lang
12:36
MaddinXx has quit [Remote host closed the connection]
12:39
robbyoconnor has quit [Ping timeout: 246 seconds]
12:41
Criztian has quit [Remote host closed the connection]
12:41
dennus has joined #ruby-lang
12:43
ykk` has joined #ruby-lang
12:43
fjalvarez has joined #ruby-lang
12:49
chendo has quit [Ping timeout: 256 seconds]
12:57
schaerli has quit [Remote host closed the connection]
12:58
jbsan has quit [Quit: jbsan]
12:58
schaerli has joined #ruby-lang
12:59
MaddinXx has joined #ruby-lang
12:59
io_syl has joined #ruby-lang
13:02
schaerli has quit [Ping timeout: 245 seconds]
13:07
tomzx_mac has joined #ruby-lang
13:08
schaerli has joined #ruby-lang
13:10
rsl has quit [Ping timeout: 248 seconds]
13:10
goatish_mound has joined #ruby-lang
13:11
lfox has joined #ruby-lang
13:11
grough has joined #ruby-lang
13:12
yfeldblum has quit [Read error: Operation timed out]
13:13
lfox has quit [Client Quit]
13:13
breakingthings has joined #ruby-lang
13:13
kenta_ has joined #ruby-lang
13:13
goatish_mound is now known as rsl
13:14
skade has quit [Quit: Computer has gone to sleep.]
13:15
hhatch has joined #ruby-lang
13:16
ikrima has quit [Quit: Computer has gone to sleep.]
13:16
lacrosse has joined #ruby-lang
13:16
richardburton has left #ruby-lang [#ruby-lang]
13:16
mannyt has joined #ruby-lang
13:18
relix has quit [Remote host closed the connection]
13:18
relix has joined #ruby-lang
13:26
supergeek has joined #ruby-lang
13:28
retro|cz has quit [Ping timeout: 245 seconds]
13:29
lfox has joined #ruby-lang
13:33
supergeek has quit [Quit: Leaving]
13:33
jiuweigui has joined #ruby-lang
13:33
grough has joined #ruby-lang
13:34
mdedetrich has quit [Quit: Computer has gone to sleep.]
13:34
serroft has joined #ruby-lang
13:40
irlrobot has joined #ruby-lang
13:40
mdedetrich has joined #ruby-lang
13:41
schaerli has quit [Remote host closed the connection]
13:45
schaerli has joined #ruby-lang
13:45
fuhgeddaboudit has joined #ruby-lang
13:46
chendo has joined #ruby-lang
13:47
Xzyx987X has quit [Quit: Leaving]
13:47
Xzyx987X_ has joined #ruby-lang
13:47
Xzyx987X_ has quit [Client Quit]
13:49
jithu has quit [Quit: Mother, did it need to be so high?]
13:49
symm- has quit [Ping timeout: 264 seconds]
13:54
chrisenytc has joined #ruby-lang
13:55
Xzyx987X has joined #ruby-lang
13:56
mannyt has quit [Quit: mannyt]
13:57
tomzx_mac has quit [Ping timeout: 245 seconds]
13:57
yfeldblum has joined #ruby-lang
13:58
symm- has joined #ruby-lang
13:58
chrisenytc has left #ruby-lang [#ruby-lang]
13:59
chrisenytc has joined #ruby-lang
14:00
chrisenytc has left #ruby-lang [#ruby-lang]
14:00
chrisenytc has joined #ruby-lang
14:03
fjalvarez has quit [Ping timeout: 240 seconds]
14:03
tkuchiki has quit [Remote host closed the connection]
14:04
tkuchiki has joined #ruby-lang
14:04
fjalvarez has joined #ruby-lang
14:04
jeff_r has joined #ruby-lang
14:05
jeff_r has quit [Remote host closed the connection]
14:05
mannyt has joined #ruby-lang
14:08
tkuchiki has quit [Ping timeout: 264 seconds]
14:09
jithu has joined #ruby-lang
14:11
hogeo has quit [Remote host closed the connection]
14:11
hogeo has joined #ruby-lang
14:13
mannyt has quit [Quit: mannyt]
14:15
s0ber has quit [Remote host closed the connection]
14:16
chrisenytc has left #ruby-lang [#ruby-lang]
14:16
chrisenytc has joined #ruby-lang
14:16
jeff_r has joined #ruby-lang
14:16
s0ber has joined #ruby-lang
14:16
hogeo has quit [Ping timeout: 260 seconds]
14:17
whitequark has joined #ruby-lang
14:18
<
whitequark >
drbrain: hi!
14:20
dernise has joined #ruby-lang
14:20
<
dernise >
Morning :)
14:21
verto has joined #ruby-lang
14:21
Elico1 has joined #ruby-lang
14:22
Elico has quit [Ping timeout: 240 seconds]
14:22
s0ber has quit [Remote host closed the connection]
14:23
s0ber has joined #ruby-lang
14:23
<
ykk` >
can someone critique the code? my question is in the gist description
14:23
<
yorickpeterse >
indentation
14:24
<
yorickpeterse >
and while we're at it, whitespace around ( and ) is pretty uncommon in Ruby land
14:24
dernise_ has joined #ruby-lang
14:25
s0ber has quit [Remote host closed the connection]
14:25
<
yorickpeterse >
other than that it looks fine
14:25
s0ber has joined #ruby-lang
14:25
apeiros has quit [Remote host closed the connection]
14:25
jithu has quit [Quit: Mother, did it need to be so high?]
14:26
<
lianj >
might what to look at structs
14:26
apeiros has joined #ruby-lang
14:26
<
ykk` >
indentation? why do i keep messing up
14:26
<
ykk` >
i just copy from subl and paste into gist
14:26
<
ykk` >
select tabs and 2
14:27
<
ykk` >
oh ok i'll watch out for the whitespace
14:27
dernise has quit [Ping timeout: 246 seconds]
14:27
<
yorickpeterse >
ykk`: make sure that it's set to something like "Use spaces for indentation"
14:27
<
ykk` >
but should website even be in the school class if i'm calling it in the agent object?
14:27
<
yorickpeterse >
it makes sense to keep it in School since it's associated data
14:28
<
yorickpeterse >
However
14:28
<
yorickpeterse >
What you can do is add an extra class, e.g. SchoolGetter or w/e, that takes a School and then fetches the data for you
14:28
<
yorickpeterse >
e.g.
14:28
<
ykk` >
well i have a csv file that i was working on last week
14:28
<
ykk` >
don't know if you remember
14:28
<
yorickpeterse >
also I'd move the FacultyMember class outside of school
14:28
<
yorickpeterse >
I do
14:29
<
ykk` >
oh wow ok, why shouldn't School contain FacultyMember?
14:30
apeiros has quit [Ping timeout: 245 seconds]
14:30
<
yorickpeterse >
A common pattern in this case is to wrap it in a module that acts as a namespace
14:31
<
yorickpeterse >
classes inside other classes are not that common
14:32
<
ykk` >
there are three roles
14:33
<
ykk` >
so they should all be in classes. one is the school, one is the faculty member and a class that represents the getter instead of keeping it in main
14:34
<
ykk` >
thank you Yorick!
14:34
<
ykk` >
just learned about LoD the other day
14:35
<
ykk` >
been iterating over the Ruby foundation course on teamtreehouse and reading the pickaxe book. then you guys offer guidance.. it's the perfect learning curve. why should i pay for college? :P
14:36
<
yorickpeterse >
college can be a good way to get in touch with people, but it certainly isn't required for everybody
14:37
tkuchiki has joined #ruby-lang
14:37
mmorga has joined #ruby-lang
14:37
<
ykk` >
in nyc we have something called the flatiron school and its 12k for a 12 week intensive. that is something being considered for spring and we have meet up groups in nyc.
14:38
<
ykk` >
but tbh, i want to start my own web and business solutions company in Queens, NY
14:38
mmorga_ has joined #ruby-lang
14:38
mmorga has quit [Read error: Connection reset by peer]
14:41
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:42
mdedetrich has quit [Quit: Computer has gone to sleep.]
14:43
serroft has quit [Quit: Leaving.]
14:45
<
yorickpeterse >
Doesn't NYC also have "Hackers school" or w/e it was called?
14:45
wallerdev has joined #ruby-lang
14:46
<
ykk` >
i had an interview with them
14:46
<
ykk` >
They had no one who liked Ruby
14:47
<
ykk` >
if they wanted to program with a dynamically typed language they went python
14:47
nathanstitt has joined #ruby-lang
14:47
<
yorickpeterse >
pffff
14:47
<
ykk` >
but they are all into Haskell
14:47
<
yorickpeterse >
HAHA
14:47
<
yorickpeterse >
Haskell, what a great way to not get people into programming
14:47
sevvie has joined #ruby-lang
14:48
<
ykk` >
but the guys over at Flat Iron school are really nice and they are heavy into ruby
14:51
enebo has joined #ruby-lang
14:51
Oak has joined #ruby-lang
14:51
Oak has quit [Changing host]
14:51
Oak has joined #ruby-lang
14:54
nisstyre has joined #ruby-lang
14:55
tubbo has joined #ruby-lang
14:56
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:56
dernise_ has quit [Quit: This computer has gone to sleep]
14:58
robbyoconnor has joined #ruby-lang
14:58
apeiros has joined #ruby-lang
14:59
rippa has joined #ruby-lang
15:00
apeiros_ has joined #ruby-lang
15:00
robbyoconnor has quit [Excess Flood]
15:00
dernise has joined #ruby-lang
15:01
alekst has joined #ruby-lang
15:02
robbyoconnor has joined #ruby-lang
15:02
apeiros has quit [Ping timeout: 246 seconds]
15:04
<
cored >
I have this array of hashes [{:id=>1, :name=>"Oscar"}, {:id=>1, :last_name=>"Smith"}, {:id=>1, :info=>"None"}, {:id=>2, :career=>"None"}, {:id=>2, :address=>"NoWhere"}] and I'm trying to group them by the id but without repeating the id and with all the other values that belong to each id together in one hash
15:04
<
cored >
I first grouped_by id
15:05
<
cored >
was trying to iterate through each values and merge them out
15:05
<
cored >
arr.group_by { |item| item[:id] }.map { |k,v| v.merge!(v) }
15:06
TCMSLP has joined #ruby-lang
15:09
robbyoconnor has quit [Excess Flood]
15:09
kgrz has quit [Remote host closed the connection]
15:09
<
ykk` >
Enumerable.group_by will return a hash that has arrays
15:09
<
ykk` >
you have an array with hashes
15:09
<
ykk` >
and use gist next time
15:09
schaerli has quit [Remote host closed the connection]
15:10
schaerli has joined #ruby-lang
15:13
r0bby_ has joined #ruby-lang
15:13
r0bby_ has quit [Remote host closed the connection]
15:13
<
ykk` >
if you put your code in gist i'll help you out
15:13
<
TCMSLP >
I'm using a very old isaac gem - the syntax to catch events from irc is 'on' - 'on <event> do...'
15:13
<
TCMSLP >
is 'on' a ruby thing, or something the gem has defined?
15:14
schaerli has quit [Ping timeout: 252 seconds]
15:14
<
cored >
ykk`: I'm almost there
15:15
jerrytgarcia has joined #ruby-lang
15:15
<
cored >
ykk`: will show you
15:15
<
bougyman >
left-libertarian makes no sense.
15:15
arBmind has joined #ruby-lang
15:16
ssb123 has joined #ruby-lang
15:16
<
cored >
ykk`: don't know why is overwritting it
15:17
<
cored >
ykk`: I updated the gist
15:17
shinnya has joined #ruby-lang
15:17
arBmind1 has quit [Ping timeout: 256 seconds]
15:23
bzalasky has joined #ruby-lang
15:24
mmorga_ has quit [Remote host closed the connection]
15:25
<
cored >
ykk`: any idea ?
15:27
<
ykk` >
i'm a little slow =P multi tasking
15:28
kek has quit [Remote host closed the connection]
15:28
<
ykk` >
your answer is there and put your array in a separate array then call methods onto it
15:28
<
ykk` >
it's easier to read
15:29
bastilian has joined #ruby-lang
15:30
mmorga has joined #ruby-lang
15:30
malev has quit [Remote host closed the connection]
15:32
jithu has joined #ruby-lang
15:32
<
cored >
ykk`: thanks
15:32
<
ykk` >
but you may want to replace name for id in that example
15:35
jsullivandigs has joined #ruby-lang
15:37
skade has joined #ruby-lang
15:38
sepp2k has quit [Read error: Connection reset by peer]
15:38
dhruvasagar has quit [Ping timeout: 256 seconds]
15:39
apeiros_ has quit [Ping timeout: 252 seconds]
15:39
kireevco has quit [Ping timeout: 260 seconds]
15:40
kenta_ has quit [Remote host closed the connection]
15:41
kenta_ has joined #ruby-lang
15:41
mistym has joined #ruby-lang
15:43
serroft has joined #ruby-lang
15:45
symm- has quit [Read error: Operation timed out]
15:45
bzalasky has quit [Remote host closed the connection]
15:45
kenta_ has quit [Ping timeout: 256 seconds]
15:46
bzalasky has joined #ruby-lang
15:47
richardburton has joined #ruby-lang
15:47
Tearan has joined #ruby-lang
15:50
bzalasky has quit [Ping timeout: 260 seconds]
15:51
jithu has quit [Quit: Mother, did it need to be so high?]
15:51
Oak has quit [Read error: Connection reset by peer]
15:52
Oak has joined #ruby-lang
15:52
dernise has quit [Quit: This computer has gone to sleep]
15:55
Boohbah has quit [Remote host closed the connection]
15:55
Kabaka has quit [Remote host closed the connection]
15:55
hramrach has quit [Write error: Broken pipe]
15:56
jithu has joined #ruby-lang
15:57
ssb123 has quit [Remote host closed the connection]
15:57
ssb123 has joined #ruby-lang
15:57
tylersmith has quit [Remote host closed the connection]
15:58
tylersmith has joined #ruby-lang
16:00
chinno998 has joined #ruby-lang
16:00
chinno998 has quit [Max SendQ exceeded]
16:01
chinno998 has joined #ruby-lang
16:02
ssb123 has quit [Ping timeout: 245 seconds]
16:02
Boohbah has joined #ruby-lang
16:02
tylersmith has quit [Ping timeout: 245 seconds]
16:02
__butch__ has joined #ruby-lang
16:04
Oak has quit [Read error: Connection reset by peer]
16:05
iliketurtles has joined #ruby-lang
16:06
iliketurtles has quit [Client Quit]
16:06
iliketurtles has joined #ruby-lang
16:07
dagobah has quit [Remote host closed the connection]
16:08
mbj has joined #ruby-lang
16:08
ssb123 has joined #ruby-lang
16:10
Nss has joined #ruby-lang
16:12
lfox has quit [Quit: ZZZzzz…]
16:13
kgrz has joined #ruby-lang
16:14
kgrz has quit [Read error: Connection reset by peer]
16:14
kgrz_ has joined #ruby-lang
16:15
jeff_r has quit [Remote host closed the connection]
16:15
dmitrykorotkov_ has joined #ruby-lang
16:17
tkuchiki has quit [Remote host closed the connection]
16:18
tkuchiki has joined #ruby-lang
16:18
chinno998 has left #ruby-lang [#ruby-lang]
16:19
arBmind has quit [Quit: Leaving.]
16:20
schaerli has joined #ruby-lang
16:22
tkuchiki has quit [Ping timeout: 245 seconds]
16:22
Oak has joined #ruby-lang
16:24
iliketurtles has quit [Quit: zzzzz…..]
16:25
cored has quit [Ping timeout: 245 seconds]
16:27
tubbo has quit [Ping timeout: 248 seconds]
16:27
relix has joined #ruby-lang
16:30
dmitrykorotkov_ has quit [Ping timeout: 245 seconds]
16:31
dmitrykorotkov_ has joined #ruby-lang
16:32
shinnya has quit [Ping timeout: 260 seconds]
16:33
jaimef has quit [Excess Flood]
16:33
schaerli has quit [Remote host closed the connection]
16:34
schaerli has joined #ruby-lang
16:35
nofxx has joined #ruby-lang
16:36
jeff_r has joined #ruby-lang
16:37
jaimef has joined #ruby-lang
16:37
<
yorickpeterse >
hnnnngggg so close to a fully upgraded deployment platform
16:37
richardburton has left #ruby-lang [#ruby-lang]
16:37
<
yorickpeterse >
few bits of production are on the new setup but the Friday afternoon social activities hit
16:38
elia has quit [Ping timeout: 252 seconds]
16:39
kek has joined #ruby-lang
16:39
schaerli has quit [Ping timeout: 264 seconds]
16:40
schaerli has joined #ruby-lang
16:42
havenwood has joined #ruby-lang
16:43
kek has quit [Ping timeout: 245 seconds]
16:44
lfox has joined #ruby-lang
16:45
schaerli has quit [Remote host closed the connection]
16:45
<
imperator >
just be antisocial
16:45
schaerli has joined #ruby-lang
16:45
dhruvasagar has joined #ruby-lang
16:48
hahuang65 has quit [Ping timeout: 246 seconds]
16:48
sreffotsirk has joined #ruby-lang
16:49
L0rdX3n0th has joined #ruby-lang
16:49
schaerli has quit [Ping timeout: 245 seconds]
16:53
mmorga has quit [Remote host closed the connection]
16:53
mbj has left #ruby-lang [#ruby-lang]
16:53
tubbo has joined #ruby-lang
16:55
iliketurtles has joined #ruby-lang
16:56
tylersmith has joined #ruby-lang
16:57
Oak has quit [Read error: Connection reset by peer]
17:01
tubbo has quit [Ping timeout: 248 seconds]
17:03
Zerogrifter has joined #ruby-lang
17:04
nortmobile has joined #ruby-lang
17:06
dhruvasagar has quit [Ping timeout: 246 seconds]
17:07
saarinen has joined #ruby-lang
17:07
ikrima has joined #ruby-lang
17:08
kireevco has joined #ruby-lang
17:08
nneko001__ has quit [Quit: Konversation terminated!]
17:09
solars has quit [Ping timeout: 240 seconds]
17:14
jxie has joined #ruby-lang
17:19
brianpWins has joined #ruby-lang
17:21
nisstyre has quit [Quit: Leaving]
17:21
skade has quit [Quit: Computer has gone to sleep.]
17:24
skade has joined #ruby-lang
17:24
dhruvasagar has joined #ruby-lang
17:24
skade has quit [Client Quit]
17:25
mmorga has joined #ruby-lang
17:29
solars has joined #ruby-lang
17:29
dhruvasagar has quit [Ping timeout: 252 seconds]
17:33
Squarepy has joined #ruby-lang
17:35
hahuang65 has joined #ruby-lang
17:36
wc_ has joined #ruby-lang
17:43
_jpb_ has joined #ruby-lang
17:43
benanne has joined #ruby-lang
17:45
sreffotsirk has quit [Quit: ❤]
17:50
dingus_khan has joined #ruby-lang
17:56
kgrz_ has quit [Remote host closed the connection]
17:56
kgrz has joined #ruby-lang
17:57
tubbo has joined #ruby-lang
18:00
Mon_Ouie has joined #ruby-lang
18:00
Mon_Ouie has joined #ruby-lang
18:00
Mon_Ouie has quit [Changing host]
18:01
kgrz has quit [Ping timeout: 246 seconds]
18:01
workmad3 has quit [Ping timeout: 248 seconds]
18:01
jvrmaia has joined #ruby-lang
18:02
mmorga has quit [Read error: Connection reset by peer]
18:02
mmorga_ has joined #ruby-lang
18:09
Coincidental has joined #ruby-lang
18:10
skade has joined #ruby-lang
18:10
mmorga_ has quit [Remote host closed the connection]
18:10
wc_ has left #ruby-lang [#ruby-lang]
18:11
skade has quit [Client Quit]
18:13
schaerli has joined #ruby-lang
18:15
richardburton has joined #ruby-lang
18:15
_jpb__ has joined #ruby-lang
18:16
_jpb_ has quit [Ping timeout: 245 seconds]
18:18
bastilian has quit [Ping timeout: 260 seconds]
18:18
mmorga has joined #ruby-lang
18:20
_jpb__ has quit [Ping timeout: 252 seconds]
18:21
bastilian has joined #ruby-lang
18:22
_jpb_ has joined #ruby-lang
18:26
mmorga_ has joined #ruby-lang
18:27
_jpb_ has quit [Ping timeout: 245 seconds]
18:28
_jpb_ has joined #ruby-lang
18:28
bastilian has quit [Ping timeout: 248 seconds]
18:30
mmorga has quit [Ping timeout: 240 seconds]
18:33
_jpb_ has quit [Ping timeout: 260 seconds]
18:33
_jpb_ has joined #ruby-lang
18:34
Tearan has quit [Quit: Sleepy Badger....]
18:34
Lennier has quit [Quit: Lennier]
18:35
stamina has quit [Read error: Operation timed out]
18:35
metus_violarium has joined #ruby-lang
18:36
Tearan has joined #ruby-lang
18:37
symm- has joined #ruby-lang
18:39
sevvie has quit [Ping timeout: 240 seconds]
18:40
kgrz has joined #ruby-lang
18:41
kgrz has quit [Read error: Connection reset by peer]
18:41
kgrz has joined #ruby-lang
18:43
Kabaka has joined #ruby-lang
18:45
kgrz has quit [Ping timeout: 240 seconds]
18:46
Zerogrifter has quit [Ping timeout: 245 seconds]
18:47
irlrobot has quit [Quit: irlrobot]
18:50
richardburton has left #ruby-lang [#ruby-lang]
18:56
havenwood has quit [Remote host closed the connection]
18:57
mlangenberg has joined #ruby-lang
18:58
<
mlangenberg >
What are the opinions about referencing a constant defined in another class / module?
18:58
<
mlangenberg >
Are constants part of a class' private or public interface?
18:58
Nss has quit [Ping timeout: 246 seconds]
18:59
<
mlangenberg >
I mean not strictly speaking, but what's the convention?
18:59
headius has quit [Quit: headius]
19:00
<
Mon_Ouie >
Constants can be made private just like methods
19:00
<
Mon_Ouie >
Foo = 3; private_constant :Foo
19:00
<
Mon_Ouie >
They're public by default
19:00
sepp2k has joined #ruby-lang
19:01
headius has joined #ruby-lang
19:01
L0rdX3n0th is now known as jewing
19:01
MaddinXx has quit [Remote host closed the connection]
19:03
sevvie has joined #ruby-lang
19:05
nortmobile has left #ruby-lang [#ruby-lang]
19:05
nortmobile_ has joined #ruby-lang
19:05
nertzy has joined #ruby-lang
19:11
imperator has quit [Quit: This computer has gone to sleep]
19:11
specialblend has joined #ruby-lang
19:15
dernise has joined #ruby-lang
19:16
dsferreira has joined #ruby-lang
19:21
dernise has quit [Quit: Leaving]
19:22
_jpb_ has quit [Ping timeout: 240 seconds]
19:24
specialblend has quit [Quit: specialblend]
19:24
_jpb_ has joined #ruby-lang
19:27
banisterfiend has quit [Remote host closed the connection]
19:27
banisterfiend has joined #ruby-lang
19:30
_jpb_ has quit [Ping timeout: 245 seconds]
19:31
<
canton7 >
nortmobile_, something calls 'format('John Doe', '....', .....)'
19:32
jsullivandigs has quit [Remote host closed the connection]
19:32
jsullivandigs has joined #ruby-lang
19:34
mlangenberg has quit [Quit: mlangenberg]
19:34
<
nortmobile_ >
canton7 thank you. I guess I'm still wrapping my mind around lambdas
19:34
<
canton7 >
nortmobile_, it's a function, assigned to a variable
19:35
nertzy has quit [Quit: This computer has gone to sleep]
19:35
<
canton7 >
it has arguments, which are used in the function. something calls it, passing in those arguments
19:37
jsullivandigs has quit [Ping timeout: 260 seconds]
19:38
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:39
<
nortmobile_ >
It's funny, I've read about lambdas and procs several times and for whatever reason it just now clicked.
19:39
<
canton7 >
things are often like that, I find
19:39
<
canton7 >
I spent the entirely of today figuring out how profiles/certs/keys are used for iOS signing and provisioning. finally made sense at the end of the day
19:43
kgrz has joined #ruby-lang
19:43
MaddinXx_ has joined #ruby-lang
19:43
solars has quit [Ping timeout: 256 seconds]
19:48
kgrz has quit [Ping timeout: 264 seconds]
19:50
ged__ is now known as ged
19:52
iliketurtles has quit [Quit: zzzzz…..]
19:53
hackeron_ has quit [Ping timeout: 264 seconds]
19:58
stamina has joined #ruby-lang
19:59
mmorga_ has quit [Read error: Connection reset by peer]
20:00
mmorga has joined #ruby-lang
20:02
relix has joined #ruby-lang
20:05
iliketurtles has joined #ruby-lang
20:06
jithu has quit [Quit: Mother, did it need to be so high?]
20:09
dhruvasagar has joined #ruby-lang
20:11
Coincidental has quit [Remote host closed the connection]
20:15
qba73 has joined #ruby-lang
20:26
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:29
metus_violarium has quit [Quit: Konversation terminated!]
20:30
Bosox20051 has quit [Remote host closed the connection]
20:36
_jpb_ has joined #ruby-lang
20:36
rippa has quit [Read error: Connection reset by peer]
20:37
omninonsense has joined #ruby-lang
20:38
iliketurtles has quit [Quit: zzzzz…..]
20:40
iliketurtles has joined #ruby-lang
20:40
nisstyre has joined #ruby-lang
20:41
jvrmaia has quit [Quit: Leaving]
20:43
headius has quit [Quit: headius]
20:43
tbuehlmann has quit [Remote host closed the connection]
20:43
hhatch has quit [Ping timeout: 260 seconds]
20:46
schaerli has quit [Remote host closed the connection]
20:47
schaerli has joined #ruby-lang
20:48
yfeldblum has quit [Ping timeout: 246 seconds]
20:50
<
tubbo >
canton7: it still doesn't make sense to me. i guess it might if i worked in a strictly iOS shop maybe it would.
20:50
<
tubbo >
lol i said the same thing twice
20:52
schaerli has quit [Ping timeout: 264 seconds]
20:58
dingus_khan has quit [Remote host closed the connection]
21:00
imperator has joined #ruby-lang
21:01
cads has joined #ruby-lang
21:02
qba73 has quit [Remote host closed the connection]
21:05
jiuweigui has quit [Quit: iQuit!]
21:09
Coincidental has joined #ruby-lang
21:10
MaddinXx_ has quit [Remote host closed the connection]
21:12
earthquake_ has quit [Quit: earthquake_]
21:13
ldnunes has quit [Quit: Leaving]
21:14
mmorga has quit [Remote host closed the connection]
21:15
cored has joined #ruby-lang
21:15
cored has quit [Changing host]
21:15
cored has joined #ruby-lang
21:17
Squarepy has quit [Quit: Leaving]
21:17
ruby-lang391 has joined #ruby-lang
21:18
adambeynon has joined #ruby-lang
21:18
schaerli has joined #ruby-lang
21:19
ruby-lang391 has quit [Client Quit]
21:22
VTLob has quit [Quit: VTLob]
21:23
tubbo has quit [Quit: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA REDIS]
21:24
__butch__ has quit [Quit: Leaving.]
21:25
yfeldblum has joined #ruby-lang
21:27
chuck_ has quit [Ping timeout: 264 seconds]
21:27
schaerli has quit [Ping timeout: 252 seconds]
21:28
frnklmprd has joined #ruby-lang
21:28
pellenation has joined #ruby-lang
21:31
fijimunkii has joined #ruby-lang
21:31
fijimunkii has quit [Client Quit]
21:31
omninonsense_ has joined #ruby-lang
21:32
frnklmprd has quit [Client Quit]
21:32
jeff_r has quit [Remote host closed the connection]
21:34
omninonsense has quit [Ping timeout: 264 seconds]
21:38
arBmind has joined #ruby-lang
21:39
dmitrykorotkov_ is now known as dmitrykorotkov
21:40
s0ber has quit [Read error: Connection reset by peer]
21:42
s0ber has joined #ruby-lang
21:44
qba73 has joined #ruby-lang
21:44
Zerogrifter has joined #ruby-lang
21:45
pellenation has quit [Quit: Leaving.]
21:46
kgrz has joined #ruby-lang
21:47
ldnunes has joined #ruby-lang
21:51
kgrz has quit [Ping timeout: 264 seconds]
21:51
tylersmi_ has joined #ruby-lang
21:52
tylersmith has quit [Ping timeout: 246 seconds]
21:52
banisterfiend has quit [Quit: Computer has gone to sleep.]
21:59
TheMoonMaster has quit [Remote host closed the connection]
21:59
earthquake has joined #ruby-lang
22:00
workmad3 has joined #ruby-lang
22:00
breakingthings has quit []
22:02
enebo has quit [Quit: enebo]
22:04
lfox has quit [Quit: ZZZzzz…]
22:04
CoreData has joined #ruby-lang
22:08
banisterfiend has joined #ruby-lang
22:16
captain_chen has joined #ruby-lang
22:17
banisterfiend has joined #ruby-lang
22:17
<
captain_chen >
Hey, could someone answer a question for me?
22:18
<
banisterfiend >
captain_chen ask
22:19
<
captain_chen >
Oh wait.
22:19
<
drbrain >
captain_chen: yes!
22:19
<
drbrain >
captain_chen: ↑ done‼
22:19
bf4 has quit [Ping timeout: 264 seconds]
22:20
<
captain_chen >
I'm having trouble wrapping my head around how I would implement an inverted index.
22:21
<
captain_chen >
Okay so I'm using a hash to try and implement the inverted index
22:21
<
captain_chen >
Inside the hash, its keys are terms I've extracted from a preformatted text file.
22:22
<
captain_chen >
The keys point to the corresponding documentID
22:23
<
captain_chen >
Where the terms extracted are the text under the .T (for title) and .W for abstract
22:23
<
captain_chen >
I can grab the terms fine but what I don't get is how do I associate the terms with the corresponding documentID?
22:25
<
captain_chen >
The hash would look something like: "dog" => doc1, doc2
22:25
<
captain_chen >
Yeah
22:26
<
captain_chen >
I've seen the example there and the one posted on rosettastone
22:26
<
captain_chen >
*rosettacode
22:26
<
captain_chen >
Is this more simpler than I think it is or am I retarded?
22:27
<
drbrain >
for your paste, I think it would look something like:
22:27
TTilus has quit [Ping timeout: 256 seconds]
22:27
ssb123 has quit [Remote host closed the connection]
22:27
<
drbrain >
index = { 'preliminary' => [1], 'report' => [1], 'fingers' => [40], … }
22:27
ssb123 has joined #ruby-lang
22:28
<
captain_chen >
Yeah, something like that.
22:28
ssb123 has quit [Read error: Connection reset by peer]
22:28
<
drbrain >
and to search for, say "preliminary report", index['preliminary'] & index['report']
22:28
ssb123 has joined #ruby-lang
22:28
<
drbrain >
(which gives document 1)
22:28
<
captain_chen >
Yeah
22:29
<
captain_chen >
What I'm trying to understand is, how would it know the terms are in that specific document without me actually setting it myself?
22:29
MrPoT4tO has joined #ruby-lang
22:30
<
drbrain >
you will need to build the index by scanning the document
22:30
<
drbrain >
try: document.downcase.scan(/\b\w+\b/)
22:31
<
drbrain >
oh, and .uniq
22:31
dhruvasagar has quit [Ping timeout: 256 seconds]
22:31
jaimef has quit [Excess Flood]
22:31
<
captain_chen >
Should I post what I have so far?
22:31
<
drbrain >
you would parse the query the same way as the document
22:35
shinnya has joined #ruby-lang
22:36
jaimef has joined #ruby-lang
22:36
<
drbrain >
in your file, are there two documents?
22:36
mbj has joined #ruby-lang
22:36
<
captain_chen >
You mean the stopwords?
22:36
<
drbrain >
one for ".I 1" and another for ".I 40" ?
22:36
qba73 has quit [Remote host closed the connection]
22:37
<
captain_chen >
The actual document itself is like that.
22:37
<
captain_chen >
it's just one gigantic collections file preformatted in that style.
22:37
<
drbrain >
so multiple documents per file
22:38
<
captain_chen >
Are we talking about the same thing?
22:38
<
drbrain >
let's check :D
22:38
<
drbrain >
on line 4 of invert, you load test.txt
22:38
<
captain_chen >
Yeah
22:38
<
captain_chen >
Yeah, that's the file.
22:39
<
drbrain >
how many documents are in test.txt?, the one you posted
22:39
<
captain_chen >
The actual amount?
22:39
<
captain_chen >
3203
22:39
<
captain_chen >
*3204
22:40
nathanstitt has quit [Quit: I growing sleepy]
22:40
<
captain_chen >
The real one contains 3,204 "documents"
22:40
<
captain_chen >
The one I posted is just a fragment so it's easier to work with.
22:40
<
drbrain >
and the fragment contains 2?
22:40
<
captain_chen >
Yeah
22:40
<
captain_chen >
I just want to try small-scale before large.
22:40
<
drbrain >
I do the same
22:41
<
drbrain >
does the ".I 1" indicate "document with ID 1"?
22:41
<
captain_chen >
Yeah
22:41
<
drbrain >
ok, I think I understand you
22:41
<
captain_chen >
Hopefully lol
22:42
<
drbrain >
so in invert.rb I don't see where you pull out the IDs to process with the text chunk (extracted at line 10)
22:42
<
captain_chen >
Yeaht, that is invert.rb
22:42
<
drbrain >
to build the index you need the text for the document (line 10) plus the ID for the document (not there)
22:42
<
captain_chen >
It'll grab it if you change the regex to .i
22:43
<
captain_chen >
I was testing it with just the text in the abstract and title.
22:43
<
captain_chen >
Sorry lol
22:43
<
captain_chen >
Okay, so if it does grab that number.
22:44
<
captain_chen >
So would it be like:
22:44
<
captain_chen >
1) Grab from .I to the next .I
22:44
<
captain_chen >
I think I'm confused again.
22:45
<
drbrain >
step 1 is good
22:45
<
captain_chen >
So the scan would grab everything including the .I #num, the words under .T, and .W
22:45
<
captain_chen >
Then I would tokenize the string
22:45
serroft has quit [Quit: Leaving.]
22:46
<
captain_chen >
So I need to figure out somehow it would know to not assign the terms to the ID?
22:46
<
drbrain >
yes, if you remove the "not"
22:47
dingus_khan has joined #ruby-lang
22:47
<
drbrain >
hint: index = Hash.new { |index, term| index[term] = [] }
22:47
<
captain_chen >
And that's where I'm stuck lol
22:48
<
drbrain >
the index matches terms (keywords, tokens) to document IDs
22:49
<
captain_chen >
So is the part where I scan the whole document fine for all the terms?
22:49
<
captain_chen >
*fine
22:49
<
drbrain >
it is overcomplicated, but yes
22:49
<
captain_chen >
Like what I'm imagining is grabbing all the words and doc number
22:49
<
captain_chen >
And they're all in a bag, but now I don't know which terms belong to which ID
22:50
<
drbrain >
I see your collections file as a set of nested parts
22:51
<
drbrain >
inside the whole collection are documents, and inside the documents are IDs and titles and bodies and authors and so-on
22:51
<
drbrain >
so you can do something like:
22:51
<
captain_chen >
Yeah, that makes sense.
22:51
<
drbrain >
documents = content.scan(/regexp for a document/)
22:51
<
captain_chen >
Oh wait
22:51
<
captain_chen >
So basically I'm separating them into smaller chunks to work with, right?
22:52
<
drbrain >
line 11 in invert.rb processes all chunks at once
22:52
<
drbrain >
so documents.each do |document| id = extract_id(document); text = extract_text(document); … end
22:53
<
drbrain >
you need to process documents one-at-a-time like ↑
22:53
<
drbrain >
so the ID and the text stays associated
22:53
sepp2k1 has joined #ruby-lang
22:54
nofxx has quit [Ping timeout: 246 seconds]
22:54
<
captain_chen >
so that documents = content.scan(/regexp for a document/) would return an array of documents right?
22:54
sepp2k has quit [Ping timeout: 245 seconds]
22:54
KM has joined #ruby-lang
22:55
schaerli has joined #ruby-lang
22:59
<
captain_chen >
Okay, that makes a lot of sense.
23:00
schaerli has quit [Ping timeout: 264 seconds]
23:00
workmad3 has quit [Read error: Operation timed out]
23:00
<
captain_chen >
Thanks.
23:00
mdedetrich has joined #ruby-lang
23:00
omninonsense_ has quit [Remote host closed the connection]
23:00
omninonsense has joined #ruby-lang
23:01
<
captain_chen >
Alright time to try this.
23:02
<
captain_chen >
Yeah that's about the gist of it, except my problem was the generation of the hash
23:02
<
drbrain >
omninonsense: line 6 needs to use a default block
23:03
<
captain_chen >
but it all makes sense now
23:03
<
drbrain >
omninonsense: for that hash, all keys share the same array object
23:03
<
captain_chen >
Now I can make a souffle
23:04
<
omninonsense >
drbrain: Oh, I didn't realise that's the way ruby does it. I just assumed it dupes the object.
23:05
<
drbrain >
omninonsense: yeah, it's a common gotcha, Array#fill is the same
23:06
kith has quit [Quit: kith]
23:06
kith has joined #ruby-lang
23:06
<
whitequark >
drbrain: so. can you link me that article you were talking about at the conf?
23:07
<
drbrain >
the S/Ruby one?
23:07
<
drbrain >
let me see
23:08
<
whitequark >
yeah. S/Ruby. so I did hear it correctly!
23:08
<
omninonsense >
drbrain: I'm guessing (haven't tried it---ever in fact, since I never needed the behaviour) this should do the trick: Hash.new { |h, k| h[k] = [] } ?
23:08
<
whitequark >
zero google hits on that.
23:08
<
drbrain >
omninonsense: yes
23:08
Tearan has quit [Quit: Sleepy Badger....]
23:08
<
drbrain >
whitequark: crap, I may not be able to, I don't seem to have a local copy
23:08
<
omninonsense >
Wooho!
23:10
<
whitequark >
drbrain: oooh interesting, thanks!
23:12
tkuchiki has joined #ruby-lang
23:12
<
whitequark >
drbrain: it refers Scheme48/Pre-Scheme. if you're interested in this kind of stuff (or the results it could get you), it is very close to what I do.
23:12
<
drbrain >
whitequark: I haven't worked on that kind of stuff in some time
23:14
<
whitequark >
drbrain: as for the rest of article: yeah, it's a similar (albeit very ad-hoc approach). thanks for sharing anyway.
23:15
<
drbrain >
I thought it would be more interesting than useful
23:15
CoreData has quit [Ping timeout: 260 seconds]
23:16
<
whitequark >
my thoughts is that while it is
*possible* to use type inference and other techniques to be able to translate a
*strict* subset of Ruby, it becomes significantly easier to debug and understand the semantics once you extend the language and type system a little.
23:16
alekst has quit [Ping timeout: 246 seconds]
23:16
<
whitequark >
(e.g. parametric types... Array(Float) and such.)
23:16
dingus_khan has quit [Remote host closed the connection]
23:17
nofxx has joined #ruby-lang
23:17
nofxx has quit [Changing host]
23:17
nofxx has joined #ruby-lang
23:17
<
whitequark >
hopefully it will speak for itself at the upcoming release. :)
23:18
saarinen has quit [Quit: saarinen]
23:18
apeiros has joined #ruby-lang
23:19
<
whitequark >
http://tessel.io/ is as close as you can get to a
*full* language (JS in this case, but Ruby's in the same ballpark) properly implemented for an embedded device
23:19
<
whitequark >
as much as I loathe JS, they've a great team, hw & sw. worth checking out.
23:20
banisterfiend has quit [Ping timeout: 240 seconds]
23:20
<
whitequark >
er, full dynamic language.
23:20
ldnunes has quit [Quit: Leaving]
23:21
<
drbrain >
seems nice
23:22
x0f_ has quit [Read error: Operation timed out]
23:22
CoreData has joined #ruby-lang
23:23
<
omninonsense >
Sorry for being a bit off-topic; I couldn't remember the project name!
23:25
grough has joined #ruby-lang
23:27
<
omninonsense >
drbrain: Oh, that looks very very cool actually! It looks brilliant!
23:27
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
23:28
tkuchiki has quit [Remote host closed the connection]
23:28
tkuchiki has joined #ruby-lang
23:29
x0f has joined #ruby-lang
23:30
chuck has joined #ruby-lang
23:30
MrPoT4tO has quit [Remote host closed the connection]
23:32
jsullivandigs has joined #ruby-lang
23:33
jbsan has joined #ruby-lang
23:33
tkuchiki has quit [Ping timeout: 260 seconds]
23:34
ssb123 has quit [Remote host closed the connection]
23:35
ssb123 has joined #ruby-lang
23:36
<
captain_chen >
Could I get a freebie with the regexp?
23:36
<
captain_chen >
Oh wait a minute.
23:37
<
omninonsense >
captain_chen: /freebie/ :P
23:37
<
captain_chen >
(’・ω・`)
23:37
ssb123_ has joined #ruby-lang
23:37
Mon_Ouie has quit [Ping timeout: 245 seconds]
23:37
ssb123 has quit [Read error: Connection reset by peer]
23:40
nertzy has joined #ruby-lang
23:41
tomzx_mac has joined #ruby-lang
23:42
iliketurtles has quit [Quit: zzzzz…..]
23:44
mmorga has joined #ruby-lang
23:44
banisterfiend has joined #ruby-lang
23:49
ssb123_ has quit [Remote host closed the connection]
23:50
ssb123 has joined #ruby-lang
23:52
mmorga has quit [Remote host closed the connection]
23:53
cored has quit [Ping timeout: 264 seconds]
23:54
chrisenytc has quit [Read error: Connection reset by peer]
23:54
ssb123 has quit [Ping timeout: 245 seconds]
23:54
cored has joined #ruby-lang
23:54
cored has joined #ruby-lang
23:54
cored has quit [Changing host]
23:58
<
captain_chen >
welp
23:58
ykk` has quit [Quit: ykk`]
23:59
<
drbrain >
captain_chen: works?
23:59
<
captain_chen >
Having trouble extracting the id from the documents array