Online demo courtesy of George Edison:

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 here! Be sure to 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!

link|improve this question
22  
Hilarious! But as soon as I see one of these get posted on StackOverflow, this gets a downvote. – George Edison May 27 '10 at 3:24
10  
@George: Jon Skeet will still undoubtedly get upvotes if and when he posts the following: Fundamentally can't make DoSomeMagic() work with the string might change in future, but you don't want it to be pretty much a one-liner. I'm not on my current installation... that may have a rogue character at the resource names, I'd just do something similar. You can't do this at version 2.0, service packs notwithstanding. More efficiently (O(n)): int count = ID.Count; for (int i = 0; i. – Mark Rushakoff May 27 '10 at 12:27
Even though this is for fun and not a serious application, this is fantastic!!! – Matt S. May 30 '10 at 2:09
3  
Yay! Launchpad! :) – George Edison Jun 1 '10 at 6:35
I get an error when I execute flack.py: "BeautifulSoup required to format data" – George Edison Jun 2 '10 at 1:10
@George: That's documented in the 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. – Mark Rushakoff Jun 2 '10 at 1:45
@Mark does not work here :), is it broken? With python flack.py 126042 i get "simplejson.decoder.JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0)" on Osx\Python 2.6.4 – systempuntoout Jun 22 '10 at 17:01
@system: I'm getting the same error now, and the program hasn't been changed in several days. Oddly, I get garbage when I even use wget to retrieve the same URL. But Firefox opens it fine. I'll come back to it later tonight perhaps to investigate further. – Mark Rushakoff Jun 22 '10 at 21:41
@Mark take your time, no rush ;).. +1 of course. – systempuntoout Jun 22 '10 at 21:50
@system: I sure did take my time. Now I'm manually decompressing the input and everything's back to working order. – Mark Rushakoff Jun 29 '10 at 1:08
@Mark: Please consider listing Flack Overstow on StackList. – George Edison Jul 7 '10 at 4:11
1  
@Kevin Montrose, @Mark Rushakoff: with api version 0.9 gone, the script is broken; however, it Works just as well with 1.0, you just need to change the version in grabber.py on line 36 (and I can't push that change to Launchpad). – Piskvor Sep 15 '10 at 15:37
this needs some update lovin' -- Mark? – Jeff Atwood Jun 1 '11 at 7:38
@Jeff: I haven't been online much lately. I'll put some effort into updating the API version, and I don't think I'll host it on Launchpad anymore either. More likely to be Google Code, perhaps over my lunch break today. – Mark Rushakoff Jun 1 '11 at 10:52
@Jeff: Please see the update I wrote at the top of the question. – George Edison Jun 1 '11 at 16:01
show 6 more comments
feedback

5 Answers

This is just plain awesome! I could go on with this all day. Here are some of "my" quotes (from Meta):

  • Now go and spread the hyperlink
  • You could provide your community with Gravatar and Stack Overflow.
  • the <center> cannot receive answers.
  • New users are strongly discouraged from scanning an analog source. For one unit translates to another.
  • I want to turn off the computer for now and I can't find the same information. At least that's fine, just do it.
  • Alexa considers their statistics to prove anything. Thus, beyond any software out there that is smart about the layout of the site. Shudder.
  • If a question receives 15 downvotes and no upvotes, chances are pretty high that it's a side effect of a paragraph break.
link|improve this answer
11  
I have to upvote for the last one – Joel Potter Jun 2 '10 at 15:24
6  
Yeah, the first bunch were pretty funny, but I actually laughed out loud for the last one :) – Mark Rushakoff Jun 2 '10 at 23:50
3  
The last one is awesome!!! – George Edison Sep 2 '10 at 5:15
8  
Wow - you've created a Sarah Palin interview answer generator ! – Dean Radcliffe Oct 30 '10 at 19:45
5  
-1 Wow, thanks a lot, you almost made me choke on my pizza and die. And when a moderator (@George) uses 3 exclamation marks, you can tell something's terribly wrong. :) – muntoo Apr 10 '11 at 22:46
Oh my god, I can't stop laughing – Cyclone Jul 5 '11 at 20:45
the <center> cannot receive answers :D – Alex Coplan May 15 at 7:07
feedback
# Heap of (non-prime, prime factor) tuples.
Todel = [ (4, 2) ]
n = 3
while True:
  if all(candidate in text for text in commands[:]:
    if "rm " in cmd:
      commands.remove(cmd)

Just compile and disassemble your architecture on your specific build of dis by calling dis.dis(f1), here is the Windows API

you might want to give defaults for instance variables in your constructor I would however do this:

class Foo:
  def init(num = None):
    self.num = num if and only if you are dealing with immutable types!)

class Foo:
  def random_zeroes(max_size):
    "Create a list of zeros for a random size (up to the end of the line as iterable
  except TypeError, e:
    #object is documented in the sort man page for "The Great Adventures of Jack Smith"?

The 2% of your userbase probably noticed the issue in the Python Shell window, choose Debugger from them, you can have lists of.

link|improve this answer
Newlines and formatting are mine. – badp Jun 1 '10 at 6:32
That's a shame the code doesn't compile :) I wonder if there would be a good way to retain formatting... Right now I just compress all whitespace to a single space, as you probably have noticed. – Mark Rushakoff Jun 1 '10 at 10:30
feedback

As requested, here are some good ones I got on Stack Overflow from my posts:

  • Turns out that the problem was that hair-pulling just because I was using Doxygen comments in your source code, you can easily generate documentation in Python.
  • In the application. This is where failures and diagnostic information should totally drop that and try jQuery.
  • Python is a manageable-sized block of data to work with. You prevent malicious 4GB POST requests.
  • I haven't tried this, but you may be able to remove many of the sections, but these could not as difficult as it sounds and can be quite rewarding.
  • The dll contains headers, exports, and such things that make it completely impossible to do.
  • Okay, so it seems like the problem is a great library for generating PDF files with PHP.
  • My personal opinion is: INFO - and the one I use in certain cases, is to do it.
  • Seriously though, I reccomend extensive customization of the other answers. A solution, though - and the one I don't know...
  • As for learning new languages/frameworks, you make no mention mixed ASCII and Unicode characters

And my new favorite:

  • DEBUG - information related to internal processes or emacs.
link|improve this answer
feedback

Downgrade isn't necessary for your problem. Just switch to Ubuntu Classic from the /app folders: [Icon Theme] Name=Faenza Humanity Inherits=ubuntu-mono-dark,humanity,hicolor Comment=Custom Faenza + Humanity Theme for Jorge Castro Directories=apps/16,apps/22,apps/24,apps/32,apps/48,apps/scalable [apps/16] Size=16 Context=Apps Type=fixed [apps/22] Size=22 Context=Apps Type=fixed [apps/48] Size=48 Context=Apps Type=fixed [apps/scalable] Size=96 Context=Apps Type=Scalable MinSize=64 MaxSize=128 Now select the new theme in gnome-appearance-properties. Delete the file: ~/.local/share/mime/mime.cache, and it should just be pushed upstream, but are looking for. For the wireless, remove the gnome-panel package, but I wouldn't suggest removing anything else for now. Better safe than sorry. When you are using the same service as a Live installation though. Emesene 2 was only recently (rushed to release) released. For this reason a lot around the subject at hand without editing the source for Unity and to my knowledge, the plugin has to patch GNOME applications, or third party developers have to create replacements, that honestly should just be pushed.

link|improve this answer
2  
Lemme guess... askubuntu.com? – muntoo Oct 21 '11 at 5:04
@muntoo yes :)! – Roland Taylor Oct 21 '11 at 12:28
feedback

In .NET 2.0, and you'll benefit a file is changed, that's not possible to do this using JavaScript and a font that isn't fixed-width... it doesn't have special rules in terms of what expressions you can pass the result to setTimeout, you want to get only the minutes and constrain the generic type to those types that implement IComparable, then use a switch in the general

        case '001/':
        case '002/':
            $arrayMobile[] = $item;
            break;
    }
}

If you have another Sub that contains the common logic, and call that from both bits are the same, 1 if either one bit OR the other ! negates it again. A concise cast to boolean. It's pretty much better in VB.NET) but if they're different). 1 Actually, it's n modulo 32. 1 >> 32 is 1. For example, here's 5 | 3: 5 = 101 3 = 011 | ----- 111 = 7 And loop through it as follows:

$.each(data, function(index, option) {
    options += '<option value="' + option.value + '">' + '\\b', 'g'), 'this.' + declaredVariable[1]);
} // This is the prototype!

You can call any function like that functionality for just about anything. Firefox adds some extra padding. You can actually run. The CLR is pretty much equivalent to Boolean(options.guess). What it gives a nice, clean MVC feel. It's probably easiest to just abstract your hash-cracker method out: Function hashType(ByVal filename As String) As Boolean

If there's an icon at /favicon.ico, use objects. row_array() then. But consider objects. They prepend the position of the script sometime after the entire DOM manipulations, not HTML:

var list = new Dictionary<string, string>();
foreach(Dictionary<string, string> dict in dictionariesToCombine) {
    foreach(var item in the list

, so the list gets shorter, and your original count is the length, not the ending index. Pass 12 instead of 24. echo.

link|improve this answer
feedback

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged