Show HN: Markov chains explained visually
71–80 of 96 posts
Re: Show HN: Markov chains explained visually
#72Man the text is really well written! Am I right, everyone?
I wanted to tell Lewis that his domain (heylewis) is expiring.
Also, yes. Keep it up!
Re: Show HN: Markov chains explained visually
#73Re: Show HN: Markov chains explained visually
#74I created a Markov chain generator: https://gist.github.com/grant/561834963dc526495c45 var numNodes=10;var roundNum=100;var a=[];for(var i=0;i roundNum)/roundNum;connections[j]=randNum;sum+=randNum}connections=connections.map(function(e){var t=e (1/sum);t=Math.round(t roundNum)/roundNum;return t});sum=connections.reduce(function(e,t){return e+t});connections[numNodes-1]+=1-sum;connections[numNodes-1]=Math.round(conne…
Please indent each line with a double space so it's properly monospace formatted.
Re: Show HN: Markov chains explained visually
#75Earlier quoted context omitted.
Is that how things like Swiftkey or Google Now can predict words so well? If so, how do they do it so quickly?
Very probably with the Viterbi algorithm: http://en.wikipedia.org/wiki/Viterbi_algorithm
Re: Show HN: Markov chains explained visually
#76I've seen Markov chains applied to language generation - producing sentences that make sense grammatically but not literally. Anyone know what the connection is here? I think I have an idea but would like to see if it gets independently verified by someone else.
There were actually quite a few vulnerabilities back then. I wrote a script that allowed me to create a Google account with the IP address of a visitor to the website, all without them knowing. All I had to do was open the registration page with a server side script, download the CAPTCHA, display it to the user and ask them to fill it out. When they filled it out, the submitted form targeted the Google registration form in a 1x1 iFrame, then another button targeted the logout form. Google was not checking the referrer of the sign up form, nor was it comparing the IP address that received the CAPTCHA to the one that submitted it.
I had a friend load that script into thousands of generated blogspot blogs, which got long tail google traffic and asked the user to "fill the CAPTCHA to continue." The script ran for ~2 weeks and generated ~60000 Google accounts all from unique IP addresses.
That was around 2007, so obviously it's all patched up by now. I was 15 years old and never did anything with the accounts, so if anyone from google is reading this, keep the lawyers away from me please.
Blackhat SEO actually has a lot of clever tricks. I haven't been part of that space in a while, for a lot of reasons, but I can attribute 99% of my knowledge of marketing to time spent trawling through blackhat SEO forums reading not my about that, but also landing page optimization, conversion tracking, copywriting, etc. It was definitely a worthwhile learning experience for me.
Oops that veered off topic. But yes, Markov chains. Blackhat content generation. :)
Re: Show HN: Markov chains explained visually
#77There was a bug in the playground earlier that I just fixed that allows you to share your Markov chains via the url hash. For example: http://setosa.io/markov/#%7B%22tm%22%3A%5B%5B0.9%2C0.1%2C0%2...
Re: Show HN: Markov chains explained visually
#78I've seen Markov chains applied to language generation - producing sentences that make sense grammatically but not literally. Anyone know what the connection is here? I think I have an idea but would like to see if it gets independently verified by someone else.
http://www.greenteapress.com/thinkpython/html/thinkpython014...