How to set default file permissions?
Best way to recover mysql from a "chmod -R 777 /" with databases intact
Why is cold fusion considered bogus? Cold fusion is being mentioned a lot lately because of some new setup that apparently works. This is an unverified claim.  See for example:         ( of that last link in the Wayback Machine, given frequent  from that page.)   While we should give the scientific community time to evaluate the set up and eventually replicate the results, there is undoubtedly some skepticism that cold fusion would work at all, because the claim is quite extraordinary.  In the past, after Fleischmann and Pons announced their cold fusion results, in perfectly good faith, they were proven wrong by subsequent experiments.  What are the experimental realities that make Fleischmann and Pons style cold fusions experiments easy to get wrong?  Would the same risks apply to this new set up? White stains and stainless steel cookware I know this question has been asked before in some form or another, but I can't seem to find a definitive answer. I've looked on SA, chowhound, martha stewart, about.com, etc., and answers seem to vary. Answers that I've seen vary from using vinegar to washing using special stainless steel soaps (which I'm not very keen on using) to only using soft sponges and hot water.   The one thing I always do is wash my stainless steel with warm soapy water and a soft sponge. If there's burned food stuck on the cookware, I scrape it off with a wood pot scraper (lightly, of course). And I always dry with a soft cloth immediately after washing. Yet I still get stains!  I'd like to get a general consensus on how to prevent those white and rainbow colored stains as well as minimizing corrosion. I just upgraded from Ubuntu 10.04 to Mint 16. The installer did not detect my existing RAID 1 array, and I can't access it anymore.  My drives are:  SDA - First RAID Disk SDB - Second RAID Disk SDC - Non-RAID where the OS is installed.   The disks are full of stuff I want to keep, so I don't want to create a new RAID.   On the old machine, the two raid drives became MD0, which was a physical disk for Logical Volume Management.  How do I put the two halves together and get it to mount at boot? (I know how to mount single drives and how to add fstab entries for single drives, but the part I don't know is how to mount the two drives as one disk as a RAID. Computing $\sum_{k=1}^{\infty}\frac{1}{k}\int_{\pi k}^{\infty}\frac{\sin(x)}{x}dx$ I was asked to evaluate the following sum: $$\sum_{k=1}^{\infty}\frac{1}{k}\int_{\pi k}^{\infty}\frac{\sin(x)}{x}dx$$  I'm trying to use $$\int_{0}^{\infty} \frac{\sin(x)}{x}dx=\frac{\pi}{2}$$ However, it doesn't seem to work. Any help is greatly appreciated. Client should send one big packet or multiple smaller ones per frame? The client can do several actions per frame, for instance, requesting a movement, shooting etc. Should i send a packet to the server for each action the client performed during the frame, or should i stack them in an unique packet and send it at the end of the frame?  EDIT: i'm using Jmonkeyengine and the provided network API SpiderMonkey. Should I let potential employers know I have a job offer? I've interviewed for a few positions, one of which has made me an offer.  I'm very pleased with the offer, but I prefer some of the other positions.  I have the luxury of being able to take a lot of time to decide whether or not I accept this offer, so I'm certain I will hear back (either positively or negatively) from the other positions before a decision is required for the offer I've received.  I'm trying to decide between two courses of action, and I want to choose the one that will best help my candidacy with the positions I've yet to hear from.  Plan 1 is to do nothing and simply wait to hear back from the other positions for which I've already interviewed.  Plan 2 is to be in touch with the other positions to let them know I have an offer, and ask where I stand with them.  Would Plan 2 make me a more desirable candidate with the other positions, as they might see my offer as further validation of my credentials?  Or, might initiating with the interviewers in this way be detrimental to my candidacy, perhaps making me seem pushy or self-centered?  If so, I would rather just wait for them to run their course of action (Plan 1).  As I've said, I have plenty of time, so I don't want impatience to hurt me.  If there is a good chance that my meddling will be detrimental, then I'd rather be hands-off here.  However, if it's more likely that informing the other interviewers of my offer will give me a boost, then I'd want to do so.  Thanks for any clarity you can provide!  Edit: For a bit more information and context, the position I've been offered is a non-academic research position that my advisor has described as "prestigious."  The other positions for which I've interviewed (and which I prefer) are mostly academic teaching-centered positions (visiting assistant professors, tenure-track at smaller four year institutions). Monty hall problem extended. Exporting multi layered Illustrator to Photoshop How can I manipulate field-based data from the commandline? For example   How can I print only lines whose Nth field is foo? How can I print only lines whose Nth field isn't foo? How can I print only lines whose Nth field matches foo? How can I change field N to foo?   Is there a standard approach or toolset that facilitates manipulating field-based data on *nix systems? I know that new arXiv papers usually appear in Google Scholar within a few days or weeks. My question is: if someone submits a replacement of his/her arXiv paper, does the new version of the paper also appear in Google Scholar? UV mapping a straight image around a ring shaped flat mesh Is it possible to mapping a image around a ring shaped mesh? I would imagine there should be a way to curve/distort the image around the mesh. If not, how can I straighten out the mesh easily instead to fit the image? I think some good words would be conflicted, or confused. As an example of context, think of someone who believes in freedom of speech, but, at the same time, they would support banning comedians who make jokes about certain issues that person cares about. 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'm right, aren't I?" My dictionary reports that aren't is also an abbreviation for am not, when used in questions.  Is this use of aren't common? If it is common, are there any differences between the different English dialects?     Why aren't I being given a pay raise? Is the gravitational constant $G$ a fundamental universal constant? Is it possible to dual boot two OS's at the same time? When a PHP application makes a database connection it of course generally needs to pass a login and password. If I'm using a single, minimum-permission login for my application, then the PHP needs to know that login and password somewhere. What is the best way to secure that password? It seems like just writing it in the PHP code isn't a good idea. I want my Java code to be typeset in a monospaced font, so I am using the verbatim environment. LaTeX commands are highlighted in Eclipse, but as soon as I use the verbatim environment everything inside and the color of the environment itself becomes gray.  \begin{verbatim}   public class main {  public static void main (string[] args){      for(int i = 0; i &lt; arg.length; i ++){          System.out.println(args[i]);      }    }  };  \end{verbatim}   I'm using the verbatim and alltt packages.  Update 1.  MWE.  \documentclass[xcolor=dvipsnames]{beamer}  \mode&lt;presentation&gt; { \usetheme{CambridgeUS} \setbeamercovered{transparent} }  % Поддержка русского языка \RequirePackage[utf8]{inputenc} \RequirePackage[T2A]{fontenc} \RequirePackage[russian]{babel}  \RequirePackage{amsfonts}  \usepackage{algorithmic} \usepackage{mathptmx} \usepackage[scaled=.90]{helvet} \usepackage{courier} \usepackage{pst-node} \usepackage{pst-tree} \usepackage{auto-pst-pdf} \usepackage{color} \usepackage{colortbl} \usepackage{pstricks} \usepackage{verbatim} \usepackage{alltt} \usepackage{listings} \usepackage{animate} \usepackage{multimedia}  \title{Title}  \author{Name}  \institute{}  \date{\today}  \begin{document}  \begin{frame} \titlepage \end{frame}  \begin{frame} \frametitle{Outline} \tableofcontents \end{frame}  \section{Introduction}  \begin{frame}{Классификация по поколениям}  \begin{itemize}  \item Третьего поколения (высокоуровневые языки) - последовательность высокоуровневых конструкций (циклы, условные выражения, классы, интерфейсы, методы, процедуры, \ldots) \pause  \begin{exampleblock}{Пример}  \begin{centering}  Fortran, C, C++, C\#, Java, Lisp.  \begin{verbatim}  public class main { public statiс void main (string[] args){ for(int i = 0; i &lt; arg.length; i ++){ System.out.println(args[i]); } } };  \end{verbatim}  \end{centering}  \end{exampleblock}\pause  \item Четвертого поколения (для конкретного применения) - последовательность инструкций конкретной предметной области \pause  \begin{exampleblock}{Пример} SQL, Postscript, XML, Mathlab. \end{exampleblock} \pause  \end{itemize}  \end{frame}  \end{document} How to make a ISO file out of a folder containing Windows setup files I copied the Windows 8 CD to my HDD. I want to convert that folder to an ISO and use that to create a bootable USB.  Please tell me how I can make an ISO image out of that folder containing files.  This is my folder which I want to convert to a ISO file: How do I create a Java string from the contents of a file?