How can I plot visible spectrum?
How to plot an emission spectrum?
Is it possible to know from apt if the package was installed explicitly or as a dependency of another package? Convert NSDate to NSString Checking my understanding: $1 - 1 + 1 - 1 + 1 - ... = \frac{1}{2}$ I've recently run into a proof that claims that $1 - 1 + 1 - 1 + 1 - 1 ... = \frac{1}{2}$ that proceeds as follows:     Let $S = 1 - 1 + 1 - 1 + 1 - 1 + ...$. Then $$S = 1 - (1 - 1 + 1 - 1 + 1 - 1 ...) = 1 - S$$ Therefore, $2S = 1$, so $S = \frac{1}{2}$. QED   I was under the impression that this sum doesn't converge, and therefore this step of the proof is invalid:     Let $S = 1 - 1 + 1 - 1 + 1 - 1 + ...$   That is, it's not even valid to suppose that the sum is equal to some (implicitly real or complex) number $S$, and therefore the reasoning that follows is meaningless because $S$ doesn't exist and therefore has any properties we want it to have.  Is the reasoning I've given above correct? That is, is it correct for me to claim that the proof fails because $S$ doesn't exist?  (I've heard that there are techniques for evaluating divergent integrals by using complex analysis and Taylor series, so perhaps there's another way to prove that the summation is $\frac{1}{2}$; I just wanted to see whether my reasoning is sufficient to explain why this particular proof is incorrect. If the proof actually is correct, then I stand corrected!)  Thanks! How to enable or disable a user? I'm uing ubuntu 12.04 desktop. I have 3 users: user1(administrator), user2(standard) and guest. I wanted to disable user1 and enable user2 which auto logs on with no password but after I did that I can't login to user1 and user2 accounts except the guest session user. I'm striped off every administrative privileges. I don't know which options are available to me and how do I enable root or user which is an administrator? I am applying for a UK visa. Can I show 5 months worth of bank statements for the UK visa, or is 6 months a requirement, as its not mentioned on their website?  There are no appointment dates showing in April. Is there any time limit in which we have to book an appointment after paying the fee? Evaluate these infinite products $\prod_{n\geq 2}(1-\frac{1}{n^3})$ and $\prod_{n\geq 1}(1+\frac{1}{n^3})$ What is   $\prod\limits_{n\geq 2}(1-\frac{1}{n^3})=?$ $\prod\limits_{n\geq 1}(1+\frac{1}{n^3})=?$   I am sure about their convergence. But don't know about exact values. Know some bounds as well. For example first one is in interval (2/3,1) and second one is in (2,3). Unwanted faint lines connecting dashed double line How to embed fonts in HTML? I'm trying to figure out a decent solution (especially from the SEO side) for embedding fonts in web pages. So far I have seen , which doesn't even work on Firefox, and . The second solution is for titles only. Is there a solution available for full text? I'm tired of the standard fonts for web pages.  Thanks! Render shadows over a transparent background in cycles I'm trying to make a logo that will be on the header of a website. What I'd like to achieve, and the reason I'm using Blender, is the projected shadows on the background looking perfectly real (as opposed to doing a drop-shadow in Photoshop).  The only thing is, the background has to be transparent because the website might use different background colors / gradients that make it impossible to match with the exported 3D background.  I made this dummy file (not the real logo... duh!):    If I use the file as is, the grey borders of the image will be impossible to match with the website's background color.  Here what I want:    So obviously, I tried masking the plane, which made the shadows disappear. I tried having a plane set to glass, which didn't work either.  And I looked around for a similar question, but didn't find one.   I am not trying to render , or a . I've seen  which has a very difficult solution to this problem, and  that is very similar but in Blender Internal.  is similar too but has never been solved. I'm only a beginner at Compositor, and I'm trying to learn more any chance I get, so any solution in Compositor is welcome if detailed enough. Although if there's a simpler or faster way, it's welcome too!  .blend file: Installing from source. How to resolve dependencies without destroying the package manager Difference between float and decimal data type NSWindow Mac App Store like Title Bar Delay in approval leads to missing out on being awarded an "Explainer" badge I am not sure if this is a bug or a design error, but I came across this issue on Robotics. I assume that the same code is employed across the various SE sites, so I am posting my question here. I submitted an answer to  at 16:26.    I then suggested an edit to the question at 17:03. However, it was not until 20 hours later, at 13:03, that the edit was approved, so I appear to have missed out on the &quot;Explainer&quot; badge, as the edit should be done within 12 hours.    I don't know the reason for the delay, as I do not have a low approval rating:    I'm not bothered about missing out on the badge, nor am I criticising the reviewers - after all, we all do this in our free time. However, it does seem that the algorithm for the badge relies on the approval time, in lieu of the submit time, which does not seem to be correct, as the badge then becomes dependant upon the reviewer's availability/responsiveness, rather than upon the actions of the answerer/editor.  TL;DR Should the badge also check if the edit was caused by a suggested edit and, in those cases, look at the time it was suggested rather than the time it was eventually approved? Convert continuous numeric values to discrete categories defined by intervals Can we have a list of all the Stack Exchange domains somewhere, for firewall purposes? Why use hex? Hey! I was looking at this code at   I noticed that in some situations they used hex numbers, like in line 134:  for (j = 1; val &amp;&amp; j &lt;= 0x80; j &lt;&lt;= 1, q++)   Now why would they use the 0x80? I am not that good with hex but I found an online hex to decimal and it gave me 128 for 0x80.  Also before line 134, on line 114 they have this:  small_n = (n &amp; 0xffff0000) == 0;   The hex to decimal gave me 4294901760 for that hex number. So here in this line they are making a bit AND and comparing the result to 0??  Why not just use the number? Can anyone please explain and please do give examples of other situations.  Also I have seen large lines of code where it's just hex numbers and never really understood why :( "More clear" vs "Clearer": when to use "more" instead of "-er"? What are some good ways to showcase someone's portfolio work online? Values of the limit $\lim\limits_{x\to+\infty}\left(\sqrt{(x+a)(x+b)}-x\right)$ Hi I have a question regarding finding the values of limit for the following question.  Let $a, b \in \mathbb R$. Find the limit $$\lim_{x\to+\infty}\left(\sqrt{(x+a)(x+b)}-x\right)$$ How can I send a custom desktop notification? I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that?