RegEx extract all real numbers from a string
Regex exec only returning first match
TV identification: Short-lived TV show about a time traveller with a super-computer disguised as a credit-card It might have only been a pilot or a made for TV movie, but I remember a male time traveller who was for some reason in 90s US from a semi-distant future. He had in his possession a super-computer disguised as a regular credit card, which could hack things and I think spoke to him in a female voice.   Note: Not Quantum Leap - the time traveller and "credit card computer" might be keywords that people would hit upon, but 'Ziggy' the computer in QL was non-speaking, operated by a hologram and did not resemble a credit card - this one had its own voice and was disguised as a CC. He has  yet to receive an appointment.   He is yet to receive an appointment.      Is there any difference in meaning? Is one more correct than the other? Motivation: I once had one surplus card on my hand, and knew the robbers would come soon. So I gave it to someone for free, to avoid losing more cards when they hit. I was surprised by how badly this was received. Two of the three other players (the hosts of the game) acted upset, like I had tried to cheat. I had to take the card back, get robbed the next turn and 'giving cards away for free' was banned immediately. (Oh, how I hate mid-game additions to the rules. But that's beside the point.)  So now the question: Is this really illegal in Settlers of Catan? Is it generally considered underhanded in any way? If so, why?   My reasoning was like this:        Consider players A and B.   A wants to give B a sheep.   A trades a sheep and one rock to B, in exchange for wheat.   A trades the received wheat for the (formerly his) rock.   A and B now both have the same resources they had in the beginning, only the sheep has moved from A to B. Matrices that commute with all matrices Old fantasy book with a party finding coloured stones having powers over fire, water, mood I'm trying to remember the name of a book series of which I remember only the following, with Google yielding no results.   the name of the author starts with a Z   the main character is a knight in an household with a name sounding like Malachai who goes on a quest with six others guys and girls (a bard, another knight, a priest, etc.) and each of them finds a stone of colour which has a power on various things (like fire, their mood or water) and then they set toward a quest to beat some ancient evil. I used to find the book at the local library 10 years ago in France (but it was translated). How to change the camera from Landscape to Portrait I need a way to render a picture that is longer heighth-wise than width-wise. Changing the scale of the camera does nothing. I've been told to look in the scene focus settings, and I didn't see anything. Is there a way to change the shape of the rendered image? I installed few environments that I wanted to try out on Ubuntu 12.04, but none of them worked at all. It could be that I installed them all at the same time, meaning the OS didn't get a chance to work everything out, but either way, they didn't work. I would now like to remove them.   The one's that I installed are Xubuntu/Xfce, Lubuntu/LXDE, Kubuntu/KDE, Fluxbox, OpenBox, cinnamon, and MATE. I installed them. Everything seemed to have been working properly until I actually tried to use the shells and nothing loaded at all. Except for Fluxbox, I think that one worked. I want to know of any way to repair or perhaps just remove the packages entirely. I might have already removed them because I did the apt-get remove command on all of them, but they were still in the list on the login screen. Why can't a class extend its own nested class in C#? For example:  public class A : A.B {     public class B { } }   Which generates this error from the compiler:     Circular base class dependency   involving 'A' and 'A.B'   I always figured a nested class behaved just like a regular class except with special rules concerning accessing the outer class's private members, but I guess there's some implicit inheritance occurring between the two classes? What I am trying to do is to set a date in my date field and also update the object. I am using the class below to do so which works just fine in my sanbox but in production I am getting this error:      System.LimitException: Too many query rows: 50001   public with sharing class updateObject{     public  List&lt;NRProducts__c&gt;  values;     public PageReference updateObject() {         values=[SELECT Refreshed_Date__c FROM NRProducts__c ];         for (NRProducts__c s :values){            s.Refreshed_Date__c =Date.today();          }          update values;         return null;                       }     }   VF Page:  &lt;apex:page showheader="false" controller="updateObject" sidebar="false"&gt; &lt;apex:form&gt;  &lt;apex:commandButton action="{!updateObject}" value="Update"/&gt; &lt;/apex:form&gt; &lt;/apex:page&gt; Let $f:G\to K$ be a surjective group homomorphism and $H$ be a subgroup of $G$ satisfying $N_G(H)=H$. Then $N_K(f(H))=f(H)$. I'm trying to prove or disprove it. perhaps, this proposition is true. But, how can we prove it? Edit: I thought it is true because WIKI said it is true without proof How can we extract specific files from a large tar.gz file? I found  but, when I tried the mentioned command there, I got the error:  $ tar --extract --file={test.tar.gz} {extract11} tar: {test.tar.gz}: Cannot open: No such file or directory tar: Error is not recoverable: exiting now   How do I then extract a file from tar.gz? Bounded measurable function and integral with charcteristic function Active Web Site as Gnome Background Is there a way to put an active website, such as Gmail, as your Desktop background in Gnome, running Ubuntu 10.10 64-bit? MS Win calls it "Active Desktop". A bob hanging in an accelerating train moves backward. What is the force moving it backward? When the train accelerates, the bob would also accelerate with the same magnitude and direction as the train. From the free body diagram, only tension and weight are exerted on the bob. I understand how to relate the "horizontal component" of the tension to the acceleration of the bob. It moves "backward" and in fact its vertical position is different from when the train is not accelerating.  I am not sure whether inertia could explain this situation. What is the force moving it backward/ lifting with the height? In chat, the short code [metaso] expands to http://meta.stacexchange.com/ (no typo, the missing 'k' is the bug I'm reporting).  (And since this is too short a bug report, I'll note that I think that [metaso] should probably point to .) ToolStrip sometimes not responding to a mouse click How to run untrusted Ruby code inside a safe sandbox? Should academic papers necessarily carry a sober tone? I was reading  titled "Optimal Symmetric Rendezvous Search on Three Locations." While talking about the history of search problems, the author mentions the following anecdote in passing.     In 2007 a letter writer to the Guardian newspaper queried, “I lost my wife in the crowd at Glastonbury (a music festival). What is the best strategy for finding her?” A reader replied, “Start talking to an attractive woman. Your wife   will reappear almost immediately.”   While I found it quite amusing to read this, I do not often come across papers with such witticisms. Is there an unwritten rule about the tone of sobriety that is considered appropriate in academic papers? Are jokes or anecdotes fine as long as they do not appear forced? Guidelines for customizing biblatex styles Boxplot interpretation: is it correct that a boxplot is missing a whisker? I have a data set that has customerID and daily visits. This dataset records the number of times customers visited the site in a day.   customerID   TotalVisits  1            6  2            17  3            20  4            25   Just to explore the data further, I tried plotting the TotalVisits values in a box plot. The plot doesn't seem to have a lower whisker. q1=1 and there are no values between q1 and  q1-1.5(IQR). The plot has q1, q2 and q3. The minimum value and q1 are the same.   Is this why the boxplot doesn't have the lower whisker? Could you please help me with the interpretation? Is it correct to draw a boxplot without any whiskers?  [I am new to the site and I am not able to post the image.]