Bathroom Lit only from the Window - Too Dark
How can I make a more realistic glass shader?
Urgent Sydney transit visa question What method in the String class returns only the first N characters? Is it ok to say "good morning" at anytime? IBus methods do not show up in text entry settings I installed both Korean and Japanese using the Language Support window, and expected Korean (Hangul) and Japanese (Anthy) to show up in the input sources for Text Entry Settings (having both packages installed). However, neither shows up. Original  The remainder provided by polynom.sty is NOT complete (as shown in the following figure).      My Objective  When I was in senior high school, my teacher made the diagram like below. :-)  Thus the final step must show the TOTAL remainder and mark it with L-shaped curve.  NOTE  I am sorry. The previous post I forgot to put back -1/4 in the original position. It have made you confused. Now there is no mistake anymore. :-)      Minimal Code  \documentclass{article} \usepackage{polynom,array} \usepackage[table]{xcolor}   \makeatletter \def\pld@ArrangeResult#1{%     \ifx\pld@remainder\@empty         \@tempcnta\pld@maxcol\relax         \pld@InsertItems@do\pld@lastline             {\pld@firsttrue\pld@PLD{\pld@R{0}{1}}}%     \fi     \ifnum\pld@currstage&gt;\z@         \pld@Extend\pld@allines{\pld@lastline\cr}%     \else         \pld@InsertFake\pld@lastline     \fi     \pld@iftopresult         \def\pld@lastline{\pld@PrintPoly\pld@divisor%         %====================================================================================         \quad\smash{{\color{red}\rule[-6pt]{\arrayrulewidth}{17pt}}}\kern-\arrayrulewidth&amp;}%         %====================================================================================     \else         \let\pld@lastline\@empty         \ifx B\pld@style\else             \def\pld@lastline{\pld@leftdelim\strut\pld@rightxdelim&amp;}%         \fi     \fi     \expandafter\pld@AR@col\expandafter\pld@PLD                            \expandafter\pld@lastline#1+\relax+%     \pld@SplitQuotient     \pld@iftopresult         \let\pld@currentline\@empty         \expandafter\pld@AR@col\expandafter\pld@PLD                                \expandafter\pld@currentline                                            \pld@quotient+\relax+%         \expandafter\pld@AR@col\expandafter\pld@XPLD                                \expandafter\pld@currentline                                            \pld@shadow+\relax+%         \edef\pld@subline{%             \noexpand\cline{\tw@-\pld@maxcol}%             \noalign{\vskip\jot}}%         \pld@Extend\pld@currentline{\expandafter\cr\pld@subline}%     \else         \@tempcnta-\@tempcnta         \advance\@tempcnta\pld@maxcol\relax \advance\@tempcnta\@ne         \edef\pld@span{\the\@tempcnta}%         \ifx B\pld@style           \pld@AddTo\pld@lastline{%             &amp;\multispan\pld@span${}=%             \pld@PrintPolyWithDelims\pld@divisor             \expandafter\pld@IfSum\expandafter{\pld@divisor}{}{\cdot}%             \expandafter\pld@IfSum\expandafter{\pld@quotient}\pld@true                                                              \pld@false             \pld@if \pld@leftdelim                     \pld@PrintPolyShadow                     \pld@rightdelim               \else \pld@PrintPolyShadow \fi             \pld@firstfalse             \expandafter\pld@PrintRemain\expandafter{\pld@remainder}$}%         \else           \pld@AddTo\pld@lastline{%             &amp;\multispan\pld@span$\pld@leftxdelim\strut\pld@rightdelim             \pld@div             \pld@PrintPolyWithDelims\pld@divisor=             \pld@PrintPolyShadow             \ifx\pld@remainder\@empty\else                 +{}%                 \setbox\z@=\hbox{$\displaystyle                   \frac{\let\strut\@empty\pld@firsttrue \expandafter                         \pld@PrintRemain\expandafter{\pld@remainder}}%                        {\let\strut\@empty\pld@PrintPoly\pld@divisor}$}%                 \dp\z@=\z@\box\z@             \fi             $}%         \fi     \fi \expandafter\pld@AR@\pld@allines\relax} \makeatother   \arrayrulecolor{red} \arrayrulewidth=0.8pt \def\strut{\rule[-6pt]{0pt}{12pt}}  \begin{document} \polylongdiv[style=A]{\frac{3}{7}x^9+x^2-\frac{1}{4}}{\frac{9}{5}x^4-1}  \vspace{1cm} \polylongdiv[style=A]{x^4-1}{x^2-1} \end{document} MySQL sort after argument in IN() How does a half-life work? Carbon-14 has a half-life of 5,730 years.  That means that after 5,730 years, half of that sample decays.  After another 5,730 years, a quarter of the original sample decays (and the cycle goes on and on, and one could use virtually any radioactive isotope).  Why is this so?  Logically, shouldn't it take 2,865 years for the quarter to decay, rather than 5,730? What happens if my ESTA expires on the day of arrival? I'm French and will travel the 14th of June to the US. My ESTA expires the 14th of  June 2013 and I'm wondering if my ESTA will be valid when I'll land in the US on the 14th of June 2013.  Does someone know anything about that? What happens when one is affected by something such as energy drain, and permanently loses levels when one only has racial HD? Does the victim of the spell die? Or do they permanently lose racial HD? Normalization of basis vectors with a continuous index? I have an infinite basis which associates with each point, $x$, on the $x$-axis, a basis vector $|x\rangle$ such that the matrix of $|x\rangle$ is full of zeroes and a one by the $x^{\mathrm{th}}$ element. The book on Quantum Mechanics by Shankar says that the inner product between a basis vector and itself is not one, why not? Why can't these basis vectors be normalized to one, only to the ? I have two custom taxonomies applied to two custom post types. the terms list on the sidebar just fine and will list all posts associated with it. However, if you search one of the terms in specific, it doesn't bring up a post with that term.  Example:  Search for term "PQRI"  I get nothing. Any ideas? I've tried using various search plugins but they either break my custom search parameters or just don't work. What is the best way to get the names of all of the tables in a specific database on SQL Server? Is it possible to Pivot data using LINQ? I am wondering if it is possible to use LINQ to pivot data from the following layout:  CustID | OrderDate | Qty 1      | 1/1/2008  | 100 2      | 1/2/2008  | 200 1      | 2/2/2008  | 350 2      | 2/28/2008 | 221 1      | 3/12/2008 | 250 2      | 3/15/2008 | 2150   into something like this:  CustID  | Jan- 2008 | Feb- 2008 | Mar - 2008 | 1       | 100       | 350       |  250 2       | 200       | 221       | 2150 I'm writing code to do Xml serialization. With below function.  public static string SerializeToXml(object obj) {     XmlSerializer serializer = new XmlSerializer(obj.GetType());     using (StringWriter writer = new StringWriter())     {         serializer.Serialize(writer, obj);         return writer.ToString();     } }   If the argument is a instance of class without parameterless constructor, it will throw a exception.     Unhandled Exception:   System.InvalidOperationException:   CSharpConsole.Foo cannot be serialized   because it does not have a   parameterless constructor.    at   System.Xml.Serialization.TypeDesc.CheckSupported()   at   System.Xml.Serialization.TypeScope.GetTypeDesc(Type   type, MemberInfo sourc e, Boolean   directReference, Boolean throwOnError)   at   System.Xml.Serialization.ModelScope.GetTypeModel(Type   type, Boolean direct Reference)    at   System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type   type , XmlRootAttribute root, String   defaultNamespace)    at   System.Xml.Serialization.XmlSerializer..ctor(Type   type, String defaultName space)    at   System.Xml.Serialization.XmlSerializer..ctor(Type   type)   Why must there be a parameterless constructor in order to allow xml serialization to succeed?  EDIT: thanks for cfeduke's answer. The parameterless constructor can be private or internal. In-Page Editor Line Distortion The SFDC In-page editor has always had distortion for me, and I'm just wondering if it's just a lousy browser plugin they're using or if someone has found a good browser / operating system combination that stops the obnoxious distortion.   Obviously Salesforce doesn't have much interest in fixing it: as it's been this way on multiple operating systems and browsers I've used since I've used Salesforce.  However, my frustration with their other developer tools has lead me to use it occasionally and it's always the same: How to run scripts every 5 seconds? Making a WinForms TextBox behave like your browser's address bar When a C# WinForms textbox receives focus, I want it to behave like your browser's address bar.  To see what I mean, click in your web browser's address bar. You'll notice the following behavior:    Clicking in the textbox should select all the text if the textbox wasn't previously focused. Mouse down and drag in the textbox should select only the text I've highlighted with the mouse. If the textbox is already focused, clicking does not select all text. Focusing the textbox programmatically or via keyboard tabbing should select all text.   I want to do exactly this in WinForms.  FASTEST GUN ALERT: please read the following before answering! Thanks guys. :-)     Calling .SelectAll() during   the .Enter or .GotFocus events won't   work because if the user clicked the   textbox, the caret will be placed   where he clicked, thus deselecting all   text.      Calling .SelectAll() during the .Click event won't work because the user won't be able to select any text with the mouse; the .SelectAll() call will keep overwriting the user's text selection.      Calling BeginInvoke((Action)textbox.SelectAll) on focus/enter event enter doesn't work because it breaks rule #2 above, it will keep overriding the user's selection on focus. I'm trying to show that a finite sum of eigenspaces (with distinct eigenvalues) is a direct sum.   I have $ \alpha : V \to V $. The eigenspaces are $ V_{\lambda_i} = \ker(\alpha - \lambda_i id_V )$ for $ 1 \leq i \leq n $. My attempt at a proof:  $ A + B $ is a direct sum iff $ A \cap B = \{0\} $. If $ v \neq 0 \in V_{\lambda_i} \cap V_{\lambda_j} $ for some $i,j, i \neq j $, then $ \alpha(v) = \lambda_i v $ and $ \alpha(v) = \lambda_j v $. So $(\lambda_i - \lambda_j)v = 0 $, and so $ \lambda_i = \lambda_j $. This is a contradiction, so any pair of the eigenspaces have trivial intersection. Therefore $ \cap_{i=1}^n V_{\lambda_i} = \{0\} $, and so we have a direct sum.  Is this ok?  Thanks Is "a total of 10 payments" singular or plural? A total of 10 payments were made.   OR     A total of 10 payments was made.   Which is correct? Or can both be correct? "EOL while scanning single-quoted string"? (backslash in string)