apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
elia has quit [Quit: Computer has gone to sleep.]
realDAB has quit [Quit: realDAB]
nathanstitt has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
intellitech has joined #ruby-lang
mbj has joined #ruby-lang
mdedetrich has joined #ruby-lang
joshuawscott has joined #ruby-lang
fenicks has quit [Remote host closed the connection]
gregmoreno has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
daihuws has quit [Quit: Leaving]
duphus has joined #ruby-lang
gregmoreno has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
mistym has quit [Remote host closed the connection]
hashkey has quit [Quit: Leaving]
nathanstitt has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
saarinen has quit [Quit: saarinen]
duphus has left #ruby-lang [#ruby-lang]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
flip_digits has joined #ruby-lang
enebo has joined #ruby-lang
mootpointer has joined #ruby-lang
flip_digits has quit [Ping timeout: 245 seconds]
<zenspider> _tockitj: no clue. never heard of mina
hogeo has joined #ruby-lang
setmeaway has joined #ruby-lang
lcdhoffman has joined #ruby-lang
hahuang65 has quit [Quit: Reconnecting]
hahuang65 has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
tkuchiki has joined #ruby-lang
thepumpk_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
thepumpkin has quit [Ping timeout: 264 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
killthe|afk is now known as killtheliterate
retro|cz has joined #ruby-lang
enebo has quit [Quit: enebo]
mdedetrich has quit [Quit: Computer has gone to sleep.]
flip_digits has joined #ruby-lang
thepumpkin has joined #ruby-lang
thepumpk_ has quit [Ping timeout: 256 seconds]
ZOGM_ has joined #ruby-lang
charliesome has joined #ruby-lang
ZOGM has quit [Ping timeout: 248 seconds]
thepumpk_ has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
thepumpkin has quit [Ping timeout: 246 seconds]
benanne has quit [Quit: kbai]
flip_digits has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
malev has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
towski has quit [Remote host closed the connection]
torrieri has quit [Quit: Leaving...]
Nisstyre-laptop has joined #ruby-lang
mdedetrich has joined #ruby-lang
Nisstyre-laptop is now known as nisstyre
toretore has quit [Quit: Leaving]
heftig has quit [Ping timeout: 264 seconds]
_jpb__ has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
Domon has joined #ruby-lang
_jpb__ has quit [Client Quit]
tylersmith has joined #ruby-lang
fosky has joined #ruby-lang
tylersmith has quit [Ping timeout: 248 seconds]
ale______ has joined #ruby-lang
Cakey has joined #ruby-lang
ilyam has quit [Quit: ilyam]
cored has quit [Ping timeout: 264 seconds]
glebm has joined #ruby-lang
grumpwork has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Client Quit]
ZOGM_ has quit [Remote host closed the connection]
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
mbj has quit [Quit: leaving]
_jpb_ has quit [Ping timeout: 240 seconds]
sstrickl has quit [Client Quit]
_jpb_ has joined #ruby-lang
ZOGM has joined #ruby-lang
nathanstitt has joined #ruby-lang
jonahR has joined #ruby-lang
ilyam has joined #ruby-lang
bzalasky has joined #ruby-lang
gregmoreno has joined #ruby-lang
gregmoreno has quit [Ping timeout: 245 seconds]
ZOGM_ has joined #ruby-lang
GeissT has joined #ruby-lang
ZOGM has quit [Ping timeout: 245 seconds]
peeyek has joined #ruby-lang
intellitech has quit [Quit: intellitech]
towski has joined #ruby-lang
rickruby has joined #ruby-lang
towski has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
fess has joined #ruby-lang
mbr_ has joined #ruby-lang
mbr has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 256 seconds]
jmeeuwen_ has joined #ruby-lang
jmeeuwen has quit [Read error: Connection reset by peer]
jmeeuwen_ is now known as jmeeuwen
northelks has quit [Ping timeout: 256 seconds]
mdedetrich has joined #ruby-lang
io_syl has quit [Ping timeout: 245 seconds]
hashkey has joined #ruby-lang
inomataj has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
cd has joined #ruby-lang
cd is now known as Guest24351
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
ZOGM_ has quit [Read error: Connection timed out]
braidn has quit [Ping timeout: 256 seconds]
anonymuse has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
braidn has joined #ruby-lang
mbull9 has joined #ruby-lang
Guest24351 has quit [Quit: This computer has gone to sleep]
inomataj has quit [Remote host closed the connection]
slightair has left #ruby-lang [#ruby-lang]
ZOGM has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
thepumpkin has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
henrikhodne has joined #ruby-lang
thepumpk_ has quit [Ping timeout: 248 seconds]
zomgbie has quit [Ping timeout: 240 seconds]
ZOGM has quit [Ping timeout: 246 seconds]
_jpb_ has quit [Ping timeout: 240 seconds]
mootpointer has quit [Quit: Computer has gone to sleep.]
_jpb_ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
RickHull has joined #ruby-lang
<postmodern> would anyone know a reliable way to determine the correct file-extension for a Content-Type?
<postmodern> MIME::Types is failing me
io_syl has joined #ruby-lang
<matti> I think there is a ffi binding to libmime thing.
<matti> But this is kinda annoying problem to have.
hahuang65 has joined #ruby-lang
sush24_ has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
<postmodern> ugh MIME::Types is just horrible
towski has joined #ruby-lang
<matti> postmodern: Try this: https://github.com/manveru/ffi-magic
towski has quit [Remote host closed the connection]
<matti> postmodern: Mind you, since DOS 6/7 is gone, a file extension is kind of a funny concept - at least on most *nix it is ;d
anonymuse has quit [Ping timeout: 256 seconds]
<postmodern> matthewd, trying to fork mime-types
<postmodern> staph tab completion
<postmodern> for some reason the author put all the data files in lib :(
<matti> Have a look on this ffi.
<postmodern> matti, already tested it, returns "ASCII text, with very long lines" for packed CSS
dhruvasagar has quit [Ping timeout: 276 seconds]
<matti> Hm.
thepumpk_ has joined #ruby-lang
Sirupsen has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
thepumpkin has quit [Ping timeout: 264 seconds]
Xzyx987X has quit [Ping timeout: 246 seconds]
zomgbie has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
Guest96067 has joined #ruby-lang
zomgbie has quit [Ping timeout: 240 seconds]
Senjai has joined #ruby-lang
glebm has quit [Ping timeout: 264 seconds]
woollyams has quit [Ping timeout: 252 seconds]
mbull9 has quit [Remote host closed the connection]
flip_digits has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 245 seconds]
_jpb_ has joined #ruby-lang
setmeaway has quit [Read error: Connection reset by peer]
setmeaway has joined #ruby-lang
mootpointer has joined #ruby-lang
setmeaway has quit [Read error: Connection reset by peer]
setmeaway has joined #ruby-lang
killtheliterate is now known as killthe|afk
havenwood has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 246 seconds]
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
Guest96067 has quit []
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
saarinen has joined #ruby-lang
clov3r has quit [Read error: Connection reset by peer]
mbull9 has joined #ruby-lang
Xzyx987X has joined #ruby-lang
flip_digits has joined #ruby-lang
netShadow has quit [Quit: netShadow]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
Domon has quit [Remote host closed the connection]
ale______ has left #ruby-lang [#ruby-lang]
zomgbie has joined #ruby-lang
_jpb_ has quit [Remote host closed the connection]
mbull9 has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
zomgbie has quit [Ping timeout: 246 seconds]
enebo has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
_jpb_ has joined #ruby-lang
enebo has quit [Client Quit]
torrieri has joined #ruby-lang
phracker has quit [Excess Flood]
Cakey has quit [Ping timeout: 276 seconds]
intellitech has joined #ruby-lang
beerdy has quit [Remote host closed the connection]
mootpointer has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Quit: Reconnecting]
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
lutfidemirci has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
peeyek has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
phracker has joined #ruby-lang
hahuang65 has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
torrieri has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
atmosx has joined #ruby-lang
Cakey has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
torrieri has joined #ruby-lang
jonahR has quit [Quit: jonahR]
lele has joined #ruby-lang
ffio has joined #ruby-lang
kilofu has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
Domon has joined #ruby-lang
jsullivandigs has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
lutfidemirci has joined #ruby-lang
kilofu has quit [Client Quit]
vlad_starkov has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
zomgbie has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 256 seconds]
digs has joined #ruby-lang
digs is now known as Guest19344
mbull9 has joined #ruby-lang
_jpb_ has joined #ruby-lang
zomgbie has quit [Ping timeout: 246 seconds]
mbull9 has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
scottschecter has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby-lang
Spaceghost|work has joined #ruby-lang
vlad_starkov has joined #ruby-lang
io_syl has quit [Quit: io_syl]
tkuchiki has quit [Read error: Connection reset by peer]
grumpwork has quit [Read error: Connection reset by peer]
beawesomeinstead has quit [Ping timeout: 276 seconds]
Glass_saga has quit [Ping timeout: 276 seconds]
glebm has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
kilofu has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
<_tockitj> zenspider, http://nadarei.co/mina/ seems incredibly similar to vlad
<_tockitj> rake integration, syntax, how it works
joshuawscott has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
kilofu is now known as kilofu_
GeissT_ has joined #ruby-lang
GeissT_ has quit [Client Quit]
sush24_ has quit [Ping timeout: 245 seconds]
sush24_ has joined #ruby-lang
kilofu_ has quit [Quit: leaving]
Cremno has joined #ruby-lang
GeissT has quit [Ping timeout: 245 seconds]
sush24_ has quit [Ping timeout: 246 seconds]
Cakey has quit [Ping timeout: 256 seconds]
arooni-mobile has joined #ruby-lang
kilofu has joined #ruby-lang
tkuchiki_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
cd has joined #ruby-lang
cd is now known as Guest44423
hahuang65 has joined #ruby-lang
kilofu has quit [Client Quit]
saarinen has quit [Quit: saarinen]
torrieri has quit [Quit: Leaving...]
zomgbie has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
hahuang65 has quit [Ping timeout: 256 seconds]
JohnBat26 has joined #ruby-lang
mytrile has joined #ruby-lang
zomgbie has quit [Ping timeout: 268 seconds]
Cakey has joined #ruby-lang
duphus has joined #ruby-lang
kilofu has joined #ruby-lang
Domon has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
workmad3 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
Guest44423 has quit [Read error: Connection reset by peer]
dvk has quit [Remote host closed the connection]
Guest44423 has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
JohnBat26 has quit [Remote host closed the connection]
kilofu has quit [Quit: leaving]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
kilofu has joined #ruby-lang
thepumpkin has joined #ruby-lang
kilofu has quit [Client Quit]
solars has joined #ruby-lang
thepumpk_ has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 256 seconds]
heftig has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Domon has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
apeiros has joined #ruby-lang
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
mbj has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
bondar has joined #ruby-lang
_jpb_ has quit [Ping timeout: 276 seconds]
bondar has quit [Excess Flood]
_jpb_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
mdedetrich has joined #ruby-lang
hahuang65 has joined #ruby-lang
zomgbie has joined #ruby-lang
Domon has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
mdedetrich has quit [Client Quit]
diegoviola has joined #ruby-lang
judofyr has joined #ruby-lang
mdedetrich has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
Guest44423 has quit [Ping timeout: 264 seconds]
<judofyr> heya
kristofferrr has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
zomgbie has quit [Ping timeout: 245 seconds]
_jpb_ has joined #ruby-lang
fosky has quit [Ping timeout: 245 seconds]
JohnBat26 has joined #ruby-lang
cd has joined #ruby-lang
mdedetrich has quit [Ping timeout: 264 seconds]
cd is now known as Guest80642
elia has joined #ruby-lang
<ryanf> hi judofyr
<judofyr> hi ryanf
_jpb_ has quit [Ping timeout: 264 seconds]
<ryanf> get any interesting responses to your blog post yet?
<ryanf> tbh I often feel like you're the sole voice of reason in my twitter feed :)
beawesomeinstead has joined #ruby-lang
_jpb_ has joined #ruby-lang
<injekt> morning
<judofyr> ryanf: not yet. America isn't awake yet ;)
<judofyr> ryanf: thanks for the kind words :)
<judofyr> it's good to hear
<judofyr> I thought I might publish it to Hacker News later
ffio has joined #ruby-lang
<injekt> What blog post is this?
<injekt> <3 that domain
joonty has quit [Quit: WeeChat 0.4.1]
<judofyr> forgot to eat yesterday, so I couldn't sleep tonight, so I ended up writing that turns
<judofyr> s/turns//
<injekt> damn I didnt make the list
<judofyr> …
Guest80642 has quit [Ping timeout: 256 seconds]
minivan has joined #ruby-lang
Guest80642 has joined #ruby-lang
<injekt> judofyr: good write up, I like the format of the blog too
<judofyr> injekt: thanks
<judofyr> injekt: I do enjoy writing in the format as well
<injekt> :)
mytrile has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
lutfidemirci has joined #ruby-lang
<ryanf> it's interesting how that is (afaict) the exact opposite of the timeless repository idea
mytrile has quit [Remote host closed the connection]
<judofyr> yes
lutfidemirci has quit [Remote host closed the connection]
<ryanf> is there a feed?
<judofyr> not yet
<judofyr> not sure when, or if, there will be one
<yorickpeterse> morning
<judofyr> morning yorickpeterse
ilyam has quit [Quit: ilyam]
ffio has quit [Quit: WeeChat 0.4.1]
<ryanf> it would be nice. I guess you're probably using some kind of static generator you wrote yourself though?
<ryanf> oh, guess not
<ryanf> sinatra?
<judofyr> nah, custom framework
<judofyr> but yeah: dynamic
<judofyr> and Heroku
<judofyr> not sure how it's going to perform
<ryanf> interesting
<ryanf> why not static? do you have an interface for editing posts too?
<ryanf> *writing
<judofyr> easier this way
<yorickpeterse> Y U NO STATIC
<ryanf> yeah, fair enough
<judofyr> I always find static generation to be a hassle
_jpb_ has quit [Remote host closed the connection]
towski has joined #ruby-lang
_jpb_ has joined #ruby-lang
Guest80642 has quit [Ping timeout: 240 seconds]
towski has quit [Remote host closed the connection]
ilyam has joined #ruby-lang
Guest80642 has joined #ruby-lang
riotbit has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
riotbit_ has joined #ruby-lang
riotbit_ has quit [Client Quit]
riotbit has quit [Client Quit]
_jpb_ has quit [Ping timeout: 246 seconds]
grumpwork has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
abstr4ct has joined #ruby-lang
marr has joined #ruby-lang
lutfidemirci has joined #ruby-lang
_jpb_ has joined #ruby-lang
joeroot has joined #ruby-lang
bougyman_ has joined #ruby-lang
hinbody_ has joined #ruby-lang
joschi_ has joined #ruby-lang
ammar__ has joined #ruby-lang
oddmunds1 has joined #ruby-lang
ohsix_ has joined #ruby-lang
bougyman has quit [Ping timeout: 240 seconds]
oddmunds has quit [Ping timeout: 240 seconds]
threedaymonk has quit [Ping timeout: 240 seconds]
ammar_ has quit [Ping timeout: 240 seconds]
PantsMeh has quit [Ping timeout: 240 seconds]
Spaceghost|work has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
shaman42_ has quit [Ping timeout: 240 seconds]
hinbody has quit [Ping timeout: 240 seconds]
hagabaka has quit [Ping timeout: 240 seconds]
FlyingLeap has quit [Ping timeout: 240 seconds]
joschi has quit [Ping timeout: 240 seconds]
ohsix has quit [Ping timeout: 240 seconds]
threedaymonk has joined #ruby-lang
FlyingLeap has joined #ruby-lang
lutfidemirci has quit [Write error: Broken pipe]
shaman42 has joined #ruby-lang
hagabaka has joined #ruby-lang
yfeldblum has joined #ruby-lang
riotbit has joined #ruby-lang
Domon has joined #ruby-lang
riotbit has quit [Client Quit]
<andrewvos> I am basically a Go convert now
<andrewvos> Shit is amazing
riotbit has joined #ruby-lang
<andrewvos> Want to deploy an app? Cross compile, scp binary.
<andrewvos> No bundle install bullshit
riotbit has quit [Client Quit]
hahuang65 has joined #ruby-lang
riotbit has joined #ruby-lang
mdedetrich has joined #ruby-lang
mdedetrich has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
<_tockitj> hello binary dependencies (:
<_tockitj> i <3 `bundle install`
Guest19344 has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
Guest80642 has quit [Ping timeout: 276 seconds]
Guest80642 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 276 seconds]
jsullivandigs has quit [Ping timeout: 264 seconds]
<andrewvos> _tockitj: It compiles everything needed into the binary
<yorickpeterse> andrewvos: welcome to deploying anything compiled for the last 20 years :>
<yorickpeterse> whitequark: Y U NO HURRY UP WITH FOUNDRY
<andrewvos> yorickpeterse: Yeah I know I know shutup
diegoviola has joined #ruby-lang
TvL2386 has joined #ruby-lang
_jpb_ has quit [Ping timeout: 245 seconds]
<TvL2386> hi guys, when matching and capturing regex like "if '123' =~ /(\d+)/", is it possible to cast it to Fixnum immediately? Or is to the only solution doing $1.to_i afterwards?
_jpb_ has joined #ruby-lang
<yorickpeterse> TvL2386: pretty sure you have to do it manually
<TvL2386> yorickpeterse, that's what I thought :)
<TvL2386> thx!
thepumpk_ has joined #ruby-lang
lutfidemirci has joined #ruby-lang
thepumpkin has quit [Ping timeout: 248 seconds]
stamina has joined #ruby-lang
oddmunds1 has left #ruby-lang [#ruby-lang]
oddmunds has joined #ruby-lang
atmosx has quit [Quit: And so the story goes…]
skade has joined #ruby-lang
henrikhodne has quit [Ping timeout: 268 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
amerine has joined #ruby-lang
tonni has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
ilyam has quit [Quit: ilyam]
_jpb_ has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
<yorickpeterse> So I won't say this often but ActiveModel::Serializer is pretty decent
Cakey has quit [Ping timeout: 248 seconds]
flip_digits has quit [Ping timeout: 264 seconds]
_jpb_ has quit [Ping timeout: 240 seconds]
<apeiros> yorickpeterse: well, tenderlove
zomgbie has joined #ruby-lang
<apeiros> despite being a crazy guy, his code is rather sane
_jpb_ has joined #ruby-lang
<yorickpeterse> yah, I have nothing but good things to say about tenderlove
<yorickpeterse> except his nickname can be at times a bit unsetteling
zomgbie has quit [Read error: Connection reset by peer]
<yorickpeterse> * unsettling
<andrewvos> The cat thing gets a bit old. But that's just American Ruby developers I guess
postmodern has quit [Quit: Leaving]
<yorickpeterse> hey I have a cat thing too, it's pretty common amongst devs I think
zmike123 has joined #ruby-lang
ohsix_ is now known as ohsix
faces has joined #ruby-lang
face has quit [Ping timeout: 256 seconds]
joschi_ is now known as joschi
_jpb_ has quit [Ping timeout: 264 seconds]
ledestin has quit [Quit: ledestin]
flip_digits has joined #ruby-lang
<yorickpeterse> injekt: ping
_jpb_ has joined #ruby-lang
flip_digits has quit [Ping timeout: 246 seconds]
tonni has quit [Remote host closed the connection]
digininja has joined #ruby-lang
<digininja> Looking for good gems to interact with Flickr and Instagram, can anyone recommend any?
rolfb has joined #ruby-lang
zomgbie has joined #ruby-lang
zomgbie has quit [Read error: Connection reset by peer]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
diegoviola has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby-lang
benanne has joined #ruby-lang
Cakey has joined #ruby-lang
thepumpk_ has quit [Remote host closed the connection]
<whitequark> > "a\r\n".chomp("\n")
<whitequark> => "a"
<whitequark> now why the fuck are you doing this
<yorickpeterse> >> "a\r\n".chomp("\n")
<eval-in> yorickpeterse => "a" (https://eval.in/38742)
<yorickpeterse> heh
<yorickpeterse> haha wtf
<yorickpeterse> the way String#chomp works is fun
zomgbie has joined #ruby-lang
joeroot has quit [Read error: Connection reset by peer]
joeroot has joined #ruby-lang
<chris2> >> "a\r\n".chomp "\r"
<eval-in> chris2 => "a\r\n" (https://eval.in/38743)
<chris2> hmhm
<chris2> looks broken
<ddfreyne> Date.parse '11__:11/::::::$*@:::11@!!@@@@@@@@11++++#++_12 1'
<ddfreyne> > Date.parse '11__:11/::::::$*@:::11@@@@@@@@@11++++#++_12 1'
<ddfreyne> >> Date.parse '11__:11/::::::$*@:::11@@@@@@@@@11++++#++_12 1'
<eval-in> ddfreyne => undefined method `parse' for Date:Class (NoMethodError) ... (https://eval.in/38744)
<ddfreyne> There's plenty of broken things in Ruby ;)
<ddfreyne> Ah gah. Whatever.
<whitequark> >> require 'date'; Date.parse '11__:11/::::::$*@:::11@@@@@@@@@11++++#++_12 1'
<eval-in> whitequark => #<Date: 2013-07-11 ((2456485j,0s,0n),+0s,2299161j)> (https://eval.in/38745)
<yorickpeterse> wat
<ddfreyne> Yes.
<yorickpeterse> wow
<yorickpeterse> chomp_bang is huge
<ddfreyne> >> '33_32_4_blah'.to_i
<eval-in> ddfreyne => 33324 (https://eval.in/38746)
<yorickpeterse> http://rxr.whitequark.org/mri/source/string.c#6744 LOOK AT THIS BITCH
<yorickpeterse> LOOK AT TI
<yorickpeterse> * it
<yorickpeterse> haha, I also think I found out where it removes the \r
<whitequark> ddfreyne: that's expected
<whitequark> >> "foobar".to_i
<eval-in> whitequark => 0 (https://eval.in/38747)
<ddfreyne> whitequark: Not expected to everyone, I guess
<whitequark> ddfreyne: this is why you have documentation
<whitequark> all String#to_* functions behave in the same way--that's what is important
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
Domon has quit [Remote host closed the connection]
<whitequark> huh, like half of my parser failures are from a project called 'rubylexer'
<whitequark> guess they have a better testsuite than I do
Domon has joined #ruby-lang
Guest80642 has quit [Quit: This computer has gone to sleep]
dhruvasagar has quit [Ping timeout: 256 seconds]
mytrile has joined #ruby-lang
dhruvasagar has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
zomgbie has quit [Read error: Connection reset by peer]
_jpb_ has joined #ruby-lang
ecnalyr has joined #ruby-lang
cd has joined #ruby-lang
cd is now known as Guest65308
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
Domon has quit [Remote host closed the connection]
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
mdedetrich has joined #ruby-lang
joeroot has quit [Quit: Linkinus - http://linkinus.com]
dhruvasagar has quit [Ping timeout: 268 seconds]
dhruvasagar has joined #ruby-lang
diegoviola has joined #ruby-lang
benlovell has quit [Ping timeout: 268 seconds]
MaddinXx_ has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
mdedetrich has quit [Ping timeout: 264 seconds]
Cakey has quit [Quit: Lost terminal]
realDAB has joined #ruby-lang
zomgbie has joined #ruby-lang
zomgbie has quit [Client Quit]
braidn has quit [Remote host closed the connection]
braidn has joined #ruby-lang
vadviktor_ has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
rshetty has joined #ruby-lang
mdedetrich has quit [Client Quit]
mdedetrich has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
stamina has quit [Ping timeout: 240 seconds]
imperator2 has joined #ruby-lang
jvrmaia has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
mdedetrich has quit [Ping timeout: 240 seconds]
mytrile has quit [Remote host closed the connection]
RickHull has quit [Quit: Leaving.]
ZOGM has joined #ruby-lang
ZOGM_ has joined #ruby-lang
mdedetrich has joined #ruby-lang
ZOGM has quit [Ping timeout: 246 seconds]
cored has joined #ruby-lang
Guest65308 has quit [Quit: This computer has gone to sleep]
tonni has joined #ruby-lang
benlovell has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
ldnunes has joined #ruby-lang
jvrmaia_ has joined #ruby-lang
jvrmaia_ has quit [Remote host closed the connection]
jxweng has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
realDAB has quit [Quit: realDAB]
flip_digits has joined #ruby-lang
mdedetrich has joined #ruby-lang
Senjai has quit [Ping timeout: 264 seconds]
flip_digits has quit [Ping timeout: 245 seconds]
anonymuse has joined #ruby-lang
wallerdev has joined #ruby-lang
imperator2 has quit [Ping timeout: 240 seconds]
ffio has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
jxie has quit [Quit: leaving]
realDAB has joined #ruby-lang
ledestin has joined #ruby-lang
thepumpkin has joined #ruby-lang
cd has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
cd is now known as Guest46415
_jpb_ has joined #ruby-lang
Nilium has quit [Ping timeout: 246 seconds]
mytrile has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
enebo has joined #ruby-lang
scholar01 has joined #ruby-lang
scholar01 has joined #ruby-lang
Nilium has joined #ruby-lang
TvL2386 has quit [Remote host closed the connection]
enebo has quit [Client Quit]
flip_digits has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
ecnalyr has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 268 seconds]
riotbit has quit [Quit: riotbit]
flip_digits has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
realDAB has quit [Quit: realDAB]
ffio_ has joined #ruby-lang
fbernier_ has left #ruby-lang [#ruby-lang]
tkuchiki has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 268 seconds]
thepumpkin has joined #ruby-lang
ffio has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
<whitequark> hahaha yorickpeterse
<whitequark> I found an even better testcase for ya
<whitequark> Parsed 9 files (17469392 characters) in 435.06 seconds (40.154 kchars/s).
<yorickpeterse> 7 minutes, that's it?
<whitequark> yeah
<whitequark> on *my* machine
mdedetrich has quit [Quit: Computer has gone to sleep.]
scampbell has joined #ruby-lang
<yorickpeterse> I'm having doubts about that last one. I can't imagine an i7 doing it in 50 secs while an i5 needs at least 25 minutes
<whitequark> hm
<yorickpeterse> a few minutes more, maybe. Not 20
<whitequark> a 30x difference
<yorickpeterse> that makes me wonder though, my DO box only has one core. Then again parser is not multi-core anyway
<whitequark> I won't be surprised if some pathological interaction between ruby runtime and cache lines results in that
<whitequark> also is your OS 64-bit?
<yorickpeterse> Yes
<yorickpeterse> 32bit is for nubs
<whitequark> hmpf
<yorickpeterse> I tested it on Ruby 2.0, but I doubt that would make much of a difference
<yorickpeterse> if anything it should be faster
<whitequark> same here
wallerdev has joined #ruby-lang
fosky has joined #ruby-lang
diegoviola has joined #ruby-lang
fosky has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
alinajaf has joined #ruby-lang
alinajaf has left #ruby-lang [#ruby-lang]
realDAB has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
tonni has quit [Remote host closed the connection]
<whitequark> today's best ruby abuse: http://pastie.org/8170679
grumpwork has quit [Remote host closed the connection]
<judofyr> whitequark: that's amazing
<yorickpeterse> heh
<yorickpeterse> https://github.com/Peeja/for_each_row apparently
<whitequark> yes
grosscol has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
hashkey_ has joined #ruby-lang
retro|cz has quit [Ping timeout: 268 seconds]
hashkey_ has quit [Client Quit]
_jpb_ has joined #ruby-lang
Uranio has joined #ruby-lang
breakingthings has joined #ruby-lang
hashkey has quit [Ping timeout: 246 seconds]
<yorickpeterse> proposed workaround: LETS JUST CAST USER INPUT TO A NUMBER INSTEAD OF PROVIDING DECENT SANITASION METHODS
<yorickpeterse> what is this, PHP?
tkuchiki has joined #ruby-lang
<whitequark> sigh
<yorickpeterse> #sanitize uses single quotes which appears to fuck up ordering in MySQL
<yorickpeterse> Hm, maybe sanitize_sql works
ffio_ has quit [Ping timeout: 245 seconds]
hahuang65 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
<yorickpeterse> lol nope
yfeldblum has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
joshuawscott has joined #ruby-lang
scholar01 has quit [Quit: Leaving.]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 264 seconds]
rshetty has quit [Quit: Sleeping]
yfeldblum has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
<yorickpeterse> whitequark: I can beat your Ruby wat
<yorickpeterse> here, hold on
<yorickpeterse> whitequark: http://hastebin.com/raw/buqimugupi
jbsan has quit [Quit: jbsan]
<whitequark> no, that can be parsed by parser
<whitequark> if it's not a parser bug it's not a wat.
anonymuse has quit [Remote host closed the connection]
<yorickpeterse> No but as in a regular Ruby wat
wmoxam has joined #ruby-lang
davetoxa has joined #ruby-lang
<yorickpeterse> Did you try parsing those flip-flop things of <I forgot his name again>
<whitequark> huh?
<whitequark> mame?
<yorickpeterse> Yeah I think so
<yorickpeterse> sec
jbsan has joined #ruby-lang
<whitequark> haha. I'm already done with obscure bugs and very obscure bugs
flip_digits has joined #ruby-lang
<whitequark> now I'm on "so obscure it only happens once in entire rubygems corpus"
tomzx_mac has joined #ruby-lang
<yorickpeterse> heh damn it, it can parse mame's quine-relay
<yorickpeterse> then again most of that is an eval'd string
<whitequark> patch up eval to relay to parser
<yorickpeterse> lol
<whitequark> srsly
<whitequark> oh crap. this is going to be problematic.
yfeldblum has quit [Read error: Connection reset by peer]
<whitequark> minimal testcase: 'run (lambda do end)'
yfeldblum has joined #ruby-lang
glebm has joined #ruby-lang
<whitequark> I'm surprised this is only present in about 6 files on rubygems
flip_digits has quit [Ping timeout: 264 seconds]
<yorickpeterse> that's invalid in Ruby too
<whitequark> ... right
bgant has joined #ruby-lang
<yorickpeterse> >> run (lambda do end)
<eval-in> yorickpeterse => /tmp/execpad-14c8fee6c136/source-14c8fee6c136:2: syntax error, unexpected keyword_do_block, expecting ')' ... (https://eval.in/38781)
<whitequark> what the hell
<yorickpeterse> >> run (lambda do; end)
<eval-in> yorickpeterse => /tmp/execpad-892645df7a45/source-892645df7a45:2: syntax error, unexpected keyword_do_block, expecting ')' ... (https://eval.in/38782)
<yorickpeterse> ha wtf
<whitequark> remove the space before (
<whitequark> don't ask
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
<whitequark> >> run(lambda do env)
<eval-in> whitequark => /tmp/execpad-63615c584697/source-63615c584697:2: syntax error, unexpected ')', expecting keyword_end ... (https://eval.in/38783)
<whitequark> >> run(lambda do end)
<eval-in> whitequark => undefined method `run' for main:Object (NoMethodError) ... (https://eval.in/38784)
<yorickpeterse> eh
<yorickpeterse> wat
<whitequark> most importantly, DO NOT REPORT THIS AS A BUG
<yorickpeterse> Ruby: the Python in disguise
<whitequark> I have zero desire to fix this in a future parser version :D
<yorickpeterse> k, reporting bug
kstuart has joined #ruby-lang
<whitequark> to be serious you probably should
<yorickpeterse> done
<whitequark> oooh
<whitequark> 18>> run (lambda do; end)
<eval-in> whitequark => /tmp/execpad-674fc939ea86/source-674fc939ea86:2: warning: don't put space before argument parentheses ... (https://eval.in/38785)
* whitequark facedesks
<whitequark> also lol, someone wrote too much javascript: http://pastie.org/8170795
<yorickpeterse> I like how we just hijacked this entire IRC channel
kevinfagan_ is now known as kevinfagan
mbj has quit [Ping timeout: 256 seconds]
thepumpkin has joined #ruby-lang
* whitequark shrugs
<whitequark> yorickpeterse: no, you don't get it
<yorickpeterse> pretty sure erikh enjoys it too
* yorickpeterse runs
<whitequark> it's not a parser bug
<whitequark> it's a ruby bug
<yorickpeterse> right
<whitequark> why the hell did you report it on `parser'
<yorickpeterse> :<
hinbody_ has quit [Read error: Operation timed out]
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
eugenejen has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
realDAB has quit [Quit: realDAB]
<davetoxa> Hey, How I can define a FactoryGirl factory - poll_has_at_least_two_poll_options
<davetoxa> I have errors.add(:image, :poll_has_at_least_two_poll_options) if poll_options.size < 2
<davetoxa> And i got an ActiveRecord::RecordInvalid
<davetoxa> with this validation message
_elia has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
<yorickpeterse> define it as you normally do
<yorickpeterse> if it uses a different class you can specify that one using `:class => 'Foo'`
<davetoxa> after(:build){ |poll, e| 2.times{ build :poll_option, poll: poll } }
rickruby has quit [Remote host closed the connection]
<yorickpeterse> ?
<davetoxa> is this the right way ?
<yorickpeterse> eh no
<yorickpeterse> Something like `FactoryGirl.define(:poll_has_at_least_two_blabla, :class => '...')`
<davetoxa> Why i need to define 2 extra arguments to .define method ?
<yorickpeterse> Ask FactoryGirl's authors
<davetoxa> FactoryGirl.define have no arguments
riotbit has joined #ruby-lang
<yorickpeterse> Oh woops, I meant `factory`
cored has quit [Ping timeout: 246 seconds]
<davetoxa> Could you show all code, please ?
<davetoxa> I did not understand you
<davetoxa> How to cook this
rolfb has quit [Quit: Linkinus - http://linkinus.com]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
tdm00 has quit [Quit: Make like a banana and split!]
tdm00 has joined #ruby-lang
mytrile has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
jsullivandigs has joined #ruby-lang
havenwood has joined #ruby-lang
rwilcox has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rwilcox has joined #ruby-lang
rwilcox has quit [Client Quit]
stamina has joined #ruby-lang
TvL2386 has joined #ruby-lang
havenwood has quit [Ping timeout: 256 seconds]
intellitech has quit [Ping timeout: 264 seconds]
<TvL2386> hi guys, I remember using some tool to find out where ruby is spending it's time. I have code that runs for a long time and I want to find out where the program is spending most of it's time. I remember some tool in ruby that created an html of the results
<TvL2386> anyone remembers what it's called or someone has a good suggestion?
dumfries has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
<yorickpeterse> ruby-prof
anonymuse has joined #ruby-lang
hahuang65 has joined #ruby-lang
<TvL2386> thanks!
pskosinski has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
malev has joined #ruby-lang
realDAB has joined #ruby-lang
tomzx_mac has quit [Read error: Operation timed out]
toretore has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
<PaulePanter> Hi. Is there a method in Ruby already, which for a given date, will tell me how many days/years this was in the past, it is in the future. Like in Wikipedia, where for a birthdate you get in parentheses how many years the person is old.
thepumpkin has quit [Remote host closed the connection]
<PaulePanter> Date.rel_to_today_humanize ;-) or something like that.
fernandoaleman has joined #ruby-lang
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
thepumpkin has joined #ruby-lang
<fernandoaleman> Hello everyone. I released a gem a few months ago successfully, but today I made updates and when I do "rake release" I get an error saying I don't have permission to push to my gem
judofyr has quit [Remote host closed the connection]
<fernandoaleman> I then ran a debug:
<fernandoaleman> gem push --backtrace --debug --verbose pkg/capistrano_recipes-1.1.0.gem
<fernandoaleman> fernandoaleman @ 9:12
<fernandoaleman> and got the following errors:
<fernandoaleman> Can anyone help with this?
vlad_starkov has joined #ruby-lang
<PaulePanter> … or do you know a name for this feature.
<PaulePanter> ?
nathanstitt has joined #ruby-lang
<yorickpeterse> fernandoaleman: make sure your credentials are on your machine
<yorickpeterse> PaulePanter: activesupport has a time_ago_in_words method
grumpwork has joined #ruby-lang
jxie has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
flip_digits has joined #ruby-lang
scottschecter has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
grosscol has joined #ruby-lang
atmosx has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
killthe|afk is now known as killtheliterate
enebo has joined #ruby-lang
kilofu has joined #ruby-lang
kilofu has quit [Client Quit]
<PaulePanter> yorickpeterse: Awesome. Thanks.
kilofu has joined #ruby-lang
kilofu has quit [Client Quit]
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
Domon has joined #ruby-lang
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
<PaulePanter> yorickpeterse: Thanks for the hint. Reading http://rails-bestpractices.com/posts/105-not-use-time_ago_in_words it makes sense to make it on the client side.
realDAB has quit [Quit: realDAB]
<yorickpeterse> eh, wat
<yorickpeterse> "It's very common for a rails developer to use time_ago_in_words to display time like "5 minutes ago", but it's too expensive to calculate the time in server side, you should utilize client cpu to calculate the time ago." HAHAHA
<yorickpeterse> Maybe if your server runs on a 10Mhz machine from 20 years ago
<yorickpeterse> it's like saying you should use single quotes for performance
<fernandoaleman> yorickpeterse: LOL
<tbuehlmann> and you should
<whitequark> the caching argument makes sense
<yorickpeterse> Yes, lets move the problem to the client so that instead of a big ass server being like one microsecond slower the client is now having trouble
hashkey has joined #ruby-lang
kilofu has joined #ruby-lang
kilofu has quit [Client Quit]
kilofu has joined #ruby-lang
lupine has quit [Read error: Connection reset by peer]
kilofu has quit [Client Quit]
kilofu has joined #ruby-lang
tdm00 has joined #ruby-lang
hahuang65 has joined #ruby-lang
realDAB has joined #ruby-lang
jxweng has quit [Ping timeout: 264 seconds]
kilofu has quit [Client Quit]
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
kilofu has joined #ruby-lang
kilofu has quit [Client Quit]
hahuang65 has quit [Ping timeout: 264 seconds]
<darix> yorickpeterse: most clients definitely will die from the load of calculating the difference
glebm has joined #ruby-lang
<yorickpeterse> Not to mention JS has a terrible date library
<yorickpeterse> unless you enjoy pulling in deps for basic stuff
<darix> yorickpeterse: does jquery or friends have a nice library for it?
<andrewvos> watt
kilofu has joined #ruby-lang
<andrewvos> darix: Yes. One is mentioned in the article even. Twice actually
kilofu has quit [Client Quit]
ldnunes has quit [Ping timeout: 246 seconds]
<yorickpeterse> darix: no
<yorickpeterse> jquery itself does not provide date handling that I know of
jsullivandigs has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.1]
jsullivandigs has joined #ruby-lang
<andrewvos> There are libraries mentioned on that page?
<andrewvos> "here is a javascript solution based on jquery http://timeago.yarp.com/, of course, you can use other time ago js library."
<yorickpeterse> Yes, I know that
anonymuse has quit [Remote host closed the connection]
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
anonymuse has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
rshetty has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
jsullivandigs has quit [Ping timeout: 248 seconds]
anonymus_ has joined #ruby-lang
anonymuse has quit [Read error: Connection reset by peer]
sia_solati has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
ldnunes has joined #ruby-lang
Pupeno_ has joined #ruby-lang
bzalasky has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
riotbit has quit [Quit: riotbit]
pskosinski has quit [Quit: Til rivido Idisti!]
Pupeno has quit [Ping timeout: 276 seconds]
<andrewvos> I'm not so sure you did cuz you were all 'darix: no' like you didn't know it mentioned a library!
jxweng has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
Pupeno_ has quit [Ping timeout: 256 seconds]
<yorickpeterse> .... I was talking about it not being in jquery *itself*
<yorickpeterse> 15:01:40 yorickpeterse | jquery itself does not provide date handling that I know of
tonni has joined #ruby-lang
lupine has joined #ruby-lang
rshetty has quit [Ping timeout: 256 seconds]
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
<andrewvos> Dude I don't care. I was quoting Zoolander fool
sstrickl has joined #ruby-lang
imperator2 has joined #ruby-lang
snarfmason has joined #ruby-lang
snarfmason has quit [Client Quit]
_jpb_ has quit [Ping timeout: 276 seconds]
_jpb_ has joined #ruby-lang
snarfmason has joined #ruby-lang
<injekt> :|
<andrewvos> injekt: is it hot south of the river?
<injekt> andrewvos: incredibly
<injekt> andrewvos: Been in the office this week too (shoreditch) and it isn't terrible nice up there, either
<andrewvos> That's close to my place. Yeah I've been working from home cause of the heat
<andrewvos> I am very tan now
<andrewvos> It is amazing
<injekt> nice
benlovell has quit [Ping timeout: 246 seconds]
<injekt> I also went climbing at mill end, the heat did not help
<injekt> I almost passed out
rshetty has joined #ruby-lang
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
<andrewvos> ehehe
<andrewvos> pasty brit
bzalasky has quit [Remote host closed the connection]
intellitech has joined #ruby-lang
sia_solati has quit [Ping timeout: 276 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
sia_solati has joined #ruby-lang
bzalasky has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
grosscol has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
elia has joined #ruby-lang
clov3r has joined #ruby-lang
havenwood has joined #ruby-lang
_elia has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
clov3r has quit [Read error: Connection reset by peer]
rshetty has quit [Ping timeout: 268 seconds]
riotbit has joined #ruby-lang
rshetty has joined #ruby-lang
realDAB has quit [Quit: realDAB]
realDAB has joined #ruby-lang
digininja has left #ruby-lang [#ruby-lang]
hogeo has joined #ruby-lang
clov3r_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 276 seconds]
grosscol has joined #ruby-lang
gcol has joined #ruby-lang
jxweng has quit [Quit: leaving]
grosscol has left #ruby-lang [#ruby-lang]
_jpb_ has quit [Ping timeout: 264 seconds]
minivan has quit [Ping timeout: 245 seconds]
_jpb_ has joined #ruby-lang
Pupeno has joined #ruby-lang
bzalasky has joined #ruby-lang
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
gregmoreno has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
<yorickpeterse> ha wtf, apparently bcrypt takes up a good 23% of my test suite's time
<whitequark> devise?
<yorickpeterse> yah
<whitequark> set the number of bcrypt iterations to 1
<yorickpeterse> yeah, trying to see where exactly
<yorickpeterse> ta
zomgbie has joined #ruby-lang
gcol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
grosscol has quit [Client Quit]
dbussink has quit [Read error: Operation timed out]
grosscol has joined #ruby-lang
dbussink has joined #ruby-lang
arooni-mobile has joined #ruby-lang
fernandoaleman has left #ruby-lang [#ruby-lang]
saarinen has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
tylersmith has joined #ruby-lang
mistym has joined #ruby-lang
riotbit has quit [Quit: riotbit]
mbull9 has joined #ruby-lang
<ericwood> regex is stupid
<ericwood> lookahead and lookbehind are stupid
<ericwood> I hate them
<ericwood> I hate everything!
<whitequark> lookahead and lookbehind are simply wrong
<whitequark> (and a lot of "advanced" regexp features ruby has inherited from perl as well)
<whitequark> if you want them, use ragel or something instead, and retain your sanity
<ericwood> I haven't found an example of them that couldn't be done in a more simple regex
<injekt> regexp makes me sleep at night
hahuang65 has joined #ruby-lang
rshetty has quit [Ping timeout: 248 seconds]
grosscol has quit [Remote host closed the connection]
grosscol has joined #ruby-lang
retro|cz has joined #ruby-lang
imperator2 has quit [Ping timeout: 246 seconds]
ledestin has quit [Quit: ledestin]
rshetty has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dwknoxy has joined #ruby-lang
shinnya has joined #ruby-lang
dwknoxy has quit [Client Quit]
minivan1 has joined #ruby-lang
<ericwood> you have a problem, injekt
dwknoxy has joined #ruby-lang
<injekt> yeah
<injekt> I love xpath, too
<ericwood> hey, xpath is nice!
<ericwood> I prefer to use the CSS selectors though when I can
<ericwood> they're a bit cleaner for simple stuff
<ericwood> and now you can do attribute selection with it too
apeiros has joined #ruby-lang
riotbit has joined #ruby-lang
grosscol has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
vlad_starkov has joined #ruby-lang
poga has joined #ruby-lang
<andrewvos> Pretty cool http://www.responsivewebcss.com/
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
Senjai has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
elia has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
Senjai has quit [Ping timeout: 248 seconds]
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
arooni-mobile has quit [Ping timeout: 246 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
jonahR has joined #ruby-lang
minivan1 has quit [Ping timeout: 240 seconds]
henrikhodne has joined #ruby-lang
elia has joined #ruby-lang
riotbit has quit [Quit: riotbit]
pkrnj has joined #ruby-lang
realDAB has quit [Quit: realDAB]
yfeldblum has joined #ruby-lang
kristofferrr has joined #ruby-lang
riotbit has joined #ruby-lang
dc5ala has joined #ruby-lang
riotbit has quit [Client Quit]
poga has quit [Remote host closed the connection]
glebm has joined #ruby-lang
hexreel has quit [Quit: leaving]
ldnunes has quit [Ping timeout: 248 seconds]
gix has quit [Quit: Client exiting]
bayendor has joined #ruby-lang
bayendor has left #ruby-lang [#ruby-lang]
elia has quit [Ping timeout: 276 seconds]
gix has joined #ruby-lang
Guest46415 has quit [Quit: This computer has gone to sleep]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
realDAB has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
kstuart has quit [Ping timeout: 264 seconds]
clov3r_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
conceal_rs_____0 has quit [Ping timeout: 256 seconds]
riotbit has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
conceal_rs_____0 has joined #ruby-lang
RickHull has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ldnunes has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 240 seconds]
zmike123 has quit [Ping timeout: 246 seconds]
rshetty has quit [Ping timeout: 246 seconds]
kristofferrr has quit [Quit: ❤]
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby-lang
maxmanders has joined #ruby-lang
jonahR has quit [Quit: jonahR]
deedoubleyou has joined #ruby-lang
arooni-mobile has joined #ruby-lang
riotbit has quit [Quit: riotbit]
realDAB has quit [Quit: realDAB]
badeball has quit [Ping timeout: 246 seconds]
_jpb_ has quit [Ping timeout: 276 seconds]
_jpb_ has joined #ruby-lang
zmike123 has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
pkrnj has quit [Read error: Operation timed out]
retro|cz has quit [Ping timeout: 240 seconds]
badeball has joined #ruby-lang
<yorickpeterse> s/window merge
<yorickpeterse> fuck
vlad_starkov has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby-lang
vlad_starkov has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
mrsolo has joined #ruby-lang
kstuart has joined #ruby-lang
hexreel has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 268 seconds]
ZOGM_ has quit [Remote host closed the connection]
ZOGM has joined #ruby-lang
riotbit has joined #ruby-lang
<yorickpeterse> FFFFFFFF, DigitalOcean again disabled the fucking 512 boxes
thepumpkin has quit [Remote host closed the connection]
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
hinbody has joined #ruby-lang
rsl has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
tdm00 has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
<ndrst> ??
_jpb_ has joined #ruby-lang
priodev has quit [Ping timeout: 240 seconds]
ilyam has joined #ruby-lang
atmosx has quit [Quit: And so the story goes…]
saarinen has quit [Quit: saarinen]
pkrnj has joined #ruby-lang
beerdy has joined #ruby-lang
<yorickpeterse> they have 512MB plans for 5USD a month
<yorickpeterse> but due to high demand these are disabled in the amsterdam region
saarinen has joined #ruby-lang
torrieri has joined #ruby-lang
hinbody has quit [Ping timeout: 268 seconds]
priodev has joined #ruby-lang
flip_digits has joined #ruby-lang
ldnunes has quit [Ping timeout: 256 seconds]
malev has quit [Read error: Connection reset by peer]
hinbody has joined #ruby-lang
poga has joined #ruby-lang
elia has joined #ruby-lang
gix has quit [Quit: Client exiting]
_jpb_ has quit [Ping timeout: 256 seconds]
sia_solati has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
zomgbie has quit [Ping timeout: 268 seconds]
jroes_ has joined #ruby-lang
jroes_ has left #ruby-lang [#ruby-lang]
jroes has joined #ruby-lang
ffio has joined #ruby-lang
<jroes> didn't someone in here recently write a new timeout gem?
realDAB has joined #ruby-lang
gix has joined #ruby-lang
beerdy has quit [Ping timeout: 246 seconds]
sia_solati has joined #ruby-lang
glebm has quit [Ping timeout: 276 seconds]
ldnunes has joined #ruby-lang
clov3r has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
maxmanders has joined #ruby-lang
_jpb_ has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
elia has quit [Ping timeout: 256 seconds]
<whitequark> injekt: found a slop bug
<zzak> you cant really do much with 512, im just running mail and irc and have used ~700 megs
sepp2k has joined #ruby-lang
workmad3 has joined #ruby-lang
<whitequark> if I meld two short options together, like -Ey, where -E is a defined option and -y is undefined one, it won't barf
<whitequark> it will for -E -y and others
<whitequark> zzak: eh. I'm running a dozen of services and am at 248M
<whitequark> rxr, postfix+dovecot+openldap+sasl+php+roundcube, irssi, irclogger (a ruby app), mysql and something else I guess
<whitequark> you're doing it wrong :D
<zzak> clamd alone is using ~200
<whitequark> also redis, two vpns, spamassassin, nginx and powerdns
<whitequark> why do you even need that
riotbit has quit [Quit: riotbit]
<zzak> there is an imap taking 250m o_O
<yorickpeterse> zzak: 512MB is more than enough for a lot
sia_solati has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
killtheliterate is now known as killthe|lunch
maxmanders has quit [Quit: Computer has gone to sleep.]
riotbit has joined #ruby-lang
vlad_starkov has joined #ruby-lang
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
elia has joined #ruby-lang
<yorickpeterse> whitequark: k parsing now, will check back in 30 minutes or so
<whitequark> -_-
fuhgeddaboudit has joined #ruby-lang
dwknoxy has quit [Quit: Computer has gone to sleep.]
adwhit has quit [Ping timeout: 264 seconds]
maxmanders has joined #ruby-lang
_jpb_ has quit [Ping timeout: 276 seconds]
adwhit has joined #ruby-lang
_jpb_ has joined #ruby-lang
zomgbie has joined #ruby-lang
maxmanders has quit [Client Quit]
beerdy has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
davetoxa has quit [Quit: ушёл]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<yorickpeterse> heh, done parsing
<yorickpeterse> Parsed 1 files (3963961 characters) in 79.46 seconds (49.886 kchars/s).
_jpb_ has quit [Ping timeout: 248 seconds]
benanne has quit [Ping timeout: 246 seconds]
<whitequark> yeah, that's how it should work
postmodern has joined #ruby-lang
retro|cz has joined #ruby-lang
symm- has joined #ruby-lang
sia_solati has joined #ruby-lang
_jpb_ has joined #ruby-lang
<yorickpeterse> well, that was that
benanne has joined #ruby-lang
beerdy has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
ffio has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
beerdy has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
<yorickpeterse> I just realized I haven't had tea at home for 3 days
realDAB has quit [Quit: realDAB]
<yorickpeterse> that explains the feeling of lacking something in my...nevermind
imperator2 has joined #ruby-lang
<imperator2> hi
sia_solati has quit [Ping timeout: 248 seconds]
poga has quit [Remote host closed the connection]
elia has joined #ruby-lang
<whitequark> sigh
<whitequark> this doesn't parse
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
<whitequark> and fuck that, I'll leave it as is, because I can't in my right mind understand how this is supposed to parse
ffio has quit [Quit: WeeChat 0.4.1]
zomgbie has quit [Read error: Connection reset by peer]
sia_solati has joined #ruby-lang
<yorickpeterse> what the fuck
<yorickpeterse> People use this in production?
<whitequark> it's a testcase from a rubylexer gem
<whitequark> *testcase*. tests are supposed to be clear, something something
<whitequark> it did succeed in triggering a bug. I have absolutely no idea what that bug is, or even in which part is it located
<yorickpeterse> whitequark: ruby can't parser it either
<whitequark> try 1.8
<yorickpeterse> hm
<yorickpeterse> don't even have 1.8 installed
<yorickpeterse> to eval.in!
<yorickpeterse> https://eval.in/38815 lol
gregmoreno has quit [Remote host closed the connection]
<whitequark> I think you broke something inside it, or maybe I broke it
<whitequark> maybe non-printable characters
<whitequark> in another file in that gem, the dude tries to use a string with CRLF as a delimiter
<whitequark> %<CRLF>string<CRLF><CRLF>
<yorickpeterse> wat
<whitequark> like %"foo"
<yorickpeterse> well you can't argue that he/she is not trying to test deep stuff
<whitequark> but \r\n instead "
<whitequark> well the latter testcase is ok
<whitequark> but this one is insane
<whitequark> how do you even write that
<yorickpeterse> drugs
<yorickpeterse> next thing you know it you write a programming language
<whitequark> so that's why you are writing one
fenicks has joined #ruby-lang
tdm00 has joined #ruby-lang
<yorickpeterse> I'm not....not yet :<
<yorickpeterse> I'm still bikeshedding about the language of the compiler or VM in case I want a scripting language
<yorickpeterse> that I'm also bikeshedding about
<whitequark> that's simple: start with a VM
<whitequark> always.
<whitequark> writing the new C? start with a VM
<yorickpeterse> that brings us to the question "What language? Fuck C"
<whitequark> who said you can't interpret C
<whitequark> host language?
<yorickpeterse> "Oh shit there's no decent alternative unless I enjoy sadism"
<yorickpeterse> yeah
<whitequark> ocaml
beerdy has quit [Remote host closed the connection]
<yorickpeterse> meh, didn't like the language
<whitequark> or anything ml-ish for that matter
<yorickpeterse> ML languages in general feel icky to me
<yorickpeterse> (syntax wise)
<whitequark> well, they're ideally suited for writing compilers
gregmoreno has joined #ruby-lang
<yorickpeterse> it's like somebody tried to write it down using a pen but the ink flew all over the place
<whitequark> ok, write a syntax which compiles down to ML
<whitequark> then write your language in that syntax
<whitequark> could take you maybe a few days more
<yorickpeterse> CoffeeML
* whitequark slaps yorickpeterse around a bit with a large trout
<whitequark> it's so horrible it may even catch on
<yorickpeterse> you really like that plugin eh?
elia has quit [Quit: Computer has gone to sleep.]
<whitequark> plugin?
<yorickpeterse> (even worse if you type it by hand)
<whitequark> it's like one line in the config
sia_solati has quit [Ping timeout: 246 seconds]
<whitequark> ... why is it on linode.com
sia_solati has joined #ruby-lang
<yorickpeterse> I'm installing this
<whitequark> wow. why write one line if you can 309
* yorickpeterse slaps whitequark's bottom and grins cheekily
<yorickpeterse> hahahaha
<yorickpeterse> adding "slaps X around with a copy of parse.y"
rickruby has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
ilyam has quit [Quit: ilyam]
cjs226 has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
killthe|lunch is now known as killtheliterate
gix has quit [Quit: Client exiting]
mistym is now known as mistym_lunch
ldnunes has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby-lang
arooni-mobile has joined #ruby-lang
gix has joined #ruby-lang
rickruby has quit [Remote host closed the connection]
willdrew has joined #ruby-lang
willdrew has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
mbj has joined #ruby-lang
sia_solati has quit [Ping timeout: 256 seconds]
havenwood has quit [Remote host closed the connection]
_jpb__ has joined #ruby-lang
fenicks has quit [Ping timeout: 240 seconds]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby-lang
ilyam has joined #ruby-lang
ZOGM_ has joined #ruby-lang
sia_solati has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<yorickpeterse> :D :D
<yorickpeterse> down to 3 errors in this Rails controller
<yorickpeterse> instead of like, 100
fenicks has joined #ruby-lang
ruby-lang772 has joined #ruby-lang
antoineroquentin has joined #ruby-lang
ruby-lang772 has quit [Client Quit]
<whitequark> errors ?
jonahR has joined #ruby-lang
<yorickpeterse> errr for ruby-lint
<yorickpeterse> forgot to mention that rather crucial part
ZOGM has quit [Ping timeout: 268 seconds]
* whitequark lands 32th parser bugfix
<yorickpeterse> I'd say this week has been quite successful so far. YARD support in ruby-lint amongst various other nice changes, lots of bugfixes in parser
<yorickpeterse> now we just need to wait for another Ruby drama
_jpb__ has quit [Quit: leaving]
sia_solati has quit [Ping timeout: 264 seconds]
henrikhodne has quit [Ping timeout: 256 seconds]
sia_solati has joined #ruby-lang
antoineroquentin has quit [Ping timeout: 240 seconds]
tdm00 has quit [Quit: Make like a banana and split!]
ffio has joined #ruby-lang
gregmore_ has joined #ruby-lang
realDAB has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
_jpb__ has joined #ruby-lang
gregmore_ has joined #ruby-lang
_jpb__ has quit [Client Quit]
saarinen has quit [Quit: saarinen]
_jpb__ has joined #ruby-lang
_jpb__ has quit [Client Quit]
antoineroquentin has joined #ruby-lang
gregmoreno has quit [Ping timeout: 246 seconds]
zmike123 has quit [Quit: ~]
_jpb__ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
Uranio has quit [Quit: while you reading this, a kitty dies]
yalue has quit [Quit: Leaving]
hinbody has quit [Ping timeout: 248 seconds]
elia has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
henrikhodne has joined #ruby-lang
saarinen has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
jsullivandigs has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
jsullivandigs has joined #ruby-lang
_jpb_ has quit [Read error: Connection reset by peer]
_jpb_ has joined #ruby-lang
riotbit has quit [Quit: riotbit]
firstdayonthejob has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
jsullivandigs has quit [Ping timeout: 268 seconds]
dc5ala has quit [Quit: Ex-Chat]
_jpb__ has quit [Ping timeout: 264 seconds]
ldnunes has quit [Ping timeout: 264 seconds]
jonahR has quit [Quit: jonahR]
flip_digits has joined #ruby-lang
dwknoxy has joined #ruby-lang
duphus has quit [Quit: Leaving.]
Squarepy has joined #ruby-lang
ldnunes has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
imperator2 has quit [Ping timeout: 256 seconds]
malev has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
gregmoreno has joined #ruby-lang
mistym_lunch is now known as mistym
gregmoreno has quit [Remote host closed the connection]
setmeaway has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby-lang
gregmoreno has joined #ruby-lang
<tubbo> this is gonna sound a little weird, but is there any method that will let me do something like collection.reject{ |e| e.passes_condition? }.each { |e| collection.delete e }
<tubbo> basically i want to delete any element that passes the condition, but before i do that i want to run a little method on it
<whitequark> .delete_if
<tubbo> sorry that collection.delete e should be `e.erase!`
<tubbo> whitequark: you are the man :D
_jpb_ has joined #ruby-lang
<drbrain> tubbo: #partition
<drbrain> you can do it in delete_if, but I don't like putting side-effects in filtering blocks
nisstyre has joined #ruby-lang
<tubbo> drbrain: hmm, i don't think partition will be as readable as delete_if
cored has quit [Ping timeout: 268 seconds]
<tubbo> because i'll have to do overlays = overlays.partition{ |e| e.passes? && e.erase! }.last
<tubbo> i guess that's not too bad
mbj has quit [Ping timeout: 240 seconds]
breakingthings has quit [Quit: breakingthings]
<drbrain> tubbo: like this: passed, overlays = overlays.partition { |e| e.passes? }; passed.each { |e| e.erase! }
<drbrain> your version has the side-effects that I prefer to avoid
havenwood has quit [Remote host closed the connection]
io_syl has joined #ruby-lang
vlad_starkov has joined #ruby-lang
intellitech has quit [Quit: intellitech]
cored has joined #ruby-lang
pskosinski has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
kstuart has quit [Ping timeout: 240 seconds]
_jpb_ has quit [Ping timeout: 260 seconds]
_jpb_ has joined #ruby-lang
<injekt> whitequark: could you submit a ticket please, really busy these couple of days
antoineroquentin has quit [Quit: antoineroquentin]
tbuehlmann has quit [Remote host closed the connection]
MaddinXx_ has quit [Remote host closed the connection]
<zenspider> hoe version 3.7.0 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/07/hoe-version-3-7-0-has-been-released.html
<whitequark> #122
skade has joined #ruby-lang
<injekt> thanks
jvrmaia has quit [Quit: Leaving]
jsullivandigs has joined #ruby-lang
<zenspider> hoe-seattlerb version 1.3.2 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/07/hoe-seattlerb-version-1-3-2-has-been-released.html
_jpb__ has joined #ruby-lang
specialblend has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
ldnunes has quit [Quit: Leaving]
_jpb_ has joined #ruby-lang
bgant has quit [Quit: Leaving.]
wmoxam has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
grumpwork has quit [Remote host closed the connection]
deception has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
<zenspider> flay version 2.4.0 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/07/flay-version-2-4-0-has-been-released.html
<injekt> :/
pskosinski has quit [Quit: Til rivido Idisti!]
<zenspider> injekt: ?
eugenejen has quit [Quit: eugenejen]
deception has quit [Client Quit]
<zenspider> omnifocus-redmine version 1.2.5 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/07/omnifocus-redmine-version-1-2-5-has-been-released.html
<yorickpeterse> dat zenspider spam
<erikh> you should talk, buddy
<erikh> wait, that's all you do in here
<erikh> sorry, carry on
<zenspider> erikh: ???
<erikh> zenspider: not directed at you
<zenspider> ah. kk.
specialblend has quit [Quit: specialblend]
<zenspider> hrm... wgrep or grep-ed for multi-file editing of grep buffers?
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
<yorickpeterse> erikh: awwwww, want a kiss on that booboo?
x0f has joined #ruby-lang
<drbrain>
<whitequark> drbrain: what was that?
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
realDAB has quit [Quit: realDAB]
<drbrain> whitequark: U+1F612 UNAMUSED FACE
joshuawscott has quit [Quit: Leaving.]
firstdayonthejob has quit [Ping timeout: 248 seconds]
<injekt> Ah not to be mistaken with U+1F613 AMMUSED FACE
<zenspider> hah. that's a serious off by one error. :P
<zenspider> "unfortunately", ERC doesn't display emoji. prolly because > 32bit ?
x0f_ has quit [Ping timeout: 248 seconds]
<zenspider> or just because of font
<drbrain> the font comes with OS X, so probably > 32 bit
<whitequark> it's not >32bit, the entire unicode space is 21bit
<whitequark> though it's irrelevant
<drbrain> � is U+FFFD,
<drbrain> whitequark: curses, for example, doesn't seem to support unicode characters above U+FFFE, nor does github's comment boxes
Squarepy has quit [Quit: Leaving]
<whitequark> drbrain: curses probably uses wchar_t inside and fails to handle surrogate pairs--a common pitfall
<drbrain> whitequark: so "32 bit" is probably not the right way to describe it
<whitequark> really not sure about github. ruby would do fine. maybe their database.
setmeaway has joined #ruby-lang
jonahR has quit [Quit: jonahR]
<ericwood> 12304234 bits
<zenspider> all I know is drbrain keeps using them and all I see is " "
<zenspider> which... honestly, seems like a feature
<ericwood> emoji are the best
<ericwood> I <3 emoji
<whitequark> emoji are for those without imagination
<whitequark> :p
<ericwood> you obviously suck at using them, then
mdedetrich has joined #ruby-lang
<whitequark> ericwood: also, your second-last statement is utterly ironic
pabs_ is now known as pabs
apeiros has quit [Remote host closed the connection]
<ericwood> do you know me?
<ericwood> it's as if you've never talked to me before :P
<ericwood> ☃
apeiros has joined #ruby-lang
<ericwood> snowman looks like a pineapple in Menlo
<zenspider> you might be assuming more care than exists
<ericwood> yep
symm- has quit [Ping timeout: 255 seconds]
<whitequark> -ENOCARE
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
<ericwood> hehehehe
firstdayonthejob has joined #ruby-lang
sia_solati has quit [Ping timeout: 240 seconds]
sia_solati has joined #ruby-lang
<erikh> drbrain: is that MAKE env patch getting into 2.0, or is it slated for 2.1?
duphus has joined #ruby-lang
<erikh> omniti's backporting it, IIRC, opscode too I think
workmad3 has quit [Ping timeout: 268 seconds]
<drbrain> erikh: I deemed it a new feature, so 2.1
<erikh> alrighty, thanks.
<drbrain> erikh: I'll be pushing a 2.1 prerelease today or tomorrow
<erikh> cool, i'll let them know
javajax has joined #ruby-lang
kstuart has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
<nofxx> Any tips on this 2.0 issue? Works fine on 1.9, dunno if its an encoding or pack/unpack issue https://gist.github.com/nofxx/6075011
<whitequark> nofxx: your "" at line 2 is in UTF-8 in 2.0, but ASCII-8BIT in 1.9
<whitequark> "".force_encoding(Encoding::BINARY) or # encoding:binary
_jpb_ has quit [Ping timeout: 248 seconds]
mbull9 has joined #ruby-lang
<nofxx> whitequark, thanks!
<drbrain> or # coding: binary at the top of the file
<erikh> you might appreciate using a bit vector there instead?
<whitequark> drbrain: that's what I said :)
_jpb_ has joined #ruby-lang
<whitequark> erikh: his impl may well be faster
<erikh> ah
<drbrain> whitequark: oops, obviously I have mis-trained my brain to ignore #
<erikh> ok, i really need to wander off
<erikh> later dudes
<drbrain> erikh: bye!
<whitequark> drbrain: hah, comments in real-life. just imagine: it'd be enough to place an unterminated /* at the beginning of the NSA files
<whitequark> boom, problem solved
torrieri has quit [Quit: Linkinus - http://linkinus.com]
<nofxx> erikh, later, ty
<whitequark> and they themselves use Ada which doesn't have /*..*/
<injekt> zzak: BRO
vlad_starkov has joined #ruby-lang
<nofxx> whitequark, faster you mean by the #encoding header? or using array instead of string?
<whitequark> nofxx: I think your current solution is fine
<nofxx> funny... was the encoding header suppose to go in the spec? It works there, not in the lib
vlad_starkov has quit [Ping timeout: 246 seconds]
<whitequark> hmm
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
<nofxx> whitequark, looks like the issue is on matching string ... subject.as_ewkb.should eql("\001\001\000\000 \346\020\000\000\001""".force_encoding(Encoding::BINARY)) works
enebo has quit [Quit: enebo]
<zenspider> I... don't think that does what you think it does...
<zenspider> or...
<zenspider> I don't think that does what I think it should
<whitequark> nofxx: yeah
<whitequark> zenspider: what do you think it should do?
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
gregmoreno has quit [Remote host closed the connection]
<nofxx> trying to understand.. basically: 1.chr + binary 1.9 -> \u0001 2.0 -> \x01 but binary didnt change, \xE6
<whitequark> so... 33 bugs fixed, two more bugs to tackle, and parser will be able to successfully parse entire rubygems corpus, sans mid-file \0, non-7bit crap in comments and \u escape in 1.8 mode
intellitech has joined #ruby-lang
<nofxx> ops nevermind my last sentence...
<zenspider> whitequark: what he just typed was "blah" "".force_encode(...) and I have no fucking clue what should happen with syntactic concatination with a force_encode tacked on one of them
<whitequark> zenspider: it gets concatenated into one string and after it .force_encoding is called on it
<whitequark> since concat is done in compiler
<zenspider> yeah. that's horrible
<zenspider> horrible code ... so that seems fair
javajax has quit [Quit: Leaving.]
<nofxx> zenspider, dont mind the typo quotes, same w/o
<whitequark> zenspider: being able to meaningfully use \0 in some places in code but not others is even more horrible
<whitequark> (TIL that)
<nofxx> but btw, "foo""bar" for ruby will always be "foobar" , isnt?
<nofxx> hidden + on strings
<whitequark> nofxx: it's not +, it's direct concatenation.
<whitequark> >> class String; def +(*); raise; end; end; "foo" "bar"
<eval-in> whitequark => "foobar" (https://eval.in/38828)
Pupeno has quit [Remote host closed the connection]
<nofxx> whitequark, nice, good to know
swav has joined #ruby-lang
<zzak> injekt: inkjet:
<zenspider> omnifocus-github version 1.6.0 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/07/omnifocus-github-version-1-6-0-has-been-released.html
deedoubleyou has quit [Remote host closed the connection]
<zzak>
tylersmith has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
<injekt> zzak: ping me tomorrow, im dead
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
wmoxam has joined #ruby-lang
<zenspider> holy shit rails has a metric fuckton of deps these days
swav has left #ruby-lang [#ruby-lang]
KillerFox has quit [Ping timeout: 248 seconds]
<xuser> at least there's rails-api now ;)
<Nilium> Rails is boring, make games.
jsullivandigs has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 240 seconds]
jsullivandigs has joined #ruby-lang
_jpb_ has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
jsullivandigs has quit [Ping timeout: 248 seconds]
jsullivandigs has joined #ruby-lang
anonymus_ has quit [Remote host closed the connection]
duphus has quit [Quit: Leaving.]
_jpb__ has quit [Ping timeout: 246 seconds]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
wmoxam has quit [Ping timeout: 248 seconds]
<darix> zenspider: that's what you get from moving tons of things into gems which have been in the rails base libs in the past no?
<zenspider> darix: ? not my fault!
<darix> zenspider: just answering your statement. :)
<zenspider> darix: no. I think it is much more likely that that's what you get when you keep throwing poo at the wall
freedrull has joined #ruby-lang
pkrnj has joined #ruby-lang
gregmoreno has joined #ruby-lang
<freedrull> i'm going to ask a vague question. i feel like every time i try to extract methods out of a huge class i just end up with a method that takes the original class as an argument, if not even more dependencies. how can i refactor code in a better way? how can i remove dependencies? https://gist.github.com/mcfiredrill/6075501
<drbrain> freedrull: a) buy Working Effectively with Legacy Code by Martin Fowler
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
__butch__ has joined #ruby-lang
benanne has quit [Quit: kbai]
<freedrull> hmm ive heard of this
<freedrull> i have sandi metz' book too, i should probably read that again :\
ruby-lang889 has joined #ruby-lang
<drbrain> freedrull: b) in order to successfully extract a class you need to recognize a common set of state that the object you wish to extract
glebm has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
killtheliterate is now known as killthe|afk
<drbrain> freedrull: I take a set of steps when I refactor this way
<drbrain> first I extract methods but leave them in the same class with extra arguments
__butch__ has quit [Remote host closed the connection]
<drbrain> then I find out which arguments are common and extract those methods into a class
<drbrain> so I can turn the argument into an instance variable
therod has joined #ruby-lang
glebm has quit [Ping timeout: 264 seconds]
ruby-lang889 has quit [Ping timeout: 250 seconds]
stamina has quit [Ping timeout: 264 seconds]
fosky has joined #ruby-lang
kristofferrr has joined #ruby-lang
braidn has left #ruby-lang [#ruby-lang]
kristofferrr has quit [Client Quit]
ncmike has joined #ruby-lang
<x0f> whenever you find an explicit "exterior self" as an argument for multiple methods its a good way to think about extraction, if the current class still depends on it, the new class might be a candidat for composition, else its aggregation (which usually is better decoupled, though composition coupling is not neccessary bad)
joshuawscott has joined #ruby-lang
saarinen has quit [Quit: saarinen]
_jpb__ has joined #ruby-lang
_jpb_ has quit [Remote host closed the connection]
malev has quit [Remote host closed the connection]
marr has quit [Ping timeout: 256 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
tomzx_mac has joined #ruby-lang
jonahR has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
ncmike has quit [Ping timeout: 250 seconds]
tylersmith has joined #ruby-lang
realDAB has joined #ruby-lang
elia has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tylersmith has quit [Ping timeout: 248 seconds]
joshuawscott has quit [Quit: Leaving.]
_jpb__ has quit [Remote host closed the connection]
jacktrick has joined #ruby-lang
hahuang65 has quit [Ping timeout: 246 seconds]