apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
<crynix> is an accessor like a setter?
<r0bgleeson> crynix: in Ruby, there is attr_accessor, we use that to create a writer & reader,so it is both.
<r0bgleeson> attr_writer, attr_reader, attr_accessor
<crynix> So an accessor is essentially a method that returns a reference to the varaible?
lsegal has joined #ruby-lang
<r0bgleeson> we use the word 'getter' for that, and less commonly, 'reader'.
dingus_khan has quit [Ping timeout: 255 seconds]
looneydoodle has left #ruby-lang [#ruby-lang]
<crynix> Looks like I have some Googling to do!
lsegal has quit [Client Quit]
<crynix> So what's going on behind the scenes with attr_accessor :options?
<lianj> crynix: what i said
<lianj> nothing more
<crynix> I thought you said that was for attr_reader?
<lianj> read again
<crynix> Oh! I see. Thanks for the help!
gregmoreno has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
segy has quit [Quit: ZNC - http://znc.in]
<lianj> crynix: http://eval.in/private/bd1d15ebf04ab9 your own version of attr_accessor
<crynix> Thanks! That helps illustrate what's happening.
lcdhoffman has quit [Quit: lcdhoffman]
husch has quit [Quit: husch]
mrfelix has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 248 seconds]
benanne has quit [Quit: kbai]
soknee has joined #ruby-lang
ryez has joined #ruby-lang
mistym has quit [Remote host closed the connection]
gregmoreno has quit [Remote host closed the connection]
idkazuma has quit [Remote host closed the connection]
rijks has quit [Quit: Konversation terminated!]
injekt has quit [Read error: Operation timed out]
erichmenge has quit [Ping timeout: 256 seconds]
injekt has joined #ruby-lang
erichmenge has joined #ruby-lang
ddd has quit [Read error: Connection reset by peer]
mjio has joined #ruby-lang
TheNotary has quit [Ping timeout: 248 seconds]
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
zastern has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
ddd has joined #ruby-lang
TheNotary has joined #ruby-lang
segy has joined #ruby-lang
megha has joined #ruby-lang
baba has quit [Ping timeout: 264 seconds]
jaimef has quit [Ping timeout: 260 seconds]
mwjcomputing has joined #ruby-lang
piisalie has left #ruby-lang [#ruby-lang]
tomzx_mac has quit [Quit: return 0;]
Domon has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
Domon has quit [Remote host closed the connection]
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
kurko_ has joined #ruby-lang
jaimef has joined #ruby-lang
jxie has quit [Read error: Operation timed out]
Domon has joined #ruby-lang
jxie has joined #ruby-lang
setmeaway has joined #ruby-lang
tsion has joined #ruby-lang
tsion has quit [Changing host]
tsion has joined #ruby-lang
chessguy has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
dhruvasagar has joined #ruby-lang
dboy has joined #ruby-lang
krohrbaugh has joined #ruby-lang
z3r00ld has joined #ruby-lang
crynix_ has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
anonymuse has joined #ruby-lang
lsegal has joined #ruby-lang
hramrach has quit [Remote host closed the connection]
hramrach has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
crynix_ has quit [Remote host closed the connection]
CorpusCallosum has quit [Ping timeout: 252 seconds]
crynix has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
s0ber has quit [Remote host closed the connection]
s0ber has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
dingus_khan has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
jhn has joined #ruby-lang
jxie has quit [Ping timeout: 246 seconds]
jxie has joined #ruby-lang
z3r00ld has quit [Quit: Leaving.]
chessguy has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
cirenyc has quit [Quit: Leaving...]
krohrbaugh has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
anonymuse has quit [Quit: Leaving...]
Gaelan has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 264 seconds]
Gaelan has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
intellitech has quit [Quit: SMOKE BOMB!]
rsl has quit [Ping timeout: 256 seconds]
rsl has joined #ruby-lang
firefux has joined #ruby-lang
krohrbaugh has joined #ruby-lang
z3r00ld has joined #ruby-lang
waxjar has joined #ruby-lang
intellitech has joined #ruby-lang
krz has joined #ruby-lang
ruby-lang597 has joined #ruby-lang
ruby-lang597 has quit [Client Quit]
krz has quit [Quit: krz]
krz has joined #ruby-lang
rsl has quit [Quit: Computer has gone to sleep.]
Nisstyre has quit [Ping timeout: 257 seconds]
Gaelan has joined #ruby-lang
Burgestrand has joined #ruby-lang
dingus_khan has quit [Ping timeout: 276 seconds]
Gaelan has quit [Ping timeout: 240 seconds]
lsegal has joined #ruby-lang
z3r00ld has left #ruby-lang [#ruby-lang]
ridget has joined #ruby-lang
ridget has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
wallerdev has quit [Quit: wallerdev]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
Burgestrand has quit [Ping timeout: 264 seconds]
kurko_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
kgrz has joined #ruby-lang
fosky has joined #ruby-lang
pkrnj has joined #ruby-lang
krohrbaugh has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
<whitequark> TheNotary: a parser?
cored has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
Domon has quit [Remote host closed the connection]
chendo has quit [Ping timeout: 245 seconds]
chendo_ has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
chendo_ has quit [Ping timeout: 240 seconds]
chendo_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
cored has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jg_ has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
Quatrerwin has joined #ruby-lang
Quatrerwin has quit [Client Quit]
Quatrerwin has joined #ruby-lang
dboy has quit [Ping timeout: 245 seconds]
Domon has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
jonahR has quit [Quit: jonahR]
Mon_Ouie has joined #ruby-lang
closer has quit [Ping timeout: 256 seconds]
closer009 has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
kith has quit [Read error: Connection reset by peer]
kith has joined #ruby-lang
jhn has quit []
|Vargas| has joined #ruby-lang
|Vargas| has joined #ruby-lang
noop has joined #ruby-lang
mytrile has joined #ruby-lang
nXqd has joined #ruby-lang
Burgestrand has joined #ruby-lang
tonni has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
Gaelan has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
Gaelan has quit [Ping timeout: 276 seconds]
tbuehlmann has joined #ruby-lang
solars has joined #ruby-lang
symm- has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
Markvilla has quit [Quit: Computer has gone to sleep.]
Andromeda has joined #ruby-lang
tbuehlmann has quit [Read error: Connection reset by peer]
krohrbaugh has quit [Quit: Leaving.]
tonni has joined #ruby-lang
kain has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
mytrile has joined #ruby-lang
thebastl has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dhruvasagar has joined #ruby-lang
smt has joined #ruby-lang
stardiviner has joined #ruby-lang
mjio has quit []
krohrbaugh has joined #ruby-lang
stardiviner has quit [Read error: Connection reset by peer]
dr_bob has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
Guest__ has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
Gaelan has joined #ruby-lang
Guest__ has quit [Quit: Textual IRC Client: www.textualapp.com]
Gaelan has quit [Ping timeout: 248 seconds]
mbj has joined #ruby-lang
mbj_ has joined #ruby-lang
maxmanders has joined #ruby-lang
quazimodo has quit [Ping timeout: 256 seconds]
bzalasky has joined #ruby-lang
judofyr has joined #ruby-lang
<judofyr> whitequark: weee. you merged it :)
Tectonic has quit []
<ddfreyne> Man, writing software is hard
solars has quit [Ping timeout: 245 seconds]
marr has joined #ruby-lang
<ddfreyne> I hope that in 10 years we have a decent workflow for software development and not a huge list of design and architecture patterns that you can apply in some cases but not all etc
quazimodo has joined #ruby-lang
riotbit has quit [Quit: Lost terminal]
chendo__ has joined #ruby-lang
guns has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
<judofyr> ddfreyne: hah, you can dream
<ddfreyne> judofyr: Yeah, I think that is unlikely :)
tsion has quit [Quit: Leaving]
ryanf has left #ruby-lang [#ruby-lang]
<ddfreyne> I've seen som ehorrible code in my life though
<ddfreyne> And that code isn't horrible because the developer who wrote it isn't smart enough...
<judofyr> ddfreyne: that's what happens when you live your life
bzalasky has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby-lang
mbj_ has quit [Quit: leaving]
guns has quit [Quit: guns]
quazimodo has joined #ruby-lang
tonni has quit [Remote host closed the connection]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
judofyr has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 245 seconds]
soknee has quit [Quit: Leaving.]
skade has joined #ruby-lang
solars has joined #ruby-lang
chendo__ has quit [Quit: Computer has gone to sleep.]
gnufied has joined #ruby-lang
tonni has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
alessio_rocco has joined #ruby-lang
solars has quit [Ping timeout: 245 seconds]
quazimodo has joined #ruby-lang
bzalasky has joined #ruby-lang
judofyr has joined #ruby-lang
Gaelan has joined #ruby-lang
swav has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
Gaelan has quit [Read error: Operation timed out]
adambeynon has joined #ruby-lang
solars has joined #ruby-lang
adambeynon has quit [Client Quit]
<whitequark> ddfreyne: I've seen horrible code which happened exactly because the developer was *too* clever
<whitequark> for the task at hand
<whitequark> I think I ever wrote some of that, in my early years
<whitequark> judofyr: yep :3
<mbj> whitequark: morning
<whitequark> let's continue hacking? :)
<whitequark> mbj: moo
<judofyr> whitequark: work now. maybe I'll work on improving coverage later.
<whitequark> moonday, right...
<judofyr> not everyone can work on compilers in their day job ;)
<whitequark> :p
* whitequark prepares a talk
<judofyr> whitequark: ooo. for what?
<whitequark> http://nastachku.ru, about Foundry
face has quit [Ping timeout: 240 seconds]
<mbj> whitequark: this time you have to translate ;)
<judofyr> whitequark: it's in gibberish!
Wardrop[home] has joined #ruby-lang
face has joined #ruby-lang
<whitequark> well, it's a russian programming conference :)
<whitequark> not sure what should I elaborate
Wardrop[home] has left #ruby-lang [#ruby-lang]
<whitequark> bbl
Markvilla has joined #ruby-lang
Markvilla has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
adambeynon has joined #ruby-lang
omeichim_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
sush24 has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
beiter has joined #ruby-lang
DEac- has quit [Read error: No route to host]
gnufied has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<naquad> i have array [[:x, 1], [:y, 2], [:z, 3]] i need to get 2 arrays from it: [:x, :y, :z] and [1, 2, 3]. how do i do that?
<ddfreyne> naquad: .transpose
DEac- has joined #ruby-lang
<whitequark> >> [[:x, 1], [:y, 2], [:z, 3]].transpose
<eval-in> whitequark => [[:x, :y, :z], [1, 2, 3]] (http://eval.in/15468)
<naquad> cool, thank you!
quazimodo has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
security has joined #ruby-lang
megha has quit [Ping timeout: 248 seconds]
judofyr has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 264 seconds]
swav has joined #ruby-lang
Gaelan has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Gaelan has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
Gaelan has joined #ruby-lang
Andromeda has quit [Remote host closed the connection]
s0ber has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
judofyr has joined #ruby-lang
s0ber has joined #ruby-lang
tbuehlmann has joined #ruby-lang
Gaelan has quit [Ping timeout: 264 seconds]
Axsuul has quit [Ping timeout: 248 seconds]
Domon has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
shoru has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
ruby-lang542 has joined #ruby-lang
<yorickpeterse> whitequark: ever worked with http://www.hwaci.com/sw/lemon/lemon.html ?
<ddfreyne> Lemon is something I want to give a try at some point
shoru has quit [Quit: Computer has gone to sleep.]
Domon has joined #ruby-lang
Domon has quit [Remote host closed the connection]
ruby-lang542 has quit [Ping timeout: 245 seconds]
Domon has joined #ruby-lang
<judofyr> whitequark: it would be interesting to write a refactoring tool on top of parser
postmodern has quit [Quit: Leaving]
<charliesome> whitequark: do " strings always become dstrs?
<judofyr> charliesome: nope
<charliesome> cool
<charliesome> i need to play with this thing
<judofyr> echo '"hello"' | ruby bin/parse # => (str "hello")
<judofyr> charliesome: you can help with improving coverage for the ruby19 parser
<charliesome> yeah i might
Burgestrand has joined #ruby-lang
<judofyr> charliesome: that is, writing tests. then I can do the boring part of implementing it :P
<judofyr> it's basically just copy-pasting from ruby18.y…
<judofyr> charliesome: see the ruby19-branch. run the tests in Ruby 2.0 and `open coverage/index.html`
<charliesome> i'll give it a shot
<charliesome> i don't know a huge amount about ruby syntax
<judofyr> charliesome: see AST_FORMAT.md for how the AST should be. there's already plenty of tests in test/test_parser.rb that should show you how to structure them
<charliesome> yeah i was looking at AST_FORMAT
<charliesome> amazing
<charliesome> whitequark: serious props for such awesome docos
<judofyr> (documentation-wise)
<charliesome> jesus
<mbj> charliesome: Yeah, the docs are awesome. I remember the times when I tried to debug a problem in RBX parser. Gave up after two unproductive hours.
krz has quit [Quit: krz]
<charliesome> now i feel bad for never documenting any of my stuff
vlad_starkov has quit [Remote host closed the connection]
krz has joined #ruby-lang
<judofyr> charliesome: I like how `parser` stores all the line/column-information, so it's simple to do transform while still maintaining the original structure
jxie has quit [Ping timeout: 252 seconds]
<judofyr> mbj: how is unparser going to work btw?
<mbj> judofyr: Like https://github.com/mbj/to_source this is the implementation for the RBX AST
<mbj> judofyr: unparser will work the same, but will not need that much crazy foo. Especially as the RBX AST was written with the bytecode structure in mind.
<judofyr> mbj: is it only going to be like ruby2ruby, or are you going to do funky stuff based on the source_map?
<charliesome> the ast for methods with blocks seems backwards
Domon has quit [Remote host closed the connection]
<mbj> charliesome: This is intentionally
<charliesome> how come?
Domon has joined #ruby-lang
<mbj> judofyr: to_source is like ruby2ruby but more complete
<mbj> judofyr: I plan to support structure reproducement in unparser
jxie has joined #ruby-lang
<mbj> judofyr: But not in the first versions, there I'll focus on generating equivalent source: unparser(parser(source)) == unparser(parser(unparser(parser(source))))
stardiviner has joined #ruby-lang
<mbj> judofyr: It would be awesome if I can make it source == unparser(parser(source)), but I do not target it in the first versions.
hakunin has joined #ruby-lang
<mbj> charliesome: From source or bytecode emitter it does not really make a big difference, if you visit node first and than child or child and than node, but whitequark told me it is easier to emit this way with bison/racc
<judofyr> there's so many projects I want to work on using `parser`: rubytidy (which re-indents and cleans up code), ruby refactoring tool, template language that actually parses the Ruby source too, etc.
<mbj> judofyr: yeah, I'll use parser for backing mutant (mutation testing tool just like heckle, but better)
maxmanders has quit [Ping timeout: 252 seconds]
<judofyr> charliesome: it's nicer when the AST is structured outwards and in: ((foo) do end end)
<judofyr> charliesome: that way every children of a node as a range that is inside the range of the parent
<charliesome> interesting
<charliesome> makes sense
yellow5_ has joined #ruby-lang
matthewd has joined #ruby-lang
<charliesome> yay i found a bug!
jMCg_ has joined #ruby-lang
<mbj> Also it makes indentation emitting of source many times more easier, this was the most time consuming part in to_source
apeiros has joined #ruby-lang
<judofyr> charliesome: but yeah, if you want to work on ruby19.y: write tests! I've only fixed it so that the tests pass.
<charliesome> i'm going to write some failing tests for 18
maxmanders has joined #ruby-lang
<judofyr> charliesome: hm. what's the bug?
<judofyr> (I thought 1.8 was quite complete)
<charliesome> a(&b) emits an ast for a(b)
ubersapiens has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
security is now known as fire
amateurhuman_ has joined #ruby-lang
GitNick has joined #ruby-lang
trollface has joined #ruby-lang
Paradox has quit [*.net *.split]
yellow5 has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
hakunin_ has quit [*.net *.split]
Git|Nick has quit [*.net *.split]
amateurhuman has quit [*.net *.split]
matthewd_ has quit [*.net *.split]
yellow5_ is now known as yellow5
jMCg has quit [*.net *.split]
duckinator has quit [*.net *.split]
cschneid has quit [*.net *.split]
cschneid_ has joined #ruby-lang
duckinator has joined #ruby-lang
yfeldblum has joined #ruby-lang
<charliesome> so you could use parser to add 2.0 syntax to 1.9
Oloryn_lt2 has joined #ruby-lang
techlife has quit [Ping timeout: 276 seconds]
<judofyr> charliesome: yeah, when 1.9 is done we should cp ruby{19,20}.y and start porting over the new rules from parse.y
<charliesome> imagine a gem that overrode require
<charliesome> and if a file syntax errored, it tried to parse it as ruby 2.0, converted it to ruby 1.9 and tried again
<judofyr> charliesome: yeah, I've been thinking about various stuff with overriding require. e.g: automatically fix warnings
<judofyr> so you can run with -w and still disable some warnings
<judofyr> # :nowarn:
<charliesome> does anybody actually use -w
<judofyr> charliesome: I try to run tests on it
Domon has quit [Remote host closed the connection]
Oloryn_lt2 has quit [Ping timeout: 256 seconds]
soknee has joined #ruby-lang
<charliesome> judofyr: want to have a go at this? https://github.com/whitequark/parser/pull/3
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
<judofyr> charliesome: shouldn't block_pass be inside an :args?
<judofyr> or wait
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
<charliesome> i don't think so
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
<judofyr> yeah, you're right
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
solars has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
blacktulip has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
xcombelle has joined #ruby-lang
techlife has joined #ruby-lang
wallerdev has joined #ruby-lang
<yorickpeterse> There was a parser alternative to treetop named parsley-something, does anybody remember the name?
vmoravec has joined #ruby-lang
<yorickpeterse> s/was/is
<judofyr> yorickpeterse: parslet
<yorickpeterse> judofyr: marry me
sush24 has quit [Quit: This computer has gone to sleep]
ubersapiens has quit [Ping timeout: 245 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
krohrbaugh has joined #ruby-lang
maxmanders has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 276 seconds]
fosky has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 252 seconds]
soknee has quit [Quit: Leaving.]
srbaker has joined #ruby-lang
<mbj> >> "foo" "bar"
<eval-in> mbj => "foobar" (http://eval.in/15470)
<mbj> wallerdev: You parse this as a dstring node? Why. I like it, but I'm interested.
workmad3 has joined #ruby-lang
<mbj> wallerdev: sorry, I meant whitequark and he is not in channel so my autocompleate picked you ;)
<mbj> whitequark: "foo" "bar" is (dstr (str "foo") (str "bar")) and "foo#{1}bar" is (dstr (str "foo") (int 1) (str "bar")), from a too_source point of view this does not really make sense
jxie has quit [Ping timeout: 252 seconds]
<mbj> whitequark: I'd have to scan a dstr if it acutally contains non string members to emit interpolated or concatenated form.
yalue has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
Guest35746 has quit [Read error: Connection reset by peer]
ged has quit [Read error: Connection reset by peer]
nXqd_ has joined #ruby-lang
<judofyr> mbj: even worse: "hello#{"world"}" and "hello" "world" has the same AST
<mbj> whitequark: One could argue: "foo#{1}#{bar}" is equivalent to: "foo" "#{1}" "bar", but maybe we should addd a specialied to_str node, for not having to inspect nodes children? (dstr (str "foo") (to_str (int 1)) (str "bar"))
ged has joined #ruby-lang
<mbj> judofyr: Yeah, I think "hello" "world" must be concatenated and appear as (str "helloworld")
<mbj> judofyr: Or we add a specialized (concatstring (str "hello") (str "world"))
<mbj> judofyr: I'd prefer the latter for unparser ;)
jxie has joined #ruby-lang
KM|2 has joined #ruby-lang
<mbj> whitequark, judofyr, yorickpeterse: Have to run for a meeting, bbl
nXqd has quit [Ping timeout: 260 seconds]
xxaM has quit [Ping timeout: 260 seconds]
xxaM has joined #ruby-lang
toretore has joined #ruby-lang
techlife has quit [Ping timeout: 245 seconds]
maxmanders has joined #ruby-lang
mbj_ has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
mbj has quit [Ping timeout: 245 seconds]
<mbj_> judofyr: Very spiky initial work on unparser is here https://github.com/mbj/unparser
s0ber has quit [Remote host closed the connection]
techlife has joined #ruby-lang
<judofyr> mbj_: "spike"?
<mbj_> judofyr: spike is the inverse of tdd
Gaelan has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<judofyr> mbj_: hah. didn't knew that.
<judofyr> mbj_: I thought that would be ddt
<mbj_> judofyr: lol
<mbj_> judofyr: A version of unparser that honors 80 chars and produces perfect ruby from ast would need a far more advanced engine
<mbj_> judofyr: Currently it will be a dumb ast walker appending to a buffer, just like to_source
vlad_starkov has quit [Ping timeout: 264 seconds]
Gaelan has quit [Ping timeout: 276 seconds]
<charliesome> mbj_: "hello#{"world"}" is semantically different to "hello" "world" anyway
intellitech has quit [Quit: SMOKE BOMB!]
<charliesome> judofyr ^
<charliesome> if i override String#to_s then they can be different things
intellitech has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jashank has quit [Quit: ZNC - http://znc.in]
jashank has joined #ruby-lang
JohnBat26 has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
rue_XIV has joined #ruby-lang
mahlon has quit [Read error: Connection reset by peer]
judofyr has quit [Read error: Connection reset by peer]
gix has quit [Ping timeout: 245 seconds]
nXqd has joined #ruby-lang
judofyr has joined #ruby-lang
mahlon has joined #ruby-lang
nXqd_ has quit [Ping timeout: 260 seconds]
rue has quit [Ping timeout: 255 seconds]
xxaM has quit [Ping timeout: 260 seconds]
xxaM has joined #ruby-lang
gix has joined #ruby-lang
ubersapiens has joined #ruby-lang
<ubersapiens> hey guys quick q
<ubersapiens> does Ruby have functions
<ubersapiens> or just methods
<judofyr> ubersapiens: just methods
<judofyr> ubersapiens: but there are some methods that are available everywhere, so they kinda work like functions
sepp2k has joined #ruby-lang
<ubersapiens> global methods basically?
<judofyr> yeah
<judofyr> ubersapiens: they're private methods on every Object
<judofyr> e.g: 123.puts 'hello' # => NoMethodError: private method `puts' called for 123:Fixnum
idkazuma has joined #ruby-lang
<judofyr> ubersapiens: so, what do you think about Ruby now?
MaddinXx_ has joined #ruby-lang
quazimodo has joined #ruby-lang
<ubersapiens> i think its great
<ubersapiens> but i have a big problem
<ubersapiens> building a to do app
<ubersapiens> that uses sinatra and postgresql
<judofyr> stuck?
nkr has joined #ruby-lang
krz has quit [Quit: krz]
seoaqua has joined #ruby-lang
realDAB has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
segy has quit [Quit: ZNC - http://znc.in]
imperator has joined #ruby-lang
gnufied has joined #ruby-lang
orrganik has joined #ruby-lang
mistym has joined #ruby-lang
orrganik has quit [Client Quit]
orrganik has joined #ruby-lang
orrganik has left #ruby-lang [#ruby-lang]
JohnBat26 has joined #ruby-lang
Guedes has joined #ruby-lang
Guedes has quit [Changing host]
Guedes has joined #ruby-lang
orrganik has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has quit [Changing host]
holgerno has joined #ruby-lang
sailias has quit [Quit: Leaving.]
Gaelan has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kennyvb has quit [Read error: Connection reset by peer]
kennyvb_ has joined #ruby-lang
intellitech has quit [Quit: intellitech]
Muz has quit [Ping timeout: 264 seconds]
Muz_ has joined #ruby-lang
segy has joined #ruby-lang
orrganik has left #ruby-lang [#ruby-lang]
segy has quit [Client Quit]
Gaelan has quit [Ping timeout: 260 seconds]
rsl has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
jMCg_ is now known as jMCg
workmad3 has joined #ruby-lang
<imperator> good morning
anonymuse has joined #ruby-lang
soknee has joined #ruby-lang
soknee has left #ruby-lang [#ruby-lang]
dustint has joined #ruby-lang
<truls> mornin
intellitech has joined #ruby-lang
<ericwood> yo
<imperator> sup
waxjar has quit [Ping timeout: 264 seconds]
breakingthings has joined #ruby-lang
doki_pen has joined #ruby-lang
waxjar has joined #ruby-lang
<doki_pen> I recently updated rvm and started using .ruby-verion and I can't seem to get gemsets to automatically init
<ericwood> you may want to check out #rvm
<doki_pen> I've tried putting it in .ruby-version and in .ruby-gemset
<doki_pen> ericwood: ok, thanks
<ericwood> np
segy has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
GarethAdams has joined #ruby-lang
david___ has joined #ruby-lang
wmoxam has joined #ruby-lang
dRbiG has left #ruby-lang ["Off"]
david___ has left #ruby-lang [#ruby-lang]
david___ has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
hramrach has quit [Ping timeout: 276 seconds]
david___ has left #ruby-lang [#ruby-lang]
davidstump has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
Gaelan has joined #ruby-lang
MartynKeigher has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cirenyc has joined #ruby-lang
carloslopes has joined #ruby-lang
Serge has joined #ruby-lang
thebastl has quit [Ping timeout: 246 seconds]
dRbiG has joined #ruby-lang
hramrach has joined #ruby-lang
davidstump has left #ruby-lang [#ruby-lang]
Glass_saga has joined #ruby-lang
sailias has joined #ruby-lang
sush24 has joined #ruby-lang
cschneid_ is now known as cschneid
mistym has quit [Remote host closed the connection]
smt has quit [Quit: Konversation terminated!]
yfeldblum has quit [Quit: Leaving]
tonni has quit [Remote host closed the connection]
seoaqua has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
alessio_rocco has quit [Remote host closed the connection]
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
alessio_rocco has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
Gaelan has quit [Read error: Connection reset by peer]
Glass_saga has joined #ruby-lang
Gaelan has joined #ruby-lang
mistym has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
krohrbaugh has joined #ruby-lang
nXqd has quit [Ping timeout: 245 seconds]
adambeynon has quit [Ping timeout: 245 seconds]
thebastl has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
rsl has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
krohrbaugh has quit [Ping timeout: 252 seconds]
rsl has joined #ruby-lang
krohrbaugh has joined #ruby-lang
tonni has joined #ruby-lang
outoftime has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
tonni has quit [Remote host closed the connection]
rippa has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
tonni has joined #ruby-lang
setmeaway has quit [Ping timeout: 264 seconds]
Swimming_Bird has quit [Ping timeout: 257 seconds]
realDAB has quit [Quit: realDAB]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
io_syl has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
<whitequark> omg so much messages in the backlog
<whitequark> yorickpeterse: lemon is awesome, ++++
yfeldblum has joined #ruby-lang
<whitequark> also LL recursive descent is the way to go for really good error reporting
<whitequark> clang's parser is manually written LL RDP
<whitequark> (refactoring tool) yes, I'm going to add this to parser, I already know how it would be designed
<whitequark> you'll only rewrite the code you're interested in
<whitequark> so as not to break unrelated syntax
<whitequark> parslet is as useless as treetop
<judofyr> whitequark: you're going to write rubytidy too?
<mbj_> whitequark: Dont forget the "foo" "bar" vs "foo#{"bar"}" case ;)
<whitequark> judofyr: I'm going to add a Source::Rewriter and a harness for executing transforms from cmdline
mbj_ is now known as mbj
<whitequark> everyone disagrees on the code style, write the damn formatter yourself
<whitequark> it'll be quite simple
<mbj> whitequark: BTW I started the unparser, will finish it this evening. Only reproducing equivalent not original source, (do not take Source::MAp into account).
<whitequark> (ast for blocks {}) it's kinda backwards, but it's this way in MRI, PT and RP, and it actually seems that this is somewhat more convenient
<whitequark> even if it turns out that it isn't, it isn't that much of a problem to warrant a change in AST format
<whitequark> (it's currently mostly-compatible with RP where RP makes sense)
<whitequark> (autoeliminate warnings) will be trivial with the rewriter harness
dhruvasagar has quit [Read error: Operation timed out]
<whitequark> (require & syntax shims) awesome! I have plans for similar tools, too, mainly for SC/CC coverage and not just SC
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
<whitequark> mbj: (unparser) cool! looking forward to that, I'll have uses for it
<whitequark> finally the dstr case
<whitequark> the problem is that I aim to lose no source map info
<whitequark> otherwise a rewriter could not really exist
<whitequark> so in the "foo" "bar" I do have to represent them as distinct nodes
nkr has quit [Ping timeout: 264 seconds]
<judofyr> you could have (cstr) or something
<whitequark> no, the AST captures semantics
<whitequark> there is a ton of cases when I represent subtle syntactic differences *just* in source maps
MaddinXx_ has quit [Remote host closed the connection]
<judofyr> yeah, I agree
<whitequark> ie to distinguish a a:1 (pair) from :a=> 1 (pair) you'll have to call a method on its source map
<whitequark> which will proceed to extract the relevant source part (sic) and determine if it's : or =>
<whitequark> so as to make parsing as fast as possible
<whitequark> and rewriting, which is much less frequent, slower
<whitequark> a tradeoff.
<judofyr> whitequark: I might have gotten charliesome to write ruby19 tests!
<mbj> whitequark: What about a cstring node dedicated to this source level concatenation? Might also be needed in line continuitations with \
jsaak has quit [Ping timeout: 252 seconds]
nathanstitt has joined #ruby-lang
jsaak has joined #ruby-lang
<whitequark> judofyr: already merged some
<whitequark> mbj: no
<whitequark> 1) line continuations are handled before the parser and aren't present in ast
<whitequark> 2) AST is not to contain nodes conveying only source level information
Nisstyre-laptop has joined #ruby-lang
<whitequark> I don't see how this is a problem for to_source, honestly
<whitequark> well you do have to iterate the subnodes
<whitequark> is that a problem?
<whitequark> mbj: (line continuations) they're transparent in both lexer & parser, btw
<whitequark> lexer ignores them, parser doesn't see them
<whitequark> oh crap I think I know of a bug in lexer
<judofyr> bug: it's over 2000 lines of code…
<whitequark> "\\\n" at expr_beg
<whitequark> judofyr: that's an upstream bug ;)
workmad3 has joined #ruby-lang
<judofyr> whitequark: true
thinkdevcode has joined #ruby-lang
guns has joined #ruby-lang
sush24 has quit [Read error: Connection reset by peer]
gnufied has quit [Quit: Leaving.]
krohrbaugh has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 252 seconds]
<mbj> whitequark: So this is intended behaviour Parser.parse('"foo#{"bar"}"') == Parser.parse('"foo" "bar"') ?
<whitequark> mbj: within the current specification it is correct.
<whitequark> I honestly don't see why is this a problem :)
<mbj> whitequark: okay, so the unparser could emit '"foo#{"bar"}' as '"foo" "bar"', other cases such as '"foo#{1}"' would be unparsed as '"foo" "#{1}"'
guns has quit [Quit: guns]
<mbj> whitequark: To acutally "collapse" the dstr where possible the unparser needs to do additonal logic, I'm okay with this.
gnufied has joined #ruby-lang
<whitequark> mbj: hmmm, why the adjacent-concat expansion?
<whitequark> you can do the dstr expansion?
<whitequark> though it will be a bit less efficient on mri, addmittedly
<mbj> whitequark: Forget all my concerns pls, it is easy to implement in the collapsed form.
<mbj> whitequark: Another idea, what about a special node that encapsulates the "#{}" interpolation?
mossplix has joined #ruby-lang
<whitequark> mbj: I thought about it
<whitequark> but I don't quite see the point yet
mossplix has quit [Client Quit]
mossplix has joined #ruby-lang
hramrach has quit [Remote host closed the connection]
hramrach has joined #ruby-lang
stoic_squirrel has joined #ruby-lang
<whitequark> mbj: well, on the second thought it does capture some semantics
<whitequark> iirc there's some really shady stuff going on with overloaded #to_str and interpolated strings
<whitequark> I'd need to consult with rubinius folks
<whitequark> but I think that "a#{"b"}" is really not equivalent to "a" "b" semantically :(
thinkdevcode has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 264 seconds]
<ubersapiens> test
<ubersapiens> hey guys has anyone here used twitter boostrap?
nXqd has joined #ruby-lang
larryzju has joined #ruby-lang
larryzju has quit [Read error: Connection reset by peer]
larryzju has joined #ruby-lang
krohrbaugh has joined #ruby-lang
Swimming_Bird has quit [Ping timeout: 248 seconds]
larryzju has left #ruby-lang [#ruby-lang]
mytrile has quit [Remote host closed the connection]
nXqd has quit [Ping timeout: 246 seconds]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
thebastl has quit [Remote host closed the connection]
Swimming_Bird has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 252 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
|Vargas| has quit [Quit: ...]
<mbj> whitequark: RBX has a ToString node for #{}
tonni has quit [Remote host closed the connection]
<mbj> whitequark: heh rbx: '"foo#{"bar"}"'.to_ast
<mbj> #<Rubinius::AST::StringLiteral:0xf2c @line=1 @string="foobar">
manveru has quit [Ping timeout: 245 seconds]
<mbj> whitequark: They concatenate interpolations if they are resolvable on the source level.
<mbj> whitequark: And dont have a special node for #{}
<whitequark> mbj: I guess then we don't need to?
tsou has quit [Quit: leaving]
<mbj> whitequark: Yeah, that ToString is used elsewhere, but I'd love to cover #{} in source maps?
tsou has joined #ruby-lang
<mbj> whitequark: So it makes sense to include it.
<whitequark> if you want to check if a certain part of string is an interpolation, you can check the end delimiter of the previous (str) node and begin delimiter of the next one
<whitequark> hmm
<mbj> whitequark: Could be an (dstr (str "foo") (interpol (str "bar")))
Gaelan has joined #ruby-lang
<whitequark> since we already emit distinct (str)s for "a" "b"... well. I think we can make that change
<whitequark> so (dstr (str "foo") (interp (str "bar")))
<whitequark> or maybe even "qq", for quasiquoting
<mbj> hehe
<whitequark> or, um, "uq"
<whitequark> unquote, that is
<mbj> whitequark: yeah
<whitequark> mbj: can you please add an issue for (uq) then? or even a pull req :)
<mbj> whitequark: So when we can distinguish between "foo" "bar" and "foo#{"bar"}" we can reproduce better source (for humans)
<mbj> whitequark: I'll try in the evening!
adambeynon has joined #ruby-lang
<whitequark> mbj: thanks
Gaelan has quit [Ping timeout: 245 seconds]
<mbj> whitequark: We have to take all the other dynamic literals into acount, will try to cover these also
<whitequark> mbj: strings and regexps also
<whitequark> (%w are an array of strings)
<mbj> whitequark: also execute strings `echo #{"bar"}`
<whitequark> yep
Tectonic has joined #ruby-lang
lun_ has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
carloslopes has quit [Remote host closed the connection]
dr_bob has quit [Quit: Leaving.]
glebm has joined #ruby-lang
dingus_khan has joined #ruby-lang
snarfmason has joined #ruby-lang
robbyoconnor has joined #ruby-lang
gregmoreno has joined #ruby-lang
erichmenge has quit [Quit: Arrivederci!]
erichmenge has joined #ruby-lang
ivanoats has joined #ruby-lang
marr has quit [Ping timeout: 252 seconds]
ivanoats has quit [Remote host closed the connection]
ivanoats has joined #ruby-lang
Tectonic has quit []
robbyoconnor has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
krohrbaugh has joined #ruby-lang
<imperator> i forgot, is there an easy way to compare hash equality while ignoring case for string keys?
carloslopes has joined #ruby-lang
krohrbaugh has quit [Client Quit]
jg_ has quit [Quit: Leaving]
<r0bgleeson> imperator: HashWithIndifferentAccess maybe?
krohrbaugh has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
<mbj> imperator: Downcase all strings and compare ;)
<apeiros> imperator: no, afaik there is no easy way to do that
<apeiros> even less so if you care about non-ascii chars like Ä->ä too
manveru has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<whitequark> apeiros: you could make a class which delegates to a Hash...
matti has quit [Quit: Oh dear...]
<apeiros> whitequark: "is there an *easy* way" :)
<whitequark> well sure
<apeiros> there are obviously various ways
<apeiros> I'd not consider any of them "easy" (trivial, in the coding sense, yes - but not easy)
lun_ has quit [Remote host closed the connection]
<apeiros> hm, interesting, Unicode gem does not have a casecmp
<whitequark> ugh unicode gem :/
<whitequark> iirc it fails to compile on 2.0
<apeiros> whitequark: do you have better alternatives for dealing with unicode strings?
<whitequark> apeiros: rails
<apeiros> o0
<whitequark> well, it's in pure ruby, that's about everything good about it
<whitequark> (the unicode handler in activesupport, that is)
<whitequark> it's otherwise slow and dumb
<apeiros> rails has Unicode.downcase equivalent?
glebm has quit [Quit: Computer has gone to sleep.]
<whitequark> I think so
<whitequark> .mb_chars.downcase
<apeiros> I'd be very much surprised
<apeiros> I can imagine that they implemented a subset of it
<whitequark> that subset is more than usable for real-world tasks.
<apeiros> until you hit an edge-case. no thanks :)
<apeiros> um, lol?
<apeiros> def upcase
<apeiros> chars(Unicode.apply_mapping @wrapped_string, :uppercase_mapping)
<apeiros> end
nkr has joined #ruby-lang
<apeiros> ah, wait… that's probably not ::Unicode
<whitequark> yep
<apeiros> anyway, I'd s/rails/active_support/
<whitequark> yeah sure
<apeiros> hm, it looks as if they did more than what I'd have expected them to…
carloslopes has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 255 seconds]
<whitequark> don't underestimate dhh ;)
<apeiros> ~4x slower than unicode gem on upcase. that's halfway acceptable.
ubersapiens has quit [Ping timeout: 245 seconds]
<apeiros> whitequark: um, no, dhh definitively didn't write that :-p
holgerno has quit [Quit: Leaving...]
<whitequark> but it's omakase
* imperator misses $=
<whitequark> ugh
<apeiros> lol
glebm has joined #ruby-lang
<whitequark> did it affect case comparisons?! O_O
<whitequark> er, s,case,hash,
<whitequark> that's, like, insane
<imperator> insanely awesome!
<apeiros> reminds me how a contractor turned on case insensitive search in oracle just to notice that about everything broke due to that :D
<whitequark> 18>> h={"A"=>1}; $==true; h["a"]
<eval-in> whitequark => /tmp/execpad-dd1d0f011968/source-dd1d0f011968:2: warning: modifying $= is deprecated ... (http://eval.in/15626)
<apeiros> (because of course, it makes sense that stuff like that is global in oracle :-S)
<whitequark> 18>> $==true; h={"A"=>1}; h["a"]
<eval-in> whitequark => /tmp/execpad-20b958226259/source-20b958226259:2: warning: modifying $= is deprecated ... (http://eval.in/15629)
Swimming_Bird has quit [Ping timeout: 260 seconds]
<whitequark> doesn't seem so
<apeiros> whitequark: hash access uses eql? and #hash
<apeiros> it'd have to affect #hash generation too
<apeiros> (which it doesn't/didn't)
<mbj> whitequark: Lets define a ruby redux/cleanup at some point in the future. Ideally a strict subset.
<whitequark> apeiros: well, that's why I was surprised
<imperator> damn, doesn't work on hashes
<whitequark> mbj: doens't make sense for "big" ruby impls
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
<whitequark> I mean you could define a style guide but that's about it
<mbj> whitequark:
<apeiros> I do wish there was a NormalizedHash class factory, though
<mbj> whitequark: heh, just talking about the ideal world ;)
Swimming_Bird has joined #ruby-lang
lun_ has joined #ruby-lang
<imperator> moar factories!
<mbj> whitequark: Heh, someone once thought we'll use java to solve a problem, soon he ended up in useing a ProblemFactory ;)
<apeiros> CaseInsensitiveHash = NormalizedHash.new do |key| Unicode.downcase(key) end; x = CaseInsensitiveHash.new; x["a"] = 1; x["A"] # => 1
<whitequark> I think it does not mention the word 'factory' often enough
<apeiros> whitequark: you didn't happen to see enterprise fizzbuzz?
<whitequark> apeiros: I did. but that's a joke
<whitequark> look at the COM helloworld
<whitequark> it ISN'T a joke, and that's what is sad
symm- has joined #ruby-lang
nkr has quit [Read error: Connection reset by peer]
<apeiros> :)
nkr has joined #ruby-lang
<apeiros> *that's* job security…
<apeiros> and agreed, this is indeed sad.
thebastl has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
GarethAdams has joined #ruby-lang
GarethAdams has quit [Client Quit]
thebastl has quit [Remote host closed the connection]
Luwe has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
<imperator> that makes about as much sense as saying "look how difficult it is to program hello world in Rails"
Luwe has quit [Client Quit]
imperator has left #ruby-lang ["Leaving"]
<whitequark> it isn't?
<whitequark> echo "hello world" > app/views/index/index.html.erb
thebastl has joined #ruby-lang
mossplix has quit [Read error: Connection reset by peer]
jfarmer has joined #ruby-lang
agile has quit [Remote host closed the connection]
MehLaptop has joined #ruby-lang
amerine has joined #ruby-lang
tylersmith has joined #ruby-lang
<apeiros> drbrain: what's rdoc's equivalent of yard's @see? i.e. referencing another method in the docs?
kgrz has joined #ruby-lang
sush24 has joined #ruby-lang
MehLaptop has quit [Read error: Connection reset by peer]
MehLaptop has joined #ruby-lang
carloslopes has joined #ruby-lang
kgrz has quit [Ping timeout: 248 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
breakingthings has quit [Quit: *poof*]
mossplix has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 255 seconds]
<zzak> apeiros: which method?
<zzak> "See also: Array#select!"
<apeiros> zzak: in general. I want to add a patch to Range#cover? and #include? which highlights how they differ and how they're similar
<apeiros> zzak: ok, just plaintext in the form `See also: REFERENCE`
Nisstyre-laptop has quit [Quit: Leaving]
<zzak> if you're already in range, just #cover? should work
<apeiros> assumed so
<zzak> yep
<apeiros> but thanks for being explicit :)
<zzak> :D
<apeiros> well then… this week-end is doc-patch week-end I guess
<apeiros> though I only have 3 so far which I want to add
<zzak> sweet
kgrz has joined #ruby-lang
__butch__ has joined #ruby-lang
<zzak> im a little behind on my queue, but i will get to it, if someone doesnt beat me to it
<zzak> apeiros: thank you for the patches!
<apeiros> don't thank me before I committed!
<apeiros> that puts unbearable pressure on me! how evil!!! :D
<apeiros> d'oh, train. *runs*
apeiros has quit [Remote host closed the connection]
dustint has quit [Ping timeout: 260 seconds]
kgrz has quit [Ping timeout: 256 seconds]
<zzak> im paying the thank you forward
<zzak> use it when applicable
dc5ala has joined #ruby-lang
<freedrull> anyone try vim-dispatch yet
fire has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Max SendQ exceeded]
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
dustint has joined #ruby-lang
heftig has joined #ruby-lang
baba has joined #ruby-lang
bushido has joined #ruby-lang
<ddd> i have
<ddd> its supposed to launch a 2nd non-focus-stealing window but its not doing that. then again I'm ssh'd into a remote dev box
vlad_starkov has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
ubersapiens has joined #ruby-lang
s0ber has joined #ruby-lang
Andromeda has joined #ruby-lang
srbaker has joined #ruby-lang
djwonk has joined #ruby-lang
mistym is now known as mistym_lunch
dustint has quit [Ping timeout: 256 seconds]
swav has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<freedrull> ddd: ahah hmmm interesting...seems like it wouldn't matter if you were ssh'd if it was using tmux
gnufied has quit [Quit: Leaving.]
ubersapiens has quit [Ping timeout: 245 seconds]
<ddd> freedrull: was using screen at the time. just tested it on the remote using tmux 1.6 and its still taking focus
cirenyc has quit [Quit: Leaving...]
totallymike has joined #ruby-lang
cmckni3 has joined #ruby-lang
symm- has quit [Quit: Leaving...]
symm- has joined #ruby-lang
cirenyc has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
dustint has joined #ruby-lang
MehLaptop has quit [Read error: Connection reset by peer]
MehLaptop has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
maxmanders has joined #ruby-lang
Luwe has joined #ruby-lang
wyhaines has joined #ruby-lang
david___ has joined #ruby-lang
david___ has quit [Remote host closed the connection]
Kuukunen has quit [Ping timeout: 245 seconds]
cirenyc has quit [Ping timeout: 245 seconds]
sush24 has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Kuukunen has joined #ruby-lang
tonni has joined #ruby-lang
nyuszika7h_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
tyler_ has joined #ruby-lang
jonahR has joined #ruby-lang
nyuszika7h has quit [Ping timeout: 256 seconds]
tyler has quit [Ping timeout: 256 seconds]
Nisstyre-laptop has quit [Quit: Leaving]
breakingthings has joined #ruby-lang
lun_ has quit [Remote host closed the connection]
nyuszika7h_ is now known as nyuszika7h
cored has quit [Ping timeout: 255 seconds]
crudson has quit [Ping timeout: 248 seconds]
Luwe has quit [Ping timeout: 248 seconds]
cored has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 256 seconds]
MehLaptop has quit [Remote host closed the connection]
sush24 has quit [Ping timeout: 245 seconds]
thebastl has quit [Remote host closed the connection]
Andromeda has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
nertzy3 has joined #ruby-lang
MehLaptop has joined #ruby-lang
adambeynon has joined #ruby-lang
headius has joined #ruby-lang
bryanl has quit [Ping timeout: 256 seconds]
krohrbaugh has quit [Quit: Leaving.]
dc5ala has quit [Ping timeout: 264 seconds]
nertzy2 has quit [Ping timeout: 276 seconds]
mistym_lunch is now known as mistym_meeting
GitNick has quit [Ping timeout: 264 seconds]
Luwe has joined #ruby-lang
bryanl has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Luwe has quit [Quit: leaving]
marr has joined #ruby-lang
MaddinXx has joined #ruby-lang
xcombelle has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
marr has quit [Ping timeout: 246 seconds]
perry has quit [Ping timeout: 240 seconds]
Axsuul has joined #ruby-lang
GitNick has joined #ruby-lang
perry has joined #ruby-lang
perry is now known as Guest37184
nXqd has joined #ruby-lang
nXqd has quit [Remote host closed the connection]
Burgestrand has joined #ruby-lang
mbj has quit [Quit: leaving]
bryanl has quit [Read error: Connection reset by peer]
Andromeda has joined #ruby-lang
krohrbaugh has joined #ruby-lang
bryanl has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
ddd has quit [Quit: Upgrading VM]
mytrile has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
ddd has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
mossplix has quit [Read error: Connection reset by peer]
nXqd has joined #ruby-lang
agile has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
sush24 has quit [Ping timeout: 260 seconds]
_protagoras271_ has joined #ruby-lang
enebo has joined #ruby-lang
mossplix has joined #ruby-lang
lele has quit [Ping timeout: 246 seconds]
lele|w has quit [Ping timeout: 246 seconds]
adambeynon has joined #ruby-lang
dustint_ has joined #ruby-lang
dustint has quit [Ping timeout: 264 seconds]
lele has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
postmodern has joined #ruby-lang
Serge has quit [Ping timeout: 246 seconds]
jfarmer has quit [Quit: Textual IRC Client: www.textualapp.com]
mistym_meeting is now known as mistym
sepp2k has joined #ruby-lang
lele|w has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dougsko has quit [Ping timeout: 260 seconds]
dougsko has joined #ruby-lang
MehLaptop has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mytrile has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 245 seconds]
MaddinXx has quit [Remote host closed the connection]
ilyam has joined #ruby-lang
forrest has joined #ruby-lang
heftig has joined #ruby-lang
headius has quit [Quit: headius]
rippa has quit [Ping timeout: 240 seconds]
mytrile has quit [Ping timeout: 246 seconds]
ledestin has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
MehLaptop has joined #ruby-lang
pkrnj has joined #ruby-lang
Andromeda has quit [Remote host closed the connection]
mbj has joined #ruby-lang
MehLaptop has quit [Remote host closed the connection]
thone has joined #ruby-lang
thone_ has quit [Read error: Operation timed out]
krohrbaugh has joined #ruby-lang
brianpWins has joined #ruby-lang
workmad3 has joined #ruby-lang
Burgestrand has joined #ruby-lang
lele has quit [Ping timeout: 256 seconds]
gix has quit [Ping timeout: 246 seconds]
lele|w has quit [Ping timeout: 264 seconds]
lele|w has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
gix has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
totallymike has quit [Quit: WeeChat 0.4.0]
kurko_ has joined #ruby-lang
Andromeda has joined #ruby-lang
sailias has quit [Ping timeout: 245 seconds]
lele has joined #ruby-lang
nkr has quit [Quit: Linkinus - http://linkinus.com]
marr has joined #ruby-lang
pib1999 has quit [Remote host closed the connection]
agile has quit [Quit: Ex-Chat]
swav has joined #ruby-lang
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-lang
workmad3 has joined #ruby-lang
zastern has joined #ruby-lang
<postmodern> how do you test respond_to_missing? on 2.0.0, since it's now private
mossplix has quit [Read error: Connection reset by peer]
pib1964 has joined #ruby-lang
<apeiros> postmodern: I don't think you're supposed to call that yourself
<apeiros> you call respond_to?, and that will use respond_to_missing? in turn
<postmodern> apeiros, ah ha
zenspider has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
rockets_ has joined #ruby-lang
nathanstitt has quit [Quit: Computer has gone to sleep]
nathanstitt has joined #ruby-lang
zastern has quit [Ping timeout: 245 seconds]
<zenspider> rawr
krohrbaugh has quit [Quit: Leaving.]
<zenspider> rking: thanks! fixed!
nathanstitt has quit [Ping timeout: 256 seconds]
mossplix has joined #ruby-lang
krohrbaugh has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
Nisstyre has joined #ruby-lang
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
jmeeuwen has quit [Read error: Operation timed out]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
Wardrop[home] has joined #ruby-lang
nathanstitt has joined #ruby-lang
Averna has joined #ruby-lang
Wardrop[home] has quit [Client Quit]
cored has quit [Quit: leaving]
Wardrop[home] has joined #ruby-lang
ubersapiens has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
Gaelan has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
seaclay has joined #ruby-lang
<ubersapiens> guys im taking a ruby course thats implementing sinatra at the moment, to then swtich to rails in a week or so...but i have never done HTML/CSS...any basic tutorial other than that 'grabbing by the hand' codecademy one to learn the backbone of both
<ubersapiens> thank you in advance
tbuehlmann has quit [Remote host closed the connection]
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh has joined #ruby-lang
forrest has quit [Quit: Leaving]
<ubersapiens> i ask this because the main.rb file links to ERB files which are all written in html
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
breakingthings has quit []
seaclay has left #ruby-lang [#ruby-lang]
seaclay has joined #ruby-lang
seaclay has left #ruby-lang [#ruby-lang]
outoftime has quit [Quit: Leaving]
Gaelan has quit [Remote host closed the connection]
nathanstitt has quit [Quit: Computer has gone to sleep]
nathanstitt has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
mytrile has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
nathanstitt has quit [Ping timeout: 264 seconds]
nathanst1tt has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 264 seconds]
Averna has quit [Quit: Leaving.]
Gaelan has joined #ruby-lang
dustint_ has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
<zenspider> ubersapiens: well... they're written in ERB, which is any old text with embedded ruby in it... but that's just picking nits
mytrile has quit [Ping timeout: 276 seconds]
znz_jp has quit [Quit: kill -QUIT $$]
glebm has joined #ruby-lang
nathanst1tt has quit [Quit: Computer has gone to sleep]
nathanstitt has joined #ruby-lang
znz_jp has joined #ruby-lang
enebo has quit [Quit: enebo]
Gaelan has quit [Remote host closed the connection]
nathanstitt has quit [Ping timeout: 248 seconds]
rockets_ has quit [Remote host closed the connection]
zastern has joined #ruby-lang
znz_v0 has quit [Quit: kill -QUIT $$]
znz_v has joined #ruby-lang
jonahR has quit [Quit: jonahR]
agarie has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
ubersapiens has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
fragamus has joined #ruby-lang
Wardrop[home] is now known as Wardrop
sailias has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
idkazuma has joined #ruby-lang
<rking> (Np)
sailias has quit [Quit: Leaving.]
anonymuse has quit [Quit: Leaving...]
matti has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 248 seconds]
krohrbaugh has joined #ruby-lang
robbyoconnor has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
Guedes has quit [Disconnected by services]
Guedes0 has joined #ruby-lang
mytrile has joined #ruby-lang
dingus_khan has quit [Ping timeout: 246 seconds]
mytrile has quit [Ping timeout: 246 seconds]
sepp2k has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
charliesome has joined #ruby-lang
mjio has joined #ruby-lang
chendo__ has joined #ruby-lang
idkazuma has quit [Ping timeout: 240 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
mossplix has quit [Quit: mossplix]
Bearproof has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
__butch__ has quit [Quit: Leaving.]
rockets has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
Nisstyre has quit [Ping timeout: 255 seconds]
chendo__ has quit [Quit: Leaving...]
Nisstyre has joined #ruby-lang
zastern has quit [Ping timeout: 256 seconds]
rockets has quit [Remote host closed the connection]
Guest37184 has left #ruby-lang [#ruby-lang]
spuk has joined #ruby-lang