Can't install WampServer
What's the easiest way to set up a LAMP stack?
I don’t actually need to run the command below, and I am aware of ssh keys if I did want to log in without typing a password. I would just like to know how ssh seems to circumvent my file redirection.  Running the following command, ssh prompts me for a password:  ssh nobody@192.168.1.151 &gt; /dev/null 2&gt; /dev/null &lt; /dev/null   How does this work? stdin, stdout, and stderr are all redirected, but ssh still manages to print a prompt on my screen and read what I type. I tried adding the ssh arguments -t -t and -T (not both at once), to enable or disable pseudo-tty allocation, but it made no difference.  I also tried closing all input and output this way, although I don’t know if I typed it correctly. Still, ssh prompts for a password:  (exec 0&lt;&amp;- 1&lt;&amp;- 2&lt;&amp;- 0&gt;&amp;- 1&gt;&amp;- 2&gt;&amp;-; ssh nobody@192.168.1.151) Shape gets distorted when adding stroke in Illustrator CS6 I very recently started learning how to use Adobe Illustrator (CS6), and just now I noticed something strange. When I add a 1pt stroke to my shape, it gets slightly distorted. This distortion does not disappear if I remove the stroke. (But only if I remove the stroke by setting its weight to 0. Using CTRL+Z does return the shape to its former state.)  After adding and removing the stroke a few times, the difference becomes quite noticable:   Am I doing something wrong? Is it a bug? I can't imagine this being the expected behaviour.  EDIT: I think I figured it out. Appearantly, turning 'Align to pixel grid' off doesn't affect previous shapes. If I turn it off and then recreate my shape from scratch, the problem is fixed.   However, I was wondering if their is a way to disable the effect for existing shapes. In other words, can I 'fix' the shapes I created while 'Align to pixel grid' was still on? I recently installed the apache2 package using the Software Centre, I want to create an alias apacheres which will replace the more cumbersome command /etc/init.d/apache2 restart.  I opened the .bashrc file in my home directory, and it contains the following lines:  # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package.  if [ -f ~/.bash_aliases ]; then     . ~/.bash_aliases fi   So I created a .bash_aliases file in my home directory, and added only this line:  alias apacheres ='/etc/init.d/apache2 restart'  When I started my terminal, I get this error message:  bash: alias: apacheres: not found bash: alias: =/etc/init.d/apache2 restart: not found   The shell has obviously read the file, otherwise it wouldn't know of its existence. I have checked the directory path and I can find the file apache2 there. What do I need to do to make this alias work? How can I install Celestia on Ubuntu 18.04.1? Like the title said, I want to install Celestia. I already downloaded the packages  and then, I tried all the things that I found on some posts (also, they're outdated, cause the last one is for Ubuntu 16.04) but nothing works.  How can I install it on Ubuntu 18.04.1? I have a computer (Asus T200TA) with 2G RAM and 32-bit UEFI [Yep, what a wonderful idea to put 32-bit UEFI!]. I have two options:   Install a 64-bit system, boot manually and install grub-efi-ia32. Drawback: 2G is not much, systems with such low RAM are said to run better on 32-bit systems. Install a 32-bit version. (but from my state of knowledge it's not trivial to boot)   Which option would be better? What lens characteristics are important in star photography? In optimal world I would buy a lens that is good in every way. But I'm on a budget and have to find a balance in quality and price. I'm looking for a lens for star photography, so in my case it will be a wide angle lens with good characteristics for capturing points of light in a dark sky. What would those characteristics be?  So far I've learned about , which seems like a thing to note when comparing different lenses for star photography. It would be quite disappointing if stars turned into long teardrops on the edges of a photograph even when every precaution was taken to make all stars sharp round points of light.  Vignetting would be an example of lens characteristic not so important in this use.  Many characteristics of a lens turn better when aperture is slightly stopped down, but I suppose I'd be wanting to use a lens with wide open aperture when trying to capture the stars in a dark night sky.  I'm not asking for lens recommendations. But, as an example of what kind of lenses I've been looking at, I name  manual focus lens. Its price level is $350'ish in Amazon and seems to run with name Rokinon too. It seems to be reasonably sharp even when wide open - my camera is an APS-C sensor camera. How to escape text for regular expression in Java Why is this sentence correct?     She suggested that he go to the cinema.   I would definitely use goes instead of go. How to find and return a duplicate value in array No transaction fee ETF trades - what's the catch? I just noticed TD Ameritrade has program where you can trade from a list of ETFs with zero fees.  Sounds like it could save me a bit of money, but my cynical side wonders how they make money off such a program...  Is it a loss leader? (They entice me to have an account there, and then make money off the other trades I make?)  Or do they simply want to grow the size of their asset base -- what is the mechanism by which they make money on the funds that I have in my account?  Edit: in case it wasn't clear in the original question above, this is an ongoing program for free ETF transactions -- not a one-time deal for some number of free trades when you open an account. I have had an account there for years and I'm eligible to participate -- it's not a program explicitly designed just to gain new accounts. Javascript to sort contents of select element is there a quick way to sort the items of a select element? Or I have to resort to writing javascript?  Please any ideas.  &lt;select size="4" name="lstALL" multiple="multiple" id="lstALL" tabindex="12" style="font-size:XX-Small;height:95%;width:100%;"&gt; &lt;option value="0"&gt; XXX&lt;/option&gt; &lt;option value="1203"&gt;ABC&lt;/option&gt; &lt;option value="1013"&gt;MMM&lt;/option&gt; &lt;/select&gt; The following problem was on a math competition that I participated in at my school about a month ago:      Prove that the equation $\cos(\sin x)=\sin(\cos x)$ has no real solutions.   I will outline my proof below.  I think it has some holes.  My approach to the problem was to say that the following equations must have real solution(s) if the above equation has solution(s):  $$ \cos^2(\sin x)=\sin^2(\cos x)\\ 1-\cos^2(\sin x)=1-\sin^2(\cos x)\\ \sin^2(\sin x)=\cos^2(\cos x)\\ \sin(\sin x)=\pm\cos(\cos x)\\ $$  I then proceeded to split into cases and use the identity $\cos t = \sin(\frac{\pi}{2} \pm t\pm y2\pi)$ to get   $$ \sin x=\frac{\pi}{2} \pm \cos x\pm y2\pi\\ $$  and the identity $-\cos t = \sin(-\frac{\pi}{2}\pm t\pm y2\pi) $ to get   $$ \sin x=- \frac{\pi}{2}\pm \cos x \pm y2\pi.\\ $$  where $y$ is any integer.  I argued that $y=0$ was the only value of $y$ that made any sense (since the values of sine and cosine remain between $-1$ and $1$).  Therefore, the above equations become   $$ \sin x=\frac{\pi}{2} \pm \cos x\implies \sin x \pm \cos x=\frac{\pi}{2}\\ $$  and   $$ \sin x=- \frac{\pi}{2}\pm \cos x\implies \cos x\pm\sin x= \frac{\pi}{2}.\\ $$  Then, by a short optimization argument, I showed that these last two equations have no real solutions.  First, does this proof make sense?  Second, if my proof makes sense, then I feel that it was not very elegant nor simple.  Is my approach the best, or is there a better (i.e., more elegant, shorter, simpler) proof? At what stage should acknowledgements be inserted into the paper if review is not double-blind? When the review process is double-blind, I guess (although I have not read this anywhere) that acknowledgements should not be written in the submitted paper, as this might break anonimity. They should only be inserted into the camera-ready version, after the paper is accepted.  What is the custom when the review process is not double-blind? Should I write the acknowledgements in the submitted version, or wait to the camera-ready version? This hurts my eyes to read it and my ears to say it, but the writer stands by          About the same number of people was awarded bachelor's degrees in 2010 as filed for personal bankruptcy (1.6 million).   Is the subject in this sentence singular or plural? I am currently writing a paper with several multiple regression analyses. While visualizing univariate linear regression is easy via scatter plots, I was wondering whether there is any good way to visualize multiple linear regressions?   I am currently just plotting scatter plots like dependent variable vs. 1st independent variable, then vs. 2nd independent variable, etc. I would really appreciate any suggestions. How do I bypass "this connection is not private" warnings in safari? Spivak Chapter 2, problems 27 (and 28) To be honest, I have no idea how to even start this problem. I'm sorry I don't have any work to show, but I'm just at a blank. Help?  Chapter 2: Problem 27:  University B, once boasted $17$ tenured professors of mathematics. Tradition prescribed that at their weekly luncheon meeting, faithfully attended by all $17$, any members who had discovered an error in their published work should make an announcement of this fact, and promptly resign. Such an announcement had never actually been made, because no professor was aware of any errors in her or his work. This is not to say that no errors existed, however. In fact, over the years, in the work of every member of the department at least one error had been found, by some other member of the department. This error had been mentioned to all other members of the department, but the actual author of the error had been kept ignorant of the fact, to forestall any resignations. One fateful year, the department was augmented by a visitor from another university, one Prof. X, who had come with hopes of being offered a permanent position at the end of the academic year. Naturally, he was apprised, by various members of the department, of the published errors which had been discovered. When the hoped-for appointment failed to materialize, Prof. X obtained his revenge at the last luncheon of the year. &quot;I have enjoyed my visit here very much&quot;, he said, &quot;but I feel that there is one thing that I have to tell you. At least one of you has published an incorrect result, which has been discovered by others in the department.&quot; What happened the next year?&quot;   Chapter 2: Problem 28:  After figuring out, or looking up, the answer to Problem 27, consider the following: Each member of the department already knew that Prof.X asserted, so how could his saying it change anything? Story where vampires are created by drop absorbed on neck? I have been trying to identify a book that I read maybe 25-30 years ago (1987-1992), in which there are vampire or vampire-like creatures, but instead of being created in the traditional way (e.g. bite on the neck), something drops a drop of a fluid on the back of their neck, which is then absorbed into the body and transforms them. I have a vague notion that some sort of tree is what creates these drops. The drops may have had a shiny metallic appearance.  I've tried to find this book before and always came up short. I'm starting to think the whole thing was a dream and I never read it at all. But I really feel like it was a book or at least a short story. My rear rim brakes are squeaking loudly. I don't know what the problem is, but I am sure it has nothing to do with rain because it happens all the time even if it is dry.  Anybody have an idea what could be problem and how to solve it? It makes the rear brakes kind of useless, because if I use them I will scare the people or drivers around me. Optimal step size in gradient descent