Online demo courtesy of Nathan Osman:
http://quickmediasolutions.com/flack
Note: this tool now works with all Stack Exchange sites. Just paste the URL of your profile and the app will take care of the rest.
Screenshot / Code Snippet
$ python flack.py 126042
Before 'if' statement... Past 'if' statement. Floating point exception on my system. So, you should check whether e is a very popular way to access Word and Excel documents. There's a line inside an expression like that; the simplest workaround is to end of the using block } If someone really wants to access it as an "anonymous" stub directly generated by the framework, for simplicity's sake. Check our Eureqa, a free (as in beer) utility from Cornell University. What's particularly interesting about Eureqa is a dereferenced pointer. If you had done var quux = GetSomething() where I've seen it, but I remember their variable context, and are full Warnings turned on. When -cw is customary in Lua to start arrays while those around are willing to Integer (I suspect there is and double parentheses also prints out 10, but running that through ruby -cw is used to Check the syntax.
About
Flack Overstow is a toy, written in Python 2.6 (but should be compatible with 2.5 -- let me know if it's not). It pulls the latest questions or answers or comments for a given user ID and creates a Markov chain of the text, then gives you something that should never be posted as a real answer. (If you're not familiar, Markov chains are one way that spammers make emails/posts that look like natural text, until you look more closely.)
License
It's a toy application, so I chose the MIT license to make it very open source. Feel free to include it on your site or in your application. If you do use it, you aren't obligated to tell me about it, but I'd love to hear about it or see your application.
Download
My Bazaar branches are on Launchpad, but you can download the package (it's just three Python files in a single zip file or tarball) from Google Code.
Platform
I've successfully run this on both Windows and Mac platforms. I would expect it to run fine on Linux as well.
Contact
If you need to contact me for some reason, use Launchpad or Google Code for it. Or just comment here.
Code
Flack Overstow is written in pure Python 2.6 and uses simplejson
when possible, then falls back to json
. It depends on Beautiful Soup to get rid of HTML in the body portion of questions, answers, comments.
Your Flack Overstows
If you generate any particularly funny spam with Flack Overstow, post it in a chatroom somewhere, not here. We want to keep our posts focused and on topic for the hosting site.
You can play with the options on the command line (flack.py --help
for details). You can change the length of the Markov chains (number of words in a chain), how many chains to use to make a post, which site to use, and more. You can specify an API key to use at the command line, if necessary.
Updates in v0.2
I've updated the API version to use v1.0, and I've modified the command line format for specifying the site. Previously you had a couple fixed choices, but now you have to specify the whole domain (e.g. stackoverflow.com
instead of just stackoverflow
) -- but this means you can now use Flack Overstow on other Stack Exchange sites.
Have fun!
"BeautifulSoup required to format data"
Code
heading of the post. The only thing it's doing is converting HTML entities to text... I haven't done a terrible amount of research on it, but I'd be open to a replacement, as long as it can convert whatever entities are thrown at it.grabber.py
on line 36 (and I can't push that change to Launchpad).Be executed.
Well, I'd like to live on for a bit actually.YES use WordPress
There was an error retrieving the Flack for the specified profile.
my profile won't be taken.