apeiros changed the topic of #ruby-lang to: RIP Jim || Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
elia has quit [Quit: Computer has gone to sleep.]
bawigga has quit []
stevew_ has joined #ruby-lang
|jemc| has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
robmiller has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
willmarshall has joined #ruby-lang
mykoweb has joined #ruby-lang
postmodern has joined #ruby-lang
alexju has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mykoweb has quit [Remote host closed the connection]
Speed has quit [Ping timeout: 246 seconds]
lolmaus has quit [Ping timeout: 246 seconds]
<zenspider> can any mockist TDDers give this a look? https://github.com/seattlerb/minitest/issues/414
tkuchiki has quit [Ping timeout: 246 seconds]
<blowmage> zenspider: if you ask on twitter i'll retweet
<zenspider> heh
<blowmage> because all the mockists follow me!
jonathanmarvens has quit [Ping timeout: 246 seconds]
<zenspider> hah. I bet they do
heftig has quit [Quit: Quitting]
JEG2 has quit [Quit: Connection closed for inactivity]
heftig has joined #ruby-lang
mykoweb has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
mykoweb has quit [Ping timeout: 268 seconds]
arubin has joined #ruby-lang
mistym has quit [Remote host closed the connection]
RobertBirnie has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
priodev has quit [Ping timeout: 265 seconds]
priodev has joined #ruby-lang
seanlinsley has joined #ruby-lang
seanlinsley has quit [Client Quit]
hahuang65 has quit [Ping timeout: 246 seconds]
mykoweb has joined #ruby-lang
seanlinsley has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
mykoweb has joined #ruby-lang
skammer_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seanlinsley has quit [Client Quit]
seanlinsley has joined #ruby-lang
lolmaus has joined #ruby-lang
mistym has joined #ruby-lang
mykoweb has quit [Ping timeout: 265 seconds]
mr-foobar has joined #ruby-lang
stevew_ has quit [Ping timeout: 268 seconds]
saarinen has quit [Quit: saarinen]
mr-foobar has quit [Ping timeout: 252 seconds]
seanlinsley has quit [Quit: seanlinsley]
mistym has quit [Remote host closed the connection]
seanlinsley has joined #ruby-lang
seanlinsley has quit [Client Quit]
agrinb has joined #ruby-lang
QuintinA_ has joined #ruby-lang
QuintinA_ has quit [Client Quit]
seanlinsley has joined #ruby-lang
mykoweb has joined #ruby-lang
QuintinAdam has quit [Ping timeout: 268 seconds]
agrinb has quit [Ping timeout: 265 seconds]
stevew_ has joined #ruby-lang
tester1 has joined #ruby-lang
tkuchiki has joined #ruby-lang
<tester1> Hello
<centrx> Ahoy
JoshuaPaling has joined #ruby-lang
tester1 has left #ruby-lang [#ruby-lang]
stevew_ has quit [Ping timeout: 268 seconds]
devgiant has quit [Quit: Leaving]
vpretzel has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
jason___ has joined #ruby-lang
jason___ has quit [Remote host closed the connection]
jason___ has joined #ruby-lang
mykoweb has quit [Ping timeout: 268 seconds]
amclain has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
jason___ has quit [Ping timeout: 264 seconds]
jason___ has joined #ruby-lang
jason___ has quit [Remote host closed the connection]
jason___ has joined #ruby-lang
jason___ has quit [Ping timeout: 264 seconds]
kitak_ has joined #ruby-lang
sepp2k1 has quit [Quit: Leaving.]
vpretzel_ has joined #ruby-lang
kitak has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby-lang
vpretzel has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby-lang
yatish27 has joined #ruby-lang
jason___ has joined #ruby-lang
michaeldeol has joined #ruby-lang
mbj has quit [Ping timeout: 246 seconds]
JoshuaPaling has joined #ruby-lang
fbernier has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
Cakey has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
wallerdev has quit [Quit: wallerdev]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
<pipework> zenspider: I think the syntax for the stub is really ugly, but don't really have a lot more to add than that.
postmodern has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cakey has quit [Ping timeout: 265 seconds]
elliotec has quit [Ping timeout: 246 seconds]
fbernier has joined #ruby-lang
wallerdev has joined #ruby-lang
diegoviola has joined #ruby-lang
saarinen has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
marcostoledo has quit [Quit: Leaving...]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
marcdel has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
Cakey has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 246 seconds]
Asher has joined #ruby-lang
mistym has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
nertzy has joined #ruby-lang
cnivolle has joined #ruby-lang
vpretzel_ is now known as vpretzel
saarinen has quit [Quit: saarinen]
RobertBirnie has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
cnivolle has quit [Ping timeout: 246 seconds]
alexju has quit [Remote host closed the connection]
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
saarinen has joined #ruby-lang
mr-foobar has joined #ruby-lang
cored has quit [Ping timeout: 265 seconds]
lsegal has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 268 seconds]
dknox-lunch has quit [Quit: Textual IRC Client: www.textualapp.com]
mr-foobar has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
dgaffney has quit [Remote host closed the connection]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dgaffney has joined #ruby-lang
michaeldeol has joined #ruby-lang
nisstyre has joined #ruby-lang
agrinb has joined #ruby-lang
mr-foobar has joined #ruby-lang
dgaffney has quit [Ping timeout: 252 seconds]
mdub has quit [Ping timeout: 252 seconds]
elliotec has joined #ruby-lang
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
agrinb has quit [Ping timeout: 264 seconds]
jonathanmarvens has joined #ruby-lang
jason___ has quit [Read error: Connection reset by peer]
rahul_j has joined #ruby-lang
kitak has joined #ruby-lang
jason___ has joined #ruby-lang
michaeldeol has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby-lang
kitak_ has quit [Ping timeout: 260 seconds]
BeingUntoDeath has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
seanlinsley has joined #ruby-lang
jason___ has quit [Remote host closed the connection]
jason___ has joined #ruby-lang
saarinen has quit [Read error: Connection reset by peer]
ledestin has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
yfeldblum has joined #ruby-lang
jason___ has quit [Ping timeout: 264 seconds]
jsutt has quit [Remote host closed the connection]
jsutt has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
tectonic has joined #ruby-lang
dgaffney has joined #ruby-lang
dgaffney_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
dgaffney has quit [Ping timeout: 265 seconds]
yatish27 has quit [Remote host closed the connection]
seanlinsley has quit [Quit: seanlinsley]
seanlinsley has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
mistym has quit [Ping timeout: 264 seconds]
kitak has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
kitak has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
mr-foobar has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
fezziwig has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
jonathanmarvens has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 252 seconds]
jonathanmarvens has joined #ruby-lang
robbyoconnor has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
jsutt has quit [Ping timeout: 264 seconds]
bahar has quit [Ping timeout: 268 seconds]
bahar has joined #ruby-lang
CaptainJet has quit []
sdouglas has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
fezziwig has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seanlinsley has quit [Quit: seanlinsley]
seanlinsley has joined #ruby-lang
fezziwig has quit [Ping timeout: 264 seconds]
vsorlov has joined #ruby-lang
RobertBirnie has joined #ruby-lang
yatish27 has joined #ruby-lang
gix has quit [Ping timeout: 252 seconds]
fezziwig has joined #ruby-lang
<zenspider> pipework: the syntax is ruby.
<pipework> zenspider: The way that one stubs something looks really terrible.
<zenspider> it LOOKS like ruby
fezziwig has quit [Remote host closed the connection]
<pipework> It looks like a way that you could write it, but it's certainly not the only way.
<pipework> That patch LOOKED ruby but you seemed to have some issue with it for some reason unfathomable by me.
gix has joined #ruby-lang
<zenspider> how I loooove getting in arguments with people who don't know what "syntax" means.
* pipework perfectly understands why some people really prefer not to work with certain people
<pipework> zenspider: That block style way to achieve a stub is horrendous and surprising given that your code usually doesn't look too terrible. I don't really care to argue. I'm a mockist, I TDD, I think it looks like shit. If that bothers you, that's really all I have to say about it.
Cakey has quit [Ping timeout: 264 seconds]
jonathanmarvens has quit [Ping timeout: 268 seconds]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
retro|cz has quit [Read error: Operation timed out]
vsorlov has quit [Ping timeout: 265 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
agrinb has joined #ruby-lang
tylersmith has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 264 seconds]
Cakey has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Cakey has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
dgaffney_ has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
dgaffney has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
dgaffney has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
tectonic has quit []
bahar has quit [Ping timeout: 252 seconds]
_ht has joined #ruby-lang
dgaffney has joined #ruby-lang
bahar has joined #ruby-lang
tectonic has joined #ruby-lang
jsutt has joined #ruby-lang
amclain has quit [Quit: Leaving]
yatish27 has joined #ruby-lang
jsutt has quit [Ping timeout: 246 seconds]
Cakey has joined #ruby-lang
sdouglas has joined #ruby-lang
yatish27 has quit [Ping timeout: 246 seconds]
iliketurtles has joined #ruby-lang
<Xzyx987X> this is really more of an algorithm problem, but I'm hoping there is an existing solution in ruby I can take into. say you have an array of strings that contain one or more words seporated by spaces. What would be the most simple way to index these strings so that I could call Index.search("test") and it would return all strings in the index that contained the word "test", and I could call Index.search("test", "blah") and it wou
<Xzyx987X> ld return all the strings that contained both "test" and "blah" (if any). I'm looking for a pure ruby solution that wouldn't require me to tap into an external resource. it doesn't need to be incredibly fast, but it has to scale well. in other words, just testing every string individually is not a viable option, nor is building a seporate index for every word. what would be the best approach for this problem?
woollyams has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
BeingUntoDeath has quit []
Cakey has quit [Ping timeout: 246 seconds]
<havenwood> Xzyx987X: how about with #grep, like: ['blah test', 'nope', 'testblah'].grep Regexp.union('test', 'blah')
<havenwood> #=> ["blah test", "testblah"]
wallerdev has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
<Xzyx987X> I don't think that is scalable enough. actually I just ran across something called whistlepig (http://masanjin.net/whistlepig/) which seems like it may satisfy my requirements
<havenwood> Xzyx987X: or do you mean like memoization of previous seraches?
<havenwood> searches*
<havenwood> ah
mykoweb has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby-lang
Cakey has joined #ruby-lang
lcdhoffman has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
mykoweb_ has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
mykoweb_ has quit [Remote host closed the connection]
mykoweb_ has joined #ruby-lang
mykoweb has quit [Ping timeout: 246 seconds]
rahul_j has quit [Quit: rahul_j]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
mykoweb_ has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
alexju has joined #ruby-lang
heftig has quit [Quit: Quitting]
rahul_j has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
glide has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phansch has joined #ruby-lang
glide has quit [Client Quit]
nisstyre has quit [Quit: WeeChat 0.4.3]
x0f_ has quit [Ping timeout: 268 seconds]
iliketurtles has quit [Quit: zzzzz…..]
mr-foobar has quit [Remote host closed the connection]
x0f has joined #ruby-lang
wallerdev has quit [Read error: Connection reset by peer]
knu has quit [Ping timeout: 264 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
mistym has joined #ruby-lang
[spoiler] has joined #ruby-lang
skammer has joined #ruby-lang
agrinb has joined #ruby-lang
apeiros has quit [Ping timeout: 265 seconds]
fragamus has joined #ruby-lang
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
woollyams has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 246 seconds]
mistym_ has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby-lang
mistym has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby-lang
toastynerd has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
Coincidental has joined #ruby-lang
<pipework> Xzyx987X: Have you looked into elasticsearch or solr for other options?
jsutt has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
jsutt has quit [Ping timeout: 268 seconds]
jsaak has quit [Ping timeout: 252 seconds]
Coincidental has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
achal has joined #ruby-lang
toastynerd has joined #ruby-lang
willmarshall has joined #ruby-lang
<Xzyx987X> pipework: both of those require you to run an external server, which is not acceptable in my case
<pipework> Xzyx987X: Ah, so it being another process is unacceptable?
<Xzyx987X> yea, it can't have external dependancies
<pipework> Xzyx987X: I don't think I understand what you mean by external dependencies.
<Xzyx987X> it can't depend on another program or server in order to function
<Xzyx987X> it has to all run in one process
<Xzyx987X> whistlepig seems like a good choice for my needs though, it seems very simple and straightforward to use
tectonic has quit []
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dagobah has joined #ruby-lang
solars has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<zenspider> I've heard good things about whistlepig... but on the racket side.
<zenspider> nice that it is in-process
mistym_ has quit [Remote host closed the connection]
willmarshall has joined #ruby-lang
willmarshall has quit [Max SendQ exceeded]
jsutt has joined #ruby-lang
willmarshall has joined #ruby-lang
dragonkh has joined #ruby-lang
mr-foobar has joined #ruby-lang
willmarshall has quit [Client Quit]
jsutt_ has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
jsutt has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby-lang
ledestin has joined #ruby-lang
<zenspider> fuck. heredocs are gonna be the death of me
phansch has quit [Quit: WeeChat 0.4.2]
yatish27 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
jsutt_ has quit [Ping timeout: 265 seconds]
yatish27 has quit [Ping timeout: 252 seconds]
willmarshall has joined #ruby-lang
willmarshall has quit [Client Quit]
charliesome has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
yatish27 has joined #ruby-lang
yann_ck has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
GaelanAintAround has quit [Ping timeout: 246 seconds]
zz_dlu has quit [Ping timeout: 240 seconds]
xcesariox has joined #ruby-lang
zz_dlu has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
rahul_j has joined #ruby-lang
mehlah has joined #ruby-lang
marcdel has quit []
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
michd is now known as MichD
sdouglas has joined #ruby-lang
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcdel has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
marcdel has quit [Client Quit]
skade has joined #ruby-lang
febeling has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
dragonkh has quit [Quit: Bye!]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
willmarshall has joined #ruby-lang
fragamus has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
willmarshall has quit [Client Quit]
alexju has quit [Remote host closed the connection]
knu has joined #ruby-lang
elliotec has quit [Ping timeout: 264 seconds]
relix has joined #ruby-lang
ikrima has quit [Ping timeout: 246 seconds]
elia has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
jsutt has joined #ruby-lang
agrinb has joined #ruby-lang
jsutt has quit [Read error: Connection reset by peer]
jsutt_ has joined #ruby-lang
sdouglas has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
lele has quit [Ping timeout: 246 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
jsutt_ has quit [Ping timeout: 252 seconds]
Pupeno has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
lele has joined #ruby-lang
elliotec has joined #ruby-lang
Pupeno has joined #ruby-lang
elia has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canton7-mac has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
elliotec has quit [Ping timeout: 252 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
francisfish has joined #ruby-lang
relix has joined #ruby-lang
ikrima has joined #ruby-lang
kitak_ has joined #ruby-lang
jsrn has joined #ruby-lang
kitak has quit [Ping timeout: 260 seconds]
nopc0de has joined #ruby-lang
lolmaus_ has joined #ruby-lang
<yorickpeterse> moggel
lolmaus has quit [Ping timeout: 268 seconds]
Pupeno has joined #ruby-lang
D9 has joined #ruby-lang
Voker57 has quit [Ping timeout: 252 seconds]
Fushi has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Remote host closed the connection]
Siyfion has joined #ruby-lang
febeling has quit [Quit: febeling]
Voker57 has joined #ruby-lang
phansch has joined #ruby-lang
skammer has joined #ruby-lang
fjfish has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
francisfish has quit [Ping timeout: 240 seconds]
heftig has joined #ruby-lang
Speed has joined #ruby-lang
francisfish has joined #ruby-lang
fjfish has quit [Ping timeout: 246 seconds]
devgiant has joined #ruby-lang
cnivolle has joined #ruby-lang
mr-foobar has joined #ruby-lang
kitak has joined #ruby-lang
kitak_ has quit [Ping timeout: 260 seconds]
jsutt has joined #ruby-lang
bahar has quit [Ping timeout: 265 seconds]
bahar has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
ikrima has quit [Ping timeout: 265 seconds]
jsutt has quit [Ping timeout: 245 seconds]
Voker57 has quit [Ping timeout: 252 seconds]
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
Speed has quit [Ping timeout: 240 seconds]
robmiller has joined #ruby-lang
arBmind has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
agrinb has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
cnivolle has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 240 seconds]
cnivolle has joined #ruby-lang
francisfish has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
elliotec has joined #ruby-lang
elliotec has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 240 seconds]
phansch has joined #ruby-lang
Speed has joined #ruby-lang
chouhoulis has joined #ruby-lang
gix has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
retro|cz has joined #ruby-lang
Guest59115 is now known as `micro
luiz_lha has quit [Ping timeout: 252 seconds]
mehlah has quit [Quit: Leaving...]
elia has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
mehlah has joined #ruby-lang
futilegames has joined #ruby-lang
cored has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
willmarshall has joined #ruby-lang
willmarshall has quit [Max SendQ exceeded]
willmarshall has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
chaos___________ has joined #ruby-lang
sdouglas has joined #ruby-lang
chouhoulis has joined #ruby-lang
mr-foobar has quit [Ping timeout: 252 seconds]
jsutt has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
jsutt has quit [Ping timeout: 252 seconds]
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fragamus has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
bradcliffe has joined #ruby-lang
AncientAmateur has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
Lennier has joined #ruby-lang
<Lennier> hello guys
<Lennier> short question, what does the method super do?
jgpawletko has joined #ruby-lang
<chris2> its a keyword
<chris2> but it calls the "parent" method
<Lennier> thanks chris2
<chris2> does that help?
<chris2> note that a plain "super" will pass the arguments of the current function
<yorickpeterse> but super() will not
<Lennier> for example: def initialize(attrs); self.representations = attrs.delete('Representations'); super(attrs); end
<yorickpeterse> `super` => pass all arguments to the parent
<yorickpeterse> `super()` => pass no arguments to the parent
<yorickpeterse> `super(foo)` => pass `foo` to the parent
<chris2> Lennier: yeah, in that case just "super" will do, but you can pass the arguments explicitly as well
proximo has joined #ruby-lang
<Lennier> ah, ok. thanks @chris2, @yorickpeterse
yfeldblum has joined #ruby-lang
elia has joined #ruby-lang
toretore has joined #ruby-lang
lcdhoffman has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
simono has joined #ruby-lang
willmarshall has joined #ruby-lang
<apeiros> note that even super() still passes on a block
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has joined #ruby-lang
scampbell has joined #ruby-lang
<yorickpeterse> blegh, "passAs" is an annoying field name
<yorickpeterse> either I think of "pass ass" or "paashaas" (easter bunny in Dutch)
<FiXato> lol
cored has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
* FiXato sprinkles some easter ash on yorickpeterse
<yorickpeterse> wat
<FiXato> paas as
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
rahul_j has joined #ruby-lang
rofel has joined #ruby-lang
agrinb has joined #ruby-lang
tkuchiki has quit [Ping timeout: 265 seconds]
phansch has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 264 seconds]
negatendo has joined #ruby-lang
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsrn has quit [Ping timeout: 252 seconds]
<workmad3> yorickpeterse: would pass_as be better? :)
simono_ has joined #ruby-lang
dik_dak has joined #ruby-lang
alekst has joined #ruby-lang
<yorickpeterse> actually yes
phansch has joined #ruby-lang
simono has quit [Ping timeout: 240 seconds]
AncientAmateur has joined #ruby-lang
negatendo has left #ruby-lang [#ruby-lang]
kitak has quit [Remote host closed the connection]
simono_ has quit [Ping timeout: 268 seconds]
havenwood has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
kitak has joined #ruby-lang
havenwood has joined #ruby-lang
<workmad3> yorickpeterse: so once again, snake_case beats CamelCase for readability :D
<yorickpeterse> ofc
<yorickpeterse> camelCase is for the sinners
<workmad3> sinners and javaites
havenn has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
jsrn has joined #ruby-lang
tkuchiki has joined #ruby-lang
kitak has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby-lang
simono has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Lennier has quit [Quit: Lennier]
mr-foobar has joined #ruby-lang
alexju has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
nathanstitt has joined #ruby-lang
alexju has quit [Remote host closed the connection]
simono has quit [Ping timeout: 240 seconds]
enebo has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
dwknoxy has joined #ruby-lang
simono has joined #ruby-lang
jgpawletko is now known as jgpawletko_away
octasimo has joined #ruby-lang
konr_ has quit []
konr_ has joined #ruby-lang
konr_ has quit [Client Quit]
AncientAmateur has quit [Remote host closed the connection]
konr has joined #ruby-lang
brettweavnet has joined #ruby-lang
brettweavnet has quit [Max SendQ exceeded]
AncientAmateur has joined #ruby-lang
jsutt has joined #ruby-lang
rahul_j_ has joined #ruby-lang
symm- has joined #ruby-lang
shinnya has joined #ruby-lang
rahul_j has quit [Ping timeout: 240 seconds]
rahul_j_ is now known as rahul_j
loincloth has joined #ruby-lang
simono has quit [Ping timeout: 265 seconds]
alekst has quit [Quit: Leaving...]
jsutt has quit [Ping timeout: 240 seconds]
jsutt has joined #ruby-lang
elliotec has joined #ruby-lang
seanlinsley has quit [Quit: …]
simono has joined #ruby-lang
elliotec has quit [Ping timeout: 240 seconds]
jsutt has quit [Ping timeout: 252 seconds]
JEG2 has joined #ruby-lang
Siyfion has quit [Remote host closed the connection]
AncientAmateur has quit [Remote host closed the connection]
jgpawletko_away is now known as jgpawletko
AncientAmateur has joined #ruby-lang
yatish27 has joined #ruby-lang
alexju has joined #ruby-lang
brettweavnet has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
octasimo has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
toastynerd has joined #ruby-lang
scampbell has quit [Ping timeout: 265 seconds]
sdouglas has joined #ruby-lang
[spoiler] has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
jds has joined #ruby-lang
brettweavnet has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
bjh13 has joined #ruby-lang
marcdel has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
phansch has joined #ruby-lang
seanlinsley has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
sdouglas has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
agrinb has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
mistym has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 240 seconds]
lolmaus_ has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby-lang
Siyfion has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
davidae has quit [Remote host closed the connection]
Siyfion has quit [Ping timeout: 252 seconds]
Siyfion has joined #ruby-lang
Ca11yWally is now known as cba
marcdel has quit []
Asher has quit [Quit: Leaving.]
mauror has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bzalasky has joined #ruby-lang
mistym has joined #ruby-lang
brettweavnet has joined #ruby-lang
brettweavnet has quit [Max SendQ exceeded]
shinnya has quit [Ping timeout: 245 seconds]
brettweavnet has joined #ruby-lang
brettweavnet has quit [Max SendQ exceeded]
brettweavnet has joined #ruby-lang
brettweavnet has quit [Max SendQ exceeded]
brettweavnet has joined #ruby-lang
skammer is now known as skammer|afk
vlad_starkov has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
skammer|afk is now known as skammer
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
dgaffney has quit [Remote host closed the connection]
dgaffney has joined #ruby-lang
tylersmith has quit [Ping timeout: 265 seconds]
simono has quit [Ping timeout: 268 seconds]
simono has joined #ruby-lang
agrinb has joined #ruby-lang
dgaffney has quit [Ping timeout: 268 seconds]
brettweavnet has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
sdouglas has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
wallerdev has joined #ruby-lang
marcdel has joined #ruby-lang
brettweavnet has joined #ruby-lang
cored has quit [Ping timeout: 265 seconds]
dgaffney has joined #ruby-lang
rippa has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
cored has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
mykoweb has joined #ruby-lang
Siyfion has quit []
mykoweb has quit [Remote host closed the connection]
<yorickpeterse> In unrelated news, I fucking love Ruby
mykoweb has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
<yorickpeterse> Hash.new { |hash, key| hash[key] = {:foo => key, :bar => []} } # <3
<yorickpeterse> it's the little things
marcel has joined #ruby-lang
marcel is now known as Guest82896
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
mistym_ has joined #ruby-lang
mykoweb has quit [Ping timeout: 265 seconds]
mistym has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
AncientAmateur has quit [Remote host closed the connection]
simono has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby-lang
simono has joined #ruby-lang
RobertBirnie has joined #ruby-lang
skammer is now known as skammer|afk
skammer|afk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
dgaffney has quit [Remote host closed the connection]
dgaffney has joined #ruby-lang
dstynchula has joined #ruby-lang
__butch__ has joined #ruby-lang
bzalasky has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
elliotec has joined #ruby-lang
jsrn has quit [Ping timeout: 268 seconds]
phansch has joined #ruby-lang
dgaffney has quit [Ping timeout: 268 seconds]
anjen has joined #ruby-lang
elliotec has quit [Ping timeout: 245 seconds]
bzalasky has quit [Remote host closed the connection]
Guest82896 has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym_ has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
jhass|off is now known as jhass
marcdel has quit []
marcdel has joined #ruby-lang
simono has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby-lang
michaeldeol has joined #ruby-lang
marcdel has quit [Client Quit]
mauror has quit [Quit: Quit]
wallerdev has quit [Quit: wallerdev]
stardiviner has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby-lang
OctoNinjaCat has joined #ruby-lang
simono has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AncientAmateur has joined #ruby-lang
Onixs_ has quit [Read error: Connection reset by peer]
rahul_j has joined #ruby-lang
mistym has joined #ruby-lang
solars has quit [Ping timeout: 265 seconds]
anjen has quit [Quit: anjen]
marcostoledo has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 252 seconds]
D9 has quit [Ping timeout: 252 seconds]
simono_ has joined #ruby-lang
Onixs has joined #ruby-lang
|jemc| has quit [Ping timeout: 268 seconds]
futilegames has quit [Quit: futilegames]
bzalasky has joined #ruby-lang
rofel has quit [Remote host closed the connection]
simono has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
Onixs has quit [Ping timeout: 264 seconds]
mr-foobar has quit [Remote host closed the connection]
Onixs has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
brettweavnet has quit [Remote host closed the connection]
brettweavnet has joined #ruby-lang
jhass is now known as jhass|off
RobertBirnie has joined #ruby-lang
Asher has joined #ruby-lang
D9 has joined #ruby-lang
yfeldblum has joined #ruby-lang
mikecmpbll has joined #ruby-lang
mikecmpbll has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby-lang
mikecmpbll has quit [Client Quit]
chaos___________ has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
dgaffney has joined #ruby-lang
luiz_lha has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
jhass|off is now known as jhass
Asher has quit [Quit: Leaving.]
|jemc| has joined #ruby-lang
wallerdev has joined #ruby-lang
tylersmith has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
sdouglas has joined #ruby-lang
toastynerd has joined #ruby-lang
ikrima has joined #ruby-lang
AncientAmateur has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 245 seconds]
jonathanmarvens has joined #ruby-lang
saarinen has joined #ruby-lang
tharindu has joined #ruby-lang
simono has joined #ruby-lang
dagobah has quit [Quit: Leaving...]
iliketurtles has joined #ruby-lang
ylluminate` has joined #ruby-lang
elliotec has joined #ruby-lang
simono_ has quit [Ping timeout: 268 seconds]
ylluminate` has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
apeiros has joined #ruby-lang
ylluminate has quit [Ping timeout: 245 seconds]
elliotec has quit [Ping timeout: 252 seconds]
Coincidental has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jsutt has joined #ruby-lang
jsutt has quit [Read error: Connection reset by peer]
jsutt has joined #ruby-lang
jsutt has quit [Max SendQ exceeded]
jsutt has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 265 seconds]
jonathanmarvens has joined #ruby-lang
jaimef has quit [Excess Flood]
simono_ has joined #ruby-lang
mykoweb has joined #ruby-lang
lolmaus has joined #ruby-lang
simono has quit [Ping timeout: 240 seconds]
canton7-mac has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
kitak has joined #ruby-lang
jaimef has joined #ruby-lang
futilegames has joined #ruby-lang
mr-foobar has joined #ruby-lang
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
D9 has quit [Quit: Leaving]
jsutt has quit [Ping timeout: 264 seconds]
kitak has quit [Ping timeout: 260 seconds]
Asher has joined #ruby-lang
jsutt has joined #ruby-lang
hahuang65 has joined #ruby-lang
AncientA_ has joined #ruby-lang
lsegal has joined #ruby-lang
rofel has joined #ruby-lang
jsutt has quit [Ping timeout: 240 seconds]
Ancient__ has joined #ruby-lang
AncientAmateur has quit [Read error: Connection reset by peer]
jsutt has joined #ruby-lang
jsutt has quit [Max SendQ exceeded]
jsutt has joined #ruby-lang
rofel has quit [Ping timeout: 268 seconds]
arBmind has left #ruby-lang [#ruby-lang]
AncientA_ has quit [Ping timeout: 265 seconds]
Asher has quit [Quit: Leaving.]
agrinb_ has joined #ruby-lang
agrinb has quit [Read error: No route to host]
elia has quit [Ping timeout: 265 seconds]
Coincidental has quit [Remote host closed the connection]
jsutt has quit [Ping timeout: 245 seconds]
nhmood has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
jsutt has joined #ruby-lang
lcdhoffman has joined #ruby-lang
havenn is now known as havenwood
simono has joined #ruby-lang
pr0ton_ has joined #ruby-lang
jsutt has quit [Read error: Connection reset by peer]
jsutt has joined #ruby-lang
simono_ has quit [Ping timeout: 264 seconds]
centrx has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
Asher has joined #ruby-lang
rh1n0 has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
jsutt has quit [Ping timeout: 265 seconds]
jsutt has joined #ruby-lang
jgpawletko is now known as jgpawletko_away
jgpawletko_away has quit [Quit: jgpawletko_away]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
OctoNinjaCat has quit [Ping timeout: 240 seconds]
tectonic has joined #ruby-lang
elliotec has joined #ruby-lang
dwknoxy is now known as dknox-lunch
brettweavnet has quit [Remote host closed the connection]
brettweavnet has joined #ruby-lang
yfeldblum has joined #ruby-lang
jsutt has quit [Ping timeout: 268 seconds]
diegovio1 has joined #ruby-lang
elliotec has quit [Ping timeout: 265 seconds]
diegovio1 is now known as diegoviola
vivekrai has joined #ruby-lang
brettweavnet has quit [Ping timeout: 265 seconds]
lolmaus has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby-lang
lolmaus has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
sdouglas has joined #ruby-lang
skade has joined #ruby-lang
vsorlov has joined #ruby-lang
toastynerd has joined #ruby-lang
cnivolle_ has joined #ruby-lang
allomov has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
allomov is now known as allomo
allomo is now known as allomov
cnivolle has quit [Ping timeout: 246 seconds]
cnivolle_ has quit [Ping timeout: 245 seconds]
iliketurtles has quit [Quit: zzzzz…..]
certainty has quit [Ping timeout: 252 seconds]
brettweavnet has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has joined #ruby-lang
pr0ton_ has quit [Quit: pr0ton_]
jgpawletko has joined #ruby-lang
saarinen has quit [Quit: saarinen]
rofel has joined #ruby-lang
certainty has joined #ruby-lang
allomov is now known as code1n
simono has quit [Ping timeout: 264 seconds]
simono has joined #ruby-lang
rofel has quit [Ping timeout: 240 seconds]
luiz_lha has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
tbuehlmann has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
code1n_ has joined #ruby-lang
nanno__ has joined #ruby-lang
nanno__ has quit [Remote host closed the connection]
Speed has quit [Ping timeout: 245 seconds]
code1n has quit [Ping timeout: 265 seconds]
jsutt has joined #ruby-lang
nanno__ has joined #ruby-lang
luiz_lha has joined #ruby-lang
luiz_lha has quit [Remote host closed the connection]
luiz_lha has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
proximo has quit [Remote host closed the connection]
nanno__ is now known as nanno77
dknox-lunch is now known as dknox-bbib
rh1n0 has quit [Ping timeout: 265 seconds]
Speed has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
t4nk407 has joined #ruby-lang
<t4nk407> I'm looking for help parsing a JSON
ur5us has joined #ruby-lang
<|jemc|> >> require 'json'; JSON.parse '["What seems to be the problem?"]'
<eval-in> |jemc| => (https://eval.in/127308)
<|jemc|> heh, whup?
<|jemc|> >> JSON.parse '["What seems to be the problem?"]'
<eval-in> |jemc| => uninitialized constant JSON (NameError) ... (https://eval.in/127309)
<|jemc|> silly eval-in
<t4nk407> I have an array, "results" with indexed from about 0 to 100; in each index there is a hash key "byline"
<t4nk407> i'm trying to pull the value of the bylines for each index of the array
lcdhoffman has joined #ruby-lang
<t4nk407> i tried ["results"]["byline"]...that gives me an error "no implcit conversion of string to integer"
<t4nk407> i'm guessing the map function might be the trick
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
iliketurtles has joined #ruby-lang
benanne has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<|jemc|> t4nk407: paste a sample snippet of JSON that shows the hierarchy
havenwood has joined #ruby-lang
agrinb has joined #ruby-lang
<t4nk407> ah...sorry...I got it wit the map function : puts a.map{|i| i["byline"] }
agrinb_ has quit [Ping timeout: 252 seconds]
agrinb has quit [Read error: No route to host]
agrinb has joined #ruby-lang
havenwood has quit [Ping timeout: 268 seconds]
agrinb has quit [Client Quit]
mr-foobar has quit [Remote host closed the connection]
brettweavnet has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
mr-foobar has joined #ruby-lang
t4nk407 has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby-lang
simono has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
relix has joined #ruby-lang
mr-foobar has quit [Ping timeout: 240 seconds]
rofel has joined #ruby-lang
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
retro|cz has quit [Ping timeout: 252 seconds]
rofel has quit [Read error: No route to host]
rofel has joined #ruby-lang
brettweavnet has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rofel has quit [Ping timeout: 245 seconds]
code1n_ has quit [Remote host closed the connection]
code1n has joined #ruby-lang
toastynerd has joined #ruby-lang
ur5us has quit [Ping timeout: 240 seconds]
<naquad> can i somehow make "invalid byte sequence in UTF-8" stfu completely?
<naquad> this is very annoying
<Jamo> which ruby version?
toastyne_ has joined #ruby-lang
<naquad> 2.0 and 2.1
toastynerd has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby-lang
code1n has quit [Ping timeout: 264 seconds]
<apeiros> naquad: yes. don't feed it invalid strings.
<naquad> awesome! thank you captain obvious!
<naquad> now go tell it to all the f* in the internet
<centrx> You can use #scrub in 2.1 ?
<apeiros> naquad: dumb question, dumb answer…
<naquad> apeiros, oh really? the question is quiet simple and definitely not dumb
<apeiros> naquad: if all strings are just bytes for you - you can also just treat everything as 'binary', i.e. set all encodings to it.
<apeiros> you'll never have invalid byte sequence exceptions then.
<toretore> naquad: it is not a question with a simple answer
<naquad> i've got utf8 everywhere. in database, in files, everywhere. but some users enter single byte encodings, no matter how i try i don't get such results, but when i try to load what they've entered i get invalid byte sequence in UTF-8
<naquad> and because it can happen on whole bunch of models there's no single place to set it
<toretore> naquad: the correct solution is to understand how encodings work and what data you're working with
<toretore> you can't just magically make encoding problems go away
inkblots has joined #ruby-lang
<chris2> Encoding.default_external = "binary"
<chris2> easy :P
<apeiros> internal too
<naquad> chris2, thanks, trying it
<chris2> is that for "foo"?
<chris2> no, literals still need something else
<chris2> ah, for to_s
<toretore> that's going to solve all his problems :P
elliotec has joined #ruby-lang
<apeiros> reminds me that that's still something I wanted to research. using utf-8 throughout let me neglect the details of how which settings interact.
<apeiros> I remember it was somewhat difficult to get irb to have literals as utf-8 in 1.9
elliotec has quit [Read error: Connection reset by peer]
Fushi has quit [Quit: Connection closed for inactivity]
havenwood has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
<toretore> apeiros: you mean to enter >256 chars into irb?
<apeiros> toretore: yeah, I favor your solution (learn about encodings) - but it seems coders avoid that about as much as rich people avoid taxes…
vlad_starkov has joined #ruby-lang
<apeiros> toretore: no, entering e.g. `"foo"` and have `"foo".encoding` return #<Encoding:UTF-8>
<toretore> yeah
<apeiros> iirc it was some env variable which had to be set
sdouglas_ has joined #ruby-lang
Fushi has joined #ruby-lang
<toretore> well, i did sit down and learn about encodings in ruby, and i understand it pretty well.. but i still can't get irb to work with utf8 properly
<apeiros> :)
<toretore> there are so many fctors involved.. terminal.app, tmux, readline, irb, ruby
<apeiros> yeah
sdouglas_ has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
<apeiros> with edit-line (apple's readline substitute), situation is even more f'ed up
sdouglas has joined #ruby-lang
sdouglas has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
dknox-bbib is now known as dknox
relix has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
centrx has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby-lang
sdouglas has quit [Read error: Connection reset by peer]
centrx has joined #ruby-lang
centrx is now known as Guest89261
sdouglas has joined #ruby-lang
cntrx has joined #ruby-lang
heftig has joined #ruby-lang
sdouglas_ has joined #ruby-lang
elliotec has quit [Ping timeout: 268 seconds]
cntrx is now known as centrx
sdougla__ has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
Guest89261 has quit [Ping timeout: 255 seconds]
sdougla__ has quit [Read error: Connection reset by peer]
vsorlov has quit [Ping timeout: 240 seconds]
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
sdouglas_ has quit [Ping timeout: 240 seconds]
mistym is now known as Misty
Misty is now known as mistym
luiz_lha has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
Pupeno has quit [Ping timeout: 246 seconds]
sdouglas has joined #ruby-lang
sdouglas has quit [Read error: Connection reset by peer]
sdouglas_ has joined #ruby-lang
sdouglas_ has quit [Read error: Connection reset by peer]
centrx has quit [Ping timeout: 268 seconds]
wallerdev has quit [Quit: wallerdev]
retro|cz has joined #ruby-lang
elliotec has joined #ruby-lang
centrx has joined #ruby-lang
centrx is now known as Guest88793
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
code1n has joined #ruby-lang
ur5us has joined #ruby-lang
phansch_ has joined #ruby-lang
CaptainJet has quit []
CaptainJet has joined #ruby-lang
ur5us has quit [Ping timeout: 264 seconds]
phansch has quit [Ping timeout: 268 seconds]
rofel has joined #ruby-lang
ur5us has joined #ruby-lang
joast has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: ledestin]
rofel has quit [Ping timeout: 268 seconds]
code1n_ has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
brettweavnet has quit [Ping timeout: 245 seconds]
<zenspider> enebo: oi. yt?
<enebo> zenspider: li?!%%v6$
<enebo> zenspider: not quite deciphering your sentence
<enebo> you there
<enebo> ah yes I am :)
code1n has quit [Ping timeout: 265 seconds]
michaeldeol has joined #ruby-lang
<zenspider> haha
<zenspider> enebo: can you join me in #seattle.rb ?
<whitequark> any clue on that?
Guest88793 is now known as centrx
wallerdev has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
mistym has quit [Remote host closed the connection]
code1n has joined #ruby-lang
mistym has joined #ruby-lang
code1n has quit [Remote host closed the connection]
seanlinsley has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby-lang
code1n has joined #ruby-lang
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
code1n_ has quit [Read error: Operation timed out]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
code1n has quit [Ping timeout: 245 seconds]
momomomomo has quit [Client Quit]
Burgestrand has joined #ruby-lang
seanlinsley has joined #ruby-lang
postmodern has joined #ruby-lang
momomomomo has joined #ruby-lang
tylersmi_ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
centrx has quit [Ping timeout: 240 seconds]
elliotec has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
tylersm__ has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
tylersmith has quit [Ping timeout: 268 seconds]
ledestin has joined #ruby-lang
elliotec has quit [Ping timeout: 265 seconds]
tylersmi_ has quit [Ping timeout: 268 seconds]
BubonicPestilenc has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
centrx has joined #ruby-lang
retro|cz has quit [Ping timeout: 240 seconds]
centrx is now known as Guest30381
elliotec has joined #ruby-lang
Guest30381 is now known as centrx
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastyne_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
mr-foobar has joined #ruby-lang
dgaffney has quit []
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
elliotec has quit [Read error: Connection reset by peer]
chouhoul_ has quit [Ping timeout: 268 seconds]
elliotec has joined #ruby-lang
mr-foobar has quit [Ping timeout: 265 seconds]
futilegames has quit [Quit: futilegames]
mehlah has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
momomomomo has joined #ruby-lang
elliotec has joined #ruby-lang
rofel has joined #ruby-lang
mbj has joined #ruby-lang
inkblots has quit [Read error: Connection reset by peer]
elliotec has quit [Ping timeout: 245 seconds]
rofel has quit [Ping timeout: 265 seconds]
momomomomo has quit [Quit: momomomomo]
toastynerd has quit [Remote host closed the connection]
jgpawletko has quit [Quit: jgpawletko]
toastynerd has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
<apeiros> whitequark: // without any flags will default to whatever ruby is set to use for literals (explicitly set via the `# encoding:` comment)
ur5us has quit [Remote host closed the connection]
<apeiros> if the encoding is utf-8, it will not accept sequences which are not valid utf-8
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby-lang
<apeiros> you can have a binary regex within an otherwise utf-8 file by using //n flag
michaeldeol has joined #ruby-lang
<apeiros> a regex with //u flag will always raise on non-utf-8 sequences, no matter what is set for literals
momomomomo has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
willmarshall has joined #ruby-lang
<apeiros> does that help?
DouweM has quit [Remote host closed the connection]
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
DouweM has joined #ruby-lang
mbj has quit [Ping timeout: 265 seconds]
toastynerd has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
achal has quit [Quit: Connection closed for inactivity]
<whitequark> apeiros: it does
<whitequark> thank you
<apeiros> yw
bjh13 has quit [Quit: leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastyne_ has joined #ruby-lang
<apeiros> whitequark: I think the rules for valid utf-8 sequences are not overly complex. iirc one of the early MB stdlibs had expressions for it
<apeiros> nkf.rb maybe
momomomomo has quit [Quit: momomomomo]
<whitequark> nah, that's not relevant
_ht has quit [Remote host closed the connection]
Ancient__ has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
tectonic has quit []
<apeiros> ok, thought you wanted to detect whether a regex would raise or not
woollyams has joined #ruby-lang
code1n has joined #ruby-lang
alexju has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
arBmind has joined #ruby-lang
dknox is now known as dknox-store
nathanstitt has quit [Quit: I growing sleepy]
skade has quit [Quit: Computer has gone to sleep.]
code1n_ has joined #ruby-lang
vivekrai has quit [Quit: Connection closed for inactivity]
jhass is now known as jhass|off
code1n has quit [Ping timeout: 245 seconds]
lcdhoffman has joined #ruby-lang
MichD is now known as michd
t4nk140 has joined #ruby-lang
<t4nk140> hello
t4nk140 has quit [Client Quit]
<|jemc|> goodbye
lcdhoffman has quit [Quit: lcdhoffman]
havenwood has joined #ruby-lang
nisstyre has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastyne_ has quit [Remote host closed the connection]
phansch_ has quit [Quit: WeeChat 0.4.2]
rofel has joined #ruby-lang
dknox-store is now known as dknox
<drbrain> |jemc|: goodbye
shinnya has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby-lang
BubonicPestilenc has quit [Quit: BubonicPestilenc]
elia has joined #ruby-lang
rofel has quit [Ping timeout: 245 seconds]
brettweavnet has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoul_ has quit [Read error: Connection reset by peer]
centrx has quit [Ping timeout: 255 seconds]
joast has joined #ruby-lang
enebo has quit [Quit: enebo]
chouhoulis has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby-lang
code1n_ has quit [Remote host closed the connection]
jsullivandigs has quit [Read error: Connection reset by peer]
ashu has joined #ruby-lang
brettweavnet has quit [Ping timeout: 268 seconds]
jsullivandigs has joined #ruby-lang
<ashu> hi
elia has quit [Quit: Computer has gone to sleep.]
joast has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
Thanatermesis has joined #ruby-lang
brettweavnet has joined #ruby-lang
cnivolle has joined #ruby-lang
ratmav has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
ashu has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
centrx has joined #ruby-lang
centrx is now known as Guest24543
elia has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoul_ has quit [Read error: Connection reset by peer]
dknox has quit [Quit: Textual IRC Client: www.textualapp.com]
cntrx has joined #ruby-lang
cntrx has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
Insentience has joined #ruby-lang
<Insentience> guys please suggest the best way to do ruby stuff on windows
<drbrain> ruby one click installer
<Insentience> i'm using an ide that's like 6 years old
<Insentience> it gives me "?????????" error messages
<Insentience> i have installed it already
<Insentience> just need ide or simple way of running code
<drbrain> I use the console
<drbrain> well, terminal
<Insentience> Is that the only choice
<Insentience> that would suck
<drbrain> and mvim
<drbrain> I don't know anything about IDEs
Guest24543 has quit [Ping timeout: 255 seconds]
<drbrain> they aren't powerful enough for my uses
<Insentience> are you by any chance over the age of 40
<drbrain> no
<Insentience> oh ok
seanlinsley has quit [Quit: …]
<Insentience> all the people i know who dont use ides are old
<drbrain> I do have a CRT dumb term though
<Insentience> so terminal then?
<drbrain> on OS X
<Insentience> are you familiar with what i can do on the windows cmd prompt
<drbrain> but I program in vim (mvim for OS X, gvim when I have to test windows stuff)
<Insentience> i can whip up a batch file
<drbrain> I'm familiar with some of the things that can be done from cmd
<drbrain> but it's terrible as a shell
brettweavnet has quit [Ping timeout: 252 seconds]
<Insentience> yeah yeah i know everyone hates it
<Insentience> no need to explain why, i've heard it countless times
<Insentience> oh ok i can just use notepad++
<Insentience> nice
jsullivandigs has joined #ruby-lang
<drbrain> that's an acceptable editor (I'm sure there is an emacs GUI for windows if you don't like vvim)
<|jemc|> Insentience: sublime text is a nice compromise between a texteditor+terminal and an IDE
<Insentience> Well I got something working on notepad++
cntrx has joined #ruby-lang
<Insentience> I'll probably switch to sublime eventually
<Insentience> NOW
<Insentience> ok
<Insentience> I'm trying to add a file
<Insentience> require "blah"
<Insentience> it's telling me the file isn't found, even though it's in the same folder, named properly
<Insentience> do i add the extension? I doubt it but just wondering
<drbrain> Insentience: the load path doesn't include the current directory by default
<drbrain> use require_relative
workmad3 has joined #ruby-lang
fezziwig has joined #ruby-lang
<Insentience> Oh I see now
toastynerd has quit [Remote host closed the connection]
<Insentience> Ok, I have a module. Parent class 'includes' the module. Do child classes have to re'include' it?
<Insentience> keep in mind the parent class provides their own redefinition of said modules
<workmad3> Insentience: no
<drbrain> Insentience: you can answer these types of questions in irb, too
<Insentience> i dont have irb, sorry should've looked it up before asking such trivial questions
toastyne_ has joined #ruby-lang
<workmad3> Insentience: if you have ruby installed, you should have irb ;)
<havenwood> Insentience: Try typing `irb` in `cmd.exe`.
<Insentience> oh
<Insentience> "DL is depreciated, please use Fiddle"
<Insentience> deprecated*
<workmad3> heh, depreciated
ratmav has quit [Quit: Leaving]
<Insentience> Do I use Fiddle then?
<Insentience> Whatever that is
toretore has quit [Quit: This computer has gone to sleep]
brettweavnet has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
esad has joined #ruby-lang
jsullivandigs has quit [Quit: Leaving...]
<drbrain> Insentience: I think irb uses something which uses DL (probably a windows-specific thing)
<havenwood> Insentience: ya, the RubyInstaller Win32API uses DL
<havenwood> Insentience: Ruby 2.0 and just a deprecation warning?
<drbrain> Insentience: don't worry about the warning
<havenwood> Insentience: You could comment out the deprecation warning if it bothers you.
fezziwig has quit [Remote host closed the connection]
cntrx has quit [Ping timeout: 240 seconds]
nhmood has quit [Quit: Connection closed for inactivity]
brettweavnet has quit [Ping timeout: 265 seconds]
joast has joined #ruby-lang
benanne has quit [Ping timeout: 240 seconds]
mr-foobar has joined #ruby-lang
fbernier has quit [Ping timeout: 268 seconds]
|jemc| has quit [Ping timeout: 240 seconds]
cnivolle has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
cntrx has joined #ruby-lang
ratmav has joined #ruby-lang
mr-foobar has quit [Ping timeout: 268 seconds]
brettweavnet has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
code1n has joined #ruby-lang
cntrx is now known as centrx
<Insentience> I'm trying to return an object in ruby, but it's telling me 'no implicit conversion from objectName to int'
workmad3 has quit [Ping timeout: 265 seconds]
knu has quit [Ping timeout: 264 seconds]
rofel has joined #ruby-lang
<Insentience> should i try to use attr_accessor ?
<wallerdev> why are you using exit
<Insentience> I'm not sure how it works, or whether or not i should use it
<Insentience> isn't that how you return things in ruby?
<wallerdev> delete exit and it should work
<Insentience> Sorry I'm new
<drbrain> exit ends the process
<wallerdev> or write "return"
benanne has joined #ruby-lang
<Insentience> So wait, how does removing 'exit' make it work
<wallerdev> ruby methods return the last line evaluated
<Insentience> Oh really
benanne has quit [Client Quit]
<wallerdev> yup, you can also use return, although it's usually not used unless you're returning early from a method
<wallerdev> haha i didnt know you could catch exit
<drbrain> wallerdev: yeah, great for testing
<drbrain> def exit(status) raise SystemExit.new(status) end
<wallerdev> looks like an easy way to break out of nested loops ;)
rofel has quit [Ping timeout: 240 seconds]
<drbrain> probably better to use catch/throw
<drbrain> (because they don't create a backtrace
<drbrain> )
ratmav has quit [Quit: Leaving]
<drbrain> well, if you want to break out of a loop that's not in your scope
victorbjelkholm has joined #ruby-lang
fezziwig has joined #ruby-lang
tkuchiki has joined #ruby-lang
victorbjelkholm has quit [Quit: Leaving]
Onixs has quit [Read error: Connection reset by peer]
rsl has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
rsl has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
1JTAAWJ07 has joined #ruby-lang
Cakey has joined #ruby-lang