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