ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
butchanton has quit [Quit: Leaving.]
dalekurt has joined #ruby-lang
byronb has joined #ruby-lang
arooni-mobile has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
imajes has quit [Excess Flood]
IPGlider has quit []
bfreeman has quit [Quit: bfreeman]
TheHunter_1039 has quit [Quit: TheHunter_1039]
imajes has joined #ruby-lang
jstemmer has quit [Ping timeout: 260 seconds]
msaffitz has quit [Quit: Computer has gone to sleep.]
tomzx has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
Boohbah has quit [Write error: Broken pipe]
jstemmer has joined #ruby-lang
dfr|mac has quit [Ping timeout: 244 seconds]
woollyams has joined #ruby-lang
cantonic has quit [Quit: cantonic]
digman543 has joined #ruby-lang
tommyvyo_ has joined #ruby-lang
digman543 has quit [Client Quit]
Boohbah has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
msaffitz has joined #ruby-lang
imajes has quit [Excess Flood]
akira989 has joined #ruby-lang
imajes has joined #ruby-lang
wmoxam has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
Cykey has quit [Quit: Computer has gone to sleep.]
tommyvyo_ is now known as tommyvyo
jtoy has quit [Quit: jtoy]
imajes has quit [Excess Flood]
seanstickle has joined #ruby-lang
mistergibson has quit [Ping timeout: 276 seconds]
imajes has joined #ruby-lang
A124 has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 245 seconds]
Boohbah has quit [Ping timeout: 276 seconds]
Boohbah has joined #ruby-lang
stardiviner has joined #ruby-lang
ttilley has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
rking has quit [Ping timeout: 244 seconds]
mistergibson has joined #ruby-lang
shevy2 has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
savage- has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
fgomez has quit [Quit: leaving]
Z33K|Lux has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
krohrbaugh has quit [Remote host closed the connection]
nowthatsamatt has left #ruby-lang [#ruby-lang]
krzkrzkrz has joined #ruby-lang
krz has quit [Ping timeout: 240 seconds]
krzkrzkrz is now known as krz
perryh_away is now known as perryh
dasibre_ has joined #ruby-lang
dasibre has quit [Ping timeout: 250 seconds]
mistym has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
hangingclowns has joined #ruby-lang
<hangingclowns> is there a way to force using a socks proxy when using the net/http library in ruby?
<samuelkadolph> hangingclowns: No but you could look at http://rubygems.org/gems/proxifier
<hangingclowns> actually just found something at here: http://stackoverflow.com/questions/3877055/how-to-use-bundler-behind-a-proxy
<hangingclowns> i'm in china but want to access to google docs over a gem
<hangingclowns> i dont' want to put a lot of work into duck punchign this gem, was looking for a quick fix and this link seems legit
<samuelkadolph> seanstickle: That's net/ssh
Raduwen has quit [Quit: Leaving...]
<seanstickle> samuelkadolph: yeah, I'm dumb
<seanstickle> :(
wmoxam has joined #ruby-lang
<hangingclowns> sucks, seems it didn't work. guess I have to do things the hard way :(
<samuelkadolph> hangingclowns: http_proxy is for HTTP proxies only
savage- has joined #ruby-lang
<lianj> hangingclowns: did you try socksify gem?
<hangingclowns> I"ll show you what I'm getting
<hangingclowns> I'm already running a proxy using ssh with -D option
<lianj> and with socksify?
<hangingclowns> how can I integrate socksify?
<lianj> check the url
<hangingclowns> oh
<hangingclowns> shit
<hangingclowns> i idnd't realize it did that
<hangingclowns> all tcp connections...
<hangingclowns> i'm sorry, i should have looked
<samuelkadolph> Not all
<samuelkadolph> Only ruby TCPSocket stuff
<samuelkadolph> hangingclowns: I prefer proxifier since you can export socks_proxy=localhost:XYZ and then pruby -S rake
perryh is now known as perryh_away
<hangingclowns> pruby?
<hangingclowns> oh
perryh_away is now known as perryh
<hangingclowns> cause I wnat to write a rake task for pulling in data, parsing it, and exporting the data modified
<hangingclowns> but I need to go through a socks proxy
<hangingclowns> can either one of these serve my purpose?
savage- has quit [Remote host closed the connection]
<samuelkadolph> I designed proxifier to be run without modifying your code. Since at the time I was behind a very restrictive firewall at work
<samuelkadolph> But if you want to use it in your code you can require "proxifier/env" and it will search environment variables for a proxy to use.
fgomez has joined #ruby-lang
<samuelkadolph> Yeah
<hangingclowns> looks like your user name
<hangingclowns> so how can I use this? sorry. I'm a bit flustered so its' hard for me to really get into searching this
<hangingclowns> is it best to set an environment variable or...?
<samuelkadolph> That's the easiest way.
r0bby_ has joined #ruby-lang
<samuelkadolph> Unless you want others to use the same proxy when they run it, assuming it's available to them
<hangingclowns> well, they all run the proxy the same way
<hangingclowns> so how can I do that?
<hangingclowns> that might be easiest
<hangingclowns> we all have different logins, but we all use the same port and everything else
<lianj> so i just tested http://socksify.rubyforge.org/ with ssh -D and it works fine
<hangingclowns> just different username and password
<hangingclowns> which environment variable do I need to set?
<hangingclowns> socks_proxy?
<samuelkadolph> hangingclowns: Yeah. ENV["socks_proxy"] = "localhost:XYZ"
<samuelkadolph> Or ENV["proxy"] = "socks://localhost:XYZ" if you want
<hangingclowns> okay, that might be easiest
robbyoconnor has quit [Ping timeout: 245 seconds]
<hangingclowns> thanks for your help samuel
<hangingclowns> how weird is that… you wrote this gem and I come here looking for something like this?
ryez_ has quit [Ping timeout: 245 seconds]
<samuelkadolph> Bound to happen eventually
<hangingclowns> crap, something weird is going on now, seems the http_proxy variable is set, but i can't unset it?
<samuelkadolph> unset http_proxy
<hangingclowns> unset on a mac?
<samuelkadolph> Yes, it's from bash
<hangingclowns> okay, seems i'ts working now
cored has quit [Quit: leaving]
<hangingclowns> Could not find gem 'ruby-proxifier (>= 0) ruby' in git://github.com/samuelkadolph/ruby-proxifier.git (at master).
<samuelkadolph> The gem is called proxifier
<hangingclowns> oh, just called proxifier
<hangingclowns> just saw that
<hangingclowns> pruby -S rake?
<samuelkadolph> That or add require "proxifier/env" to your Gemfile/Rakefile
ezkl has joined #ruby-lang
<samuelkadolph> pruby is just a wrapper that requires proxifier/env and then loads ruby
<hangingclowns> oh okay
<hangingclowns> i added it to my rakefile, but now having a weird problem with the gem
<hangingclowns> sorry, not your gem btw
<hangingclowns> your gem worked perfectly
neoesque has joined #ruby-lang
brunocoelho has joined #ruby-lang
tenderlove has joined #ruby-lang
perryh is now known as perryh_away
kesor has joined #ruby-lang
woollyams has joined #ruby-lang
kyrylo has quit [Ping timeout: 260 seconds]
S2kx has joined #ruby-lang
mistergibson has quit [Remote host closed the connection]
cynosure has quit [Read error: Connection reset by peer]
cynosure has joined #ruby-lang
perryh_away has quit [Ping timeout: 252 seconds]
hangingclowns has left #ruby-lang [#ruby-lang]
S1kx has quit [Ping timeout: 252 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
perryh has joined #ruby-lang
wmoxam has quit [Ping timeout: 256 seconds]
kvirani has quit [Remote host closed the connection]
pip has joined #ruby-lang
pip has quit [Changing host]
pip has joined #ruby-lang
fgomez has quit [Quit: leaving]
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
peppyheppy has joined #ruby-lang
r0bby_ is now known as robbyoconnor
mistergibson has joined #ruby-lang
fgomez has joined #ruby-lang
dtang has quit [Quit: dtang]
bfreeman has joined #ruby-lang
tomzx_ has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
wallerdev has joined #ruby-lang
tomzx has quit [Ping timeout: 252 seconds]
tomzx_ is now known as tomzx
perryh is now known as perryh_away
rking has joined #ruby-lang
yannis has quit [Read error: Connection reset by peer]
yannis has joined #ruby-lang
ttilley has quit [Read error: Connection reset by peer]
ttilley has joined #ruby-lang
rking has quit [Quit: Lost terminal]
rking has joined #ruby-lang
perryh_away is now known as perryh
bryancp has quit [Remote host closed the connection]
peppyheppy has quit [Quit: peppyheppy]
andrewhl has joined #ruby-lang
diegoviola has quit [Quit: leaving]
pip has quit [Read error: Connection reset by peer]
pip has joined #ruby-lang
pip has quit [Changing host]
pip has joined #ruby-lang
gix has quit [Ping timeout: 244 seconds]
brianpWins has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
savage- has joined #ruby-lang
gix has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby-lang
knu has quit [Remote host closed the connection]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
stardiviner has joined #ruby-lang
byronb has quit [Read error: Connection reset by peer]
knu has joined #ruby-lang
peppyheppy has joined #ruby-lang
Lee_A has quit [Remote host closed the connection]
pip has quit [Quit: Leaving]
vpamulap has quit []
tomzx_ has joined #ruby-lang
tomzx has quit [Ping timeout: 246 seconds]
tomzx_ is now known as tomzx
rippa has joined #ruby-lang
mistym has quit [Remote host closed the connection]
brunocoelho has quit [Remote host closed the connection]
asahi has left #ruby-lang [#ruby-lang]
tomb_ has quit [Ping timeout: 256 seconds]
krz has quit [Quit: krz]
msaffitz has joined #ruby-lang
tomb_ has joined #ruby-lang
ryanf has joined #ruby-lang
macmartine has quit [Quit: macmartine]
My_Hearing has joined #ruby-lang
tomb_ has quit [Client Quit]
macmartine has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 260 seconds]
My_Hearing is now known as Mon_Ouie
tomzx has quit [Ping timeout: 245 seconds]
ryanf has quit [Ping timeout: 252 seconds]
ryanf has joined #ruby-lang
tRAS has joined #ruby-lang
back287 has joined #ruby-lang
back287 has quit [Remote host closed the connection]
seoaqua has quit [Quit: Leaving]
TvL2386 has joined #ruby-lang
ridders24 has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
tcopp has joined #ruby-lang
phaedrix has joined #ruby-lang
tcopp has quit [Read error: Connection reset by peer]
phaedrix has left #ruby-lang [#ruby-lang]
tRAS has quit [Quit: Mother, did it need to be so high?]
keppy has joined #ruby-lang
neoesque has quit [Quit: Bye!]
arooni-mobile has quit [Ping timeout: 265 seconds]
tonesfrommars has quit [Quit: KVIrc 4.0.1 Insomnia http://www.kvirc.net/]
yxhuvud has joined #ruby-lang
ridders24 has quit [Ping timeout: 260 seconds]
igotnolegs has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tRAS has joined #ruby-lang
keppy has quit [Quit: Leaving]
JohnBat26 has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
ryez has quit [Ping timeout: 245 seconds]
solars has joined #ruby-lang
bryanl has quit [Ping timeout: 260 seconds]
LarryLv has joined #ruby-lang
bryanl has joined #ruby-lang
valeri_ufo has quit [Quit: ...]
mytrile has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
burgestrand has quit [Quit: Leaving.]
macmartine has quit [Quit: macmartine]
tenderlove has quit [Remote host closed the connection]
Fullmoon has joined #ruby-lang
neoesque has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
gouthamvel has joined #ruby-lang
rtl has quit [Read error: Operation timed out]
akira989 has quit [Remote host closed the connection]
gouthamvel has left #ruby-lang [#ruby-lang]
rtl has joined #ruby-lang
srbartlett has joined #ruby-lang
fserb has joined #ruby-lang
kitallis has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
apeiros_ has joined #ruby-lang
halibut has quit [Remote host closed the connection]
apeiros_ is now known as apeiros|euruko
srbartlett has quit [Remote host closed the connection]
apeiros|euruko has quit [Remote host closed the connection]
fserb has quit [Quit: ttyl]
x0F has quit [Read error: Connection reset by peer]
Z33K|Lux has quit []
Criztian has joined #ruby-lang
vmoravec has joined #ruby-lang
KU0N has joined #ruby-lang
knu has quit [Ping timeout: 250 seconds]
knu has joined #ruby-lang
x0F has joined #ruby-lang
apeiros|euruko has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
andrewhl has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
charliesome has joined #ruby-lang
mssola has joined #ruby-lang
ryanf has quit [Quit: leaving]
cdt has quit [Quit: Ex-Chat]
francisfish has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
JohnBat26 has joined #ruby-lang
banisterfiend has joined #ruby-lang
ando has joined #ruby-lang
fayimora has joined #ruby-lang
ttilley has quit [Remote host closed the connection]
woollyams has quit [Quit: Computer has gone to sleep.]
micha-- has joined #ruby-lang
nevynxxx has joined #ruby-lang
ttilley has joined #ruby-lang
fgomez has quit [Ping timeout: 246 seconds]
<micha--> hi, question: i use nokogiri to fetch one <p> element. now i want to add a property (itemprop="description") to that <p> element. how can i do that?
<micha--> right now i have <div itemprop=... around the <%= Nokogiri::HTML(post.compiled_content).at_css("p") %>
<micha--> but double tags are bad, i think
perryh is now known as perryh_away
ioga_wrk has joined #ruby-lang
<micha--> following a hint on stackoverflow i tried <%= Nokogiri::HTML(post.compiled_content).at_css("p")['itemprop']='description' %> but that returns only "description", not "<p itemprop=description">text/p>"
sepp2k has joined #ruby-lang
cdt has joined #ruby-lang
gnufied has joined #ruby-lang
toretore has joined #ruby-lang
<micha--> okay, separating it into multiple lines works
levifig has quit [Quit: Farewell]
levifig has joined #ruby-lang
shevy2 has left #ruby-lang [#ruby-lang]
stardiviner has joined #ruby-lang
apeiros|euruko has quit [Remote host closed the connection]
neoesque has quit [Quit: Bye!]
igotnolegs has quit [Quit: Computer has gone to sleep.]
valeri_ufo has joined #ruby-lang
apeiros|euruko has joined #ruby-lang
workmad3 has joined #ruby-lang
sandbags has joined #ruby-lang
yxhuvud has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
d3vic3 has quit [Ping timeout: 244 seconds]
d3vic3 has joined #ruby-lang
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
fayimora has quit [Remote host closed the connection]
<chris2> anyone clued about mruby? should it implement Array#-?
wallerdev has quit [Quit: wallerdev]
Fullmoon has quit [Quit: Fullmoon]
<TvL2386> Hi guys, I'm trying to connect multiple servers to a message bus so they can exchange messages. I've looked at mcollective, zeromq, dcell, druby but didn't find an implementation that is: easy to use, possibly not so much dependencies, secure, encrypted, unicast messages (not only broadcasts). Does anybody have some more libraries that could be interesting?
<rue> RabbitMQ?
micha-- has quit [Ping timeout: 245 seconds]
<rue> I’d rather use ZMQ, but I’m not sure what the issue you had with it is
Hakon|mbp has joined #ruby-lang
<TvL2386> rue: I've looked at zmq, but it seems implementing security there can not be done unless you start using vpn's or hack ssh tunnels together
futurechimp has joined #ruby-lang
<TvL2386> I'm researching the possibility to encrypt the payload using some encryption algorithm based on a passphrase and some algorithm. Since it seems all transport protocols seem to be insecure. Mcollective with activemq with the aes plugin seems to resolve that, but it is very hard to set up and has a lot of dependencies.
<rue> Ah, hm, yes. I think even using SSL is kind of meh in ZMQ
<TvL2386> rue: indeed!
JoL1hAHN has quit [Remote host closed the connection]
<TvL2386> rue: I'm now thinking about using dcell and see if I can put some message encryption inside of the protocol
<bnagy> dcell just uses zmq, doesn't it?
<rue> That’d still work if the infrastructure was easy enough to add encryption at the protocol level
<rue> I haven’t used dcell myself so I dunno
jbsan has quit [Quit: jbsan]
<bnagy> personally I would use an ssl vpn and then put omq on top of that
<bnagy> well.. depends on your threat model I guess
<rue> That’d be simple enough for many use cases
<bnagy> basically either you encrypt each message and use a common carrier or you use a secure transport
<bnagy> or both
<bnagy> but putting SSL inside 0mq messages won't work
micha-- has joined #ruby-lang
<TvL2386> bnagy, thanks for your comments! I was looking at the Crypt module to see if it has anything good enough for me to encrypt messages
<TvL2386> bnagy, what exactly do you mean with SSL VPN?
<bnagy> an ssl vpn is an ssl vpn. It's a vpn, tunneled over ssl
<bnagy> usually over a single udp port, but there are lots of ways
<TvL2386> ssl would be tcp
<rue> Any other VPN for that matter
<bnagy> TvL2386: ssl has nothing to do with tcp
<bnagy> and most SSL vpns use udp :)
<TvL2386> bnagy, I see! I have a Cisco ASA which runs it ssl vpn (anyconnect) over tcp port 443. I didn't know udp was possible
<bnagy> basically you use a tun device that appears to have an IP address, then you run 'normal' ip/tcp/udp/whatever traffic over that interface
<bnagy> openvpn is a fairly common implementation and has a lot of clients, for example
apeiros|euruko has quit [Remote host closed the connection]
<bnagy> basically that would protect your messages in motion
<bnagy> but it doesn't really provide any identity assurance etc
<TvL2386> it seems it would not be hard to setup and may be much easier than messing the the messages themselves
<bnagy> it's definitely easier
<bnagy> but it depends on your requirements
riffraff has joined #ruby-lang
micha-- has quit [Quit: Ex-Chat]
tekin has joined #ruby-lang
<TvL2386> bnagy: I'll do the openvpn sollution! Sounds very interesting and it sounds quite easy since it does not mess with messages or the underlying mechanism (zmq or whatever)
soahccc` is now known as soahccc
workmad3_ has joined #ruby-lang
d3vic3 has quit [Read error: Operation timed out]
riffraff has quit [Ping timeout: 248 seconds]
<andrewvos> This Friday Hug bullshit has gone too far!
d3vic3 has joined #ruby-lang
jbsan has joined #ruby-lang
<banisterfiend> andrewvos: somehow a 'friday hug' doesn't seem an appropriate thing for a bunch of oppressed semi-autistic computer programmers to engage in
riffraff has joined #ruby-lang
<andrewvos> banisterfiend: EXACTLY
<bnagy> itym 'repressed'
<andrewvos> How about on Fridays we just don't argue stupid shit on the internet, or something.
<matled> uh, module Foo; class Time; end; end; include Foo; Time.new does not create a Foo::Time object. self.class.ancestors is [Object, Foo, Kernel, BasicObject]. shouldn't ruby try to resolve the constant following the chain of ancestors?
<matled> oh, it's in Object.. mh
<banisterfiend> bnagy: Yeah
<bnagy> so I have forgotten everything I know about parsing xml
<bnagy> itunes xml has keys like <dict> <key>blah <key>bloo etc - I just want to turn that into a nested Hash
<rue> andrewvos: Is it too mainstream now? You liked it when they were still obscure? :)
<rue> bnagy: I think HappyMapper can do that automatically (or a successor)
<ddfreyne> friday hug? eh what?
<rue> With Nokogiri you’d create the hash yourself
<bnagy> I just can't work out how to access the nodes at all :/
<bnagy> and it doesn't help that the file is gigantic
dalekurt has quit [Quit: Zzz...]
<banisterfiend> ddfreyne: just the ruby community trying to maintain its 'quirkiness' now that _why has gone ;)
<ddfreyne> ah :)
<rue> bnagy: How are you trying to access it?
<rue> banisterfiend: Yeah, there’s way too much of that…
<bnagy> rue: I tried with slop first, doing doc.dict.dict
Dreamer3 has quit [Quit: Leaving...]
<kke> foo = [[1, 2, 3], [2, 3], [2]] how to return intersection of multiple/variable number of arrays? (would return [2] in this case)
<kke> i know i can do [1,2,3] & [2,3] & [2] but need to do it to an unknown number of arrays
<bnagy> kke: foo.inject &:&
<kke> funky
<bnagy> rue: ok... having a little luck with xpath "//dict//dict"
<bnagy> least that gets me a nodeset I think
<rue> Yep, should, then you can iterate over that
<rue> &:& is the holy wtf operator
<bnagy> if you play nethack it's two demons spitroasting a newt
<bnagy> gotta admit, I'm perversely proud of that snippet :<
<kke> &:& gives me a continuation prompt in irb
<ruskie> hehe
<kke> ah
<kke> foo.inject(&:&)
<bnagy> yeah but you don't need the braces
<kke> i do in irb
<bnagy> wow... not in pry or code
<bnagy> but confirmed. That's odd.
kith has quit [Quit: kith]
<banisterfiend> kke: irb has a busted lexer
<banisterfiend> pry uses ruby itself to validate expressions, so it should always work properly
kith has joined #ruby-lang
<rue> The rue method is the best
<banisterfiend> rue: ah what was that again? :)
<banisterfiend> i remember something about it..
<rue> The expression is complete if trying to execute doesn’t result in an unterminated/similar syntax error
<banisterfiend> rue: cool but how did u stop it from executing
<rue> It won’t execute if there’s an error
<banisterfiend> what if there's no error
<banisterfiend> we dont always want a complete expression to execute
<banisterfiend> like in the case we're reading method definitions
<rue> Then the expression is complete
<rue> Those you need to lex anyway
<postmodern> kke, what version of ruby are you using?
<postmodern> kke, wfm on 1.8.7 and 1.9.3
Cykey has joined #ruby-lang
<postmodern> kke, ah right, without the parenthesis
<banisterfiend> rue: we use a weird hack that combines eval() with throw() that lets use use ruby to evaluate it yet not execute it
riffraff has quit [Quit: Leaving]
hbs has joined #ruby-lang
mytrile has quit [Ping timeout: 265 seconds]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
setmeaway has quit [Ping timeout: 244 seconds]
setmeaway has joined #ruby-lang
<bnagy> is there a way to make ruby understand file://localhost/Users/blah paths?
<bnagy> or should I just butcher the string?
<andrewvos> bnagy: That seems like the path to sadness
<andrewvos> bnagy: Is that file:// a Windows thing?
<bnagy> osx
<rue> file: is a protocol
<jaska> think you can elide the localhost part
hbs has quit [Quit: hbs]
Cykey has quit [Quit: Computer has gone to sleep.]
<bnagy> I'm gonna puke
<bnagy> doc.xpath( "//dict//dict//dict" ).map {|dict| Hash[*(dict.children.map {|c| c.text}.reject {|s| s=~/\A\W+\z/})]}.each {|track| p File.file? "/#{URI.decode(track['Location']).split('/',4).last}"}
<rue> Local variables :D
<matled> bnagy: don't even consider to refactor this! this is a beatiful line of code!
yannis has quit [Quit: yannis]
<matled> *beautiful
<bnagy> there are weird xml elements which are just like \t\t\t\n
<matled> bnagy: <foo> <bar/></foo> will contain a text node containing " " before the bar element
workmad3_ has quit [Ping timeout: 246 seconds]
<bnagy> I don't know a better way of stripping them because I haven't touched xml for years and years
apeiros|euruko has joined #ruby-lang
<matled> that's just the way xml works, you probably want to ignore those elements
<matled> why do you care? you should probably just access the key / string / integer elements
<matled> and they contain only the value you want
<bnagy> well I reject them with a regex, but it seems crappy and slow
<bnagy> matled: cause I don't know how to do that :)
<matled> ah, the keys and values are all at the same level. you could probably ignore just all text elements within a dict in this case
<bnagy> well the stuff I want seems to be in text elements, unless I am xpathing wrong, which is likely
tomb_ has joined #ruby-lang
<matled> I'd write a method that accepts a dict element and iterates over all the children. it should always see a key element followed by a string/integer/dict element
<matled> parse them both (using recursion for the dict) and it should be fine
<matled> the text elements within the dict can be ignored
<bnagy> gross, but: http://pastie.org/4007474
<bnagy> all the stuff I want is XML::Text
<matled> but only within key/integer/string
<bnagy> ok well I have no idea what I am doing here, so if you want to give me a hint it would be gratefully received :)
<bnagy> my snippet works, as far as build an array of hashes, which is good enough
<bnagy> but it's not like I'm happy with it
<bnagy> also, I hope they have a streamparser for nokogiri
<rue> There is yes
cdt has quit [Remote host closed the connection]
terrence has joined #ruby-lang
<matled> bnagy: something like this? http://ix.io/2qZ
terrence has left #ruby-lang [#ruby-lang]
<matled> s/when dict/when 'dict'/
<bnagy> matled: and what do I invoke that one? each of those xpath nodes?
<bnagy> *on
<matled> bnagy: with the dict you want to convert into a hash
Criztian has quit [Remote host closed the connection]
srbartlett has joined #ruby-lang
<matled> I'd recommend to add some sanity checks like 'key.name == "key"' and different parsing in the case for different types of values
kith has quit [Remote host closed the connection]
<bnagy> matled: yeah... ok cool
kith has joined #ruby-lang
<bnagy> Hash[*doc.xpath( "//dict//dict//dict" ).first.children.reject {|e| e.class==Nokogiri::XML::Text}.map( &:content )] works
tomb_ has quit [Quit: Computer has gone to sleep.]
tekin has quit [Quit: Computer has gone to sleep.]
<bnagy> I don't care about converting int and strings at this point
<bnagy> that is much nicer, thanks
<zzak> good morning!
apeiros has joined #ruby-lang
<rue> Good internet time of day to you
<bnagy> now I just need to convert that to use XML::Reader
apeiros|euruko has quit [Read error: Connection reset by peer]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
<banisterfiend> rue: you're not at eurako?
<rue> Nope
<banisterfiend> apeiros: how is/was euroko ?
<apeiros> banisterfiend: good so far
<apeiros> will be in zurich next year
<apeiros> (hopefully :D)
<banisterfiend> apeiros: where is it this year?
<chris2> as if :P
<matti> apeiros: How is EuRoKo?
<apeiros> amsterdam
<banisterfiend> apeiros: nice
* matti regrets that he could not attend ;/
francisfish has quit [Ping timeout: 246 seconds]
<apeiros> matti: watching yaks being shaved
<matti> Hehe
<apeiros> eating bananas
<apeiros> it's nice
<matti> I hope that videos from some of the talks will be available later.
<apeiros> they are filming them professionally as it seems, so I'd expect so, yes
<matti> Nice.
<banisterfiend> apeiros: i hope it's not 'less films'
<banisterfiend> they seem to never actually release their videos...
<banisterfiend> confreaks seem pretty competent though
<apeiros> banisterfiend: no idea
znake has joined #ruby-lang
voker57 has quit [Ping timeout: 245 seconds]
<apeiros> ok, live singing performance @euruko :D
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
corecode has quit [Read error: Operation timed out]
valeri_uF0 has joined #ruby-lang
carloslopes has joined #ruby-lang
jasiek has quit [Read error: Operation timed out]
jasiek has joined #ruby-lang
corecode has joined #ruby-lang
mytrile has joined #ruby-lang
valeri_ufo has quit [Disconnected by services]
znake has left #ruby-lang [#ruby-lang]
<_br_> Anyone experience with multiple Databases in DataMapper?
<andrewvos> bernhardt hasn't got much code up on github
znake has joined #ruby-lang
<apeiros> andrewvos: if it's the bernhardt I think of, then I'm not surprised
comboy_ has left #ruby-lang [#ruby-lang]
postmodern has quit [Quit: Leaving]
mark_locklear has joined #ruby-lang
diegoviola has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
rippa has quit [Quit: derp herp]
threeday1onk has quit [Quit: leaving]
threedaymonk has joined #ruby-lang
<zzak> apeiros: punch khaase in the face for me
<khaase> zzak: ?
<zzak> that got his attention, good, now punch him quick
<zzak> when does euroko end?
<zzak> s/punch/hug
jperry2 has joined #ruby-lang
<apeiros> rofl
<apeiros> zzak: while I certainly enjoy punching people in their faces very much - why'd I punch khaase?
<apeiros> I might steal his fez, though >:D
<khaase> zzak: tomorrow is the last day
<apeiros> khaase: wearing your fez for your talk?
<khaase> apeiros: my shiteshirt? no.
replore_ has joined #ruby-lang
fgomez has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
ryez has joined #ruby-lang
<apeiros> khaase: no I mean, didn't you have a fez like this? http://www.lastnightoffreedom.co.uk/images/shop/1/red-fez-hat-1.jpg
<khaase> apeiros: oh
<khaase> apeiros: that was a prop in SF
<khaase> I don't own one
<zzak> apeiros: because, hes too damn handsome
<ryez> regarding gemspec files, is their any convension/standard about the file encoding?
mistym has joined #ruby-lang
<apeiros> khaase: damn, would've been awesome :D
IPGlider has joined #ruby-lang
<apeiros> and I'd have definitively come to the stage to steal it from you ;-)
tekin__ has joined #ruby-lang
<apeiros> (I can say that, now that I'm sure I don't actually have to do it *g*)
mistym has quit [Remote host closed the connection]
<banisterfiend> htf do i get appstore to show me actual % download for an app rather than just the vague download meter
tomb_ has joined #ruby-lang
<banisterfiend> in osx
<apeiros> banisterfiend: that's too complex for the average user so you don't need to know!</sarcasm>
<banisterfiend> im getting xcode
<apeiros> (no idea, sorry)
<banisterfiend> so i have no idea if it's stalled, or if it's just really slow
zz_wasnotrice is now known as wasnotrice
znake has quit [Quit: znake]
Criztian has joined #ruby-lang
<zzak> isnt xcode a big download?
<apeiros> ~4gb last time I loaded it
<apeiros> so it's like a 5min download, not that big :o)
<banisterfiend> zzak: yeah which is why i need feedback, if it was a small dl i would know it was progressing OK cos the meter would be advancing quickly
dalekurt has joined #ruby-lang
<banisterfiend> apeiros: haha, 4 gig will take me about 5 hours
<banisterfiend> at least
RegEchse has joined #ruby-lang
KU0N has quit [Remote host closed the connection]
telemachus_ is now known as telemachus
igaiga has joined #ruby-lang
dv310p3r has joined #ruby-lang
tomzx has joined #ruby-lang
hynkle has joined #ruby-lang
jxie has quit [Ping timeout: 248 seconds]
tcopp has joined #ruby-lang
vesan has quit [Remote host closed the connection]
vesan has joined #ruby-lang
replore_ has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
dejongge has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
replore has joined #ruby-lang
valeri_uF0 has left #ruby-lang [#ruby-lang]
valeri_ufo has joined #ruby-lang
lsegal has joined #ruby-lang
RegEchse has quit [Read error: Connection timed out]
tomzx has quit [Read error: Operation timed out]
TvL2386 has quit [Remote host closed the connection]
RegEchse has joined #ruby-lang
d3vic3 has quit [Ping timeout: 244 seconds]
d3vic3 has joined #ruby-lang
ttilley has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving.]
vaelen has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
RubyRedGirl has left #ruby-lang [#ruby-lang]
jnimety has joined #ruby-lang
jnimety has left #ruby-lang [#ruby-lang]
Axsuul has quit [Ping timeout: 248 seconds]
d3vic3 has quit [Ping timeout: 248 seconds]
wasnotrice is now known as zz_wasnotrice
d3vic3 has joined #ruby-lang
<zzak> thats a long time in middle earth
zz_wasnotrice is now known as wasnotrice
dv310p3r has quit [Ping timeout: 248 seconds]
wasnotrice is now known as zz_wasnotrice
<youngin> zzak: its no problem really
<youngin> it's so fun down there that time moves really fast
cdt has joined #ruby-lang
mistym has joined #ruby-lang
wilkie has quit [Ping timeout: 248 seconds]
wilkie has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<youngin> *facepalm*
<youngin> thought you said middle east
jlawler has joined #ruby-lang
IPGlider has quit [Ping timeout: 245 seconds]
cdt has quit [Ping timeout: 245 seconds]
RegEchse has quit [Read error: Connection timed out]
S2kx has quit [Quit: Leaving]
IPGlider has joined #ruby-lang
dv310p3r has joined #ruby-lang
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
cdt has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
pip has joined #ruby-lang
pip has joined #ruby-lang
pip has quit [Changing host]
S1kx has joined #ruby-lang
gnufied has joined #ruby-lang
bryancp has joined #ruby-lang
hynkle has quit [Read error: Connection reset by peer]
mytrile has quit [Remote host closed the connection]
hynkle has joined #ruby-lang
zzak has quit [Quit: leaving]
dalekurt has quit [Ping timeout: 260 seconds]
zzak has joined #ruby-lang
fayimora has joined #ruby-lang
fgomez has quit [Quit: leaving]
Tref has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.3.7]
outoftime has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
fgomez has joined #ruby-lang
jlawler has quit [Quit: Leaving.]
msisk has joined #ruby-lang
msisk has quit [Client Quit]
msaffitz has joined #ruby-lang
ezkl has quit [Quit: QUIT!]
dalekurt has joined #ruby-lang
savage- has quit [Remote host closed the connection]
msaffitz has quit [Quit: Computer has gone to sleep.]
Raduwen has joined #ruby-lang
fayimora has quit [Ping timeout: 264 seconds]
tbuehlmann has joined #ruby-lang
dalekurt_ has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
Ricky_Ricardo has joined #ruby-lang
dalekurt has quit [Ping timeout: 245 seconds]
dalekurt_ is now known as dalekurt
JohnBat26 has quit [Ping timeout: 252 seconds]
bryancp has joined #ruby-lang
carloslopes has quit [Ping timeout: 240 seconds]
brianpWins has quit [Quit: brianpWins]
dalekurt has quit [Read error: Connection reset by peer]
dalekurt has joined #ruby-lang
apeiros has quit [Ping timeout: 246 seconds]
Ricky_Ricardo has quit [Quit: Ricky_Ricardo]
apeiros|euruko has joined #ruby-lang
Ricky_Ricardo has joined #ruby-lang
melter has quit [Remote host closed the connection]
bmers has joined #ruby-lang
melter has joined #ruby-lang
sockmonk has joined #ruby-lang
dalekurt_ has joined #ruby-lang
dalekurt has quit [Ping timeout: 240 seconds]
dalekurt_ is now known as dalekurt
macmartine has joined #ruby-lang
macmartine has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
akira989 has joined #ruby-lang
<andrewvos> Does vagrant always create a NAT at eth0 even if I create a host only network?
<andrewvos> Hmm going to ask in #vagrant
wasnotrice is now known as zz_wasnotrice
tubbo has quit [Remote host closed the connection]
ando has quit [Read error: Connection reset by peer]
ando has joined #ruby-lang
Ricky_Ricardo has quit [Quit: Ricky_Ricardo]
seanstickle has joined #ruby-lang
seanstickle has quit [Client Quit]
sora_h is now known as s0ra_h
tubbo has joined #ruby-lang
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
andrewhl has joined #ruby-lang
apeiros|euruko has quit [Remote host closed the connection]
tRAS has quit [Quit: Mother, did it need to be so high?]
thone has joined #ruby-lang
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
thone_ has quit [Ping timeout: 252 seconds]
brianpWins has joined #ruby-lang
wallerdev has joined #ruby-lang
dtang has joined #ruby-lang
nevynxxx has quit [Quit: Lost terminal]
ryez has quit [Ping timeout: 245 seconds]
<Defusal> you know the day is going well when debugging leads to making ruby segfault :|
gsav has joined #ruby-lang
jtoy has joined #ruby-lang
<dalekurt> Hey guys I'm trying to figure out this error message - http://pastie.org/4008752
zzak_ has joined #ruby-lang
fgomez has quit [Quit: leaving]
pip has left #ruby-lang ["Leaving"]
fserb has joined #ruby-lang
zzak_ has quit [Quit: leaving]
<Defusal> bleh, has anyone here used EventMachine to write to an IO.pipe before?
gsav has quit [Read error: Connection reset by peer]
fgomez has joined #ruby-lang
<Defusal> i copied most of someone elses code to do exactly that and it still doesnt work correctly
<Defusal> the pipe is never closed after the data is written, even though i call detach and then @io.close
Rubinista has quit [Ping timeout: 245 seconds]
gsav has joined #ruby-lang
butchanton has joined #ruby-lang
<Defusal> yet if i never watch the FD with EM and just call #write and then #close on the pipe, it works fine
<Defusal> i don't understand why
replore has quit [Remote host closed the connection]
jperry2 has quit [Quit: Leaving.]
jperry2 has joined #ruby-lang
francisfish has joined #ruby-lang
tekin__ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
LarryLv has quit [Remote host closed the connection]
erpuds has joined #ruby-lang
d3vic3 has quit [Quit: leaving]
arooni-mobile has joined #ruby-lang
<banisterfiend> Defusal: is this channel kind of dead recently?
crankharder has quit [Ping timeout: 252 seconds]
<Defusal> it does seem like it banisterfiend :(
<zzak> its still early
<zzak> only 12pm on the east coast
<Defusal> i guess
<Defusal> its going on for 7pm here
knightblader has joined #ruby-lang
<oddmunds> banisterfiend: i have that feeling, but it might stem from people saying "it's a little dead around here of late?"
<banisterfiend> oddmunds: really? people get all tongue tied and shy because of that? :P
<banisterfiend> hehe
<oddmunds> no, it's more confirmation bias
<knightblader> The site mentioned when you join #ruby-lang "http://ruby.stadik.net/ " does not seem to exist O.o
dejongge has quit [Ping timeout: 240 seconds]
<knightblader> But the whois does return that the dns is still valid for stadik.net http://www.whois.net/whois/stadik.net
<dalekurt> Can anyone help me with this, I'm not able to deploy VMs I got a failed message from the client UI and the log - http://pastie.org/4008943
mrsolo has joined #ruby-lang
<dalekurt> On the host node the logs show this - http://pastie.org/4008988
Faris2 has joined #ruby-lang
Faris2 has quit [Client Quit]
dv310p3r has quit [Ping timeout: 245 seconds]
vesan has quit [Read error: Connection reset by peer]
<zzak> i like the name knightbladder
tcopp has quit [Quit: Lost terminal]
Criztian has quit [Read error: Connection reset by peer]
Criztian_ has joined #ruby-lang
kristofferrr has joined #ruby-lang
<erikh> incontinent michael knight
workmad3 has quit [Ping timeout: 265 seconds]
cdt has quit [Quit: Ex-Chat]
Guedes has quit [Read error: Connection reset by peer]
Guedes has joined #ruby-lang
Guedes has joined #ruby-lang
peppyheppy has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
gnufied has quit [Quit: Leaving.]
vesan has joined #ruby-lang
drp33 has joined #ruby-lang
achiu has joined #ruby-lang
<knightblader> *face palm* Blader as in blade not bladder
francisfish has quit [Remote host closed the connection]
soahccc is now known as soahccc`
dankest has joined #ruby-lang
<erikh> I like knight bladder better.
<oddmunds> me too
Hakon|mbp has quit [Quit: Leaving...]
akira989 has quit [Remote host closed the connection]
elux has joined #ruby-lang
carloslopes has joined #ruby-lang
<oddmunds> do you guys think there would be any interest in 'bundle gem' to support more licenses than MIT?
wmoxam has joined #ruby-lang
akira989 has joined #ruby-lang
<dalekurt> Hey, when I try to view the console on a running VM I get the FQDN with *.realihostip.com and I updated the consoleproxy.url.domain setting
<dalekurt> Oops!
vmoravec has quit [Quit: Leaving]
taterbas_ has joined #ruby-lang
RegEchse has joined #ruby-lang
tonesfrommars has joined #ruby-lang
wallerdev has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
savage- has joined #ruby-lang
fserb has quit [Quit: ttyl]
fayimora has joined #ruby-lang
fayimora has quit [Client Quit]
sandbags has quit [Remote host closed the connection]
rippa has joined #ruby-lang
sandbags has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
sepp2k has joined #ruby-lang
taterbas_ has quit [Quit: Computer has gone to sleep.]
mikkelb has joined #ruby-lang
<mikkelb> I run this Ruby script 24/7 (which records data from this live stream). It's running inside a screen so it's easy to check in on it every now and then. But how do I crontab the screen with the Ruby script inside it?
akira989 has quit [Remote host closed the connection]
<Defusal> mikkelb: try man screen
<mikkelb> really screen can do this kinda stuff?
yxhuvud has joined #ruby-lang
<Defusal> yeah, it has tons of options
<mikkelb> awesome
<Defusal> :)
akira989 has joined #ruby-lang
<Defusal> i was going to do the same thing when i was still using screen
<Defusal> but i went a different direction
<wmoxam> Defusal: you use tmux now?
sandbags has quit [Remote host closed the connection]
<TTilus> com e to the dark side
<Defusal> nah, i have my ruby daemon spawn the other software and handle the std streams and all
<Defusal> then have realtime console logging and other stuff exposed via a HTML5 interface using WebSockets
<Defusal> since i'll be providing the platform as a service to clients in the near future
banisterfiend has quit [Read error: Connection reset by peer]
gregf has joined #ruby-lang
<mikkelb> Defusal: thise dude in #freebsd says i should use daemontools you got any experience with that?
workmad3_ has joined #ruby-lang
<Defusal> can't say i do
akira989 has quit [Remote host closed the connection]
<Defusal> tmux does sound interesting though, i'm looking for a good solution to allow me to save the state of many SSH sessions on disconnect and resume them later
<Defusal> but since i mainly use SSH from windows, theres not really any decent options for ssh clients
akira989 has joined #ruby-lang
<Defusal> i often have over 10 concurrent ssh sessions open for tailing logs, screen sessions, testing and other system stuff, which are all lost every time i have a problem with my connectivity or need to reboot
<Defusal> so having to get back to that state all the time is rather inconvenient
enebo has joined #ruby-lang
dplunk has joined #ruby-lang
dplunk has quit [Client Quit]
DRCALKIN has joined #ruby-lang
dankest has quit [Quit: Linkinus - http://linkinus.com]
<mikkelb> <haroldp> I would think you are probably at the point that you should make your script a proper daemon though. I would bet ruby has tools to help with that
gsav has quit [Read error: Connection reset by peer]
<mikkelb> */10 * * * * /usr/local/bin/screen -dm /home/anonymous/.rvm/rubies/ruby-1.9.3-p0/bin/ruby /home/anonymous/myscript.rb
<mikkelb> looking good?
fserb has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
<sockmonk> Defusal: you could always set up a linux or *BSD image using vmware or virtualbox, and get yourself a decent toolset on that windows machine
gsav has joined #ruby-lang
fserb has quit [Client Quit]
_damienp_ has joined #ruby-lang
<Defusal> sockmonk, i do my development remotely with sftp syncing and ssh, my server is only 5ms away from me so it works fine. there are a number of things my code needs to do that would simply not be possible on my local machine, which is why my server has heavy duty hardware
akira989 has quit [Remote host closed the connection]
<sockmonk> Defusal: sounds good for your setup then. I just decided to install virtualbox/freebsd on an extra windows machine at home for playing around.
akira989 has joined #ruby-lang
<sockmonk> have to play with it to get the resolution decent, but seems better than using cygwin or something
stamina has quit [Quit: Lost terminal]
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
<Defusal> i do have vitualbox running linux on my local machine, but that is mainly used for avoiding windows issues :P
akira989 has quit [Ping timeout: 244 seconds]
banisterfiend has joined #ruby-lang
fserb has joined #ruby-lang
akira989 has joined #ruby-lang
<Defusal> sockmonk, windows decided that it would no longer allow any web browser to use websockets 9 times out of 10 not too long ago, forcing me to have to use a browser running in the VM to test my own interface that i am developing until i have time to format and reinstall
alexkane has quit [Ping timeout: 244 seconds]
akira989_ has joined #ruby-lang
<sockmonk> ms thinks websockets are a security issue?
akira989 has quit [Ping timeout: 240 seconds]
rking_ has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
alexkane_ has joined #ruby-lang
kvirani has joined #ruby-lang
stamina has joined #ruby-lang
peppyheppy_ has joined #ruby-lang
peppyheppy has quit [Ping timeout: 245 seconds]
peppyheppy_ is now known as peppyheppy
rking_ has left #ruby-lang [#ruby-lang]
dalekurt has quit [Ping timeout: 252 seconds]
workmad3_ has quit [Ping timeout: 245 seconds]
Tref has quit [Quit: Tref]
yannis has joined #ruby-lang
<zzak> tenderlove: around?
<zzak> do patches for racc goto redmine or tenderlove/racc?
fserb has quit [Quit: ttyl]
andremaha has joined #ruby-lang
krz has joined #ruby-lang
fserb has joined #ruby-lang
<zzak> tenderlove: noone is listed under http://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers
Cykey has joined #ruby-lang
carloslopes has quit [Quit: Leaving]
andremaha has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
bmers has quit [Quit: Linkinus - http://linkinus.com]
tesseract has joined #ruby-lang
tesseract has quit [Client Quit]
peppyheppy has quit [Quit: peppyheppy]
erics has joined #ruby-lang
Skif_away has joined #ruby-lang
Skif has quit [Ping timeout: 240 seconds]
erics has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Remote host closed the connection]
IPGlider has quit []
hynkle has quit [Read error: Connection reset by peer]
ezkl has joined #ruby-lang
hynkle has joined #ruby-lang
tomb_ has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
francisfish has joined #ruby-lang
stamina has quit [Quit: Lost terminal]
francisfish has quit [Remote host closed the connection]
akira989_ has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
ezkl has quit [Quit: QUIT!]
francisfish has quit [Remote host closed the connection]
akira989 has joined #ruby-lang
fayimora has joined #ruby-lang
DRCALKIN has quit [Ping timeout: 245 seconds]
Axsuul has joined #ruby-lang
dejongge has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
jperry2 has quit [Ping timeout: 245 seconds]
futurechimp has quit [Quit: Leaving]
achiu has quit [Quit: WeeChat 0.3.7]
mark_locklear has quit [Remote host closed the connection]
<rue> Could do both
bfreeman has quit [Quit: bfreeman]
_Cherrum has joined #ruby-lang
Cherrum has quit [Ping timeout: 245 seconds]
tenderlove has joined #ruby-lang
tbuehlmann has quit []
bryancp has joined #ruby-lang
crankharder has joined #ruby-lang
hynkle has quit [Quit: hynkle]
rippa has quit [Ping timeout: 252 seconds]
hynkle has joined #ruby-lang
<erikh> anyone using the standard ruby profiler with rails/
<gate> erikh: you mean ruby-prof? yeah, I've used it from time to time
<erikh> no, ruby-prof segfaults for us. I mean ruby -rprofile
drp33 has quit [Quit: leaving]
peppyheppy has joined #ruby-lang
hynkle has quit [Quit: hynkle]
DRCALKIN has joined #ruby-lang
tr-808 has quit [Quit: leaving]
tr-808 has joined #ruby-lang
kristofferrr has joined #ruby-lang
s0ber_ has joined #ruby-lang
<drbrain> erikh: I did it once
banisterfiend has quit [Read error: Connection reset by peer]
<drbrain> erikh: I think nowadays you'd have a rack middleware do it, but as the last thing before hitting rails
s0ber has quit [Ping timeout: 265 seconds]
s0ber_ is now known as s0ber
gregmore_ has joined #ruby-lang
fserb has quit [Quit: ttyl]
gregmoreno has quit [Ping timeout: 252 seconds]
tenderlove has quit [Remote host closed the connection]
tubbo is now known as tubbo`wknd
mikkelb has quit [Quit: Lost terminal]
<erikh> drbrain: yeah, I was kind of hoping to not have to do that
<erikh> oh well
<erikh> thanks man
<drbrain> erikh: I wrote a tool that did the equivalent back before rack existed
<erikh> wycats' fork of ruby-prof seems to work locally, so we're going to try that first.
SkramX has joined #ruby-lang
<erikh> this has been ... a day
gregmore_ has quit [Ping timeout: 244 seconds]
Skif_away has quit [Quit: Linkinus - http://linkinus.com]
Skif has joined #ruby-lang
whatasunnyday has joined #ruby-lang
<gate> erikh: yeah, I just recently started using wykats' fork, it took it from completely unusable to somewhat usable
fserb has joined #ruby-lang
<gate> I ran it on our request specs and for a fraction of our tests (23 examples) it produces an html report in excess of 300 megs
<erikh> yeah we're using it on an API endpoint that is dog slow
<gate> apparently our tests are going thready crazy
cptobvious has joined #ruby-lang
cptobvious has left #ruby-lang [#ruby-lang]
gregmoreno has joined #ruby-lang
mattwildig has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
countdigi has joined #ruby-lang
banisterfiend has joined #ruby-lang
wmoxam has quit [Quit: leaving]
<drbrain> I looked at ruby-prof once and found some questionable design choices
<drbrain> some of the objects are implemented in C for no perceptible reason
<drbrain> and you can only instantiate them from C so you can't test ruby-prof output
elux has quit [Quit: Leaving...]
kvirani has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
banisterfiend has quit [Ping timeout: 252 seconds]
frem has quit [Quit: Farewell!]
mrsolo has quit [Quit: Leaving]
b1rkh0ff has quit [Ping timeout: 244 seconds]
<erikh> yeah I haven't dug that deep, just trying to help a dev in this case
<erikh> I've always used perftools.rb in the past, but that seems to have gone down the toilet as well
ezkl has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
<drbrain> it's been a long while since then, so maybe it's better
mistym has quit [Remote host closed the connection]
b1rkh0ff has joined #ruby-lang
gregmoreno has quit [Ping timeout: 245 seconds]
Lee_A has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
Lee_A has quit [Ping timeout: 240 seconds]
dalekurt has joined #ruby-lang
savage-_ has joined #ruby-lang
sockmonk has quit [Ping timeout: 248 seconds]
savage- has quit [Ping timeout: 252 seconds]
gregmoreno has joined #ruby-lang
ryanf has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
erpuds has quit [Quit: erpuds]
sepp2k has quit [Remote host closed the connection]
pip has joined #ruby-lang
pip has quit [Changing host]
pip has joined #ruby-lang
s0ra_h is now known as sora_h
gsav has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
gsav has joined #ruby-lang
vaelen has quit [Remote host closed the connection]
brunocoelho has joined #ruby-lang
outoftime has quit [Remote host closed the connection]
Cykey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
wasnotrice is now known as zz_wasnotrice
bryancp has quit [Remote host closed the connection]
jredville has joined #ruby-lang
<zenspider> zentest 4.8.1 released
<zenspider> rawr
Hakon|mbp has quit [Ping timeout: 252 seconds]
<ezkl> zenspider: You, sir, are an animal.
andrewhl has quit [Remote host closed the connection]
mistym has joined #ruby-lang
<zenspider> just because I rawr?
<ezkl> zenspider: Well, that and your blog posts have been equal parts zen and spider lately.
<zenspider> I... k
Criztian_ has quit [Remote host closed the connection]
Asher has quit [Ping timeout: 244 seconds]
gregf has quit [Quit: WeeChat 0.3.7]
fserb has quit [Quit: ttyl]
mssola has quit [Quit: Konversation terminated!]
_damienp_ has quit [Quit: leaving]
<zenspider> ezkl: anything else you'd like to see me write about?
fserb has joined #ruby-lang
mattwildig has quit [Quit: mattwildig]
toretore has quit [Quit: Leaving]
vesan has quit [Read error: Connection reset by peer]
<ezkl> zenspider: I'd love to read about how to responsibly take over maintenance of popular, but effectively abandoned libraries.
vesan has joined #ruby-lang
butchanton has quit [Quit: Leaving.]
<drbrain> ezkl: submit patches and bug authors :D
workmad3_ has joined #ruby-lang
<ezkl> drbrain: Indeed, but what about *after* you've been added as a contributor to the repository and rubygems?
pip has left #ruby-lang ["Leaving"]
vesan has quit [Remote host closed the connection]
vesan has joined #ruby-lang
<drbrain> ezkl: keep doing what you were doing?
<drbrain> but instead of submitting patches, commit patches
<drbrain> and, when you get bored, be ready to pass the responsibility along
yxhuvud has quit [Ping timeout: 256 seconds]
fayimora has quit [Ping timeout: 245 seconds]
Asher has joined #ruby-lang
Skif has quit [Remote host closed the connection]
Skif has joined #ruby-lang
DRCALKIN has quit [Ping timeout: 244 seconds]
<ezkl> drbrain: Hmm. Perhaps I've been over-thinking.
workmad3_ has left #ruby-lang [#ruby-lang]
<drbrain> ezkl: the only new thing is that you get to decide when a release is ready
<drbrain> and there are many theories on that
workmad3 has joined #ruby-lang
fayimora has joined #ruby-lang
fayimora has quit [Client Quit]
benanne has joined #ruby-lang
seanstickle has joined #ruby-lang
stamina has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
Hakon|mbp has joined #ruby-lang
dejongge has quit [Ping timeout: 265 seconds]
tomb_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
agile has joined #ruby-lang
sora_h is now known as s0ra_h
Cykey has joined #ruby-lang
kvirani has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
alexkane_ is now known as alexkane
postmodern has joined #ruby-lang
jtoy has quit [Quit: jtoy]
vesan has joined #ruby-lang
tomb_ has joined #ruby-lang
fserb has quit [Quit: ttyl]
vesan_ has joined #ruby-lang
macmartine has quit [Quit: macmartine]
vesan has quit [Read error: Connection reset by peer]
s0ra_h is now known as sora_h