imperator2 changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || RubyConf 2013 at http://www.justin.tv/confreaks
diegoviola has quit [Ping timeout: 252 seconds]
nertzy has joined #ruby-lang
tkuchiki has joined #ruby-lang
colstrom has quit [Quit: Connection closed for inactivity]
Zeeo has joined #ruby-lang
stardiviner has joined #ruby-lang
vlad_starkov has joined #ruby-lang
itcharlie1 has joined #ruby-lang
stardiviner has quit [Client Quit]
vlad_starkov has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby-lang
kurko__ has joined #ruby-lang
volty has joined #ruby-lang
VTLob has quit [Quit: VTLob]
kurko_ has quit [Ping timeout: 260 seconds]
<volty> hi, how can I generate (a separate) rdoc documentation, in a directory of mine, for all installed (core + gems) files?
rwk1 has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
tomzx_mac has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
digs has joined #ruby-lang
digs has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby-lang
nathanstitt has joined #ruby-lang
flip_digits has quit []
tkuchiki has quit [Ping timeout: 244 seconds]
cube526 has joined #ruby-lang
CoreData has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby-lang
diegoviola has joined #ruby-lang
nXqd has quit [Ping timeout: 252 seconds]
CoreData has joined #ruby-lang
hogeo has quit [Quit: Leaving...]
Snibble has joined #ruby-lang
cube526 has quit [Quit: Bye]
hogeo has joined #ruby-lang
enmand has joined #ruby-lang
enmand has quit [Client Quit]
nXqd has joined #ruby-lang
lun__ has joined #ruby-lang
dingus_khan has joined #ruby-lang
dingus_khan has quit [Client Quit]
kireevco has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
lun__ has quit [Ping timeout: 252 seconds]
dalzony has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 252 seconds]
tomzx_mac has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
volty has left #ruby-lang ["Konversation terminated!"]
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
amerine has joined #ruby-lang
sevvie has joined #ruby-lang
nXqd has quit [Ping timeout: 244 seconds]
gnufied has quit [Ping timeout: 259 seconds]
kek has quit [Ping timeout: 251 seconds]
nathanstitt has quit [Quit: I growing sleepy]
vlad_starkov has joined #ruby-lang
gnufied has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 244 seconds]
kurko_ has joined #ruby-lang
kurko__ has quit [Ping timeout: 252 seconds]
zz_michael_mbp is now known as michael_mbp
rwk1 has joined #ruby-lang
datanoise has quit [Ping timeout: 244 seconds]
rwk1 has quit [Read error: Connection reset by peer]
rwk1 has joined #ruby-lang
rwk1 has quit [Client Quit]
rwk1 has joined #ruby-lang
charliesome has joined #ruby-lang
ianstarz_ has quit [Quit: Connection closed for inactivity]
iliketurtles has joined #ruby-lang
vxr74 has joined #ruby-lang
sevvie has quit [Ping timeout: 252 seconds]
vxr74 has quit [Quit: peace]
kek has joined #ruby-lang
atrocitas has quit [Remote host closed the connection]
kek has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
nathanstitt has joined #ruby-lang
kek has quit [Ping timeout: 244 seconds]
Oloryn_lt2 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
jxie has quit [Read error: Connection reset by peer]
itcharlie2 has joined #ruby-lang
zinhzin has joined #ruby-lang
jxie has joined #ruby-lang
itcharlie1 has quit [Ping timeout: 252 seconds]
datanoise has joined #ruby-lang
pipecloud has quit [Read error: Connection reset by peer]
rwk1 has quit [Remote host closed the connection]
KM has joined #ruby-lang
marr has quit [Read error: Connection reset by peer]
shinnya has quit [Ping timeout: 240 seconds]
Snibble has quit [Quit: Leaving.]
michael_mbp is now known as zz_michael_mbp
x0f has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
zz_michael_mbp is now known as michael_mbp
x0f has joined #ruby-lang
kurko__ has joined #ruby-lang
diegoviola has quit [Ping timeout: 246 seconds]
vivekrai has quit [Quit: Connection closed for inactivity]
pipecloud has joined #ruby-lang
kurko______ has joined #ruby-lang
Bosox20051 has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
bjh13 has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
CaptainJet has quit []
micalexander has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
kurko__ has quit [Ping timeout: 272 seconds]
roma has joined #ruby-lang
micalexander has joined #ruby-lang
roma is now known as Guest23244
earthquake has joined #ruby-lang
kurko______ has quit [Ping timeout: 268 seconds]
mistym has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
micalexander has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
cnivolle has quit [Remote host closed the connection]
kek has joined #ruby-lang
robbyoconnor has joined #ruby-lang
yfeldblum has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 268 seconds]
kek has quit [Ping timeout: 272 seconds]
bjh13 has quit [Quit: leaving]
datanoise has quit [Ping timeout: 240 seconds]
datanoise has joined #ruby-lang
rohit has joined #ruby-lang
bzalasky has joined #ruby-lang
Guest23244 has quit [Quit: Lost terminal]
Snibble has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
zinhzin has left #ruby-lang [#ruby-lang]
datanoise has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
Snibble has quit [Quit: Leaving.]
bjh13 has joined #ruby-lang
NemesisD has joined #ruby-lang
Cakey has joined #ruby-lang
<NemesisD> anyone know of any ruby tools for compiling/minifying javascript projects? wanted to see if there was anything before i started down the path of rolling my own with rake
micalexa_ has joined #ruby-lang
<jrobeson> well there's ruby tools that wrap other projects
<jrobeson> like therubyracer
michael_mbp is now known as zz_michael_mbp
<jrobeson> or using the uglifier gem directly
<NemesisD> hmm ok
dalzony has quit [Quit: Leaving.]
<jrobeson> but you still end up with non ruby code.. like nodejs or the standalone v8 engine.. or mozilla rhino
<NemesisD> weighing this over getting into a yak shave learning runt
<jrobeson> OR .. just use bower
<NemesisD> it is a browser javascript project. i need to be able to be able to generate builds for designers
<NemesisD> hmm ive heard a bit about bower
amerine has quit [Quit: Textual IRC Client: www.textualapp.com]
earthquake has quit [Quit: earthquake]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
havenwood has quit []
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
Snibble has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
hahuang65 has joined #ruby-lang
bzalasky has quit [Ping timeout: 272 seconds]
<jrobeson> NemesisD, a browser javascript project? what does that mean?
<jrobeson> it might be heresy to suggest that here, but what part is ruby playing in this?
<jrobeson> might be easier to look into grunt, or yeoman.. depending on what you're actually trying to do.. and what tools are already in play
nathanstitt has joined #ruby-lang
franckverrot has quit [Quit: Connection closed for inactivity]
SteveBenner9 has quit [Ping timeout: 265 seconds]
<NemesisD> jrobeson: lots of ruby folks like myself work with the web and may have to do javascript projects from time to time, but i take your point
<NemesisD> i'd prefer to not do the build tools in javascript but when in rome..
<jrobeson> well obviously lots of ruby folks work in the web.. i just didn't know what you meant by browser based.
<jrobeson> if the whole thing was client side, and you were already gonna end up using v8 for handling minify.. adding ruby to it just bumps the dependencies for not many reasons
<NemesisD> jrobeson: like an angularjs app
Cakey has quit [Quit: leaving]
<jrobeson> but it will have a server side component?
itcharlie2 has left #ruby-lang [#ruby-lang]
<NemesisD> not in this project. it uses a server api but that's a separate thing
<jrobeson> i'd just use a nodejs build tool then.. they already exist.. and you'll already need it
kek has joined #ruby-lang
<NemesisD> *kicks ground*
rohit has quit [Ping timeout: 246 seconds]
Cakey has joined #ruby-lang
<jrobeson> NemesisD, the rubyracer puts v8 directly inside of ruby in some way.. but i have no idea how good it is and what you can do with the exposed api
dhruvasagar has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
nisstyre has joined #ruby-lang
kek has quit [Ping timeout: 260 seconds]
Cakey has quit [Quit: leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cakey has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
jhulten has joined #ruby-lang
Cakey has quit [Client Quit]
ikrima has joined #ruby-lang
Cakey has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
bjh13 has quit [Quit: leaving]
yfeldblu_ has quit [Remote host closed the connection]
rohit has joined #ruby-lang
earthquake has joined #ruby-lang
jhulten has quit [Ping timeout: 252 seconds]
yfeldblu_ has joined #ruby-lang
bjh13 has joined #ruby-lang
Zeeo has quit [Quit: -]
Cakey has quit [Quit: leaving]
Cakey has joined #ruby-lang
Snibble has quit [Quit: Leaving.]
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
dalzony has joined #ruby-lang
CoreData has quit [Read error: Connection reset by peer]
CoreData has joined #ruby-lang
nisstyre has quit [Ping timeout: 260 seconds]
Guest68191 has joined #ruby-lang
Guest68191 is now known as diegoviola
dalzony has quit [Ping timeout: 260 seconds]
bzalasky has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby-lang
dalzony has joined #ruby-lang
Domon_ has quit [Quit: Connection closed for inactivity]
vlad_starkov has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
nisstyre has joined #ruby-lang
wallerdev has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 246 seconds]
ecnalyr has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
rohit has quit [Ping timeout: 244 seconds]
soba has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
rohit has joined #ruby-lang
Cakey has joined #ruby-lang
NemesisD has quit [Ping timeout: 252 seconds]
azbubba has joined #ruby-lang
<retro|cz> Anyone related to rubysec here?
mucker has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
CaptainJet has quit []
vinhbachsy has joined #ruby-lang
vinhbachsy has quit [Client Quit]
NemesisD has joined #ruby-lang
kek has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
nXqd has joined #ruby-lang
azbubba has left #ruby-lang [#ruby-lang]
kek has quit [Ping timeout: 246 seconds]
earthquake has quit [Quit: earthquake]
nXqd has quit [Ping timeout: 252 seconds]
guns has quit [Quit: guns]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
simoz has joined #ruby-lang
bzalasky has quit [Ping timeout: 260 seconds]
jhulten has joined #ruby-lang
simoz has quit [Ping timeout: 272 seconds]
jsullivandigs has joined #ruby-lang
bzalasky has joined #ruby-lang
jhulten has quit [Ping timeout: 240 seconds]
achru has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
brianpWins has joined #ruby-lang
NemesisD has quit [Quit: WeeChat 0.4.2]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
JoshuaPaling has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
bzalasky has quit [Ping timeout: 268 seconds]
dhruvasagar has joined #ruby-lang
ecnalyr has joined #ruby-lang
iliketurtles has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 240 seconds]
ecnalyr has quit [Ping timeout: 245 seconds]
<Dakota|away> he woke up with a beard the very next day.
Dakota|away is now known as Jadenn
rohit has quit [Quit: Leaving]
<r0bglees0n> Jadenn: hibernation can do that
kek has joined #ruby-lang
Oak has joined #ruby-lang
kek has quit [Ping timeout: 260 seconds]
stardiviner has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
bzalasky has joined #ruby-lang
Elico has quit [Quit: Elico]
zz_michael_mbp is now known as michael_mbp
iliketurtles has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
Bosox20051 has quit [Quit: Leaving]
Olipro has joined #ruby-lang
ruby-lang145 has joined #ruby-lang
bzalasky_ has joined #ruby-lang
iliketurtles has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
iliketurtles has quit [Max SendQ exceeded]
serpent403 has joined #ruby-lang
lupine has quit [Ping timeout: 245 seconds]
serpent403 has quit [Client Quit]
Naeblis has left #ruby-lang [#ruby-lang]
arBmind has joined #ruby-lang
ruby-lang145 has quit [Ping timeout: 250 seconds]
cschneid has quit [Ping timeout: 245 seconds]
jayne has quit [Read error: Connection reset by peer]
kurko_ has joined #ruby-lang
jayne has joined #ruby-lang
iliketurtles has joined #ruby-lang
bzalasky_ has quit [Remote host closed the connection]
lupine has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
cschneid has joined #ruby-lang
rickhull1 has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
RickHull has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
Newbie0086 has joined #ruby-lang
pothibo has quit [Quit: pothibo]
kek has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
bzalasky_ has joined #ruby-lang
albioner has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
kek has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby-lang
JohnBat26 has joined #ruby-lang
albioner has quit [Client Quit]
L0rdShrek_____ has quit [Quit: Connection closed for inactivity]
Newbie0086 has quit [Ping timeout: 246 seconds]
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
bzalasky_ has quit [Remote host closed the connection]
yfeldblu_ has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
yfeldblum has joined #ruby-lang
bzalasky has quit [Ping timeout: 268 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
serpent403 has joined #ruby-lang
kurko__ has joined #ruby-lang
serpent403 has quit [Client Quit]
bzalasky has joined #ruby-lang
priodev has quit [Ping timeout: 240 seconds]
kurko_ has quit [Ping timeout: 252 seconds]
dingus_khan has joined #ruby-lang
mistym has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 260 seconds]
KM has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
vlad_starkov has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
r0bglees0n is now known as teabag
vlad_starkov has quit [Read error: Connection reset by peer]
iliketurtles has quit [Quit: zzzzz…..]
robbyoconnor has joined #ruby-lang
iliketurtles has joined #ruby-lang
relix has joined #ruby-lang
JohnBat26 has joined #ruby-lang
teabag has quit [Read error: Connection reset by peer]
thelorax123 has quit [Remote host closed the connection]
teabag has joined #ruby-lang
datanoise has quit [Ping timeout: 262 seconds]
thelorax123 has joined #ruby-lang
dagobah has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
kurko_ has joined #ruby-lang
priodev has joined #ruby-lang
kek has joined #ruby-lang
kek_ has joined #ruby-lang
kurko__ has quit [Ping timeout: 268 seconds]
kek has quit [Ping timeout: 268 seconds]
dalzony has quit [Quit: Leaving.]
kek_ has quit [Ping timeout: 244 seconds]
bzalasky has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
dingus_khan has joined #ruby-lang
rask62 has joined #ruby-lang
dalzony has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
rask62 has quit [Client Quit]
r0bby_ has joined #ruby-lang
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
Y_Ichiro has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
jmeeuwen has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
bzalasky has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
bastilian_ has quit [Read error: Connection reset by peer]
dingus_khan has quit [Ping timeout: 272 seconds]
bastilian has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
h_kon has joined #ruby-lang
lacrosse has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<Jadenn> how would i go about displaying how long it took to generate a page with sinatra? i had that on my php app, not quite sure how to do it in ruby
<Jadenn> my google-fu seems to failing at this particular query
achiu1 has quit [Ping timeout: 265 seconds]
<jrobeson> asking in #sinatra would be better
<RickHull> sinatra defers all logging to rack:commonlogger IIRC
lun__ has joined #ruby-lang
apeiros has joined #ruby-lang
<RickHull> you'd probably want something in rack to start the timer, hand the request to sinatra, and stop the timer when it comes back
<Jadenn> in php i could just store the current time in milliseconds in a variable at the top of the page, and then calculate the difference at the bottom
<jrobeson> pretty much the same thing in ruby
<Jadenn> alright
<jrobeson> althoug hit's possible that sinatra sets something like REQUEST_TIME_FLOAT like many php framewoerks do
<RickHull> sinatra is like php, and rack is like apache in that case
<RickHull> so php can easily say, i got this thing, i did this, it took this long
<jrobeson> check Rack
<RickHull> you can implement something similar on the sinatra side or the rack side
arBmind has joined #ruby-lang
<jrobeson> i mean check the rack classes see if that set that up on Rack::Request
<RickHull> use this as an exercise to learn about rack
<jrobeson> but it's also possible it doesn't.. and ther'es actually something already in sinatra, but they'd know better than we would
<RickHull> if you don't understand why the rack approach beats the shit out of mod_php, keep studying rack
<Jadenn> yeah i already looked through the request variables
<jrobeson> rickhull, not everybody uses mod_php anymore :)
<RickHull> not even me :(
<Jadenn> never used mod_php :P apache is stinky. i used nginx/php-fpm
<jrobeson> fastcgi + nginx seems prefered these days
<Jadenn> currently im using nginx as a front end and using passenger to serve my sinatra app
<RickHull> i haven't visited ##php in about 10 years so...
<RickHull> around the 4->5 transition
h0rrorvacui has quit [Quit: ZQ]
knu has quit [Ping timeout: 240 seconds]
<jrobeson> php is a lot different now.. anonymous functions, generators, shorter array syntax, etc
<Jadenn> yeah i finally realized how horrid php is XD
<jrobeson> it's still not as good as ruby .. but it's a ton better
<jrobeson> php now has stronger object typing than ruby does
<RickHull> what's tough is that php makes you "lazy" about a few things
<RickHull> and maybe it's better now
<jrobeson> not if you're using the modern frameworks.. at least not any more lazy than rak
knu has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
<jrobeson> in fact.. php finally has a rack thing
<RickHull> cakefony
<jrobeson> not php itself.. but a sub project
<jrobeson> uggh cakephp
<jrobeson> symfony2 is all about dependency injection.. interfaces, and such.. very java like really
nXqd has joined #ruby-lang
<Jadenn> i was surprised how easy it was to come from php to ruby. i had never touched ruby before 2 days ago, and i've already interfaced my old apps database and displayed its posts
arBmind has joined #ruby-lang
<jrobeson> i wish there were better ruby web frameworks than rails and sinatra tho :(
<RickHull> keep it up, and you won't look back after long. ruby has the accessibility of PHP without the WTFery
<jrobeson> something full featured like rails.. but without all the coupling everywhere
<RickHull> sounds like the holy grail
datanoise has joined #ruby-lang
<Jadenn> all i ever knew was php, so any WTFery was normal to me :P
<jrobeson> that's what using symfony was like
<jrobeson> symfony2 *
<RickHull> either you get a clean modular design, or you get full featured integration with coupling
<jrobeson> not as decoupled as say Aura.. but still
<jrobeson> symfony2 had both of those features really.. via DI and the event stuff
<RickHull> gotta run, laterz
iliketurtles has quit [Quit: zzzzz…..]
nXqd has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
ezkl has joined #ruby-lang
ezkl has quit [Client Quit]
nXqd has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
tbuehlmann has joined #ruby-lang
arBmind has joined #ruby-lang
rickhull1 has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
<maloik> I'm currently logging a rack app like so: https://gist.github.com/hannesfostie/842a45f38d5fb7baf2be - anyone know how to improve logging, or at the very least add timestamps ?
benlovell has joined #ruby-lang
bzalasky_ has joined #ruby-lang
pipecloud_ has joined #ruby-lang
mdedetri_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kek has joined #ruby-lang
bzalasky_ has quit [Ping timeout: 252 seconds]
mdedetrich has quit [Ping timeout: 240 seconds]
bzalasky has quit [Remote host closed the connection]
pipecloud has quit [Ping timeout: 240 seconds]
verto has quit [Ping timeout: 240 seconds]
Y_Ichiro has quit [Write error: Broken pipe]
verto has joined #ruby-lang
tubbo has quit [Ping timeout: 240 seconds]
dalzony has quit [Quit: Leaving.]
Y_Ichiro_ has joined #ruby-lang
<yorickpeterse> maloik: y u no use Logger
<yorickpeterse> also morning
* Jadenn smacks the offending server
Y_Ichiro_ has quit [Changing host]
Y_Ichiro_ has joined #ruby-lang
vbatts has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
marr has joined #ruby-lang
tubbo has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
kek has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
dingus_khan has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 240 seconds]
datanoise has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 272 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
bruno- has joined #ruby-lang
bastilian has quit [Ping timeout: 264 seconds]
yfeldblu_ has quit [Ping timeout: 268 seconds]
ikrima has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Write error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
ikrima has joined #ruby-lang
dalzony has joined #ruby-lang
kek has joined #ruby-lang
RickHull has quit [Quit: Leaving.]
riffraff_ has joined #ruby-lang
hhatch has joined #ruby-lang
JohnBat26 has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
<maloik> yorickpeterse: not sure how... tried it if I remember correctly, but couldnt get it to log properly
havenwood has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
riffraff_ has left #ruby-lang [#ruby-lang]
havenwood has quit [Read error: Connection reset by peer]
thelorax123 has joined #ruby-lang
riffraff has joined #ruby-lang
havenwood has joined #ruby-lang
Violentr has joined #ruby-lang
rob_ has joined #ruby-lang
<rob_> hi
<rob_> how do people cope with loading a config file in an application root from a file that is an unknown depth of directories down the tree?
nofxx has quit [Ping timeout: 265 seconds]
<ljarvis> rob_: just keep going up a dir until you find it
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
<rob_> ljarvis: fair enough :)
mucker has quit [Ping timeout: 245 seconds]
ledestin has joined #ruby-lang
adambeynon has joined #ruby-lang
<lianj> def find_file(conf, dir=Dir.pwd); file = nil; t = File.expand_path(dir); (t.count("/")+1).times{ f = File.join(t, conf); (file = f; break) if File.exists?(f); t = File.dirname(t) }; file; end
<lianj> now someone paste a nicer way
banisterfiend has joined #ruby-lang
<yorickpeterse> maloik: logger = Logger.new('path/to/file.log'); logger.info 'herp derp'
jerrytgarcia has joined #ruby-lang
<maloik> I just want it to log errors like it does now without having to actually log stuff manually
<maloik> I believe it may be due to our webserver setup that everything goes into stderr
<yorickpeterse> oh right
wallerdev has quit [Quit: wallerdev]
kek_ has joined #ruby-lang
<rob_> lianj: i came up with: http://hastebin.com/merigiwota.pas
<ljarvis> that's succint and fairly similar to what i would do, fwiw though Pathname would make it a little easier on the eyes
<rob_> ljarvis: was that to me?
<ljarvis> si
* rob_ looks at Pathname
datanoise has joined #ruby-lang
unrealhoang has joined #ruby-lang
<rob_> i read somewhere that it's common practice to load your yaml config as an ERB object, is that still the case?
<ljarvis> only if you need to write ruby in your yaml config
<matti> ERB?
kek_ has quit [Ping timeout: 272 seconds]
<rob_> ljarvis: ahh that makes sense
mclee has quit [Ping timeout: 240 seconds]
go|dfish has quit [Ping timeout: 240 seconds]
arBmind has quit [Read error: Connection reset by peer]
hackeron has quit [Ping timeout: 240 seconds]
datanoise has quit [Ping timeout: 272 seconds]
hackeron has joined #ruby-lang
<yorickpeterse> Ladies and gentlemen, I present to you: How to parse dates the hard way:
io_syl has quit []
arBmind has joined #ruby-lang
<rob_> :o
hogeo has joined #ruby-lang
lacrosse has joined #ruby-lang
<yorickpeterse> I'm going in
* yorickpeterse mumbles something about leeroy jenkins
<Jadenn> LEEEEROOOOOOY JENKINNNNNS
<Jadenn> we have a friend called gartia jenkins, so he gets called that a few times a day XD
<yorickpeterse> I don't like people who use emotes
<yorickpeterse> inb4 somebody comes in and says "you don't like people anyway"
<yorickpeterse> which is true for the most part
<rob_> :o
<rob_> but they're so emotive!
<Jadenn> this is why i don't go on freenode often :3
dalzony has quit [Quit: Leaving.]
<ddfreyne> yorickpeterse: what do you mean by the volume bar thing?
<ddfreyne> (and yes I am at soundcloud)
<yorickpeterse> ddfreyne: https://soundcloud.com/dancewiththedead at the top right, that volume bar
<yorickpeterse> if you click it your ears are wrecked
<yorickpeterse> (while playing music)
<Jadenn> oh yeah that happens to me alot.
hogeo has quit [Ping timeout: 245 seconds]
<Jadenn> if anything clicking should mute
vlad_starkov has joined #ruby-lang
<ddfreyne> yorickpeterse: Not sure I understand :(
<yorickpeterse> play one of the songs on that page
<ddfreyne> If you click it, it mutes when the music is playing
thelorax123 has quit [Remote host closed the connection]
<yorickpeterse> huh, I could've sworn it cranked it up to 100%
<Jadenn> turns up to full for me
Y_Ichiro_ has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> WHAT IS THIS TRICKERY?
thelorax123 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<ddfreyne> Meaning if that when the volume is at e.g. 50% and you click on it it goes to full?
arBmind has quit [Read error: Connection reset by peer]
<yorickpeterse> I...I'm not sure anymore, I could've sworn that whenever you'd click the volume icon it would go into oons oons mode
<yorickpeterse> maybe I'm just stupid, which wouldn't be surprising
<ddfreyne> That would be a bug, but I cannot reproduce it
<ddfreyne> Let me know if you can reproduce it
<yorickpeterse> will do
<ddfreyne> at denis @ that website dot com :P
arBmind has joined #ruby-lang
<gnufied> ha ha, soundcloud bugs. :-)
<rob_> i want to have consistency across my application and im using 'sinatra/config_file' which creates a 'settings' object whose methods are settings... how can i do this when my settings are in hash?
<ddfreyne> P.S.: I’m always in oons oons mode!
<yorickpeterse> ddfreyne: I prefer if my ears could last a bit longer than 2 minutes
<ddfreyne> yorickpeterse: :(
<yorickpeterse> gah wtf, my Pry is all fucked up
robonerd has joined #ruby-lang
<yorickpeterse> oh hm, it's pry-theme
* yorickpeterse runs to #pry
tobiasvl has joined #ruby-lang
solars has joined #ruby-lang
mucker has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
<ljarvis> NO
<ljarvis> i am so angry
<ljarvis> protip backup your shit
<yorickpeterse> somebody stoll your sweetroll?
<yorickpeterse> * stole
<yorickpeterse> ffs
<ljarvis> my recycle bin stole my ~/.vim
<yorickpeterse> lol
<yorickpeterse> dotfiles bra
<ljarvis> yeah my backups are way old
<yorickpeterse> pfff, backups
<ljarvis> because i fucking suck
<yorickpeterse> I have a flash drive with my private keys and an HDD that's probably a year out of date
<ljarvis> lul
<maloik> colleague of mine printed his private key and put it in a safe at the bank
<maloik> some serious james bond shit there
<yorickpeterse> going to be fun typing that over
<maloik> yea
<yorickpeterse> "KEY SIGNING PARTY, PRINT YOUR PUBKEYS ON PAPER!" - yeah no
<Jadenn> my two seagates have lasted years of continuous runtime. im quite pleased
havenwood has joined #ruby-lang
<yorickpeterse> I think I do have my photos and some other non Git-capable files backed up, the rest I don't really care much about
<Jadenn> SMART on the first one is a bit fuckered so i made that a mass storage drive
CoreData has quit [Quit: CoreData]
retro|cz has quit [Ping timeout: 260 seconds]
CoreData has joined #ruby-lang
havenn has joined #ruby-lang
CoreData has quit [Client Quit]
havenwood has quit [Ping timeout: 245 seconds]
CoreData has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.1]
solars has joined #ruby-lang
ismaelrb has joined #ruby-lang
mdedetri_ has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.1]
h_kon has joined #ruby-lang
solars has joined #ruby-lang
ldnunes has joined #ruby-lang
vbatts has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
kek_ has joined #ruby-lang
mucker has quit [Remote host closed the connection]
solars has quit [Quit: WeeChat 0.4.1]
kek_ has quit [Ping timeout: 272 seconds]
solars has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bastilian has joined #ruby-lang
sepp2k has joined #ruby-lang
Cakey has joined #ruby-lang
arBmind1 has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
arBmind1 has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
x0f has quit [Ping timeout: 260 seconds]
[spoiler] has joined #ruby-lang
workmad3 has quit [Quit: leaving]
elia has quit [Quit: Computer has gone to sleep.]
mnngfltg has joined #ruby-lang
benanne has joined #ruby-lang
[spoiler] has quit [Ping timeout: 246 seconds]
soba has quit [Ping timeout: 260 seconds]
rue|w has joined #ruby-lang
unrealhoang has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
havenwood has joined #ruby-lang
rickhull1 has quit [Quit: Leaving.]
havenwood has quit [Ping timeout: 252 seconds]
[spoiler] has joined #ruby-lang
ledestin has quit [Quit: ledestin]
elia has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
SteveBenner9 has joined #ruby-lang
hogeo has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
mdedetrich has joined #ruby-lang
lovesruby has joined #ruby-lang
benlovell has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
kek_ has joined #ruby-lang
mclee has joined #ruby-lang
dhruvasagar has joined #ruby-lang
datanoise has joined #ruby-lang
go|dfish has joined #ruby-lang
smashwilson has joined #ruby-lang
kek_ has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
lun__ has quit [Ping timeout: 252 seconds]
datanoise has quit [Ping timeout: 272 seconds]
arBmind has joined #ruby-lang
hogeo has joined #ruby-lang
<[spoiler]> Does anyone know any good Ruby jokes/examples of silly code?
JoshuaPaling has joined #ruby-lang
<Jadenn> [spoiler]: http://paste.axiom.tk/73
<yorickpeterse> [spoiler]: Rails
dhruvasagar has quit [Ping timeout: 245 seconds]
<[spoiler]> yorickpeterse: LOL
<yorickpeterse> exactly
<[spoiler]> Jadenn: Oh, that's a nice example, thanks!
dingus_khan has joined #ruby-lang
<[spoiler]> I was asked to hold a small talk about programming on my Uni, so I'm gonna cover a few cool languages
<[spoiler]> Ruby has to be on that list, innit
vlad_starkov has joined #ruby-lang
lovesruby has quit [Ping timeout: 250 seconds]
hogeo has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 246 seconds]
Oak has quit [Remote host closed the connection]
tbuehlmann has quit [Ping timeout: 264 seconds]
dingus_khan has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
danguita has joined #ruby-lang
davejlong1 has joined #ruby-lang
<ljarvis> that code scales
<ljarvis> >> 1
vlad_starkov has quit [Remote host closed the connection]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
<ljarvis> god dammit eval-in_
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
<[spoiler]> haha
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
bastilian has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
ismaelrb has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 245 seconds]
csaunders has quit [Quit: ZNC - http://znc.sourceforge.net]
csaunders has joined #ruby-lang
randomizer has joined #ruby-lang
banisterfiend has joined #ruby-lang
kek_ has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
arBmind has quit [Read error: Connection reset by peer]
ikrima has quit [Ping timeout: 268 seconds]
bastilian has joined #ruby-lang
kek_ has quit [Ping timeout: 245 seconds]
arBmind has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
r0bby_ has quit [Ping timeout: 248 seconds]
bzalasky has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
Paradox has quit [Ping timeout: 264 seconds]
breakingthings has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
yalue has joined #ruby-lang
elia has joined #ruby-lang
bzalasky has quit [Ping timeout: 245 seconds]
gianlucadv has joined #ruby-lang
mbj_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
madb055 has quit [Ping timeout: 252 seconds]
benlovell has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
mbj_ has quit [Quit: leaving]
arBmind has joined #ruby-lang
lfox has joined #ruby-lang
bzalasky has joined #ruby-lang
guns has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
lele has quit [Ping timeout: 252 seconds]
bzalasky has joined #ruby-lang
Snibble has joined #ruby-lang
lele has joined #ruby-lang
bzalasky has quit [Ping timeout: 246 seconds]
arBmind has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
ikrima has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
scampbell has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 244 seconds]
DouweM has quit [Read error: Operation timed out]
dhruvasagar has joined #ruby-lang
banisterfiend has joined #ruby-lang
Cakey has joined #ruby-lang
kek_ has joined #ruby-lang
datanoise has joined #ruby-lang
nlv has joined #ruby-lang
tdm00 has joined #ruby-lang
nlv has quit [Remote host closed the connection]
kek_ has quit [Ping timeout: 246 seconds]
Kabaka has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
davejlong1 has left #ruby-lang [#ruby-lang]
datanoise has quit [Ping timeout: 240 seconds]
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
danguita has quit [Ping timeout: 240 seconds]
Elico has joined #ruby-lang
marcostoledo has joined #ruby-lang
yfeldblum has joined #ruby-lang
marcostoledo has quit [Client Quit]
nigerianceo has joined #ruby-lang
tomzx_mac has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
elia has quit [Ping timeout: 272 seconds]
lfox has quit []
lfox has joined #ruby-lang
jasiek has joined #ruby-lang
solars has joined #ruby-lang
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
elia has joined #ruby-lang
mr_red has joined #ruby-lang
relix has joined #ruby-lang
shinnya has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
<yorickpeterse> ljarvis: so how's the train business, I'm seeing a lot of train spam on the Twitters
mucker has joined #ruby-lang
Mortal- has joined #ruby-lang
<gnufied> two things, a. Trains b. Weather
<gnufied> and then you know if person you are talking to is English
<gnufied> :-)
dhruvasagar has quit [Ping timeout: 246 seconds]
danguita has joined #ruby-lang
dhruvasagar has joined #ruby-lang
danguita has quit [Ping timeout: 264 seconds]
ecnalyr has joined #ruby-lang
<Mortal-> Hello, can anyone help me? This 5 lines works in irb: https://gist.github.com/anonymous/7431816 , but the same lines in script doesnt work. Script return "????????", in irb is correct translit from czech characters. Same server, email, terminal, environment,.... I dont know, why is this different
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
danguita has joined #ruby-lang
Snibble has quit [Quit: Leaving.]
Snibble has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> ljarvis: whatever you do, don't....go loco
<yorickpeterse> YEEAAAAAAHHH
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> I'll see myself out
dostoyevsky has quit [Quit: leaving]
<yorickpeterse> Mortal-: if you're on 1.9/2.0 you don't need Iconv
<x0f> Mortal-, did you just try subject.to_s.encode("UTF-8"), which ruby version are you on?
<yorickpeterse> but without the content it's hard to say
yfeldblu_ has quit [Ping timeout: 240 seconds]
<Mortal-> version 1.8.7, hmm, perhaps I can try update of ruby
<ljarvis> yorickpeterse: :D yeah we launched some stuff today
<yorickpeterse> grats
arBmind has quit [Quit: Leaving.]
<yorickpeterse> ljarvis: you should branch out to NL so you can kick the ass of the terrible web services provided by ns.nl
<yorickpeterse> and actually provide a decent API that doesn't require you to blow 15 managers before you can get access
<yorickpeterse> (NS is pretty strict on it)
<Mortal-> the script should be shorter, this line without tmail doesnt work, only in irb: "subject = Iconv::conv('ascii//translit', 'UTF-8', 'ěščřžýáíé')" and I need iconv because i need translit (convert czech character to ascii, for example ř => r)
jperry has joined #ruby-lang
coca_rails has joined #ruby-lang
lun__ has joined #ruby-lang
kek_ has joined #ruby-lang
h_kon has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 252 seconds]
kek_ has quit [Ping timeout: 240 seconds]
nathanstitt has joined #ruby-lang
DEac- has quit [Ping timeout: 268 seconds]
<ljarvis> yorickpeterse: we provide nl rail services but only those covered by dbahn
<ljarvis> yorickpeterse: but yeah that'd be nice
<ljarvis> yorickpeterse: also fwiw we have to blow everyone for api access to anything
heath has quit [Ping timeout: 245 seconds]
heath has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
loincloth has joined #ruby-lang
<yorickpeterse> lol dbahn covers fuck all here
<yorickpeterse> I mean the local train services, not those two trains that to go Druggytown
dc5ala has joined #ruby-lang
bf4 has joined #ruby-lang
<yorickpeterse> I've been thinking about hacking something together to measure daily delays on my route, but I don't think NS would like that
cnivolle_ has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
cnivolle has quit [Ping timeout: 252 seconds]
DEac- has joined #ruby-lang
havenwood has joined #ruby-lang
symm- has joined #ruby-lang
coca_rails has joined #ruby-lang
hogeo has joined #ruby-lang
rippa has joined #ruby-lang
workmad3 has joined #ruby-lang
coca_rails has quit [Ping timeout: 245 seconds]
benwoody has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
deggisv2 has left #ruby-lang [#ruby-lang]
leesharma has joined #ruby-lang
benlovell has joined #ruby-lang
bzb has joined #ruby-lang
achru has quit [Remote host closed the connection]
achru has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
coca_rails has joined #ruby-lang
<PaulePanter> Hi. If I have a regular expression, is there an easy way to create a random string adhering to this regular expression?
achru has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
<whitequark> easy? no
jsullivandigs has joined #ruby-lang
mistym has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
madb055 has joined #ruby-lang
io_syl has joined #ruby-lang
leesharma_ has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
leesharma has quit [Ping timeout: 252 seconds]
leesharma_ is now known as leesharma
rue|w has joined #ruby-lang
hhatch has quit [Ping timeout: 260 seconds]
<loincloth> PaulePanter: neat. what is this for?
<loincloth> whitequark: nice find. not sure why it has a genered name API at a glance..
<loincloth> seems weird for a library to weigh in on what the gender of a name is
banisterfiend has joined #ruby-lang
rue|w has quit [Ping timeout: 246 seconds]
hhatch has joined #ruby-lang
yfeldblum has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
leesharma has quit [Quit: leesharma]
mistym has quit [Remote host closed the connection]
leesharma has joined #ruby-lang
deception has joined #ruby-lang
<yorickpeterse> HAHAHA
<yorickpeterse> genders based on names
<yorickpeterse> lulz
<loincloth> Good One Robot says, "GOOD ONE."
<yorickpeterse> that honestly should go on the list of silly things next to comparing floats with ints
<yorickpeterse> and the others
<loincloth> name some more from that list
datanoise has joined #ruby-lang
<loincloth> the color purple
<yorickpeterse> storing dates without timezones
<loincloth> the color, not the story
<yorickpeterse> assuming everybody has a first and last name
<yorickpeterse> and that everybody is addressed in the same order
<yorickpeterse> assuming there are only 2 genders
bzalasky has quit [Ping timeout: 246 seconds]
<yorickpeterse> assuming names are always US ASCII
<yorickpeterse> time always goes forward
<yorickpeterse> (this list is pretty long)
<apeiros> yorickpeterse: it's useful. not to determine but to do a plausibility check.
<PaulePanter> loincloth: In Rails I have a regular expression that strings are matched against. Now I want to populate the database with a lot of values and have to create strings that are matched by the regular expression. Now I am looking for an easy way to do that.
<apeiros> we (want to) employe it for address data entry
<apeiros> *employ
leesharma has quit [Client Quit]
<apeiros> and no, US ASCII only is not a thing here :)
<manveru> PaulePanter: maybe try the faker library?
kek_ has joined #ruby-lang
<yorickpeterse> apeiros: the accuracy is about 1%
<yorickpeterse> it's like those "ARE YOU OVER 18?" forms
<apeiros> yorickpeterse: wrong
<apeiros> accurracy for our dataset is around 98%
micalexa_ has quit [Remote host closed the connection]
<toretore> apeiros: you're doing address verification/correction?
<apeiros> toretore: yes
micalexander has joined #ruby-lang
<toretore> where do you get the data from?
lfox has quit [Ping timeout: 264 seconds]
<apeiros> swiss postal service for most part
<toretore> oh
<toretore> so just ch then?
<apeiros> sadly yes
<toretore> ah
<apeiros> but since that's >95% of our customer base, that's "good enough" for now
<yorickpeterse> apeiros: so you do verify them manually afterwards?
<yorickpeterse> errr s/manually//
<apeiros> yorickpeterse: it's only a plausibility check, yes
<yorickpeterse> ah
<apeiros> it can't be used for 100% reliability
<apeiros> since there are shared names
<yorickpeterse> "YOUR NAME IS ASHE, THEREFOR YOU ARE FEMALE"
<toretore> apeiros: i'm looking for a service/data for addresses, but a little more universa
<yorickpeterse> "Are you a boy or a girl?" etc
<apeiros> and while I'm aware of transgender issues, our company addresses people as either Mr or Mrs - the choice which is on the customer, of course :)
<yorickpeterse> apeiros: oh, it's not even specific to that, it's just that it's often pretty inaccurate
<apeiros> toretore: tell me when you've found one. I'd like to extend verification to our neighboring countries :)
<yorickpeterse> I remember somebody made some JSON API for it a week or two ago
<yorickpeterse> of course it only did common US names
<yorickpeterse> apparently my gender was `null`
<ljarvis> how applicable
<apeiros> yeah, yours would probably not get a hit either
<apeiros> also if somebody enters you wrongly, the bias will go in the wrong direction
kek_ has quit [Ping timeout: 248 seconds]
<apeiros> i.e., the system draws knowledge from the existing dataset
<yorickpeterse> GET /gender/ljarvis => {"gender": "british"}
<toretore> apeiros: someone probably needs to start a service where they gather all this address data into one big db
<yorickpeterse> http://genderize.io/ this
<toretore> i don't want to be the one to do it
vmoravec has quit [Quit: Leaving]
<apeiros> toretore: some countries don't really have a useful address system at all :-/
<ljarvis> yorickpeterse: haha
<apeiros> but at least for those which have - it'd certainly be nice
<toretore> apeiros: well, i'd settle for just europe
<apeiros> yeah, me too
<toretore> apeiros: it's not something one could ever rely on in either case
<toretore> just for sanity checking or convenience
<manveru> yorickpeterse: my wife is male too :)
<apeiros> correct
<yorickpeterse> manveru: ha
micalexander has quit [Ping timeout: 245 seconds]
kurko_ has joined #ruby-lang
<apeiros> it'd avoid 99% of the BS we have in our DB, though
<apeiros> and it'd reduce costs of that BS by a 6 digit number…
<yorickpeterse> oh oh! I remembered a new one
<toretore> apeiros: what industry are you in?
<apeiros> financial services
<toretore> oh ok
<manveru> and with her name in kanji i get no response at all :(
<toretore> thought maybe you were a competitor ;)
<yorickpeterse> postal codes are always in the format of \d{\s+[a-zA-Z]+
<yorickpeterse> errr
<yorickpeterse> \d{4}
<apeiros> toretore: what business are you in then?
<toretore> logistics
<apeiros> ah
<toretore> parcels mostly
<apeiros> that'd be interesting too :)
<yorickpeterse> manveru: it's PHP, it probably doesn't know what encodings are
<apeiros> toretore: if you ever go about building an address system thingy for europe, tell me. I'd be interested in participating (if it's BSD/MIT licensed, that is)
<manveru> ah, it works if i add the country code
<toretore> apeiros: yeah. i just hope the data is freely available
<toretore> you can verify postcodes if you know the geographical entity it's associated with
<toretore> FR-NNNNN or GB-CCCCCC
<apeiros> toretore: part of the swiss data is
<apeiros> streets aren't
<apeiros> but that can be worked around
<toretore> ah
<apeiros> or you can leave it "pluggable"
<yorickpeterse> oh oh! Streets always have street names and house numbers
<apeiros> i.e., "if you buy the data, you can use this part too"
Snibble has quit [Quit: Leaving.]
<apeiros> yorickpeterse: that was sarcastic, right? :)
<yorickpeterse> No that was totally legit
<apeiros> like the one about everybody has first & last name, and everybody has a clear gender etc.
<yorickpeterse> also house numbers are unique across streets
<apeiros> oh
<apeiros> yeah
<yorickpeterse> *ALWAYS*
<toretore> imo everyone should just standardize on address formats
<apeiros> and there'd never be half-numbers
<yorickpeterse> toretore: have fun explaining that to all of Asia
<yorickpeterse> apeiros: yeah or suffixes
<yorickpeterse> or just the same number twice
hogeo has quit [Remote host closed the connection]
<bf4> http://isotope11.com/blog/sex-machine gender by geography
<apeiros> or the house number in front of the street name
<toretore> that's the same argument against every case of standardisation ever
Snibble has joined #ruby-lang
<apeiros> toretore: agreed
<apeiros> toretore: and the more do, the bigger the pressure on those who haven't yet.
hogeo has joined #ruby-lang
<yorickpeterse> sex machine? more like....om nom nom RAM machine
<toretore> standards are immensely powerful
<yorickpeterse> <insert xkcd comic about standards>
<yorickpeterse> http://xkcd.com/927/
bahar_ has joined #ruby-lang
<toretore> that's demonstrably untrue in many cases
dhruvasagar has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
<toretore> one standard tends to win
<yorickpeterse> which is why there are so many fucking time format standards
<yorickpeterse> or address standards
<yorickpeterse> or encoding standards
<toretore> there is just one, iso 8601
<toretore> again, just one, unicode
<yorickpeterse> neg
<toretore> for addresses, there isn't one
<yorickpeterse> RFC 2822
<yorickpeterse> and RFC 822
<toretore> iso 8601 and unicode are winning because they're better/good enough
<toretore> i'm talking about standards that people use
hogeo has quit [Ping timeout: 244 seconds]
solars has quit [Ping timeout: 272 seconds]
<toretore> unicode can be used for pretty much any language, dead, alive, real or imaginary
thelorax123 has quit [Remote host closed the connection]
<toretore> and that's wjy people use it
<yorickpeterse> Unicode is pretty common yes, but you'd be surprised at how often it's not used
<whitequark> there's no tengwar in unicode
<whitequark> outrage
<yorickpeterse> "herp derp lets use Koi-whatever-it-was"
<toretore> lol
thelorax123 has joined #ruby-lang
<toretore> non-unicode is most often found in legacy systems
<toretore> any new system will most likely use unicode
DouweM has joined #ruby-lang
<yorickpeterse> "legacy"
teabag has quit [Ping timeout: 272 seconds]
<yorickpeterse> browse around random websites, note how many still use latin-1
<yorickpeterse> (for example)
<yorickpeterse> Don't get me wrong, Unicode certainly is the dominate force, but I wouldn't say it's "winning"
<toretore> so? they will switch eventually
<toretore> it is definitely winning, no arguing about it
<yorickpeterse> also lol at "API standards"
<yorickpeterse> (hint: there's no such thing)
<toretore> if your api uses dates in a format without native support for them, you use 8601
<toretore> that's the standard
snarfmason has joined #ruby-lang
<toretore> anyone who doesn't use it are dumb
<toretore> these things are good standards because they don't cause any loss
<toretore> any time can be represented in 8601, and any language can be represented in unicode
<yorickpeterse> lol
<toretore> if a standard causes loss it is effectively a leaky abstraction
<yorickpeterse> Also, ISO 8601 for times is a perfect example of where the Yanks are like "FUCK THAT"
Kabaka has quit [Read error: Connection reset by peer]
<yorickpeterse> "12 HOUR FORMAT ALL THE THINGS"
Boohbah has quit [Write error: Connection reset by peer]
<apeiros> *shrug* fuck them then :-)
<yorickpeterse> well that's a different topic
<toretore> there's a difference between information meant for peope and information meant for machines
<toretore> they're often conflated though
<toretore> like when people use mm/dd/yy for apis
<toretore> or unix
<yorickpeterse> I've seen fucking APIs use 12 hour formats
<yorickpeterse> Also remember SOAP? Yeah, there are about a million different implementations of it out there
CaptainJet has joined #ruby-lang
<toretore> i think that was in the design.. afaik soap was meant to be flexible
<toretore> the actual structure of the api was left to the designer
nofxx has joined #ruby-lang
<toretore> soap was.. what's it called again? they're trying to do it again now with these api "links"
<yorickpeterse> I'm talking about SOAP shit without WSDLs (a core part), etc
<yorickpeterse> another example: REST
coca_rails has quit [Remote host closed the connection]
<toretore> where you get a resource, and it includes links to related resources
<yorickpeterse> there are very few APIs that actually follow it down to the hardcore level
<toretore> so that you don't actually generate urls locally
<toretore> most "rest" is just a 1-1 reflection of the db schema
Boohbah has joined #ruby-lang
<toretore> but enough ranting. now i must clean my body.
<yorickpeterse> which proves my point of people not following the standard, though REST at least doesn't have an RFC/ISO so you can get away with it
<toretore> rest isn't a standard as such.. and definitely not one i would recommend as "universal"
<toretore> like i would iso 8601
<apeiros> the more complex a standard, the more disputed it'll be…
Snibble has quit [Quit: Leaving.]
yfeldblum has quit [Remote host closed the connection]
<whitequark> apeiros: isn't it the other way round?
<whitequark> bikeshed effect
<apeiros> hmmmmmm
<apeiros> good point
alekst has joined #ruby-lang
bzb has quit [Quit: I hate to quit but my bladder's full. :-(]
aerook has joined #ruby-lang
hogeo has joined #ruby-lang
micalexander has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
wallerdev has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
<yorickpeterse> I personally can't wait until somebody slaps a WSDL on top of a REST API
<yorickpeterse> "SOAPY-REST: THE NEW COOL THING FROM SCROOGE MC JAVASCRIPT"
Kabaka has joined #ruby-lang
symm- has quit [Ping timeout: 248 seconds]
corundum has quit [Read error: Connection reset by peer]
hogeo has quit [Ping timeout: 245 seconds]
<aerook> can anyone help me understand line 5 of : https://gist.github.com/anonymous/f19524115cf59aeb0c33 ?
<aerook> it's raising an error
micalexander has quit [Read error: Connection reset by peer]
micalexander has joined #ruby-lang
<yorickpeterse> what error?
<yorickpeterse> also line 5 should not raise an error, that's next to impossibru
<toretore> SyntaxError
<aerook> yea syntax
Cakey has quit [Ping timeout: 245 seconds]
<yorickpeterse> oh wait
<yorickpeterse> ha
<yorickpeterse> didn't notice the space
<toretore> ||=
dc5ala has quit [Ping timeout: 272 seconds]
<toretore> what is this, python?
<toretore> i will put spaces wherever i please, thank you very much.
yfeldblum has joined #ruby-lang
hhatch has quit [Ping timeout: 246 seconds]
bahar has quit [Remote host closed the connection]
bahar_ is now known as bahar
MrPot4to has joined #ruby-lang
bahar has quit [Changing host]
bahar has joined #ruby-lang
<yorickpeterse> bah, URL validation using regexps is hairy
<yorickpeterse> especially for 60 different websites
<yorickpeterse> I can already envision the amount of derps that will be had with them
styped has joined #ruby-lang
rue|w has joined #ruby-lang
gianlucadv has quit [Ping timeout: 260 seconds]
mistym has quit [Remote host closed the connection]
cnivolle_ has quit [Remote host closed the connection]
teabag has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
styped has quit [Quit: Textual IRC Client: www.textualapp.com]
rue|w has quit [Ping timeout: 240 seconds]
alekst has quit [Quit: Computer has gone to sleep.]
lfox has joined #ruby-lang
<aerook> something in https://gist.github.com/anonymous/d91c75e4aa24053be5e5 is causing an Unexpected end of input expecting keyword_end" to be raised on the last line
<aerook> all of my ends are accounted for
nigerianceo has quit []
io_syl has quit []
sepp2k has quit [Quit: Konversation terminated!]
<yorickpeterse> neg
<yorickpeterse> line 54
<yorickpeterse> you're missing an end of the if statement
nigerianceo has joined #ruby-lang
<aerook> ah, so i am
cnivolle has joined #ruby-lang
<aerook> i guess i had that block aligned goofy in my file, i hid it from myself!
Snibble has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
__butch__ has joined #ruby-lang
marr has joined #ruby-lang
havenwood has quit []
apeiros has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
MrZYX|off is now known as MrZYX
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Ping timeout: 246 seconds]
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
Uranio has joined #ruby-lang
postmodern has joined #ruby-lang
VTLob has joined #ruby-lang
sepp2k has joined #ruby-lang
kek has quit [Ping timeout: 248 seconds]
mnngfltg has quit [Quit: Ex-Chat]
benlovell has quit [Ping timeout: 240 seconds]
achru has joined #ruby-lang
Tearan has joined #ruby-lang
iliketurtles has joined #ruby-lang
amerine has joined #ruby-lang
Jadenn has quit [Quit: Textual IRC Client: www.textualapp.com]
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
hogeo has joined #ruby-lang
deception has quit [Quit: Goodbye]
MaddinXx_ has joined #ruby-lang
amerine has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
MrPot4to has quit [Read error: Connection reset by peer]
hogeo has quit [Ping timeout: 245 seconds]
pothibo has joined #ruby-lang
aerook has quit [Ping timeout: 250 seconds]
apeiros has joined #ruby-lang
amerine has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
kek has joined #ruby-lang
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
saarinen has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
yfeldbl__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
MrZYX is now known as MrZYX|off
saarinen has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
MrZYX|off is now known as MrZYX
breakingthings has quit [Ping timeout: 245 seconds]
Violentr has quit [Quit: jIRCii - http://www.oldschoolirc.com]
breakingthings has joined #ruby-lang
pothibo has quit [Quit: pothibo]
tylersmith has joined #ruby-lang
io_syl has joined #ruby-lang
wmoxam has quit [Ping timeout: 264 seconds]
lfox has quit [Quit: ZZZzzz…]
hogeo has joined #ruby-lang
Tearan has quit [Quit: Sleepy Badger....]
bantic has joined #ruby-lang
yfeldbl__ has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
simoz has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
dhruvasagar has quit [Read error: Operation timed out]
yfeldblum has joined #ruby-lang
wmoxam has joined #ruby-lang
havenwood has joined #ruby-lang
hahuang65 has joined #ruby-lang
jarednorman has joined #ruby-lang
<ljarvis> derp
hogeo has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby-lang
lfox has joined #ruby-lang
nofxx has quit [Ping timeout: 272 seconds]
hogeo has joined #ruby-lang
Snibble has quit [Quit: Leaving.]
loincloth has joined #ruby-lang
hogeo has quit [Ping timeout: 272 seconds]
Cakey has joined #ruby-lang
pkondzior___ has quit [Quit: Connection closed for inactivity]
Cakey has quit [Ping timeout: 245 seconds]
tdm00 has joined #ruby-lang
teabag is now known as turnip
sepp2k has quit [Ping timeout: 240 seconds]
jhulten has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
RickHull has joined #ruby-lang
Snibble has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
cnivolle has quit [Remote host closed the connection]
<ljarvis> great
<whitequark> now only one commit keeps parser from full 2.1 compat
jhulten has joined #ruby-lang
<whitequark> also, I hate myself
havenwood has joined #ruby-lang
beawesomeinstead has quit [Ping timeout: 260 seconds]
elia has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
<yorickpeterse> I do wonder why ""f was introduced and *then* people started argueing against it
smashwilson has quit [Ping timeout: 272 seconds]
simoz has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<whitequark> yorickpeterse: as opposed to?
alekst has joined #ruby-lang
<manveru> wtf is f?
<whitequark> frozen string literal
<whitequark> sigh
<yorickpeterse> writing down an actual proposal, discussing it to see what the options are, etc. Of course then you can still get to this point but from what I remember ""f was added pretty quickly
nathanstitt has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
<turnip> ""f was rejected no?
<ljarvis> it was implemented and then revoked
<yorickpeterse> ^
<ljarvis> once everyone saw sense
<turnip> everyone seemed to hate it quite a lot
<turnip> i thought it seemed good but never used it
<whitequark> however the solution was not invented immediately
sepp2k has joined #ruby-lang
<yorickpeterse> I still wonder where the use case would be, I can't think of any particular code that creates the same strings over and over in a loop for example
<yorickpeterse> if you pre-create strings and then iterate it wouldn't matter in both cases
<turnip> ah, so ""f was an optimized .freeze?
<yorickpeterse> for hash keys it does make sense
rwk1 has joined #ruby-lang
brianpWins has joined #ruby-lang
danguita has quit [Ping timeout: 244 seconds]
<yorickpeterse> though then you're left to wonder with why Symbols are still around
<turnip> was there any semantic differences between ""f and .freeze?
jxpx777 has joined #ruby-lang
brianpWins has quit [Remote host closed the connection]
<turnip> yorickpeterse: yeah, Symbol seems fine as an immutable key
<turnip> though they're not GC'ed
<turnip> id assume these strings are
<whitequark> turnip: semantic? no
<whitequark> yorickpeterse: it's not for code which creates string in a loop
<whitequark> it's for code which *uses* string literal in a loop
<whitequark> hoisting literals out of a loop to help VM is incredibly silly
<manveru> guess i should read through the 2.1 changes
<turnip> whitequark: so it was literal syntax for "foo".freeze and not much else, except easier to optimize?
<whitequark> turnip: yes
<turnip> okay
<turnip> thanks
<manveru> there are also r/i suffixes
<manveru> did they get removed as well?
<yorickpeterse> whitequark: I don't see why normal strings can't be optmized for that
<whitequark> manveru: no
<whitequark> yorickpeterse: because they're inherently mutable
<whitequark> basically the new solution is to pattern-match "...".freeze and treat it like one would ""f
<whitequark> it's a bit more complex because you can redefine #freeze
solars has joined #ruby-lang
<yorickpeterse> whitequark: given you could see if a string would be mutated in a loop you could still optimize that, but I guess the difficulty of that varies greatly from code to code
<whitequark> yorickpeterse: in a general case that's equivalent to halting problem
<whitequark> copy-on-write strings tried to solve that
<whitequark> but it's a whole different bag of problems
smashwilson has joined #ruby-lang
<yorickpeterse> Still wondering what the numbers have to say, haven't seen any benchmarks yet
<whitequark> do it yourself
<turnip> "foo".freeze isn't that common of a pattern ive seen in the wild in ruby, ive seen it, but rarely
<turnip> usually reserved for constant assigments
<whitequark> turnip: it's for a rather special case involving tight loops.
<yorickpeterse> whitequark: I'm not the one introducing the feature and claiming it has benefits
<whitequark> yorickpeterse: you're the one bitching about it though
<whitequark> even after it was reverted
<yorickpeterse> Correct, because I see people make performance statements with no (public) numbers to back it up with
<yorickpeterse> and once 2.1 is out I'll benchmark it anyway
<whitequark> on MRI this is mostly irrelevant
retro|cz has joined #ruby-lang
<whitequark> afaik the whole frozen string affair matters for jruby and maybe rbx.
<yorickpeterse> I'm mostly annoyed by "This is faster! No numbers but it's faster!"
Uranio has quit [Quit: while you reading this, a kitty dies]
<whitequark> $ ruby -e $'<<E\r+Math\nfoo\nE'
<whitequark> sigh...
davejlong has joined #ruby-lang
<whitequark> try it on 2.0 and 2.1
<yorickpeterse> don't have 2.1 installed
<yorickpeterse> gives error on 2.0
<turnip> yorickpeterse: im pretty confident charliesome would have done some research on this
<yorickpeterse> turnip: possibly, but the numbers being public would be nice
<turnip> true
benanne has quit [Quit: kbai]
robbyoconnor has joined #ruby-lang
jhulten 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
danguita has joined #ruby-lang
momomomomo has joined #ruby-lang
mucker has quit [Remote host closed the connection]
<whitequark> so, parser 2.1 is due soon
<whitequark> it's ready in fact, if ruby doesn't change something else.
<yorickpeterse> ljarvis: "When he’s not up to his neck in code, Lee is searching for the next exotic meat he hasn’t yet conquered." is this some innuendo?
hogeo has joined #ruby-lang
<yorickpeterse> "exotic meat" HMMM HMMMM
danguita has quit [Ping timeout: 248 seconds]
* yorickpeterse doesn't even have his own company profile :<
<mistym> yorickpeterse: How are you going to tell the world about your quest for exotic meat then?
<yorickpeterse> dunno, I'm more of a tea person
hogeo has quit [Ping timeout: 245 seconds]
<ljarvis> yorickpeterse: har
<ljarvis> yorickpeterse: I switched my profile to the top a few weeks ago
<ljarvis> yorickpeterse: they only noticed today
<mistym> Mystery tea is pretty good at raising your wisdom stat
Cakey has joined #ruby-lang
<ljarvis> trololol
dingus_khan has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 272 seconds]
<yorickpeterse> mystery what?
<yorickpeterse> wisdom stat?
<yorickpeterse> I mostly drink black tea, like a true brit
<yorickpeterse> no milk though, that's for babies
apeiros has quit [Remote host closed the connection]
<yorickpeterse> ljarvis: also you mean at the top of the page?
smashwilson has quit [Quit: Leaving]
<ljarvis> yorickpeterse: ya
<ljarvis> yorickpeterse: before the important people
dc5ala has joined #ruby-lang
<yorickpeterse> heh
<yorickpeterse> Hm, what I can do is change the company picture of my CTO so you see a tiny picture of me in the lower left corner
<ljarvis> :D
smashwilson has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
alekst has quit [Quit: Computer has gone to sleep.]
mistym is now known as mistym_lunch
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
tbuehlmann has quit [Quit: Konversation terminated!]
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby-lang
loincloth has quit [Ping timeout: 240 seconds]
jhulten_ has joined #ruby-lang
jhulten has quit [Read error: Connection reset by peer]
aef has quit [Ping timeout: 245 seconds]
loincloth has joined #ruby-lang
aef has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
mistym has joined #ruby-lang
MrZYX is now known as MrZYX|off
iliketurtles has quit [Quit: zzzzz…..]
MrZYX|off is now known as MrZYX
rickhull1 has joined #ruby-lang
hackeron has quit [Remote host closed the connection]
benanne has joined #ruby-lang
hackeron has joined #ruby-lang
apeiros has joined #ruby-lang
jhulten_ has quit [Remote host closed the connection]
robbyoconnor has quit [Max SendQ exceeded]
mr_red has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby-lang
mr_red has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
Guest38072 has joined #ruby-lang
hogeo has joined #ruby-lang
diego1 has joined #ruby-lang
diego1 is now known as diegoviola
leesharma has joined #ruby-lang
Guest38072 has quit []
hogeo has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Max SendQ exceeded]
leesharma has quit [Quit: leesharma]
rwk1 has quit [Remote host closed the connection]
solars has quit [Quit: WeeChat 0.4.1]
rwk1 has joined #ruby-lang
robbyoconnor has joined #ruby-lang
madb055 has quit [Ping timeout: 240 seconds]
workmad3 has quit [Read error: Operation timed out]
Snibble has quit [Quit: Leaving.]
solars has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
Snibble has joined #ruby-lang
RickHull has quit [Quit: Leaving.]
achru has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 245 seconds]
RickHull has joined #ruby-lang
Voluntarist has joined #ruby-lang
achru has joined #ruby-lang
madb055 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
benwoody has quit [Quit: benwoody]
achru has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
yalue has quit [Quit: Leaving]
<yorickpeterse> ddfreyne: PING PING PING PING PING PING PING
<yorickpeterse> damn it, where's danger denis if you need him
mistym_lunch is now known as mistym
mbj has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
nisstyre has joined #ruby-lang
zavulon has joined #ruby-lang
ledestin has joined #ruby-lang
charliesome has joined #ruby-lang
Voluntarist has quit [Ping timeout: 250 seconds]
jhulten has joined #ruby-lang
<charliesome> >> ObjectSpace.each_object(Data.singleton_class).to_a[1]
eval-in_ has quit [Remote host closed the connection]
<whitequark> charliesome: duh.
eval-in has joined #ruby-lang
<charliesome> >> ObjectSpace.each_object(Data.singleton_class).to_a[1]
<eval-in> charliesome => NameError::message (https://eval.in/66713)
<charliesome> >> ! ObjectSpace.each_object(Data.singleton_class).to_a[1]
<eval-in> charliesome => wrong number of arguments (0 for 3) (ArgumentError) ... (https://eval.in/66714)
<charliesome> discuss
<yorickpeterse> charliesome: your bot has been broken for a while
<yorickpeterse> of course not it works again
<charliesome> someone should've told me to fix it
<yorickpeterse> we did, in here
<yorickpeterse> but you weren't there!
<charliesome> twitter
<yorickpeterse> also what the fuck is that error
<charliesome> there's a class in ruby called NameError::message
<yorickpeterse> wat
<charliesome> that defines #!
LanceHaig has joined #ruby-lang
<drbrain> charliesome: yup
<charliesome> drbrain: do you know about this
<charliesome> explain
<drbrain> charliesome: I know it exists, but I forget what it does
<drbrain> I think rdoc discovered it and I had to special-case it
<drbrain> there's some other lower-case class names too
<drbrain> you can define ! since ruby 2.0, right?
cnivolle has joined #ruby-lang
<charliesome> since 1.9
<charliesome> >> ObjectSpace.each_object(Data.singleton_class).to_a[1].!(1, 2, 3)
<eval-in> charliesome => #<NameError::message:0x41950164> (https://eval.in/66716)
<charliesome> >> ObjectSpace.each_object(Data.singleton_class).to_a[1].!(1, 2, 3).to_str
<eval-in> charliesome => no implicit conversion of Fixnum into String (TypeError) ... (https://eval.in/66717)
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
eval-in has quit [Remote host closed the connection]
zavulon has quit [Quit: leaving]
eval-in has joined #ruby-lang
<charliesome> whitequark: also f-suffix got removed
<charliesome> you'll be happy to hear
arBmind has quit [Quit: Leaving.]
<whitequark> charliesome: already seen
<drbrain> charliesome: I don't understand what's happening in make_no_method_exception where the NameError::message is created
<charliesome> me either
<drbrain> looks like some special handling for !
<charliesome> ruby is super weird
<ddfreyne> yorickpeterse: pong
<charliesome> >> k = ObjectSpace.each_object(Data.singleton_class).to_a[1]; def k.!(); end; 123.lolol
<eval-in> charliesome => wrong number of arguments (3 for 0) (ArgumentError) ... (https://eval.in/66718)
<charliesome> :~)
<yorickpeterse> ddfreyne: if I in theory crash Berlin on December 6th, could you offer me a quiet place with internet and not too much sunlight at Soundcloud so I can hack stuff during the day?
<yorickpeterse> this is still an idea, no idea if I even have days left off
<drbrain> charliesome: I have a github feature request
<charliesome> drbrain: yeah?
<charliesome> >> k = ObjectSpace.each_object(Data.singleton_class).to_a[1]; def k.!(*x); p x; end; 123.lolol
<eval-in> charliesome => ["undefined method `%s' for %s", 123, :lolol] ... (https://eval.in/66719)
<drbrain> charliesome: have a button so I can easily say "blame from parent commit of this file"
<charliesome> drbrain: ooh i want that too
<drbrain> when code gets moved it's hard to follow the move
<ddfreyne> yorickpeterse: Hmm, I am not the one to talk to about that, but SoundCloud is not an open office where people can come in and do some hacking, generally speaking.
<yorickpeterse> ddfreyne: that I figured, but it's not too uncommon (at least around here) for people to go like "HEY I'M IN TOWN WHERE CAN I HACK?" followed by people inviting said person
<yorickpeterse> e.g. I did that with Zed
<yorickpeterse> granted he's of slightly higher status than me
<ddfreyne> yorickpeterse: I really like the idea tbh, but there's currently no infrastructure around that to make that easy (I'm thinking about physical security issues etc).
<yorickpeterse> ddfreyne: ah ok, no worries
hogeo has joined #ruby-lang
<yorickpeterse> also lol what, security?
<yorickpeterse> Is Soundcloud some acronym for NSA nowadays? :>
<ddfreyne> yorickpeterse: I'll pass the idea around though
<yorickpeterse> ta
<ddfreyne> yorickpeterse: Every company has stuff that should not be leaked out for various reasons
<charliesome> drbrain: god that is such a hack
<yorickpeterse> ddfreyne: heh, security at our building is pretty bad
<yorickpeterse> you can social engineer your way in/out pretty easily
dingus_khan has joined #ruby-lang
<ddfreyne> That doesn't quite work with our offices
MaddinXx_ has quit [Quit: Leaving...]
<drbrain> charliesome: I have half an idea of what problem it is supposed to solve now
* yorickpeterse has already social engineerd his way out when he got locked in
<yorickpeterse> fucking cards stop working after 19:00 apparently
<yorickpeterse> so if you're outside in the parking lot and nobody's around you're screwed
<yorickpeterse> (no way out or back inside)
<mistym> yorickpeterse: I solve that problem by not working after 19:00
<yorickpeterse> easier said than done
<yorickpeterse> also I want to host meetups so I still need to get myself a "get out of the alarm free" card
<ddfreyne> I worked until 20:00 today
<yorickpeterse> I guess I can also jump out of the window if needed
hogeo has quit [Ping timeout: 264 seconds]
bastilian has quit [Quit: Linkinus - http://linkinus.com]
arooni-mobile has joined #ruby-lang
<yorickpeterse> ddfreyne: I can also dress up as you and then go like "I'M DANGER DENIS BUT I FORGOT MY CARD, OPEN THE GATES!"
<yorickpeterse> including one of those fake glasses + big nose thingies
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
cnivolle has quit [Remote host closed the connection]
alekst has joined #ruby-lang
mdedetrich has joined #ruby-lang
reostra has joined #ruby-lang
<Senjai`work> Okay I have no idea why this is happening
<drbrain> Senjai`work: feel free to blame solar flares today
<drbrain> SDO says 60% chance of M-class flares today
<yorickpeterse> Senjai`work: I've been wondering that ever since I came to be
<Senjai`work> https://gist.github.com/Senjai/c8b637d1abde50db483f Why am I getting Google::DEFAULT_SCOPE undefined?
<Senjai`work> am I missing something blatent?
elia has quit [Quit: (IRC Client: textualapp.com)]
<drbrain> Senjai`work: where do you require 'analytics'?
<Senjai`work> drbrain: spec_helper autoloads rails which autloloads everything in the lib directory
diegoviola has quit [Ping timeout: 245 seconds]
<Senjai`work> drbrain: but this isn't really rails related, describe Google works fine, and in a binding.pry it's visible appropriately
<drbrain> I would suspect that ↑ is not happening then
<Senjai`work> hmm.
<drbrain> Senjai`work: try adding a "p :woo_I_was_required" at the top of analytics.rb
<Senjai`work> sure, sec
<drbrain> or even raise Exception, "I was required"
<Senjai`work> you win, I did a raise 'I was required' at the top of the file
<Senjai`work> and the spec didn't raise it
<drbrain> \o/
nofxx has joined #ruby-lang
<Senjai`work> here i thought RSpec would raise an error in the describe block
mbj has quit [Quit: leaving]
RickHull has quit [Quit: Leaving.]
<Senjai`work> drbrain: Thanks, feel kinda lame now :P
<drbrain> Senjai`work: I frequently waste an hour or two on such problems on a regular basis!
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
scampbell has quit [Remote host closed the connection]
lun__ has quit [Remote host closed the connection]
davejlong has quit [Ping timeout: 246 seconds]
machuga has left #ruby-lang [#ruby-lang]
ecnalyr has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
yfeldblum has joined #ruby-lang
<Senjai`work> Last question, I could test it in IRB if it's annoying. If I have a class within a module, and define a module variable in the module, is it visible to the class without a getter/setter method?
DEac- has quit [Read error: Connection reset by peer]
<TTilus> Senjai`work: test it in pry
DEac- has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
<Senjai`work> TTilus: Guess it's not
<drbrain> Senjai`work: in general, variables are not accessible outside the context they're defined in
deception has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
benwoody has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
deception has quit [Quit: Goodbye]
jhulten has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 252 seconds]
jinesh has joined #ruby-lang
woollyams has joined #ruby-lang
<Senjai`work> drbrain: cheers :)
mbj has joined #ruby-lang
Elico has quit [Ping timeout: 252 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
Elico has joined #ruby-lang
nisstyre has joined #ruby-lang
hogeo has joined #ruby-lang
jhulten has joined #ruby-lang
elia has joined #ruby-lang
Elico has quit [Ping timeout: 252 seconds]
Elico has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
hogeo has quit [Ping timeout: 248 seconds]
sobrien has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sobrien has left #ruby-lang [#ruby-lang]
workmad3 has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jinesh has quit [Quit: Konversation terminated!]
momomomomo has quit [Quit: momomomomo]
lfox has quit [Quit: ZZZzzz…]
yfeldblu_ has joined #ruby-lang
Snibble has quit [Quit: Leaving.]
Snibble has joined #ruby-lang
Elico has quit [Ping timeout: 252 seconds]
Elico has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
rwk1 has quit [Remote host closed the connection]
snarfmason has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Snibble has quit [Ping timeout: 246 seconds]
snarfmason has joined #ruby-lang
breakingthings has quit []
sepp2k has quit [Quit: Leaving.]
smashwilson has quit [Quit: Leaving]
benanne has quit [Quit: kbai]
robbyoconnor has quit [Ping timeout: 246 seconds]
jhulten has quit [Read error: Connection reset by peer]
jhulten has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
dingus_k_ has joined #ruby-lang
Snibble has joined #ruby-lang
postmodern has quit [Quit: Leaving]
dingus_khan has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Quit: I growing sleepy]
MrZYX is now known as MrZYX|off
jackhammer2022 has joined #ruby-lang
Snibble has quit [Quit: Leaving.]
tomzx_mac has joined #ruby-lang
ruby-lang269 has joined #ruby-lang
bf4 has quit [Ping timeout: 240 seconds]
dingus_k_ has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
ikrima has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
ruby-lang269 has quit [Ping timeout: 250 seconds]
Elico has quit [Ping timeout: 252 seconds]
mbj has quit [Ping timeout: 246 seconds]
Elico has joined #ruby-lang
rwk1 has joined #ruby-lang
kireevco_ has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
nigerianceo has quit []
rwk1_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
rwk1 has quit [Read error: Connection reset by peer]
jinesh has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
rwk1_ has quit [Ping timeout: 246 seconds]
rwk1 has joined #ruby-lang
hogeo has joined #ruby-lang
ecnalyr has joined #ruby-lang
jhulten has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hogeo has quit [Ping timeout: 245 seconds]
babinho has quit [Ping timeout: 264 seconds]
ruskie has quit [Ping timeout: 264 seconds]
babinho has joined #ruby-lang
kireevco_ has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
rickhull1 has quit [Quit: Leaving.]
sevvie has joined #ruby-lang
bf4 has quit [Ping timeout: 264 seconds]
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
jhulten has joined #ruby-lang
hogeo has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
RickHull has joined #ruby-lang
dingus_khan has joined #ruby-lang