I deleted the icon of system settings. Where can I find system settings application (in which directory), so I could restore its shortcut? Thanks
I did a fresh install of trusty 14.04, but a lot of icons are missing. I installed from DVD which was painfully slow and I hope to avoid repeating the process, especially since I started customizing stuff.  Here's my settings window:    I've tried:  sudo apt-get install --reinstall gnome-control-center sudo apt-get install --reinstall gnome-settings-daemon-schemas   None of which changed anything.  Any idea? I wanna edit preferences and none of them are in System Settings, neither in Unity Dash.
How to read a text file reversely with iterator in C# I need to process a large file, around 400K lines and 200 M. But sometimes I have to process from bottom up. How can I use iterator (yield return) here? Basically I don't like to load everything in memory. I know it is more efficient to use iterator in .NET. Duplicates of an outdated question If a new question addresses the same issue that another question does, but the answers to the original question is sufficiently outdated, should the new question still be closed as a duplicate? Should I get Enlightened badge? Today I've got 10 upvotes for an answer. Answer was a first answer in the question. I got an Nice Answer badge for this, but no Enlightened badge.  Shouldn't I get both?  is my answer :) Over the years I have slowly developed a  that validates MOST email addresses correctly, assuming they don't use an IP address as the server part.  I use it in several PHP programs, and it works most of the time.  However, from time to time I get contacted by someone that is having trouble with a site that uses it, and I end up having to make some adjustment (most recently I realized that I wasn't allowing 4-character TLDs).  What is the best regular expression you have or have seen for validating emails?  I've seen several solutions that use functions that use several shorter expressions, but I'd rather have one long complex expression in a simple function instead of several short expression in a more complex function. How discontinuous can a derivative be? There is a well-known result in elementary analysis due to Darboux which says if $f$ is a differentiable function then $f'$ satisfies the intermediate value property.  To my knowledge, not many "highly" discontinuous Darboux functions are known--the only one I am aware of being the Conway base 13 function--and few (none?) of these are derivatives of differentiable functions.  In fact they generally cannot be since an application of Baire's theorem gives that the set of continuity points of the derivative is dense $G_\delta$.  Is it known how sharp that last result is?  Are there known Darboux functions which are derivatives and are discontinuous on "large" sets in some appropriate sense? How to make traditional output for derivatives Contacting prospective advisors before graduate school applications - courtesy or annoyance? Last year, rather late during the MSc application cycle (after one round of funding was allocated - tardiness due to an abrupt change in my life situation), I emailed two professors from two schools that I most wanted to go to. I had perused their webpages and decided these professors had the specific research interests closest to my own.  My reason for contacting them before finishing my applications for their respective schools was that the applications included a large section for specific research questions that I wanted to investigate. So, I emailed these professors asking a bit about their work, because their webpages of course featured surface-level stuff.  One professor was very receptive and invited me to Skype with her so she could better explain herself and I could ask her questions. With her support, I was able to write an application that met her standards quite quickly.  The other professor told me - paraphrasing, of course - that he was too far into the process of choosing a new student for his research group to spend time helping me finish the application.  Let me be clear that the latter professor didn't say any harsh words and I have nothing bad to say about him. That said, the purpose of my question is to decide whether it's better for me as a prospective MSc student to email professors ahead of time like this. Was the latter's rejection likely due to my tardiness rather my emailing him? The more receptive professor made the point that she always wanted to have prospective MSc students write their own research proposals and get her approval before submitting the application. Is this common? If so, then I guess reaching out beforehand is a good thing to do, but earlier in the application cycle?  Thank you. Do I have to enter the UK on my UK passport? I'm a British National (Overseas), which basically means that while I don't have the right of abode in the UK, I am permitted to visit the UK without a visa. However, my passport has expired, and while it's being renewed, the schedule is a bit tight.  At the same time, I'm an US Citizen, and since I'm only planning to visit the UK, I don't need a visa if I enter on my US passport.  I'm not familiar with UK immigration law, and given that this probably isn't too common a situation, the UK Border Agency website doesn't have an answer that I can can find, nor do they seem to have a contact form that fits my situation, so here's hoping someone knows—given that I'm a British National (Overseas), am I required to enter the UK on my UK passport, or can I just use my (valid) US passport? Installing PHP 5.3 in Ubuntu 14.04 I've just installed Ubuntu 14.04 and am trying to install php 5.3. But when I run   apt-get install php5    it's installing php 5.5.9-1ubuntu4. I need to use php 5.3 in the system because the application I'm working on is built with php 5.3.   How can I achieve this? Why doesn't an orbiting body keep accelerating? As a physics newbie I'm trying to get a grip on basic orbital mechanics. I think I'm beginning to get grasp on how bodies interact with each other. When a body approaches another body it accelerates due to gravity. It can reach a point where its velocity is high enough to keep falling but also keep missing the object it is falling towards. What keeps it from accelerating (because of gravity) and eventually reaching escape velocity? I feel like I'm either looking at things the wrong way or I have the entire thing wrong. Hungerford's book of algebra has exercise $6$ chapter $3$ section $6$ [Probably impossible with the tools at hand.]:     Let $p \in \mathbb{Z}$ be a prime; let $F$ be a field  and let $c \in  F$. Then $x^p - c$ is irreducible in $F[x]$ if and only if $x^p - c$   has no root  in $F$. [Hint: consider two cases: char$(F) = p$ and   char$(F)$ different of $p$.]   I have attempted this a lot. Anyone has an answer? When do we double the consonant before '-ing' affix? My son is learning how to spell. He is doing a good job listening to sounds and working out spelling that way (which doesn't work for many words, but at least a lot of common ones), but although he's gotten the -ing chunk, he frequently misses doubling letters in these words.  Is there a guideline for when the end consonant is doubled? He's working on these sorts of words:        riding   sitting   skating   writing   getting Area of an irregular polygon It's taken me almost 10 years of Linux usage to ask this question. It was all trial and error and random late-night internet surfing.  But people shouldn't need 10 years for this. If I were just starting out with Linux, I'd want to know: When to alias, when to script, and when to write a function?  Where aliases are concerned, I use aliases for very simple operations that don't take arguments.   alias houston='cd /home/username/.scripts/'   That seems obvious. But some people do this:  alias command="bash bashscriptname"   (and add it to the .bashrc file)   Is there a good reason to do that? I'm trying really hard, but I genuinely can't think of any circumstances in which I'd want to do that. So, if there is an edge case where that would make a difference, please answer below.  Because that's where I would just put something in my PATH and chmod +x it, which is another thing that came after years of Linux trial-and-error.  Which brings me to the next topic. For instance, I added a hidden folder (.scripts/) in the home directory to my PATH by just adding a line to my .bashrc (PATH=$PATH:/home/username/.scripts/), so anything executable in there automagically autocompletes.  If I needed to.  I don't really need that, though, do I? I would only use that for languages that are not the shell, like Python.  If it's the shell, I can just write a function inside the very same .bashrc:  funcname () {   somecommand -someARGS "$@" }   As I stated, I found a lot of this out through trial and error. And I only truly saw the beauty of functions when my computer died and I was forced to use the computers of the people around me when they weren't using them.   Instead of moving a whole directory of scripts from computer to computer, I ended up just replacing everyone else's .bashrc with my own, since they had never even made a single modification.  But did I miss anything?   So, what would you tell a beginning Linux user about when to alias, when to script, and when to write a function?   If it's not obvious, I'm assuming the people who answer this will make use of all three options. If you only use aliases, or only use scripts, or only use functions—or if you only use aliases and scripts or aliases and functions or scripts and functions—this question isn't really aimed at you. When does a reaction happen if the trigger is movement? Is Canon 60D still a decent camera? I have a Canon 60D, bought it back in 2013. Use it quite a while, but in past two-three years, I lost interest in photography. I will be going on a long trip this summer and would like to take a decent camera with me. Is Canon 60D still a decent one or I will be missing on features and upgrades comparing to the latest versions?  In terms of lenses I own Tamron 24-70 2.8 And Canon 100 2.8 Macro. There is a way to use my Galaxy tab s like a wacom table, on linux? I read some articles, and seen some videos about a github project that do a sort of thing, but it's a little bit outdated things.I wanna see if this thing is possible to do, nowadays. Thanks Plot an elliptic curve in Latex What is Electromotive force (EMF)? How is it related to potential difference? What is  (EMF)? How is it related to the potential difference? Is it created by the potential difference in any conductor? Is it a process? Why is it called force?  Does writing EMF instead of voltage make any difference in AC circuits? (Studying alternating current I found some books using EMF while others used voltage.) In comics does Batman have a rule against killing? Inspired by  question, I have to admit I don't know a lot about the Comic Book Batman, but I know a fair amount about his other incarnations.   I know for example, that the 1989 movie had him kill the Joker. He vehemently wanted the Joker dead and had no compunctions about taking a life. I also know that he had a rule against killing in The Animated Series that he never broke, and that he very nearly broke it in Batman Beyond.  But as far as the comic books go, when did Batman develop a rule against killing his foes? Does he ever kill them rather than deliver them to the proper authorities?