Why is Graphics3D lighting different when rotating?
3D graphics render as though no illumination
I cheated on the Disciplined badge, how bad is it? I was looking for badges I didn't have yet, and I saw the Disciplined badge. So I deleted an answer of mine with 3+ votes, and waited. Five minutes later, sweet, a new badge! Then I went to my answer again, and undeleted it. No problem at all, and I keep the badge!   What will happen? Will my badge stay here or not? More generally, what happens when the conditions to get a badge are valid at one time, and then not valid?  Other badge in this case:   Unsung hero - "Zero score accepted answers: more than 10 and 25% of total"   What happens if answers get a vote after getting the badge? Are the badge frequently recalculated? Display Custom Fields in a SharePoint 2010 Content Query Web Part Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a SharePoint 2010 Content By Query Web Part How can I find the difference between two angles? Stop sound from speakers when connecting headphones I guess this question already had the answer here but I can't find it. I'm using 12.04.  Update:  The problem is that I can hear the sound from my laptop's speakers even if I plugged in my headphones. Headphones is just standard stereo headphones. And the most interesting thing is  that all was working just a week ago.  I tried to play with pulseaudio and alsamixer settings - no results. I've been reading forum posts and blogs who mention "my guy" syndrome as a specific type of difficult player, but I can't seem to find a solid definition for the term. Can someone explain this particular kind of problem player to me? How do you deal with this kind of problem? My current prompt is colorized and edited as so -  #!/bin/bash  # GIT Prompt help if tput setaf 1 &amp;&gt; /dev/null; then     tput sgr0; # reset colors     bold=$(tput bold);     reset=$(tput sgr0);     txtund=$(tput sgr 0 1);     black=$(tput setaf 0);     blue=$(tput setaf 33);     cyan=$(tput setaf 37);     green=$(tput setaf 64);     orange=$(tput setaf 166);     purple=$(tput setaf 125);     red=$(tput setaf 124);     violet=$(tput setaf 61);     white=$(tput setaf 15);     yellow=$(tput setaf 136); else     bold='';     reset="\e[0m";     black="\e[1;30m";     blue="\e[1;34m";     cyan="\e[1;36m";     green="\e[1;32m";     orange="\e[1;33m";     purple="\e[1;35m";     red="\e[1;31m";     violet="\e[1;35m";     white="\e[1;37m";     yellow="\e[1;33m"; fi; ORIG=$PS1 HOST=$HOSTNAME PS1="\[${txtund}${green}\]${HOST}\[\[${reset}\]"; PS1+="\$(prompt_git \"\[${white}\] on \[${violet}\]\")"; PS1+="\[${reset}\]"; PS1+="\[ at - ${orange}\W\]"; PS1+="\[${reset}\]"; PS1+="\[ - \u \]"; PS1+="\n\$ ";   I know that the line  PS1+="[ - \u ]"; will show me my current user. However, I want that section to be red if it is root. All other users should be the default color of gray. Is there a way to change the color in that section based off of current user or should I just declare a variable and use an IF statement to insert that section or a modified section with red as a color?  My expected output is gray named user for all normal users. Root should be red. This is BASH. Subsetting matrices Virtual Host not working as expected when I'm using .dev domain extension I'm doing a Laravel project and I need to set up a virtual host example.dev in my system. For that I've created a copy of 000-default.conf and named it as example.dev.conf and placed in /etc/apache2/sites-available. The contents of the file is given below (comments removed):  &lt;VirtualHost *:80&gt;     &lt;Directory /var/www/html/example/public/&gt;         Options Indexes FollowSymLinks MultiViews         AllowOverride All         Require all granted     &lt;/Directory&gt;      ServerName example.dev     ServerAlias www.example.dev      ServerAdmin admin@example.dev     DocumentRoot /var/www/html/example/public      ErrorLog ${APACHE_LOG_DIR}/error.log     CustomLog ${APACHE_LOG_DIR}/access.log combined &lt;/VirtualHost&gt;   Then I've enabled the site using a2ensite command and disabled 000-default.conf using a2dissite command. Then it will open my project when I try localhost (/var/www/html) in my browser and not example.dev. The virtual host example.dev always produce "The site can't be reached" error in browsers.  Any suggestions? I admin a handful of cloud-based (VPS) servers for the company I work for.   The servers are minimal ubuntu installs that run bits of LAMP stacks / inbound data collection (rsync). The data is large but not personal, financial or anything like that (ie not that interesting)  Clearly on here people are forever asking about configuring  and such like.   I use a bunch of approaches to secure the servers, for example (but not restricted to)   ssh on non standard ports; no password typing, only known ssh keys from known ips for login etc https, and restricted shells (rssh) generally only from known keys/ips servers are minimal, up to date and patched regularly use things like rkhunter, cfengine, lynis denyhosts etc for monitoring   I have extensive experience of unix sys admin. I'm confident I know what I'm doing in my setups. I configure /etc files. I have never felt a compelling need to install stuff like firewalls: iptables etc.  Put aside for a moment the issues of physical security of the VPS.  Q? I can't decide whether I am being naive or the incremental protection a fw might offer is worth the effort of learning / installing and the additional complexity (packages, config files, possible support etc) on the servers.  To date (touch wood) I've never had any problems with security but I am not complacent about it either. If $|a| = 12, |b| = 22$ and $\langle a \rangle\cap \langle b\rangle \ne e$, prove that $a^6 = b^{11}$ Prove that $\liminf x_n = -\limsup (-x_n)$ How can we prove that $\liminf x_n = -\limsup (-x_n)$?  The definitions we are using are $\limsup x_n = \lim\limits_{n\to\infty} \sup\{x_k; k\ge n\}$ $\liminf x_n = \lim\limits_{n\to\infty} \inf\{x_k; k\ge n\}$ Beamer: how to justify the whole text? Which Windows 7 log file contains device connection/disconnection information? Windows 7 frequently plays the usb/new device connection/disconnection sound. It happens both when the computer is idle and under load. All usb device connections have been checked (though I can't rule out a bad cable yet). I thought a good way to track down the issue would be to wait for the sound and then check the log file for the latest connected/disconnected device. I just need to know which log file has this information.  Edit: I'm going to leave the answer accepted, however the issue persists. I get that sound seemingly randomly throughout the day. Anyone else have any ideas? Around 3 months ago, I submitted a paper to a Math journal for peer-review through an online submission system. The same day I received in my e-mail an acknowledgement saying that the paper had been received.  The problem is that the status of the paper on the online submission system is still "Manuscript submitted".  I think this means that the paper has not even been assigned to an editor yet (once this happens, the editor will probably start looking for reviewers), but as far as I know submissions are assigned to editors within a few weeks (I once submitted a paper to another journal and when an editor had been assigned, the status on the online system changed to "Editor handles" or something like that).  I know that publishing is a long and complicated process and I'm not trying to rush anybody, but sometimes manuscripts are lost in the system. In fact, this has once happened to me, so I just want to make sure that the paper was not lost in the system.  Should I send an e-mail asking for the status of the paper?  PS: I think that, at the time of submitting the paper, I didn't choose any specific editor to submit the paper to. Manual/automatic line breaks and text alignment in TikZ nodes Under , is $\exists x(x=a)$ true in every interpretation in first order logic (FOL) with equality? If so, could $\exists x(x=a)$ be considered a tautology? This question was motivated by  which was closed for lacking clarity. Here I have attempted to add that clarity myself so that the same question can be useful to others who are wondering a similar thing. This is a self answer question. Strange behaviour of macros C/C++ Where do I ask a question about copyright? I've recently come across several statements to the effect "there are questions science can't answer", mostly from proponents of  and , but also from  and  as well.   However it seemed to me that there was an inherent contradiction in statements of the type "Science doesn't have all the answers" or "Science can't answer all questions". This is hinged on what is meant by "answering a question". It seems to me that to answer any significant question is to provide 2 things:    An accurate and objective explanation of the current state of affairs, in terms of relationships, causes and effects.  Based on that explanation, a method for making decisions if one is faced with future scenarios similar to or related to the current state of affairs, and for predicting future states of affairs with a certain amount probability, i.e the explanation is useful for future purposes.   But then if a field of inquiry is able to provide accurate, objective and useful information regarding a question, doesn't that field simply become part of science?   As examples:    If some school of mysticism is demonstrated to truly improve the happiness and well being of it's practitioners, then wouldn't that school's mystical teachings simply be incorporated into mainstream psychology and psychotherapy?  Similarly, if a political ideology is proven to provide better economic conditions and less crime, less pollution, etc...then this ideology's principles would become an accepted part of social sciences?     To put it more simply: Science has all the answers, because science IS anything that can provide objective and useful answers to a question.  Am I not talking about the demarcation problem per-se (at I least I think I am not), because even disciplines which are agreed upon as failing various demarcation criteria (such as astrology or intelligent design) are still trying (and failing) to be scientific in the sense I mentioned above. If they did start to provide answers, science would have to take them into account. Moreover, various philosophical schools of ethics are trying to be scientific in their explanatory framework, they are just not able to provide verifiable and falsifiable statements to prove their precepts (and probably would do so if possible).   My questions then are:    Per those who claim that science can't answer all questions, what type of question are they talking about? Do they have a demarcation criteria for such questions? (I'm not asking for examples, there are already plenty in the links I posted above).  If a field starts providing objective, accurate answers, doesn't it just become a subfield of science?   Is there a second demarcation problem between "carckpot" pseudosciences (such as astrology or numerology) which are providing the wrong answers and legitimate fields of inquiry (such as political theory or ethics) which are trying to provide answers but so far have failed to provide verifiable and falsifiable statements or accurate predictions? How to create & execute a script file