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