apeiros changed the topic of #ruby-lang to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || RubyConf 2013 at http://www.justin.tv/confreaks
mikecmpbll has joined #ruby-lang
kbarry_ has joined #ruby-lang
kbarry_ has quit [Client Quit]
kbarry_ has joined #ruby-lang
kbarry has quit [Ping timeout: 260 seconds]
kbarry_ has quit [Client Quit]
kbarry has joined #ruby-lang
kurko__ has joined #ruby-lang
saarinen has joined #ruby-lang
<kbarry> drbrain I am trying to use powershell_script in Chef
<kbarry> And apparently I need to escape characters that are in my imbeded powershell script
<drbrain> I see
<kbarry> so they won't be intepreted as ruby
<drbrain> do you use any interpolation?
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
RobertBirnie has quit [Read error: Operation timed out]
woollyams has joined #ruby-lang
<drbrain> kbarry: regardless, if you don't use { or } in your powershell script I recommend %Q{script goes here}
centrx has quit [Quit: Leaving]
<drbrain> you won't have to worry about any escaping
<kbarry> what if I did have {} in my script?
ssb123 has quit [Ping timeout: 240 seconds]
<kbarry> (for future knowledge)
<kbarry> drbrain: by the way, thanks for the help
<drbrain> kbarry: %Q works with arbitrary begin/end characters
<drbrain> so you can pick a different one
<drbrain> like %Q[]
<drbrain> or %Q^^
<kbarry> ohh
<kbarry> tell me,
<kbarry> whats the difference between %Q and %q
<drbrain> see bougyman's messages above
senj has quit [Quit: Sleep Now]
<drbrain> %Q allows interpolation (like ""), %q does not (like '')
vlad_starkov has joined #ruby-lang
<bougyman> one thing i've never tested is if interpolation is more expensive than concatenation of strings with vars.
<bougyman> 'some'+var+'thing' vs "some#{var}thing"
<drbrain> bougyman: it's less expensive because it can cheat
<drbrain> and it creates less garbage
<bougyman> drbrain: which is less expensive, interpolation?
zenojis has quit [Read error: Connection reset by peer]
<drbrain> interpolation is less expensive
<bougyman> good to know
micalexander has joined #ruby-lang
zenojis has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
<drbrain> "a" + b + "c" creates five strings, "a#{b}c" creates two, I think
jamto11 has quit [Remote host closed the connection]
michaeldeol has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby-lang
crankharder has quit [Remote host closed the connection]
micalexander has quit [Ping timeout: 260 seconds]
michaeldeol has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
ssb123 has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
mykoweb has joined #ruby-lang
jsrn has quit [Read error: Operation timed out]
elia has quit [Quit: Computer has gone to sleep.]
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
whatasunnyday has quit [Quit: whatasunnyday]
jsulliva_ has quit [Remote host closed the connection]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner has joined #ruby-lang
seanlinsley has joined #ruby-lang
makoto_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
<zenspider> drbrain: true. I thought there was some extra code to help GC the extra string earlier, but that's not the case
jsulliva_ has joined #ruby-lang
cannie_ has quit [Remote host closed the connection]
marr has quit [Ping timeout: 265 seconds]
jsullivandigs has joined #ruby-lang
makoto_ has quit [Ping timeout: 260 seconds]
jsulliva_ has quit [Read error: Connection reset by peer]
albioner has quit [Quit: Laptop went to sleep. ZZZzzz…]
albioner has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
therealtesseract has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
ssb123_ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
kurko__ has quit [Quit: Computer has gone to sleep.]
elliotec has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
ssb123_ has quit [Ping timeout: 240 seconds]
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kitak has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
hahuang61 has quit [Quit: WeeChat 0.4.2]
benanne has quit [Quit: kbai]
hahuang65 has joined #ruby-lang
jonr22 has joined #ruby-lang
albioner has quit [Quit: Laptop went to sleep. ZZZzzz…]
JoshuaPaling has joined #ruby-lang
AKASkip has quit [Ping timeout: 265 seconds]
|jemc| has quit [Ping timeout: 260 seconds]
diegoviola has quit [Ping timeout: 272 seconds]
kurko______ has joined #ruby-lang
ryez has joined #ruby-lang
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby-lang
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby-lang
ggherdov_ is now known as ggherdov
saarinen has quit [Quit: saarinen]
tkuchiki has joined #ruby-lang
kurko___ has joined #ruby-lang
deception has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
kurko______ has quit [Ping timeout: 265 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vky has quit [Ping timeout: 260 seconds]
kurko___ has quit [Ping timeout: 245 seconds]
woollyams has quit [Ping timeout: 252 seconds]
centrx has joined #ruby-lang
woollyams has joined #ruby-lang
kbarry has quit [Ping timeout: 260 seconds]
hfp`away is now known as hfp
ender|dktm has quit [Ping timeout: 260 seconds]
broconne has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
kurko______ has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
whatasunnyday has joined #ruby-lang
jperry_ has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
jonahR has joined #ruby-lang
nszceta has quit [Remote host closed the connection]
makoto_ has joined #ruby-lang
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guns has joined #ruby-lang
mistym has quit [Remote host closed the connection]
_mtr has joined #ruby-lang
makoto_ has quit [Ping timeout: 252 seconds]
jperry_ has quit [Ping timeout: 260 seconds]
|jemc| has joined #ruby-lang
jonr22 has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
_mtr has quit [Ping timeout: 245 seconds]
_mtr has joined #ruby-lang
_mtr has quit [Max SendQ exceeded]
<bougyman> anyone have an app that dynamically uses unicorn or rainbows ?
<bougyman> trying to fix some horridness in our application stack with thin getting backed-up requests.
diegoviola has joined #ruby-lang
machindo has quit [Quit: machindo]
<onewheelskyward> I use unicorn, I'm not sure what you mean by dynamically.
<onewheelskyward> Also, at first I thought you were joking.
toretore has quit [Quit: This computer has gone to sleep]
therealtesseract has quit [Quit: therealtesseract]
d4rkr4i has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
amclain has joined #ruby-lang
jackyalcine has quit [Excess Flood]
elliotec has quit [Remote host closed the connection]
jackyalcine has joined #ruby-lang
alekst has quit [Quit: Leaving...]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
makoto_ has joined #ruby-lang
elliotec has joined #ruby-lang
makoto_ has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
diegoviola has quit [Read error: Operation timed out]
CaptainJet has joined #ruby-lang
wallerdev has joined #ruby-lang
jackyalcine has quit [Excess Flood]
mykoweb has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
mistym has quit [Remote host closed the connection]
finch has left #ruby-lang ["WeeChat 0.3.8"]
mistym has joined #ruby-lang
<centrx> "Can I please have a dynamic app with unicorns and rainbows" - Yeah right, in your dreams
mistym has quit [Remote host closed the connection]
dfr|work has quit [Remote host closed the connection]
kurko______ has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
ssb123 has joined #ruby-lang
jackyalc- has joined #ruby-lang
<drbrain> how do you build a dynamic app with a cartoon dog?
jackyalc- is now known as jackyalcine
jackyalcine has quit [Changing host]
jackyalcine has joined #ruby-lang
diegoviola has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
<zzak> drbrain lots of treats and a little bacon
<drbrain> you'll probably need a special keyboard too
<zzak> the default layout wont support paws
woollyams has joined #ruby-lang
woollyams has quit [Read error: Connection reset by peer]
mdub has joined #ruby-lang
mdub has quit [Read error: Connection reset by peer]
woollyams has joined #ruby-lang
mykoweb has joined #ruby-lang
bnagy has joined #ruby-lang
makoto_ has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
Coincidental has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
postmodern has quit [Quit: Leaving]
makoto_ has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
<Senjai> 55How is all
mykoweb has quit [Remote host closed the connection]
jaimef has joined #ruby-lang
broconne has quit [Quit: Leaving.]
mykoweb has joined #ruby-lang
whatasunnyday has quit [Quit: whatasunnyday]
mykoweb has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
robbyoconnor has joined #ruby-lang
vpretzel has joined #ruby-lang
imperator has joined #ruby-lang
* centrx
cannie has joined #ruby-lang
cannie_ has joined #ruby-lang
cannie has quit [Read error: Connection reset by peer]
soba has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
saarinen has joined #ruby-lang
kurko__ has joined #ruby-lang
jonahR has quit [Quit: jonahR]
CaptainJet has quit []
soba has left #ruby-lang ["See you..."]
vlad_starkov has quit [Read error: Connection reset by peer]
mykoweb has joined #ruby-lang
saarinen has quit [Client Quit]
imperator has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby-lang
mistym has joined #ruby-lang
Coincidental has joined #ruby-lang
mistym has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
postmodern has quit [Client Quit]
mistym has joined #ruby-lang
JohnBat26 has joined #ruby-lang
ender|dktm has joined #ruby-lang
skade has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
makoto_ has joined #ruby-lang
woollyams has joined #ruby-lang
makoto_ has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
kbarry has joined #ruby-lang
ikrima has quit [Ping timeout: 252 seconds]
Coincidental has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 260 seconds]
guns has quit [Quit: guns]
albioner has joined #ruby-lang
bjh13_ has joined #ruby-lang
mistym has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
jtw has quit []
vlad_starkov has quit [Read error: Connection reset by peer]
d4rkr4i has quit [Quit: Leaving.]
artm has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
kurko__ has quit [Ping timeout: 245 seconds]
kurko__ has joined #ruby-lang
centrx has quit [Quit: Leaving]
<kbarry> is there a name for the characters that must be escaped in a string?
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
dm78 has joined #ruby-lang
bjh13_ has quit [Quit: leaving]
bjh13_ has joined #ruby-lang
<drbrain> kbarry: maybe "special"
bjh13_ has quit [Client Quit]
<drbrain> but usually that refers to things like tabs and newlines (\t, \n)
skade has quit [Quit: Computer has gone to sleep.]
dm78 has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
Pupeno_w has joined #ruby-lang
<kbarry> drbrain good thing your still online
<kbarry> so, i tried using
<kbarry> %Q{}
<kbarry> doesnt work,
<Mon_Ouie> They don't "have to" be escaped, you can have a literal newline in a string too. The ones that need to be are backslashes and the characters used as delimiters for double/simply quoted strings
<kbarry> add-content -path c:\\test.txt -value "starting move script" <-- works
makoto_ has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
<kbarry> %Q{add-content -path c:\test.txt -value "starting move script"} <--doesnt work
<drbrain> ah, you need to escape the \
jsullivandigs has joined #ruby-lang
<drbrain> so try: %Q{add-content -path c:\\test.txt -value "starting move script"}
<kbarry> I thought thats what the %Q{} was for
<drbrain> %Q{} is like "" but you don't have to escape internal "
<kbarry> I thought %Q{} says "DO NOT INTERPRET ANYTHING OR I KILL YOU!!!!!"
<Mon_Ouie> >> puts 'c:\test'
<eval-in> Mon_Ouie => c:\test ... (https://eval.in/98393)
<drbrain> %q{} is
<drbrain> sorry :(
<kbarry> try %q{}?
<kbarry> ohh one other thing,
<kbarry> can if be
<kbarry> %q{stuf here
<kbarry> stuf there
<drbrain> %Q{…} is the same as "add-content -path c:\\test.txt -value \"starting move script\""
<kbarry> onemore stuff)
<kbarry> ?
Barrin6 has joined #ruby-lang
<drbrain> yes, you can have internal newlines in any string
<kbarry> }
<kbarry> what is %q?
<epitron> you can do c:/ on windows if your ruby is compiled with mingw
<drbrain> it's like a '' string
<epitron> :)
<epitron> its saves a lot of hassle
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
<kbarry> i am not using ruby by itself, its ruby inside chef
<epitron> never used chef
<kbarry> honestly i wish the chef powershell_script resource just treated your freaking code as plain jane vanilla powershell code,
<kbarry> :)
AKASkip has joined #ruby-lang
makoto_ has quit [Ping timeout: 245 seconds]
<kbarry> drbrain when you say like a '' string, are you using a single quote twice or a double quote once?
<drbrain> single quotes
<kbarry> ok
<drbrain> '' is an empty string, or 'this is a single quote string'
jsullivandigs has quit [Ping timeout: 245 seconds]
<kbarry> and if i use %q{} do i need to escape anything?
<drbrain> no
<kbarry> meaning, do i need to escape "\"?
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<drbrain> you do not
<kbarry> is there ANYTHING that needs escaping?
<kbarry> "?"
<drbrain> >> p %q{close curly: \}}
<eval-in> drbrain => "close curly: }" ... (https://eval.in/98394)
Pupeno_w has quit [Read error: Connection reset by peer]
<drbrain> you need to escape internal } because it is your delimiter
Pupeno_w_ has joined #ruby-lang
<drbrain> escapes will work for some things though
<drbrain> >> %q{backslash: \ escaped backslash: \\}
<eval-in> drbrain => "backslash: \\ escaped backslash: \\" (https://eval.in/98395)
<drbrain> kbarry: you should be able to use irb to check your escaping
<kbarry> irb?
<drbrain> if you have ruby installed irb brings up a ruby console that you can type ruby things at
<kbarry> ok
<kbarry> just tried "irb" in my concole
<drbrain> like the eval-in bot does for a line starting with ">>"
<kbarry> awesome
<drbrain> you should probably puts %q{…}
<drbrain> so you get what the command will be
vlad_starkov has joined #ruby-lang
<drbrain> if you don't you'll get extra escapes that a "" string needs (like above)
Pupeno_w_ has quit [Client Quit]
<kbarry> actually, i wanna wrap my whole script in a single one,
<kbarry> and there are { and } in it
<kbarry> so i am going with ^
<kbarry> becuase i dont have that anyplace in my script
<kbarry> %q^ .... ^
<drbrain>
vlad_starkov has quit [Read error: Connection reset by peer]
Pupeno_w has joined #ruby-lang
Pupeno_w has quit [Remote host closed the connection]
artm has quit [Read error: Operation timed out]
Pupeno has joined #ruby-lang
AKASkip has quit [Quit: Leaving.]
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
<kbarry> AAAASAAAAHHHHHHHHH
<kbarry> Its still not working.
<kbarry> When I do not use %q or %Q, and I instead escape the \ that are in the script, some of the lines work,
<kbarry> (the simple lines)
<kbarry> Mind if i post the entire thing up, you might notice something glaringly wrong
Pupeno has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<kbarry> When i escape all the "\" then the following lines work: line 13 does not appear to work. it has a bunch of question marks (?)
mikecmpbll has joined #ruby-lang
<kbarry> could this be causing the problem?
<kbarry> as it is written now, by the way, with the %q^...^, no part of this works.
<drbrain> ooh, you have that inside a here-doc
<drbrain> delete the %q^ and trailing ^
<drbrain> then change line 11 to code <<-'EOB'
<drbrain> kbarry: ↑
<drbrain> by default a here-doc acts as a "" string
vlad_starkov has joined #ruby-lang
woollyams has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
kbarry has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
Bosox20051 has quit [Quit: Leaving]
elliotec has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
jsilver_ has joined #ruby-lang
Pupeno has joined #ruby-lang
kbarry has joined #ruby-lang
Lewix has joined #ruby-lang
albioner has quit [Quit: Laptop went to sleep. ZZZzzz…]
jsilver has quit [Ping timeout: 260 seconds]
dik_dak has quit [Quit: Leaving]
skade has joined #ruby-lang
kurko__ has quit [Quit: Computer has gone to sleep.]
tsou has quit [Quit: off]
bjh13_ has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
Coincidental has joined #ruby-lang
albioner has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
phansch has joined #ruby-lang
artm has joined #ruby-lang
makoto_ has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
vlad_starkov has quit [Ping timeout: 245 seconds]
dm78 has joined #ruby-lang
makoto_ has quit [Ping timeout: 245 seconds]
dm78 has quit [Ping timeout: 245 seconds]
heftig has quit [Quit: Quitting]
Cakey has joined #ruby-lang
snk_ has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snk has quit [Read error: Operation timed out]
Senjai has quit [Ping timeout: 252 seconds]
Senjai has joined #ruby-lang
arBmind has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 260 seconds]
go|dfish has quit [Ping timeout: 272 seconds]
go|dfish has joined #ruby-lang
hfp is now known as hfp`away
mikecmpbll has quit [Quit: i've nodded off.]
solars has joined #ruby-lang
alakra has quit [Read error: Operation timed out]
ender|dktm has quit [Read error: Connection reset by peer]
alakra has joined #ruby-lang
feinbergscott has joined #ruby-lang
zenojis has quit [Quit: No Ping reply in 180 seconds.]
retro|cz has joined #ruby-lang
makoto_ has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
Barrin6 has quit [Quit: Leaving]
zenojis has joined #ruby-lang
makoto_ has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
|jemc| has quit [Ping timeout: 260 seconds]
ender|dktm has joined #ruby-lang
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Coincidental has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
saarinen has quit [Client Quit]
chouhoulis has joined #ruby-lang
feinbergscott has joined #ruby-lang
ender|dktm has quit [Ping timeout: 265 seconds]
Coincide_ has joined #ruby-lang
mikecmpbll has joined #ruby-lang
albioner has quit [Quit: Signing off...]
ssb123 has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
phansch has quit [Quit: Leaving]
mikecmpbll has quit [Quit: i've nodded off.]
skade has quit [Ping timeout: 245 seconds]
skade_ has joined #ruby-lang
makoto_ has joined #ruby-lang
skade has joined #ruby-lang
jamto11 has quit [Remote host closed the connection]
skade_ has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby-lang
makoto_ has quit [Ping timeout: 245 seconds]
skade has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby-lang
robbyoconnor has quit [Read error: No route to host]
kbarry has quit [Ping timeout: 245 seconds]
ender|dktm has joined #ruby-lang
mikecmpbll has joined #ruby-lang
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby-lang
skade has joined #ruby-lang
jamto11 has quit [Remote host closed the connection]
skade has quit [Read error: Connection reset by peer]
skade_ has joined #ruby-lang
skade_ has quit [Read error: Connection reset by peer]
ender|dktm has quit [Ping timeout: 253 seconds]
skade has joined #ruby-lang
r0bby_ has quit [Read error: Connection reset by peer]
artm has quit [Ping timeout: 260 seconds]
r0bby_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ikrima has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
robmiller has quit [Quit: Leaving.]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
mucker has quit [Ping timeout: 252 seconds]
whatasunnyday has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Client Quit]
feinbergscott has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
r0bby_ has quit [Ping timeout: 260 seconds]
r0bby_ has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 265 seconds]
whatasunnyday has quit [Quit: whatasunnyday]
woollyams has quit [Ping timeout: 252 seconds]
tylersmith has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
apeiros has joined #ruby-lang
tylersmith has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
r0bby_ has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby-lang
knu has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
michd is now known as MichD
apeiros has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
makoto_ has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
makoto_ has quit [Ping timeout: 252 seconds]
jamto11 has joined #ruby-lang
amclain has quit [Quit: Leaving]
artm has joined #ruby-lang
mikecmpbll has joined #ruby-lang
kirin` has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
phansch has joined #ruby-lang
feinbergscott has quit [Ping timeout: 245 seconds]
feinbergscott has joined #ruby-lang
apeiros has joined #ruby-lang
symm- has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
<yorickpeterse> morning
mucker has joined #ruby-lang
Cakey has joined #ruby-lang
jsrn_ has joined #ruby-lang
mucker has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
mikecmpbll has joined #ruby-lang
arBmind has joined #ruby-lang
jamto11 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
symm- has quit [Quit: Leaving...]
vlad_starkov has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sandbags has joined #ruby-lang
elia has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
machindo has joined #ruby-lang
woollyams has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
phansch has quit [Quit: Leaving]
marr has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 252 seconds]
makoto_ has joined #ruby-lang
kitak has quit [Remote host closed the connection]
sandbags has quit [Remote host closed the connection]
makoto_ has quit [Ping timeout: 260 seconds]
robmiller has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
broconne has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
RoxasShadow has joined #ruby-lang
broconne has quit [Ping timeout: 245 seconds]
RoxasShadowRS has quit [Ping timeout: 245 seconds]
sandbags has joined #ruby-lang
ohsix has quit [Ping timeout: 265 seconds]
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
cnivolle has joined #ruby-lang
ikrima has quit [Ping timeout: 252 seconds]
woollyams has quit [Ping timeout: 252 seconds]
ohsix has joined #ruby-lang
kitak has joined #ruby-lang
r0bby_ has quit [Ping timeout: 252 seconds]
RoxasShadow has quit [Quit: Leaving]
RoxasShadowRS has joined #ruby-lang
charliesome has joined #ruby-lang
sandbags has quit []
phansch has joined #ruby-lang
yfeldblum has joined #ruby-lang
cnivolle_ has joined #ruby-lang
<yorickpeterse> So our docs mentioned "your-own-rating" as an example rating name
<yorickpeterse> apparently this one customer is now actually sending in ratings called "your-own-rating"
* yorickpeterse facedesk
yfeldblum has quit [Ping timeout: 245 seconds]
cnivolle has quit [Ping timeout: 246 seconds]
pabloh has joined #ruby-lang
<yorickpeterse> also, this bug keeps re-appearing even though it's impossible to occur by the laws of physics
<apeiros> from that follows that the laws are clearly faulty!
<yorickpeterse> basically it craps out on an undefined method call, but we check if that method is there
<darix> just add 23 more dimensions to fix your problem
<yorickpeterse> and apparently it only happens once in every few requests
<darix> worked for the physics guys
cnivolle has joined #ruby-lang
<yorickpeterse> undefined method `source_url' for #<Review:0x956b310> # => if @review.respond_to?(:source_url) && @review.source_url
<yorickpeterse> wat wat
<yorickpeterse> I suspect Mongoid hijacks respond_to?() or something
toretore has joined #ruby-lang
<apeiros> I still suspect that mongodb doesn't really borrow its name from "humongous"…
<yorickpeterse> No
<yorickpeterse> It borrows it from "shit"
<yorickpeterse> though part of our issues are due to the magic of Mongoid & friends
cnivolle_ has quit [Ping timeout: 246 seconds]
symm- has joined #ruby-lang
knu has joined #ruby-lang
makoto_ has joined #ruby-lang
benlovell has joined #ruby-lang
makoto_ has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby-lang
broconne has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Ping timeout: 246 seconds]
vondruch has quit [Ping timeout: 240 seconds]
DouweM has quit [Ping timeout: 246 seconds]
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlad_sta_ has joined #ruby-lang
kitak has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
vlad_sta_ has quit [Remote host closed the connection]
vondruch has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> oh look, time to make *another* daemon app
<yorickpeterse> beats Rails though
fsvehla has joined #ruby-lang
yfeldblum has joined #ruby-lang
fsvehla has quit [Client Quit]
yfeldblum has quit [Ping timeout: 250 seconds]
cnivolle_ has joined #ruby-lang
woollyams has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
makoto_ has joined #ruby-lang
makoto_ has quit [Ping timeout: 260 seconds]
broconne has quit [Quit: Leaving.]
symm- has quit [Ping timeout: 245 seconds]
machindo has quit [Quit: machindo]
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
postmodern has quit [Quit: Leaving]
chouhoul_ has quit [Remote host closed the connection]
cannie_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
cannie has joined #ruby-lang
arooni-mobile has joined #ruby-lang
feinbergscott has joined #ruby-lang
prc has quit [Ping timeout: 260 seconds]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno__ has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
miqui has joined #ruby-lang
jamto11 has joined #ruby-lang
Cakey has joined #ruby-lang
r0bgleeson has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
jamto11 has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
feinbergscott has quit [Ping timeout: 260 seconds]
d4rkr4i has joined #ruby-lang
mehlah has joined #ruby-lang
feinbergscott has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
danijoo has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
EngierkO has joined #ruby-lang
EngierkO has quit [Max SendQ exceeded]
EngierkO has joined #ruby-lang
shinnya has joined #ruby-lang
makoto_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Pupeno__ is now known as Pupeno
makoto_ has quit [Ping timeout: 248 seconds]
feinbergscott has quit [Ping timeout: 252 seconds]
meise has joined #ruby-lang
Cakey has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
feinbergscott has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
micalexander has joined #ruby-lang
vondruch has quit [Ping timeout: 260 seconds]
machindo has joined #ruby-lang
feinbergscott has quit [Ping timeout: 248 seconds]
<ljarvis> god dammit iterm Y U WANNA MESS ME UP
<ljarvis> oh god its not even iterms fault
<yorickpeterse> nokogiri y u no have HTML reader API
<yorickpeterse> y u give me SAX only
fijimunkii has quit [Ping timeout: 246 seconds]
<darix> yorickpeterse: spoke to aaron about it?
<ljarvis> lul
<yorickpeterse> No not yet
<yorickpeterse> First trying to see if there's anything existing out there, can't imagine I'm the first one with this issue
<yorickpeterse> I can slap an API on top of SAX but ugh, it's too much of a PITA
<yorickpeterse> (whereas with the XML reader it was pretty easy)
<gnufied> aaron is likes suggest, have some SAX plz
<gnufied> likely to*
<yorickpeterse> probably
<yorickpeterse> can't blame him either
<yorickpeterse> meanwhile I'm downloading wordlists for uhh, password "recovery"
<yorickpeterse> lets see if I can prove that this one password used here is dumb
<yorickpeterse> oh hm, it needs to be a hashed pw
<yorickpeterse> bummer
<yorickpeterse> I just have the actual one :D
ryez has quit [Quit: Page closed]
yfeldblum has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
<ljarvis> hunter2
<yorickpeterse> it's pretty close to that
makoto has joined #ruby-lang
makoto is now known as Guest13039
broconne has joined #ruby-lang
scampbell has joined #ruby-lang
Guest13039 has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
snk_ is now known as snk
micalexander has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Remote host closed the connection]
mucker has joined #ruby-lang
jovon has joined #ruby-lang
jsilver_ has quit [Read error: Connection reset by peer]
jsilver has joined #ruby-lang
Pupeno has quit [Ping timeout: 250 seconds]
retro|cz has quit [Read error: Operation timed out]
wallerdev has joined #ruby-lang
cnivolle has joined #ruby-lang
cannie has quit [Remote host closed the connection]
bjh13_ has quit [Quit: leaving]
arooni-mobile has quit [Ping timeout: 245 seconds]
atmosx has joined #ruby-lang
nszceta has joined #ruby-lang
enebo has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
mnngfltg has joined #ruby-lang
momomomomo has joined #ruby-lang
cnivolle has quit []
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
deception has joined #ruby-lang
tonni_ has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
mykoweb has joined #ruby-lang
yfeldblum has joined #ruby-lang
<r0bgleeson> yorick and his saxophone
yfeldblum has quit [Ping timeout: 248 seconds]
pabloh has quit [Read error: Operation timed out]
pabloh has joined #ruby-lang
kirin` has joined #ruby-lang
chaos__ is now known as soahccc
makoto has joined #ruby-lang
makoto is now known as Guest36187
<yorickpeterse> whitequark: so, how do you feel about the Olympics so far in your wonderful country?
Guest36187 has quit [Ping timeout: 248 seconds]
artm has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
dwknoxy has joined #ruby-lang
Thanatermesis has joined #ruby-lang
jamto11 has joined #ruby-lang
smashwilson has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 250 seconds]
<darix> http://assets.nydailynews.com/polopoly_fs/1.1602525.1391573049!/img/httpImage/image.jpg_gen/derivatives/landscape_635/olympics5n-5-web.jpg
deepwater has joined #ruby-lang
hfp`away is now known as hfp
Caius has joined #ruby-lang
deepwater has left #ruby-lang [#ruby-lang]
deepwater has joined #ruby-lang
deepwater has left #ruby-lang [#ruby-lang]
deepwater has joined #ruby-lang
nathanstitt has joined #ruby-lang
deepwater has left #ruby-lang [#ruby-lang]
deepwater has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
deepwater has left #ruby-lang [#ruby-lang]
deepwater has joined #ruby-lang
tkuchiki has joined #ruby-lang
mrevd has joined #ruby-lang
Cakey has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
feinbergscott has joined #ruby-lang
sferik has joined #ruby-lang
tkuchiki has quit [Ping timeout: 250 seconds]
vlad_starkov has joined #ruby-lang
rippa has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
deepwater has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
deepwater has joined #ruby-lang
deepwater has quit [Quit: Textual IRC Client: www.textualapp.com]
jamto11 has quit [Remote host closed the connection]
deepwater has joined #ruby-lang
yalue has joined #ruby-lang
artm has joined #ruby-lang
shinnya has quit [Ping timeout: 260 seconds]
rins has joined #ruby-lang
jxpx777 has quit [Quit: Linkinus - http://linkinus.com]
mucker has quit [Ping timeout: 246 seconds]
atmosx has quit [Quit: Lost in trance]
vondruch has joined #ruby-lang
<yorickpeterse> TIL Nokogiri caches CSS selectors
<yorickpeterse> which might just explain part of the memory leaks I've been seeing
wallerdev has quit [Quit: wallerdev]
tkuchiki has joined #ruby-lang
yfeldblum has joined #ruby-lang
crankharder has joined #ruby-lang
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
momomomomo has quit [Quit: momomomomo]
kurko__ has joined #ruby-lang
momomomomo has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
Cakey has quit [Ping timeout: 245 seconds]
jtw has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
dfr|work has joined #ruby-lang
makoto has joined #ruby-lang
makoto is now known as Guest84139
machindo has quit [Quit: machindo]
seanlinsley has quit [Quit: …]
feinbergscott has joined #ruby-lang
Guest84139 has quit [Ping timeout: 260 seconds]
bjh13 has quit [Quit: leaving]
bjh13 has joined #ruby-lang
machindo has joined #ruby-lang
jamto11 has joined #ruby-lang
<ericwood> you have to be careful with nokogiri
<ericwood> just use a SAX parser and call it a day
mistym has quit [Remote host closed the connection]
<yorickpeterse> "just use a SAX parser"
<yorickpeterse> "just"
<ericwood> :D
<yorickpeterse> Mind you I'd have to write a parser for 65 totally different websites
mbj has joined #ruby-lang
<ericwood> oh man, you're scraping?
<yorickpeterse> and the DSL I cooked up worked fine with the XML Reader API but doesn't with the SAX API (due to it being pretty different)
<yorickpeterse> yes
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> SAX works if you have 1 or 2 input sources
<ericwood> scraping is tough because you get some of the shittiest markup
<yorickpeterse> and a well formed structure of input
machindo has quit [Client Quit]
<ericwood> I used to scrape a ton in my first internship and it was hell
<yorickpeterse> I actually quite enjoy it
<yorickpeterse> since it's a pretty webscale-ish setup that's actually interesting to develop
<yorickpeterse> granted a lot of it is shit
<ericwood> it's kind of a fun problem to solve but normalizing the data you pull out is tricky
relix has joined #ruby-lang
<yorickpeterse> it's what we do :)
<ericwood> eventmachine + nokogiri did have great results though :D
<yorickpeterse> haha eventmachine
<ericwood> it was the easiest option for asyncing the HTTP requests
<ericwood> what are you using?
<yorickpeterse> threads
<yorickpeterse> on the highest level
<ericwood> hardcore
<yorickpeterse> The individual scraper code doesn't care nor deal with threading
<ericwood> \m/
r0bgleeson has quit [Quit: WeeChat 0.4.2]
<yorickpeterse> (I meant high level as in abstraction level)
<yorickpeterse> that is, we get a job, shoot that to one of the N threads running and from there it's plain old sync code
<yorickpeterse> Part of the idea was to make average Joe/Alice be able to deal with it without having to know a ton about threading
<ericwood> yeah
<ericwood> that's neat
momomomomo has quit [Quit: momomomomo]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsullivandigs has joined #ruby-lang
adambeynon has quit [Excess Flood]
adambeynon has joined #ruby-lang
kurko______ has joined #ruby-lang
havenwood has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
sferik has joined #ruby-lang
momomomomo has joined #ruby-lang
<manveru> yorickpeterse: ever thought about just using something like phantomjs instead? :)
<yorickpeterse> Yes
<yorickpeterse> It's slow as shit
<yorickpeterse> Plus I'd have to write JS
<yorickpeterse> Plus I'd then move the potential memory consumption to the part of serializing/deserializing input/output for Phantom
<yorickpeterse> That is, it has to give back something Rubby can understand, which it then has to de-serialize
bantic has joined #ruby-lang
<yorickpeterse> Phantom would solve the problem where you have JS heavy websites, though so far we've always been able to work around that by figuring out what exactly the underlying JS uses
<manveru> ok...
kurko______ has quit [Ping timeout: 252 seconds]
<yorickpeterse> (e.g. some hidden JSON API)
<manveru> and doing a fork before invoking nokogiri?
<yorickpeterse> same problem
senj has joined #ruby-lang
<manveru> that would only leak in the new process, in theory
wallerdev has joined #ruby-lang
<yorickpeterse> Yes, but you'd still have to serialize/de-serialize. Plus the overhead of fork() is probably even bigger than starting Phantom
<manveru> fork has 0 overhead on linux
mistym has joined #ruby-lang
<yorickpeterse> Another issue with fork() is that it would probably screw with our queue setup, plus you'd have to deal with potential runaway processes
<manveru> well, not 0, but reeeealy little :)
<yorickpeterse> I'd rather fix the source: more efficient parsing
<yorickpeterse> Opposed to forking, sub-processes, Go, etc
<yorickpeterse> Granted I'm not sure how much the DOM parsing is causing in terms of memory usage, might as well been the caching of CSS selectors (which I've since disabled)
<yorickpeterse> Shouldn't take more than a few days before I have some better numbers on that
<yorickpeterse> (we measure memory thank god)
<manveru> well... good luck, i guess :)
<manveru> you may now continue writing your ircblog
retro|cz has joined #ruby-lang
artm has quit [Ping timeout: 250 seconds]
heftig has quit [Quit: Quitting]
deepwater has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperry_ has joined #ruby-lang
jperry_ has quit [Client Quit]
r0bby_ has joined #ruby-lang
r0bby_ has quit [Client Quit]
kbarry has joined #ruby-lang
loincloth has joined #ruby-lang
Elico has quit [Quit: Elico]
<yorickpeterse> * blag
Elico has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
Elico has quit [Client Quit]
Elico has joined #ruby-lang
|jemc| has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
benlovell has quit [Ping timeout: 272 seconds]
benlovell has joined #ruby-lang
ender|dktm has joined #ruby-lang
Elico has quit [Quit: Elico]
sferik has joined #ruby-lang
Elico has joined #ruby-lang
sferik has quit [Client Quit]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
mbj has quit [Quit: leaving]
jamto11 has quit [Remote host closed the connection]
Elico has quit [Quit: Elico]
mehlah has joined #ruby-lang
rondale_sc has joined #ruby-lang
michaeldeol has joined #ruby-lang
samsongz has joined #ruby-lang
makoto has joined #ruby-lang
r0bgleeson has joined #ruby-lang
makoto is now known as Guest51486
bin7me has joined #ruby-lang
feinbergscott has quit [Ping timeout: 245 seconds]
loincloth has quit []
rhodee has joined #ruby-lang
sqbell has joined #ruby-lang
Guest51486 has quit [Ping timeout: 245 seconds]
zoo-zed has joined #ruby-lang
tylersmith has joined #ruby-lang
sferik has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
<sqbell> Hello. Did anyone managed to use systemtap with rvm installed ruby? If I compile ruby myself, it works, but with rvm installed ruby (even with --enable-dtrace) it doesn't list any probes.
vlad_starkov has quit [Remote host closed the connection]
sferik has quit [Client Quit]
DarkBushido has quit [Ping timeout: 264 seconds]
cannie has joined #ruby-lang
seanlinsley has joined #ruby-lang
kbarry_ has joined #ruby-lang
kbarry has quit [Ping timeout: 250 seconds]
jgpawletko has joined #ruby-lang
kbarry_ is now known as kbarry
verto has quit [Ping timeout: 264 seconds]
senj has quit [Quit: Sleep Now]
senj has joined #ruby-lang
cschneid has quit [Ping timeout: 264 seconds]
verto has joined #ruby-lang
DarkBushido has joined #ruby-lang
RobertBirnie has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<havenwood> sqbell: I don't know why that would be. You might want to try the #rvm channel too.
cannie_ has joined #ruby-lang
cschneid has joined #ruby-lang
cannie has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby-lang
<sqbell> havenwood: I just did that. One thing I noticed is that normally ruby compiles statically and rvm builds it dynamically linked. Don't know if this could be the reason it doesn't work with systemtap.
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
vondruch has quit [Ping timeout: 245 seconds]
dm78 has quit [Read error: No route to host]
jsrn_ has quit [Ping timeout: 245 seconds]
dm78 has joined #ruby-lang
<kbarry> Hmmmm, i have an interesting problem,
<kbarry> I have something like %q{\\remoteserver.com\$e\folder}
<kbarry> but its being turned into "c:\remoteserver.com\$e\folder"
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
<kbarry> Is there something I am not aware of regarding the use of "\\" inside of %q{} ?
dm78 has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
dm78 has joined #ruby-lang
<kbarry> actually, its %q{"\\remoteserver.com\'$e'\folder"}
dagobah has quit [Quit: Leaving...]
<manveru> kbarry: ruby doesn't turn that into anything automatically
<manveru> what do you do?
<manveru> %q{"\\remoteserver.com\'$e'\folder"}
<manveru> "\remoteserver.com\'$e'\folder"
<manveru> that's what i have here
<yorickpeterse> >> %q{\\remoteserver.com\$e\folder}
<eval-in> yorickpeterse => "\\remoteserver.com\\$e\\folder" (https://eval.in/98668)
<yorickpeterse> >> puts %q{\\remoteserver.com\$e\folder}
<eval-in> yorickpeterse => \remoteserver.com\$e\folder ... (https://eval.in/98669)
<yorickpeterse> for once the bot works
naquad has joined #ruby-lang
<naquad> hi
tbuehlmann has quit [Quit: Leaving]
CaptainJet has joined #ruby-lang
<naquad> are there any libraries providing TUI widgets? kind of more advanced curses?
fijimunkii has joined #ruby-lang
samsongz has quit [Read error: Connection reset by peer]
samsongz has joined #ruby-lang
anjen has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dm78 has quit [Remote host closed the connection]
brettweavnet has joined #ruby-lang
dm78 has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
jtw has quit []
vlad_starkov has joined #ruby-lang
elliotec has joined #ruby-lang
bin7me has quit [Quit: Leaving]
__butch__ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
rhodee has quit [Quit: rhodee]
<kbarry> manveru: I am new to ruby, and having a bit of trouble understanding
albertgrala has joined #ruby-lang
mucker has joined #ruby-lang
<kbarry> irb is telling me something different,
<kbarry> irb> %q{"\\remoteserver.com\'$e'\folder"}
rh1n0 has joined #ruby-lang
<kbarry> => "\"\\remoteserver.com\\'$e'\\folder\""
<kbarry> I guess that is showing me what it would need to be without the %q
diegoviola has joined #ruby-lang
mnngfltg has quit [Remote host closed the connection]
samsongz has quit [Read error: Connection reset by peer]
samsongz has joined #ruby-lang
<kbarry> yorickpeterse ok
<kbarry> in the eval.in/98669 it says the output is
<kbarry> \remoteserver.com\$e\folder
<kbarry> but I want output to be exactly "\\remoteserver.com\$e\folder" (only what is between the quote, not including the quotes.)
arBmind has quit [Quit: Leaving.]
hfp is now known as hfp`away
kurko__ has joined #ruby-lang
jsrn has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
hfp`away is now known as hfp
saarinen has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
phansch has quit [Remote host closed the connection]
saarinen has quit [Client Quit]
yfeldblum has joined #ruby-lang
machindo has joined #ruby-lang
saarinen has joined #ruby-lang
elliotec has joined #ruby-lang
Elico has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
<manveru> >> "\\\\remoteserver.com\\$e\\folder"
<eval-in> manveru => "\\\\remoteserver.com\\$e\\folder" (https://eval.in/98672)
<manveru> >> puts "\\\\remoteserver.com\\$e\\folder"
<eval-in> manveru => \\remoteserver.com\$e\folder ... (https://eval.in/98673)
<manveru> kbarry: that's it :)
<manveru> irb calls .inspect on the return value of what you enter, so it looks a bit weird
benlovell has quit [Ping timeout: 272 seconds]
<kbarry> but why? I was sure, i mean SURE that %q{} meant quite literally "Ruby, if you touch ANYTHING inside these Braces, i will track you down and kill you"
<manveru> no
<manveru> %q{} is just like '', it won't interpret things like #{} or #$foo
<manveru> but \ is still used to escape things
<manveru> so you need to escape \ to get \, which means \\ is \
<manveru> so to get two \ you have to write \\\\
rhodee has joined #ruby-lang
kurko______ has joined #ruby-lang
samsongz has quit [Read error: Connection reset by peer]
<manveru> i don't think there is any literal string syntax in ruby that would turn \\ into \\ instead of \
samsongz has joined #ruby-lang
makoto has joined #ruby-lang
<manveru> see, if you want to write a } inside %q{}, you still need to write %q{\}}
makoto is now known as Guest85615
sross07 has joined #ruby-lang
<bougyman> manveru: puts %q!"\ "!
<bougyman> "\ "
kurko__ has quit [Ping timeout: 250 seconds]
<bougyman> er.
<manveru> if it's unambigous, yeah
<manveru> but try %q{\}
<bougyman> crazy
<bougyman> \\\ and \\\\ are the same.
<bougyman> in this context: puts %q!"\\\ "!
<kbarry> i was just going to tell you that
<manveru> aye :)
<kbarry> because when i was one \ short
<kbarry> i added another
<bougyman> it's farked
<kbarry> I love ruby.
<manveru> i guess it lets you be lazy in those cases
<kbarry> Consistent and True to the end :)
<kbarry> Nice PR spin :)
<manveru> lol
fijimunkii has quit [Ping timeout: 265 seconds]
Guest85615 has quit [Ping timeout: 245 seconds]
deepwater has joined #ruby-lang
mistym has joined #ruby-lang
jackal has joined #ruby-lang
<jackal> hello there fellow rubyists
<jackal> Is this a good place to ask a question? I am struggling with a method :(
jackal is now known as Guest78749
Guest78749 is now known as trentont101
<trentont101> i am trentont101 now :)
<kbarry> this is a great place to ask question,
<kbarry> the only rule is,
<kbarry> Don't ask if its ok to ask questions.
senj has quit [Quit: Sleep Now]
<kbarry> :)
senj has joined #ruby-lang
mikecmpbll has joined #ruby-lang
lsegal has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
<ericwood> !ask
<ericwood> oh
<ericwood> no bot in here?
centrx has joined #ruby-lang
hfp is now known as hfp`away
pkrnj has joined #ruby-lang
VTLob has joined #ruby-lang
<trentont101> got it!
Mon_Ouie has joined #ruby-lang
<trentont101> on ruby channel
<trentont101> i will ask 1 more time tho
<trentont101> to see your opinion
<trentont101> still here ericwood?
<trentont101> I want to break for 1 secound between my fight rounds in my MUD, would kernel#sleep be the best option?
arBmind has joined #ruby-lang
<centrx> I will say, sleep is the way
<ericwood> I'm here
<ericwood> why do you think I'll know the best answer to this lol
<ericwood> sleep is what I'd use, though
<ericwood> don't know of anything better
<trentont101> ok thanks
<trentont101> are there any other options?
<ericwood> just use sleep already dammit
<trentont101> lol
<trentont101> there is a reason im hesitant
<trentont101> ill try it though thank you
<centrx> No, you don't need to set another thread with "alarm_clock"
<trentont101> lol i wont
kurko___ has joined #ruby-lang
kurko___ has quit [Max SendQ exceeded]
kurko__ has joined #ruby-lang
<trentont101> works great thanks yall!
kurko______ has quit [Ping timeout: 260 seconds]
trentont101 has quit [Quit: Leaving]
jamto11 has joined #ruby-lang
hahuang65 has joined #ruby-lang
albertgrala has quit [Quit: Leaving]
vky has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
arooni-mobile has joined #ruby-lang
centrx has quit [Quit: CHOOO CHOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!]
pabloh has quit [Quit: Saliendo]
smashwilson has quit [Ping timeout: 272 seconds]
anjen has quit [Quit: anjen]
yfeldblum has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
fijimunkii has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
workmad3 has quit [Ping timeout: 246 seconds]
Coincidental has joined #ruby-lang
mehlah has joined #ruby-lang
sepp2k has quit [Ping timeout: 260 seconds]
sree has joined #ruby-lang
sepp2k has joined #ruby-lang
sferik has joined #ruby-lang
sferik has quit [Client Quit]
diegoviola has quit [Ping timeout: 250 seconds]
artm has joined #ruby-lang
rhodee has quit [Quit: rhodee]
michaeldeol has quit [Quit: Computer has gone to sleep.]
jamto11 has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
makoto has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
makoto is now known as Guest93849
saarinen has quit [Quit: saarinen]
havenwood has joined #ruby-lang
saarinen has joined #ruby-lang
michaeldeol has quit [Read error: No route to host]
michaeldeol has joined #ruby-lang
mforrester has joined #ruby-lang
saarinen has quit [Client Quit]
Guest93849 has quit [Ping timeout: 272 seconds]
sree has quit []
rhodee has joined #ruby-lang
rh1n0 has quit [Remote host closed the connection]
machindo has quit [Quit: machindo]
artm has quit [Ping timeout: 250 seconds]
saarinen has joined #ruby-lang
mistym has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
d4rkr4i has quit [Ping timeout: 260 seconds]
elliotec has joined #ruby-lang
benanne has joined #ruby-lang
sross07 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
mistym has joined #ruby-lang
heftig has joined #ruby-lang
smashwilson has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
saarinen has quit [Quit: saarinen]
mehlah has quit [Quit: Leaving...]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
havenwood has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
bantic has quit [Ping timeout: 250 seconds]
Coincidental has quit [Remote host closed the connection]
machindo has joined #ruby-lang
Coincidental has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
mistym has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
bantic has joined #ruby-lang
mforrester has quit [Ping timeout: 260 seconds]
Lewix has joined #ruby-lang
benlovell has joined #ruby-lang
dwknoxy is now known as dknox-lunch
zenojis has quit [Read error: No route to host]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
smashwilson has quit [Quit: Leaving]
benlovell has quit [Ping timeout: 250 seconds]
makoto has joined #ruby-lang
makoto is now known as Guest95059
cannie_ has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Guest95059 has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby-lang
cannie has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 245 seconds]
Coincidental has quit []
elliotec has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
fijimunkii has quit [Quit: leaving]
havenwood has joined #ruby-lang
fijimunkii has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
bantic has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
bantic has joined #ruby-lang
fijimunkii has joined #ruby-lang
fijimunkii has quit [Client Quit]
goatish_mound has joined #ruby-lang
newbie|5 has joined #ruby-lang
rsl has quit [Ping timeout: 240 seconds]
dik_dak has joined #ruby-lang
newbie|5 has quit [Client Quit]
elliotec has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
havenwood has quit [Ping timeout: 260 seconds]
ozzloy_ is now known as ozzloy
ozzloy has quit [Changing host]
ozzloy has joined #ruby-lang
kbarry has quit [Ping timeout: 250 seconds]
jvrmaia has quit []
elliotec has quit [Remote host closed the connection]
rhodee has quit [Quit: rhodee]
jamto11 has joined #ruby-lang
rhodee has joined #ruby-lang
kbarry has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
pkrnj has quit [Quit: Computer has gone to sleep.]
deepwater has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
eoinkelly has joined #ruby-lang
mistym has joined #ruby-lang
momomomomo has joined #ruby-lang
machindo has quit [Quit: machindo]
robmiller has quit [Quit: Leaving.]
makoto has joined #ruby-lang
makoto is now known as Guest1784
benkhicks has joined #ruby-lang
elliotec has joined #ruby-lang
Guest1784 has quit [Ping timeout: 245 seconds]
Coincidental has quit [Remote host closed the connection]
jsrn has quit [Quit: Leaving]
Coincidental has joined #ruby-lang
apeiros has joined #ruby-lang
<whitequark> yorickpeterse: it's pathetic. practically everything is stolen, everything else is just crap.
yalue has quit [Quit: Leaving]
momomomomo has quit [Quit: momomomomo]
artm has joined #ruby-lang
deception has quit [Quit: Goodbye]
sqbell has quit [Quit: leaving]
zoo-zed has quit [Quit: Leaving.]
mikecmpbll has joined #ruby-lang
michaeldeol has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby-lang
benkhicks has quit [Quit: Leaving.]
michaeldeol has quit [Ping timeout: 250 seconds]
jsrn has joined #ruby-lang
enebo has quit [Quit: enebo]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
vlad_starkov has joined #ruby-lang
pkrnj has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
riffraff has joined #ruby-lang
vlad_starkov has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 248 seconds]
arooni-mobile has joined #ruby-lang
centrx has joined #ruby-lang
DanBradbury has joined #ruby-lang
Elico has quit [Ping timeout: 256 seconds]
samsongz has quit [Read error: Connection reset by peer]
samsongz has joined #ruby-lang
kbarry_ has joined #ruby-lang
kbarry_ has quit [Client Quit]
kbarry has quit [Ping timeout: 246 seconds]
mehlah has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
hfp`away is now known as hfp
benlovell has joined #ruby-lang
<kith> guys i have this piece of code http://pastebin.com/wN5NDfgC the snmp query runs very slow, is there a way to speed up things?
<kith> on my end?
<centrx> snmp: not found
mykoweb has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
makoto has joined #ruby-lang
Elico has joined #ruby-lang
makoto is now known as Guest40846
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
dknox-lunch is now known as dknox
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Guest40846 has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
broconne has quit [Quit: Leaving.]
riffraff has quit [Quit: Leaving]
hfp is now known as hfp`away
mforrester has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
vlad_starkov has joined #ruby-lang
rh1n0 has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
Coincidental has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
rh1n0 has quit [Quit: im out!]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
prc has joined #ruby-lang
lsegal` has joined #ruby-lang
LuvLinuxOS has joined #ruby-lang
kurko______ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
kurko__ has quit [Ping timeout: 245 seconds]
elliotec has joined #ruby-lang
Coincidental has joined #ruby-lang
lsegal has quit [Ping timeout: 250 seconds]
arooni-mobile has joined #ruby-lang
vky has quit [Ping timeout: 260 seconds]
mucker has quit [Remote host closed the connection]
phansch has joined #ruby-lang
mucker has joined #ruby-lang
havenwood has joined #ruby-lang
saarinen has joined #ruby-lang
mucker has quit [Ping timeout: 260 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brettweavnet has quit [Quit: Bye]
chouhoulis has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
relix has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
workmad3 has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
x0f has joined #ruby-lang
makoto has joined #ruby-lang
makoto is now known as Guest35186
elliotec has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest35186 has quit [Ping timeout: 250 seconds]
kurko__ has joined #ruby-lang
nszceta has quit [Remote host closed the connection]
kurko______ has quit [Ping timeout: 245 seconds]
MichD is now known as michd
RobertBirnie has quit [Ping timeout: 245 seconds]
kurko__ has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
kurko______ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
Coincidental has quit [Remote host closed the connection]
dknox has quit [Quit: Computer has gone to sleep.]
henrikhodne has quit [Quit: Updating details, brb]
henrikhodne has joined #ruby-lang
Coincidental has joined #ruby-lang
kurko______ has quit [Ping timeout: 250 seconds]
cannie has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
apeiros has quit []
chouhoulis has joined #ruby-lang
dwknoxy has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
artm has quit [Read error: Operation timed out]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
lsegal` has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
andrewhl has joined #ruby-lang
benanne has quit [Quit: kbai]
elliotec has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
nathanstitt has quit [Quit: I growing sleepy]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
DanBradbury has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 245 seconds]
toretore has quit [Quit: This computer has gone to sleep]
symm- has quit [Ping timeout: 245 seconds]
bjh13 has quit [Quit: leaving]
vky has joined #ruby-lang
EngierkO has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
workmad3 has quit [Quit: Lost terminal]
workmad3 has joined #ruby-lang
kirin` has joined #ruby-lang
benlovell has joined #ruby-lang
elliotec has joined #ruby-lang
VTLob has quit [Quit: VTLob]
saarinen has joined #ruby-lang
closer has quit [Ping timeout: 252 seconds]
closer has joined #ruby-lang
phansch has quit [Quit: Leaving]
benlovell has quit [Ping timeout: 245 seconds]
makoto has joined #ruby-lang
makoto is now known as Guest17996
andrewhl has quit [Quit: andrewhl]
fuhgeddaboudit has quit [Ping timeout: 250 seconds]
zenojis has joined #ruby-lang
Guest17996 has quit [Ping timeout: 260 seconds]
saarinen has quit [Quit: saarinen]
solars has quit [Ping timeout: 245 seconds]
samsongz has quit [Read error: Connection reset by peer]
samsongz has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.2]
elliotec has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
seanlinsley has quit [Quit: …]
rtl_ is now known as rtl
ikrima has joined #ruby-lang
EngierkO has joined #ruby-lang
<|jemc|> anybody know how to unit-test a WeakRef?
hfp`away is now known as hfp