00:02
M3M0CooL has joined #ruby-lang
00:06
tylersmith has quit [Remote host closed the connection]
00:07
banister has joined #ruby-lang
00:08
MichD is now known as michd
00:10
unsymbol has quit [Ping timeout: 272 seconds]
00:11
banister has quit [Client Quit]
00:13
bbyler_tho has joined #ruby-lang
00:14
diegovio1 has joined #ruby-lang
00:14
robbyoconnor has quit [Ping timeout: 260 seconds]
00:15
diegoviola has quit [Ping timeout: 258 seconds]
00:15
diegovio1 is now known as diegoviola
00:16
thagomizer has quit [Quit: Leaving.]
00:17
ikrima has joined #ruby-lang
00:23
sepp2k1 has joined #ruby-lang
00:23
quimrstorres has joined #ruby-lang
00:23
sepp2k has quit [Ping timeout: 260 seconds]
00:23
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:24
masterkorp has left #ruby-lang ["WeeChat 0.3.8"]
00:25
|jemc| has joined #ruby-lang
00:26
mikecmpbll has quit [Quit: i've nodded off.]
00:27
quimrstorres has quit [Ping timeout: 240 seconds]
00:27
SuMo_D has quit [Remote host closed the connection]
00:28
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:31
gix has quit [Ping timeout: 260 seconds]
00:32
ikrima has quit [Ping timeout: 255 seconds]
00:34
djbkd has quit [Quit: My people need me...]
00:34
shinnya has joined #ruby-lang
00:37
gix has joined #ruby-lang
00:41
bbyler_tho has quit [Remote host closed the connection]
00:45
jhass is now known as jhass|off
00:47
spastorino has quit [Quit: Connection closed for inactivity]
00:48
unsymbol has joined #ruby-lang
00:48
havenwood has quit []
00:52
M3M0CooL has quit []
00:55
amsi has quit [Quit: Leaving]
00:56
Asher has joined #ruby-lang
00:58
SuMo_D has joined #ruby-lang
01:02
ikrima has joined #ruby-lang
01:03
SuMo_D has quit [Ping timeout: 272 seconds]
01:06
Lewix has joined #ruby-lang
01:06
cads has quit [Ping timeout: 258 seconds]
01:07
sarkyniin has quit [Quit: Quitte]
01:08
lsegal has joined #ruby-lang
01:10
jonathan_alban has joined #ruby-lang
01:13
wallerdev has quit [Quit: wallerdev]
01:15
hackeron has quit [Ping timeout: 265 seconds]
01:16
hackeron has joined #ruby-lang
01:16
hackeron has quit [Changing host]
01:16
hackeron has joined #ruby-lang
01:17
hahuang65 has quit [Ping timeout: 244 seconds]
01:19
_ht has quit [Remote host closed the connection]
01:23
henrikhodne has quit [Ping timeout: 260 seconds]
01:23
henrikhodne has joined #ruby-lang
01:24
musty has quit [Quit: :)]
01:24
quimrstorres has joined #ruby-lang
01:24
RobertBirnie has joined #ruby-lang
01:26
mistym has quit [Remote host closed the connection]
01:28
ikrima has quit [Ping timeout: 255 seconds]
01:29
quimrstorres has quit [Ping timeout: 265 seconds]
01:29
SuMo_D has joined #ruby-lang
01:29
_lexjm has joined #ruby-lang
01:32
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:34
SuMo_D has quit [Ping timeout: 272 seconds]
01:35
njames has joined #ruby-lang
01:38
allomov_ has joined #ruby-lang
01:38
allomov_ has quit [Remote host closed the connection]
01:43
tanema has joined #ruby-lang
01:45
diegoviola has quit [Ping timeout: 255 seconds]
01:46
tkuchiki has joined #ruby-lang
01:48
diegoviola has joined #ruby-lang
01:53
jxpx777_ has joined #ruby-lang
01:55
ender|dkm has quit [Ping timeout: 255 seconds]
01:55
jbardin has quit [Quit: jbardin]
01:55
jxpx777 has quit [Ping timeout: 260 seconds]
02:01
njames has quit [Remote host closed the connection]
02:01
emmesswhy has joined #ruby-lang
02:05
toretore has quit [Quit: This computer has gone to sleep]
02:08
ohhello has joined #ruby-lang
02:09
spastorino has joined #ruby-lang
02:09
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:11
ohhello has quit [Client Quit]
02:12
yfeldblum has quit [Remote host closed the connection]
02:13
cads has joined #ruby-lang
02:14
oleo__ has joined #ruby-lang
02:14
oleo is now known as Guest93539
02:15
tkuchiki has quit [Remote host closed the connection]
02:15
tkuchiki has joined #ruby-lang
02:18
Guest93539 has quit [Ping timeout: 272 seconds]
02:19
jgpawletko has quit [Quit: jgpawletko]
02:20
tkuchiki has quit [Ping timeout: 244 seconds]
02:21
ender|dkm has joined #ruby-lang
02:22
nathanstitt has joined #ruby-lang
02:22
hellangel7 has quit [Read error: Connection reset by peer]
02:23
jgpawletko has joined #ruby-lang
02:24
shinnya has quit [Ping timeout: 240 seconds]
02:25
quimrstorres has joined #ruby-lang
02:26
joast has quit [Ping timeout: 246 seconds]
02:26
mistym has joined #ruby-lang
02:26
ender|dkm has quit [Ping timeout: 255 seconds]
02:29
cads has quit [Quit: Leaving]
02:29
SuMo_D has joined #ruby-lang
02:29
quimrstorres has quit [Ping timeout: 265 seconds]
02:34
SuMo_D has quit [Ping timeout: 265 seconds]
02:39
seank__ has quit [Remote host closed the connection]
02:40
seank_ has joined #ruby-lang
02:40
brianpWins has quit [Quit: brianpWins]
02:43
postmodern has quit [Remote host closed the connection]
02:46
Forgetful_Lion has joined #ruby-lang
02:48
hahuang65 has joined #ruby-lang
02:51
joast has joined #ruby-lang
03:03
simi has joined #ruby-lang
03:04
charliesome has joined #ruby-lang
03:08
hackeron has quit [Ping timeout: 250 seconds]
03:09
hackeron has joined #ruby-lang
03:11
Mellett68 has joined #ruby-lang
03:13
yfeldblum has joined #ruby-lang
03:14
conquerio has joined #ruby-lang
03:16
charliesome has quit [Quit: zzz]
03:16
charliesome has joined #ruby-lang
03:16
jxpx777_ has quit [Quit: Leaving...]
03:17
charliesome has quit [Client Quit]
03:22
yfeldblum has quit [Ping timeout: 272 seconds]
03:22
ender|dkm has joined #ruby-lang
03:23
_lexjm has quit [Read error: Connection reset by peer]
03:24
_lexjm has joined #ruby-lang
03:25
quimrstorres has joined #ruby-lang
03:26
mattyohe has quit [Quit: Connection closed for inactivity]
03:28
ender|dkm has quit [Ping timeout: 255 seconds]
03:30
quimrstorres has quit [Ping timeout: 240 seconds]
03:35
gix has quit [Ping timeout: 244 seconds]
03:39
nathanstitt has quit [Quit: I growing sleepy]
03:39
gix has joined #ruby-lang
03:42
araujo has quit [Quit: Leaving]
03:44
Miphix has joined #ruby-lang
03:52
Mellett68 has quit [Ping timeout: 245 seconds]
03:52
lsegal has quit [Read error: Connection reset by peer]
03:52
lsegal has joined #ruby-lang
03:56
ruby-lang274 has joined #ruby-lang
03:59
Mellett68 has joined #ruby-lang
03:59
emmesswhy has quit [Quit: Leaving]
04:00
ruby-lang274 has quit [Ping timeout: 246 seconds]
04:04
yfeldblum has joined #ruby-lang
04:07
mistym_ has joined #ruby-lang
04:10
mistym has quit [Ping timeout: 246 seconds]
04:12
sepp2k1 has quit [Read error: Connection reset by peer]
04:12
hackeron has quit [Ping timeout: 240 seconds]
04:13
hackeron has joined #ruby-lang
04:16
jason__ has joined #ruby-lang
04:16
jason__ has quit [Client Quit]
04:21
mistym_ has quit [Remote host closed the connection]
04:22
kgrz has joined #ruby-lang
04:22
ender|dkm has joined #ruby-lang
04:23
Atttwww has quit [Ping timeout: 260 seconds]
04:23
CodeBunny has joined #ruby-lang
04:26
quimrstorres has joined #ruby-lang
04:26
ender|dkm has quit [Ping timeout: 255 seconds]
04:28
arooni-mobile has joined #ruby-lang
04:31
fuhgeddaboudit has joined #ruby-lang
04:31
quimrstorres has quit [Ping timeout: 245 seconds]
04:32
ikrima has joined #ruby-lang
04:35
slawrence00 has joined #ruby-lang
04:35
conquerio has quit []
04:37
yatish27 has joined #ruby-lang
04:39
yatish27 has quit [Client Quit]
04:47
diegovio1 has joined #ruby-lang
04:48
diegoviola has quit [Ping timeout: 240 seconds]
04:49
mistym has joined #ruby-lang
04:54
hackeron has quit [Ping timeout: 240 seconds]
04:55
hackeron has joined #ruby-lang
04:58
robbyoconnor has joined #ruby-lang
05:02
shinnya has joined #ruby-lang
05:04
Nieralyte has joined #ruby-lang
05:08
hackeron has quit [Ping timeout: 260 seconds]
05:09
hackeron has joined #ruby-lang
05:12
imperator has joined #ruby-lang
05:12
Gabri has joined #ruby-lang
05:16
Gabri has quit [Client Quit]
05:18
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
05:21
SuMo_D has joined #ruby-lang
05:22
simi has quit [Ping timeout: 265 seconds]
05:22
ender|dkm has joined #ruby-lang
05:23
<
imperator >
this is too weird
05:24
<
imperator >
test-unit test runner just chokes at 38 files for some reason
05:27
ender|dkm has quit [Ping timeout: 255 seconds]
05:27
quimrstorres has joined #ruby-lang
05:32
quimrstorres has quit [Ping timeout: 260 seconds]
05:36
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:40
RobertBirnie has joined #ruby-lang
05:40
AKASkip has joined #ruby-lang
05:42
ledestin_ has joined #ruby-lang
05:43
ledestin has quit [Ping timeout: 260 seconds]
05:43
ledestin_ is now known as ledestin
05:46
kgrz has quit [Remote host closed the connection]
05:47
arooni-mobile has quit [Ping timeout: 258 seconds]
05:52
<
imperator >
not found
05:57
<
imperator >
it's rather disheartening to see this :(
05:58
x0f has quit [Ping timeout: 255 seconds]
05:59
x0f has joined #ruby-lang
06:00
<
whitequark >
huh? use minitest
06:00
<
whitequark >
I'm not sure if anyone cares about test-unit at all, since it was excised after 1.8
06:02
emmesswhy has joined #ruby-lang
06:02
ikrima has quit [Ping timeout: 246 seconds]
06:05
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:07
ledestin_ has joined #ruby-lang
06:10
ledestin has quit [Ping timeout: 240 seconds]
06:10
ledestin_ is now known as ledestin
06:12
<
imperator >
this lib predates it, may have to switch it though
06:13
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:16
Nieralyte has quit [Quit: Nieralyte]
06:21
yfeldblum has quit [Remote host closed the connection]
06:22
ender|dkm has joined #ruby-lang
06:22
_lexjm has joined #ruby-lang
06:23
arBmind has joined #ruby-lang
06:24
ikrima has joined #ruby-lang
06:26
kgrz has joined #ruby-lang
06:27
ender|dkm has quit [Ping timeout: 255 seconds]
06:28
quimrstorres has joined #ruby-lang
06:32
quimrstorres has quit [Ping timeout: 246 seconds]
06:42
arBmind has quit [Quit: Leaving.]
06:47
SuMo_D has quit [Remote host closed the connection]
06:52
diegovio1 has quit [Remote host closed the connection]
06:52
_ht has joined #ruby-lang
07:02
shinnya has quit [Ping timeout: 258 seconds]
07:03
relix has joined #ruby-lang
07:04
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:04
arBmind has joined #ruby-lang
07:04
<
imperator >
getting a similar error with minitest
07:05
arBmind has quit [Client Quit]
07:07
spastorino has quit [Quit: Connection closed for inactivity]
07:10
<
whitequark >
that's odd
07:14
<
imperator >
but, this only seems to happen for one test case file in particular...
07:14
<
imperator >
so progress
07:19
fusillicode1 has joined #ruby-lang
07:21
fusillicode has quit [Ping timeout: 240 seconds]
07:22
ender|dkm has joined #ruby-lang
07:26
ender|dkm has quit [Ping timeout: 255 seconds]
07:28
quimrstorres has joined #ruby-lang
07:30
tbuehlmann has joined #ruby-lang
07:32
<
Hanmac >
imperator: did one of your testcases use "send"? try to grep the test files
07:32
<
imperator >
Hanmac, no
07:32
<
imperator >
it's failing on Windows::Socket tests
07:33
quimrstorres has quit [Ping timeout: 255 seconds]
07:33
<
imperator >
i'm speculating that it's some sort of name clash caused by windows-api
07:33
allomov_ has joined #ruby-lang
07:33
<
imperator >
with Ruby's Socket class
07:34
<
imperator >
but how exactly, i don't know
07:34
_ht has quit [Ping timeout: 250 seconds]
07:35
_ht has joined #ruby-lang
07:35
<
imperator >
the test suite itself is extremely basic and short
07:45
* imperator
sleeps on it
07:54
yfeldblum has joined #ruby-lang
07:56
yfeldblum has quit [Remote host closed the connection]
07:57
yfeldblum has joined #ruby-lang
08:00
fusillicode has joined #ruby-lang
08:04
fusillicode1 has quit [Ping timeout: 240 seconds]
08:07
emmesswhy has quit [Quit: Leaving]
08:13
caseydriscoll has quit [Read error: Connection reset by peer]
08:13
caseydriscoll has joined #ruby-lang
08:13
ta has joined #ruby-lang
08:14
unhappy_internet has joined #ruby-lang
08:15
<
unhappy_internet >
hi is a website where i can get help on ruby as a student. i don't know why my case statement isn't working.
08:22
ender|dkm has joined #ruby-lang
08:27
ender|dkm has quit [Ping timeout: 255 seconds]
08:29
quimrstorres has joined #ruby-lang
08:32
gianlucadv has joined #ruby-lang
08:34
quimrstorres has quit [Ping timeout: 265 seconds]
08:34
<
tbuehlmann >
unhappy_internet, there's always stackoverflow.com, but you can also ask your questions right here
08:35
goodniceweb has joined #ruby-lang
08:37
|jemc| has quit [Ping timeout: 240 seconds]
08:38
heftig has quit [Read error: Connection reset by peer]
08:40
toretore has joined #ruby-lang
08:45
<
unhappy_internet >
tbuehlmann, i ended up being downvoted. i did end up figuring out what i could have done better....after being downvoted. i couldn't figure out why my case statement wasn't working so i went with the if else.
08:50
rippa has joined #ruby-lang
08:50
<
unhappy_internet >
is there a way to @ people?
08:56
hellangel7 has joined #ruby-lang
08:56
hellangel7 has quit [Read error: Connection reset by peer]
08:58
goodniceweb has quit [Remote host closed the connection]
09:00
dangerousdave has joined #ruby-lang
09:03
M3M0CooL has joined #ruby-lang
09:04
gianlucadv has quit [Ping timeout: 265 seconds]
09:05
Blaguvest has joined #ruby-lang
09:06
mistym has quit [Remote host closed the connection]
09:07
charliesome has joined #ruby-lang
09:09
<
tbuehlmann >
then let's do that first
09:10
<
tbuehlmann >
basically you want to have an infinite loop which breaks on certain input, right?
09:12
<
unhappy_internet >
yes
09:12
hackeron has quit [Ping timeout: 255 seconds]
09:13
<
apeiros >
s/infinite//
09:13
hackeron has joined #ruby-lang
09:13
<
tbuehlmann >
yes, thank you
09:15
<
tbuehlmann >
unhappy_internet, you have some options. there is `loop do ... end` which will just loop until you call `break` in it. then there is `while <condition> do ... end` which will loop while the condition returns something truthy
09:16
<
tbuehlmann >
and then there is `until <condition> do ... end` which will loop until the condition is truthy
09:16
charliesome has quit [Quit: zzz]
09:17
<
tbuehlmann >
(beside using global variables)
09:17
charliesome has joined #ruby-lang
09:17
<
tbuehlmann >
(I'm the worst google expert)
09:17
<
apeiros >
googling good examples is hard :-|
09:18
<
unhappy_internet >
loop do might be the one i should do
09:18
<
apeiros >
`else break if yes=="q"` # <-- looks suspicious
09:18
<
apeiros >
should probably be an elsif too, and you should have a plain else which informs the user about invalid input
09:19
michd is now known as MichD
09:20
<
unhappy_internet >
ahh. yeah the else break is me being frustrated
09:22
ender|dkm has joined #ruby-lang
09:22
<
unhappy_internet >
got rid of the else break
09:22
<
unhappy_internet >
i'll study the tutorial
09:27
<
apeiros >
why do you append .git to the url?
09:27
ender|dkm has quit [Ping timeout: 255 seconds]
09:27
quimrstorres has joined #ruby-lang
09:31
charliesome has quit [Quit: zzz]
09:32
cornerma1 has joined #ruby-lang
09:32
hackeron has quit [Ping timeout: 272 seconds]
09:32
hackeron has joined #ruby-lang
09:33
quimrstorres has quit [Ping timeout: 240 seconds]
09:34
marr has joined #ruby-lang
09:34
marr has quit [Remote host closed the connection]
09:35
<
unhappy_internet >
until stamenet works perfectly
09:35
cornerman has quit [Ping timeout: 255 seconds]
09:35
cornerma1 is now known as cornerman
09:42
jhass|off is now known as jhass
09:43
<
unhappy_internet >
Q: about new pushing numbers into array? do i have to do array.new? is there a way to push numbers into the same array after clearing?
09:44
<
unhappy_internet >
.would this be appropriate?=each_char{|x|arr.push.to_i}
09:45
<
unhappy_internet >
i also need the intergers to be seperated
09:47
M3M0CooL has quit []
09:48
Lewix has quit [Remote host closed the connection]
09:50
kgrz has joined #ruby-lang
09:51
<
tbuehlmann >
you can add elements to an array using `arr.push(element)` or `arr << element`
09:56
ikrima has quit [Ping timeout: 240 seconds]
09:58
<
jhass >
unhappy_internet: if you want an array of chars simply call .chars
10:08
<
unhappy_internet >
tbuehlmann, for arr<<element i don't see how that works. would i have to make a method def element, arr, end?
10:10
<
unhappy_internet >
jhass, it more that i need them to be separated. so when time comes for calculations they are calculated separately.
10:11
<
jhass >
still sounds like you just want an array of characters to me
10:11
<
Hanmac >
unhappy_internet: dont use chars or each_char for that:
10:11
<
Hanmac >
>> "2 4 4 4 5 5 7 9".split.map(&:to_i)
10:14
heftig has joined #ruby-lang
10:16
jds has quit [Quit: Connection closed for inactivity]
10:20
s1kx has quit [Remote host closed the connection]
10:22
<
unhappy_internet >
clearly have more studying to do.
10:22
ender|dkm has joined #ruby-lang
10:23
M3M0CooL has joined #ruby-lang
10:26
banister has joined #ruby-lang
10:26
ikrima has joined #ruby-lang
10:26
ender|dkm has quit [Ping timeout: 255 seconds]
10:29
quimrstorres has joined #ruby-lang
10:30
banister has quit [Ping timeout: 245 seconds]
10:31
mikecmpbll has joined #ruby-lang
10:34
quimrstorres has quit [Ping timeout: 258 seconds]
10:35
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:37
kyb3r_ has quit [Read error: Connection reset by peer]
10:39
banister has joined #ruby-lang
10:40
ayonkhan has joined #ruby-lang
10:41
ayonkhan has quit [Client Quit]
10:41
ayonkhan has joined #ruby-lang
10:42
bin7me has joined #ruby-lang
10:43
sarkyniin has joined #ruby-lang
10:47
ayonkhan has quit [Quit: (null)]
10:47
ayonkhan has joined #ruby-lang
10:49
klmlfl has joined #ruby-lang
10:57
shinnya has joined #ruby-lang
10:58
klmlfl has quit [Remote host closed the connection]
11:04
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:08
mikecmpbll has quit [Quit: i've nodded off.]
11:12
stamina has joined #ruby-lang
11:20
mikecmpbll has joined #ruby-lang
11:20
unhappy_internet has quit [Ping timeout: 246 seconds]
11:22
ender|dkm has joined #ruby-lang
11:27
ender|dkm has quit [Ping timeout: 255 seconds]
11:30
quimrstorres has joined #ruby-lang
11:31
simi has joined #ruby-lang
11:31
existensil has quit [Ping timeout: 255 seconds]
11:31
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
11:33
ledestin_ has joined #ruby-lang
11:34
tbuehlmann has quit [Remote host closed the connection]
11:34
AKASkip has quit [Read error: Connection reset by peer]
11:34
quimrstorres has quit [Ping timeout: 240 seconds]
11:36
ledestin has quit [Ping timeout: 240 seconds]
11:36
ledestin_ is now known as ledestin
11:36
AKASkip has joined #ruby-lang
11:38
ayonkhan has quit [Quit: (null)]
11:39
ayonkhan has joined #ruby-lang
11:39
tbuehlmann has joined #ruby-lang
11:40
yfeldblum has quit [Ping timeout: 240 seconds]
11:40
ayonkhan has quit [Client Quit]
11:40
ayonkhan has joined #ruby-lang
11:40
ta has quit [Ping timeout: 255 seconds]
11:41
yfeldblum has joined #ruby-lang
11:46
Blaguvest has quit []
11:46
ayonkhan has quit [Read error: Connection reset by peer]
11:49
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
11:50
schaerli has quit [Read error: Connection reset by peer]
11:50
schaerli has joined #ruby-lang
11:52
Blaguvest has joined #ruby-lang
11:54
sandroqz has joined #ruby-lang
11:55
schaerli has quit [Remote host closed the connection]
11:57
MichD is now known as michd
12:05
stamina has quit [Remote host closed the connection]
12:09
bin7me has quit [Remote host closed the connection]
12:11
faces has quit [Ping timeout: 245 seconds]
12:14
Squarepy has joined #ruby-lang
12:15
gianlucadv has joined #ruby-lang
12:16
sandroqz has left #ruby-lang ["Leaving the channel..."]
12:19
oleo__ has quit [Quit: Verlassend]
12:22
ender|dkm has joined #ruby-lang
12:27
ender|dkm has quit [Ping timeout: 255 seconds]
12:31
quimrstorres has joined #ruby-lang
12:32
<
ljarvis >
my students lose their shit when they find out map exists
12:32
<
apeiros >
sounds unhealthy and unhygienic
12:32
<
ljarvis >
opposed to keeping your shit?
12:33
<
ljarvis >
sounds kinda unhealthy too
12:33
* apeiros
pictures a classroom full of students loosing their shit
12:35
Forgetful_Lion has quit [Remote host closed the connection]
12:35
quimrstorres has quit [Ping timeout: 240 seconds]
12:36
oleo has joined #ruby-lang
12:36
yfeldblum has quit [Remote host closed the connection]
12:36
<
Hanmac >
hm yeah its funny that nearly for everything you might do with lists, ruby already has a function for that ;P
12:37
<
ljarvis >
I write a lot of Go too, which is completely the opposite
12:37
yfeldblum has joined #ruby-lang
12:38
<
darix >
Hanmac: that must be because lists are so rarely used in programming and they want to lure you into using them more. something like that.
12:39
yfeldblum has quit [Read error: Connection reset by peer]
12:39
banister has joined #ruby-lang
12:39
havenwood has joined #ruby-lang
12:39
yfeldblum has joined #ruby-lang
12:47
arBmind has joined #ruby-lang
12:49
red_menace has joined #ruby-lang
12:52
klmlfl has joined #ruby-lang
12:53
ruby-lang660 has joined #ruby-lang
12:54
<
ruby-lang660 >
In the irb why does a varible always return false?
12:55
sk_0 has joined #ruby-lang
12:55
<
apeiros >
ruby-lang660: because you assigned false to it?
12:55
michd is now known as MichD
12:56
arBmind has quit [Quit: Leaving.]
12:59
<
ruby-lang660 >
:quit
12:59
<
ruby-lang660 >
Quit:
12:59
ruby-lang660 has left #ruby-lang [#ruby-lang]
13:00
face has joined #ruby-lang
13:07
<
apeiros >
cool, so that answered his question
13:07
<
red_menace >
they should all be that easy...
13:14
chouhoulis has joined #ruby-lang
13:15
klmlfl has quit [Remote host closed the connection]
13:21
ikrima_ has joined #ruby-lang
13:22
ikrima has quit [Read error: Connection reset by peer]
13:22
ender|dkm has joined #ruby-lang
13:22
chorkpop has joined #ruby-lang
13:22
chorkpop has quit [Client Quit]
13:23
klmlfl has joined #ruby-lang
13:24
imperator has quit [Quit: Valete!]
13:26
ender|dkm has quit [Ping timeout: 255 seconds]
13:32
quimrstorres has joined #ruby-lang
13:32
Atttwww has joined #ruby-lang
13:36
quimrstorres has quit [Ping timeout: 260 seconds]
13:41
M3M0CooL has quit []
13:43
SuMo_D has joined #ruby-lang
13:44
quimrstorres has joined #ruby-lang
13:46
simi has quit [Ping timeout: 255 seconds]
13:47
quimrstorres has quit [Client Quit]
13:48
snoopybbt has joined #ruby-lang
13:56
GBrawl has joined #ruby-lang
13:57
chouhoulis has quit [Remote host closed the connection]
14:00
GBrawl has quit [Client Quit]
14:00
SuMo_D has quit [Remote host closed the connection]
14:02
chills42 has joined #ruby-lang
14:04
symm- has quit [Quit: Leaving...]
14:09
chills42 has quit [Remote host closed the connection]
14:10
chills42 has joined #ruby-lang
14:11
symm- has joined #ruby-lang
14:12
Atttwww has quit [Ping timeout: 260 seconds]
14:13
yfeldblum has quit [Remote host closed the connection]
14:14
chills42 has quit [Ping timeout: 246 seconds]
14:14
tbuehlmann has quit [Quit: Leaving]
14:16
mikeyuit has joined #ruby-lang
14:19
fuhgeddaboudit has joined #ruby-lang
14:20
mikeyuit has quit [Remote host closed the connection]
14:22
ender|dkm has joined #ruby-lang
14:24
musty has joined #ruby-lang
14:24
oleo__ has joined #ruby-lang
14:24
oleo is now known as Guest1129
14:27
ender|dkm has quit [Ping timeout: 255 seconds]
14:28
Guest1129 has quit [Ping timeout: 272 seconds]
14:29
Squarepy has quit [Quit: Leaving]
14:30
jxpx777 has joined #ruby-lang
14:31
simi has joined #ruby-lang
14:32
fuhgeddaboudit has quit [Ping timeout: 250 seconds]
14:34
sepp2k has joined #ruby-lang
14:40
oleo__ has quit [Quit: Verlassend]
14:42
oleo__ has joined #ruby-lang
14:42
oleo__ is now known as oleo
14:43
dangerousdave has joined #ruby-lang
14:44
ta has joined #ruby-lang
14:48
gjaldon has joined #ruby-lang
14:49
chouhoulis has joined #ruby-lang
14:49
yatish27 has joined #ruby-lang
14:50
Lewix has joined #ruby-lang
14:53
gix has quit [Quit: Client exiting]
14:56
gjaldon has quit []
14:58
mattyohe has joined #ruby-lang
14:59
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:00
dangerousdave has joined #ruby-lang
15:00
chills42 has joined #ruby-lang
15:00
klmlfl has quit [Remote host closed the connection]
15:02
klmlfl has joined #ruby-lang
15:06
chills42 has quit [Remote host closed the connection]
15:19
hellangel7 has joined #ruby-lang
15:19
hellangel7 has quit [Max SendQ exceeded]
15:22
ender|dkm has joined #ruby-lang
15:24
rippa has joined #ruby-lang
15:27
ender|dkm has quit [Ping timeout: 255 seconds]
15:27
chouhoulis has quit [Remote host closed the connection]
15:30
charliesome has joined #ruby-lang
15:33
shinnya has quit [Ping timeout: 265 seconds]
15:35
danijoo has quit [Read error: Connection reset by peer]
15:36
danijoo_ has joined #ruby-lang
15:38
yfeldblum has joined #ruby-lang
15:42
simi has quit [Ping timeout: 245 seconds]
15:43
gix has joined #ruby-lang
15:43
yfeldblum has quit [Ping timeout: 255 seconds]
15:45
chouhoulis has joined #ruby-lang
15:50
schaerli has joined #ruby-lang
15:52
sepp2k has quit [Read error: Connection reset by peer]
15:52
HelloFred has joined #ruby-lang
15:53
HelloFred has left #ruby-lang [#ruby-lang]
15:54
klmlfl has quit [Remote host closed the connection]
16:02
schaerli has quit [Remote host closed the connection]
16:05
yatish27 has quit [Remote host closed the connection]
16:08
s1kx has joined #ruby-lang
16:11
charliesome has quit [Quit: zzz]
16:14
chouhoulis has quit [Ping timeout: 260 seconds]
16:15
fusillicode1 has joined #ruby-lang
16:16
chishiki has joined #ruby-lang
16:17
fusillicode has quit [Ping timeout: 255 seconds]
16:18
_lexjm has joined #ruby-lang
16:22
ender|dkm has joined #ruby-lang
16:23
tylersmith has joined #ruby-lang
16:25
fusillicode1 has quit [Quit: Leaving.]
16:26
fusillicode has joined #ruby-lang
16:26
ender|dkm has quit [Ping timeout: 255 seconds]
16:28
fusillicode1 has joined #ruby-lang
16:30
fusillicode has quit [Ping timeout: 240 seconds]
16:30
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:34
seank_ has joined #ruby-lang
16:35
simi has joined #ruby-lang
16:40
yatish27 has joined #ruby-lang
16:44
_lexjm has joined #ruby-lang
16:44
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:45
_lexjm has quit [Client Quit]
16:46
sepp2k has joined #ruby-lang
16:47
_lexjm has joined #ruby-lang
16:49
jxpx777 has quit [Quit: Leaving...]
16:54
simi has quit [Ping timeout: 272 seconds]
16:54
nathanstitt has joined #ruby-lang
16:54
klmlfl has joined #ruby-lang
16:57
yatish27 has quit []
16:58
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:59
klmlfl has quit [Read error: Connection reset by peer]
17:00
klmlfl has joined #ruby-lang
17:00
seank__ has joined #ruby-lang
17:00
seank_ has quit [Read error: Connection reset by peer]
17:03
yxhuvud has quit [Remote host closed the connection]
17:03
klmlfl has quit [Remote host closed the connection]
17:04
ender|dkm has joined #ruby-lang
17:04
Lewix has quit [Remote host closed the connection]
17:05
yxhuvud has joined #ruby-lang
17:08
chouhoulis has joined #ruby-lang
17:09
ender|dkm has quit [Ping timeout: 255 seconds]
17:11
schaerli has joined #ruby-lang
17:13
<
Eising >
is there a handy library available to perform mathematical functions such as minimum, maximum and average on an array of numbers?
17:14
schaerli has quit [Remote host closed the connection]
17:14
simi has joined #ruby-lang
17:14
<
ljarvis >
Eising: all that exists in core
17:15
<
ljarvis >
>> [5, 4, 7, 9].min
17:15
MichD is now known as michd
17:15
<
ljarvis >
>> [5, 4, 7, 9].max
17:16
<
ljarvis >
>> x = [1,2,2,3,4,5,9]; x.inject(:+).to_f / x.size
17:16
<
Eising >
ljarvis: so I see. Thanks :)
17:16
tylersmith has quit [Read error: Connection reset by peer]
17:16
musty has left #ruby-lang [#ruby-lang]
17:17
<
ljarvis >
>> [1,2,3].sum
17:17
<
ljarvis >
just checking...
17:17
tylersmith has joined #ruby-lang
17:21
<
Eising >
ljarvis: then I just need to write an average function
17:21
<
Eising >
done that before .)
17:22
ender|dkm has joined #ruby-lang
17:23
chouhoulis has quit [Remote host closed the connection]
17:23
allomov_ has quit [Remote host closed the connection]
17:25
allomov_ has joined #ruby-lang
17:25
nathanstitt has quit [Quit: I growing sleepy]
17:26
yxhuvud has quit [Remote host closed the connection]
17:27
yfeldblum has joined #ruby-lang
17:27
ender|dkm has quit [Ping timeout: 255 seconds]
17:31
yfeldblum has quit [Ping timeout: 250 seconds]
17:35
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:44
jxpx777 has joined #ruby-lang
17:44
Naeblis has joined #ruby-lang
17:54
nathanstitt has joined #ruby-lang
17:57
Miphix has quit [Quit: Leaving]
17:58
nathanstitt has quit [Client Quit]
17:58
banister has joined #ruby-lang
18:03
tylersmith has quit [Read error: Connection reset by peer]
18:05
tylersmith has joined #ruby-lang
18:08
ta has quit [Ping timeout: 255 seconds]
18:10
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:11
ta has joined #ruby-lang
18:15
jonathan_alban has joined #ruby-lang
18:17
seank__ has quit []
18:19
michd is now known as MichD
18:21
seank_ has joined #ruby-lang
18:22
ender|dkm has joined #ruby-lang
18:24
banister has joined #ruby-lang
18:25
CodeBunny has quit [Quit: CodeBunny needs a carrot. Be back later.]
18:27
ender|dkm has quit [Ping timeout: 255 seconds]
18:29
SuMo_D has joined #ruby-lang
18:33
chouhoulis has joined #ruby-lang
18:38
chouhoulis has quit [Ping timeout: 265 seconds]
18:39
mistym has joined #ruby-lang
18:41
tylersmith has quit [Read error: Connection reset by peer]
18:41
symm- has quit [Ping timeout: 240 seconds]
18:47
SuMo_D has quit [Remote host closed the connection]
18:47
SuMo_D has joined #ruby-lang
18:49
bantic has joined #ruby-lang
18:50
bantic has quit [Client Quit]
18:50
bantic has joined #ruby-lang
18:51
SuMo_D has quit [Ping timeout: 246 seconds]
18:51
SuMo_D_ has joined #ruby-lang
18:52
tylersmith has joined #ruby-lang
18:54
marr has joined #ruby-lang
18:57
apt-get_ has joined #ruby-lang
18:57
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:57
dan_ has joined #ruby-lang
18:57
dan_ is now known as Guest77730
18:58
Guest77730 has quit [Client Quit]
18:58
ddd has quit [*.net *.split]
19:00
banister has joined #ruby-lang
19:00
sarkyniin has quit [Ping timeout: 240 seconds]
19:00
tylersmith has quit [Read error: Connection reset by peer]
19:01
tylersmith has joined #ruby-lang
19:01
gix has quit [Ping timeout: 260 seconds]
19:01
nfsnobody has quit [*.net *.split]
19:01
nfsnobody has joined #ruby-lang
19:01
nfsnobody has quit [Changing host]
19:01
nfsnobody has joined #ruby-lang
19:06
gix has joined #ruby-lang
19:15
ta has quit [Ping timeout: 260 seconds]
19:15
yfeldblum has joined #ruby-lang
19:16
dangerousdave has joined #ruby-lang
19:18
apt-get_ has quit [Ping timeout: 255 seconds]
19:20
yfeldblum has quit [Ping timeout: 272 seconds]
19:22
ender|dkm has joined #ruby-lang
19:24
yfeldblum has joined #ruby-lang
19:26
matp has joined #ruby-lang
19:26
ender|dkm has quit [Ping timeout: 255 seconds]
19:31
cleopatra has joined #ruby-lang
19:34
nathanstitt has joined #ruby-lang
19:43
sMecKs has joined #ruby-lang
19:49
Guest_ has joined #ruby-lang
19:52
banister is now known as banisterfiend
19:55
conquerio has joined #ruby-lang
20:00
nathanstitt has quit [Quit: I growing sleepy]
20:01
NoNMaDDeN has joined #ruby-lang
20:02
nathanstitt has joined #ruby-lang
20:04
klmlfl has joined #ruby-lang
20:09
klmlfl has quit [Ping timeout: 250 seconds]
20:13
floyd2 has quit [Ping timeout: 240 seconds]
20:14
lianj has quit [Ping timeout: 265 seconds]
20:14
sandroqz has joined #ruby-lang
20:15
sMecKs_ has joined #ruby-lang
20:15
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:16
sandroqz has left #ruby-lang [#ruby-lang]
20:16
tekacs has joined #ruby-lang
20:17
<
tekacs >
... question about a Ruby C extension...
20:17
<
tekacs >
rb_thread_wait_fd(fd) in C is a no-op if there exists only a main thread
20:17
<
tekacs >
if there's multiple threads, it selects on the fd and
_may_ trigger the thread upon select's return
20:17
<
tekacs >
with just a main thread, a C library using just wait_fd takes 100% CPU
20:17
<
tekacs >
... but I can't seem to convince the scheduler to
_ever_ trigger the original thread if I add an extra one
20:20
schaerli has joined #ruby-lang
20:21
havenwood has quit [Remote host closed the connection]
20:21
schaerli has quit [Remote host closed the connection]
20:22
havenwood has joined #ruby-lang
20:22
ender|dkm has joined #ruby-lang
20:23
schaerli has joined #ruby-lang
20:23
bantic has quit [Quit: bantic]
20:26
apt-get_ has joined #ruby-lang
20:27
ender|dkm has quit [Ping timeout: 255 seconds]
20:27
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:30
relix has joined #ruby-lang
20:30
M3M0CooL has joined #ruby-lang
20:41
SuMo_D_ has quit [Remote host closed the connection]
20:43
yfeldblum has quit [Ping timeout: 245 seconds]
20:44
matp has quit [Ping timeout: 255 seconds]
20:47
schaerli has quit [Remote host closed the connection]
20:48
lianj has joined #ruby-lang
20:49
spastorino has joined #ruby-lang
20:49
schaerli has joined #ruby-lang
20:51
SuMo_D has joined #ruby-lang
20:54
ashleyg has joined #ruby-lang
20:54
pastuxso has joined #ruby-lang
20:54
kyb3r_ has joined #ruby-lang
20:55
ashleyg has quit [Client Quit]
21:01
d4rksung has joined #ruby-lang
21:02
Asher has quit [Quit: Leaving.]
21:03
schaerli has quit [Remote host closed the connection]
21:05
Guest_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:07
Guest_ has joined #ruby-lang
21:08
gianlucadv has quit [Ping timeout: 240 seconds]
21:09
yxhuvud has joined #ruby-lang
21:10
matp has joined #ruby-lang
21:13
symm- has joined #ruby-lang
21:13
hackeron has quit [Ping timeout: 258 seconds]
21:14
hackeron has joined #ruby-lang
21:14
sMecKs has quit [Read error: Connection reset by peer]
21:14
sMecKs_ has quit [Read error: Connection reset by peer]
21:19
rahul_j has joined #ruby-lang
21:22
ender|dkm has joined #ruby-lang
21:24
malconis has joined #ruby-lang
21:24
_ht has quit [Remote host closed the connection]
21:25
rahul_j has quit [Ping timeout: 272 seconds]
21:27
ender|dkm has quit [Ping timeout: 255 seconds]
21:28
yfeldblum has joined #ruby-lang
21:31
ta has joined #ruby-lang
21:32
Lewix has joined #ruby-lang
21:35
cornerma1 has joined #ruby-lang
21:36
torrieri has joined #ruby-lang
21:38
cornerman has quit [Ping timeout: 250 seconds]
21:38
cornerma1 is now known as cornerman
21:38
lsegal has joined #ruby-lang
21:40
torrieri_ has joined #ruby-lang
21:41
<
yorickpeterse >
ljarvis: for sum, there's this:
21:41
<
yorickpeterse >
>> [10, 20, 30].inject(:+)
21:42
chouhoulis has joined #ruby-lang
21:42
torrieri has quit [Ping timeout: 250 seconds]
21:42
snoopybbt has quit [Quit: leaving]
21:42
<
Hanmac >
yorickpeterse: look at the default value for inject
21:49
SuMo_D has quit [Remote host closed the connection]
21:51
<
yorickpeterse >
Hanmac: ?
21:52
existensil has joined #ruby-lang
21:52
<
Hanmac >
yorickpeterse: if the array is empty yours will return nil, but if you do that it has a default value:
21:52
<
Hanmac >
>> [].inject(0,:+)
21:53
matp has quit [Remote host closed the connection]
21:54
matp has joined #ruby-lang
21:55
<
yorickpeterse >
oh right
21:56
torrieri has joined #ruby-lang
21:56
torrieri_ has quit [Ping timeout: 245 seconds]
21:56
SuMo_D has joined #ruby-lang
21:57
chouhoulis has quit [Ping timeout: 244 seconds]
21:59
<
yxhuvud >
hanmac: it is not so much a default value but a starting point for the accumulation:
21:59
<
yxhuvud >
>> [1,2,3].inject(10, :+)
21:59
postmodern has joined #ruby-lang
21:59
<
Hanmac >
hm yeah starting point is a better name for that
22:02
Guest_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:04
ender|dkm has joined #ruby-lang
22:06
conquerio has quit []
22:07
Lewix has quit [Remote host closed the connection]
22:09
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
22:12
yfeldblum has quit [Ping timeout: 260 seconds]
22:15
elia has joined #ruby-lang
22:16
mattyohe has quit [Quit: Connection closed for inactivity]
22:21
bantic has joined #ruby-lang
22:23
Lewix has joined #ruby-lang
22:23
cleopatra has quit [Ping timeout: 255 seconds]
22:25
elia has quit [Quit: Computer has gone to sleep.]
22:27
elia has joined #ruby-lang
22:29
hackeron has quit [Ping timeout: 260 seconds]
22:29
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:34
_dabradley has quit [Ping timeout: 260 seconds]
22:34
justinmburrous has joined #ruby-lang
22:35
hackeron has joined #ruby-lang
22:37
ender|dkm has quit [Ping timeout: 255 seconds]
22:42
nathanstitt has quit [Quit: I growing sleepy]
22:42
mstercx has joined #ruby-lang
22:43
ikrima_ has quit [Ping timeout: 265 seconds]
22:43
SuMo_D has quit [Remote host closed the connection]
22:43
elia has quit [Quit: Computer has gone to sleep.]
22:43
<
mstercx >
how to search a pussy in lines of code google
22:44
<
yorickpeterse >
what the fuck
22:45
elia has joined #ruby-lang
22:46
<
mstercx >
how to create a kernel routine to a machine mastubating my dick at 60 hertz
22:47
<
yorickpeterse >
apeiros: ^
22:48
<
mstercx >
apeiros make this job?
22:48
mstercx was kicked from #ruby-lang by apeiros [let me show you the way out, good bye]
22:48
justinmburrous has quit []
22:49
<
apeiros >
thanks for pinging
22:49
<
apeiros >
sounded a bit like a markov bot
22:49
<
yorickpeterse >
probably just a drunken teen
22:50
<
apeiros >
I've seen to many drunken adults :-/
22:50
<
yorickpeterse >
almost like that's a usual thing
22:53
MichD is now known as michd
22:54
jgpawletko_ has joined #ruby-lang
22:54
jgpawletko has quit [Ping timeout: 258 seconds]
22:55
jgpawletko_ is now known as jgpawletko
22:55
_dabradley has joined #ruby-lang
22:58
SuMo_D has joined #ruby-lang
22:58
yfeldblum has joined #ruby-lang
23:03
emmesswhy has joined #ruby-lang
23:03
elia has quit [Quit: Computer has gone to sleep.]
23:04
ender|dkm has joined #ruby-lang
23:04
shinnya has joined #ruby-lang
23:08
d4rksung has quit [Ping timeout: 265 seconds]
23:10
ender|dkm has quit [Ping timeout: 255 seconds]
23:10
nathanstitt has joined #ruby-lang
23:10
SuMo_D has quit [Remote host closed the connection]
23:13
mistym has quit [Remote host closed the connection]
23:14
elia has joined #ruby-lang
23:15
elia has quit [Client Quit]
23:15
M3M0CooL has quit []
23:15
chouhoulis has joined #ruby-lang
23:17
rahul_j has joined #ruby-lang
23:21
chishiki has left #ruby-lang ["WeeChat 1.0.1"]
23:21
Forgetful_Lion has joined #ruby-lang
23:22
rahul_j has quit [Ping timeout: 260 seconds]
23:23
torrieri has quit [Quit: Leaving...]
23:23
chouhoulis has quit [Remote host closed the connection]
23:25
apt-get_ has quit [Read error: Connection reset by peer]
23:25
ruby-lang439 has joined #ruby-lang
23:26
<
ruby-lang439 >
Hello?
23:26
<
havenwood >
ruby-lang439: hi
23:26
<
ruby-lang439 >
I have never used irc before. However, I have some totally nooby Ruby code that's not working if someone is bored enough to help.
23:28
NoNMaDDeN has quit [Remote host closed the connection]
23:29
<
jhass >
ruby-lang439: you won't find anybody without posting it (to gist)
23:29
<
havenwood >
ruby-lang439: Just paste a link to a Gist of the code here in the channel. :)
23:31
nathanstitt has quit [Quit: I growing sleepy]
23:31
<
apeiros >
gist: gist.github.com
23:32
M3M0CooL has joined #ruby-lang
23:35
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:36
<
ruby-lang439 >
tldr, it's for Project Euler problem 1. I get the wrong result with the code.
23:37
xenogis has quit [Ping timeout: 272 seconds]
23:38
ikrima has joined #ruby-lang
23:40
<
havenwood >
ruby-lang439: here's a hint: 15
23:41
zenojis has joined #ruby-lang
23:41
<
ruby-lang439 >
Oh, 15 is counted twice?
23:41
<
ruby-lang439 >
Because they're both multiples of it?
23:41
<
ruby-lang439 >
And by that logic, 30, 45, etc?
23:42
chouhoulis has joined #ruby-lang
23:42
torrieri has joined #ruby-lang
23:46
<
oddmunds >
ruby-lang439: you might want to make your method check for "is this a multiple of 3 and/or 5" and then add it to the result
23:48
zenojis has quit [Ping timeout: 260 seconds]
23:50
chouhoulis has quit [Remote host closed the connection]
23:50
nathanstitt has joined #ruby-lang
23:52
banister has joined #ruby-lang
23:52
ender|dkm has joined #ruby-lang
23:53
mistym has joined #ruby-lang
23:54
nathanstitt has quit [Client Quit]
23:56
yfeldblum has quit [Remote host closed the connection]
23:56
yfeldblum has joined #ruby-lang
23:56
ender|dkm has quit [Ping timeout: 255 seconds]
23:57
nathanstitt has joined #ruby-lang
23:57
zenojis has joined #ruby-lang