There are some people, who always need to do something. They can't just sit and relax. If they are on the job, they constantly try to change something (e. g. propose new approaches to existing tasks). If they go on vacation, they visit all possible places.  These people are mentally healthy, even though sometimes you may suspect them having ADHD or being in a maniac phase of manic-depressive disorder.  Note that most of the time their active nature is beneficial (stuff is get done, innovation happens), but can also have negative consequences (e. g. they may bully everyone to start a project at work, which doesn't make sense economically).  Also, they are very active not because they have to, but because it seems to be part of their nature.  What do you call such people?  In Russian there is an idiom of people having an awl in the anus (шило в попе), which makes it hard for those guys and gals to sit still. I'm looking for something similar in English.
Moving here does not mean moving to a new city or something like that. I am talking about the people that just can't stay at one place. It is impossible for them to sit put at one place and relax.
How to get only filename using sed How can I get only the filename using sed? I've this  out_file=$(echo $in_file|sed "s/\(.*\.\).*/\1mp4/g")   But I get the path too /root/video.mp4, and I want only video.mp4. Identify a catastrophic sci fi story written before 1980: ruptured spleen, alien moon base, time and space travel, antimatter tool I read a sci fi short story sometime between 1974-1980 but it may have been written long before that.  I believe it was in a paper back anthology of sci fi stories, but I'm not certain.  I think the protagonist is facing the final climactic conflict when we meet him.  Most of the story is memories and flashbacks.  The first flashback is to his childhood.  He and his younger brother are sled riding.  His brother crashes, ruptures his spleen and dies.  He feels responsible and is wracked with guilt.  Much later, as an adult, he is exploring a long-deserted alien base on the moon.  There are unfamiliar artifacts on the base, including a time-travel device/vehicle, and a tool with an anti-matter tip.  It carves neat holes and eliminates matter simply by moving it through matter.  He accidentally drops the tool, which plummets unimpeded to the center of the moon.  He realizes that over time, it will consume and destroy the moon, which will be catastrophic for Earth.  He uses the time-travel device to travel to the moon at an earlier time so that he can prevent himself from dropping the tool.  He makes bigger problems for himself, forcing him to travel back further and further in time.  He travels so far back that he encounters the original alien inhabitants of the base.  Now we are at the present time in the story.  This is his final conflict, he has to escape, travel forward in time and resolve all of the problems he created.  Unfortunately, the alien inhabitants capture him, and the story ends.  Can anyone identify the story and author? Calculating lat/lons from PostGIS table which has projected coordinate system? I have a PostGIS table in a projected coordinate system (EPSG: 28355 or MGA94 Zone 55). In QGIS (with the PostGIS manager plugin) I calculate a coordinate by performing the following SQL:  UPDATE gisprod.buildings SET easting = x(centroid(the_geom))    Now I want to add a "lat" and "lon" field to this table and calculate the values using the appropriate coordinate system, in this case that would be (EPSG:4283 or GDA94).   Is there a way I can specify in the SQL statement to calculate the x/y coord using a different coordinate system? Once a lead is converted it automatically creates an account, contact and one opportunity. But in my case i want to display the result without creating an Account. Please provide me with a sample code.  Any help will be appreciated... How do you obtain the Poké Flute to wake up Snorlax in FireRed? I'm trying to get past a Snorlax and I need a Poké Flute to wake him up—how do I get one? When a divination wizard character uses their Portent ability:     Starting at 2nd level when you choose this school, glimpses of the   future begin to press in on your awareness. When you finish a long   rest, roll two d20s and record the numbers rolled. You can replace any   attack roll, saving throw, or ability check made by you or a creature   that you can see with one of these foretelling rolls. You must choose   to do so before the roll, and you can replace a roll in this way only   once per turn.   ... to replace a roll, can a player with the Lucky Feat:     Whenever you make an attack roll. an ability check, or a saving throw,   you can spend one luck point to roll an additional d20. You can choose   to spend one of your luck points after you roll the die, but before   the outcome is determined. You choose which of the d20s is used for   the attack roll, ability check, or saving throw.      You can also spend one luck point when an attack roll is made against   you. Roll a d20, and then choose whether the attack uses the attackers   roll or yours.      If more than one creature spends a luck point to influence the outcome   of a roll, the points cancel each other out; no additional dice are   rolled.   ... use the Luck Roll to replace the result? Or does the Portent trump all rolls and simply give you the final outcome?  This question spun off from  on .  Some relevant points:  .  Mike Mearls tends to believe that luck can triumph in some cases, but admits this is , and further seems to conflate the question with .  I would suggest reading the linked discussion before formulating an answer. There's some good thought there. How would you categorize email subjects to find similar emails? I have a list of email subjects like:  &lt;XYZ&gt; commented on &lt;ABC&gt; Weekly review for &lt;Company&gt; Your account is ready    And I want to find patterns in them so I can group them.  Is there a well known algorithm I can use?    Preferably with wide language implementations or easy re-implementation. The algorithm should be unsupervised. The number of different emails is not known.   Update:  I think I can break this down into two problems:   Group subjects by the similar words they use, resulting in the following. Each group should be very distinct from the rest (they should be almost perfectly exclusive) and the algorithm should give relatively small number of groups with good length of the common words.  [commented, on] [weekly, review] [your, account, is, ready]  Once grouped, it should be easy to find a state automaton that accepts only the group's subject and thus eliminates variable Then I can go back and check if there are any intersections and tweak the variables.   Having said that, is it better to use a completley different approach like neural nets maybe? I have zero experience with those, but if it makes more sense, I am open to learning. I have a Multisite Wordpress installation with 7 different blogs. I want to show an aggregate of the summaries of posts from those 7 blogs in the main blog. Do you know a good way to do this? How to move an object's origin to the center of its bounding box? What I want: I want to set the origin of an object to the center of its bounding box using a python command.  What I've tried:  bpy.ops.object.origin_set(type='ORIGIN_CENTER_OF_MASS')   and  bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')   What happened:     As you can see, the origin isn't centered to the bounding box.  EDIT: I asked the same question as  with the addition of setting the origin to this center. How to add spacing between columns? Allow collapsing vote-count This is a minor, OCD driven, request but that's never stopped me before...  After showing the vote counts for a post, I would like to re-collapse to the regular view. So far the only way I know to get this is to refresh the whole page. I think that another click on the expanded vote count should re-collapse the votes to the normal total. Why does  get a pass, but I can't ask my own book recommendation question? Can I ask my own book recommendation question in a way that is acceptable to the community, like the C++ book list question? Finding a clear difference between truth and fact I have been starting back in school after a long hiatus.  In one of my classes, a discussion of Truth began.  The problem I have had is that no one seems to have a solid definition between the two.   My earlier training and schooling left me with this definition, and I would like some feedback.  Fact - A point of data that can be directly qualified/quantified through confirmed, standardized measurement.  Truth - A point of data not directly qualified/quantified through confirmed, standardized measurement.  So fact would be that ice cream is cold, as we can place a measurement of the temperature.  Ice cream being tasty would be truth, as it is impossible to accurately measure "tasty".  Please let me know your thoughts. I need help with this exercise. What I've done so far is prove the exercise when $n=1$. So:  $$n=1$$ $$1!\ge2^{(1-1)}$$ $$1\ge2^0$$ $$1\ge1$$ Which is true  Therefore, now that I assume that the assumption is correct, I want to prove that with $n+1$, it will also be true. So, what I've done now is:  $$P(n) \implies P(n+1) $$ $$n!+n+1\ge 2^{(n-1)}...$$ And my  problem is that I do not know how to add the $n+1$ in the right side of the equation, therefore I'm not been able to finish the exercise.  Thank you so much for your help. If something's not very clear, please let me know. I'll try to be clearer next time :) How to solve $\lim_{x \rightarrow 0} {\frac{(1+x)^a-1}{x}}$? How to solve this limit without using L'Hospital rule?  $$\lim_{x \rightarrow 0}{\frac{(1+x)^a-1}{x}}$$ Which one is correct: "wish I was here" or "wish I were here"? Possible Duplicate:          Which one is the correct form: "Wish I was here" or "wish I were here"? I've heard both of them many times but I don't know which one is correct. Less than or equal sign If I know for two numbers a and b that    $${a &lt; b }$$  Then is it correct to say that    $$ a \leq b $$  I know that the second statement is true as long as the first one is. It seems OK as it is true but from the other side it seems kinda weird (to me), to say that, if you know, that a is strictly less that b.It's like you lose some extra information. Logical XOR operator in C++? Prove that $\mathbb{Q}$ belongs to the Borel $\sigma$-algebra of $\mathbb{R}$ Prove that the set of rational numbers $\mathbb{Q}$ belongs to the Borel $\sigma$-algebra of $\mathbb{R}$. I'm unsure about how to prove this. I'm also unsure about the difference between a σ-algebra and a Borel σ-algebra. What contributes to expanded company details being displayed in Google search results? For some results returned in Google Search, on the right side it displays the company details, logo, contact numbers, etc...   For example, see the following screenshot:    I'd like to know what contributes to this so that I can try to achieve it for my site too.