Let $q$ be a prime integer. Show that for each $x∈GF(q)$ there exist elements $r$ and $s$ in $GF(q)$ satisfying $x=r^2+s^2$.
Let $p$ be a prime integer. Show that for each $a ∈ GF(p)$ there exist elements $b$ and $c$ of $GF(p)$ satisfying $a = b^2 + c^2$.
I am running SQL Server 2012.  The SQL Server Management Studio has the option to right click on a database then select Tasks and Generate Scripts.  Is there a way to automate that via command line somehow?  I want to create a script that includes the schema and data of the entire data base.  Tools like ScriptDB and sqlpubwiz.exe all seem to target SQL Server 2005. What about SQL Server 2012? Is it possible to view the scene in the viewport camera view at 1:1? Dini's Theorem - Proof. I'd like to prove the following:  If $f_j$ are continuous functions on a compact set $K$, and $f_{1}(x) \leq f_{2}(x) \leq \dots$ for all $x \in K$, and the $f_j$ converge pointwise to a continuous function $f$ on $K$ then in fact the $f_j$ converge uniformly to $f$ on $K$.  Attempt:  Let $g_{j}(x) = f(x) - f_{j}(x)$ for all $j$. Then, since $f_j \rightarrow f$ pointwise, we see $g_j \rightarrow 0$ pointwise.  Now, let $\varepsilon &gt; 0$ . And examine { $x \in K : g_{j}(x) &lt; \varepsilon$ }.  I've been told that the next step should be to  show that { $x \in K : g_{j}(x) &lt; \varepsilon$ } is equal to the intersection of $K$ with some open set $U_j$. But I'm not certain why this is true?   Advice? Insight? Specifying latest revision of a particular branch with bower I have this setup:   The mesh is only the visible top side, with a mirror modifier for the bottom part. Now I want to unwrap it like in the picture. I want the inner circle (red) to go to the top of the UV map...  The problem is that no matter what automatic unwrapping I use, it never works as intended.  The closest I've gotten was by using "follow quads", but that skewed the UV map a lot:   I used the result from the second image and manually adjusted the vertices with a lot of scaling and "align auto", but its very far from perfect as you can see in the first image.  Here's what I want exactly:   The uv vertices should be distributed evenly (horizontally) The middle line (yellow) should be on a "natural" y height (so there's no stretching)   I hope it's clear what I want to achieve. I'm sure there must be some automatic way to perfectly align and distribute the UVs in this way.  By the way: If you look closely you can see that I already placed a uv seam (aligned with the green y axis in the screenshot) but that didn't really help. Preview on the right please, optionally? Show that the $\max{ \{ x,y \} }= \frac{x+y+|x-y|}{2}$. Show that the $\max{ \{ x,y \} }= \dfrac{x+y+|x-y|}{2}$.   I do not understand how to go about completing this problem or even where to start. <50 reputation users can't delete comments that were posted on their behalf Some preface: I have an alternate account that I'm using to gain rep in order to help test/build bots for the  community on stackoverflow. Bot accounts are essentially users, and they need 20 rep to talk in chat, and 50 in order to add comments.  On this account (with 23 rep), I flagged a question as a duplicate of the wrong post by accident:        When I retracted the duplicate flag, I noticed that the comment was not removed. When I attempted to remove it, there was no [x] icon to the right of the post, and I had no recourse other than to leave the comment up (Which was 100% a wrong duplicate for that post). Additionally, I couldn't even flag it for mod attention, because it was my comment! Why do cars gain lift while going at a high speed? I've been researching the physics involved with spoilers and I've just been turning up the same information about spoilers giving the back wheels of a car more traction by acting as an up side down airfoil.   So my question is, what exactly causes the car to apparently gain lift while moving quickly, so as to merit the use of a spoiler, and is this entirely due to the aerodynamics of the vehicle in question?   Edit: Clarity of question. Splicing a Javascript array from within the callback passed to forEach Autofilling fields based on another field I have an older Nvidia video card and my PC crashes when installing the driver for the video card in Ubuntu 16.04. When I get to the login screen but no further: after entering my password, the system went into a loop and returned always back to the login screen [with funny stripes present].   How do I fix this problem? How can I left-align a caption? Need to understand parallel query execution error Today we experienced a degradation in performance on our production sql server.  Durring the time this occurred we logged several "The query processor could not start the necessary thread resources for parallel query execution" errors.  The reading that I've done suggests that this has to do with how many CPUs to use when executing a complex query.  However when I checked during the outage our CPU Utilization was only at 7%.  Is there something else this could be referring too that I haven't come across yet?  Is this a likely culprit of the performance degradation or am I chasing a red herring?  My sp_configure values for this are as follows:  name                                minimum maximum config_value run_value cost threshold for parallelism      0       32767   5            5 How to get a normal application menu in the top- or titlebar in Gnome How do I remove the proprietary ATI drivers? I've installed 11.10 and the proprietary ATI drivers using "additional drivers" The performance of my system is absolutely awful and it shouldn't be. I tried to remove the proprietary drivers using the Additional Drivers tool and it appears to remove them. However after I reboot I cant get back into my desktop properly (the panel and launcher go missing). This doesn't seem to be an isolated problem in 11.XX.  covers how to restore the desktop (panel and launcher), but the guide doesn't fix my problem though.   Whenever I do sudo unity --reset it runs through its normal processes until it hangs at setting update "run_key" and never gets past that. I must reinstall the proprietary drivers using jockey-text or jockey-gtk in order to get back to my proper desktop.   Interestingly enough the system performance seems improved while it is in its "broken" state (missing panel and launcher).  I think restoring the default drivers may solve my problems but I cant figure out how to do it. I’m a newbie in Python. I’m learning regexes, but I need help here.  Here comes the HTML source:  &lt;a href="http://www.ptop.se" target="_blank"&gt;http://www.ptop.se&lt;/a&gt;   I’m trying to code a tool that only prints out http://ptop.se. Can you help me please? How to prove that $\mathbb{Q}$ ( the rationals) is a countable set I want to prove that $\mathbb{Q}$ is countable. So basically, I could find a bijection from $\mathbb{Q}$ to $\mathbb{N}$. But I have also recently proved that $\mathbb{Z}$ is countable, so is it equivalent to find a bijection from $\mathbb{Q}$ to $\mathbb{Z}$? Linear regression prediction interval If the best linear approximation (using least squares) of my data points is the line $y=mx+b$, how can I calculate the approximation error? If I compute standard deviation of differences between observations and predictions $e_i=real(x_i)-(mx_i+b)$, can I later say that a real (but not observed) value $y_r=real(x_0)$ belongs to the interval $[y_p-\sigma, y_p+\sigma]$ ($y_p=mx_0+b$) with probability ~68%, assuming normal distribution?  To clarify:  I made observations regarding a function $f(x)$ by evaluating it a some points $x_i$. I fit these observations to a line $l(x)=mx+b$. For $x_0$ that I did not observe, I'd like to know how big can $f(x_0)-l(x_0)$  be. Using the method above, is it correct to say that $f(x_0) \in [l(x_0)-\sigma, l(x_0)+\sigma]$ with prob. ~68%? jQuery If DIV Doesn't Have Class "x"