The one thing I dislike about "not an answer" is that the flag doesn't say what the post in the answer area is. Is it supposed to be a new question? Is it supposed to be a comment? a comment on what post? is it just a "+1"?  The flagger already did the work to determine what the post is in order to determine that an answer is what the post is not. It wouldn't help for flaggers to specify additional information in a custom flags, because:   Those flags occasionally survive the problem Those flags don't collate properly Those flags can't be used by the system, in a second time, to automate moderation (if 5 10k flaggers say the X post should be a comment on the Y answer, then they might probably be right and at the very least a moderator might be able to greenlight that in one click.)   Can we get more detailed "not an answer" flags?
I think it would make sense to split up the flag "This is not an answer" into three flag choices:   This should be a comment This should be an edit This should be a new question   If we had that, it would make it easier (and therefore more efficient) for mods to figure out what to do with answers flagged thusly.
How do I size a UITextView to its content? Is there a good way to adjust the size of a UITextView to conform to its content? Say for instance I have a UITextView that contains one line of text:  "Hello world"   I then add another line of text:  "Goodbye world"   Is there a good way in Cocoa Touch to get the rect that will hold all of the lines in the text view so that I can adjust the parent view accordingly?  As another example, look at the notes' field for events in the Calendar application - note how the cell (and the UITextView it contains) expands to hold all lines of text in the notes' string. Misplaced Accents in Cyrillic Text In educational material for the Russian language and linguistic literature the need to put accents on Cyrillic vowels often arises. However when I tried to do this with luaLaTeX the accents where misplaced.  \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{fontspec} \setmainfont{Linux Libertine:style=Regular} \begin{document}  Е́сли вы изу́чите  \'{Е}сли вы из\'{у}чите  \'{E}сли вы из\'{y}чите % Here "E" and "y" are Latin glyphs, but this workaround does not                         % work with all Cyrillic letters e.g. Я, Ю \end{document}     The last line would looks nice, but unfortunately these are Latin glyphs.  Is this a problem with the font used (Linux Libertine) or with LaTeX? Put a where clause around a stored procedure I cannot edit Interpret geometrically the equation The function $f$ is convex when:  $$f(tx+ (1-t)x', ty + (1-t)y') ≤  tf(x,y) + (1-t)f(x', y')$$  for all numbers $0≤t≤1$ and all pairs of points $(x,y)$ and $(x',y')$ in the domain of $f$ (the whole of $R^2$)  How would I interpret this geometrically? Also what is an example of a convex function whose graph is not a plane? Let $f: \mathbb{R} \to \mathbb{R}$ be continuous. Then $G = \{ (x, f(x) ) : x \in \mathbb{R} \} $ is a closed set.  My try: Suppose $(z_n) =  (x_n, f(x_n) ) $ is sequence in $G$ with limit $(x,y)$. We must show $(x,y) \in G$. Since $x_n \to x$ and since $f$ is continuous, then we must have that $f(x_n) \to f(x) $. Since limits are unique. Then $y = f(x) $. Is this enough to conlude that $(x,y) \in G $ ? Hence showing $G$ is closed ?  thanks Best vehicle for each stage in Hill Climb Racing In Hill Climb Racing we have several vehicles and several stages.  Different vehicles have different performances on the same stage, and I'd like to know what are the best combinations to maximize distance in each stage.    Also, what is the best combination of a vehicle and a stage to get lots of coins? The  gives the recoil force, $\mathbf{F_{rad}}$, back on a charged particle $q$ when it emits electromagnetic radiation. It is given by:  $$\mathbf{F_{rad}} = \frac{q^2}{6\pi \epsilon_0 c^3}\mathbf{\dot{a}},$$  where $\mathbf{\dot{a}}$ is the rate of change of acceleration.  If a particle has a constant acceleration, $\mathbf{\dot{a}}=0$, then there is no reaction force acting on it. Therefore the particle does not lose energy.   Does this mean that a constantly accelerating charged particle does not emit electromagnetic radiation? why is nautilus slow? I'm wondering why Nautilus is very slow when opening a directory containing lots of files. My /usr/lib dir for example has 1900 files and it takes approximately 5+ seconds to show everything. It has been like this since I installed Ubuntu few months ago and it's really quite annoying sometimes. I don't have powerful hardware but I know that Windows Explorer is so much faster than this.   Is there anything that can be done to speed it up?  Ubuntu 10.04 There are many cases in maths where doing the same thing over and over again will bring you closer to a value. Derivation of polynomials is the striking example: no matter what you start with, you end up with 0. In a series expansion, the longer you continue the sequence the closer you get to the real value.  This concept applies in areas other than math (Wikipedia's everything-leads-to-philosophy phenomenon, for example). It's a little unrelated but it just proves the concept.  Hashing algorithms are just special math. Following logically, hash entropy supposedly decreases the more you hash a value. So is there a point at which any input value will give the same hash as any other?  (Let me just specify that we're not re-injecting any new data every time we hash, as if we're trying to increase the security of the hash by salting and re-hashing. It's strictly a matter of md5(md5(md5(... if that's the algorithm we're using.  I can see some problems with this already. Algorithms like md5 are designed to change their output radically when the input changes only by one bit of information. So even if a common hash for two values appears along the way, it itself will start changing. But then, does the fact that the output appears to be very different actually mean the possibilities are still many? Singular or plural verb after a series connected by "or" How do you do it? Given a byte array:  byte[] foo = new byte[4096];   How would I get the first x bytes of the array as a separate array? (Specifically, I need it as an IEnumerable&lt;byte&gt;)  This is for working with Sockets. I figure the easiest way would be array slicing, similar to Perls syntax:  @bar = @foo[0..40];   Which would return the first 41 elements into the @bar array. Is there something in C# that I'm just missing, or is there some other thing I should be doing?  LINQ is an option for me (.NET 3.5), if that helps any. Idiom or expression criticizing people who ignore you right after getting what they wanted/ were after How do I get the size of a directory on the command line? How do I get a block with data to place myself? How to delete specific lines from a txt file I have a Bash script that writes data into a log file, then from that I take out stuff I want using the sed command. That gives me a file data.txt. What I want to know is how I go about deleting specific line inside that data.txt file.  For example:  123 456 789   I want to remove the 2nd line, containing 456 so that I only have  123  789   I tried with sed '2d' data.txt but it doesn't work.  I use this command to create data.txt from log.log:  sed -nE '1s/.{1}(.{2}).*/\1/p;' log.log &gt;&gt; data.txt What is the relationship between MIME types and File .extensions? I may have the wrong idea here, but I thought that:    MIME types are identifying codes, embedded inside a file. File .extensions are idenifying codes, suffixed to the file's name.   I thought, from something I heard in the dim dark ages, that Linux was .extension agnostic... ( maybe it was in the early days, and things have changed since then...? )  I've recently come from the Windows world, where, at the Operating-System level, a file .extension is the only way (as far as I know) to associate it with its relevant Application program.    Because I don't know why, I find it a bit disconcerting that a file named  "fred" and a file named "fred.txt" both open up in a Text Editor.    Is there a clear-cut hierarchy at work here? Correctly typesetting a tilde How do I set the tilde (~) character correctly in LaTeX?  There’s a  on Stack Overflow, with a lot of answers. But dare I say it? They all suck:   \textasciitilde is too high, \texttildelow is too low. $\sim$ can be tweaked to look more or less acceptable: {\raise.17ex\hbox{$\scriptstyle\sim$}} – but even that is a hack and uses the wrong symbol.   The point is – the tilde character is definitely an existing glyph in any font I am tempted to use. How can I just access and typeset that character, please? Without resorting to some other, similar-looking glyph that first needs to be nudged into place using a cunning combination of font size and raised boxes?  There must be a possibility to access that glyph directly from the font definition.  To demonstrate, look at this screenshot which attempts simply to display a C++ destructor of a type T (~T):    Compare this with the symbol we get in the browser: ~ – that’s what I want. Where can you find the quantities of each amino acid of a particular protein or food? I am trying to figure out this:  c = 1 def f(n):     print c + n  def g(n):     c = c + n  f(1) # =&gt; 2 g(1) # =&gt; UnboundLocalError: local variable 'c' referenced before assignment   Thanks! What is Uplay? Can I play Ubisoft games without it? Heroes of Might and Magic VI seems to have installed a program called "Uplay", which it uses to launch (in addition to Steam, mind!)  What exactly is Uplay supposed to be? I notice that when I stop playing, it captchalogs the highlights of my past session (achievements earned, etc.) - which is kinda cool, but also kinda creepy and big-brotherish. Given that I value my privacy, is there anyway to play Uplay games without using Uplay?  Is this just Ubisoft's infamous "always-on" DRM?