Consequence of maximum modulus principle
Estimate of analytic function in a unit disk
Copy files excluding x,y,z causing error in shell script Calculate expected values using logistic regression coefficients Can you find all classes in a package using reflection? Close and flag links do nothing on mobile site Convert a string to an enum in C# What's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the corresponding enumeration value. In an ideal world, I could do something like this: StatusEnum MyStatus = StatusEnum.Parse(&quot;Active&quot;);  but that isn't a valid code. What is the best regular expression to check if a string is a valid URL? How do you make samba follow symlink outside the shared path This is Ubuntu server 10.04 64 and samba 3.4.7.  I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one:  ln -s /home/temp /home/mit/share/temp   But on windows, after using internet, I cannot open S:/temp, but on Linux it is possible to access /home/mit/share/temp like expected.   This works if I link directories inside /home/mit/share/temp, so I guess samba is restricting to jump with a link outside/above the shared directory.   EDIT:  See also this question titled .  It seems best to put unix extensions = no into the global section and follow symlinks = yes and wide links = yes only into the shares section, where you really need it.  The unix extension flag has to live in the global section and not in the individual shares sections. But for security reasons it is better to use the other options only where you need it, and not globally. I added textures to a minecraft character, but I realized I forgot the holes for the eyes. So I used a boolean modifier to make the holes, but it was unsuccessful. The holes appear except the texture wrap becomes messy and doesn't go around my character properly.  Without Boolean modifier   With Boolean modifier Controls in container form come over child form? Can't execute terminal commands: "the command 'sudo' is available in '/usr/bin/sudo'" I have been using Ubuntu 12.04 for quite a while and have never had a problem come at me out of the blue like this. I'm trying to install python 3.2 on my Ubuntu system and every time I run the code to compile the python source, I get this error:  'Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found'   I've also tried running gksudo command to view what my environment shows but I pretty much get the same error. Object rotate in a strange way today i run into another problem. i dont know how i have done it (probably i clicked sth what i should not click) - anyway - since that moment my objects are behaving totally different when i try to rotate them. the objects are now rotating around the pivot point but they keep their alignment - not sure if i am clear. eg. if u would rotate a plane which is lies flat on the ground it makes the rotation but the faces of the plane would still be up and dont which shouldn't be the case with the "normal" rotation that i know. so i want to understand what i have done (because this kind of rotation could be also usefull sometimes for me) and how can i return it in the case it happens again. Possible Duplicate:          I have been downvoted for few answers of mine and the person who downvoted me did not leave any comments or reasons to say why I was downvoted. In such cases, how can I find out who has downvoted me and the reason for downvoting? Extended support for Ubuntu 12 Not sure if there is a better communication mechanism for asking this question. Ubuntu 12 is EOL April 2017. Do corporations have any option to extend support on 12?  Thanks How do you add an ActionListener onto a JButton in Java How can I change the default "ens33" network device to old "eth0" on Fedora 19? The Next tag badge block overlaps the badge score block. After a few days of operation on my new ec2 build, the following happens:   I log into SSH, everything is fine, I do my coding I return the next day, and log into SSH I cannot type a lower cased e anymore--I get the error ding when I type it I try to ssh from a different computer, same problem I reboot the server, same problem I open nano or vi and e works fine, just not in bash or sh I terminate the server, create a new one, install from scratch, a few days later it happens again   This is baffling! Where do I even start to troubleshoot?  My Local Machine Setup(s):   windows XP or 7 putty (latest) or cygwin/openssh   The EC2 setup   Amazon Linux (default options) node.js iptables forwarding port 80 to node on port 8003 emacs, npm, and openssl-devel no other mods       Output of stty -a while I can't type an e  sh-4.1$ stty -a speed 38400 baud; rows 30; columns 95; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = &lt;undef&gt;; eol2 = &lt;undef&gt;; swtch = &lt;undef&gt;; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke   In case it helps someone else with a similar issue, I created a script (called sub) to convert upper-cased E to lower-cased, then echo the command back. Then I run it in backticks to get an e on the command line::  #!/bin/sh echo ${@//E/e}  &gt; `sub Emacs /Etc/profilE`   UPDATES   This breaks for all users In bash only (csh works fine) In emacs edit mode only   I've created  and hone in the solution. Hero rescues a minor deity, granted a wish of small value; gets a girl As a high school student just starting in science fiction, I read a short story collection in paperback that included this story – not quite a short-short, but not very long either.  I think that it was written by a familiar author, since the collection was one of those “Best Of…” anthologies.    Our hero is a sympathetic young guy trying to get ahead, in love with a beautiful neighbor, but hopeless in love.  He rescues a miniature Minor Deity (and I've forgotten the mechanism – rescued from a cat perhaps?) and gets a wish in return.  The catch is that since this is only a minor deity, the value of the wish is small – and I forget the actual value, perhaps $2.49.  He asks for help winning at the races to help get the girl – and the minor deity says sure, but the payoff can only be $2.49.  How about help rescuing her from a calamity like an earthquake?  Sure, but the total damage can only be $2.49. Other alternatives are discussed, but the value can only be $2.49. Frustrated, our hero thinks about the problem, but the Minor Deity thinks he has a solution.    Later that evening, the girl knocks on the door, he opens it to her welcoming arms, and the night passes.  The next morning, our hero finds a small clipping on the floor, an article stating the latest estimates of the total value of the elements in the human body were… $2.49.  (The whole story was building to that punch line.) I wanted to upgrade to 14.04.2 point release from 14.04.  What I did was:  sudo apt-get update &amp;&amp; sudo apt-get upgrade &amp;&amp;  sudo apt-get dist-upgrade -y   Then I wanted to upgrade to 3.16 kernel, since it wasn't done with the the above command, so what I did was:  sudo apt-get install linux-generic-lts-utopic xserver-xorg-lts-utopic libegl1-mesa-drivers-lts-utopic xserver-xorg-video-all-lts-utopic xserver-xorg-input-all-lts-utopic sudo apt-get install linux-signed-generic-lts-utopic   Now when I do:   uname -a I get   Linux Y500 3.16.0-33-generic #44~14.04.1-Ubuntu SMP Fri Mar 13 10:33:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux  cat /etc/os-release | grep VERSION= I get  VERSION="14.04.2 LTS, Trusty Tahr"   And when I do lsb_release -a I get  Distributor ID: Ubuntu Description:    Ubuntu 14.04.2 LTS Release:    14.04 Codename:   trusty   I know that uname -a and lsb_release -a both refer to different info, but why does  cat /etc/os-release | grep VERSION= show different version? I just reached the 3k rep limit required for close votes and have started exploring the vote-to-close UI that's opened up to me, and I have a request.  The review queue has a Do Not Close button, but when I click the close link under a question that has close votes (i.e. it shows close (1)), there isn't an option for me to vote against closing the question. I came across a question that had a vote to close it as not a question, but it had just been updated with code and more details and was no longer a candidate for closing. However, I couldn't cast a vote to not close it from the question itself. When I clicked on close, it brought up the usual voting UI, and "Do Not Close" was not an option.  TL;DR, do this:   Open a question in the close votes review queue Note the Do Not Close button Click the question title to go to it Click the close (n) link under the question (assuming it hasn't already been closed) Notice the lack of an equivalent "Do Not Close" option   Could a "Do Not Close" option be added to the close button popup for questions that already have close votes, that way the review interface isn't the only place a "Do Not Close" vote can be cast?  Edit: Okay, so 5 3 "Do Not Close" votes kicks it out of the review queue, it doesn't have "no effect" as suggested in the comments. (See , in which the  was just updated a few minutes ago to say 3 DNC votes.) I still don't see why the same DNC option can't be available from the question.  Basically, I guess I would like some rationale behind this bullet point from :     Only accessible from the review queue (so rather difficult to target a specific question). Yes, this is very much by-design.