RubyConf 2014

Técnicas para medición de distancias en aplicaciones Ruby

Richard Schneeman  · 

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

all right hello everyone my name is Richard schneemann or or action eames if you came to the lightning talk you know the the most important part about me I'm incredibly incredibly committed to Ruby sadly she could not come to the conference yeah and you

will also know that you also know that Ruby is in fact a a Python programmer it's okay I've gotten over it I work for a small company based out of San Francisco that you may have heard of it's called Heroku where they give me some free time and

allow me to work on things such as code triage calm which allows you to get an open source issue in your inbox won every single one every single day Oh or I also recently announced docs dr dot org which is basically the same thing but with with methods so

if you're looking for documentation you can get you can get method documentation a documented method or an undocumented method in your inbox a a little bit more about me I I am in the top 50 of the of the rails contributors so that kind of makes me a big

deal I do not have any cats in this presentation this is a photo of my dog enjoy you may have seen a couple people wearing keep ruby weird shirts this is a conference that we threw for the first time ever in austin texas austin is keep Austin weird and you

know what like ruby is amazing and and dynamic and powerful and in the in the spirit of why we wanted to preserve that we also got together and we were like okay well you know what we kept Ruby weird in Austin but at rubyconf we should also try to keep it

a little bit weird and we were like what what what can we do to keep Ruby weird so we were just brainstorming and I needle I needed a lot longer segue so we were brainstorming and we thought perhaps we could we could do the you do the can-can you ready right

now no no no no no no no no no no no no No okay so so that was the fun part stay here you're not done you're not thank you very much that was wonderful can I get a round of applause they knowingly volunteered to do this that's amazingly that's

amazing um what what you do not know is you have also volunteered to the do the conference can can so can I get you to all stand up you have to stay weird everyone so that the conference can-can is similar to the actual can can accept um you can't do this

so it's more kind of like a pretend you're just like a really like shy person doing the can-can and we and we have we have some actual some actual music that is perhaps a little bit better than mine so you already and and it's kind of you do a

sort of knee step kick butt really look needy yeah yeah it's like Nene Nene um if if you're friendly grab the person next to you thank you thank you very much but that's not that's not required all right you ready for this this is amazing by

the way this song goes on for an entire minute okay thank you thank you very much alright I hope you I hope you were fully weirded out now now that I have your attention now that you're awake I'd like to talk about algorithms but before I talk about

algorithms I want to talk about my background so I went to Georgia Tech and I studied mechanical engineering I don't have a CS degree and I've been teaching myself programming for about the last eight years which it's been like super fun and super

amazing but computer science is like crazy boring I don't know if you know this if you have a CS degree it's it's all right i find programming really really interesting because i like building things i like actually making and putting my hands

on it on parts of systems and seeing how they move but the cs students might know something that the mechanical engineers of the world haven't quite touched on which is a algorithms are absolutely beautiful like just unbelievably beautiful and it's

not because oh they come from a book or you have to learn them to pass this test because algorithm solve problems they solve real-world problems that someone else has invested time into into learning so I have a really big problem and that is spelling I cannot

spell at all which is why I'm a programmer because if i misspell my variable name as long as I consistently misspell it it's okay i'm only like half joking on that one so and spelling even becomes more difficult when you're tired or distracted

and like all the time I'll do something along lines of like get commit and then and gets like yeah that's not a real command and something else like it does which is really cool it's like hey what you actually probably meant was commit and that's

that that was amazing in one day I was like hey how does get know so so the method through which get determines this is something called edge distance and edge distance is going to be the cost to change one word into another the the lest the less that costs

to change one word into another the more likely that those that is what you meant if there's zero cost than it is the exact same word a quick example from zat to bat this would be a cost of one or zzzz at-bat would be a cost of two so that that kind of

makes sense but how would we go about coding it when I when I first found out about this I was like oh hey that's like probably really simple and I can I can do that and I sat down at my editor and and just kind of banged out this like I don't know

[ ... ]

Nota: se han omitido las otras 2.572 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.