Is there a way to geomtrically visualize the identity (1³ + 2³ + ... + n³) = (1 + 2 + ... + n)², n ∈ ℕ? Are there any other similar identities?
$$(1+2+\cdots+n)^2=1^3+2^3+\cdots+n^3$$  I noticed this only because $\displaystyle \sum_{i=1}^n i = \frac{n(n+1)}{2}$ and $\displaystyle \sum_{i=1}^n i^3 = \frac{n^2(n+1)^2}{4}$.  But the two things look completely different and I can't think of an intuitive reason I would have seen this connection. Something like the 'Proof Without Words' images. Or a trick I could use while expanding the right hand side to transform it to the sum of cubes.
C# Compiler should give warning but doesn't? I have the task of creating a simple Excel sheet that takes an unspecified number of rows in Column A like this:  1234 123461 123151 11321   And make them into a comma-separated list in another cell that the user can easily copy and paste into another program like so:  1234,123461,123151,11321   What is the easiest way to do this? How to find continued fraction of pi I have always been amazed by the continued fractions for $\pi$. For example some continued fractions for pi are:  $\pi=[3:7,15,1,292,.....]$ and many others given .  Similarly some nice continued fractions for $e$ and it's derivatives are given .I have tried to prove that the are indeed the continued fractions but did not get very far.If any one can can help it would be great(especially if there is some easy way to get continued fraction of derivatives of e from the original continued fraction of e).Here derivatives of e I mean $\sqrt e,\frac{e-1}{e+1} $ etc. What are the rules for animal mating? Why does an argument similiar to 0.999...=1 show 999...=-1? I accept that two numbers can have the same supremum depending on how you generate a decimal representation. So $2.4999\ldots = 2.5$ etc. Can anyone point me to resources that would explain what the below argument that shows $999\ldots = -1$ is about? Here is the most usual proof I see that $0.999\ldots = 1$:  $x=0.999\ldots$ $10x=9.999\ldots$ $10x - x = 9$ $x=1$  Using this same argument template I can show $999\ldots=-1$:  $x= \ldots9999.0 $ $0.1x= \ldots9999.9$ $0.1x - x = 0.9$ $x=-1$  What might this mean? Edit from one of the comments: $$\sum_{k=0}^{\infty}{9 \cdot 10^k}=-1$$ Why was William Cage sent to the base? Allow me to add my own "top questions" too! I know, I know, the site should be more heavily weighted to answering, but sometimes, how and what people ask is important too! For example I recently asked  which I think is a fairly good question. Clearly I'm going to avoid questions where I've asked something very simple, but I know of a user or two who are implementing their own C standard libraries and the depth of those questions is important/ought to be on show.  Of course, the argument I can just look at their profile holds, but that awesome q/a might have been from a year or so ago in which case finding it is difficult. Additional horizontal space when the last line of an environment is full I have created an environment env which just adds a \medskip and some text (say "Blablabla") after the text inside \begin{env} ... \end{env}. The problem is that if the last line is full, then I get an additional horizontal space between the text and "Blablabla".  Here is an MWE:  \documentclass{article} \newenvironment{env}{ ENVIRONMENT:\par }{ \medskip \par\noindent Blablabla }  \begin{document}  \section*{First case: the last line is not full}  \begin{env} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla malesuada porta tortor non vestibulum. Vivamus vel tincidunt purus. Curabitur quam arcu, suscipit sed diam sed, ornare efficitur felis. Duis at arcu iaculis, viverra ligula sit amet, hendrerit eros. Proin finibus venenatis sollicitudin. Nunc ullamcorper sem ut lacinia posuere. Integer pulvinar nulla lorem, ut pulvinar ipsum egestas at. Duis quam ipsum, posuere ac pulvinar vitae, auctor non leo. \end{env}  \section*{Seconde case: the last line is full}  \begin{env} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque suscipit vitae neque eu gravida. Quisque et enim quam. Integer elementum diam a ex laoreet, ac egestas lacus volutpat. Nunc ullamcorper non urna tincidunt ultrices. Etiam eu ultricies diam. Proin mollis, nunc sit amet volutpat varius, ipsum tellus bibendum nulla, in eleifend lacus felis pellentesque nisl. Phasellus laoreet, libero quis auctor congue, nulla nulla aliquam metus, in hendrerit arcu justo quis tortor. Nunc nec nisi euismod, consectetur tellus nec, suscipit libero.  \end{env}  \end{document} Why doesn't my systemd user unit start at boot? Probability of Various Combinations of Weather There's a 10% chance it will rain today. There's a 15% chance it will snow today.   What percentage chance is it that it will:   Both rain and snow (it can both rain and snow at the same time)? Neither rain nor snow? -   Raining and snowing are independent of each other.  EDIT: (ADDED)   Rain or snow but not both? If every eigenvector of $T$ is also an eigenvector of $T^{*}$ then $T$ is a normal operator Let $V$ be a finite-dimensional inner product space over $\mathbb{C}$ and $T: V \to V$ a linear transformation.   Show that if every eigenvector of $T$ is also an eigenvector of $T^{*}$ then $T$ is a normal.   We need to show that $\forall v \in V,\ TT^*v=T^*Tv$.  I started by picking $v$ to be an eigenvector of $T$, hence $Tv=\lambda_1 v$, and $T^*v=\lambda_2 v$. Therefore: $$TT^*v=T(\lambda_2 v)=\lambda_2 Tv=\lambda_1 \lambda_2 v=...=T^*Tv$$  But I'm stuck when $v$ is not an eigenvector.  (Also, this question is taken from a chapter about Jordan forms, but I can't see how it relates) Should I set the title attribute for content DIV's to explain what they contain? I have a number of DIV's that break up a page into logical elements for styles and positioning, etc.  As part of optimizing my site for search engine spiders, should I include a title attribute within these DIV's?  (Yes I have a title as part of the whole page, I'm curious on individual structual elements)  Ex  ... &lt;div id="SearchOptions" title="Search filters and options - Type in a name or pick a business and Click 'Search' to get started" &gt;   .... &lt;/div&gt; ... How to get things off your head in Minecraft Mo' Creatures mod I installed the Mo'Creatures mod into Minecraft, then made a fish bowl. After catching a fish I went to put it on top of a bookshelf in my room, but instead of placing it, the bowl just dropped at my feet. When I tried to pick it up my character put it on his head. Now I'm stuck with a fish bowl on my head and I can't find any mention anywhere of how to get it off. There are a number of other animals from the mod that you can put on your head for some effect, but no mention of how to remove them pretty much anywhere. I want to set a from address in a salesforce SingleEmailMessage, but can't see a way to do this and there is no standard method described in the documentation.   I want the email to be sent from doNotReply@blahblah.com, however, the email address of the user editing the record (which triggers the email send) is used as from address.  I'm using the following code:  mail.setReplyTo(fromaddress); mail.setSenderDisplayName(fromaddress);   But my code only changes the display name, not the email address.  Full code:   public static void sendSingleMail(id objId, ID templateId, string fromaddress) {      Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();     mail.setReplyTo(fromaddress);     mail.setTemplateId(templateId);     mail.setTargetObjectId(objId);     mail.saveAsActivity = false;     mail.setReplyTo(fromaddress);     mail.setSenderDisplayName(fromaddress);      ErrLogger.logger('Email being sent to :');     ErrLogger.logger('objId found:  ' + objId);     ErrLogger.logger('templateId found:  ' + templateId);     ErrLogger.logger('fromaddress found:  ' + fromaddress);      Messaging.sendEmail(new Messaging.SingleEmailmessage[] {mail}); } How do I get the number of days between two dates in JavaScript? How do I get the number of days between two dates in JavaScript? For example, given two dates in input boxes:  &lt;input id="first" value="1/1/2000"/&gt; &lt;input id="second" value="1/1/2001"/&gt;  &lt;script&gt;   alert(datediff("day", first, second)); // what goes here? &lt;/script&gt; How to find the roots of $x^4 +1$ I'm trying to find the roots of $x^4+1$. I've already found in this site solutions for polynomials like this $x^n+a$, where $a$ is a negative term. I don't remember how to solve an equation when $a$ is a positive term as the equation above.  Thanks Are console games locked to a certain region? I'm going on a vacation from Europe to the US and was planning of bringing along some Xbox360 or PS3 games, but now I'm curious if they will be compatible with my European Xbox.  In that past there would be a clear difference between NTSC and PAL games, but is this still the case with the current gen of consoles? Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi) How do I resize a LVM partition using system-config-lvm?  As per   I clicked on the partition and tried to resize, but got a pop-up error from system-config-lvm.     Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi).     What's the problem and how can I fix it?    See also . Why does switching to the tty give me a blank screen? After booting to the GUI in 12.04, I attempt to move to the virtual terminal (or shell, or tty) via Ctrl-Alt-F1 (F1 through F6), and the screen remains blank. I have tried all 6 tty instances and the results are the same. Ctrl-alt-F7 brings me back to the GUI without a problem. Any thoughts? Generate four random words from a list for XKCD-like passwords For start, we know how can we output random lines from a txt file:   perl -MList::Util -e 'print List::Util::shuffle &lt;&gt;' words.txt   But we need a general solution (perl is usually installed on every unix-like OS) to output 4 random words from a txt file, how can we do it?    $ cat words.txt ... alpha beta gamma delta epsilon ... $   The "..." represents many other words.   Example output (without newline between them, but one unix newline is needed at the end, spaces should separate them):  $ perl SOMEMAGIC words.txt gamma alpha delta beta $   Using only perl, the shortest possible solution (oneliner).   It will be used as human memorable password generator:    Since afaik perl is enough good to be named "random generator".   Example common english wordlist with 32768 unique lines: