00:00
stamina has quit [Ping timeout: 248 seconds]
00:00
Wardrop has joined #ruby-lang
00:01
chana has quit [Quit: chana]
00:01
<
Wardrop >
Does anyone know what the best or most accepted method is for documenting methods defined at runtime, using RDoc?
00:02
<
Wardrop >
…or even YARD if RDoc provides no such facility.
00:02
<
drbrain >
Wardrop: what do you mean by "best or most accepted"
00:02
<
drbrain >
like "is there some best-practice"?
00:03
<
drbrain >
otherwise, write simple English
00:03
krohrbaugh has quit [Quit: Leaving.]
00:04
<
Wardrop >
drbrain: "best or most accepted" meaning, what do most people do?
00:04
dingus_khan has joined #ruby-lang
00:04
__butch__ has quit [Quit: Leaving.]
00:05
<
drbrain >
most people write simple English with a goal of being readable by English as a Second Language (ESL) people
00:05
tonni has joined #ruby-lang
00:05
<
drbrain >
mention your arguments and your return value, and describe usage examples in the class constant
00:05
<
drbrain >
let's see…
00:08
<
drbrain >
this is for ruby, so there's some extra rules you can ignore (like documenting private methods)
00:09
fosky has quit [Remote host closed the connection]
00:09
zachlatta has joined #ruby-lang
00:10
<
zachlatta >
How can I add a runtime dependency in my Gemfile?
00:10
<
zachlatta >
Or is that only done in the gemspec?
00:10
<
Wardrop >
drbrain: So to clarify, I'm wondering how to document metaprogrammed methods, not how to document methods in general.
00:10
<
drbrain >
Wardrop: yep, see link ↑
00:10
randomlogin has joined #ruby-lang
00:11
<
Wardrop >
Cool, that seems to be what I'm looking for
00:12
NemesisD has quit [Quit: leaving]
00:12
krohrbaugh has joined #ruby-lang
00:13
djwonk has quit [Quit: djwonk]
00:13
chorkpop has joined #ruby-lang
00:16
krohrbaugh has quit [Read error: Connection reset by peer]
00:16
krohrbaugh has joined #ruby-lang
00:17
thone_ has joined #ruby-lang
00:20
fosky has joined #ruby-lang
00:20
thone has quit [Ping timeout: 260 seconds]
00:26
mootpointer has joined #ruby-lang
00:28
tomzx_mac has joined #ruby-lang
00:28
krohrbaugh has quit [Quit: Leaving.]
00:28
dhoss has joined #ruby-lang
00:29
pskosinski has quit [Quit: pskosinski]
00:29
hogeo has joined #ruby-lang
00:30
marr has quit [Ping timeout: 248 seconds]
00:31
krohrbaugh has joined #ruby-lang
00:32
mdedetrich has quit [Quit: Computer has gone to sleep.]
00:34
cofin has joined #ruby-lang
00:34
dingus_khan has quit [Remote host closed the connection]
00:36
dhoss has quit [Read error: Connection reset by peer]
00:37
dhoss has joined #ruby-lang
00:38
Gaelan_ has quit [Ping timeout: 252 seconds]
00:40
nazty has quit [Read error: Connection reset by peer]
00:41
arubin has joined #ruby-lang
00:41
mootpointer has quit [Quit: Computer has gone to sleep.]
00:42
Wardrop has quit [Quit: Wardrop]
00:42
GeissT has joined #ruby-lang
00:43
crudson has left #ruby-lang [#ruby-lang]
00:43
fedesilva has quit [Remote host closed the connection]
00:43
chorkpop has left #ruby-lang ["Leaving"]
00:44
tomzx has quit [Disconnected by services]
00:46
mdedetrich has joined #ruby-lang
00:47
<
zachlatta >
Is true or false default for success in ruby?
00:47
brianpWins has joined #ruby-lang
00:47
<
zachlatta >
not sure what to return on method successs
00:49
<
lianj >
an object or true
00:49
<
zachlatta >
and false on failure?
00:49
<
lianj >
yes, or nil
00:50
dhoss has quit [Quit: leaving]
00:50
<
zachlatta >
what's the default return of methods?
00:51
<
rickhull >
the last statement evaluated
00:51
dhoss has joined #ruby-lang
00:51
krombr has joined #ruby-lang
00:53
<
zachlatta >
whoops, nevermind. think i got it sorted out
00:53
<
rickhull >
an if condition which is false (not executed)
00:53
<
rickhull >
returns nil
00:53
<
zachlatta >
alright, thank
00:53
<
zachlatta >
*thanks
00:53
<
rickhull >
i would change line 2 to simply:
00:53
<
rickhull >
template_hash["message"] == "Not Found"
00:53
mootpointer has joined #ruby-lang
00:53
<
rickhull >
that expression will either be true or false
00:54
havenwood has quit [Read error: Connection reset by peer]
00:54
<
zachlatta >
i'm assuming i can simplify that to !template_hash["message"] == "Not Found" ?
00:54
havenwood has joined #ruby-lang
00:54
<
drbrain >
template_hash["message"] != "Not Found"
00:54
stonerfish has joined #ruby-lang
00:55
<
zachlatta >
i'm not coding well today
00:55
<
drbrain >
one method call faster!
00:55
<
drbrain >
and one token shorter!
00:55
<
zachlatta >
thanks everyone
00:56
crudson has joined #ruby-lang
00:56
bryanl has quit [Ping timeout: 256 seconds]
00:57
stonerfish has quit [Client Quit]
00:57
Wardrop has joined #ruby-lang
00:58
Cakey has joined #ruby-lang
00:58
krohrbaugh has quit [Quit: Leaving.]
00:58
<
Wardrop >
drbrain: Using the :method: syntax mentioned in the link you sent me, how do I document arguments. It seems to be break on the space character?
00:59
<
drbrain >
Wardrop: you can use :call-seq: or (I think, but it is not documented) :arguments:
00:59
nathanstitt has joined #ruby-lang
01:00
havenwood has quit [Remote host closed the connection]
01:01
krohrbaugh has joined #ruby-lang
01:08
dhruvasagar has joined #ruby-lang
01:11
<
mdedetrich >
and I keep on getting invalid argument errors, has something changed with Ruby 2.0
01:11
<
mdedetrich >
so this doesn't work?
01:13
lsegal has joined #ruby-lang
01:15
cored has quit [Ping timeout: 264 seconds]
01:15
mdedetrich has quit [Ping timeout: 252 seconds]
01:16
io_syl has quit [Quit: Computer has gone to sleep.]
01:16
cored has joined #ruby-lang
01:16
cored has quit [Changing host]
01:16
cored has joined #ruby-lang
01:17
mucker has quit [Quit: leaving]
01:17
krohrbaugh has quit [Quit: Leaving.]
01:19
jeremydurham has joined #ruby-lang
01:22
awea has quit [Remote host closed the connection]
01:22
ldnunes has quit [Quit: Saindo]
01:24
cordax has joined #ruby-lang
01:24
Wardrop has quit [Quit: Wardrop]
01:25
mdedetrich has joined #ruby-lang
01:27
io_syl has joined #ruby-lang
01:28
chana has joined #ruby-lang
01:31
teleological has joined #ruby-lang
01:32
GeissT_ has joined #ruby-lang
01:33
namesake has quit [Ping timeout: 250 seconds]
01:33
jeremydurham has quit [Quit: jeremydurham]
01:33
justinmburrous has quit [Read error: Connection reset by peer]
01:34
GeissT has quit [Ping timeout: 256 seconds]
01:35
dankest has quit [Quit: Leaving...]
01:37
GeissT_ has quit [Quit: MillBroChat AdIRC User]
01:38
Domon has joined #ruby-lang
01:40
Wardrop has joined #ruby-lang
01:40
robbyoconnor has quit [Ping timeout: 240 seconds]
01:42
io_syl has quit [Quit: Computer has gone to sleep.]
01:42
havenwood has joined #ruby-lang
01:43
mdedetri_ has joined #ruby-lang
01:43
mdedetri_ has quit [Client Quit]
01:44
mdedetrich has quit [Ping timeout: 248 seconds]
01:51
Wardrop has quit [Quit: Wardrop]
01:53
mdedetrich has joined #ruby-lang
01:54
chana has quit [Read error: Connection reset by peer]
01:59
kgrz has joined #ruby-lang
02:04
GeissT has joined #ruby-lang
02:05
sodalitumpianum has joined #ruby-lang
02:06
machuga|away is now known as machuga
02:08
dhruvasagar has quit [Ping timeout: 260 seconds]
02:11
megha has joined #ruby-lang
02:12
dankest has joined #ruby-lang
02:12
cordax has quit [Ping timeout: 252 seconds]
02:13
nathanstitt has quit [Quit: I growing sleepy]
02:13
dankest has quit [Client Quit]
02:13
krohrbaugh has joined #ruby-lang
02:13
guns has joined #ruby-lang
02:15
tonni has quit [Read error: Connection reset by peer]
02:15
krohrbaugh has quit [Client Quit]
02:15
tonni has joined #ruby-lang
02:16
teleological has quit [Remote host closed the connection]
02:17
tonni has quit [Read error: Connection reset by peer]
02:17
tonni has joined #ruby-lang
02:19
tonni has quit [Read error: Connection reset by peer]
02:20
tonni has joined #ruby-lang
02:21
nathanstitt has joined #ruby-lang
02:21
pr0ton has quit [Quit: pr0ton]
02:25
Nisstyre has joined #ruby-lang
02:26
vlad_starkov has joined #ruby-lang
02:28
kgrz has quit [Ping timeout: 264 seconds]
02:32
vlad_starkov has quit [Ping timeout: 264 seconds]
02:32
mootpointer has quit [Quit: Computer has gone to sleep.]
02:36
teleological has joined #ruby-lang
02:37
Wardrop has joined #ruby-lang
02:39
[[thufir]] has joined #ruby-lang
02:43
mootpointer has joined #ruby-lang
02:45
krohrbaugh has joined #ruby-lang
02:48
machuga is now known as machuga|away
02:50
nazty has joined #ruby-lang
02:54
krohrbaugh has quit [Ping timeout: 252 seconds]
02:55
megha has quit [Ping timeout: 240 seconds]
03:00
cordax has joined #ruby-lang
03:02
<
Wardrop >
Any good free website monitoring services that anyone knows of? I'd be nice to have something that emailed me when one of my websites went down. Something that checks every 5 minutes or so.
03:03
<
Wardrop >
I know there are a lot of free monitoring services out there, but a lot of the free one's are really convoluted and only usually check once every half hour at the most
03:05
<
zzak >
unless you roll your own, its gonna be hard to find a good free monitoring service
03:05
cordax has quit [Quit: Computer has gone to sleep.]
03:05
<
zzak >
there are plenty of reasonably priced services
03:05
<
zzak >
like newrelic for instance
03:07
Gaelan has joined #ruby-lang
03:07
<
drbrain >
new relic will tell you you have errors even in the free tier
03:09
<
zzak >
they have a free tier?
03:10
rhodee_ has joined #ruby-lang
03:10
<
drbrain >
it shows you basics
03:11
<
zzak >
drbrain: do you think rubykaigi wifi will be reliable enough for keynote remote?
03:11
<
zzak >
i found out bluetooth is only ios -> ios for keynote
03:12
<
drbrain >
no idea, but you can create a network on your laptop
03:12
<
zzak >
oh! hadnt thought of that, good idea
03:13
<
zzak >
that will be perfect as i only need it for remote
03:13
Sm3lly has joined #ruby-lang
03:15
TheNotary has joined #ruby-lang
03:27
vlad_starkov has joined #ruby-lang
03:32
vlad_starkov has quit [Ping timeout: 252 seconds]
03:34
zachlatta has quit [Remote host closed the connection]
03:37
TheNotary has quit [Ping timeout: 248 seconds]
03:39
chris2 has quit [Remote host closed the connection]
03:42
rippa has joined #ruby-lang
03:46
dhruvasagar has joined #ruby-lang
03:48
Gaelan has quit [Remote host closed the connection]
03:48
Gaelan has joined #ruby-lang
03:49
tenderlove has joined #ruby-lang
03:49
tenderlove has quit [Remote host closed the connection]
03:49
TheNotary has joined #ruby-lang
03:50
tenderlove has joined #ruby-lang
03:50
nathanstitt has quit [Quit: I growing sleepy]
03:50
guns has quit [Quit: guns]
03:57
dingus_khan has joined #ruby-lang
04:00
rhodee_ has quit [Quit: leaving]
04:02
Sm3lly has quit [Ping timeout: 260 seconds]
04:05
sush24 has joined #ruby-lang
04:11
<
Wardrop >
drbrain: New relic seems nice, but I'm after something simpler with zero setup. I just want to say "Monitor this URL and tell me if something happens"
04:12
<
drbrain >
I've never used pingdom
04:13
dingus_khan has quit [Remote host closed the connection]
04:13
<
Wardrop >
drbrain: Not free unfortunately. Not paying $10/m for a dumb website checker which is all I need.
04:13
<
Wardrop >
drbrain: I'm compelled to create my own service as I can't be the only one after something like this. If you keep it dumb and light, a low cost
04:13
<
Wardrop >
…a low cost virtual server should be able to monitor thousands of websites
04:13
<
lianj >
prolly even a heroku instance
04:14
<
Wardrop >
lianj: Yeah, exactly. If you're not downloading images, bandwidth requirements would also be low.
04:16
kgrz has joined #ruby-lang
04:16
<
Wardrop >
If I was feeling really ambitious, I could create a distributed system, where anyone could bring up their own agent.
04:18
wallerdev has quit [Quit: wallerdev]
04:20
kgrz has quit [Ping timeout: 248 seconds]
04:21
krombr has quit [Remote host closed the connection]
04:25
cofin has quit [Quit: cofin]
04:27
vlad_starkov has joined #ruby-lang
04:28
dingus_khan has joined #ruby-lang
04:29
sush24 has quit [Quit: This computer has gone to sleep]
04:32
vlad_starkov has quit [Ping timeout: 240 seconds]
04:32
dankest has joined #ruby-lang
04:33
TheNotary has quit [Read error: Operation timed out]
04:34
kgrz has joined #ruby-lang
04:36
sush24 has joined #ruby-lang
04:36
chris2 has joined #ruby-lang
04:36
mucker has joined #ruby-lang
04:37
poga has joined #ruby-lang
04:40
mootpointer has quit [Quit: Computer has gone to sleep.]
04:48
mistym has quit [Remote host closed the connection]
04:49
dingus_khan has quit [Remote host closed the connection]
04:49
tdy has quit [Read error: Connection reset by peer]
04:50
tdy has joined #ruby-lang
04:51
krohrbaugh has joined #ruby-lang
04:54
GeissT has quit [Quit: AdiIRC is updating to v1.9.1 Beta Build (220513-1) 32 Bit]
04:54
GeissT has joined #ruby-lang
04:55
krohrbaugh has quit [Ping timeout: 252 seconds]
04:57
ebouchut has joined #ruby-lang
04:58
dingus_khan has joined #ruby-lang
05:00
TheNotary has joined #ruby-lang
05:03
mootpointer has joined #ruby-lang
05:07
apeiros has joined #ruby-lang
05:10
Gaelan has quit [Ping timeout: 240 seconds]
05:12
Gaelan has joined #ruby-lang
05:13
ebouchut has quit [Quit: This computer has gone to sleep]
05:16
dhruvasagar has quit [Ping timeout: 252 seconds]
05:21
TheNotary has quit [Ping timeout: 260 seconds]
05:21
krz has joined #ruby-lang
05:22
bugg has joined #ruby-lang
05:24
symm- has joined #ruby-lang
05:26
tomzx_mac has quit [Ping timeout: 252 seconds]
05:26
dingus_khan has quit [Remote host closed the connection]
05:27
voker57 has quit [Read error: Connection reset by peer]
05:27
saarinen has joined #ruby-lang
05:27
robbyoconnor has joined #ruby-lang
05:27
vlad_starkov has joined #ruby-lang
05:28
Gaelan has quit [Ping timeout: 260 seconds]
05:30
r0bby has joined #ruby-lang
05:30
zommi has joined #ruby-lang
05:32
vlad_starkov has quit [Ping timeout: 252 seconds]
05:33
robbyoconnor has quit [Ping timeout: 248 seconds]
05:35
<
erikh >
zzak, hahaha
05:36
Gaelan_ has joined #ruby-lang
05:36
nertzy has quit [Ping timeout: 276 seconds]
05:40
NemesisD has joined #ruby-lang
05:40
<
NemesisD >
anyone ever used minitest::spec with rr?
05:41
saarinen has quit [Quit: saarinen]
05:43
sush24 has quit [Quit: This computer has gone to sleep]
05:46
teleological has quit [Remote host closed the connection]
05:48
Averna has quit [Quit: Leaving.]
05:49
tonni_ has joined #ruby-lang
05:49
tonni has quit [Read error: Connection reset by peer]
05:49
dc5ala has joined #ruby-lang
05:50
rolfb has joined #ruby-lang
05:55
hashkey has quit []
05:56
newbie0086 has joined #ruby-lang
05:57
NemesisD has quit [Ping timeout: 248 seconds]
05:57
apeiros has quit [Remote host closed the connection]
05:59
rikai_ is now known as rikai
06:01
mucker has quit [Ping timeout: 248 seconds]
06:02
dingus_khan has joined #ruby-lang
06:03
tonni_ has quit [Remote host closed the connection]
06:03
Gaelan has joined #ruby-lang
06:04
mistym has joined #ruby-lang
06:04
mistym has quit [Changing host]
06:04
mistym has joined #ruby-lang
06:05
Gaelan_ has quit [Ping timeout: 248 seconds]
06:07
symm- has quit [Ping timeout: 264 seconds]
06:07
fsvehla has joined #ruby-lang
06:10
Gaelan_ has joined #ruby-lang
06:12
Gaelan has quit [Ping timeout: 248 seconds]
06:13
<
newbie0086 >
has some one form china?
06:13
sush24 has joined #ruby-lang
06:14
newbie0086 has quit [Quit: 离开]
06:17
newbie0086 has joined #ruby-lang
06:18
<
newbie0086 >
morning
06:19
<
drbrain >
Newbie0086: not that I know of
06:20
<
newbie0086 >
just test ,my irc client has some Problem
06:21
<
newbie0086 >
can not see the whole line
06:22
benlovell has joined #ruby-lang
06:27
apeiros has joined #ruby-lang
06:27
mistym has quit [Remote host closed the connection]
06:28
vlad_starkov has joined #ruby-lang
06:32
whitemage has joined #ruby-lang
06:32
vlad_starkov has quit [Ping timeout: 241 seconds]
06:34
newbie0086 has quit [Quit: 离开]
06:50
newbie0086 has joined #ruby-lang
06:52
krohrbaugh has joined #ruby-lang
06:56
krohrbaugh has quit [Ping timeout: 252 seconds]
06:57
dingus_khan has quit [Remote host closed the connection]
06:58
Wardrop has quit [Quit: Wardrop]
06:58
JohnBat26 has joined #ruby-lang
06:59
JohnBat26 has quit [Client Quit]
07:00
newbie0086 is now known as niaobulashidawan
07:01
barttenbrinke has joined #ruby-lang
07:01
barttenbrinke has quit [Remote host closed the connection]
07:01
barttenbrinke has joined #ruby-lang
07:02
thebastl has joined #ruby-lang
07:05
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
07:09
henrikhodne has joined #ruby-lang
07:09
JohnBat26 has joined #ruby-lang
07:09
<
niaobulashidawan >
hello i am comming
07:10
<
niaobulashidawan >
nice to meet u
07:10
<
niaobulashidawan >
fine thanks
07:12
henrikho_ has joined #ruby-lang
07:14
niaobulashidawan has quit [Quit: 离开]
07:14
henrikhodne has quit [Ping timeout: 256 seconds]
07:15
poga has quit [Read error: Connection reset by peer]
07:16
Newbie0086 has joined #ruby-lang
07:21
sush24 has quit [Quit: This computer has gone to sleep]
07:22
dingus_khan has joined #ruby-lang
07:23
dhruvasagar has joined #ruby-lang
07:23
sush24 has joined #ruby-lang
07:23
<
Newbie0086 >
anybody here?
07:23
<
Newbie0086 >
i want to ask a questione
07:23
workmad3 has joined #ruby-lang
07:24
<
Newbie0086 >
anybody here can reply?
07:24
<
erikh >
you just asked one though
07:24
<
erikh >
you only get one
07:24
<
erikh >
seriously though, you should just ask your question
07:25
<
Newbie0086 >
ok tks just a test ^_^
07:26
<
erikh >
what is your question?
07:26
<
erikh >
I know you're looking for someone who can speak chinese, but try in english and I will try to respond.
07:26
ruurd has joined #ruby-lang
07:27
sush24 has quit [Client Quit]
07:28
<
Newbie0086 >
aha yesterday i got the book about ruby , now begin
07:28
vlad_starkov has joined #ruby-lang
07:31
poga has joined #ruby-lang
07:32
mbj has joined #ruby-lang
07:32
vlad_starkov has quit [Ping timeout: 248 seconds]
07:33
tenderlove has quit [Remote host closed the connection]
07:33
tenderlove has joined #ruby-lang
07:35
tenderlove has quit [Remote host closed the connection]
07:36
tenderlove has joined #ruby-lang
07:36
rippa has quit [Ping timeout: 240 seconds]
07:38
swav has quit [Remote host closed the connection]
07:39
judofyr has joined #ruby-lang
07:41
<
Newbie0086 >
i know my poor English but i try hard
07:44
<
erikh >
it's ok -- just try to ask your question, I'll try to figure it out :)
07:47
marr has joined #ruby-lang
07:49
whitemage has quit [Quit: Leaving...]
07:49
nertzy has joined #ruby-lang
07:51
solars has joined #ruby-lang
07:51
Criztian has joined #ruby-lang
07:52
krohrbaugh has joined #ruby-lang
07:56
poga has quit [Read error: Connection reset by peer]
07:56
krohrbaugh has quit [Ping timeout: 248 seconds]
07:57
poga has joined #ruby-lang
07:57
hashkey has joined #ruby-lang
07:57
poga_ has joined #ruby-lang
08:00
henrikhodne has joined #ruby-lang
08:01
poga has quit [Ping timeout: 248 seconds]
08:02
henrikho_ has quit [Ping timeout: 248 seconds]
08:08
charliesome has joined #ruby-lang
08:10
stamina has joined #ruby-lang
08:11
[[thufir]] has quit [Remote host closed the connection]
08:19
madb055 has quit [Ping timeout: 248 seconds]
08:20
madb055 has joined #ruby-lang
08:23
gnufied has joined #ruby-lang
08:24
dingus_khan has quit [Remote host closed the connection]
08:25
Newbie0086 has quit [Ping timeout: 240 seconds]
08:25
mbj has quit [Read error: Operation timed out]
08:26
Newbie0086 has joined #ruby-lang
08:26
swav has joined #ruby-lang
08:28
vlad_starkov has joined #ruby-lang
08:29
LinkedoT has quit [Ping timeout: 276 seconds]
08:30
LinkedoT has joined #ruby-lang
08:30
S1kx has joined #ruby-lang
08:30
S1kx has joined #ruby-lang
08:32
<
yorickpeterse >
morning
08:32
vmatiyko has joined #ruby-lang
08:33
vlad_starkov has quit [Ping timeout: 240 seconds]
08:38
benchung has joined #ruby-lang
08:39
bugg is now known as
_KGBot_
08:39
thone has joined #ruby-lang
08:39
mootpointer has quit [Quit: Computer has gone to sleep.]
08:43
thone_ has quit [Ping timeout: 248 seconds]
08:47
adambeynon has joined #ruby-lang
08:48
gnufied has quit [Quit: Leaving.]
08:50
whitemage has joined #ruby-lang
08:50
<
andrewvos >
charliesome: Your last tweet literally made me LOL
08:51
elia has joined #ruby-lang
08:51
poga_ has quit [Remote host closed the connection]
08:51
<
erikh >
ttps://gist.github.com/5642179
08:51
<
erikh >
debugging fun problems @ work
08:52
<
erikh >
I know 2.0 changed thread locals, can anyone verify that's portable?
08:52
<
erikh >
not quite sure
*how* they changed though
08:52
<
erikh >
it seems portable, but I'd rather not deliver shit code
08:53
krohrbaugh has joined #ruby-lang
08:53
<
erikh >
especially because hte person in question is a junior
08:53
madb055 has quit [Ping timeout: 260 seconds]
08:53
madb055 has joined #ruby-lang
08:53
<
andrewvos >
Huge earthquake off Russia
08:55
<
charliesome >
andrewvos: ;)
08:56
blaix has joined #ruby-lang
08:56
<
andrewvos >
erikh: You're not in CA are you?
08:56
<
andrewvos >
erikh: Oh it seems like there won't be a tsunami
08:56
<
andrewvos >
Wow good news
08:57
<
andrewvos >
Have family there :|
08:57
krohrbaugh has quit [Ping timeout: 252 seconds]
08:57
<
erikh >
yeah, I'm in the bay
08:57
<
erikh >
pretty far away from the ocean though.
08:58
<
erikh >
I don't have that kind of money
08:59
gnufied1 has joined #ruby-lang
09:01
whitemage has quit [Ping timeout: 252 seconds]
09:03
mbj has joined #ruby-lang
09:07
workmad3 has quit [Ping timeout: 252 seconds]
09:11
teleological has joined #ruby-lang
09:14
GarethAdams has joined #ruby-lang
09:14
Cakey has quit [Ping timeout: 252 seconds]
09:16
dc5ala has quit [Quit: Ex-Chat]
09:19
sush24 has joined #ruby-lang
09:20
matson has joined #ruby-lang
09:23
workmad3 has joined #ruby-lang
09:23
<
andrewvos >
Cucumber "#World". Discuss
09:23
<
whitequark >
>Cucumber
09:27
<
andrewvos >
whitequark: ?
09:27
whitemage has joined #ruby-lang
09:28
<
whitequark >
andrewvos: you're talking about the BDD tool, right?
09:28
vlad_starkov has joined #ruby-lang
09:30
fosky has quit [Ping timeout: 252 seconds]
09:32
whitemage has quit [Ping timeout: 264 seconds]
09:33
workmad3 has quit [Read error: Operation timed out]
09:33
vlad_starkov has quit [Ping timeout: 252 seconds]
09:34
noop has quit [Ping timeout: 245 seconds]
09:35
dingus_khan has joined #ruby-lang
09:35
<
whitequark >
just don't touch it.
09:36
tomzx_mac has joined #ruby-lang
09:38
machuga|away is now known as machuga
09:39
dingus_khan has quit [Ping timeout: 264 seconds]
09:42
_KGBot_ has quit [Remote host closed the connection]
09:50
Sm3lly has joined #ruby-lang
09:51
_elia has joined #ruby-lang
09:53
krohrbaugh has joined #ruby-lang
09:53
elia has quit [Ping timeout: 252 seconds]
09:53
_elia is now known as elia
09:55
noop has joined #ruby-lang
09:55
krz has quit [Quit: krz]
09:56
krz has joined #ruby-lang
09:57
vlad_starkov has joined #ruby-lang
09:58
whitemage has joined #ruby-lang
09:58
krohrbaugh has quit [Ping timeout: 252 seconds]
09:58
vlad_starkov has quit [Read error: Connection reset by peer]
09:58
vlad_starkov has joined #ruby-lang
10:01
dingus_khan has joined #ruby-lang
10:02
whitemage has quit [Ping timeout: 248 seconds]
10:05
vlad_starkov has quit [Remote host closed the connection]
10:07
_KGBot_ has joined #ruby-lang
10:08
madb055 has quit [Ping timeout: 252 seconds]
10:09
madb055 has joined #ruby-lang
10:11
<
andrewvos >
I'm paid to touch it though
10:11
<
andrewvos >
BUT NOT ANYMORE
10:11
<
andrewvos >
This contract ends today
10:14
<
andrewvos >
Did anyone join this channel after the "heh"
10:14
<
andrewvos >
Cause that would be awkward
10:14
<
matti >
I resumed my screen, yes
10:15
<
andrewvos >
Well then you have the full history
10:15
<
andrewvos >
So not awkward
10:15
<
andrewvos >
I am basically Captain Obvious today
10:15
* matti
taps andrewvos on the back
10:15
<
matti >
andrewvos: Its Friday, so don't sweat.
10:16
rippa has joined #ruby-lang
10:16
tbuehlmann has joined #ruby-lang
10:22
dhruvasa1ar has joined #ruby-lang
10:23
Newbie0086 has quit [Ping timeout: 264 seconds]
10:25
dhruvasagar has quit [Ping timeout: 260 seconds]
10:28
blacktulip has joined #ruby-lang
10:29
blacktulip has quit [Remote host closed the connection]
10:30
Squarepy has joined #ruby-lang
10:36
tomzx_mac has quit [Ping timeout: 276 seconds]
10:42
apheleon has joined #ruby-lang
10:52
adambeynon has quit [Quit: Computer has gone to sleep.]
10:53
dingus_khan has quit [Remote host closed the connection]
10:53
krohrbaugh has joined #ruby-lang
10:55
nivanson has quit [Remote host closed the connection]
10:57
workmad3 has joined #ruby-lang
10:57
barttenbrinke has quit [Remote host closed the connection]
10:58
krohrbaugh has quit [Ping timeout: 252 seconds]
10:58
titas9x has joined #ruby-lang
10:58
adambeynon has joined #ruby-lang
11:04
benlovell has quit [Ping timeout: 252 seconds]
11:05
gnufied1 has quit [Quit: Leaving.]
11:09
_KGBot_ is now known as bugg
11:11
gnufied has joined #ruby-lang
11:11
Domon has quit [Ping timeout: 260 seconds]
11:14
MaddinXx_ has joined #ruby-lang
11:16
krz has quit [Quit: krz]
11:17
<
yorickpeterse >
andrewvos: re: captain obvious, wasn't that obvious already?
11:23
henrikhodne has quit [Quit: Computer has gone to sleep.]
11:25
sush24 has quit [Quit: This computer has gone to sleep]
11:26
tdy has quit [Read error: Connection reset by peer]
11:27
tdy has joined #ruby-lang
11:27
ldnunes has joined #ruby-lang
11:28
barttenbrinke has joined #ruby-lang
11:30
KillerFox has quit [Ping timeout: 248 seconds]
11:32
blaix has quit [Quit: Leaving.]
11:35
machuga is now known as machuga|away
11:35
dustint has joined #ruby-lang
11:36
machuga|away is now known as machuga
11:36
rathrio has joined #ruby-lang
11:37
rippa has quit [Ping timeout: 240 seconds]
11:37
rathrio has quit [Client Quit]
11:38
rathrio has joined #ruby-lang
11:38
rathrio has left #ruby-lang [#ruby-lang]
11:39
rathrio has joined #ruby-lang
11:39
r0bby has quit [Ping timeout: 256 seconds]
11:39
rathrio has left #ruby-lang [#ruby-lang]
11:39
rathrio has joined #ruby-lang
11:40
<
andrewvos >
yorickpeterse: I guess
11:41
rathrio has quit [Remote host closed the connection]
11:41
rathrio has joined #ruby-lang
11:45
workmad3 has quit [Ping timeout: 260 seconds]
11:45
barttenbrinke has quit [Ping timeout: 248 seconds]
11:47
dustint has quit [Quit: Leaving]
12:00
thebastl has quit [Ping timeout: 264 seconds]
12:01
fsvehla has quit [Quit: fsvehla]
12:03
postmodern has quit [Quit: Leaving]
12:03
blaix has joined #ruby-lang
12:03
dingus_khan has joined #ruby-lang
12:05
bugg has quit [Remote host closed the connection]
12:06
nkr has joined #ruby-lang
12:08
dingus_khan has quit [Ping timeout: 276 seconds]
12:09
barttenbrinke has joined #ruby-lang
12:12
benlovell has joined #ruby-lang
12:15
Squarepy has quit [Remote host closed the connection]
12:16
skade has joined #ruby-lang
12:18
hogeo has quit [Remote host closed the connection]
12:21
carloslopes has joined #ruby-lang
12:22
teleological has quit [Remote host closed the connection]
12:22
fsvehla has joined #ruby-lang
12:22
tbuehlmann has quit [Remote host closed the connection]
12:22
jxie has quit [Quit: leaving]
12:23
bugg has joined #ruby-lang
12:25
apeiros has quit [Remote host closed the connection]
12:33
teleological has joined #ruby-lang
12:34
dhruvasa1ar has quit [Quit: leaving]
12:34
dhruvasagar has joined #ruby-lang
12:41
Johz has joined #ruby-lang
12:41
GarethAdams has quit [Quit: Leaving...]
12:42
mistym has joined #ruby-lang
12:43
toretore has joined #ruby-lang
12:49
mistym has quit [Remote host closed the connection]
12:50
riffraff has joined #ruby-lang
12:54
krohrbaugh has joined #ruby-lang
12:56
bugg has quit [Remote host closed the connection]
12:59
krohrbaugh has quit [Ping timeout: 252 seconds]
12:59
gnufied has quit [Quit: Leaving.]
12:59
spuk has quit [Ping timeout: 252 seconds]
13:00
dhruvasagar has quit [Read error: Operation timed out]
13:00
gnufied has joined #ruby-lang
13:01
anonymuse has joined #ruby-lang
13:02
help has joined #ruby-lang
13:02
bugg has joined #ruby-lang
13:02
help has quit [Client Quit]
13:03
noop has quit [Ping timeout: 256 seconds]
13:04
hashkey_disconne has joined #ruby-lang
13:04
breakingthings has joined #ruby-lang
13:05
hashkey has quit [Ping timeout: 276 seconds]
13:05
hashkey_disconne is now known as hashkey
13:06
hashkey is now known as Guest10171
13:09
thebastl has joined #ruby-lang
13:10
mistym has joined #ruby-lang
13:10
Guest10171 is now known as hashkey
13:10
blaix has quit [Read error: Connection reset by peer]
13:11
enebo has joined #ruby-lang
13:11
ngw has joined #ruby-lang
13:12
bradland has joined #ruby-lang
13:13
spuk has joined #ruby-lang
13:14
blaix has joined #ruby-lang
13:18
s0ber has quit [Remote host closed the connection]
13:18
s0ber has joined #ruby-lang
13:19
tonni has joined #ruby-lang
13:20
headius has joined #ruby-lang
13:21
wmoxam has joined #ruby-lang
13:21
apeiros has joined #ruby-lang
13:22
<
canton7 >
bradland, the return value of the block you pass to #inject matters
13:23
<
canton7 >
as in, it takes the return value from the block, and uses that as the 'sum' argument to the next block call
13:23
<
bradland >
canton7: ah, ok, so that's why sum is nil on my next iteration
13:23
noop has joined #ruby-lang
13:23
<
canton7 >
there #each_with_object (beware, the parameters are the other way around) which is similar, but cares about how you're modified 'sum', rather than the block's returnv alue
13:24
<
canton7 >
yeah, 8 would make more sene
13:24
<
bradland >
my local code (with more debugging puts after the addition) was returning nil
13:24
<
bradland >
which was a light bulb moment
13:24
<
canton7 >
ah yeah, that figures
13:25
<
bradland >
the docs are useful too, heh: "In either case, the result becomes the new value for memo. At the end of the iteration, the final value of memo is the return value for the method."
13:25
<
bradland >
so used to using it just for simple sums of arrays that i got to thinking memo was some kind of magic :)
13:25
cofin has joined #ruby-lang
13:25
<
canton7 >
"the result being the return value from the block. Yeah not too clear
13:26
fsvehla has quit [Quit: fsvehla]
13:29
yalue has joined #ruby-lang
13:37
mbj_ has joined #ruby-lang
13:38
mdedetrich has quit [Quit: Computer has gone to sleep.]
13:41
mbj has quit [Ping timeout: 260 seconds]
13:41
mbj_ is now known as mbj
13:42
tomzx_mac has joined #ruby-lang
13:42
mdedetrich has joined #ruby-lang
13:43
davidfrey has joined #ruby-lang
13:45
<
zzak >
what do you guys call "<<" methods?
13:45
workmad3 has joined #ruby-lang
13:47
<
zzak >
Like Array#<<
13:48
nathanstitt has joined #ruby-lang
13:48
<
zzak >
that doesnt even work in ri :(
13:49
teleological has quit [Remote host closed the connection]
13:51
thebastl has quit [Remote host closed the connection]
13:52
workmad3 has quit [Ping timeout: 276 seconds]
13:54
davidfrey has quit [Remote host closed the connection]
13:55
krohrbaugh has joined #ruby-lang
13:56
davidfrey has joined #ruby-lang
13:57
jvrmaia has joined #ruby-lang
13:57
machuga is now known as machuga|away
13:58
<
canton7 >
zzak, it's very similar to #push... Both are append operations
13:58
mootpointer has joined #ruby-lang
13:58
bryanl has joined #ruby-lang
13:59
blaix has quit [Quit: Leaving.]
13:59
krohrbaugh has quit [Ping timeout: 256 seconds]
13:59
davidfrey has quit [Remote host closed the connection]
14:00
davidfrey has joined #ruby-lang
14:03
mistym has quit [Remote host closed the connection]
14:03
davidfrey has quit [Remote host closed the connection]
14:04
davidfrey has joined #ruby-lang
14:04
benchung has quit [Remote host closed the connection]
14:06
bugg is now known as dfdf
14:06
hhatch has joined #ruby-lang
14:06
henrikhodne has joined #ruby-lang
14:08
wallerdev has joined #ruby-lang
14:08
GeissT_ has joined #ruby-lang
14:09
<
whitequark >
zzak: "left shift operator"
14:09
<
whitequark >
which is (ab)used as an alias to push.
14:09
<
whitequark >
it used to be bitwise left shift in c-family of languages.
14:10
davidfrey has quit [Remote host closed the connection]
14:10
davidfrey has joined #ruby-lang
14:11
GeissT has quit [Ping timeout: 252 seconds]
14:12
<
canton7 >
whitequark, almost an alias to push
14:12
<
whitequark >
almost?
14:13
<
canton7 >
push accepts one or more arguments
14:13
<
canton7 >
<< just accepts the one
14:13
<
whitequark >
oh right
14:14
enebo has quit [Quit: enebo]
14:15
machuga|away is now known as machuga
14:16
sush24 has joined #ruby-lang
14:16
davidfrey has quit [Remote host closed the connection]
14:19
jvrmaia has quit [Remote host closed the connection]
14:21
mistym has joined #ruby-lang
14:21
mistym has joined #ruby-lang
14:24
pygmael has quit [Read error: Operation timed out]
14:25
titas9x has left #ruby-lang [#ruby-lang]
14:29
mootpointer has quit [Quit: Computer has gone to sleep.]
14:30
dhruvasagar has joined #ruby-lang
14:32
tomzx_mac has quit [Ping timeout: 252 seconds]
14:33
teleological has joined #ruby-lang
14:33
teleological has quit [Remote host closed the connection]
14:34
teleolog_ has joined #ruby-lang
14:35
GeissT_ has quit [Ping timeout: 240 seconds]
14:36
dfdf has quit [Remote host closed the connection]
14:41
ivanoats has joined #ruby-lang
14:47
stardiviner has joined #ruby-lang
14:50
thebastl has joined #ruby-lang
14:55
krohrbaugh has joined #ruby-lang
14:56
stardiviner has quit [Read error: Connection reset by peer]
14:56
stardiviner has joined #ruby-lang
14:59
krohrbaugh has quit [Ping timeout: 252 seconds]
15:00
pdswan has joined #ruby-lang
15:01
lcdhoffman has joined #ruby-lang
15:01
stardiviner has quit [Ping timeout: 256 seconds]
15:02
stardiviner has joined #ruby-lang
15:02
pdswan has quit [Client Quit]
15:03
Asher has quit [Read error: Connection reset by peer]
15:04
Asher has joined #ruby-lang
15:04
noop has quit [Ping timeout: 260 seconds]
15:04
enebo has joined #ruby-lang
15:06
stardiviner has quit [Read error: Connection reset by peer]
15:06
<
injekt >
push it real good
15:07
stardiviner has joined #ruby-lang
15:09
<
erikh >
DOW DE DOW DOW DOW DE DOW DE DOW DE DOW DE DOW
15:09
<
injekt >
erikh: how was your first day?
15:09
<
erikh >
pretty good
15:10
<
erikh >
these guys are pretty cool folks
15:10
<
erikh >
all turbo nerds lik eme
15:10
mucker has joined #ruby-lang
15:10
<
injekt >
nerdin' it up
15:10
<
erikh >
went to anime night with some of the people
15:11
<
erikh >
bradland: I like where this is going
15:12
stardiviner has quit [Ping timeout: 240 seconds]
15:13
sush24 has quit [Quit: This computer has gone to sleep]
15:13
ngw has quit [Quit: Bye!]
15:13
stardiviner has joined #ruby-lang
15:16
<
whitequark >
erikh: what did you watch?
15:16
<
erikh >
oh, ghost in the shell
15:17
<
injekt >
zenspider: pong
15:17
<
erikh >
it's 8am his time
15:17
<
injekt >
ping pong kim jong
15:17
Taranis has quit [Read error: No route to host]
15:17
<
injekt >
then he should be up!
15:17
<
erikh >
you know programmers.
15:18
<
injekt >
im out the gym at 8am!
15:18
<
erikh >
bart is delayed
15:18
<
erikh >
so, MOAR CHAT
15:18
<
injekt >
I have later starts with new company which is kinda blah
15:19
<
erikh >
I'm getting in early today
15:19
<
erikh >
there's no real gate at our work, if anything it's like 11-4
15:19
<
erikh >
ok, gonna lose intertubes soon.
15:20
mdedetrich has quit [Quit: Computer has gone to sleep.]
15:22
Uranio has joined #ruby-lang
15:23
rathrio has quit [Quit: rathrio]
15:23
gnufied has quit [Quit: Leaving.]
15:26
hramrach_ has quit [Ping timeout: 240 seconds]
15:26
jxie has joined #ruby-lang
15:27
riffraff has quit [Quit: Leaving]
15:27
stardiviner has quit [Ping timeout: 241 seconds]
15:29
Gaelan_ has quit [Remote host closed the connection]
15:29
Gaelan has joined #ruby-lang
15:29
stardiviner has joined #ruby-lang
15:30
kgrz has quit [Ping timeout: 252 seconds]
15:31
bryanl has quit [Quit: bryanl out]
15:32
benlovell has quit [Ping timeout: 276 seconds]
15:32
hramrach_ has joined #ruby-lang
15:32
jxie has quit [Read error: Connection reset by peer]
15:32
gnufied has joined #ruby-lang
15:32
bzb has joined #ruby-lang
15:33
bryanl has joined #ruby-lang
15:33
jxie has joined #ruby-lang
15:37
bzb has quit [Client Quit]
15:37
<
judofyr >
choo choo choo
15:37
Uranio has quit [Quit: while you reading this, a kitty dies]
15:38
Gaelan has quit [Remote host closed the connection]
15:39
<
injekt >
zzak: looking at arrrcamp tickets
15:40
<
injekt >
zzak: if there's still some in 2 weeks I'll get one
15:40
carloslopes has quit [Remote host closed the connection]
15:40
<
injekt >
zzak: me and vicky already have those 2 days booked of for holiday so I can drag her along and she can eat chocolate or something
15:40
<
zzak >
injekt: follow them on twitter, usually people can't make it and will resell their ticket
15:41
<
zzak >
i will bring my cat, and they can adventure together
15:41
<
injekt >
she would like that
15:42
io_syl has joined #ruby-lang
15:43
<
injekt >
zzak: have you booked flights for that yet?
15:43
stardiviner has quit [Ping timeout: 252 seconds]
15:45
sush24 has joined #ruby-lang
15:45
bzb has joined #ruby-lang
15:46
bzb has quit [Remote host closed the connection]
15:47
stardiviner has joined #ruby-lang
15:47
cored has quit [Ping timeout: 248 seconds]
15:48
<
zzak >
no, i probably will wait
15:49
tenderlove has quit [Remote host closed the connection]
15:49
cored has joined #ruby-lang
15:49
cored has quit [Changing host]
15:49
cored has joined #ruby-lang
15:49
tenderlove has joined #ruby-lang
15:51
<
zzak >
should i make a stop to the UK on the way? haha
15:52
<
injekt >
zzak: i was gonna say that yeah, I'll have to work before but you could head back to London with us after for a couple days or something, or before, whatever works
15:53
tylersmith has quit [Remote host closed the connection]
15:54
<
zzak >
that would be awesome, we'll see what happens. still plenty of time to figure it out
15:55
Uranio has joined #ruby-lang
15:55
krohrbaugh has joined #ruby-lang
15:57
stardiviner_ has joined #ruby-lang
15:57
dankest has quit [Quit: Leaving...]
15:57
stardiviner has quit [Ping timeout: 276 seconds]
15:57
brianpWins has quit [Quit: brianpWins]
15:58
workmad3 has joined #ruby-lang
16:00
krohrbaugh has quit [Ping timeout: 252 seconds]
16:00
mistym is now known as mistym_meeting
16:02
Uranio has left #ruby-lang ["while you reading this, a kitty dies"]
16:03
stardiviner_ has quit [Ping timeout: 246 seconds]
16:04
stardiviner has joined #ruby-lang
16:08
skade has quit [Quit: Computer has gone to sleep.]
16:08
dankest has joined #ruby-lang
16:09
stardiviner_ has joined #ruby-lang
16:09
yxhuvud has joined #ruby-lang
16:10
stardiviner has quit [Ping timeout: 256 seconds]
16:11
carloslopes has joined #ruby-lang
16:12
[[thufir]] has joined #ruby-lang
16:14
stardiviner_ has quit [Read error: Connection reset by peer]
16:15
snarfmason has joined #ruby-lang
16:15
barttenbrinke has quit [Remote host closed the connection]
16:15
Gaelan has joined #ruby-lang
16:15
barttenbrinke has joined #ruby-lang
16:16
stardiviner has joined #ruby-lang
16:16
LinkedoT has quit [Quit: This computer has gone to sleep]
16:18
enebo has quit [Quit: enebo]
16:19
carloslopes has quit [Ping timeout: 256 seconds]
16:20
barttenbrinke has quit [Ping timeout: 256 seconds]
16:21
lucsky has joined #ruby-lang
16:21
lucsky has quit [Client Quit]
16:24
krombr has joined #ruby-lang
16:25
stardiviner_ has joined #ruby-lang
16:25
stardiviner has quit [Ping timeout: 252 seconds]
16:27
sush24 has quit [Ping timeout: 276 seconds]
16:27
[[thufir]] has quit [Remote host closed the connection]
16:28
sush24 has joined #ruby-lang
16:30
machuga is now known as machuga|away
16:32
gnufied has quit [Quit: Leaving.]
16:32
Cakey has joined #ruby-lang
16:34
stardiviner_ has quit [Read error: Connection reset by peer]
16:34
stardiviner has joined #ruby-lang
16:37
kgrz has joined #ruby-lang
16:37
brianpWins has joined #ruby-lang
16:37
lcdhoffman has quit [Quit: lcdhoffman]
16:39
stardiviner has quit [Ping timeout: 256 seconds]
16:39
tbuehlmann has joined #ruby-lang
16:39
thebastl has quit [Remote host closed the connection]
16:40
thebastl has joined #ruby-lang
16:40
lcdhoffman has joined #ruby-lang
16:41
cored has quit [Ping timeout: 246 seconds]
16:41
krohrbaugh has joined #ruby-lang
16:41
pskosinski has joined #ruby-lang
16:42
hhatch has quit [Quit: leaving]
16:43
kgrz has quit [Ping timeout: 240 seconds]
16:43
krohrbaugh has quit [Client Quit]
16:43
machuga|away is now known as machuga
16:44
krohrbaugh has joined #ruby-lang
16:44
sush24 has quit [Quit: Leaving]
16:44
Cakey has quit [Ping timeout: 276 seconds]
16:46
workmad3 has quit [Ping timeout: 260 seconds]
16:46
Cakey has joined #ruby-lang
16:46
cored has joined #ruby-lang
16:46
stardiviner has joined #ruby-lang
16:47
thebastl has quit [Remote host closed the connection]
16:48
tylersmith has joined #ruby-lang
16:50
carloslopes has joined #ruby-lang
16:50
franckverrot has quit [Read error: Operation timed out]
16:50
UziMonkey__ has quit [Ping timeout: 246 seconds]
16:50
tylersmith has quit [Write error: Broken pipe]
16:50
tylersmi_ has joined #ruby-lang
16:50
vivekrai has quit [Ping timeout: 252 seconds]
16:50
stardiviner has quit [Write error: Connection reset by peer]
16:51
stardiviner_ has joined #ruby-lang
16:51
jacknagel has quit [Ping timeout: 246 seconds]
16:51
pipecloud has quit [Ping timeout: 240 seconds]
16:52
nathanstitt has quit [Quit: I growing sleepy]
16:52
anildigital_work has quit [Ping timeout: 240 seconds]
16:53
machuga is now known as machuga|away
16:53
benanne has joined #ruby-lang
16:53
norplr has quit [Ping timeout: 246 seconds]
16:54
dhruvasagar has quit [Read error: Operation timed out]
16:54
<
erikh >
sizzurrrrrp
16:54
<
rue >
erikh: You’ve gone all SF, man…
16:55
__butch__ has joined #ruby-lang
16:56
stardiviner_ has quit [Ping timeout: 256 seconds]
16:56
stardiviner has joined #ruby-lang
16:56
dlackty____ has quit [Ping timeout: 276 seconds]
16:56
rathrio has joined #ruby-lang
16:57
rathrio has quit [Client Quit]
16:59
mistym_meeting is now known as mistym
16:59
swav has quit [Remote host closed the connection]
17:00
swav has joined #ruby-lang
17:03
mrsolo has joined #ruby-lang
17:04
swav has quit [Ping timeout: 256 seconds]
17:05
krombr has quit [Remote host closed the connection]
17:05
randomlogin has quit [Quit: randomlogin]
17:07
stardiviner has quit [Ping timeout: 241 seconds]
17:08
madb055 has quit [Ping timeout: 256 seconds]
17:08
headius has quit [Ping timeout: 276 seconds]
17:09
stardiviner has joined #ruby-lang
17:10
jxie_ has joined #ruby-lang
17:13
elia has quit [Ping timeout: 252 seconds]
17:13
judofyr has quit [Remote host closed the connection]
17:13
jxie has quit [Ping timeout: 260 seconds]
17:14
voker57 has joined #ruby-lang
17:14
voker57 has joined #ruby-lang
17:14
workmad3 has joined #ruby-lang
17:15
apeiros has quit [Read error: Operation timed out]
17:15
stardiviner has quit [Read error: Connection reset by peer]
17:15
stardiviner has joined #ruby-lang
17:16
LinkedoT has joined #ruby-lang
17:19
apeiros has joined #ruby-lang
17:20
mistym is now known as mistym_lunch
17:21
stardiviner has quit [Ping timeout: 256 seconds]
17:21
stardiviner has joined #ruby-lang
17:21
braidn has joined #ruby-lang
17:21
benlovell has joined #ruby-lang
17:22
cored has quit [Ping timeout: 276 seconds]
17:23
Gaelan has quit [Ping timeout: 260 seconds]
17:24
apeiros has quit [Ping timeout: 252 seconds]
17:24
enebo has joined #ruby-lang
17:26
stardiviner has quit [Ping timeout: 260 seconds]
17:28
stardiviner has joined #ruby-lang
17:29
Gaelan has joined #ruby-lang
17:29
Gaelan has quit [Read error: Connection reset by peer]
17:30
Gaelan has joined #ruby-lang
17:31
lmadrigal has joined #ruby-lang
17:32
cored has joined #ruby-lang
17:32
cored has quit [Changing host]
17:32
cored has joined #ruby-lang
17:34
poga has joined #ruby-lang
17:37
benlovell has quit [Ping timeout: 264 seconds]
17:38
skade has joined #ruby-lang
17:40
blaix has joined #ruby-lang
17:42
stardiviner_ has joined #ruby-lang
17:43
stardiviner has quit [Ping timeout: 260 seconds]
17:43
apeiros has joined #ruby-lang
17:44
GarethAdams has joined #ruby-lang
17:48
<
bradland >
i'm missing something basic about the difference between do...end and {...}
17:49
Cakey has quit [Ping timeout: 246 seconds]
17:49
<
bradland >
inject will accept a {...} block, but a do...end block throws an error indicating that the first argument to inject() isn't a symbol
17:49
<
whitequark >
bradland: priorities
17:49
<
apeiros >
bradland: they have different precedence
17:49
<
whitequark >
yes, precedence ^
17:49
Gaelan has quit [Quit: Bye!]
17:49
ia___ has joined #ruby-lang
17:49
<
apeiros >
foo bar do … end # is foo(bar) do … end
17:50
<
whitequark >
apeiros: will explain this better :)
17:50
<
apeiros >
foo bar { … } # is foo(bar { … })
17:50
Gaelan has joined #ruby-lang
17:51
ivanoats has quit [Remote host closed the connection]
17:51
<
bradland >
so {...} is passed as an argument, but i'm not sure i understand do...end
17:51
<
bradland >
it's not an argument ?
17:51
<
apeiros >
both are passed as an argument
17:51
<
apeiros >
but they bind differently
17:51
<
bradland >
ok, i'll look more in to curly braces vs do end
17:51
<
apeiros >
foo bar { … } # is foo(bar { … }) is the same as foo(bar do … end) - it is passed to bar, not to foo
17:52
sepp2k has joined #ruby-lang
17:52
<
apeiros >
foo bar do … end # is foo(bar) do … end is the same as foo(bar) { … }, it is passed to foo, not to bar
17:52
<
bradland >
ah, so it's a matter of the receiver
17:52
<
apeiros >
and in your case, you do `puts … do … end`
17:52
<
apeiros >
so the block is passed to puts, not to inject
17:52
<
apeiros >
and in that case, inject expects a symbol as first argument
17:53
<
apeiros >
>> [1,2,3,4].inject(:+)
17:53
<
bradland >
because no block is passed
17:53
<
bradland >
that makes sense
17:53
<
apeiros >
this is one of the reasons I use {} for blocks where I want the return value, and do/end where the side-effect counts. it more often "naturally" matches what I write.
17:53
<
apeiros >
(it is not the main reason, though)
17:54
<
bradland >
the puts is just for debugging in this case
17:54
komagome has joined #ruby-lang
17:55
<
apeiros >
sure. but you still want the return value :-p
17:55
<
apeiros >
even without the puts
17:55
<
bradland >
that one works with do ... end. is this a case where you'd use {...} ?
17:56
stardiviner has joined #ruby-lang
17:56
<
apeiros >
that one works because there's no method in front of the inject. I'd still use {}
17:57
<
bradland >
when you say do ... end "side-effect", are you referring more to operations where work is being done inside the block, like the block form of File.open ?
17:58
saarinen has joined #ruby-lang
17:58
MaddinXx_ has quit [Remote host closed the connection]
17:58
<
bradland >
re-reading, i think i can answer that myself
17:58
<
bradland >
and it makes sense
17:59
stardiviner_ has quit [Ping timeout: 276 seconds]
18:01
stardiviner has quit [Ping timeout: 256 seconds]
18:01
<
apeiros >
yes. changing state and/or IO
18:04
stardiviner has joined #ruby-lang
18:05
Artheist has joined #ruby-lang
18:06
MaddinXx_ has joined #ruby-lang
18:07
UziMonkey__ has joined #ruby-lang
18:07
pr0ton has joined #ruby-lang
18:09
<
apeiros >
zzak: what was the url for your ruby documentation project?
18:10
justinmb_ has joined #ruby-lang
18:15
justinmb_ has quit [Remote host closed the connection]
18:16
workmad3 has quit [Ping timeout: 246 seconds]
18:17
joast has joined #ruby-lang
18:17
vlad_starkov has joined #ruby-lang
18:18
vlad_starkov has quit [Read error: Connection reset by peer]
18:19
lmadrigal has quit [Quit: Computer has gone to sleep.]
18:19
stardiviner has quit [Read error: Connection reset by peer]
18:20
stardiviner has joined #ruby-lang
18:20
Artheist has quit [Quit: No Ping reply in 180 seconds.]
18:21
Artheist has joined #ruby-lang
18:21
anonymuse has quit [Ping timeout: 248 seconds]
18:23
lmadrigal has joined #ruby-lang
18:24
Artheist has quit [Excess Flood]
18:25
Artheist has joined #ruby-lang
18:25
slash_nick has quit [Ping timeout: 268 seconds]
18:26
Artheist has quit [Excess Flood]
18:27
musl has quit [Remote host closed the connection]
18:28
dingus_khan has joined #ruby-lang
18:28
musl has joined #ruby-lang
18:28
rippa has joined #ruby-lang
18:29
teleolog_ has quit [Remote host closed the connection]
18:29
teleological has joined #ruby-lang
18:32
apeiros has quit [Ping timeout: 264 seconds]
18:33
workmad3 has joined #ruby-lang
18:41
ia___ has quit [Remote host closed the connection]
18:41
guns has joined #ruby-lang
18:41
Gaelan has quit [Remote host closed the connection]
18:43
slash_nick has joined #ruby-lang
18:43
apeiros has joined #ruby-lang
18:44
carloslopes has quit [Remote host closed the connection]
18:45
gnufied has joined #ruby-lang
18:45
Artheist has joined #ruby-lang
18:45
carloslopes has joined #ruby-lang
18:46
singpolyma has quit [Ping timeout: 245 seconds]
18:47
cored has quit [Ping timeout: 276 seconds]
18:47
singpolyma has joined #ruby-lang
18:47
GarethAdams has quit [Quit: Leaving...]
18:47
mistym_lunch is now known as mistym
18:48
cored has joined #ruby-lang
18:48
cored has quit [Changing host]
18:48
cored has joined #ruby-lang
18:48
headius has joined #ruby-lang
18:50
headius is now known as jruby_headius
18:51
ebouchut has joined #ruby-lang
18:51
vivekrai has joined #ruby-lang
18:53
Spaceghost|cloud has joined #ruby-lang
18:53
Gaelan has joined #ruby-lang
18:53
franckverrot has joined #ruby-lang
18:53
anildigital_work has joined #ruby-lang
18:57
dlackty____ has joined #ruby-lang
18:59
jacknagel has joined #ruby-lang
19:01
stardiviner_ has joined #ruby-lang
19:01
stardiviner has quit [Read error: Connection reset by peer]
19:02
norplr has joined #ruby-lang
19:03
thone has quit [Ping timeout: 260 seconds]
19:06
workmad3 has quit [Ping timeout: 260 seconds]
19:09
symm- has joined #ruby-lang
19:09
carloslopes has quit [Remote host closed the connection]
19:10
carloslopes has joined #ruby-lang
19:13
GarethAdams has joined #ruby-lang
19:14
vlad_starkov has joined #ruby-lang
19:19
vlad_sta_ has joined #ruby-lang
19:22
vlad_starkov has quit [Ping timeout: 256 seconds]
19:23
vlad_starkov has joined #ruby-lang
19:25
stardiviner_ has quit [Ping timeout: 256 seconds]
19:25
stardiviner has joined #ruby-lang
19:25
saarinen has quit [Quit: saarinen]
19:25
thone has joined #ruby-lang
19:26
vlad_sta_ has quit [Ping timeout: 246 seconds]
19:28
jruby_headius is now known as headius
19:29
zommi has quit [Remote host closed the connection]
19:30
stardiviner has quit [Ping timeout: 276 seconds]
19:31
benlovell has joined #ruby-lang
19:32
blaix has quit [Quit: Leaving.]
19:33
lcdhoffman has quit [Quit: lcdhoffman]
19:35
benanne has quit [Quit: kbai]
19:35
stardiviner has joined #ruby-lang
19:35
blaix has joined #ruby-lang
19:36
vlad_starkov has quit [Read error: Connection reset by peer]
19:37
krohrbaugh has quit [Quit: Leaving.]
19:37
mbj has quit [Quit: leaving]
19:37
thebastl has joined #ruby-lang
19:38
vlad_starkov has joined #ruby-lang
19:39
benlovell has quit [Quit: leaving]
19:40
gnufied has quit [Quit: Leaving.]
19:43
Criztian has quit [Remote host closed the connection]
19:47
thebastl has quit [Remote host closed the connection]
19:47
krohrbaugh has joined #ruby-lang
19:47
pr0ton has quit [Ping timeout: 252 seconds]
19:47
MaddinXx_ has quit [Remote host closed the connection]
19:48
MaddinXx_ has joined #ruby-lang
19:51
pr0ton has joined #ruby-lang
19:51
vlad_starkov has quit [Remote host closed the connection]
19:51
vlad_starkov has joined #ruby-lang
19:51
jperry has quit [Remote host closed the connection]
19:52
teleological has quit [Remote host closed the connection]
19:52
mistym is now known as mistym_away
19:52
djwonk has joined #ruby-lang
19:53
carloslopes has quit [Remote host closed the connection]
19:55
jperry has joined #ruby-lang
19:56
vlad_starkov has quit [Ping timeout: 252 seconds]
20:00
jsullivandigs has quit [Ping timeout: 276 seconds]
20:02
jsullivandigs has joined #ruby-lang
20:02
saarinen has joined #ruby-lang
20:04
loincloth has joined #ruby-lang
20:07
brianpWins has quit [Quit: brianpWins]
20:10
wmoxam has quit [Ping timeout: 264 seconds]
20:11
dvorak has quit [Ping timeout: 260 seconds]
20:11
melter has quit [Quit: Client exiting]
20:13
mistym_away is now known as mistym
20:16
yalue has quit [Quit: Leaving]
20:17
machuga|away is now known as machuga
20:17
stardiviner has quit [Ping timeout: 240 seconds]
20:17
Johz has quit [Quit: AH HELP ITS ALL CRASHING AT ONCE I CANT STOP IT HELP HELP HELP <transmission ends>]
20:19
stardiviner has joined #ruby-lang
20:24
stardiviner has quit [Ping timeout: 256 seconds]
20:27
mbj has joined #ruby-lang
20:28
blaix has quit [Quit: Leaving.]
20:29
MaddinXx_ has quit [Read error: Connection reset by peer]
20:30
MaddinX__ has joined #ruby-lang
20:30
bradland has quit [Quit: bradland]
20:31
thone has quit [Ping timeout: 276 seconds]
20:32
blaix has joined #ruby-lang
20:33
teleological has joined #ruby-lang
20:33
stardiviner has joined #ruby-lang
20:36
wmoxam has joined #ruby-lang
20:38
arubin has joined #ruby-lang
20:39
ebouchut has left #ruby-lang [#ruby-lang]
20:41
mrfelix has joined #ruby-lang
20:43
machuga is now known as machuga|away
20:45
blaix has quit [Quit: Leaving.]
20:47
blaix has joined #ruby-lang
20:48
guns has quit [Quit: guns]
20:48
wmoxam_ has joined #ruby-lang
20:48
wmoxam_ has quit [Client Quit]
20:50
blaix has quit [Client Quit]
20:53
stringly_typed has joined #ruby-lang
20:55
MaddinX__ has quit [Remote host closed the connection]
20:57
loincloth has quit [Remote host closed the connection]
20:57
teleological has quit [Remote host closed the connection]
20:59
runeb has joined #ruby-lang
21:04
dvorak has joined #ruby-lang
21:07
joast has quit [Quit: Leaving.]
21:09
Gaelan has quit [Remote host closed the connection]
21:10
codelurker has joined #ruby-lang
21:13
stardiviner has quit [Ping timeout: 256 seconds]
21:13
krohrbaugh has quit [Quit: Leaving.]
21:13
stardiviner has joined #ruby-lang
21:14
Mon_Ouie has quit [Ping timeout: 248 seconds]
21:15
Gaelan has joined #ruby-lang
21:16
Mon_Ouie has joined #ruby-lang
21:16
saarinen has quit [Quit: saarinen]
21:17
komagome has quit [Remote host closed the connection]
21:17
<
ddfreyne >
zenspider: Why is SystemExit part of Minitest::Test::PASSTHROUGH_EXCEPTIONS?
21:17
<
ddfreyne >
I find it annoying personally
21:18
[[thufir]] has joined #ruby-lang
21:18
ldnunes has quit [Quit: Saindo]
21:18
<
ddfreyne >
(My CLI throws SystemExits, and I need to test that)
21:18
<
ddfreyne >
I work around that by modifying PASSTHROUGH_EXCEPTIONS but it feels a bit icky.
21:20
<
drbrain >
ddfreyne: you don't assert_raises SystemExit do … end
21:21
Gaelan has quit [Remote host closed the connection]
21:21
teleological has joined #ruby-lang
21:21
saarinen has joined #ruby-lang
21:22
cored has quit [Ping timeout: 276 seconds]
21:22
brianpWins has joined #ruby-lang
21:23
saarinen has quit [Client Quit]
21:25
<
ddfreyne >
drbrain: I do, but accidental SystemExits are not caught, and just stops the process with no indication where it exited
21:25
cored has joined #ruby-lang
21:25
cored has quit [Changing host]
21:25
cored has joined #ruby-lang
21:26
ikrima has quit [Ping timeout: 264 seconds]
21:28
ikrima has joined #ruby-lang
21:29
dbussink has quit [Quit: bye]
21:31
<
ddfreyne >
So yeah. I don't like SystemExit being part of that list :)
21:33
ikrima has quit [Ping timeout: 252 seconds]
21:33
<
spike|spiegel >
well, I don't like the fact that at_exit is hijacked in the first place to do of all things, run a test suite
21:33
saarinen has joined #ruby-lang
21:33
rippa has quit [Ping timeout: 240 seconds]
21:34
Markvilla has joined #ruby-lang
21:35
saarinen has quit [Client Quit]
21:35
ikrima has joined #ruby-lang
21:35
codelurker has quit [Quit: Leaving]
21:37
jacktrick has joined #ruby-lang
21:38
krohrbaugh has joined #ruby-lang
21:40
<
ddfreyne >
spike|spiegel: It only is if you call #autorun
21:45
dbussink has joined #ruby-lang
21:50
dbussink has quit [Quit: bye]
21:50
headius has quit [Quit: headius]
21:50
dingus_khan has quit [Ping timeout: 256 seconds]
21:52
dbussink has joined #ruby-lang
21:52
io_syl has quit [Quit: Computer has gone to sleep.]
21:53
cofin has quit [Quit: cofin]
21:54
saarinen has joined #ruby-lang
21:57
tylersmi_ has quit [Read error: Connection reset by peer]
21:57
tylersmith has joined #ruby-lang
21:58
<
zenspider >
ddfreyne: so take it out
21:58
<
zenspider >
ddfreyne: it is just an array...
21:59
<
zenspider >
also... accidental SystemExits?
21:59
<
zenspider >
libraries shouldn't (almost NEVER) call exit
21:59
breakingthings has quit [Quit: breakingthings]
21:59
symm- has quit [Ping timeout: 256 seconds]
22:00
wmoxam has quit [Ping timeout: 245 seconds]
22:02
cored has quit [Ping timeout: 246 seconds]
22:05
<
zzak >
zenspider: y u no tweet me
22:08
havenwood has quit [Remote host closed the connection]
22:08
stardiviner has quit [Ping timeout: 246 seconds]
22:08
cored has joined #ruby-lang
22:08
cored has joined #ruby-lang
22:08
<
zenspider >
zzak: mostly, grammar and spelling
22:08
havenwood has joined #ruby-lang
22:09
<
zzak >
oh i see how it is
22:09
stardiviner has joined #ruby-lang
22:10
enebo has quit [Quit: enebo]
22:11
symm- has joined #ruby-lang
22:12
saarinen has quit [Quit: saarinen]
22:13
havenwood has quit [Ping timeout: 252 seconds]
22:13
cored has quit [Ping timeout: 245 seconds]
22:13
GarethAdams has quit [Quit: Leaving...]
22:17
stringly_typed has quit [Quit: Computer has gone to sleep.]
22:21
tbuehlmann has quit [Remote host closed the connection]
22:21
saarinen has joined #ruby-lang
22:24
henrikhodne has quit [Quit: Computer has gone to sleep.]
22:24
Gaelan has joined #ruby-lang
22:24
dingus_khan has joined #ruby-lang
22:25
slash_nick has quit [Ping timeout: 256 seconds]
22:30
pr0ton has quit [Quit: pr0ton]
22:31
postmodern has joined #ruby-lang
22:31
<
ddfreyne >
zenspider: Yeah, I took it out in my tests. I only call #exit in my CLI, which is fine IMO
22:32
saarinen has quit [Quit: saarinen]
22:32
Qwak has joined #ruby-lang
22:32
<
zenspider >
ddfreyne:
*nod*
22:33
<
zenspider >
I realize now that "take it out" was vague... I meant take SystemExit from PASSTHROUGH_EXCEPTIONS
22:33
mrfelix has quit [Quit: Computer has gone to sleep.]
22:34
mrsolo has quit [Quit: Leaving]
22:34
Qwak has quit [Client Quit]
22:35
havenwood has joined #ruby-lang
22:39
tylersmith has quit [Remote host closed the connection]
22:41
krombr has joined #ruby-lang
22:42
outoftime has joined #ruby-lang
22:44
mistym has quit [Remote host closed the connection]
22:45
tomzx_mac has joined #ruby-lang
22:45
bashdy has joined #ruby-lang
22:46
Sm3lly has quit [Read error: Connection reset by peer]
22:46
Wasp_ has left #ruby-lang [#ruby-lang]
22:48
__butch__ has quit [Quit: Leaving.]
22:49
stardiviner has quit [Ping timeout: 248 seconds]
22:50
stardiviner has joined #ruby-lang
22:52
lmadrigal has joined #ruby-lang
22:53
__butch__ has joined #ruby-lang
22:55
bashdy has quit [Quit: bashdy]
22:56
bashdy has joined #ruby-lang
22:58
stardiviner_ has joined #ruby-lang
22:58
stardiviner has quit [Read error: Connection reset by peer]
22:58
dingus_khan has quit [Read error: Connection reset by peer]
22:58
Gaelan has quit [Remote host closed the connection]
22:58
dingus_khan has joined #ruby-lang
23:00
Gaelan has joined #ruby-lang
23:00
solars has quit [Ping timeout: 252 seconds]
23:02
mistym has joined #ruby-lang
23:02
mistym has quit [Changing host]
23:02
mistym has joined #ruby-lang
23:03
cofin has joined #ruby-lang
23:03
Gaelan has quit [Remote host closed the connection]
23:06
pr0ton has joined #ruby-lang
23:07
henrikhodne has joined #ruby-lang
23:09
outoftime has quit [Ping timeout: 252 seconds]
23:10
Artheist has quit [Read error: Connection reset by peer]
23:10
chana has joined #ruby-lang
23:11
stamina has quit [Ping timeout: 240 seconds]
23:12
runeb has quit [Remote host closed the connection]
23:15
outoftime has joined #ruby-lang
23:18
bashdy has quit [Quit: bashdy]
23:21
[[thufir]] has quit [Quit: Leaving.]
23:22
Aloysius1 has quit [Remote host closed the connection]
23:23
wesley has joined #ruby-lang
23:23
wesley is now known as Guest85918
23:24
Guest85918 has left #ruby-lang [#ruby-lang]
23:25
Johz has joined #ruby-lang
23:26
lnjdslfjdslg has joined #ruby-lang
23:26
lnjdslfjdslg has quit [Client Quit]
23:28
jperry has quit [Quit: jperry]
23:28
jperry has joined #ruby-lang
23:31
Dude1234 has joined #ruby-lang
23:31
Dude1234 has left #ruby-lang [#ruby-lang]
23:31
outoftime has quit [Ping timeout: 252 seconds]
23:34
voker57 has quit [Read error: Connection reset by peer]
23:37
tenderlove has quit [Remote host closed the connection]
23:39
mdedetrich has joined #ruby-lang
23:40
stardiviner_ has quit [Read error: Connection reset by peer]
23:40
stardiviner has joined #ruby-lang
23:45
mucker has quit [Read error: Connection reset by peer]
23:45
stardiviner_ has joined #ruby-lang
23:46
stardiviner has quit [Read error: Connection reset by peer]
23:46
mucker has joined #ruby-lang
23:50
chana has quit [Ping timeout: 240 seconds]
23:54
dingus_khan has quit [Remote host closed the connection]
23:58
stardiviner_ has quit [Read error: Connection reset by peer]
23:58
stardiviner has joined #ruby-lang
23:58
GeissT has joined #ruby-lang