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
gregmoreno has quit [Remote host closed the connection]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
enebo has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
symm- has quit [Ping timeout: 246 seconds]
setmeaway has joined #ruby-lang
dougsko has quit [Ping timeout: 264 seconds]
mytrile has joined #ruby-lang
dougsko has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
mytrile has quit [Ping timeout: 260 seconds]
enebo has quit [Quit: enebo]
zenspider has quit [Quit: Terminated with extreme prejudice - dircproxy 1.1.0]
lcdhoffman has joined #ruby-lang
jhn has joined #ruby-lang
swav has quit [Ping timeout: 245 seconds]
Andromed_ has joined #ruby-lang
Andromeda has quit [Ping timeout: 245 seconds]
dustint_ has joined #ruby-lang
glebm has joined #ruby-lang
lele has quit [Ping timeout: 264 seconds]
lele|w has quit [Ping timeout: 264 seconds]
cored has quit [Ping timeout: 245 seconds]
lele|w has joined #ruby-lang
shoru has joined #ruby-lang
lele has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
setmeaway has quit [Quit: Leaving]
megha has joined #ruby-lang
baba has quit [Ping timeout: 248 seconds]
Nisstyre has quit [Ping timeout: 245 seconds]
swav has joined #ruby-lang
anonymuse has joined #ruby-lang
Nisstyre has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
Domon has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
tylersmith has joined #ruby-lang
ritek has joined #ruby-lang
shoru has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
anonymuse has quit [Quit: Leaving...]
tylersmith has quit [Quit: tylersmith]
waxjar has quit [Remote host closed the connection]
waxjar has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
kain has quit [Quit: exit]
swav_ has joined #ruby-lang
nathanstitt has joined #ruby-lang
swav has quit [Ping timeout: 248 seconds]
yalue has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
ryez_ has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
lele has quit [Ping timeout: 256 seconds]
lele has joined #ruby-lang
quazimodo has quit [Ping timeout: 256 seconds]
anonymuse has joined #ruby-lang
dingus_khan has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
Tectonic has joined #ruby-lang
kurko_ has joined #ruby-lang
kurko_ has quit [Client Quit]
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
Gaelan has quit [Read error: Connection reset by peer]
Gaelan has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
nXqd has quit [Ping timeout: 256 seconds]
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
ilyam has quit [Ping timeout: 260 seconds]
valeri_ufo has quit [Ping timeout: 264 seconds]
valeri_ufo has joined #ruby-lang
Gaelan has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
nathanstitt has quit [Quit: Computer has gone to sleep]
nathanstitt has joined #ruby-lang
valeri_ufo has quit [Ping timeout: 240 seconds]
DEac- has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
nathanstitt has quit [Ping timeout: 260 seconds]
valeri_ufo has joined #ruby-lang
mytrile has joined #ruby-lang
SubSpawn has quit [Read error: Operation timed out]
jxie_ has joined #ruby-lang
mytrile has quit [Ping timeout: 256 seconds]
agarie_ has joined #ruby-lang
jxie has quit [Ping timeout: 256 seconds]
tsion has joined #ruby-lang
tsion has joined #ruby-lang
jxie_ has quit [Ping timeout: 260 seconds]
agarie has quit [Ping timeout: 246 seconds]
jxie has joined #ruby-lang
krohrbaugh has joined #ruby-lang
sush24 has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
DEac- has joined #ruby-lang
aja has joined #ruby-lang
TheNotary has quit [Quit: Leaving]
dustint_ has quit [Ping timeout: 240 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
dingus_khan has quit [Ping timeout: 256 seconds]
dingus_khan has joined #ruby-lang
kain has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 248 seconds]
mytrile has joined #ruby-lang
Domon has quit [Remote host closed the connection]
mytrile has quit [Ping timeout: 256 seconds]
sush24 has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
jxie has quit [Ping timeout: 264 seconds]
jxie has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
cordax has joined #ruby-lang
dc5ala has joined #ruby-lang
dc5ala has quit [Remote host closed the connection]
anonymuse has quit [Quit: Leaving...]
Domon has joined #ruby-lang
brianpWins has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
jxie has quit [Ping timeout: 264 seconds]
rippa has joined #ruby-lang
jxie has joined #ruby-lang
Burgestrand has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Gaelan has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
thebastl has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Gaelan has quit [Ping timeout: 255 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
agarie has joined #ruby-lang
mytrile has joined #ruby-lang
agarie_ has quit [Ping timeout: 255 seconds]
mytrile has quit [Ping timeout: 245 seconds]
tonni has quit [Remote host closed the connection]
ruby-lang150 has joined #ruby-lang
intellitech has quit [Quit: SMOKE BOMB!]
ruby-lang150 has quit [Client Quit]
mistym has quit [Remote host closed the connection]
intellitech has joined #ruby-lang
djwonk has quit []
krohrbaugh has joined #ruby-lang
tonni has joined #ruby-lang
ryez_ has quit []
ryez_ has joined #ruby-lang
thebastl_ has joined #ruby-lang
symm- has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 240 seconds]
krohrbaugh has joined #ruby-lang
thebastl has quit [Ping timeout: 252 seconds]
Serge has joined #ruby-lang
dingus_khan has quit [Ping timeout: 260 seconds]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
lun_ has joined #ruby-lang
robbyoconnor has quit [Remote host closed the connection]
_whitelogger has joined #ruby-lang
Serge has quit [Ping timeout: 264 seconds]
jxie has quit [Ping timeout: 260 seconds]
thebastl_ has quit [Ping timeout: 264 seconds]
jxie has joined #ruby-lang
chendo_ has quit [Ping timeout: 245 seconds]
bougyman has quit [Ping timeout: 264 seconds]
chendo_ has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
cordax has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
jxie has quit [Ping timeout: 240 seconds]
Serge has joined #ruby-lang
jxie has joined #ruby-lang
Gaelan has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
_whitelogger has joined #ruby-lang
_whitelogger has joined #ruby-lang
Gaelan has quit [Ping timeout: 276 seconds]
Serge has quit [Ping timeout: 245 seconds]
Serge has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
thebastl has joined #ruby-lang
seoaqua has joined #ruby-lang
mossplix has joined #ruby-lang
dr_bob has joined #ruby-lang
mossplix has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
mytrile has joined #ruby-lang
Tectonic has quit []
krohrbaugh has quit [Quit: Leaving.]
mbj has joined #ruby-lang
mossplix has joined #ruby-lang
<dingus_khan> so I can't find it anywhere in the array info I've got out, but how does one get ruby to craft an array for me from arguments passed into a method again? here's what I'm trying to do: http://pastebin.com/ADxjnVDc
<shachaf> def foo(*args)
<shachaf> Or maybe that's not what you're asking.
<shachaf> I'm not sure I follow that paste.
fsvehla has joined #ruby-lang
<dingus_khan> oh it's a set amount of args that's being passed in, I just want to shove them in an array and check to see if any of them are empty (I'll rewrite the block so that makes sense, just noticed it now)
<shachaf> I'd just use [a,b,c], then.
<dingus_khan> but the array.New(args) is not initializing right
<shachaf> [a,b,c] is a three-element array containing a, b, and c.
<dingus_khan> oh, just with the brackets instead of the parens? I thought you used the parens for elements to be passed into a new array using the .New method..?
<shachaf> There is no .new method here.
<shachaf> Well, nothing explicit.
<dingus_khan> and that will use the arguments (a,b,c) passed in to the method?
<shachaf> Is there anything specific to arguments passed to a method here?
<shachaf> You have three values, you want to make an array that contains them. Or am I confused?
<dingus_khan> they're just integer values for lengths of sides for a theoretical triangle that are being passed into the method as arguments, and I need to return a false or an error or something if any of the three elements is empty or missing, so I figured I'd just stick them all in an array and check to see if any of them are empty. is that just not the right way to do that?
<shachaf> Well, an array with three values will never be empty.
<shachaf> I'm not sure what you're trying to do exactly.
<shachaf> If you def foo(a, b, c), then calling foo with anything other than three arguments is an error.
<shachaf> blah.empty? checks if blah is empty, not anything elementwise.
<shachaf> I suspect there are several levels of confusion going on here.
tonni has quit [Remote host closed the connection]
<dingus_khan> oh, so it won't pass in the values of the arguments from the method call into the array as values? and right, having it crash by not supplying enough values makes sense, but it's failing the spec I need to meet. and what is blah then? not an array of the argument values passed in?
<shachaf> It seems that you are confused.
<dingus_khan> at my level of comprehension, there are always several levels of confusion, lol
<shachaf> At a high level, what is the problem that you're worrying will happen?
<dingus_khan> apparently so
<dingus_khan> I need to have a method that will tell me if the values passed in through the method call can form a valid triangle. if any of the arguments passed in are empty, it needs to return a clear "false" or error message.
<shachaf> What is an empty value?
<shachaf> Sorry.
<shachaf> What is an empty argument?
<dingus_khan> puts valid_triangle?(1, 2) instead of puts valid_triangle?(1, 2, 3)
<shachaf> OK.
<shachaf> You should try it with a simple method and see what happens.
<shachaf> def foo(a, b, c); p a; p b; p c; end
<shachaf> foo(1, 2)
<dingus_khan> having it just fail is apparently not enough for the requirements of this prompt, so a clear "there's nothing here" error is needed, so I believed that meant I needed to check to see if any of the arguments are empty
<shachaf> What do you expect will happen when you run that? Then run it and see what does happen.
<shachaf> I don't follow.
<shachaf> Why isn't it enough to have it just fail?
<shachaf> Who is going to be calling this method?
<dingus_khan> right, it fails in my terminal because it has the wrong number of arguments, and that would be fine for me, but this spec is telling me that I need to have it return some kind of error message if that happens and exit the method then and there
<shachaf> A spec?
<shachaf> Where's the spec? Can I see it?
<dingus_khan> it's this testing platform that's part of the program I'm a part of. and unfortunately, I believe as part of my nondisclosure agreement, I can't share any part of the proprietary platform with anyone outside the program, sorry :(
<shachaf> OK.
<dingus_khan> the written part of the error I'm receiving when I'm trying to submit my code is as follows, though: Error! valid_triangle? returns false if any of the arguments are 0 expected: false value got: true
<shachaf> Then I will say that there's a high probability that either it's a bad spec or you don't understand it.
<shachaf> Oh, 0.
<shachaf> 0 isn't valid_triangle?(1, 2)
<shachaf> 0 is valid_triangle?(1, 2, 0)
<shachaf> Read the spec carefully, if you're implementing it exactly.
<dingus_khan> so they're saying it can't be a value of 0 then? it would make sense, but that's not clearly articulated in the spec. granted, not the first time something is awkwardly worded...
mytrile has quit [Remote host closed the connection]
<shachaf> I haven't read the spec but I suspect it might also have to do with not having a good understanding of the language yet. :-)
<shachaf> Anyway, I can't tell you what it wants.
mytrile has joined #ruby-lang
<dingus_khan> right, still very new to programming/ruby, but I think I get what you're saying now, the error didn't make much sense to me, but you've helped me see it differently, so thanks for that!
jhn has quit []
dhruvasagar has joined #ruby-lang
krohrbaugh has joined #ruby-lang
chendo_ has quit [Ping timeout: 252 seconds]
tonni has joined #ruby-lang
chendo_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Gaelan has joined #ruby-lang
AJA has quit [Quit: Leaving.]
krohrbaugh has quit [Ping timeout: 252 seconds]
mossplix has quit [Read error: Connection reset by peer]
nXqd has joined #ruby-lang
bzalasky has joined #ruby-lang
mjio has quit []
Mon_Ouie has joined #ruby-lang
Gaelan has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
JohnBat26 has joined #ruby-lang
JohnBat26 has quit [Client Quit]
JohnBat26 has joined #ruby-lang
Gaelan has joined #ruby-lang
mossplix has joined #ruby-lang
postmodern has quit [Quit: Leaving]
kke has quit [Remote host closed the connection]
jmeeuwen has joined #ruby-lang
Gaelan has quit [Ping timeout: 248 seconds]
mbj has quit [Quit: leaving]
apeiros has joined #ruby-lang
dagobah has joined #ruby-lang
skade has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 245 seconds]
ritek has quit [Quit: leaving]
dingus_khan has quit [Ping timeout: 260 seconds]
tsion has quit [Quit: Leaving]
krohrbaugh has joined #ruby-lang
maxmanders has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 256 seconds]
marr has joined #ruby-lang
mossplix has quit [Ping timeout: 252 seconds]
torrieri has joined #ruby-lang
solars has joined #ruby-lang
mossplix has joined #ruby-lang
judofyr has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
gnufied has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<judofyr> whitequark: actually, puts RubyVM::InstructionSequence.new('"a#{"b"}"').disasm
<judofyr> 0002 putstring "ab"
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
torrieri has quit [Quit: Leaving...]
jashank has left #ruby-lang [#ruby-lang]
beiter has quit [Ping timeout: 260 seconds]
judofyr has quit [Read error: Connection reset by peer]
Gaelan has joined #ruby-lang
<yorickpeterse> whitequark: old news
judofyr has joined #ruby-lang
alessio_rocco has joined #ruby-lang
lun__ has joined #ruby-lang
<whitequark> judofyr: oh I see
lun_ has quit [Read error: Connection reset by peer]
Gaelan has quit [Ping timeout: 245 seconds]
<apeiros> judofyr: nice, so ruby optimizes that
adambeynon has joined #ruby-lang
<judofyr> whitequark: it might be different in 1.8 though
skade has quit [Remote host closed the connection]
mbj has joined #ruby-lang
kgrz has joined #ruby-lang
krohrbaugh has joined #ruby-lang
<whitequark> judofyr: btw, I just realized that with llvm, I can do inline assembly like this:
mossplix has quit [Read error: Connection reset by peer]
<whitequark> foo = 1; bar = 2; `ldi r0, $0x10; add #{bar}, #{foo}, r0`; p bar # => 17
sush24 has joined #ruby-lang
<judofyr> whitequark: hah, now that's nice
skade has joined #ruby-lang
Wardrop has left #ruby-lang [#ruby-lang]
krohrbaugh has quit [Ping timeout: 252 seconds]
lun__ has quit [Remote host closed the connection]
kgrz has quit [Quit: Computer has gone to sleep.]
noop has quit [Ping timeout: 264 seconds]
Glass_saga has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
Glass_saga has joined #ruby-lang
blacktulip has joined #ruby-lang
noop has joined #ruby-lang
GarethAdams has joined #ruby-lang
dmoctezuma has joined #ruby-lang
dmoctezuma is now known as ritek
megha has quit [Ping timeout: 248 seconds]
security has joined #ruby-lang
security is now known as megha
sv has joined #ruby-lang
sv has joined #ruby-lang
discopig has quit [Ping timeout: 248 seconds]
earthquake has quit [Quit: earthquake]
bzalasky has quit [Remote host closed the connection]
ubersapiens has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
beiter has joined #ruby-lang
Andromed_ has quit [Remote host closed the connection]
snafoo has joined #ruby-lang
snafoo has quit [Changing host]
snafoo has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 276 seconds]
ubersapiens has quit [Ping timeout: 245 seconds]
<chris2> is Aman Gupta around?
sush24 has quit [Quit: This computer has gone to sleep]
<gnufied> not sure if he comes online much on #ruby-lang
Gaelan has joined #ruby-lang
Gaelan has quit [Ping timeout: 245 seconds]
Guedes0 has left #ruby-lang [#ruby-lang]
d3vic3 has joined #ruby-lang
sv is now known as discopig
dr_bob has quit [Quit: Leaving.]
dr_bob has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<apeiros> isn't aman gupta = tmm1?
tsion has joined #ruby-lang
<andrewvos> who dat
dr_bob has quit [Client Quit]
thebastl_ has joined #ruby-lang
r0bgleeson has joined #ruby-lang
Domon has quit [Remote host closed the connection]
heftig has joined #ruby-lang
thebastl has quit [Ping timeout: 256 seconds]
<whitequark> grr, need cross-binutils
d3vic3 has quit [Quit: leaving]
krohrbaugh has joined #ruby-lang
workmad3 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
<judofyr> apieros: yeah, I think so
idkazuma has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
dr_bob has joined #ruby-lang
nkr has joined #ruby-lang
quazimodo has joined #ruby-lang
zomgbie has joined #ruby-lang
sv has joined #ruby-lang
sv has joined #ruby-lang
thebastl_ has quit [Remote host closed the connection]
discopig has quit [Disconnected by services]
sv is now known as discopig
<yorickpeterse> >> require 'ripper'; Ripper.sexp('A::B::C')[1]
<eval-in> yorickpeterse => [[:const_path_ref, [:const_path_ref, [:var_ref, [:@const, "A", [1, 0]]], [:@const, "B", [1, 3]]], [:@const, "C", [1, 6]]]] (http://eval.in/15760)
<yorickpeterse> lol
seoaqua has quit [Ping timeout: 245 seconds]
chendo__ has joined #ruby-lang
chendo_ has quit [Quit: Leaving...]
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
sailias has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
sush24 has joined #ruby-lang
srbaker has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
baz_ has quit [Ping timeout: 245 seconds]
tsion has quit [Quit: Leaving]
idkazuma has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby-lang
gix has quit [Ping timeout: 245 seconds]
<whitequark> mbj: hi
baz_ has joined #ruby-lang
<mbj> whitequark: hi
gix has joined #ruby-lang
Gaelan has joined #ruby-lang
smt has joined #ruby-lang
smt has left #ruby-lang [#ruby-lang]
marr has quit [Ping timeout: 248 seconds]
Muz_ is now known as Muz
<mbj> whitequark: Beginning to add the dstry modifications we talked about
Gaelan has quit [Ping timeout: 256 seconds]
flujan has joined #ruby-lang
krohrbaugh has joined #ruby-lang
<flujan> hello guys. I create a multithread TCP/Server to run my rails app. I believe it is leaking somewhere… But I don't know how to debug it.
<flujan> any ideas how can I isolate the objects being initialised?
fsvehla has quit [Ping timeout: 264 seconds]
fsvehla has joined #ruby-lang
chendo__ has quit [Quit: Leaving...]
chendo_ has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
chendo_ has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
chendo_ has joined #ruby-lang
gnufied has quit [Ping timeout: 248 seconds]
realDAB has joined #ruby-lang
gnufied has joined #ruby-lang
mistym has quit [Remote host closed the connection]
charliesome_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
sailias has joined #ruby-lang
kurko_ has joined #ruby-lang
charliesome has quit [Disconnected by services]
charliesome_ is now known as charliesome
noop has quit [Read error: Connection reset by peer]
noop has joined #ruby-lang
mistym has joined #ruby-lang
<whitequark> mbj: Disregard them please, I found a better way
<whitequark> which does not require adding nodes solely for the source maps
<mbj> whitequark: tell me more!
jerrytgarcia has joined #ruby-lang
anonymuse has joined #ruby-lang
<whitequark> mbj: sec
<mbj> whitequark: I try to start unparser in this row: literals, dynamic literals, variables, assignments, op assignments, ...
<mbj> whitequark: So I'm stuck ad dynamic literals ;)
<whitequark> ok. so the problem is that we have a node with an arbitrary Source::Map descendant at hand, and we need to add #{} info for them
<whitequark> there are two solutions
<whitequark> the first is to add #{} info to Source::Map. we won't be doing that :)
breakingthings has joined #ruby-lang
<whitequark> the second is to create a Source::Map::Interpolation, which has interp_begin and interp_end
<whitequark> and delegates the rest to the original Source::Map of the node
<whitequark> how does that sound to you?
<whitequark> mbj: ^
<mbj> whitequark: got intterrupted
wmoxam has joined #ruby-lang
dustint has joined #ruby-lang
<mbj> whitequark: Where the Source::Map::Interpolation instances would be stored
<mbj> whitequark: in the dstr childs?
<mbj> whitequark: so "foo#{:bar}" would look like (dstr (str "foo") (sym :bar)) where (sym :bar) would have an interpolation source map?
<whitequark> mbj: yep!
<whitequark> and the (str "foo"), not so.
<whitequark> (it'll have the begin pointing at " and end pointing at #{)
<mbj> whitequark: Interesting idea, that interpolation source map would wrap the "normal" (sym :bar) source map.
<judofyr> whitequark: how would you delegate the attributes? method_missing?
<mbj> whitequark: You implemented this already?
<whitequark> mbj: not yet
<whitequark> I don't have any source maps tbh, except for terminal tokens
<whitequark> (true, false, etc)
<whitequark> judofyr: method_missing
<mbj> whitequark: ahh okay, I'll just implement unparser with the current api and change it later once situartion improves.
<mbj> whitequark: So the differnce between "foo" "bar" and "foo#{"bar"}" would NOT be visible from the sexp?
<whitequark> mbj: from the sexp, no.
<mbj> whitequark: okay
tbuehlmann has joined #ruby-lang
idkazuma has joined #ruby-lang
TheNotary has joined #ruby-lang
ikst has joined #ruby-lang
<mbj> whitequark: I'd love to see parser speed when using foundry primitives!
ikst has left #ruby-lang [#ruby-lang]
realDAB has quit [Quit: realDAB]
<whitequark> mbj: it seems quite likely at this point that with foundry, parser will use rbx-like ASTs
<whitequark> the problem with sexps is that they use a lot of union types, and that isn't really convenient with the static type system
<whitequark> I'd have to look how it was done in Typed Racket, however
adam12 has quit [Ping timeout: 240 seconds]
<mbj> whitequark: Interesting. I'll watch it closely
<whitequark> mbj: though the nodes themselves would be closely modelled after the sexp format
<whitequark> so there won't be hundreds of them :)
krohrbaugh has joined #ruby-lang
<mbj> whitequark: yeah
<mbj> github down...
<whitequark> worksforme
<mbj> whitequark: http://status.github.com reflects my view of the world ;)
<whitequark> heh
<mbj> This reminds me I need to setup mirros of the repos I need for deployments
<mbj> bundler :git sources leads to bad practises ;)
<whitequark> heh
<whitequark> actually, parser has exactly 84 node types
krohrbaugh has quit [Ping timeout: 245 seconds]
dustint has quit [Ping timeout: 256 seconds]
adam12 has joined #ruby-lang
<mbj> whitequark: Nice! You can elimiate some work through proper class tree
Gaelan has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
mistym has quit [Remote host closed the connection]
<whitequark> mbj: as in?
ngw has joined #ruby-lang
agile has joined #ruby-lang
nyuszika7h has quit [Remote host closed the connection]
nyuszika7h has joined #ruby-lang
jxie has quit [Ping timeout: 256 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
dustint has joined #ruby-lang
jxie has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
krohrbaugh has joined #ruby-lang
nathanstitt has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
nyuszika7h has quit [Read error: Connection reset by peer]
nyuszika7h has joined #ruby-lang
<mbj> whitequark: I think some structures of the ast can be inherited, for example you could have a base class for dynamic literals
<whitequark> mbj: hmm, might be
outoftime has joined #ruby-lang
kith has quit [Read error: Connection reset by peer]
kith has joined #ruby-lang
flujan has quit [Quit: flujan]
gnufied1 has joined #ruby-lang
gnufied has quit [Ping timeout: 252 seconds]
wesside_ has joined #ruby-lang
tdy_ has quit [Ping timeout: 246 seconds]
zwevans has joined #ruby-lang
chrismar035 has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
Gaelan has quit [Ping timeout: 245 seconds]
wesside_ has quit [Quit: Ice cream truck!]
gnufied1 has quit [Quit: Leaving.]
wesside_ has joined #ruby-lang
Burgestrand has joined #ruby-lang
enebo has joined #ruby-lang
skade has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
tbuehlmann has quit [Remote host closed the connection]
perry has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
DefV_ is now known as DefV
jperry2_ has joined #ruby-lang
tdy_ has joined #ruby-lang
yalue has joined #ruby-lang
<mbj> whitequark: Do you plan to parse the regexp?
jonahR has joined #ruby-lang
gnufied has joined #ruby-lang
<mbj> whitequark: I dont think so, providing the regexp source should be enough, just interested
<whitequark> mbj: no, not really
<mbj> whitequark: Will focus on adding more source maps to begin with more solid work un unparser
<whitequark> mbj: very well, thanks!
apeiros has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
krohrbaugh has joined #ruby-lang
tn6o has joined #ruby-lang
realDAB has joined #ruby-lang
tn6o has quit [Read error: Connection reset by peer]
realDAB has quit [Client Quit]
jxie has quit [Read error: Connection reset by peer]
mwestbom has joined #ruby-lang
mwestbom has left #ruby-lang [#ruby-lang]
totallymike has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 276 seconds]
jxie has joined #ruby-lang
ruby-lang899 has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
ruby-lang899 has quit [Ping timeout: 245 seconds]
nXqd has quit [Ping timeout: 252 seconds]
rippa has joined #ruby-lang
tonni has joined #ruby-lang
nXqd has joined #ruby-lang
rue_XIV has quit [Remote host closed the connection]
rue has joined #ruby-lang
nXqd has quit [Ping timeout: 256 seconds]
ngw has quit [Quit: Bye!]
nXqd has joined #ruby-lang
Gaelan has joined #ruby-lang
Gaelan has quit [Ping timeout: 260 seconds]
vmoravec has quit [Quit: Leaving]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
jperry2_ has quit [Quit: jperry2_]
Gaelan has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
outoftime has quit [Quit: Leaving]
r0bby has joined #ruby-lang
skade has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 246 seconds]
Burgestrand has joined #ruby-lang
Gaelan has quit [Ping timeout: 276 seconds]
Burgestrand has quit [Client Quit]
Burgestrand has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
apeiros has joined #ruby-lang
carloslopes has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
glebm has quit [Ping timeout: 252 seconds]
glebm has joined #ruby-lang
guns has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
MartynKeigher has joined #ruby-lang
beiter has quit [Quit: beiter]
dagobah has quit [Remote host closed the connection]
Andromeda has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
vlad_sta_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
rsl has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
guns has quit [Quit: guns]
Andromeda has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
gregmoreno has joined #ruby-lang
gregmoreno has quit [Client Quit]
srbaker has joined #ruby-lang
tylersmith has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
dhruvasagar has quit [Ping timeout: 264 seconds]
skade has quit [Quit: Computer has gone to sleep.]
r0bby_ has joined #ruby-lang
enebo has quit [Quit: enebo]
r0bby has quit [Ping timeout: 248 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
tonni has quit [Ping timeout: 252 seconds]
Gaelan has joined #ruby-lang
swav_ has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
kurko_ has quit [Ping timeout: 276 seconds]
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
<mbj> whitequark: Do tests for alternative literals %r() %q() ... in test_parser.rb ? IMHO yes, but it'll blow up the filesize a lot.
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
kurko_ has joined #ruby-lang
jperry2_ has joined #ruby-lang
tdy_ has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
workmad3 has joined #ruby-lang
sepp2k has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
brianpWins has joined #ruby-lang
tonni has joined #ruby-lang
enebo has joined #ruby-lang
glebm has quit [Ping timeout: 264 seconds]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
__butch__ has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
Gaelan has quit [Read error: Connection reset by peer]
Gaelan has joined #ruby-lang
security has joined #ruby-lang
megha has quit [Ping timeout: 252 seconds]
Andromeda has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
Gaelan has quit [Ping timeout: 240 seconds]
security is now known as baba
gnufied has quit [Quit: Leaving.]
JohnBat26 has joined #ruby-lang
<rue> mbj: Generate the tests?
glebm has joined #ruby-lang
<mbj> rue: Not my repo / project, but an option yeah
sush24 has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
realDAB has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 276 seconds]
mytrile_ has joined #ruby-lang
<mbj> whitequark: Will there be any other metadata than source_location ? I cannot imagine one.
snarfmason has joined #ruby-lang
soypirate has joined #ruby-lang
MaddinXx has joined #ruby-lang
<mbj> whitequark: nameing, can we eighter use regex or regexp, we have test_regex but regexp_compose. I'd opt to go regex only.
KA__ has joined #ruby-lang
KA__ has joined #ruby-lang
io_syl has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sush24 has quit [Quit: This computer has gone to sleep]
mrsolo has joined #ruby-lang
workmad3 has joined #ruby-lang
symm- has joined #ruby-lang
Asher has quit [Quit: Leaving.]
krohrbaugh has quit [Quit: Leaving.]
forrest has joined #ruby-lang
tdy_ has joined #ruby-lang
swav has joined #ruby-lang
Luwe has joined #ruby-lang
mbj has quit [Ping timeout: 245 seconds]
tdy_ has quit [Client Quit]
bzalasky_ has joined #ruby-lang
tdy_ has joined #ruby-lang
mistym is now known as mistym_lunch
swav has quit [Ping timeout: 252 seconds]
soypirate has quit [Quit: Leaving]
soypirate has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
mistym has joined #ruby-lang
scottschecter has joined #ruby-lang
mbj has joined #ruby-lang
bryanl has quit [Quit: bryanl out]
workmad3 has joined #ruby-lang
maxmanders has joined #ruby-lang
bzalasky_ has quit [Remote host closed the connection]
snarfmason has quit [Quit: Computer has gone to sleep.]
snarfmason has joined #ruby-lang
soypirate has quit [Ping timeout: 252 seconds]
<whitequark> rue: no, no generated tests. tests = spec.
soypirate has joined #ruby-lang
<whitequark> mbj: yeah, tests for %r() etc would be neat
<rue> It’s error-prone to do those all separately
<whitequark> mbj: I'd rather use regexp. regexp/regopt, consistency
<whitequark> rue: um, no, I don't think so
<rue> Kinda yeah
<whitequark> parser already has tons of very similar tests
<whitequark> which you can't handle uniformly
<whitequark> because yacc
<whitequark> so it's a systematic problem which can't be solved just by autogenerating %r() and friends
dhruvasagar has joined #ruby-lang
realDAB has quit [Quit: realDAB]
tonni has quit [Remote host closed the connection]
bryanl has joined #ruby-lang
mytrile_ has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
mytrile_ has joined #ruby-lang
Asher has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
mbj has quit [Read error: Connection reset by peer]
krohrbaugh has quit [Read error: Operation timed out]
krohrbaugh has joined #ruby-lang
realDAB has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
emptyflask has joined #ruby-lang
emptyflask has quit [Remote host closed the connection]
emptyflask has joined #ruby-lang
mistym_lunch is now known as mistym
ryez_ has quit [Ping timeout: 245 seconds]
Andromeda has quit [Remote host closed the connection]
<rue> ‘It’ can’t be, but those can
MaddinXx has quit [Remote host closed the connection]
<rue> (Maybe)
chrismar035_ has joined #ruby-lang
chrismar035_ has quit [Client Quit]
krohrbaugh has quit [Quit: Leaving.]
mihar has joined #ruby-lang
chrismar035 has quit [Ping timeout: 264 seconds]
thebastl has joined #ruby-lang
Luwe has quit [Quit: leaving]
mihar has quit [Remote host closed the connection]
headius has joined #ruby-lang
spectra has quit [Remote host closed the connection]
spectra has joined #ruby-lang
realDAB has quit [Quit: realDAB]
realDAB has joined #ruby-lang
lcdhoffman has joined #ruby-lang
mbj has joined #ruby-lang
Luwe has joined #ruby-lang
JoL1hAHN has quit [Quit: WeeChat 0.3.2]
spectra has quit [Ping timeout: 264 seconds]
tonni has joined #ruby-lang
KINGSABRI has joined #ruby-lang
<KINGSABRI> hi
<KINGSABRI> I need to puts the next page after filling a form using mechanize
<KINGSABRI> Mechanize.new { |agent|
<KINGSABRI> agent.follow_meta_refresh = true
<KINGSABRI> agent.follow_redirect = true
<KINGSABRI> agent.get("http://domain.com/")
<KINGSABRI> }
<KINGSABRI> agent.page.forms[0]["email"] = email
<KINGSABRI> agent.page.forms[0]["secstr"] = string
<KINGSABRI> agent.page.forms[0].submit
Nisstyre-laptop has joined #ruby-lang
<KINGSABRI> as you can see I can fill it but after pressing submit the submit sends me to another page which contain a related output of filled form
<KINGSABRI> any idea plz
ledestin has quit [Quit: ledestin]
voker57 has quit [Read error: Connection reset by peer]
voker57 has joined #ruby-lang
lhz has joined #ruby-lang
<apeiros> I have an idea
<apeiros> my idea is: get a lowercase nick
<KINGSABRI> sorry, I did understand that
mihar has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
JoL1hAHN has joined #ruby-lang
ericmathison has quit [Ping timeout: 252 seconds]
robonerd has joined #ruby-lang
<robonerd> when you begin a ruby 'session' and create some named things, do they register into some kind of namespace?
chendo__ has joined #ruby-lang
<robonerd> i just wonder how ruby keeps track of what names are valid in which context
sush24 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
ericmathison has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<robonerd> thanks, i'll read those
dingus_khan has joined #ruby-lang
mytrile_ has quit [Remote host closed the connection]
benanne has joined #ruby-lang
Burgestrand has joined #ruby-lang
dingus_khan has quit [Ping timeout: 276 seconds]
dingus_khan has joined #ruby-lang
SubSpawn has joined #ruby-lang
sush24 has quit [Read error: Connection reset by peer]
realDAB has quit [Quit: realDAB]
TheNotary has quit [Quit: Leaving]
krohrbaugh has joined #ruby-lang
intellitech has left #ruby-lang [#ruby-lang]
krohrbaugh has quit [Client Quit]
Luwe has quit [Quit: leaving]
maxmanders has quit [Quit: Computer has gone to sleep.]
Asher has quit [Quit: Leaving.]
nathanstitt has quit [Quit: Computer has gone to sleep]
krohrbaugh has joined #ruby-lang
nathanstitt has joined #ruby-lang
glebm has quit [Ping timeout: 252 seconds]
guns has joined #ruby-lang
nathanst1tt has joined #ruby-lang
glebm has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
chrismar035 has joined #ruby-lang
maxmanders has joined #ruby-lang
pkrnj has joined #ruby-lang
bzalasky_ has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
tonni has quit [Read error: Connection reset by peer]
ledestin has joined #ruby-lang
totallymike has quit [Ping timeout: 248 seconds]
guns has quit [Remote host closed the connection]
imperator has joined #ruby-lang
torrieri has joined #ruby-lang
thone has quit [Read error: Operation timed out]
guns has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Nisstyre-laptop has joined #ruby-lang
jhn has joined #ruby-lang
thone has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
fsvehla has quit [Quit: fsvehla]
TheMoonMaster has quit [Quit: Later!]
<andrewvos> umm bitcoin is selling for $236 usd :/
bzalasky_ has quit [Remote host closed the connection]
<lianj> andrewvos: its called buttcoin
<ericwood> now is the time to convert your money to bitcoin
<zzak> no thx
<ericwood> sucks to be you, I'm going to be rich one day
sailias has quit [Ping timeout: 246 seconds]
<zzak> gl
wmoxam has quit [Ping timeout: 264 seconds]
<andrewvos> haha
forrest has quit [Quit: Leaving]
<imperator> i think i got 100 free bitcoins at some point
<KINGSABRI> I don't know if anyone sow my question , :(
<zzak> KINGSABRI: did you ask one?
<KINGSABRI> I'v form to fill , I filled it and when I submit , the submit sends me to another page which has related information of form page
<KINGSABRI> Mechanize.new { |agent|
<KINGSABRI> agent.follow_meta_refresh = true
<KINGSABRI> agent.follow_redirect = true
<KINGSABRI> }
<KINGSABRI> agent.get("http://domain.com/")
<KINGSABRI> agent.page.forms[0]["email"] = email
<KINGSABRI> agent.page.forms[0]["secstr"] = string
<KINGSABRI> agent.page.forms[0].submit
<KINGSABRI> zzak, yes and I paste it again
<zzak> whats your question tho
<imperator> KINGSABRI, please paste code longer than 3 lines somewhere else, like pastie.org or a gist
<KINGSABRI> imperator, ok I'll
* imperator doesn't know how to access his bitcoins :(
Asher has joined #ruby-lang
<bougyman> find your wallet.dat
<KINGSABRI> Here is the code | http://pastebin.com/ufHC39df
<imperator> bougyman, no idea where that's at
<KINGSABRI> I need to be able to read the next page(after submit)
<KINGSABRI> the next page has related data so it's not just a redirect or a normal new page
<lianj> imperator: better look hard
<andrewvos> imperator: wat really? you are rich!!
<imperator> i think they were giving away 100 coins or something a long time ago
<imperator> well, anyway, looks like i don't have anything in my inbox, so i guess i lost it :(
<lianj> as long as its not only 100 testnet coins i would look really hard to find it
thebastl has quit [Remote host closed the connection]
<KINGSABRI> any idea, please ?
pkrnj has quit [Quit: Computer has gone to sleep.]
TheNotary has joined #ruby-lang
<andrewvos> imperator: thats like 20,000 bucks dude
headius has quit [Quit: headius]
<lianj> andrewvos: cute how one already ignores the 3.5k rest :P
maxmanders has quit [Quit: Computer has gone to sleep.]
<imperator> andrewvos, i might be imagining things...but i vaguely recall some sort of offer when it first came out
<andrewvos> lianj: Am I the queen now?
<andrewvos> imperator: Pics or it didn't happen!
maxmanders has joined #ruby-lang
stef_204 has joined #ruby-lang
<KINGSABRI> is there and channel for mechanize ?
<andrewvos> Doubt it
TheMoonMaster has joined #ruby-lang
<andrewvos> KINGSABRI: Throw some code in it and play around?
<andrewvos> By it I mean pry
<KINGSABRI> andrewvos, for now I just hope to fine an answer to my issue
<andrewvos> KINGSABRI: What issue?
intellitech has joined #ruby-lang
<andrewvos> I am sshing into irssi on a very slow connection, not really able to scroll.
pkrnj has joined #ruby-lang
<KINGSABRI> andrewvos, I'm using this code | http://pastebin.com/ufHC39df
<KINGSABRI> I need to be able to read the next page(after submit)
<KINGSABRI> the next page has related data so it's not just a redirect or a normal new page
<lianj> page = form.submit
dingus_khan has quit [Ping timeout: 245 seconds]
<KINGSABRI> lianj, I saw this page It didnt solve my issue :(
<andrewvos> Gah too slow, but teah what he said
toretore has quit [Quit: Leaving]
<andrewvos> yeah*
<lianj> KINGSABRI: then i dont understand the issue aswell
<andrewvos> KINGSABRI: What happens when you try that?
<imperator> andrewvos, apparently it didn't happen
<KINGSABRI> lianj, the issue is, I fill the form then I submit it, submit should send me to another page has related information which I cant git it without filling the form
<lianj> re-read the examples again. page = form.submit; the page obj is the next page.
<KINGSABRI> lianj, andrewvos this is the code with its return | http://pastebin.com/FcjDnTRk
Nisstyre has quit [Ping timeout: 245 seconds]
shachaf_ has joined #ruby-lang
shachaf_ has quit [Changing host]
shachaf_ has joined #ruby-lang
hakunin_ has joined #ruby-lang
shachaf has quit [Disconnected by services]
shachaf_ is now known as shachaf
gix has quit [Ping timeout: 264 seconds]
kalleth_ has joined #ruby-lang
<KINGSABRI> did you check the return ?
mbj has quit [Quit: leaving]
benanne has quit [Quit: kbai]
benanne has joined #ruby-lang
rebelcan has joined #ruby-lang
jtoy_ has joined #ruby-lang
countdig2 has joined #ruby-lang
matthewd_ has joined #ruby-lang
workmad3 has joined #ruby-lang
ironcame1 has joined #ruby-lang
andrewvo1 has joined #ruby-lang
crankhar1er has joined #ruby-lang
Rubennn_ has joined #ruby-lang
gix has joined #ruby-lang
havenwood has joined #ruby-lang
nathanst1tt has quit [Quit: Computer has gone to sleep]
nathanstitt has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Guu has joined #ruby-lang
plaisn has joined #ruby-lang
amateurhuman has joined #ruby-lang
amateurhuman_ has quit [*.net *.split]
matthewd has quit [*.net *.split]
stardiviner has quit [*.net *.split]
hakunin has quit [*.net *.split]
plains has quit [*.net *.split]
FiXato has quit [*.net *.split]
rking has quit [*.net *.split]
antbody has quit [*.net *.split]
yibe_ has quit [*.net *.split]
ironcamel has quit [*.net *.split]
crankharder has quit [*.net *.split]
jtoy has quit [*.net *.split]
rebelcan_ has quit [*.net *.split]
countdigi has quit [*.net *.split]
kalleth has quit [*.net *.split]
Rubennn has quit [*.net *.split]
andrewvos has quit [*.net *.split]
apeiros has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
jerry66 has joined #ruby-lang
nathanstitt has quit [Ping timeout: 256 seconds]
techlife has quit [Ping timeout: 252 seconds]
Nisstyre has joined #ruby-lang
<KINGSABRI> no answers
<KINGSABRI> thank
matled- has joined #ruby-lang
sailias has joined #ruby-lang
jerry66 has quit []
FiXato has joined #ruby-lang
stardiviner has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
rking has joined #ruby-lang
matled has quit [Remote host closed the connection]
randym_ has quit [Ping timeout: 240 seconds]
MrWGW- has quit [Ping timeout: 240 seconds]
matled- is now known as matled
brahmana has joined #ruby-lang
yibe_ has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
KINGSABRI has quit [Quit: Leaving]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
havenwood has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
codejury has quit [Quit: No Ping reply in 180 seconds.]
techlife has joined #ruby-lang
codejury has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
imperator has quit [Quit: Leaving]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
srbaker 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]
chrismar035 has quit [Quit: chrismar035]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
nkr has quit [Quit: Linkinus - http://linkinus.com]
techlife has joined #ruby-lang
tonni has joined #ruby-lang
dingus_khan has joined #ruby-lang
rue has quit [Read error: Connection reset by peer]
rue has joined #ruby-lang
dustint has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
io_syl has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
totallymike has joined #ruby-lang
totallymike is now known as Guest13295
breakingthings has quit []
KINGSABRI has joined #ruby-lang
<KINGSABRI> lianj, andrewvo1 there was no real issue in the code just missing to call the body of the new page | http://pastebin.com/T7GBVS0c
workmad3 has quit [Ping timeout: 245 seconds]
ericmathison has quit [Ping timeout: 245 seconds]
<lianj> KINGSABRI: thats why i said re-read the examples…
<KINGSABRI> It was so easy to tell me
<KINGSABRI> but thank you anyway
<KINGSABRI> lianj, beginner need little bit help and it was one word :)
enebo has quit [Quit: enebo]
brahmana has quit [Quit: Page closed]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
KINGSABRI has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
<Boohbah> i am finding the median of an array with an even number of elements. can i improve this? https://gist.github.com/anonymous/5349955
zastern has joined #ruby-lang
<lianj> set.sort[set.size/2] ?
rockets has joined #ruby-lang
idkazuma has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
blacktulip has quit [Remote host closed the connection]
zastern has quit [Ping timeout: 245 seconds]
tsion has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
<Boohbah> lianj: no
<waxjar> something like this Boohbah: set.sort!; 0.5 * (set[set.size / 2] + set[set.size / 2 + 1])
<Boohbah> eww
<waxjar> ?
<waxjar> the whole #each_slice.to_a[0].first thing isn't necessary at all
<Boohbah> you're right, thanks
<Boohbah> (sorted[size/2 - 1] + sorted[size/2]) / 2.0
swygue has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
breakingthings has joined #ruby-lang
symm- has quit [Quit: Leaving...]
havenwood has joined #ruby-lang
Bosox20051 has joined #ruby-lang
scottschecter has quit [Ping timeout: 256 seconds]
KA__ has quit [Quit: KA__]
swav has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby-lang
nathanstitt has joined #ruby-lang
wmoxam has joined #ruby-lang
r0bby_ is now known as robbyoconnor
dustint has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
woollyams has joined #ruby-lang
guns has quit [Quit: guns]
emptyflask has quit [Remote host closed the connection]
yours_truly has joined #ruby-lang
firefux has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Read error: Connection reset by peer]
yours_truly has quit [Read error: Connection reset by peer]
Nisstyre-laptop has joined #ruby-lang
tallship has quit [Remote host closed the connection]
TheNotary has quit [Quit: Leaving]
DEac- has quit [Ping timeout: 252 seconds]
wmoxam has quit [Quit: leaving]
rockets has quit [Ping timeout: 248 seconds]
carloslopes has quit [Remote host closed the connection]
Guest13295 has quit [Ping timeout: 276 seconds]
Gaelan has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
torrieri_ has joined #ruby-lang
torrieri has quit [Read error: Connection reset by peer]
wesside_ has quit [Quit: Computer has gone to sleep.]
jperry2_ has quit [Quit: jperry2_]
nXqd has quit [Ping timeout: 245 seconds]
Guest13295 has joined #ruby-lang
randym_ has joined #ruby-lang
rondale_sc has quit [Quit: leaving]
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
Andromeda has joined #ruby-lang
postmodern has joined #ruby-lang
Andromed_ has joined #ruby-lang
Andromed_ has quit [Read error: Connection reset by peer]
__butch__ has quit [Quit: Leaving.]
znouza has quit [Ping timeout: 240 seconds]
znouza has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
Andromed_ has joined #ruby-lang
Andromeda has quit [Read error: Operation timed out]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
Andromeda has joined #ruby-lang
enebo has joined #ruby-lang
enebo has quit [Client Quit]
Andromeda has quit [Remote host closed the connection]
Andromed_ has quit [Ping timeout: 248 seconds]
zenspider has joined #ruby-lang
<zenspider> omnifocus-github version 1.4.1 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/04/omnifocus-github-version-1-4-1-has-been-released.html