apeiros changed the topic of #ruby-lang to: Ruby 2.1.0-p0; 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
marr has quit [Ping timeout: 252 seconds]
bin7me has quit [Read error: Connection reset by peer]
kfpratt has joined #ruby-lang
shadesaaaa is now known as waxjar
dm78 has joined #ruby-lang
ikrima has joined #ruby-lang
pabloh has quit [Quit: Saliendo]
kurko_ has quit [Quit: Computer has gone to sleep.]
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
pabloh has joined #ruby-lang
kitak has joined #ruby-lang
dm78 has quit [Ping timeout: 272 seconds]
kurko_ has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
arooni-mobile has quit [Read error: Operation timed out]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
patriciomacadden has joined #ruby-lang
mistym has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<pipecloud> FUCK, why zenspider?
mistym has quit [Ping timeout: 252 seconds]
ikrima has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
simoz15 has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
judofyr has joined #ruby-lang
judofyr_ has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
danijoo has quit [Read error: Connection reset by peer]
judofyr_ has quit [Ping timeout: 252 seconds]
danijoo has joined #ruby-lang
simoz15 has quit [Ping timeout: 245 seconds]
dorei has quit []
tkuchiki has joined #ruby-lang
jvrmaia has quit []
knu has quit [Ping timeout: 252 seconds]
cored has quit [Ping timeout: 245 seconds]
knu has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guns has quit [Quit: guns]
moneydouble has quit [Quit: Leaving.]
moneydouble has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
_tockitj has quit [Ping timeout: 252 seconds]
knu has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
knu has joined #ruby-lang
jsrn has quit [Ping timeout: 260 seconds]
bjh13 has joined #ruby-lang
RoxasShadowRS has quit [Read error: Connection reset by peer]
sepp2k1 has quit [Read error: Connection reset by peer]
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
judofyr has quit [Ping timeout: 245 seconds]
centrx has joined #ruby-lang
yeltzooo has quit [Ping timeout: 245 seconds]
tap has quit [Ping timeout: 272 seconds]
shtirlic has quit [Ping timeout: 276 seconds]
Muz has quit [Ping timeout: 272 seconds]
insidious has quit []
nat31 has quit [Ping timeout: 272 seconds]
mbj has quit [Ping timeout: 260 seconds]
shtirlic has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
jamto11 has joined #ruby-lang
patriciomacadden has joined #ruby-lang
jamto11 is now known as blaz3
blaz3 is now known as blaz3r
blaz3r is now known as blaz3rz
knu has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Fyyr13 has joined #ruby-lang
bjh13 has quit [Quit: leaving]
vlad_starkov has quit [Read error: Connection reset by peer]
bjh13 has joined #ruby-lang
Muz has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
yeltzooo has joined #ruby-lang
ikrima has joined #ruby-lang
elliotec has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsullivandigs has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
mistym has joined #ruby-lang
judofyr has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
danijoo_ has joined #ruby-lang
mistym has quit [Ping timeout: 272 seconds]
judofyr has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
kfpratt has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
diss has quit [Quit: leaving]
Lewix has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
lcdhoffman has joined #ruby-lang
yatish27 has joined #ruby-lang
bzalasky has joined #ruby-lang
pabloh has quit [Quit: Saliendo]
patriciomacadden has joined #ruby-lang
kalehv has joined #ruby-lang
kalehv has quit [Client Quit]
kalehv has joined #ruby-lang
kalehv has left #ruby-lang [#ruby-lang]
kalehv has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
ikrima has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
rjrj has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
stonerfish has joined #ruby-lang
setmeaway has quit [Ping timeout: 252 seconds]
judofyr has joined #ruby-lang
judofyr has quit [Ping timeout: 272 seconds]
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
havenwood has joined #ruby-lang
yatish27 has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
saneax has joined #ruby-lang
werebutt has joined #ruby-lang
werebutt has left #ruby-lang [#ruby-lang]
patriciomacadden has quit [Quit: Textual IRC Client: www.textualapp.com]
albioner has joined #ruby-lang
albioner has quit [Max SendQ exceeded]
albioner_ has joined #ruby-lang
frankbutt has joined #ruby-lang
frankbutt has left #ruby-lang [#ruby-lang]
charliesome has joined #ruby-lang
saneax has quit [Quit: Lost terminal]
kfpratt has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
blaz3rz has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
kalehv has quit [Remote host closed the connection]
blaz3rz has joined #ruby-lang
moneydouble has joined #ruby-lang
dm78 has joined #ruby-lang
ninjapig has joined #ruby-lang
cong has joined #ruby-lang
knu has joined #ruby-lang
dm78 has quit [Ping timeout: 264 seconds]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
red_menace has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
cong has quit [Quit: lake front]
nathanstitt has quit [Quit: I growing sleepy]
knu has quit [Ping timeout: 252 seconds]
judofyr has quit [Ping timeout: 272 seconds]
knu has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
jsullivandigs has quit [Remote host closed the connection]
mistym has joined #ruby-lang
jsullivandigs has joined #ruby-lang
vlad_starkov has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
mistym has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Ping timeout: 245 seconds]
kalehv has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
red_menace has quit [Quit: peer reset by connection]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
wnd has quit [Ping timeout: 272 seconds]
yatish27 has joined #ruby-lang
wnd has joined #ruby-lang
elliotec has quit [Ping timeout: 245 seconds]
jasonrobertfox has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
yatish27 has quit [Remote host closed the connection]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
jasonrobertfox is now known as foxy
mykoweb has quit [Remote host closed the connection]
foxy is now known as nsb
nsb is now known as jasonrobertfox
tylersmith has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
jasonrobertfox has left #ruby-lang ["Take it easy."]
jasonrobertfox has joined #ruby-lang
jasonrobertfox has left #ruby-lang ["Take it easy."]
yatish27 has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
judofyr has quit [Ping timeout: 260 seconds]
knu has joined #ruby-lang
jsullivandigs has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
knu has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 252 seconds]
jsullivandigs has joined #ruby-lang
kitak_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
kitak has quit [Ping timeout: 245 seconds]
knu has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 272 seconds]
Lewix has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
soba has joined #ruby-lang
jsullivandigs has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
knu has joined #ruby-lang
RobertBirnie has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
moneydouble has quit [Quit: Leaving.]
jeer has quit [Ping timeout: 272 seconds]
danijoo_ has quit [Read error: Connection reset by peer]
moneydouble has joined #ruby-lang
danijoo has joined #ruby-lang
musty_ is now known as musty
jeer has joined #ruby-lang
knu has joined #ruby-lang
RobertBirnie has quit [Quit: Textual IRC Client: www.textualapp.com]
judofyr has joined #ruby-lang
elliotec has joined #ruby-lang
judofyr has quit [Ping timeout: 265 seconds]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
phansch has joined #ruby-lang
mehlah has joined #ruby-lang
dm78 has joined #ruby-lang
dm78 has quit [Ping timeout: 272 seconds]
judofyr has joined #ruby-lang
heftig has quit [Quit: Quitting]
tonni_ has quit [Remote host closed the connection]
judofyr has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
retro|cz has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
miqui has quit [Remote host closed the connection]
mistym has joined #ruby-lang
miqui has joined #ruby-lang
miqui has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
Raycaster1 has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
dik_dak has quit [Quit: Leaving]
danijoo has joined #ruby-lang
r0bglees0n has quit [Ping timeout: 245 seconds]
stonerfish has quit [Quit: Leaving.]
amerine has quit [Quit: Computer has gone to sleep.]
stonerfish has joined #ruby-lang
knu has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
tylersmi_ has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
vlad_starkov has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
amerine has joined #ruby-lang
knu has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
mucker has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
tonni has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
knu has quit [Ping timeout: 252 seconds]
anulman has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
rubyn00b316 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
mistym__ has joined #ruby-lang
bjh13 has quit [Quit: leaving]
arBmind has joined #ruby-lang
judofyr has joined #ruby-lang
mistym has quit [Ping timeout: 272 seconds]
judofyr has quit [Client Quit]
mistym_ has quit [Ping timeout: 252 seconds]
Barrin6 has quit [Remote host closed the connection]
moneydouble has quit [Quit: Leaving.]
anulman has joined #ruby-lang
knu has joined #ruby-lang
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
rubyn00b316 has quit [Quit: irc2go]
abroco has joined #ruby-lang
<abroco> hello.
<abroco> Given the string "hello'\bye", how can I trim the string so that it gives back "hello" alone, trimming special characters, and everything that comes after it?
Lewix has joined #ruby-lang
bzalasky has joined #ruby-lang
simoz15 has joined #ruby-lang
<whitequark> abroco: define 'special characters'
<abroco> whitequark: commas, periods, quotes.
<whitequark> but str[/\A(.*)[special character set]/, 1]
dagobah has joined #ruby-lang
<abroco> Already using s = n.delete("^a-zA-Z0-9")
<abroco> (which does "hellobye", given "hello'\bbye"
stonerfish has quit [Quit: Leaving.]
tonni has quit [Ping timeout: 245 seconds]
<whitequark> >> "hello'\\bye"[/\A(.*)['".,]/, 1]
<eval-in> whitequark => "hello" (https://eval.in/95246)
knu has quit [Ping timeout: 252 seconds]
speakingcode has quit [Ping timeout: 245 seconds]
<abroco> you're so cool :o
arooni-mobile has joined #ruby-lang
moneydouble has joined #ruby-lang
tonni has joined #ruby-lang
jsullivandigs has joined #ruby-lang
simoz15 has quit [Ping timeout: 253 seconds]
blaz3rz has quit [Remote host closed the connection]
simoz15 has joined #ruby-lang
abroco has quit [Quit: leaving]
jsullivandigs has quit [Ping timeout: 272 seconds]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
solars has joined #ruby-lang
elliotec_ has joined #ruby-lang
elliotec has quit [Read error: Connection reset by peer]
elliotec_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
elliotec 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]
tylersmith has joined #ruby-lang
simoz16 has joined #ruby-lang
simoz15 has quit [Ping timeout: 245 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
arooni-mobile has quit [Ping timeout: 260 seconds]
<manveru> >> %s(hello'bye)[/[a-z]+/]
<eval-in> manveru => "hello" (https://eval.in/95249)
amerine has quit [Quit: Computer has gone to sleep.]
amerine has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
<whitequark> manveru: that's not really what he asked for
mistym__ has quit [Remote host closed the connection]
mistym has joined #ruby-lang
<manveru> :(
<manveru> %s(hello'bye)[/[^'".,]+/]
elliotec_ has joined #ruby-lang
<manveru> are you happy now?
elliotec has quit [Read error: No route to host]
mistym has quit [Ping timeout: 245 seconds]
<manveru> just trying to demo String#[] without second arg
simoz16 has quit [Ping timeout: 245 seconds]
centrx has quit [Quit: Leaving]
tonni has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
yatish27 has quit [Remote host closed the connection]
<whitequark> yeah, that's better
<ljarvis> good morning
jsrn has joined #ruby-lang
apeiros has joined #ruby-lang
flori has quit [Ping timeout: 245 seconds]
flori has joined #ruby-lang
jsullivandigs has joined #ruby-lang
arBmind has joined #ruby-lang
heftig has joined #ruby-lang
anulman has quit [Quit: Leaving.]
jsullivandigs has quit [Ping timeout: 248 seconds]
flori has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 264 seconds]
phansch_ has joined #ruby-lang
jonahR has quit [Quit: jonahR]
tbuehlmann has joined #ruby-lang
phansch has quit [Ping timeout: 252 seconds]
kwando_ has joined #ruby-lang
tommylommykins has quit [Read error: Operation timed out]
neurodam1ge has quit [Read error: Operation timed out]
kwando has quit [Read error: Connection reset by peer]
neurodamage has joined #ruby-lang
tommylommykins has joined #ruby-lang
moneydouble has joined #ruby-lang
<pipecloud> fun read
r0bglees0n has joined #ruby-lang
jsrn has quit [Ping timeout: 245 seconds]
flori has joined #ruby-lang
DouweM has quit [Ping timeout: 252 seconds]
tonni has joined #ruby-lang
michd is now known as MichD
joonty_ has quit [Quit: WeeChat 0.4.2]
yatish27 has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
jsrn has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
ninjapig1 has joined #ruby-lang
anulman has joined #ruby-lang
ninjapig has quit [Ping timeout: 252 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
mikecmpbll has joined #ruby-lang
elliotec_ has quit [Ping timeout: 272 seconds]
arBmind has quit [Quit: Leaving.]
phansch_ is now known as phansch^
anulman1 has joined #ruby-lang
anulman has quit [Read error: Connection reset by peer]
tbuehlmann has quit [Quit: Konversation terminated!]
tbuehlmann has joined #ruby-lang
tbuehlmann has quit [Changing host]
tbuehlmann has joined #ruby-lang
anulman1 has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
elia has joined #ruby-lang
DouweM has joined #ruby-lang
Fyyr13 has quit [Remote host closed the connection]
matp has quit [Quit: Bye!]
jsullivandigs has joined #ruby-lang
workmad3 has joined #ruby-lang
faces has joined #ruby-lang
arBmind has joined #ruby-lang
face has quit [Ping timeout: 253 seconds]
matp has joined #ruby-lang
DouweM has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
marr has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 272 seconds]
albioner_ has quit [Quit: Signing off...]
<yorickpeterse> morning
<apeiros> moin
<ljarvis> pretty sure 30% of rubyists have gone to rust, another 30 to Go
<yorickpeterse> pretty sure the other 70% is making good money with Ruby
<apeiros> the other 40 enjoy malbolge
<yorickpeterse> and will continue doing so for another decade
heftig has quit [Ping timeout: 272 seconds]
phansch^ is now known as phansch
yfeldblum has joined #ruby-lang
knu has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
heftig has joined #ruby-lang
cba has quit [Quit: Leaving]
_tockitj has joined #ruby-lang
<yorickpeterse> oh boy, Monday morning shit's acting up
<yorickpeterse> YAY
<ljarvis> :/
<ljarvis> apeiros: :D
<ljarvis> dat hello world
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<r0bglees0n> ljarvis: diversity is key
knu has quit [Ping timeout: 252 seconds]
<apeiros> ljarvis: we're just waiting for malbolge on rails
<r0bglees0n> any language who copies rails is doomed to fail though :P
<ljarvis> what language copies rails?
<apeiros> I don't worry. Malbolge will prevail.
<ljarvis> ah
<ljarvis> indeed
<ljarvis> rails isn't that bad
<r0bglees0n> none that i know of, it was a joke, to say why would you copy the mistakes of one framework that may have led you to another language in the first place
knu has joined #ruby-lang
<apeiros> I think there are rails clones for php and python
<apeiros> not sure how close to the original those are
<r0bglees0n> yeah, MVC frameworks at the very least
<r0bglees0n> same idea a lot of the time
benlovell has joined #ruby-lang
kitak has quit [*.net *.split]
<apeiros> there are some people who argue that rails isn't really MVC
<apeiros> (note: I don't have an opinion on that, and I don't really care for pattern names)
<yorickpeterse> Malbolge?
<ljarvis> MVC kind of implies simplicity in some ways
<r0bglees0n> i don't think MVC matters that much for rails, but i'm not sure. i think its selling point is the ability to prototype quickly and get something to market quickly, with very little fuss. you can be very productive, until it takes 10000 light years to 'rails s', then it bites
kitak has joined #ruby-lang
<ljarvis> I still enjoy rails because I get to write a heck of a lot of ruby
<ljarvis> and it's easy to test
<yorickpeterse> yeah but Rails is too mainstream
relix has joined #ruby-lang
<apeiros> I have yet to figure out how to properly test controllers :-/
<r0bglees0n> sure, it's not terrible, it would be super awesome if there was an alternative though (viable alternative)
<apeiros> and views
<r0bglees0n> nothing can challenge it on the same stage because sinatra wouldn't build the same application
<apeiros> rails doesn't exactly make it easy to isolate those
<yorickpeterse> apeiros: lol testing views
<yorickpeterse> shit's hard yo
<apeiros> I'm sorry, our views don't just consist of "<h1>Hello there!</h1>"
* yorickpeterse is currently in the posession of the company credit card
<yorickpeterse> I HAVE THE POWER
charliesome has joined #ruby-lang
<ljarvis> apeiros: i know right, %h1 Hello there!
<yorickpeterse> apeiros: I'm swimming in money here
<apeiros> ljarvis: well, I meant the rendered version
<ljarvis> I know i.. i was kidding
<apeiros> I'M NOT!
<ljarvis> LETS NOT KID ABOUT HTML
* apeiros so serious
<ljarvis> srs
<r0bglees0n> apeiros: i didn't find it too hard with a mock or two or twenty
<r0bglees0n> i usually would use cucumber/capybara for that though, not as precise though
<apeiros> r0bglees0n: cucumber/capybara is the anti-thesis of isolated testing
<r0bglees0n> yup
<r0bglees0n> its an integration test
<apeiros> yes
<apeiros> that I can do just fine
<ljarvis> i unit test controllers
<apeiros> but I want proper unit tests
<ljarvis> and testing views is over testing
<apeiros> ljarvis: strongly disagree
<r0bglees0n> tend to agree, if you have cukes
<yorickpeterse> lol cucumber
<apeiros> our views contain a lot of logic
<r0bglees0n> yorickpeterse: well, anything that uses capybara then
<r0bglees0n> it could be rspec or something
<ljarvis> apeiros: I think it makes it easier to over test, we test functionality via capybara, but we dont test for general markup logic (existence, for example)
toretore has joined #ruby-lang
DouweM has joined #ruby-lang
<apeiros> ljarvis: the parts I want to test are mostly related to authorization and javascripts/ajax
<apeiros> and I'd prefer to not test those as integration tests
<apeiros> anyway, it's mostly theory anyway as we don't get the time to set up proper tests :(
<ljarvis> we have a huge capybara suite that runs poltergeist
<ljarvis> takes about 3 weeks to run
<ljarvis> (2 minutes)
<r0bglees0n> run it right before your holidays
<ljarvis> but we unit test our controllers
<apeiros> our last version of cukes took some 30min to run :-/
<apeiros> not sure it's still running
<r0bglees0n> 4 or so mins here
<r0bglees0n> not that bad
<ljarvis> I hate cukes
<r0bglees0n> variation of capybara-webkit & poltergeist
<ljarvis> hate with a H
<r0bglees0n> i dont like writing them either
<r0bglees0n> pretty painful and horrible
<ljarvis> my problem with cukes is that I genuinly dont understand why it exists, the whole "my client wants to read/write tests" is a bullshit cop-out
<apeiros> for me the most painful was, that you couldn't rely on cucumber to still run after updating stuff
<r0bglees0n> yeah, on one hand though it is a pretty good language for describing user interaction with a browser
<r0bglees0n> it is just so horrible to write new steps
<lupine> heh. the move to rspec2 + new-cucumber is a nightmare, from 1 + old-cucumber
<apeiros> every couple of weeks you had to tweak and fiddle with old parts simply because of updates
<lupine> but I did enjoy writing tests in it, and that's honestly the important bit
kitak has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
<r0bglees0n> i see specs written the 'rspec + capybara' way, it does look much more preferable and easier to get stuff done
<r0bglees0n> you dont have to write a 'story' first
knu has joined #ruby-lang
kitak has joined #ruby-lang
<ledestin> about production. do you have cron job or something with bundle update for your apps?
francisfish has joined #ruby-lang
<r0bglees0n> that may not be wise
<ledestin> yeah, I just thought about it
<ledestin> might break
<r0bglees0n> yeah
<ljarvis> bundle update should never be run without an argument
<r0bglees0n> alias yolo='bundle update && deploy!'
<ledestin> ljarvis: in production maybe, so that you can have only versions that you've tested
<ledestin> ljarvis: if that's what you mean
<r0bglees0n> bundle update will update all your dependencies, then Gemfile.lock, and depending on how wise gem authors have been they may totally break your app through greedy version requirements
<r0bglees0n> definitely something to do before production
bzalasky has quit [Remote host closed the connection]
<ljarvis> ledestin: I wouldn't rcommend ever running bundle update without a specific library
<r0bglees0n> you would also need to reboot your application as part of that cronjob for it to be seen
anulman has joined #ruby-lang
<ljarvis> as r0bglees0n says, it updates everything
<ljarvis> that's geenrally not what you want
<ljarvis> also i cant spell
rjrj has quit [Ping timeout: 260 seconds]
<ledestin> ljarvis: well, if I need to be up to date, I'd update everything
FlyingLeap has quit [Remote host closed the connection]
FlyingLeap has joined #ruby-lang
<r0bglees0n> you can do that but don't do it in production unless you wanna be freddie mercury for a day
<ljarvis> heh
<ljarvis> that's crazy but ok
<r0bglees0n> id agree, better to do it one-by-one and verify before you do something like that
<ledestin> r0bglees0n: yeah
<r0bglees0n> you wanna be freddie? then go for it
mistym has joined #ruby-lang
<ledestin> r0bglees0n: how does it relate to Freddie?
rjrj has joined #ruby-lang
<r0bglees0n> because only a rockstar superstar could pull it off and live to tell the tale
anulman has quit [Ping timeout: 252 seconds]
<ledestin> ok
<r0bglees0n> sorry i dont mean to be rude. it's just not a good idea in general.
<ledestin> isn't there automated scripts or something? run tests, then use those versions in production?
<ljarvis> ledestin: why not use the versions that work?
<ljarvis> why update everything if the test suite passes?
<ledestin> ljarvis: well, they update it for a reason
<ledestin> ljarvis: for example, I've fixed bugs in my gem
<r0bglees0n> the only thing i could see myself doing is something like using bundle-audit to automatically deploy fixes as they become available and also go through a test build
<r0bglees0n> security fixes*
<ljarvis> ledestin: then you'd update that gem
<ljarvis> that proves my point
<ledestin> ljarvis: but it's too much of dependencies
<r0bglees0n> rails also degraded performance in one of their security fixes
<r0bglees0n> so lots of stuff to consider
<ledestin> there's no security.rubygems.org
<ljarvis> what does that have to do with anything?
<ledestin> so you can't just follow security updates
<ledestin> ljarvis: think Debian secutiy
mistym has quit [Ping timeout: 272 seconds]
<ledestin> r0bglees0n: oh, that's cool
<r0bglees0n> yeah
<r0bglees0n> very cool
<ledestin> thanks for advice guys
<r0bglees0n> sure
<ljarvis> this looks neat https://github.com/afaqurk/linux-dash
<r0bglees0n> looks awesome
workmad3 has quit [Quit: leaving]
<darix> btw: that ruby-advisory-db should really check if the sec bug is still there and not just compare version numbers. otherwise it will get lots of false alarms with vendor provided libs.
<r0bglees0n> darix: open an issue? don't know much about it myself to make a comment.
<r0bglees0n> the way it works at the moment is that someone sends a pull request, and there is a process it goes through before it can be added
<r0bglees0n> it also tracks a "fixed version"
<darix> r0bglees0n: many distros wont bump the version. they will backport the fix.
<r0bglees0n> don't use your distro for rubygems
<r0bglees0n> terrible idea
<ljarvis> :D
<ljarvis> i think you just started something
diegoviola has joined #ruby-lang
<darix> r0bglees0n: some distros do actually a pretty good job for it. and when the distro ships ruby based apps themself. they dont have much of a choice anyway.
<darix> oh and just in case you didnt know ... i am actually working on packaging gems for such cases.
<r0bglees0n> cool
<darix> besides most "security scanners" are stupid enough to compare just versions
<r0bglees0n> i don't have that as an immediate problem because i just use rubygems, which disallows(iirc) re-releasing the same version
<darix> correct
<r0bglees0n> no patches, or anything like that
<darix> which is correct for them.
<darix> but e.g. when upstream only releases the sec fix for the latest version. and you need it for an older version because another gem pulls it via ~>
<darix> then you start backporting.
fuhgeddaboudit has joined #ruby-lang
<ljarvis> this is interesting https://medium.com/p/3a6db2743a1e/
<r0bglees0n> yeah, sure, it doesn't get that complicated and often maintainers won't maintain older 0.X releases or branches
benlovell has quit [Read error: Operation timed out]
<r0bglees0n> it's very unwarranted for just a little project or something
jsullivandigs has joined #ruby-lang
<r0bglees0n> for rails2 or similar i could understand
<darix> r0bglees0n: rails2 means also every gem which is needed by that ;)
<r0bglees0n> sure
<r0bglees0n> which is why it's better to keep moving your stack with the times if you can
<darix> r0bglees0n: and then you run into fun things like. gems start to require 1.9 or higher. which you cant just put in as it wasnt a drop in replacement and you cant break customer code during release cycles.
<darix> r0bglees0n: you really think they are doing that because it is fun?
<r0bglees0n> yeah
<r0bglees0n> i just dont think you should run into that problem because 1.9-only took a while
symm- has quit [Ping timeout: 245 seconds]
<darix> *sigh*
<r0bglees0n> yeah, sure :)
jsullivandigs has quit [Ping timeout: 252 seconds]
<r0bglees0n> im pretty against supporting old software
<darix> it was one facet.
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
<r0bglees0n> i understand some people have limitations or situations that make it much harder to upgrade
<darix> r0bglees0n: take a few semi complex rails apps.
<darix> and then just check how many versions of each gem you will need to support all of those.
<r0bglees0n> yeah, believe me i get it, but in most situations you should be making an effort to move onto a newer stack as part of your development flow. by the time everything is 1.9-only is kind of way too late, it didn't happen over night.
robmiller has quit [Quit: robmiller]
workmad3 has joined #ruby-lang
skade has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wardrop has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
<Wardrop> Is there an official github repo or anything for ERB in the standard library?
<Wardrop> I know the JSON library has it's own github repository to which one can submit bugs, etc. Looking for the same for ERB.
<r0bglees0n> Wardrop: kind of, there is github.com/ruby/ruby, and there is github.com/rubysl/rubysl-erb
<r0bglees0n> if you want a change to go back upstream, it should go back to ruby/ruby. rubysl-erb is a rubinius thing at the moment.
<r0bglees0n> JSON is maintained outside MRI yeah
<Wardrop> r0bglees0n: Yeah I wasn't sure what `rubysl` was all about. Thanks for the clarifcation.
<r0bglees0n> sure
<Wardrop> So should I be submitted bugs and feature request for ERB through bugs.ruby-lang.org?
<yorickpeterse> yes
<r0bglees0n> probably the best place to get a response
kitak has quit [Remote host closed the connection]
<r0bglees0n> you can submit PRs on ruby/ruby but it can be slow from what i heard
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
anulman has joined #ruby-lang
mucker has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
sepp2k has joined #ruby-lang
benlovell has joined #ruby-lang
<yorickpeterse> yay mongodb haikus
<yorickpeterse> I'm so bad at haiku
<yorickpeterse> like, really bad
robmiller has joined #ruby-lang
<r0bglees0n> is that when you turn your mongo document into a poem
<yorickpeterse> No, that's when I write a shitty haiku about how bad that piece of tech really is
<r0bglees0n> hehe
<yorickpeterse> e.g. it's currently slow as a snail but I can't for the love of god see why
<yorickpeterse> None of our trillion metrics show anything
<yorickpeterse> yet the DB is slow
<yorickpeterse> like, srsly slow
<r0bglees0n> "PHP of databases" is how i heard it being described
<r0bglees0n> never used it though
<yorickpeterse> and we have 2 arbiters that should be doing absolutely nothing yet they're running at 50% CPU load
<yorickpeterse> which is probably the cause
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
<r0bglees0n> are you migrating to something else?
benlovell has quit [Ping timeout: 240 seconds]
anulman has quit [Ping timeout: 272 seconds]
<yorickpeterse> Soon (tm)
<yorickpeterse> Either MyFirstSQL or Pg
<yorickpeterse> Though I have no idea how those will work with 150GB
<yorickpeterse> at least the monitoring/tooling around it is more mature
benlovell has joined #ruby-lang
mikecmpbll has joined #ruby-lang
jvrmaia has joined #ruby-lang
xcesariox has joined #ruby-lang
xcesariox has quit [Max SendQ exceeded]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
yatish27 has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 245 seconds]
<yorickpeterse> Completed 200 OK in 66429ms (Views: 1961.6ms | ActiveRecord: 126.4ms | Mongo: 64097.0ms)
<yorickpeterse> (╯°□°)╯︵ ┻━┻
<whitequark> lol
<apeiros> you just didn't throw enough caches at the problem!!!
<r0bglees0n> lol
<yorickpeterse> it's cached after the first request
<yorickpeterse> except that first one takes forever
<yorickpeterse> and unicorn is like "OHOOHHH GOOOD THE TIMEOUTS"
<yorickpeterse> which is set to 180
* yorickpeterse facedesk
<yorickpeterse> and ops is MIA
<yorickpeterse> nice start of the week
<whitequark> threaten him with a soldering iron
Wardrop has quit [Quit: Wardrop]
<yorickpeterse> them
<whitequark> there's a russian expression "soldering iron cryptography", which means exactly what it sounds like
<whitequark> them, yeah
<yorickpeterse> plus our main ops is a lady
<whitequark> er, s,cryptography,cryptoanalysis,
* whitequark is sleepy
<apeiros> mandatory xkcd link…
<whitequark> I find the mental image of soldering iron being inserted in various orifices to be much more gut-wrenching
<whitequark> rubber hose? $10 wrench? amateurs.
mucker has quit [Remote host closed the connection]
<whitequark> then there's the anticipation of the iron actually being turned on
mucker has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 260 seconds]
retro|cz has quit [Ping timeout: 252 seconds]
mucker has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
Onixs has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Pupeno_w has joined #ruby-lang
achru has joined #ruby-lang
tkuchiki has quit [Ping timeout: 272 seconds]
anulman has joined #ruby-lang
enkristoffer has joined #ruby-lang
mistym has joined #ruby-lang
anulman has quit [Ping timeout: 272 seconds]
Guedes has joined #ruby-lang
Guedes has left #ruby-lang [#ruby-lang]
Voker57 has quit [Read error: Connection reset by peer]
mistym has quit [Ping timeout: 248 seconds]
soba has quit [Ping timeout: 240 seconds]
fuhgeddaboudit 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
vlad_starkov has quit [Remote host closed the connection]
Johz has joined #ruby-lang
Squarepy has joined #ruby-lang
vlad_starkov has joined #ruby-lang
skade has joined #ruby-lang
anulman has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
anulman1 has joined #ruby-lang
anulman has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
anulman1 has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Ping timeout: 248 seconds]
jerrytgarcia has joined #ruby-lang
anulman has joined #ruby-lang
mucker has joined #ruby-lang
anulman1 has joined #ruby-lang
anulman has quit [Read error: Connection reset by peer]
moneydouble has quit [Quit: Leaving.]
heftig has quit [Ping timeout: 272 seconds]
thisirs has joined #ruby-lang
anulman1 has quit [Ping timeout: 265 seconds]
MrZYX|off is now known as MrZYX
plurt has joined #ruby-lang
phansch has quit [Quit: Leaving]
marr has joined #ruby-lang
clamstar has quit [Quit: Computer has gone to sleep.]
patriciomacadden has joined #ruby-lang
EngierkO has joined #ruby-lang
retro|cz has joined #ruby-lang
<yorickpeterse> So before I come up with some crazy secret sauce, does anybody know of a way to parse HTML/XML in Nokogiri using the DOM parser, minus the terrible memory impact?
<whitequark> no.
<yorickpeterse> Writing 63 SAX parsers isn't really fun
<yorickpeterse> hm
<yorickpeterse> I was thinking of some hybrid solution, but that might still be pretty tricky
<yorickpeterse> That is, use a SAX parser to find your "context", then use the DOM for that
<whitequark> yes, I was about to say that
<yorickpeterse> alternatively: lol regexp
<yorickpeterse> <insert that SO post>
<whitequark> your data formats are probably similar
<yorickpeterse> HAHAHA
<yorickpeterse> No
<whitequark> okay
<yorickpeterse> 63 totally different websites
mehlah has quit [Read error: Connection reset by peer]
mehlah_ has joined #ruby-lang
<yorickpeterse> of which some are just flat out insane, but at least with all we know the entry point of our data
shinnya has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 265 seconds]
smashwilson has joined #ruby-lang
ninjapig1 has quit [Ping timeout: 252 seconds]
anulman has joined #ruby-lang
dm78 has joined #ruby-lang
anulman has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dm78 has quit [Ping timeout: 272 seconds]
joonty has joined #ruby-lang
joonty has quit [Client Quit]
Phoop has quit [Quit: ZNC - http://znc.in]
joonty has joined #ruby-lang
joonty has quit [Client Quit]
anulman has joined #ruby-lang
anekos__ has quit [Remote host closed the connection]
anekos has joined #ruby-lang
joonty has joined #ruby-lang
joonty has quit [Client Quit]
anulman1 has joined #ruby-lang
anulman has quit [Read error: Connection reset by peer]
amcoder has quit [Quit: ZZZzzz…]
francisfish has joined #ruby-lang
tonni has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 252 seconds]
gix- has quit [Read error: Connection reset by peer]
gix has joined #ruby-lang
anulman has joined #ruby-lang
anulman1 has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby-lang
joonty has joined #ruby-lang
ledestin has joined #ruby-lang
joonty has quit [Client Quit]
kalelsage has joined #ruby-lang
<ljarvis> D:
<ljarvis> dont use ruby
<yorickpeterse> ugh fucking nokogiri xml fragments
<yorickpeterse> apparently #css and #xpath don't work on those?
<yorickpeterse> unless I'm derping
yfeldblum has quit [Ping timeout: 252 seconds]
<yorickpeterse> hm, might be the darn namespaces
<ljarvis> they work on Node on a subclass of it
<ljarvis> or*
<ljarvis> doc fragments inherit from node if that's what you have
breakingthings has joined #ruby-lang
<ljarvis> foreman start
<ljarvis> ...
<yorickpeterse> hm no, apparently Nokogiri::XML(...) works but Nokogiri::XML.fragment(...) derps
<yorickpeterse> ah well
<yorickpeterse> yay, this little hack saves me 2 MB
yalue has joined #ruby-lang
<yorickpeterse> and it's using the Nokogiri reader API
<yorickpeterse> which is saner than the SAX API
tonni has joined #ruby-lang
cnivolle has joined #ruby-lang
Raycaster has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
kalelsage has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
mehlah_ is now known as mehlah
joonty has joined #ruby-lang
mucker has quit []
hardy12 has joined #ruby-lang
mucker has joined #ruby-lang
<hardy12> Hi All. Is there any way to get any past date using ruby?
<MrZYX> >> Time.at(0)
<eval-in> MrZYX => 1970-01-01 01:00:00 +0100 (https://eval.in/95391)
<apeiros> hardy12: yes.
<apeiros> maybe you want to be more specific?
tonni has quit [Read error: Connection reset by peer]
miqui has joined #ruby-lang
<hardy12> I am creating a seed file. In that I am adding few record in table. and there I want to add random past date
vpretzel has joined #ruby-lang
yatish27 has joined #ruby-lang
<hardy12> not exactly a seed file. But a ruby script which will generate sample data
thisirs has quit [Remote host closed the connection]
<bougyman> Time.at(rand 1000000000)
<hardy12> wow..grt.. (y0
<hardy12> (y)
<hardy12> @bougyman thanks
<apeiros> now = Time.now; now - rand(…) # guaranteed to be in the past
<hardy12> thats true.
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
dm78 has joined #ruby-lang
cored has joined #ruby-lang
Cakey has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
jvrmaia has quit [Ping timeout: 240 seconds]
dm78 has quit [Ping timeout: 245 seconds]
tonni has joined #ruby-lang
tkuchiki has joined #ruby-lang
enebo has joined #ruby-lang
amcoder has joined #ruby-lang
yfeldblum has joined #ruby-lang
phansch has joined #ruby-lang
nigerianceo has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
yatish27 has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
mykoweb has joined #ruby-lang
<wnd> Time.at(rand(Time.now.to_f)) isn't, but should be close enough by the time it returns :-)
setmeaway has joined #ruby-lang
blaz3rz has joined #ruby-lang
kfpratt has joined #ruby-lang
tonni has quit [Ping timeout: 264 seconds]
nathanstitt has joined #ruby-lang
plurt has quit [Quit: Computer has gone to sleep.]
Squarepy has quit [Quit: Leaving]
Cakey has joined #ruby-lang
momomomomo has joined #ruby-lang
Cakey has quit [Ping timeout: 265 seconds]
tonni has joined #ruby-lang
patriciomacadden has quit [Ping timeout: 248 seconds]
tonni has quit [Read error: Connection reset by peer]
kfpratt has quit [Remote host closed the connection]
tonni has joined #ruby-lang
jvrmaia has joined #ruby-lang
kurko_ has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
flip_digits has joined #ruby-lang
amcoder has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Ping timeout: 272 seconds]
kurko_ has quit [Client Quit]
amcoder has joined #ruby-lang
alekst has joined #ruby-lang
robbyoconnor has joined #ruby-lang
patriciomacadden has joined #ruby-lang
<apeiros> wnd: rand truncates floats to numbers. just use .to_i instead of to_f
lfox has joined #ruby-lang
<apeiros> s/numbers/integers/
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seanlinsley has quit [Quit: …]
robbyoconnor has quit [Client Quit]
bjh13 has joined #ruby-lang
retro|cz has quit [Ping timeout: 252 seconds]
yatish27 has joined #ruby-lang
tylersmith has joined #ruby-lang
Guest54055 has left #ruby-lang [#ruby-lang]
momomomomo has quit [Quit: momomomomo]
<wnd> now that you mention it, Time.at(rand * Time.now.to_f) is guaranteed to be in the past
<wnd> fine, I don't know that for a fact, but I'd be very surprised if rand would not return [0, 1[
francisfish has quit [Remote host closed the connection]
rsl has joined #ruby-lang
yfeldblum has joined #ruby-lang
rippa has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
bantic has joined #ruby-lang
<apeiros> wnd: rand() does. rand(int) doesn't
<apeiros> not sure its 1[, might be 1]
<apeiros> docs say it's 1[
skade has joined #ruby-lang
<apeiros> but rand(float) doesn't exist, hence rand(float) is effectively rand(float.to_i)
francisfish has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
yatish27 has quit [Remote host closed the connection]
certainty has joined #ruby-lang
jtw has joined #ruby-lang
mbj has joined #ruby-lang
vondruch has joined #ruby-lang
kfpratt has joined #ruby-lang
kfpratt has quit [Read error: Connection reset by peer]
<yorickpeterse> dayum, hacking with a hybrid between SAX and DOM parsing, in my small cases I've reduced memory by about 1/4th
<yorickpeterse> errr as in, it's 1/4th of what it was
<yorickpeterse> notbad.jpg
seanlinsley has joined #ruby-lang
<yorickpeterse> sax-machine aint got shit on this
wallerdev has joined #ruby-lang
tbuehlmann has quit [Quit: Konversation terminated!]
mikecmpbll has joined #ruby-lang
kurko_ has joined #ruby-lang
brettweavnet has joined #ruby-lang
kurko_ has quit [Client Quit]
jsullivandigs has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
apeiros has joined #ruby-lang
kurko_ has joined #ruby-lang
dwknoxy has joined #ruby-lang
yatish27 has joined #ruby-lang
zlogan has quit [Ping timeout: 272 seconds]
apeiros has quit [Ping timeout: 252 seconds]
MrZYX is now known as MrZYX|off
Cakey has quit [Ping timeout: 248 seconds]
senj has joined #ruby-lang
deception has joined #ruby-lang
mistym has joined #ruby-lang
dm78 has joined #ruby-lang
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rjrj has quit [Remote host closed the connection]
patriciomacadden has joined #ruby-lang
MrZYX|off is now known as MrZYX
pabloh has joined #ruby-lang
ebetancourt has joined #ruby-lang
apeiros has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
flip_digits has quit [Ping timeout: 272 seconds]
flip_digits has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
mykoweb has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 240 seconds]
mykoweb has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
pabloh has quit [Quit: Saliendo]
havenwood has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
brettweavnet has quit [Quit: Bye]
brettweavnet has joined #ruby-lang
dannysmith has joined #ruby-lang
havenwood has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
hrs has joined #ruby-lang
jsrn has quit [Ping timeout: 252 seconds]
Cakey has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
dagobah has quit [Quit: Leaving...]
hrs has quit [Quit: Textual IRC Client: www.textualapp.com]
Cakey has quit [Ping timeout: 265 seconds]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
ender|dktm has joined #ruby-lang
Pupeno_w has quit []
tkuchiki has joined #ruby-lang
phansch has quit [Quit: Leaving]
Pupeno_w has joined #ruby-lang
DouweM has quit [Ping timeout: 272 seconds]
lfox has quit [Quit: ZZZzzz…]
amcoder_ has joined #ruby-lang
plurt has joined #ruby-lang
amcoder has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
pabloh has joined #ruby-lang
pabloh has quit [Read error: Connection reset by peer]
deens has joined #ruby-lang
diegoviola has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby-lang
patriciomacadden has quit [Quit: Textual IRC Client: www.textualapp.com]
pabloh has joined #ruby-lang
patriciomacadden has joined #ruby-lang
Squarepy has joined #ruby-lang
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
havenwood has quit [Remote host closed the connection]
mbj has quit [Quit: leaving]
auxitek has joined #ruby-lang
<auxitek> so i'm trying to capture and parse output from a terminal command. i'd pastebin this but i'm running it from -e and that seems frivolous
<auxitek> ruby -e "gc = \"#{`google calendar today`}\"" crashes with
<auxitek> -e:2: syntax error, unexpected tIVAR, expecting keyword_do or '{' or '('
<auxitek> [<email>]
benlovell has quit [Ping timeout: 264 seconds]
<toretore> your command is being parsed twice, once by the shell and once by ruby
<auxitek> that's what i thought
<auxitek> what's the workaround?
<MrZYX> use '
<auxitek> single quotes not backticks right?
<MrZYX> -e 'gc = "#{`
<toretore> first you must figure out how to create the string you want ruby to parse in the shell
<Rylee> should just use %x{google calendar today}, perhaps.
<auxitek> thanks, didn't know about that
auxitek has left #ruby-lang [#ruby-lang]
<Rylee> bye
kurko__ has joined #ruby-lang
<toretore> no point in learning what's actually going on, he got the magic command to make it do what he wants
cnivolle has joined #ruby-lang
kurko_ has quit [Ping timeout: 260 seconds]
plurt has quit [Quit: Computer has gone to sleep.]
arooni-mobile has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
jsrn has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
elia has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
enebo has quit [Quit: enebo]
phansch has joined #ruby-lang
saarinen has quit [Quit: saarinen]
arooni-mobile has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby-lang
rindolf has joined #ruby-lang
<rindolf> Hi all.
plurt has joined #ruby-lang
kurko__ has quit [Ping timeout: 248 seconds]
kurko_ has joined #ruby-lang
<r0bglees0n> hi rindolf
<r0bglees0n> welcome back
<r0bglees0n> still perl'ing?
<rindolf> r0bglees0n: hi, thanks.
<rindolf> r0bglees0n: yes, to a large extent.
<r0bglees0n> cool :)
<rindolf> r0bglees0n: I returned from a Ruby Underground (Tel Aviv) meetup.
zlogan has joined #ruby-lang
<r0bglees0n> hehe cool, nice name
<rindolf> r0bglees0n: there was a talk about Don't-repeating-yourself of controllers and views.
<rindolf> r0bglees0n: which mentioned many technologies and concepts that I wasn't familiar with.
enebo has joined #ruby-lang
<r0bglees0n> sure
Cakey has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
mrevd has joined #ruby-lang
pabloh has quit [Quit: Saliendo]
zlogan has quit [Ping timeout: 265 seconds]
skade has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
lfox has joined #ruby-lang
centrx has joined #ruby-lang
hahuang65 has joined #ruby-lang
<rindolf> r0bglees0n: what's up with you?
<r0bglees0n> not a lot, just writing working on some (ruby) code.
<r0bglees0n> i haven't written perl since i was 15(im 28)
<r0bglees0n> im out of touch :))
<certainty> it's still linenoise
* certainty hides
arooni-mobile has joined #ruby-lang
tylersmith has joined #ruby-lang
yfeldblum has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
jtw has quit []
achru has quit [Remote host closed the connection]
achru has joined #ruby-lang
tonni has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
achru has quit [Ping timeout: 248 seconds]
ecnalyr has joined #ruby-lang
Voker57 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
arBmind has quit [Quit: Leaving.]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
iliketurtles has joined #ruby-lang
anulman has quit [Quit: Leaving.]
tbuehlmann has joined #ruby-lang
cored has quit [Read error: Operation timed out]
CJD14 has joined #ruby-lang
heftig has joined #ruby-lang
MichD is now known as michd
atmosx has joined #ruby-lang
serroft has joined #ruby-lang
anulman has joined #ruby-lang
jonahR has joined #ruby-lang
DouweM has joined #ruby-lang
blaz3rz has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 245 seconds]
<yorickpeterse> bah, Nokogiri::XML::Reader apparently can't handle HTML5
robmiller has quit [Quit: robmiller]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Pupeno_w has quit [Ping timeout: 260 seconds]
jtw has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
Lewix has joined #ruby-lang
<darix> yorickpeterse: html5 doesnt have to be valid xml
<darix> it is just valid SGML
<darix> minor nuance
Lewix has quit [Remote host closed the connection]
blaz3rz has joined #ruby-lang
<yorickpeterse> hmpf
<yorickpeterse> that means I probably have to write a custom reader API but for HTML as well
<yorickpeterse> yay
arBmind has joined #ruby-lang
<apeiros> yorickpeterse: how many hours per week are you actually working?
<centrx> Are you his boss
digs has joined #ruby-lang
digs is now known as Guest51553
<tbuehlmann> well, I read him swearing at least once in the morning and evening (my timezone)
ec has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 272 seconds]
anulman has quit [Quit: Leaving.]
moneydouble has joined #ruby-lang
<darix> tbuehlmann: you miss the cursing inbetween?
<tbuehlmann> looks like it
kurko_ has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
kurko_ has joined #ruby-lang
<yorickpeterse> apeiros: 43
<yorickpeterse> apeiros: take into account that IRC is a keyboard shortcut away so it's rather easy to swap over
<yorickpeterse> it also happens to run in the same client that I use for $WORK chat
DevDoo has joined #ruby-lang
<yorickpeterse> actually no, I work for than that
<yorickpeterse> probably closed to 48 hours a week
CJD14 has quit [Quit: WeeChat 0.4.2]
<yorickpeterse> and yes, I actually work most of that time
elia has joined #ruby-lang
<MrZYX> probably just press enter less often and people won't notice ;)
<ljarvis> 43 hours just on irc you mean
<yorickpeterse> ljarvis: there's a difference?
<ljarvis> :D
VTLob has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
skade has joined #ruby-lang
moneydouble has joined #ruby-lang
tuttinator has joined #ruby-lang
<apeiros> yorickpeterse: it just seemed to me you worked more something around 80h/w :)
<yorickpeterse> oh, it's not that much
<yorickpeterse> though the past few weeks it's been pretty close to probably 50
DevDoo has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
jonahR has quit [Quit: jonahR]
vlad_starkov has quit [Ping timeout: 264 seconds]
patriciomacadden has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DevDoo has joined #ruby-lang
mehlah has joined #ruby-lang
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CJD14 has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
|jemc| has quit [Read error: Operation timed out]
jtw has quit []
skade has quit [Quit: Computer has gone to sleep.]
jeff_r has joined #ruby-lang
mbj has joined #ruby-lang
jtw has joined #ruby-lang
specialblend has joined #ruby-lang
jonahR has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
__butch__ has quit [Quit: Leaving.]
__butch__ has joined #ruby-lang
benanne has joined #ruby-lang
kalelsage has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
<yorickpeterse> yay, tonight I have to patch up my cat
<yorickpeterse> *again*
<yorickpeterse> fucking wound is expanding, taking him to the vet tomorrow too
<yorickpeterse> (yes this is relevant)
<centrx> Did you use a closure?
dannysmith has quit [Ping timeout: 260 seconds]
kalelsage has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
elia has quit [Quit: Computer has gone to sleep.]
chouhoulis has quit [Remote host closed the connection]
blaz3rz has quit [Remote host closed the connection]
blaz3rz has joined #ruby-lang
amcoder_ has quit [Quit: ZZZzzz…]
anulman has joined #ruby-lang
amcoder has joined #ruby-lang
<_tockitj> yorickpeterse, monkey patch is not holding ? :(
<_tockitj> need to refine those methods
<centrx> Upgrade to a chimpanzee patch
<_tockitj> that cat probably has good inheritance
phansch_ has joined #ruby-lang
toretore has quit [Quit: Leaving]
arooni-mobile has joined #ruby-lang
charliesome has joined #ruby-lang
elia has joined #ruby-lang
elliotec has joined #ruby-lang
iliketurtles has joined #ruby-lang
phansch has quit [Ping timeout: 272 seconds]
iliketurtles has quit [Remote host closed the connection]
patriciomacadden has joined #ruby-lang
tuttinator has left #ruby-lang ["Linkinus - http://linkinus.com"]
simoz16 has joined #ruby-lang
dik_dak has joined #ruby-lang
mistym has quit [Quit: Leaving...]
phansch_ is now known as phansch
CJD14 has quit [Quit: WeeChat 0.4.2]
CJD14 has joined #ruby-lang
mistym has joined #ruby-lang
matp_ has joined #ruby-lang
matp_ has quit [Client Quit]
matp_ has joined #ruby-lang
matp has quit [Ping timeout: 252 seconds]
specialblend has quit [Quit: specialblend]
specialblend has joined #ruby-lang
specialblend has quit [Client Quit]
matp_ is now known as matp
x0f has quit [Read error: Operation timed out]
yalue has quit [Quit: Leaving]
Squarepy has quit [Quit: Leaving]
lfox has quit [Ping timeout: 265 seconds]
jvrmaia has quit []
<yorickpeterse> sharr harr
<yorickpeterse> minus the s
x0f has joined #ruby-lang
atmosx has quit [Quit: computer went to sleep...]
atmosx has joined #ruby-lang
<apeiros> but sharr does have a certain ring to it
Asher has quit [Quit: Leaving.]
skade has joined #ruby-lang
ratmav has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kurko_ has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby-lang
ratmav has quit [Client Quit]
charliesome has quit [Client Quit]
miqui has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
brettweavnet has quit [Quit: Bye]
Asher has joined #ruby-lang
brettweavnet has joined #ruby-lang
iliketurtles has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
iliketurtles has quit [Excess Flood]
postmodern has joined #ruby-lang
chouhoulis has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.2]
rindolf has quit [Quit: Leaving]
bantic has quit [Quit: bantic]
lsegal has joined #ruby-lang
chouhoulis has quit [Ping timeout: 272 seconds]
DevDoo has joined #ruby-lang
patriciomacadden has quit [Ping timeout: 252 seconds]
rob_ has left #ruby-lang [#ruby-lang]
|jemc| has joined #ruby-lang
patriciomacadden has joined #ruby-lang
Guest51553 has quit [Quit: Leaving...]
jtw has quit []
jsullivandigs has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
elliotec has joined #ruby-lang
smashwilson has quit [Quit: Leaving]
woollyams has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
phansch has quit [Quit: Leaving]
alekst has quit [Quit: Computer has gone to sleep.]
brettweavnet has quit [Quit: Bye]
relix has joined #ruby-lang
rindolf has joined #ruby-lang
brettweavnet has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
fbernier has quit [Read error: Connection reset by peer]
amcoder has quit [Quit: ZZZzzz…]
kurko_ has joined #ruby-lang
DevDoo has joined #ruby-lang
EngierkO has quit [Ping timeout: 252 seconds]
DevDoo has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
amcoder has joined #ruby-lang
DevDoo has joined #ruby-lang
blaz3rz has quit [Remote host closed the connection]
amcoder has quit [Client Quit]
amcoder has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
symm- has joined #ruby-lang
amcoder has quit [Client Quit]
jeff_r has quit [Remote host closed the connection]
DevDoo has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
deception has quit [Quit: Goodbye]
saarinen has quit [Quit: saarinen]
simoz17 has joined #ruby-lang
sent-hil has joined #ruby-lang
Authenticator has quit [Ping timeout: 272 seconds]
jeff_r has joined #ruby-lang
Authenticator has joined #ruby-lang
simoz16 has quit [Ping timeout: 245 seconds]
bantic has joined #ruby-lang
flip_digits has quit []
simoz15 has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
simoz17 has quit [Ping timeout: 252 seconds]
anulman has quit [Quit: Leaving.]
CJD14 has quit [Quit: WeeChat 0.4.2]
CJD14 has joined #ruby-lang
mykoweb has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
r0bglees0n has quit [Quit: 1sheep,2sheep,3sheep,zzz]
woollyams has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
sent-hil has left #ruby-lang [#ruby-lang]
elliotec has joined #ruby-lang
enebo has quit [Quit: enebo]
enkristoffer has quit [Quit: ❤]
mrevd has quit [Quit: Leaving.]
ecnalyr has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
blaz3rz has joined #ruby-lang
elliotec has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
blaz3rz has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
enebo has joined #ruby-lang
MrZYX is now known as MrZYX|off
mykoweb has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
benanne has quit [Quit: kbai]
seanlinsley has quit [Quit: …]
jeff_r has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
moneydouble has quit [Quit: Leaving.]
mucker has quit [Remote host closed the connection]
rindolf has quit [Quit: Leaving]
Cakey has quit [Ping timeout: 248 seconds]
kurko_ has joined #ruby-lang
woollyams has joined #ruby-lang
moneydouble has joined #ruby-lang
Cakey has joined #ruby-lang
shinnya has joined #ruby-lang
brownies_ has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
Cakey has quit [Ping timeout: 240 seconds]
brettweavnet has quit [Quit: Bye]
brownies has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
nigerianceo has quit []
woollyams has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
woollyams has joined #ruby-lang
jtw has joined #ruby-lang
patricio_ has joined #ruby-lang
sluukkonen1 has joined #ruby-lang
vadviktor_ has joined #ruby-lang
lucas_ has joined #ruby-lang
error404_ has joined #ruby-lang
saarinen has joined #ruby-lang
amateurhuman_ has joined #ruby-lang
patriciomacadden has quit [Ping timeout: 272 seconds]
sluukkonen has quit [Ping timeout: 272 seconds]
jeer has quit [Ping timeout: 272 seconds]
error404 has quit [Ping timeout: 272 seconds]
dabradley has quit [Ping timeout: 272 seconds]
lucas has quit [Ping timeout: 272 seconds]
samuelkadolph has quit [Ping timeout: 272 seconds]
vadviktor has quit [Ping timeout: 272 seconds]
amateurhuman has quit [Ping timeout: 272 seconds]
amateurhuman_ is now known as amateurhuman
ec has quit [Ping timeout: 272 seconds]
linc01n has quit [Ping timeout: 272 seconds]
samuelkadolph_ has joined #ruby-lang
samuelkadolph_ is now known as samuelkadolph
simoz16 has joined #ruby-lang
serroft has quit [Quit: Leaving.]
davidae has quit [Remote host closed the connection]
ec has joined #ruby-lang
davidae has joined #ruby-lang
VTLob has quit [Ping timeout: 272 seconds]
VTLob has joined #ruby-lang
linc01n has joined #ruby-lang
dabradley has joined #ruby-lang
simoz17 has joined #ruby-lang
simoz15 has quit [Ping timeout: 252 seconds]
simoz16 has quit [Ping timeout: 248 seconds]
kitak has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
woollyams has quit [Ping timeout: 252 seconds]
jsrn has quit [Quit: Leaving]
seanlinsley has joined #ruby-lang