The Terror of Concentric Circles!
A great Onion news story. There’s enough vocabulary in it for a whole lesson and throw in a solid sample of parody as well.
[snap url=”http://bionicteaching.com/trials/markov/” alt=”DS106 Markov Tweet Generator” w=”400″ h=”300″ link=”on”] The following is how I adapted the Markov chain generator from Hay Kranen. Thanks to the commentsComments matter and help stitch together the Internet. I found below Hay’s postwhich is from 2008 I might add- long tail etc. etc. this Markov + Shakespeare version inspired me to figure out the “post-to-Twitter” option.Note to self and other clueless people, urlencode is just a bit easier way to clean up the text than trying to think through a str_replace. That’s a fairly awesome example of the fact that I have no idea what I’m doing. I only happened across that function (?) by chance on some random StackOverflow post and it was as if the world just fell into place. Anyway, the much cleaner version is up and running. It now allows you to push the results to Twitter although I’m still adjusting this a bit. The code for the page I modified is below. It’s still slower than I’d like but it’ll do for now. The fact that I can go from a conversation one day to a fairly finished product the next is the piece that amazes me about computers and the Internet. I cannot stress enough that I don’t know how to write PHP. I feel that’s a statement of […]
nonprogramistan Originally uploaded by bionicteaching Thought some of you might get a kick out of this graphic that’ll be part of a presentation Jim Groom and I are working on. The premise is that a variety of recent technologies allow the creation of mashups and other interesting web based options without the need for programming skills. Andy Warhol is the patron saint of the mashup so he adorns our poster. Original photos here.