UISearchBar: clear background color or set background image
How to change inside background color of UISearchBar component on iOS
Creating Workflow -> Error When I try to create a new WF in my Sharepoint Designer I get following error:     The list of workflow actions on the server references an assembly that   does not exist. Some actions will not be avaliable. The assembly   strong name is "Microsoft.SharePoint.WorkFlowActions,   Version=14.0.0.0,Cultureneutral,PublickeyToke=   Does any on know how to fix this problem? Let $A,B \subset \mathbb{R}$. Show that $\sup(A \cup B) = \max\{\sup A, \sup B\}$ Ubuntu Detects 2 monitors when I only have one How to know current name of the database in Django? How do comment @replies work? I know how to solve "simple" recurrence relations. For instance, say you have:  $$c_0 = 20$$ $$c_1 = 30$$ $$c_n = 3 c_{n-1} - 2 c_{n-2}$$  We can write the characteristic equation as:  $$3x^{n-1} - 2x^{n-2} = x^n$$  Solving this with $n=2$, we get $x = 1$ or $x = 2$. This lets us write the relation $c_n = \alpha_1 1^n + \alpha_2 2^n$, and we can solve for $\alpha_1$ and $\alpha_2$ with the initial states $c_0$ and $c_1$.  However, this depends on the fact that $3x^{n-1} - 2x^{n-2} = x^n$ has two roots.  Now, I'm stuck on another problem where the characteristic equation has fewer roots than terms.  Say I have this recurrence relation instead:  $$a_0 = 0$$ $$a_1 = 2$$ $$a_2 = −1$$ $$a_n = 9a_{n-1} - 15a_{n-2} - 25a_{n-3}$$  The characteristic equation would be:  $$9x^{n-1} - 15x^{n-2} - 25x^{n-3} = x^n$$  However, solving with $n=3$, we only get two roots: $x=-1$ or $x=5$. There are not enough roots to write a relation in the form of $a_n = \alpha_1 r_1^n + \alpha_2r_2^n + \alpha_3r_3^n$. How do I proceed? How do i test capacitors? I've just gotten through replacing capacitors on a trio of dead LCD screens (nothing's blown up yet, so far) - they either had one or two capacitors on their inverter circuit SLIGHTLY bloated, and not quite leaky. I ended up replacing all capacitors of the same brand/'colour', even the ones that looked fine, in case.  Now, checking a bad resistor is simple - i can use a standard multimeter to test it, and i tend to check my solders with the continuity testing option of the multimeter.  How would i test a capacitor ? Is there some standard, common way to test one? I'm looking for a specific scifi book that I read years ago, I only partially remember the story, and I don't remember the author or the title.  What I remember of the story is:   An alien race picks up a signal from humans that includes instructions on how to make their own humans (genetic instructions). The humans grow up knowing they are created and are taught by the alien race. They are eventually given resources to build a ship, and go looking for their origins. They eventually find the solar system, but nobody answers. They find some stations orbiting earth and find that the station is very old, so old in fact that humans have long been extinct and other creatures have reached local space, and have been looking around the station as an archeological dig. I think they refer to two developed races from earth, but one developed from rats.   If anyone know what story this is, and can point me at it, its been driving me crazy for at least 15 years, and I think it's actually been much longer, since I can't remember when I read it. Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([]) How many numbers of 6 digits, that can be formed with digits 2,3,9. And also divided by 3? How many numbers of 6 digits, that can be formed with digits 2,3,9. And also divided by 3?  $$$$ I was trying to to add 2^6 (when there is no 2)+ C(6,2)2^2 (when 2 can be in two places)+C(6,3)2^3 (when 2 can be in three places)... Solving infinite sums with primes. Let $p_n$ denote the $n$'th prime number.  How would one go about proving that infinite products like: $$\prod_{k=1}^\infty1 - \frac{1}{(p_k)^2} = \frac{6}{\pi^2}$$  or  $$\prod_{k=1}^\infty\frac{{p_k}^2}{{p_k}^2 - 1} = \frac{\pi^2}{6}$$ are correct?  Is there any way to prove it except by exhaustion? Why are badges on per-site-metas separate? Badges earned on per-site meta sites are separate from the main site, but reputation is carried over from the main site (because you don't earn any on Meta).   I perfectly understand keeping the rep the way it is (meta votes are too subjective to integrate them with rep) but the badge split seems odd to me.  Multiple badges are in fact impossible on Meta; Mortarboard, Bounty related badges. In addition badges in general are much harder to earn due to the lower amount of users and content; badges like Great Answer are nearly impossible.   As a result of this, most users on Meta end up with the easy 5-10 bronze badges for basic participation on Meta and not much else; stuff like Supporter and Critic that are hard not to get.   I understand the want to drive more people to meta, so perhaps badges are separate to institute a reward system; however this doesn't seem to work well since Meta badges (mostly) don't appear on the main site. This in combination of the 0 rep gain makes Meta feel almost not real. It also makes part of your progress (badges) on the main site invisible on Meta, and vise versa.  IMO the badges should be the same on both Meta and main site, but more Meta-oriented badges should be added to encourage use of Meta. This way Meta badges feel "real" instead of "Meta".  Is there an official reason for per site metas having separate badges? Does Hard reboot damage my Ubuntu Create instance of generic type in Java? Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer&lt;E&gt; {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's . Fill the area determined by two pgfplots graphs I need to fill the region determined by two (Gaussian) curves and the right red line (the region is brushed in green in the figure below). I also wonder what is the best way to draw vertical line which goes through the intersection of both graphs (the left red line on the figure).  Any pointers would be greatly appreciated.    My initial attemt is pasted below.  \documentclass{standalone} \usepackage{pgfplots}  \begin{document}  \pgfmathdeclarefunction{dnorm}{2}{%   \pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}% }  \begin{tikzpicture} \begin{axis}[domain=0:12, samples=100, height=5cm, width=10cm] % Fill aread under the curves \addplot [fill=red!20, draw=none, domain=0:6] {dnorm(6.5,1.5)} \closedcycle; \addplot [fill=blue!20, draw=none, domain=6:10] {dnorm(4,1)} \closedcycle; % Draw curves \addplot [thick] {dnorm(4,1)}; \addplot [thick] {dnorm(6.5,1.5)}; \end{axis} \end{tikzpicture}  \end{document}   My solution  A picture is worth a thousand words. Code is pasted below.   \documentclass{article} \usepackage{tkz-fct} \usetikzlibrary{intersections}  \begin{document}  \tikzset{    name plot/.style={every path/.style={name path global=#1}} }  % Extract coordinates for point X \makeatletter \newcommand{\gettikzxy}[3]{%   \tikz@scan@one@point\pgfutil@firstofone#1\relax   \edef#2{\the\pgf@x}%   \edef#3{\the\pgf@y}% } \makeatother  % Dimlines \def\Dimline[#1][#2][#3][#4]{ \begin{scope}[thin, &gt;=stealth'] % redefine as flechas \draw let \p1=#1, \p2=#2, \n0={veclen(\x2-\x1,\y2-\y1)} in [|&lt;-&gt;|, decoration={markings,mark=at position .5 with {\node[#3] at (0,0) {#4};}, }, postaction=decorate] #1 -- #2 ; \end{scope} }  \begin{tikzpicture}[scale=1,font=\small] \tkzInit[xmin=0,xmax=12,ymin=0,ymax=.3,ystep=.05] % Draw coordinates \draw[&gt;=stealth', &lt;-&gt;] (0,6) node[above] {$y$} -- (0,0) --  (12.5,0) node[right] {$x$}; % Draw functions and areas \tkzFct[name plot=A,thick,color=red,domain=0:12]{1/(1.5*sqrt(2*pi))*exp(-((x-4.5)**2)/(2*1.5**1))} \tkzDrawArea[opacity=.3,color=blue,domain = 7:12] \tkzFct[name plot=B,thick,color=blue,domain=0:12]{1/(2*sqrt(2*pi))*exp(-((x-7)**2)/(2*2**1))} \tkzDrawArea[opacity=.3,color=red,domain=0:7] \tkzDrawAreafg[between=b and a,opacity=.3,color=green,domain = 0:7] % Intersection between curves \path [name intersections={of=A and B,by=C}]; % Extract coordinates of C \gettikzxy{(C)}{\cx}{\cy} % Vertical lines \draw [thick,dashed, black] (\cx,0) -- (\cx,5.5) node [above] {$x_{0}$}; \draw [thick,dashed, black] (7,0) -- (7,5.5) node [above] {$\hat{x}$}; % Define regions \Dimline[($(0,0)+(0,-.6)$)][($(7,0)+(0,-.6)$)][above,black][$\mathcal{R}_{1}$]; \Dimline[($(7,0)+(0,-.6)$)][($(12,0)+(0,-.6)$)][above, black][$\mathcal{R}_{2}$]; \end{tikzpicture}  \end{document} Why is my query suddenly slower than it was yesterday? [Salutations]  (check one)  [ ] Well trained professional, [ ] Casual reader, [ ] Hapless wanderer,   I have a (check all that apply)  [ ] query [ ] stored procedure [ ] database thing maybe     that was running fine (if applicable)   [ ] yesterday [ ] in recent memory [ ] at some point    but is suddenly slower now.  I've already checked to make sure it's not being blocked, and that it's not the victim of some long running maintenance task, report, or other out of band process.  What is the problem, what should I do, and what information can I provide to get some help?  [*Insert appropriate closing remarks*] Pattern in Isomorphisms between $\mathbb Z_m \times \mathbb Z_n$ and $\mathbb Z_{mn}$ Reasons not to use a 741 op-amp? Someone who just thinks they know what they're talking about QGIS Processing - Additional Creation Parameter for GdalWarp I am having a hard time getting the "Additional Creation Parameters" to work when using GdalWarp through the processing toolbox.  I am trying to set the nodata value to 0 for the output raster.  processing.runalg("gdalogr:warpreproject","InRaster.tif","EPSG:32736","EPSG:32736",10,0,"-dstnodata 0","OutRaster.tif")   Has anyone used this functionality and managed to get it to work?