How to get input from user and apply calculation in Python?
How to prompt for user input and read command-line arguments
Plot points:   I think the man was one-armed or had one damaged/withered arm. He is an artist when we meet him. He's picked up by aliens to represent earth in a galactic armada. Put in a ship with other aliens only there so a representative of their species can be said to be present - but not expected to actually contribute much to the coming fight. Fight is to protect against invaders from another galaxy. Somehow or other, their ship and crew become integral to winning the war. Intuition behind why order of a subgroup divides order of a group. When starring a message from the star board, it's not reflected in the main chat window If you click to star a post on the side (in the starred list), it changes color but not the star by the main chat area (it does add one to the number, but it doesn't change the color). Then when you click the star on the main chat area, it changes color to yellow but lowers the number by one  After clicking in sidebar:     After clicking in the main chat: How to access new colour schemes in version 10? what does ∇ (upside down triangle) symbol mean in this problem Given $f(x) = \frac{1}{2}x^TAx + b^Tx + \alpha $   where A is an nxn symmetric matrix, b is an n-dimensional vector, and alpha a scalar. Show that  $\bigtriangledown _{x}f(x) = Ax + b$   and  $H = \bigtriangledown ^{2}_{x}f(x) = A$   Is this simply a matter of taking a derivative with respect to X, how would you attack this one? Horizontal line of custom length like an — Is there a way to get a custom-length horizontal line that appears like a "longer em-dash", if you will? Meaning of Simplify's tolerance parameter The standard parameters of Douglas-Peucker's simplify algorithm are geometry and tolerance (e.g  in PostGIS). What's the meaning of the tolerance parameter? I know that the bigger the value, the coarser the geometry will be. But does the number has any unit or it is just arbitrary? Today after I installed Ubuntu 16.04 via USB on my pre-installed Windows 8 machine, I was required to restart my computer. After doing so I wasn't offered to select an OS, so after searching the internet, I came across Boot-Repair which I ran using the Try Ubuntu option in my Ubuntu installation USB. Following the boot repair I got a message saying,  If your computer directly reboots into Windows, try to change the boot order in your BIOS. If your BIOS does not allow to change the boot order, change the default boot entry of your Windows bootloader. For example, you can boot into Windows then type the following in an admin command prompt: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi   After I rebooted my PC, I am receiving the following error message for about 3 seconds, after which it boots automatically into Windows 8, without letting me access Ubuntu. Error received while booting after manufacturer's logo, before grub: Failed to open \EFI\BOOT\grubx64.efi - Not Found   Failed to load image \EFI\BOOT\grubx64.efi: Not Found     start_image() returned Not Found    So I tried the other solution of typing that command in the cmd, to which my surprise, worked, and I am now prompted a window (grub) to choose my OS each time I turn on my PC, but unfortunately, I still receive an error each time, that lasts about 3s, after which I can choose my OS (both are working just fine) and work normally. Do you have any suggestions to get rid of the error message each time I boot my PC? Continuous function does not map closed set to closed set How to combine array items with string substitution? Caption issue when placing figure side by side I placed 2 figures side by side using the minipage method from , and the figures look perfectly fine. However, the caption of the right figure stick out into the margin, why is that and how can I fix it?    My code is like this:  \begin{figure}[htbp]   \centering   \begin{minipage}{.5\textwidth}     \centering     \includegraphics[width=6.6cm]{figure1.png}     \caption{Caption for figure 1.}     \label{fig:fig1}   \end{minipage}%   \begin{minipage}{.5\textwidth}     \centering     \includegraphics[width=6.6cm]{figure2.png}     \caption{Caption for figure 2, but longer.}     \label{fig:fig2}   \end{minipage} \end{figure} WARNING: Setting property 'source' to 'org.eclipse.jst.jee.server:appname' did not find a matching property How to migrate from test environment to production environment? The migration is from the local environment to the production environment. The production environment has run some time and created a lot of articles.   In order to add new things to my site, I added a custom theme and installed CCK, Views and other modules in my local test environment. Now that the local test environment is finished, how do I migrate it to the production environment, without destroying the content of its database? irrationality of $\sqrt{2}^{\sqrt{2}}$. The fact that there exists irrational number $a,b$ such that $a^b$ is rational is proved by the law of excluded middle, but I read somewhere that irrationality of $\sqrt{2}^{\sqrt{2}}$ is proved constructively. Do you know the proof? Do fluorescent lighting and shutter speed create a problem with color cast? I took a bunch of photos at my son's martial arts club using a D90 with a 50mm F1.8.  The club is lit with overhead fluorescent lighting, and I was getting some weird results where some shots are "white", others have an "orange cast", and still others are partly white and partly orange in the same shot.  I suspect it has to do with the combination of the frequency of the light flicker and with the camera shutter speed. Here is a sequence of 3 shots that show the problem.  The shots were taken with 1/500s at F2 and ISO-800 and with Auto-WB.  First shot ("white/normal"):    Second shot ("orange cast" at top):   Third shot ("orange cast" at bottom):   These were taken in burst mode within a second of each other.  Can anybody tell me what is going on?  And, how I can avoid this? How do I learn to become a good GM? I have played and tried to GM games since I was in elementary school, beginning with games like Shadowrun, Earthdawn, and Champions. Recently, I've gotten dack into gaming with a variety of other games (newer Shadowrun and Earthdawn, plus TOON! and Outbreak:Undead).  I've found examples of actual play and advice on how to actually GM a game in games to be lacking. I can only help but feel I am not alone as someone who isn't already a LITERAL dungeon MASTER.  I fully realize that there are an unlimited number of GM styles, personalities, etc. I do not think I am a very good GM though. No one else wants to be the GM, and few care enough to learn the complex rules that I often have to assist with and explain AS WE PLAY. Being left with the responsibility is quite overwhelming unless I create dynamic encounters or make it all up on the spot. I'm often left having no idea what to do.  Examples of Why I Think I Need Help  This question isn't about these examples so please don't dig into them in the answers - they're here to explain the basic things that leave me feeling like I don't know how to proceed as a GM.  I've read preparation is important, but last time I tried to make a story, the players immediately killed the primary character (a friendly person.) within about 2 minutes of starting the game. While I realize now that I let the dice take control over the story, it was rather difficult to continue a story that relied on this friendly character, with the players making enemies with the character's faction. It is still discouraging when my only other attempt at a prepared story ended with the players wanting to go in a complete opposite direction of where I planned. Both times, the hours of work I put into it were completely wasted, leaving me as ignorant as I always was before.  My group often wants to play Shadowrun, Earthdawn, or L5R- but I feel as though I am a horrible GM. The last time we played Shadowrun, I was bored out of my mind as we rolled hundreds of dice to do an obvious straight-forward "kick down the door" mission.   If I make security as I believe it should or as the forum threads describe their security or a few example missions I can scrounge up (examples of stories, not actual gameplay), my players literally feel completely hopeless as to how to achieve their mission without total failure.   One time when I was a teenager, I had players blow up at me saying "We have no idea what would work. You're telling us that our character's experience or the ally operative says that would get us killed, but what else can we do?" Since there are no examples of what players can do - I am left with the same feeling as the players. As an adult, I've had a similar occurrence where a player said to me, "I don't know what to do. I don't think we can even begin this mission." I had to make something up and just go with it, creating an NPC group (that fit in with the story) that goes in before the players to do something stupid so they don't have to. Mainly because I ALSO didn't know how to accomplish the mission, so I acted as the players would using my NPC group. Extremely boring and IMO a failed dungeon run.  I've had successful stories, but I've had more boring encounters than successful ones. Seeing as how roleplaying takes endless hours to complete a story, I do not see benefit in an activity that wastes more time than is enjoyable.  How Do You Learn To GM?  Where are the resources? Books, blogs, gameplay examples? Am I missing them? How did YOU learn to be a good GM? Or do you feel as bad at this as I do, even when it's a successful, fun encounter? I'm looking into the technique of 'hanging' meat, and whether there are 'home' applications that would be safe and have a beneficial effect.  Now, there are a lot of (possible) synonyms that muddle the waters (for me). There's hanging, dry-aging, faisandage (for game birds), and more. What I'm looking for is the 1-3 day (near) room-temperature storage of meat and the spoiling / enzyme process that will cause a flavor change. Feel free to help me along by clarifying the answer.  Basically:   Is there any (good) use for this technique / process for supermarket / butcher cuts of meat? What should be taken in consideration for safe execution? Can I see a list of gyms I left a pokemon at? I captured a gym today just before the servers went down. I am wondering if I lost my progress. Is there a way to see if I own a gym or not? What is the most efficient way to make money? What are some of the most efficient ways to make money?   Based on:    time initial investment required progress (in the game) special equipment/gear How to split a string with any whitespace chars as delimiters