I was attempting to answer a question on StackOverflow, but repeatedly ran into an error while submitting my answer.  When I clicked "Post Your Answer", it would hang for a while and then fail; giving me the error message "An error occurred submitting the answer".  At first I thought it was a momentary glitch, so I copy/pasted my answer to a file to retry later.  After repeatedly getting this error from many attempts over the course of a few hours, I tried submitting the answer piecemeal to see if StackOverflow would accept part of the answer.  In the end, I found it to be due to the use of "UNION-ALL" (without the dash).  If I put a dash between "UNION" and "ALL", my answer would save fine.  If I removed it, I would encounter the error again.  In addition, I encountered the same problem when simply trying to type "UNION-ALL" in the comments on the question and I'm encountering it here.  Does anyone know why this is happening?  Is this a bug in StackOverflow?  Here is a link to the  I posted.
I've encountered issues posting comments or answers numerous times over the last month, I've narrowed it down that it only occurs when I use UNION and ALL next to each other (ie SQL).  If I separate them by a dash it works fine. The error is always generic:  'An error occurred during ____ submission'  The blank being either comment or answer. Someone suggested I post this question here.  I do not see a similar question, interestingly even trying to search the site for UNION and ALL errored, similarly separating them with + returns an error. Screenshot:  This occurs in Chrome or IE, on Win 7, will test tonight from personal machines. UPDATE:  Apparently through good coincidence I just never had attempted to use UNION ALL when answering questions from home, works fine here.  So it must indeed be some firewall/policy setting at my office with very specific criteria, never found any other code bits I couldn't post, and don't have a problem with UNION ALL on other sites.  Still interested to find out how it's being blocked given our high level of access.
What is the solution to the Squirrel sequence of letters question? Is there any way to script Windows 10's "color filter" feature programmatically? Upgrading from a modern smartphone camera without going all in on a DSLR kit I have the loop tools addon enabled and when I click the circle button with these verts selected, it just disappears. Why is that?  You can see the selected options in the bottom screenshot. It is worth noting that all the verts are flat on the x plane. Locking in X or not does not change the effect.   When I use the to sphere operator it squishes the verts on Z and stretches super wide on Y, not making a cirlce.    EDIT:  here is the blend Is either "can" or "could" more polite? Can't install libglew-dev because libcheese and libclutter don't have the required versions I'm getting the following error message when attempting to install libglew-dev,  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (&gt;= 0.91.8) but it is not going to be installed                    Depends: libcogl15 (&gt;= 1.15.8) but it is not going to be installed  libcheese7 : Depends: libclutter-gst-2.0-0 (&gt;= 0.10.0) but it is not going to be installed               Depends: gstreamer1.0-clutter but it is not going to be installed  libclutter-1.0-0 : Depends: libcogl-pango15 (&gt;= 1.15.8) but it is not going to be installed                     Depends: libcogl15 (&gt;= 1.15.8) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   All those packages are however apparently already installed.  I have tried all possible solutions in  post, without any luck. I have not added any PPAs. The version of ubuntu is 14.04.2.  I have looked at similar posts, and tried the following:  Running  dpkg --get-selections | grep hold   prints nothing.  sudo apt-get -oDebug::pkgProblemResolver=true install -f   Gives me nothing of interest, 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. why $1+\frac{1}{1+\frac{1}{\frac{1}{1+\dots}}}$ cannot be equal to $\frac{1-\sqrt{5}}{2}$  I know that some of you will answer because it is positive.I know it but I don't know how to prove it.Maybe the second part is positive how do you know that?Thanks in advance. I have an instance of a System.Drawing.Bitmap and would like to make it available to my WPF app in the form of a System.Windows.Media.Imaging.BitmapImage.  What would be the best approach for this? How can I run the following xrandrcommand on startup?  xrandr   cvt 1368 768  xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync xrandr --addmode VGA1 1368x768_60.00 xrandr --output VGA1 --mode 1368x768_60.00 Conditionals (Past Tense) In terms of conditional sentences, is it correct to say:   if you knew why I WAS here, then I wouldn't need to be here.   or   If you knew why I WERE here, then I wouldn't need to be here.   Which type of conditional is this? Type 2? I was thought at school that there are three types of conditionals. Are there more of them? How to plot points in a color corresponding to some value? How should one interpret the comparison of means from different sample sizes? Take the case of book ratings on a website. Book A is rated by 10,000 people with an average rating of 4.25 and the variance $\sigma = 0.5$. Similarly Book B is rated by 100 people and has a rating of 4.5 with $\sigma = 0.25$.   Now because of the large sample size of Book A the 'mean stabilized' to 4.25. Now for 100 people, it may be that if more people read Book B the mean rating may fall to 4 or 4.25.   how should one interpret the comparison of means from different samples and what are the best conclusions one can/should draw?    For example - can we really say Book B is better than Book A. Error handling in C code What do you consider "best practice" when it comes to error handling errors in a consistent way in a C library.  There are two ways I've been thinking of:  Always return error code. A typical function would look like this:  MYAPI_ERROR getObjectSize(MYAPIHandle h, int* returnedSize);   The always provide an error pointer approach:  int getObjectSize(MYAPIHandle h, MYAPI_ERROR* returnedError);   When using the first approach it's possible to write code like this where the error handling check is directly placed on the function call:  int size; if(getObjectSize(h, &amp;size) != MYAPI_SUCCESS) {   // Error handling }   Which looks better than the error handling code here.   MYAPIError error; int size; size = getObjectSize(h, &amp;error); if(error != MYAPI_SUCCESS) {     // Error handling }   However, I think using the return value for returning data makes the code more readable, It's obvious that something was written to the size variable in the second example.  Do you have any ideas on why I should prefer any of those approaches or perhaps mix them or use something else? I'm not a fan of global error states since it tends to make multi threaded use of the library way more painful.  EDIT: C++ specific ideas on this would also be interesting to hear about as long as they are not involving exceptions since it's not an option for me at the moment... My LAN server won't let my cousin join me or me join my cousin. It won't show up on the multiplayer screen - it keeps saying "scanning for LAN servers" but it never finds it. I am at his house and we use different computers but it won't connect. How can I fix this? lstlisting: how to set code color and frame color Quotient ring of Gaussian integers Can I bind a (large) block of addresses to an interface? I know that the ip tool lets you bind multiple addresses to an interface (eg, ). Right now, though, I'm trying to build something on top of IPv6, and it would be really useful to have an entire block of addresses (say, a /64) available, so that programs could pick any address from the range and bind to that. Needless to say, attaching every IP from this range to an interface would take a while.  Does Linux support binding a whole block of addresses to an interface? How do I create a key binding that allows me to mount my google drive? I want to mount/unmount my google drive using with a key binding without having to open a terminal. How can I set this up? How to remove enamel from wire? Congruent Modulo $n$: definition In an Introduction to Abstract Algebra by Thomas Whitelaw, he gives examples of the congruence mod operation, such as $13 \equiv5 \pmod4$,  and $9 \equiv -1 \pmod 5$. But when I first learned about the modulo operation my junior year, I would have told you that $13 \equiv 1 \pmod 4$, and that $9 \equiv 4 \pmod 5$.     Is this just a difference in the definition of modulo? Or is this pretty typical (to not take it to the largest factor, or one over)?