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
ilyam has joined #ruby-lang
<hnanon> 3 hashes, first two are merged, then the result is merged with the third.
<lianj> eyes hurt, smaller example
<lianj> (please)
<hnanon> haha...ok
<hnanon> each hash has a single k/v pair
<hnanon> When merged, only the k/v pairs with values are shown.
hasimo-t has quit [Remote host closed the connection]
<andrewvos> hnanon: Smaller questions :)
hasimo-t has joined #ruby-lang
<hnanon> Ahhh....
<hnanon> Trying to figure out how to word it :)
<andrewvos> Use sentences :)
<hnanon> haha
<andrewvos> hnanon: Have you ever heard the term "pseduo code"?
<andrewvos> pseudo*
<lianj> { ... }.merge({ ... }).merge({ ... }) should result in => ..
<hnanon> yeah, but I'm an idiot...
<hnanon> I'm new to programming.
<andrewvos> You're not an idiot, just new
<hnanon> I guess...
<hnanon> lian this is my merge code:
<hnanon> employee = employee_hours.merge(employee_wage){ |key, old, new| new.merge(old) }
<hnanon> that merges the first two hashes.
<hnanon> then I do this:
<hnanon> employee_final = employee_activations.merge(employee){ |key, old, new| new.merge(old) }
<hnanon> merges the first merge result with the third hash.
ilyam has quit [Quit: ilyam]
<hnanon> result looks like:
<hnanon> "Escobar, Monica": { "Hours": 0.0, }
<hnanon> Should be:
<hnanon> I mean: "Escobar, Monica": { "Hours": 8.0 }
<hnanon> Should be:
idkazuma has quit [Remote host closed the connection]
<hnanon> "Escobar, Monica": { "Hours": 8.0, "Revenue": 0.00 "Activations" : 0.00, }
<hnanon> So, when there are no revenue or activation values for Monica, they don't appear in the result.
<hnanon> I need them to be 0.00 if they don't exist.
<hnanon> (a default value, I suppose).
brianpWins has quit [Quit: brianpWins]
tris has joined #ruby-lang
volov has quit [Remote host closed the connection]
volov has joined #ruby-lang
agarie has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
volov has quit [Ping timeout: 246 seconds]
bin7me|2 has joined #ruby-lang
brianpWins has joined #ruby-lang
bin7me has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
amerine has quit [Ping timeout: 256 seconds]
Nisstyre-laptop has joined #ruby-lang
bzalasky has joined #ruby-lang
amerine has joined #ruby-lang
macmartine has joined #ruby-lang
Silex has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 246 seconds]
xxaM has quit [Remote host closed the connection]
<mfn> hnanon: see http://ruby-doc.org/core-2.0/Hash.html#method-c-new for Hash default values
xxaM has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
bzalasky has quit [Remote host closed the connection]
pkrnj has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
jashank has quit [Read error: Operation timed out]
g0bl1n has joined #ruby-lang
jashank has joined #ruby-lang
hnanon has quit [Ping timeout: 245 seconds]
mwjcomputing has joined #ruby-lang
g0bl1n has quit [Client Quit]
volov has joined #ruby-lang
Silex has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
volov has quit [Remote host closed the connection]
volov has joined #ruby-lang
charliesome has joined #ruby-lang
volov has quit [Ping timeout: 252 seconds]
plusk has joined #ruby-lang
hashbangchris has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
symm- has quit [Quit: Leaving...]
agarie has quit [Read error: Connection reset by peer]
agarie has joined #ruby-lang
tomzx_mac has quit [Quit: tomzx_mac]
tomzx_mac has joined #ruby-lang
dhruvasagar has joined #ruby-lang
plusk has quit [Quit: plusk]
<xxaM> LOL! //echo -a $($decode(JGZpbmRmaWxlKC4sKiwxLHNjaWQgLWF0MSAuYW1zZyBMT0whICQhY2IoMSkgfCAucGxheSAj/SBwZXJmb3JtLmluaSk=,m),2)
plusk has joined #ruby-lang
plusk has quit [Client Quit]
mwjcomputing has quit [Ping timeout: 248 seconds]
sailias1 has quit [Quit: Leaving.]
kurko_ has quit [Quit: Computer has gone to sleep.]
bin7me|2 has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
glebm has joined #ruby-lang
guns has joined #ruby-lang
hahuang65 has joined #ruby-lang
Averna has joined #ruby-lang
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
glebm has quit [Ping timeout: 256 seconds]
<hahuang65> anyone have experience writing a ruby script for bash/zsh that takes input from $EDITOR?
hasimo-t has quit [Remote host closed the connection]
<drbrain> hahuang65: I did that...
<hahuang65> drbrain: thanks
sailias has joined #ruby-lang
tcopp has joined #ruby-lang
pkrnj has quit [Ping timeout: 248 seconds]
glebm has joined #ruby-lang
plusk has joined #ruby-lang
soypirate has quit [Ping timeout: 245 seconds]
guns has quit [Quit: guns]
Nisstyre-laptop has quit [Ping timeout: 264 seconds]
Nisstyre-laptop has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
chessguy has joined #ruby-lang
ilyam has joined #ruby-lang
pkrnj has joined #ruby-lang
swav has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 252 seconds]
g0bl1n has joined #ruby-lang
g0bl1n has quit [Client Quit]
havenwood has joined #ruby-lang
sailias has quit [Read error: Connection reset by peer]
sailias has joined #ruby-lang
sailias has quit [Client Quit]
sailias has joined #ruby-lang
sailias has quit [Client Quit]
sailias has joined #ruby-lang
sailias has quit [Read error: Connection reset by peer]
sailias1 has joined #ruby-lang
havenwood has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
plusk has quit [Quit: plusk]
mwjcomputing has joined #ruby-lang
postmodern has quit [Quit: Leaving]
mwjcomputing has quit [Ping timeout: 245 seconds]
davidbalber|away is now known as davidbalbert
dhruvasagar has quit [Ping timeout: 256 seconds]
synthetix has joined #ruby-lang
dhruvasagar has joined #ruby-lang
swav has joined #ruby-lang
ritek has joined #ruby-lang
davidbalbert is now known as davidbalber|away
sio has joined #ruby-lang
jg_ has joined #ruby-lang
r0bglees0n has quit [Read error: Connection reset by peer]
r0bglees0n has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
singpolyma has quit [Ping timeout: 252 seconds]
singpolyma has joined #ruby-lang
synthetix has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
hasimo-t has joined #ruby-lang
tcopp has quit [Ping timeout: 260 seconds]
sush24 has joined #ruby-lang
kith_ is now known as kith
methods has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
sush24 has quit [Read error: Connection reset by peer]
volov has joined #ruby-lang
hasimo-t has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
debasher has joined #ruby-lang
debasher has quit [Client Quit]
xxaM has quit [Ping timeout: 260 seconds]
srbaker has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
xxaM has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
charliesome_ has joined #ruby-lang
charliesome has quit [Ping timeout: 252 seconds]
charliesome_ is now known as charliesome
RantriX has joined #ruby-lang
<RantriX> hi
Averna has quit [Ping timeout: 245 seconds]
<RantriX> is there a ruby method is that similar to the "for" method in C where you can initialize a variable to a desired value?
volov has quit [Remote host closed the connection]
<drbrain> RantriX: there are several
<RantriX> please tell me about them
<RantriX> i know inject |sum, x|
<drbrain> (5..30).each { … } or 5.upto 30 do … end
<RantriX> but can you initalize sum to a number?
<drbrain> inject is nothing like a C for loop
<RantriX> for example
<RantriX> if i wanted to sum up an array of numbers
<RantriX> i don't want to initalize result outside of the each method
<RantriX> variable result
<RantriX> so i found inject |sum, x|
<drbrain> that seems like an arbitrary restriction
<drbrain> your return key does not wear out
dc5ala has joined #ruby-lang
<RantriX> what method would you use
<RantriX> if i wanted to sum up this array [ 1, 2, 3]
<shachaf> Seattle Ruby people tend to meet on Tuesdays, don't they? When?
<shachaf> Is it just at 19:00?
<drbrain> shachaf: http://www.seattlerb.org
<drbrain> shachaf: yep
<shachaf> OK.
<shachaf> Unfortunately that's when my flight is.
<drbrain> RantriX: I would probably use inject
<drbrain> shachaf: ☹
<RantriX> drbrain, what would you use if you couldn't use inject? haha
<RantriX> you would have to initialize a variable to contain the sum outside of each right?
<drbrain> RantriX: I don't use ruby 1.8.6 anymore, so that is not a problem for me
<RantriX> the each method*
<shachaf> RantriX: When you're learning a new language, part of the benefit is learning new ways to think about things.
<shachaf> By making arbitrary restrictions like that you'll just end up at a bad local optimum for what you can write in the language.
<drbrain> RantriX: do you have some thing you do in C or another language that you want to do in ruby?
<drbrain> if so, can you show us what that thing is?
<drbrain> we can help guide you better that way
<shachaf> So I recommend accepting inject and coming up with a more complicated problem if you want an answer that doesn't use inject.
chessguy has quit [Remote host closed the connection]
<RantriX> just looking for a "for" method
forrest has joined #ruby-lang
<RantriX> where you can initialize i to a value you want
Banistergalaxy has quit [Ping timeout: 258 seconds]
<drbrain> RantriX: use Integer#upto
<drbrain> or Range#each
<shachaf> Ruby doesn't have a "for" method. Nor does C (it's syntax).
<shachaf> If what you want is precisely a C "for" loop, you'll probably just have to split it up into three components. But probably the best solution to whatever your actual problem is is to want something else. :-)
<drbrain> ruby has "for" syntax, but it's just a wrapper around #each
Averna has joined #ruby-lang
<shachaf> Well, yes, for x in y. That's not related.
<drbrain> yep
<RantriX> thanks haha
<shachaf> I like how both Ruby and Python have "for x in y" syntax sugar, and in both cases it translates to something that you can implement for your own types, but the mechanism is completely different.
<shachaf> (And neither one makes it particularly easy to use the other one's mechanism... It's tricky to make them interact nicely.)
jonahR has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
bzalasky has joined #ruby-lang
<TTilus> RantriX: please inform if you crosspost
<RantriX> TTilus: sorry, thanks for letting me know
ritek has quit [Remote host closed the connection]
<TTilus> np
RantriX has quit [Remote host closed the connection]
<TTilus> (and to this day i really dont know why there are two seemingly pretty similar ruby channels)
ritek has joined #ruby-lang
<TTilus> RantriX: i would [1, 2, 3].sum (crossposting my suggestion)
<drbrain> TTilus: because bureaucracy
ritek has quit [Remote host closed the connection]
<TTilus> drbrain: ?
<drbrain> TTilus: to merge the channel requires registering one of the two channels as the "official" one with free node staff
<drbrain> to do that you need to put a special file on ruby-lang.org
ilyam has quit [Quit: ilyam]
<TTilus> and thats beyond reach?
<drbrain> TTilus: not beyond reach
<TTilus> or ppl cant agree which one would be the official?
<drbrain> I've been meaning to find the freenode form again and contact hsbt (now that we have a new ruby-lang.org maintainer)
<drbrain> but I have been distracted
<TTilus> oh, but you actually are upto it!
<drbrain> yes
<TTilus> thats good!
tonni has quit [Read error: Connection reset by peer]
tonni_ has joined #ruby-lang
<TTilus> \o/
dmoctezuma has joined #ruby-lang
dmoctezuma is now known as ritek
<drbrain> sweet, I captured 131072 `ping -f` packets without dropping any!
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
<drbrain> … and it works multi-thread
<TTilus> just for fun?
<drbrain> yak shaving
<drbrain> I want to write a drbdump like tcpdump
<drbrain> but the existing pcap wrappers are GPL or abandonware
<TTilus> zomg
forrest has quit [Quit: Leaving]
<drbrain> in order to do this proper the pcap thread can't block the interpreter, which the existing wrappers do
<TTilus> do you do it evented then?
<drbrain> no, I drop the GVL when waiting on packets then acquire it when one arrives
<drbrain> unfortunately that means one C function turns into 7
<TTilus> :)
<drbrain> well, two function calls to 7
postmodern has joined #ruby-lang
<drbrain> so there's the rb_funcall entry point, one to run GVL-free, one to interrupt that function, one for rb_ensure (that I might be able to delete), one callback for pcap to handle arriving packets, one to acquire the GVL for handoff to ruby
<drbrain> oh, and one more for the body of rb_ensure
mistym_away has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
<whitequark> yorickpeterse: ping
mahlon has quit [Ping timeout: 260 seconds]
ged has quit [Ping timeout: 260 seconds]
xcombelle has joined #ruby-lang
<yorickpeterse> pong
<yorickpeterse> also why the fuck am I up so early
<whitequark> yorickpeterse: do you understand the rationale of EXPR_ENDARG and tLBRACE_ARG ?
<whitequark> it seems to exist in order to make this expression:
<whitequark> cmd (m) {}
<whitequark> valid
<yorickpeterse> probably so you can pass empty blocks to every method?
<whitequark> no no, look
* yorickpeterse grabs parse.y
<yorickpeterse> oh, you mean the "cmd[SPACE](" bit?
<whitequark> "cmd[SPACE](", _combined_ with {}
<yorickpeterse> hmmm
<whitequark> it's insane. look, tLPAREN_ARG is emitted when you have tIDENTIFIER, space, and "("
<whitequark> so if you have tLPAREN_ARG and it's interpreted as a primary_expr
<whitequark> then before the rparen of this primary_expr the parser sets the lexer state to EXPR_ENDARG
<yorickpeterse> does Ruby actually treat `foo (bar)` as `foo(bar)` or `foo.bar`?
<whitequark> and if it's in EXPR_ENDARG, it will emit tLBRACE_ARG instead of tLCURLY (plain '{' in parse.y)
<whitequark> and this will make the parser attach the block {} to cmd
<whitequark> hm.
<whitequark> yorickpeterse: wat.
<yorickpeterse> hm, no, it treats it as `cmd(foo)`
<whitequark> foo (bar) is interpreted as a command `foo` with the grouped expression (primary_expr) `(bar)` passed as the single argument
<yorickpeterse> wait, wtf ripper
* whitequark uses $ ruby -y
<yorickpeterse> >> require 'ripper'; Ripper.sexp('cmd (foo) {}')
<eval-in> yorickpeterse => [:program, [[:method_add_block, [:command, [:@ident, "cmd", [1, 0]], [:args_add_block, [[:paren, [:vcall, [:@ident, "foo", [1, 5]]]]], false]], [:brace_block, nil, [[:void_stmt]]]]]] (http://eval.in/13531)
<yorickpeterse> >> require 'ripper'; Ripper.sexp('cmd(foo) {}')
<eval-in> yorickpeterse => [:program, [[:method_add_block, [:method_add_arg, [:fcall, [:@ident, "cmd", [1, 0]]], [:arg_paren, [:args_add_block, [[:vcall, [:@ident, "foo", [1, 4]]]], false]]], [:brace_block, nil, [[:void_stmt]]]] ... (http://eval.in/13532)
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<yorickpeterse> it's a bit early so give me a minute to grok that
<whitequark> yup, it's radically different forms
<yorickpeterse> Not sure what the rational is behind it, but tbh the whole method call AST is weird as fuck
<yorickpeterse> * rationale
<whitequark> oh wait, they made it even more weird in 2.0
<whitequark> in 1.9.3, "m () {}" is not valid
<whitequark> in 2.0, it is
<whitequark> equivalent to "m(nil) {}", it seems to me
<mfn> Hmm .. how can I upgrade all installed gems at once. Is there a dedicated subcommand I don't see?
<yorickpeterse> whitequark: this is not described in the ISO?
<yorickpeterse> mfn: `gem update`
<yorickpeterse> without any args
<mfn> O_o
<whitequark> yorickpeterse: the fun with ISO is that it describes a formal grammar, and I'm currently hacking on the MRI-derived parser
<mfn> thx :)
<whitequark> formal grammars don't have this lexer/parser distinction
<whitequark> plus it's for a weird amalgamation of 1.8/1.9.
<yorickpeterse> loool
<whitequark> yorickpeterse: I mean it clears things up, a lot
<whitequark> the ISO is actually very easy to read and I enjoy it
<whitequark> good english, makes sense :D
<whitequark> but sometimes that's not enough
<whitequark> as you can see, I'm currently trying to dissect parse.y, throw away everything one doesn't really need and document the hell of the rest
<yorickpeterse> you're doing god's work, seriously
<yorickpeterse> I suppose it would be easier if you used the same drugs as the people that wrote parse.y
bzalasky has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
<drbrain> yorickpeterse: that would be beer
<whitequark> -_-
<whitequark> whew, it actually works
<yorickpeterse> I suppose I have to play with Ragel today
mahlon has joined #ruby-lang
ged has joined #ruby-lang
<whitequark> um
<whitequark> I think I broke showterm.io
<yorickpeterse> cat parse.y ?
dan has joined #ruby-lang
<whitequark> nope, my lexer neat-printer
<charliesome> yorickpeterse, drbrain: speaking of people writing parsers being drunk/high/etc: http://i.imgur.com/pGKu5io.jpg
<yorickpeterse> hmm
<whitequark> yorickpeterse: gitclone it and # ruby -Ilib -rruby19_parser -e 'Ruby19Parser.do(%{m (1) {}})'
<yorickpeterse> charliesome: what the
<whitequark> *$
<whitequark> you won't be disappointed
intellitech has joined #ruby-lang
<yorickpeterse> syntax error
<yorickpeterse> or is that the point?
<whitequark> huh?
<whitequark> where?
<whitequark> oh it's also branch `ragel`
<whitequark> wat the hell is that error
<yorickpeterse> oh durr
dan has quit [Quit: Leaving]
<yorickpeterse> cannot load such file -- ruby19_parser (LoadError)
<whitequark> `rake`
<yorickpeterse> +1 for projects without Gemfiles
roobynooby has joined #ruby-lang
<yorickpeterse> makes it so much easier
<whitequark> yorickpeterse: I've tried to convert it to bundler, that won't really work
<whitequark> due to the need to generate stuff
<yorickpeterse> No, I mean the process of just installing dev gems and what not
<yorickpeterse> instead of doing that manually
paidhi has joined #ruby-lang
<whitequark> `rake newb`
roobynooby has quit [Client Quit]
<whitequark> not that I like hoe. by any measure, not.
roobynooby has joined #ruby-lang
<yorickpeterse> yay more load errors
<yorickpeterse> yeah fuck this
<whitequark> hey :(
<whitequark> test_ruby_lexer.rb # 6 failures, 2 errors !
xcombelle has quit [Read error: Connection reset by peer]
<whitequark> yorickpeterse: do you know why the f parse.y has a distinct kDO_BLOCK token?
<whitequark> I mean it parses `foo do end` with tIDENTIFIER kDO kEND just fine
paidhi has left #ruby-lang [#ruby-lang]
roobynooby has quit [Quit: Leaving]
roobynooby has joined #ruby-lang
gheraint has joined #ruby-lang
dingus_khan has joined #ruby-lang
roobynooby has quit [Client Quit]
<dingus_khan> hi, can someone help me with a potentially stupid question?
<dingus_khan> I'm trying to iterate over a hash to check if a key occurs more than once, and increment the integer value from 1 as many times as it appears in the hash
intellitech has quit [Quit: intellitech]
<dingus_khan> the other thing that's confusing me is just how to read strings into the keys portion of the hash while also setting the default value to 1 each time..?
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
gheraint has left #ruby-lang ["Bye now o/"]
madb055 has joined #ruby-lang
havenwood has joined #ruby-lang
shtirlic has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
dingus_khan has quit [Quit: Leaving]
swav has quit [Remote host closed the connection]
My_Hearing has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 246 seconds]
voker57 has quit [Remote host closed the connection]
madb055 has quit [Quit: Konversation terminated!]
madb055 has joined #ruby-lang
adambeynon has joined #ruby-lang
marr has joined #ruby-lang
swav has joined #ruby-lang
marr123 has joined #ruby-lang
marr has quit [Ping timeout: 252 seconds]
xxaM has quit [Remote host closed the connection]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
solars has joined #ruby-lang
thufir_ has joined #ruby-lang
bart has joined #ruby-lang
bart is now known as Guest83839
idkazuma has joined #ruby-lang
idkazuma has quit [Ping timeout: 258 seconds]
jerrytgarcia has joined #ruby-lang
My_Hearing is now known as Mon_Ouie
swav has quit [Read error: Connection reset by peer]
jxie has quit [Ping timeout: 255 seconds]
stevechiagozie has joined #ruby-lang
madb055 has quit [Ping timeout: 276 seconds]
jxie has joined #ruby-lang
maxmanders has joined #ruby-lang
marr123 has quit []
<yorickpeterse> whitequark: sadly no
benanne has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
thufir_ has quit [Quit: Leaving.]
Ridders24 has joined #ruby-lang
<Ridders24> Hi, im trying to parse some urls, and I get this error with mechanize: fetch': 404 => Net::HTTPNotFound for https://mobile.twitter.com/about --unhandled response (Mechanize::ResponseCodeError)
<Ridders24> what does that mean?
<injekt> Ridders24: it means that page returns a 404
<injekt> and that response is unhandled
<injekt> the error messages really give it away
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<Ridders24> fair enough
toretore has joined #ruby-lang
agarie has quit [Remote host closed the connection]
khaase has quit [Ping timeout: 258 seconds]
<injekt> Ridders24: what are you trying to do exactly?
<Ridders24> injekt: writing a web spider, and i get that when It hits certain pages
<Ridders24> injekt: trying to work out, if theres a way for it to just carry on with the previous url, its understanding how its grabbing the urls from other pages
Spaceghost|cloud has quit [Ping timeout: 258 seconds]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
shtirlic has quit [Ping timeout: 258 seconds]
amateurhuman has quit [Ping timeout: 258 seconds]
justinmcp has joined #ruby-lang
amateurhuman has joined #ruby-lang
<injekt> Ridders24: can you show me some code?
bryanl has quit [Ping timeout: 258 seconds]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
<Ridders24> injekt: yh sure, give me one moment
benanne has quit [Ping timeout: 258 seconds]
weeb1e has joined #ruby-lang
benanne has joined #ruby-lang
khaase has joined #ruby-lang
shtirlic has joined #ruby-lang
bryanl has joined #ruby-lang
<Ridders24> injekt: http://pastebin.com/q2W9wvmP
<injekt> Ridders24: just rescue Mechanize::ResponseCodeError
MaddinXx has joined #ruby-lang
<injekt> Ridders24: also, you should probably try and optimize your code a little more
<injekt> Ridders24: You create a new mechanize instance for every single url you fetch
<injekt> you only need one agent
<Ridders24> you mean instead of using rwspider to fetch the url and mech to parse it?
<injekt> Ridders24: no you can still use rwspider (although I'm not sure I see the point in using both rwspider and mechanize, but I haven't used/seen rwspider before
<injekt> I would just use mechanize myself
<injekt> because the pages you fetch via mechanize aren't going to use the rwspider options
<Ridders24> i think i did it as i was still trying to get to grips with mechanize, I'll probably rewrite that section
maxmanders has quit [Quit: Computer has gone to sleep.]
<injekt> Ridders24: you're literally just fetching urls and storing any whos body match some criteria?
<Ridders24> injekt: yh basically
jerrytgarcia has quit [Read error: Connection reset by peer]
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
<injekt> Ridders24: mechanize can do things like this quite easily, just fetch the page and traverse the links in it.
<injekt> Ridders24: just google 'mechanize web spider' and you'll see lots of answers
toretore has quit [Ping timeout: 260 seconds]
toretore has joined #ruby-lang
<Ridders24> injekt: thanks for the help, appreciate it
<yorickpeterse> whitequark: do you know of a reliable way to extract method argument types and their names? #parameters is unreliable as fuck
stevechiagozie has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> e.g. `Kernel.method(:test).parameters` => [[:rest]], while it has 2 required arguments and 1 optional one
<yorickpeterse> Ruby 2.0 sadly doesn
<yorickpeterse> * doesn't fix this
<whitequark> yorickpeterse: that is not possible.
<whitequark> it works through rb_scan_args
<whitequark> which can not be reflected upon.
<yorickpeterse> hmpf
<yorickpeterse> So far I've been relying on `ri` for info, but it's a bit of a PITA
<whitequark> use RXR ;)
<yorickpeterse> Preferrably I'd automate this
<yorickpeterse> fuck. doing. this. manually
<whitequark> (can't be reflected upon) http://prostopleer.com/tracks/89TH0a.
<yorickpeterse> Probably have to abuse YARD for this similar to pry-doc
sepp2k has joined #ruby-lang
* whitequark just wrote `this' in Ruby
<whitequark> probably should write more C++
Axsuul has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby-lang
workmad3 has joined #ruby-lang
apeiros_ has quit [Ping timeout: 264 seconds]
wmoxam has joined #ruby-lang
plusk has joined #ruby-lang
<injekt> no one should ever write more C++
<charliesome> whitequark: at least it's better than javascript
<charliesome> var self = this;
kgrz has joined #ruby-lang
<yorickpeterse> var _this = this; // what I usually do
<yorickpeterse> nice, YARD::Registry can't really handle C code
<yorickpeterse> YARD::Registry.at('Kernel#test').parameters (wtf 1: this is supposed to be a class method) => []
<yorickpeterse> drbrain: is there some scriptable API for Rdoc that lets me query method parameters?
Ridders24 has quit [Ping timeout: 256 seconds]
<yorickpeterse> errr, s/scriptable//
<apeiros> yorickpeterse: hm? all kernel methods are module_function's, so they're both, instance and class method
<apeiros> they should be defined as instance method, though
<yorickpeterse> apeiros: hm
<yorickpeterse> YARD::Registry.at('String.new') # => nil
<yorickpeterse> well, shit
madb055 has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
<apeiros> :-/
wmoxam has quit [Ping timeout: 255 seconds]
<whitequark> injekt: we need moar llvm
<whitequark> therefore, we need moar C++.
<apeiros> anybody have a good regex for "%{foo}" style templates? It should not match escaped ones, e.g. "\\%{foo}" should not match, "\\\\%{foo}" should match again…
<whitequark> apeiros: %r{\\\\|\\%|%{([^}]*)}}
<whitequark> exploit the greediness.
<yorickpeterse> %
<whitequark> >> "\\%{foo}" =~ %r{\\\\|\\%|%{([^}]*)}}
<eval-in> whitequark => /tmp/execpad-727eae04be47/source-727eae04be47:2: syntax error, unexpected tSTRING_DEND, expecting keyword_end (http://eval.in/13535)
<whitequark> what
<whitequark> >> "\\%{foo}" =~ %r{\\\\|\\%|%{([^\}]*)}}
<eval-in> whitequark => 0 (http://eval.in/13536)
<whitequark> >> "\\%{foo}" =~ %r{\\\\|\\%|%{([^\}]*)}}; $1
<eval-in> whitequark => nil (http://eval.in/13537)
<whitequark> >> "%{foo}" =~ %r{\\\\|\\%|%{([^\}]*)}}; $1
<eval-in> whitequark => "foo" (http://eval.in/13538)
<whitequark> >> "\\\\%{foo}" =~ %r{\\\\|\\%|%{([^\}]*)}}; $1
<eval-in> whitequark => nil (http://eval.in/13539)
* apeiros blinks
<whitequark> rrrright
<whitequark> you need to .scan()
<yorickpeterse> dat regex
<whitequark> well, it seems to work.
<charliesome> i have a regex that matches a javascript string
madb055 has quit [Read error: Connection reset by peer]
<charliesome> involving crazy backslash shit
<apeiros> I wonder whether that actually works for arbitrary numbers of escapings…
madb055 has joined #ruby-lang
<charliesome> /(["'])((\\\n|\\.|((?!\1)(?!\\).))*?((?!\1)(?!\\).)?)\1/
<whitequark> apeiros: yes, if you use #scan and then ignore everything where $1 is nil
<charliesome> maybe that might help
canton7 has quit [Remote host closed the connection]
<apeiros> whitequark: thanks
Guest83839 has quit [Remote host closed the connection]
<apeiros> whitequark: if I'm going to ignore non-matches, wouldn't %r{\\.|%\{(\w+)\}} be easier?
<apeiros> i.e., \\. --> ignore escape sequences
Mon_Ouie has quit [Ping timeout: 256 seconds]
<whitequark> could work
<apeiros> seems to work
* apeiros too lazy for test units (this is JS, and I still have no decent JS test harness :-S)
bart has joined #ruby-lang
bart is now known as Guest78320
swav has joined #ruby-lang
plusk has quit [Quit: plusk]
<rue> apeiros: I’ve found mocha+expectjs fairly nice
<rue> But it’s really ridiculous that there’s no good basic solution to it.
Averna has quit [Quit: Leaving.]
<whitequark> yorickpeterse: soooo I think I have one last quirk of parse.y to dissect.
<whitequark> kDO/kDO_BLOCK/kDO_COND/kDO_LAMBDA.
<yorickpeterse> wat
<darix> rue & apeiros what about: http://pivotal.github.com/jasmine/?
<whitequark> the point here is that a humble "do" in ruby could mean three (yes three) different things
<yorickpeterse> kDO_LAMDA is probably `lambda do; end`
<whitequark> yorickpeterse: nope
<yorickpeterse> wat
<whitequark> lemme explain.
<whitequark> kDO_BLOCK is `m do end`. kDO_COND is `while true do end`. kDO_LAMBDA is `-> do end`.
<whitequark> kDO is either the same as kDO_BLOCK or kDO_COND.
<whitequark> as I understand it.
<yorickpeterse> hm
stevechiagozie has joined #ruby-lang
<whitequark> the point here is that you can have `while m do end`
<whitequark> or `while -> do end`
<whitequark> it would probably make *much* more sense to just kill the `while..do` loop form, but we have what we have.
stevechiagozie has quit [Client Quit]
apeiros is now known as apeiros_
<whitequark> sooo, to disambiguate this, ruby's lexer has the so-called 'stack states'. it's basically a stack of bits.
<whitequark> it has four operations: push, pop, top? (which do what you expect), and also lexpop
<whitequark> `def lexpop; a, b = pop, pop; push a || b; end`
<whitequark> I have no clue as to why lexpop exists or what exactly does it do, semantically.
<whitequark> so, parser pushes and pops stuff to the two stacks called `cond` and `cmdarg`, and lexer consults it to determine if it should emit kDO, kDO_BLOCK, kDO_LAMBDA or whatever else
<whitequark> oh there is also a boolean flag called `command_start` which does something, but they killed it in jruby with no visible effect, so I guess I could kill it either.
<whitequark> that's all what is left to implement in order to have a complete lexer.
postmodern has quit [Quit: Leaving]
<whitequark> also while we're at it...
<whitequark> >> while m do end
<eval-in> whitequark => /tmp/execpad-05d2cb283f83/source-05d2cb283f83:2:in `<main>': undefined local variable or method `m' for main:Object (NameError) (http://eval.in/13540)
* whitequark shrugs
<yorickpeterse> >> while true do end
<eval-in> yorickpeterse => (http://eval.in/13541)
<yorickpeterse> heh
<whitequark> nono, `true do end` is unambiguous
<yorickpeterse> >> def m; end; while m do end
<eval-in> yorickpeterse => nil (http://eval.in/13542)
<charliesome> whitequark: i love how parse.y is probably full of dead code but nobody understands it well enough to fix it
<whitequark> charliesome: relevant: https://github.com/seattlerb/ruby_parser/pull/105
workmad3 has joined #ruby-lang
stevechiagozie has joined #ruby-lang
<whitequark> also I have successfully excised EXPR_MID, EXPR_CMDARG and EXPR_ENDFN
<whitequark> but that is partly due to the fact that ragel is quite powerful
canton7 has joined #ruby-lang
zmack has joined #ruby-lang
chendo_ has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<whitequark> yorickpeterse: the absolutely worst part of parse.y is probably ternary op parsing
<whitequark> not only I don't understand how it works
<whitequark> but I don't really understand how it *should* work
<whitequark> ruby seems to randomly accept some variants of ternary statements and turn others to garbage
<yorickpeterse> it's magic!
<yorickpeterse> wouldn't it be easier in this case to see how jruby does it?
<whitequark> killall -9 unicorn
<whitequark> yorickpeterse: jruby's parser is a derivative of mri parser. AS WELL.
<yorickpeterse> Yes, it's Java but hopefully (haven't looked) it at least makes sense
<yorickpeterse> hm
<whitequark> it even has some of the bullshitty comments in parse.y, copied verbatim.
Spaceghost|cloud has joined #ruby-lang
<whitequark> hrm
<whitequark> >> m while do end
<eval-in> whitequark => /tmp/execpad-7d4adb942ce6/source-7d4adb942ce6:2: syntax error, unexpected keyword_do_block ... (http://eval.in/13543)
<whitequark> why the hell. isn't the _whole point_ of that stuff to disambiguate `do`?!
<yorickpeterse> eh what the hell Rbx: it returns a bunch of :block arguments for a method that doesn't have any
<yorickpeterse> to_sub_replacement : [[:req, :result], [:req, :match], [:block, :index], [:block, :current], [:block, :cap], [:block, :additional]]
<yorickpeterse> it has 2 actual parameters
wmoxam has joined #ruby-lang
<whitequark> didn't they have a better place for it?!
<yorickpeterse> hahahaha
zmack has quit [Remote host closed the connection]
* whitequark cries
* yorickpeterse is sad now that he actually uses a language written like that
<whitequark> meh
<whitequark> it's not like gcc is any better
<whitequark> it's mostly crap all the way down to hardware.
<whitequark> actually gcc is probably wors.
<whitequark> if I understand it correctly...
srbaker has joined #ruby-lang
<whitequark> >> def m(*a,&b); p a,b; end; while m do end
<eval-in> whitequark => [] ... (http://eval.in/13544)
<whitequark> >> def m(*a,&b); p a,b; end; while m 1 do end
<yorickpeterse> dbussink: is it a known issue that String#to_sub_replacement returns incorrect parameters in Rbx?
* whitequark waves his hand in front of eval-in
wmoxam has quit [Ping timeout: 264 seconds]
<whitequark> >> def m(*a,&b); p a,b; nil; end; while m 1 do end
<eval-in> whitequark => [1] ... (http://eval.in/13548)
<yorickpeterse> oh what the, to_sub_replacement isn't even an MRI method
<dbussink> yorickpeterse: if it's not an open issue on the tracker, it's not a known issue, so if there's something up, could you please open one?
<whitequark> >> def m(*a,&b); p a,b; nil; end; while m (1) do end
<eval-in> whitequark => [1] ... (http://eval.in/13549)
<yorickpeterse> well, swapcase has it as well
<dbussink> yorickpeterse: it's a helper method in rbx
<yorickpeterse> dbussink: yeah, give me a sec
<dbussink> but if it shows up as a problem for methods that mri has, we should fix them
<dbussink> yorickpeterse: you can open an issue here: https://github.com/rubinius/rubinius/issues
<dbussink> yorickpeterse: multibyte / encoding related i assume?
<yorickpeterse> Doing so
<yorickpeterse> and no, don't think so
dostoyevsky has quit [Quit: leaving]
<dbussink> yorickpeterse: if you want to investigate fixing it that would be even more awesome of course ;)
<yorickpeterse> I have literally zero experience with Rbx but I'll give it a try
<yorickpeterse> because if this gets fixed (or I can work around it) that means I have an actual use case for Rbx
symm- has joined #ruby-lang
<dbussink> it's probably fixing something in ruby code :)
<dbussink> feel free to hit me with questions :), although doing that in #rubinius might be better
<yorickpeterse> yeah
kgrz has quit [Quit: Computer has gone to sleep.]
chessguy has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
refd has joined #ruby-lang
zavier has quit [Quit: WeeChat 0.3.8]
workmad3 has quit [Ping timeout: 245 seconds]
chendo_ has quit [Quit: Computer has gone to sleep.]
jxie has quit [Quit: leaving]
Guest78320 has quit [Remote host closed the connection]
jxie has joined #ruby-lang
jxie_ has joined #ruby-lang
hramrach has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 245 seconds]
zavier has joined #ruby-lang
refd has quit [Read error: Connection timed out]
shtirlic has quit [Quit: ZNC - http://znc.in]
dhruvasagar has joined #ruby-lang
refd has joined #ruby-lang
refd has quit [Max SendQ exceeded]
realDAB has joined #ruby-lang
refd has joined #ruby-lang
refd has quit [Max SendQ exceeded]
<whitequark> yorickpeterse: I think I kinda figured it out
refd has joined #ruby-lang
shtirlic has joined #ruby-lang
<whitequark> so, in addition to the static environment for variables, there is a kind of a lexical environment for the kDO stuff
refd has quit [Max SendQ exceeded]
<whitequark> it essentially consists of one value: `do_type`. at the beginning of the program, it is reset to kDO
<yorickpeterse> hm
refd has joined #ruby-lang
<whitequark> after kWHILE it is set to kDO_CONT
<whitequark> same for kUNTIL, kFOR
<whitequark> after #{ in string it is reset to kDO again
bart has joined #ruby-lang
<whitequark> also after the closing interp brace it is set to some value I'm not sure about.
bart is now known as Guest51021
<yorickpeterse> heh
<yorickpeterse> needs more kDOs
<whitequark> oooh shit I see how the kDO_LAMBDA is emitted
<whitequark> it counts parentheses
<whitequark> why
<whitequark> so horrible
<whitequark> it abuses the bison stack to store the previous count of ( and then counts )
<whitequark> when it sees that the ) matches a previously seen -> (, it emits kDO_LAMBDA instead of kDO
<yorickpeterse> oh dear
<whitequark> or maybe that is a separate issue
<whitequark> I'm not sure what is worse: php's parser which doesn't have a formal grammar, or ruby's parser which implements a certain formal grammar in such a horrible way
srbaker has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
<whitequark> oh also ->{ is tLAMBDA tLAMBEG, and ->do is tLAMBDA kDO_LAMBDA
<whitequark> it probably cannot use simple tLBRACK because bison
<whitequark> I guess
<whitequark> er tLCURLY
Guest51021 has quit [Ping timeout: 260 seconds]
srbaker has joined #ruby-lang
Ridders24 has joined #ruby-lang
srbaker has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 256 seconds]
<apeiros_> php has an informal grammar? :)
shtirlic has quit [Quit: ZNC - http://znc.in]
shtirlic has joined #ruby-lang
<MaddinXx> Hi there. Is there an official Rake channel? I was not able to find information on that
<whitequark> apeiros_: php has parse.y
<whitequark> apeiros_: but I'm not sure it can even be classified by Chomsky...
refd has quit [Read error: Connection timed out]
refd has joined #ruby-lang
<yorickpeterse> le gem lelelele
<whitequark> yorickpeterse: haha I googled something http://edwinmeyer.com/Release_Integrated_RHG_09_10_2008/chapter11.html
<whitequark> >For example EXPR_BEG to precisely "We own head scanner Beginning of a sentence or salted cod to move like a state. "
<yorickpeterse> oh neat
sush24 has joined #ruby-lang
bougyman has quit [Remote host closed the connection]
<whitequark> The remaining COND_LEXPOP () is a little strange movements. Current COND_P () to
<whitequark> Back stack shift to the right and left. That is because under a two-bit
<whitequark> For a bit of crushing to be trampled on.
<whitequark> a little strange movements. indeed.
slyphon has joined #ruby-lang
symm- has quit [Quit: Leaving...]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
<whitequark> what.
<yorickpeterse> you need to blag about this
<whitequark> "The accompanying CD-ROM tools / ruby-lexer.tar.gz"
<whitequark> accompanying CD-ROM.
<whitequark> I wonder how old is that.
<whitequark> it refers to "parse.y revision 1.100 (2001-05-31). ".
<yorickpeterse> lololol
bougyman has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
<whitequark> argh I might as well pay someone to translate https://github.com/ruby-hacking-guide/rubyforge_svn_repo/blob/master/ja/chapter11.txt to english
<yorickpeterse> doesn't aaron speak Japanese?
refd has quit [Read error: Connection timed out]
<yorickpeterse> also, that's 7 years old, not sure how relevant that would be today
<whitequark> yorickpeterse: it is relevant, judging by machine translation and code references
<yorickpeterse> hmm
<khaase> how come there is no destructive version of take_while?
<whitequark> I just need to precisely understand what did they have in mind while writing that code
<khaase> ie shift_while
srbaker has joined #ruby-lang
<yorickpeterse> well, I can send you my copy of "Genki: Elementary Japanese" :D
<whitequark> khaase: because Enumerable generally does not support destructive operations?
<whitequark> yorickpeterse: fuck that, I need it *now*.
refd has joined #ruby-lang
<khaase> whitequark: I'm talking about arrays
<yorickpeterse> haha
stevechiagozie has joined #ruby-lang
srbaker has quit [Client Quit]
<MaddinXx> so I just ask. I've created a Rake multitask which "fires" 3 tasks at the same time (guard-livereload (via shell), serve (via shell) and rb-fsevent). problem is that CTRL+C doesn't quit all of them, e.g. LiveReload keeps watching. any hints on how to solve that? Rakefile: https://github.com/MaddinXx/frontrake/blob/develop/Rakefile
<MaddinXx> lin e 113
TheNotary has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
benanne has quit [Read error: Connection reset by peer]
refd has quit [Max SendQ exceeded]
refd has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
bart has joined #ruby-lang
bart is now known as Guest86526
srbaker has joined #ruby-lang
workmad3 has joined #ruby-lang
srbaker has quit [Client Quit]
MartynKeigher has joined #ruby-lang
kristofferrr has joined #ruby-lang
benanne has joined #ruby-lang
Guest86526 has quit [Ping timeout: 258 seconds]
slyphon has quit [Quit: slyphon]
refd has quit [Read error: Connection timed out]
CoverSlide has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 264 seconds]
volov has joined #ruby-lang
<whitequark> yorickpeterse: haha I found a translator dude who can do it
<whitequark> I mean literally, he's @TranslatorDude
<yorickpeterse> hah
toertore has joined #ruby-lang
<whitequark> god why do I have to do this -_-
toretore has quit [Ping timeout: 255 seconds]
MaddinXx has quit [Remote host closed the connection]
voker57 has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
plusk has joined #ruby-lang
plusk has quit [Client Quit]
plusk has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
benwoody has left #ruby-lang [#ruby-lang]
Mon_Ouie has quit [Ping timeout: 256 seconds]
marr has joined #ruby-lang
mistym_away has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
realDAB has quit [Quit: realDAB]
madb055 has quit [Ping timeout: 248 seconds]
madb055 has joined #ruby-lang
madb055 has quit [Read error: No route to host]
madb055 has joined #ruby-lang
jxie_ has quit [Quit: leaving]
methods has joined #ruby-lang
tomzx_mac has joined #ruby-lang
intellitech has joined #ruby-lang
valeri_uF0 has left #ruby-lang [#ruby-lang]
sio has left #ruby-lang ["WeeChat 0.4.0"]
valeri_ufo has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
xcombelle has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
jacky has quit [Excess Flood]
plusk has left #ruby-lang [#ruby-lang]
bart has joined #ruby-lang
bart is now known as Guest19752
banister`sleep has joined #ruby-lang
realDAB has joined #ruby-lang
Guest19752 has quit [Ping timeout: 252 seconds]
srbaker has joined #ruby-lang
<whitequark> yorickpeterse: ok it's a deal
JohnBat26 has joined #ruby-lang
<whitequark> I'll pay that guy to translate chapter 11 of ruby hacking guide to english
madb055 has quit [Ping timeout: 256 seconds]
<yorickpeterse> haha
<yorickpeterse> I'll buy you a crate of beer if you end up writing something nice with this
<whitequark> cost me ~$500... well, it's japanese after all
<yorickpeterse> let the company pay for it :D
Guest76236 has joined #ruby-lang
<whitequark> well I guess.
<whitequark> also down to 1 failed lexer test
<whitequark> and 75 failures, 316 errors on parser tests
<whitequark> from ~900 of them
<whitequark> wtf why does it think yield is a tIDENTIFIER >_<
<whitequark> 55/316!
* yorickpeterse is currently hacking on Rbx
<yorickpeterse> took me a good 2 hours but I'm getting there
swav has quit [Remote host closed the connection]
swav has joined #ruby-lang
fire has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
slyphon has joined #ruby-lang
banister`sleep has quit [Read error: Connection reset by peer]
sush24 has quit [Quit: Leaving]
sush24 has joined #ruby-lang
TheNotary has joined #ruby-lang
r0bglees0n has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby-lang
realDAB has quit [Quit: realDAB]
Ridders24 has quit [Ping timeout: 245 seconds]
Ridders24 has joined #ruby-lang
Guest___ has joined #ruby-lang
bart has joined #ruby-lang
bart is now known as Guest82852
pkrnj has joined #ruby-lang
dRbiG has joined #ruby-lang
volov has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
swav has quit [Remote host closed the connection]
volov has joined #ruby-lang
soknee has joined #ruby-lang
swav has joined #ruby-lang
volov has quit [Ping timeout: 256 seconds]
soknee has quit [Ping timeout: 252 seconds]
Guest___ has quit [Ping timeout: 252 seconds]
bzalasky has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
Ridders24 has quit [Quit: Leaving]
Ridders24 has joined #ruby-lang
volov has joined #ruby-lang
alessio_rocco has joined #ruby-lang
hashbangchris has joined #ruby-lang
<Ridders24> injekt: I followed your advice, and rewrote my spider, however I can't seem to work out, how to get the keyword searching bit to work. when I do page.search('a').each do |kword|, as an example it returns hrefs within the page, however when i do page.search('ruby').each do |kword|, I don't get anything back, why?
Guest82852 has quit [Remote host closed the connection]
swav has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
<zzak> do you have a <ruby> element?
<zzak> Mechanize::Page#search is just an interface for Nokogori, see: http://mechanize.rubyforge.org/Mechanize/Page.html
<zzak> you can use css or xpath
<canton7> Ridders24, no <ruby> tags I suspec
<canton7> *suspect
<Ridders24> canton7: do i need to do somthing like <body> Ruby
<canton7> Ridders24, what are you searching for?
<Ridders24> particular words, that might appear in the text of a webpage
<canton7> just wanting to see if the page contains the keyword?
<Ridders24> yh
<canton7> why are you using nokogiri then?
<Ridders24> why not?
<canton7> nokogiri's for parsing the document, and allowing you to select specific elements. so if you were looking for all of the links in the page with class 'foo', nokogiri's your tool
<canton7> or maybe you're after the contents of the <nav> tag, etc...
<zzak> you could find links with Ruby in the text
<zzak> but it must be a link
<Ridders24> ah ok, I did use mechanize earlier for searching and it seemed to work fine, it was just when i rewrote the script i didnt use it and thought nokogiri did the same thing
<canton7> they do quite different things
<zzak> or you can pass :text search in any of the Page#*_with methods: http://mechanize.rubyforge.org/Mechanize/Page.html
<Ridders24> thanks zzak
<Ridders24> cheers guys, least that answers that
<canton7> mechanize uses nokogiri I believe, but it also handles cookies, redirects, etc
xcombelle has quit [Ping timeout: 256 seconds]
<zzak> yup
brianpWins has joined #ruby-lang
hashbangchris has quit [Quit: mt]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
xcombelle has joined #ruby-lang
skade has joined #ruby-lang
<khaase> any rspec pros around?
pkrnj has quit [Quit: Computer has gone to sleep.]
<andrewvos> khaase: I've used it a bit.
<andrewvos> Though I'm probably quite rusty on the topic
<khaase> andrewvos: do you know if and how I can chain to a builtin matcher?
<khaase> ie I'd like the check the matched parts with a match helper
<andrewvos> No idea sorry
<khaase> no worries
<khaase> it's pretty specific I guess
<zzak> khaase: quick question
<khaase> QUICK!
<khaase> ok :)
<zzak> khaase: how come ruby-head on travis is 2.0.0-dev?
<zzak> and where do i report bugs like this
<khaase> zzak: because we suck at updating
<khaase> zzak: either issue tracker or support@travis-ci.org
<zzak> which one :(
<khaase> zzak: travis-ci/travis-ci
<zzak> you got it
<zzak> khaase: thanks :D
<khaase> zzak: I don't know, tbh, I thought joshk and the guy from rvm built something so we don't have to rebuild our vms to update ruby, but I guess we're not using that for mri
pkrnj has joined #ruby-lang
Nisstyre has quit [Ping timeout: 264 seconds]
<zzak> the rvm version is only a week or two old
<khaase> binary build?
<khaase> dunno, please bother josh
<khaase> I'm trying to bother people about this right now, too
<khaase> but josh isn't around yet
bzalasky has joined #ruby-lang
<zzak> np
<zzak> not sure when rvm updated it tho
<khaase> yeah, saw that
dingus_khan has joined #ruby-lang
maxmanders has quit [Ping timeout: 256 seconds]
<zzak> jose is going to be on the east coast :O
maxmanders has joined #ruby-lang
maxmanders has quit [Max SendQ exceeded]
maxmanders has joined #ruby-lang
judofyr has joined #ruby-lang
benanne has quit [Quit: kbai]
Nisstyre has joined #ruby-lang
Axsuul has joined #ruby-lang
alessio_rocco has quit [Ping timeout: 264 seconds]
<dingus_khan> hi, is there a way to read string inputs into a hash as keys, and set the value to integer 1, but if the same string is entered again, the value gets incremented while in the loop?
ryanf_ has joined #ruby-lang
<dingus_khan> in other words, I can't figure out how to properly read strings into a hash as keys and set a default value and then increment that..?
srbaker has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Ping timeout: 252 seconds]
srbaker has joined #ruby-lang
<canton7> dingus_khan, myhash = Hash.new{ |h,k| h[k] = 0 }
<canton7> then with whatever you read, myhash[key] += 1
<skade> In the specific case of numbers, you can also use `Hash.new(0)`
<dingus_khan> ok, so the second part, I place that after I get the string from the input? as in, myash[gets.chomp] +=1 ?
<dingus_khan> sorry, I am utter noob
voker57 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<canton7> aye
<dingus_khan> so that will work, what I put there?
<canton7> yes
<canton7> assuming I've understood what you're trying to do
sepp2k has quit [Quit: Leaving.]
<dingus_khan> ok, so I'm trying to read in strings from user input until exit condition is met, and each string that's read in is placed in an otherwise empty hash as a key, and the value is set by default to 1, and then a check is run on the hash to see if that key already exists, and if it does, instead of placing it in the hash again, the value of the duplicate string item is just incremented. it's incremented as many times as the same string is input. does
<dingus_khan> that make sense?
<canton7> yup, and that's what my suggestion does
<dingus_khan> all before exiting the input loop
<dingus_khan> ok, sweet baby t-rex, thank you!
<canton7> well, you'll have the check the exit condition of course
<dingus_khan> right, I'll do that before any of the hash stuff, just check for the "done" string or something
swav has joined #ruby-lang
<canton7> hashes have a default value, which is returned if the specified key doesn't exist. by default that's nil, so myhash['key_that_doesnt_exist'] returns nil
<canton7> you can also set it to be anything else - here, we set the default value to 0
<canton7> so hash['key_that_doesnt_exist'] returns 0
<canton7> so calling hash['key_that_doesnt_exist'] += 1 grabs the value for that key - default 0 - before incrementing it and setting it back into the bash
<dingus_khan> wait, I thought you could create an empty hash with no values in it?
<canton7> yes
<canton7> we create an empty hash with no keys or values, but with a custom default value
<dingus_khan> ohhh, in the example you gave me then, right? because the first part I read on hashes was you could just create hash = Hash.new with nothing in it, or did I misread that?
<canton7> that's right
<canton7> well, you'd normally write hash = {}, but it means the same thing
<canton7> but like I keep saying, you can create an *empty* hash, but which has a default value which is *not* the (normal) nil
<dingus_khan> oh man, thank you, sorry for my thick skull, I don't know why I wasn't getting that until just now--that's exactly what I wanted to do, but I wasn't sure how or it really worked that way
<dingus_khan> if it*
<canton7> coolies
swav has quit [Ping timeout: 264 seconds]
punchfac_ has joined #ruby-lang
holgerno has joined #ruby-lang
<canton7> this would be an alternaitve that didn't use the default value feature
<dingus_khan> if I wanted to ask if someone could look at a chunk of code that isn't working for me for a reason I don't understand, would I use gist? I'm completely new to IRC, sorry
<dingus_khan> lol, I'm too slow
punchfacechamp has quit [Ping timeout: 248 seconds]
Bwild has quit [Quit: leaving]
punchfacechamp has joined #ruby-lang
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
<dingus_khan> wait, so this part here: if hash.has_key?(mykey) --> hash[mykey] = 1 ; that part sets the value to 1 if there is no identical string already in the hash, right?
maxmanders has joined #ruby-lang
punchfac_ has quit [Ping timeout: 252 seconds]
<dingus_khan> because it looks like if has_key? returns true, then it only sets the value to 1 but a false is the increment one?
punchfacechamp has quit [Read error: Connection reset by peer]
punchfacechamp has joined #ruby-lang
sepp2k has joined #ruby-lang
<dingus_khan> I'm not sure why this isn't working, but I'm guessing it's because I can't use that string variable as the check condition for has_key?, but how else would you check the string against the hash keys? -> http://pastie.org/7102396
punchfac_ has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
punchfacechamp has quit [Ping timeout: 245 seconds]
wmoxam has joined #ruby-lang
<yorickpeterse> MyFirstRubiniusPatch
<whitequark> 305 failing tests
maxmanders has joined #ruby-lang
<yorickpeterse> heh
punchfacechamp has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
punchfac_ has quit [Ping timeout: 264 seconds]
<whitequark> ... 292 failing tests
<whitequark> this will take a while.
punchfac_ has joined #ruby-lang
punchfacechamp has quit [Ping timeout: 264 seconds]
<dingus_khan> whoops, nevermind, figured it out, still don't know why it's that order though
pkrnj has quit [Quit: Computer has gone to sleep.]
kristofferrr has quit [Quit: ❤]
Bwild has joined #ruby-lang
punchfac_ has quit [Ping timeout: 248 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
punchfacechamp has joined #ruby-lang
srbaker has joined #ruby-lang
wmoxam has quit [Ping timeout: 240 seconds]
punchfac_ has joined #ruby-lang
lsegal has joined #ruby-lang
punchfacechamp has quit [Ping timeout: 264 seconds]
pasties has quit [Ping timeout: 256 seconds]
pasties has joined #ruby-lang
stevechiagozie has quit [Quit: Computer has gone to sleep.]
dingus_khan has quit [Read error: Connection reset by peer]
judofyr has quit [Remote host closed the connection]
xcombelle has quit [Read error: Connection reset by peer]
agarie has joined #ruby-lang
rippa has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
punchfac_ has quit [Ping timeout: 264 seconds]
volov has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
volov has joined #ruby-lang
joeyw has joined #ruby-lang
ryanf_ is now known as ryanf
rippa has quit [Ping timeout: 240 seconds]
punchfacechamp has joined #ruby-lang
lacrosse has joined #ruby-lang
volov has quit [Ping timeout: 264 seconds]
stevechiagozie has joined #ruby-lang
leocassarani has joined #ruby-lang
pkrnj has joined #ruby-lang
fire has quit [Ping timeout: 245 seconds]
baba has joined #ruby-lang
ilyam has joined #ruby-lang
ilyam has quit [Client Quit]
punchfac_ has joined #ruby-lang
punchfacechamp has quit [Ping timeout: 252 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
dingus_khan has joined #ruby-lang
ezkl has joined #ruby-lang
bzalasky has joined #ruby-lang
srbaker has joined #ruby-lang
<yorickpeterse> http://pastie.org/7103344 this makes me so happy
<yorickpeterse> 6 hours of hacking on Rbx quite possibly saved me months of work
<yorickpeterse> MRI output: http://pastie.org/7103349
<yorickpeterse> Rbx HEAD output: http://pastie.org/7103350
* yorickpeterse is quite content with himself
wasserspiegel has joined #ruby-lang
sailias1 has quit [Ping timeout: 258 seconds]
bzalasky has quit [Remote host closed the connection]
ezkl has quit [Quit: Textual IRC Client: www.textualapp.com]
ezkl has joined #ruby-lang
ezkl has quit [Max SendQ exceeded]
lacrosse has quit [Quit: none]
volov has joined #ruby-lang
ezkl has joined #ruby-lang
workmad3 has joined #ruby-lang
bzalasky has joined #ruby-lang
dingus_khan has quit [Quit: Leaving]
cored has quit [Ping timeout: 245 seconds]
joeyw has quit [Quit: Computer has gone to sleep.]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
sailias has joined #ruby-lang
madb055 has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
jg_ has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
earthquake has quit [Quit: earthquake]
tcopp has joined #ruby-lang
Xzyx987X has quit [Quit: Leaving]
havenwood has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
holgerno has quit [Quit: Leaving...]
<Ridders24> how can I ignore webpages that return 404 with mechanize?
srbaker has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 256 seconds]
bzalasky has quit [Remote host closed the connection]
<TheNotary> what context are you using machanize with?
<TheNotary> oh, you must be rails testing?
joeyw has joined #ruby-lang
<Ridders24> TheNotary: Im using mechanize as part of a webspider, its parsing the urls it fetches
<andrewvos> Ridders24: Show the code and I'll take a look
<Ridders24> andrewvos: http://pastebin.com/f8e3CQ7V
<ezkl> Ridders24: Any reason you're using both spidr and mechanize?
lcdhoffman has joined #ruby-lang
<Ridders24> ezkl: not really, just couldnt work out how to grab the urls with mechanize at the time and spidr, seemed to do the job well enough
<andrewvos> Ridders24: Man eight spaces for a tab? I can barely comprehend that :/
<Ridders24> andrewvos: sorry
<andrewvos> better
volov has quit [Remote host closed the connection]
volov has joined #ruby-lang
<andrewvos> Should the enumeration of every_url and every_failed_url be not nested?
madb055 has quit [Read error: Connection reset by peer]
<andrewvos> I mean, every_failed_url shouldn't be inside every_url
<Ridders24> ok i can change that, but thats not causing the issue is it?
<andrewvos> Well it would be requesting the failed urls a lot more than it should as far as I can see
volov has left #ruby-lang [#ruby-lang]
volov has joined #ruby-lang
<Ridders24> what the 404 error?
dingus_khan has joined #ruby-lang
<Ridders24> injekt mentioned about using rescue WWW::Mechanize::ResponseCodeError, but i couldnt get it to work
<TheNotary> should "working_urls" be renamed to "working_url" as that it's one instance of a group of urls you're iterating through? I might be misreading your code a bit.
<Ridders24> yh i guess, now you mention it
<ezkl> https://gist.github.com/AndrewVos/5233785#comment-804625 <- but rescuing a specific error so you can handle it
idkazuma has joined #ruby-lang
woollyams has joined #ruby-lang
stevechiagozie has quit [Quit: Computer has gone to sleep.]
<Ridders24> ezkl: that just highlights the 404 page? is doesnt ignore it and carry on searching
<Ridders24> ?
<TheNotary> you'd think mechanize would be structured in a way where it returns an object with a response code that equaled 404 instead of raising an exception. Does anyone else find that funky?
<TheNotary> Ridders24, what happens when instead of doing `puts "Rescued!" you do `next`?
<TheNotary> I honestly can't say I've tried using next within a file.open loop though, heh
<Ridders24> I'll try it and see
<ezkl> You'll want to use an ary as a bad URI stack or something
<drbrain> Ridders24: you should only create one mechanize instance
mjio has joined #ruby-lang
<Ridders24> whys that?
brianpWins has quit [Quit: brianpWins]
<drbrain> Ridders24: mechanize will reuse HTTP connections which improves performance
<drbrain> also, mechanize creates a lot of objects when starting up
<drbrain> so all those need to be GC'd if you create an instance then immediately throw it away
bzalasky has joined #ruby-lang
<Ridders24> ahh ok
xalei has joined #ruby-lang
pkrnj has joined #ruby-lang
xalei has quit [Client Quit]
<TheNotary> I'm having a minor problem with non-primitive objects... You know how when you make a hash, calling it h. and then you do `f = h` now f and h are the same thing? How do you prevent that? I thought .dup would work but apparently not... http://pastebin.com/EyhvT0We
<drbrain> TheNotary: dup is shallow
<drbrain> it duplicates the hash, not its entries
<TheNotary> oh, that makes sense
<TheNotary> is there a shortcut for doing a deeper .dup?
<TheNotary> or do I need to traverse the nodes
<drbrain> Marshal.load Marshal.dump hash
<drbrain> provided you don't have a default block and all the entries are dumpable
<TheNotary> thanks! They should dump ok i think.
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-lang
srbaker has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
ezkl has quit [Quit: Textual IRC Client: www.textualapp.com]
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-lang
solars has quit [Ping timeout: 256 seconds]
joeyw has quit [Quit: Computer has gone to sleep.]
TheNotary has quit [Quit: Leaving]
madb055 has joined #ruby-lang
wasserspiegel has quit [Ping timeout: 252 seconds]
his_shadow has joined #ruby-lang
jgoss has quit [Read error: Connection reset by peer]
nertzy has quit [Read error: Connection reset by peer]
nignaztic has joined #ruby-lang
nertzy has joined #ruby-lang
amerine has quit [Ping timeout: 248 seconds]
amerine has joined #ruby-lang
punchfacechamp has joined #ruby-lang
Guest85414 has quit [Ping timeout: 245 seconds]
jgoss_ has joined #ruby-lang
Ridders24 has quit [Ping timeout: 264 seconds]
mihar_ has joined #ruby-lang
UziMonkey_ has joined #ruby-lang
crankharder has quit [Ping timeout: 245 seconds]
nick_h has quit [Ping timeout: 245 seconds]
s0ber_ has joined #ruby-lang
pasties has quit [Ping timeout: 256 seconds]
mroth___ has joined #ruby-lang
mfn has quit [Ping timeout: 260 seconds]
tris has quit [Ping timeout: 245 seconds]
rwk1 has joined #ruby-lang
mfn has joined #ruby-lang
DefV has quit [Ping timeout: 245 seconds]
mroth__ has quit [Ping timeout: 264 seconds]
UziMonkey has quit [Ping timeout: 264 seconds]
TheMoonMaster has quit [Ping timeout: 264 seconds]
madb055 has quit [Ping timeout: 264 seconds]
Nisstyre has quit [Ping timeout: 264 seconds]
lectrick has quit [Ping timeout: 256 seconds]
Raynes has quit [Ping timeout: 256 seconds]
Nisstyre-laptop has quit [Ping timeout: 245 seconds]
notwen has quit [Ping timeout: 245 seconds]
Ridders24 has joined #ruby-lang
ironcame1 has joined #ruby-lang
nazty has quit [Ping timeout: 246 seconds]
rtl_ has joined #ruby-lang
coffeejunk has quit [Ping timeout: 260 seconds]
jaymes_ has joined #ruby-lang
punchfac_ has quit [Ping timeout: 264 seconds]
nick_h has joined #ruby-lang
llakey_ has joined #ruby-lang
mdub has joined #ruby-lang
lectrick_ has joined #ruby-lang
joschi_ has joined #ruby-lang
scottschecter has quit [Ping timeout: 245 seconds]
maxmande_ has joined #ruby-lang
ericwood_ has joined #ruby-lang
eam_ has joined #ruby-lang
chendo_ has joined #ruby-lang
TheMoonMaster_ has joined #ruby-lang
notwen has joined #ruby-lang
rshackle1ord has joined #ruby-lang
bougyman has quit [Ping timeout: 264 seconds]
pcboy_ has quit [Ping timeout: 264 seconds]
pcboy_ has joined #ruby-lang
Nisstyre has joined #ruby-lang
DefV has joined #ruby-lang
kke_ has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
bougyman has joined #ruby-lang
tris- has joined #ruby-lang
rheddry has joined #ruby-lang
Raynes has joined #ruby-lang
Boohbah_ has joined #ruby-lang
rebelcan_ has joined #ruby-lang
techlife has quit [Ping timeout: 260 seconds]
rebelcan has quit [Ping timeout: 260 seconds]
singpolyma has quit [Ping timeout: 264 seconds]
Boohbah_ is now known as Guest99422
hagebake has quit [Ping timeout: 264 seconds]
erichmenge_ has joined #ruby-lang
hagabaka has joined #ruby-lang
weeb1e_ has joined #ruby-lang
sn0wb1rdz has joined #ruby-lang
dbussink_ has joined #ruby-lang
mroth___ has left #ruby-lang [#ruby-lang]
crankhar1er has joined #ruby-lang
jmeeuwen_ has joined #ruby-lang
herpless__ has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
jwollert- has joined #ruby-lang
yellow5_ has joined #ruby-lang
woollyams has quit [*.net *.split]
maxmanders has quit [*.net *.split]
s0ber has quit [*.net *.split]
rwk1_ has quit [*.net *.split]
chendo has quit [*.net *.split]
rking has quit [*.net *.split]
joschi has quit [*.net *.split]
guilleiguaran_ has quit [*.net *.split]
jtoy_ has quit [*.net *.split]
eam has quit [*.net *.split]
mihar has quit [*.net *.split]
levifig has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
erichmenge has quit [*.net *.split]
ironcamel has quit [*.net *.split]
ericwood has quit [*.net *.split]
rtl has quit [*.net *.split]
jaymes has quit [*.net *.split]
erichmenge_ is now known as erichmenge
chendo_ is now known as chendo
_dabradley has joined #ruby-lang
nibbo has joined #ruby-lang
shachaf_ has joined #ruby-lang
Demux_ has joined #ruby-lang
crankhar1er has quit [Client Quit]
jtoy has joined #ruby-lang
rtl has joined #ruby-lang
shachaf_ has quit [Changing host]
shachaf_ has joined #ruby-lang
shachaf has quit [Disconnected by services]
shachaf_ is now known as shachaf
yorickpeterse1 has joined #ruby-lang
techlife has joined #ruby-lang
hackeron_ has joined #ruby-lang
bpot_ has joined #ruby-lang
swav has joined #ruby-lang
jMCg has quit [Ping timeout: 264 seconds]
singpolyma has joined #ruby-lang
jMCg has joined #ruby-lang
jMCg has quit [Changing host]
jMCg has joined #ruby-lang
wang_ has joined #ruby-lang
kain_ has joined #ruby-lang
jgoss__ has joined #ruby-lang
schroedinbug has quit [Ping timeout: 245 seconds]
theduffman has quit [Ping timeout: 245 seconds]
yorickpeterse has quit [Ping timeout: 245 seconds]
jwollert has quit [Read error: Connection reset by peer]
rtl_ has quit [Ping timeout: 245 seconds]
ioga_wrk has quit [Ping timeout: 245 seconds]
kain has quit [Ping timeout: 245 seconds]
theduffman1 has joined #ruby-lang
llakey has quit [Ping timeout: 248 seconds]
rshackleford has quit [Ping timeout: 248 seconds]
Boohbah has quit [Ping timeout: 248 seconds]
weeb1e has quit [Ping timeout: 248 seconds]
wang has quit [Ping timeout: 248 seconds]
kke has quit [Ping timeout: 248 seconds]
tdy_ has quit [Ping timeout: 248 seconds]
dbussink has quit [Ping timeout: 248 seconds]
ddfreyne has quit [Ping timeout: 248 seconds]
Smol has quit [Ping timeout: 248 seconds]
mitchty has quit [Ping timeout: 248 seconds]
Demux has quit [Ping timeout: 248 seconds]
nibbo_ has quit [Ping timeout: 248 seconds]
herpless_ has quit [Ping timeout: 248 seconds]
yeltzooo has quit [Ping timeout: 248 seconds]
yellow5 has quit [Ping timeout: 248 seconds]
yellow5_ is now known as yellow5
Ridders24 has quit [Ping timeout: 252 seconds]
jgoss_ has quit [*.net *.split]
khaase has quit [*.net *.split]
dabradley has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
bpot has quit [*.net *.split]
hackeron has quit [*.net *.split]
sonne has quit [*.net *.split]
dvorak has quit [*.net *.split]
crackity_jones has quit [*.net *.split]
tris- is now known as tris
Averna has joined #ruby-lang
dvorak has joined #ruby-lang
jmeeuwen_ is now known as jmeeuwen
ironcame1 has quit [Ping timeout: 260 seconds]
ericwood1 has joined #ruby-lang
crankhar1er has joined #ruby-lang
ericwood_ has quit [Ping timeout: 260 seconds]
rking has joined #ruby-lang
s0ber_ is now known as s0ber
yeltzooo has joined #ruby-lang
sonne has joined #ruby-lang
ironcamel has joined #ruby-lang
techlife has quit [Ping timeout: 256 seconds]
mitchty_ has joined #ruby-lang
vitaluha has joined #ruby-lang
pasties has joined #ruby-lang
crackity_jones has joined #ruby-lang
khaase has joined #ruby-lang
dingus_khan has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
chendo_ has joined #ruby-lang
charliesome has joined #ruby-lang
shinh has quit [Ping timeout: 272 seconds]
s0ber has quit [Remote host closed the connection]
shinh has joined #ruby-lang
eval-in has quit [Ping timeout: 272 seconds]
s0ber has joined #ruby-lang
eval-in has joined #ruby-lang
khaase_ has joined #ruby-lang
ddfreyne has joined #ruby-lang
ioga_wrk has joined #ruby-lang
pasties has quit [Ping timeout: 256 seconds]
khaase has quit [Ping timeout: 256 seconds]
pasties has joined #ruby-lang
s0ber_ has joined #ruby-lang
ioga_wrk has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
pkrnj has quit [Quit: Computer has gone to sleep.]
Ridders24 has joined #ruby-lang
ddfreyne has joined #ruby-lang
ioga_wrk has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
cyndis_ has joined #ruby-lang
yellow5_ has joined #ruby-lang
bpot__ has joined #ruby-lang
herpless___ has joined #ruby-lang
kurko_ has joined #ruby-lang
bnagy_ has joined #ruby-lang
oddmunds has quit [Ping timeout: 264 seconds]
cyndis has quit [Ping timeout: 264 seconds]
Ridders24 has quit [Client Quit]
oddmunds has joined #ruby-lang
joeyw has joined #ruby-lang
conceal_rs__ has joined #ruby-lang
matthewd_ has joined #ruby-lang
techlife has joined #ruby-lang
ericwood1 has quit [Ping timeout: 245 seconds]
ericwood has joined #ruby-lang
thone_ has quit [Ping timeout: 252 seconds]
pasties has quit [*.net *.split]
crackity_jones has quit [*.net *.split]
tris has quit [Excess Flood]
tris has joined #ruby-lang
sora_h__ has joined #ruby-lang
jacky has joined #ruby-lang
pasties has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
bpot_ has quit [*.net *.split]
yellow5 has quit [*.net *.split]
lele has quit [*.net *.split]
lele|w has quit [*.net *.split]
Taranis has quit [*.net *.split]
herpless__ has quit [*.net *.split]
thorncp has quit [*.net *.split]
d_roge has quit [*.net *.split]
d_roge has joined #ruby-lang
lele|w has joined #ruby-lang
Taranis has joined #ruby-lang
thorncp has joined #ruby-lang
lele has joined #ruby-lang
tcopp has quit [Ping timeout: 258 seconds]
nazty has joined #ruby-lang
yellow5_ is now known as yellow5
thone has joined #ruby-lang
sepp2k1 has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
mitchty_ has quit [*.net *.split]
crankhar1er has quit [*.net *.split]
s0ber has quit [*.net *.split]
Wardrop has quit [*.net *.split]
nmeum has quit [*.net *.split]
sepp2k has quit [*.net *.split]
jaska has quit [*.net *.split]
Guest76236 has quit [*.net *.split]
bnagy has quit [*.net *.split]
kith has quit [*.net *.split]
ohsix has quit [*.net *.split]
kennyvb has quit [*.net *.split]
jstemmer has quit [*.net *.split]
lianj has quit [*.net *.split]
matthewd has quit [*.net *.split]
sora_h has quit [*.net *.split]
conceal_rs_ has quit [*.net *.split]
devn has quit [*.net *.split]
sepp2k1 has quit [Remote host closed the connection]
s0ber_ is now known as s0ber
Axsuul has quit [Ping timeout: 256 seconds]
yellow5 has quit [Ping timeout: 264 seconds]
babinho has quit [Ping timeout: 264 seconds]
ohsix has joined #ruby-lang
foca_ has joined #ruby-lang
bstrie_ has joined #ruby-lang
crankharder has joined #ruby-lang
babinho has joined #ruby-lang
Aria has joined #ruby-lang
yellow5 has joined #ruby-lang
jonahR has left #ruby-lang [#ruby-lang]
matled- has joined #ruby-lang
devn has joined #ruby-lang
jaska has joined #ruby-lang
lianj has joined #ruby-lang
TheNotary has joined #ruby-lang
brixen_ has joined #ruby-lang
techlife has quit [Ping timeout: 256 seconds]
remi has quit [Ping timeout: 256 seconds]
joast has quit [*.net *.split]
matti has quit [*.net *.split]
darix has quit [*.net *.split]
randym has quit [*.net *.split]
tsou has quit [*.net *.split]
asio has quit [*.net *.split]
gianlucadv has quit [*.net *.split]
freedrull has quit [*.net *.split]
[dmp]_ has quit [*.net *.split]
matthewd_ has quit [*.net *.split]
conceal_rs__ has quit [*.net *.split]
joeyw has quit [*.net *.split]
eval-in has quit [*.net *.split]
khaase_ has quit [*.net *.split]
jgoss__ has quit [*.net *.split]
swav has quit [*.net *.split]
jwollert- has quit [*.net *.split]
Demux_ has quit [*.net *.split]
weeb1e_ has quit [*.net *.split]
hagabaka has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Raynes has quit [*.net *.split]
TheMoonMaster_ has quit [*.net *.split]
amerine has quit [*.net *.split]
nignaztic has quit [*.net *.split]
yibe_ has quit [*.net *.split]
FlyingLeap has quit [*.net *.split]
aef has quit [*.net *.split]
brixen has quit [*.net *.split]
antbody has quit [*.net *.split]
msch has quit [*.net *.split]
reactormonk has quit [*.net *.split]
foca has quit [*.net *.split]
bstrie has quit [*.net *.split]
Guest2109 has joined #ruby-lang
remi has joined #ruby-lang
remi has quit [Changing host]
remi has joined #ruby-lang
lucas__ has joined #ruby-lang
threeday1onk has joined #ruby-lang
kuja has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby-lang