long time Linux participate and virgin mobile customer, I couldn't be happier with my virgin mobile service. It's tops, and Ubuntu has been my favorite os since 2012 when it left all other Linux wanting to be as polished in my opinion. I want to bring those two things together and get in on developing Ubuntu for mobile. Best idea I have so far is unlocked sprint Samsung Galaxy s3 but I don't want to spend the money if it's going to have major issues as I'm not the very best programmer, if any of you have a idea for a less expensive, better performance or both device I could try then please let me and others know!
With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss &amp; Oli: We are making this the master question for all future "Will this work on &lt;insert random tablet/phone/device here&gt;?!" questions
Very basic question: how do I write a short literal in C++?  I know the following:   2 is an int 2U is an unsigned int 2L is a long 2LL is a long long 2.0f is a float 2.0 is a double '\2' is a char.   But how would I write a short literal?  I tried 2S but that gives a compiler warning. How can I explain how to play D&D to new players without them falling asleep from boredom? Some of my friends just started playing Dungeons &amp; Dragons [5e] for the first time and don't know anything about how to play. I have tried explaining to them the things that are completely necessary and teach them the rest while playing but I could not get them to understand. None of them have a players handbook and they can't afford one and they really want to play. I really want a simple way to explain the basics and since I have a habit of explaining things in ways that are much too complicated. I have already told them the basic rules so all I need to know is a simple way to explain how to play. What happens to folks who get question banned, by and large? There is a steady stream of duplicates of  coming in lately. It's got me wondering. Roughly speaking, out of say 100 folks who get this ban, how many    wander away and never interact with SO again?   do the sorts of things that might lift a ban, but don't get it lifted? do the sorts of things they should, and lift the ban? post a question of their own on Meta which we close as a dupe?   Among the continue-to-interact folks, is there a difference in success rate between those who post on Meta about it (motivated, but not good rules-readers, who nonetheless get customized advice) and those who do not (better rules readers, but working to some extent blind) - which do better?  Is there a reasonable chance of recovering from a ban, assuming you care enough to try? "work for" / "work in" / "work at" I would like to know what usually follows after each proposition in sentences with the word &quot;work&quot;. These are what I understand so far: I work for my boss. ( usually for certain person ) I work in a accounting corporation. (usually for business area ) I work at Samsung. ( usually for specific name of company ) Could you please tell me if I understand rightly? I'm looking for a word that means     someone (especially a boss) who is not pleased (with your work, attitude etc.) no matter how hard you try. I am interested in the situation where you have a very interesting result. For instance, you have solved a very important open problem. However, you are not known in the field and do not have any remarkable publications. Your supervisor thinks the work is good and you submit the work to a high profile journal, but you get rejected.  The thing is that the contribution is very strong. It breaks what most people believe or what they have already proven: e.g., you solve the P vs. NP problem or any other well known open problem.   The reviewers strongly reject your work with no justification and they do not state why the result is wrong. Examples of reviewer comments include:   "The proof must be wrong."  "You cannot achieve such a result."  "You do not understand well the notion of ..."   My question is what to do in this situation? Where to go? If your advisor accepts the work, but the reviewers from the top journal reject the work without even explaining the mistakes,  what should you do? How do you prove that these four definitions of the operator norm are equivalent? $$\begin{align*} \lVert A\rVert_{\mathrm{op}} &amp;= \inf\{ c\;\colon\; \lVert Av\rVert\leq c\lVert v\rVert \text{ for all }v\in V\}\\ &amp;=\sup\{ \lVert Av\rVert\;\colon\; v\in V\text{ with }\lVert v\rVert\leq 1\}\\ &amp;=\sup\{\lVert Av\rVert\;\colon\; v\in V\text{ with }\lVert v\rVert = 1 \}\\ &amp;=\sup\left\{ \frac{\lVert Av\rVert}{\lVert v\rVert}\;\colon\; v\in V\text{ with }v\neq 0\right\}. \end{align*}$$ Hilbert space of harmonic oscillator: Countable vs uncountable? Hm, this just occurred to me while answering another question:   If I write the Hamiltonian for a harmonic oscillator as $$H = \frac{p^2}{2m} + \frac{1}{2} m \omega^2 x^2$$ then wouldn't one set of possible basis states be the set of $\delta$-functions  $\psi_x = \delta(x)$, and that indicates that the size of my Hilbert space is that of $\mathbb{R}$.  On the other hand, we all know that we can diagonalize $H$ by going to the occupation number states, so the Hilbert space would be $|n\rangle, n \in \mathbb{N}_0$, so now the size of my Hilbert space is that of $\mathbb{N}$ instead.  Clearly they can't both be right, so where is the flaw in my logic? I cannot find the Polygon Neighbors tool. I have searched for it as I usually do and I have also browsed the proximity toolset but it is not there. The other Tools, e.g. Buffer and Near are there and work fine. Here is a screenshot: I use form to send POST request to a page and to login user with wp_signon() in order to authenticate user to my wordpress installation as described in WP documentation:  $creds = array(); $creds['user_login'] = $_POST["user-login"]; $creds['user_password'] = $_POST["user-password"]; $creds['remember'] = true;  $user = wp_signon( $creds, false );   After this little piece of code I'm checking if user was logged in:  if ( is_user_logged_in() ) { echo "SUCCESS"; } else { echo "FAIL!"; }   But I got FAIL! all the time. Then after sniffing around I found this little trick:  wp_set_current_user( $user ); if ( is_user_logged_in() ) { echo "SUCCESS"; } else { echo "FAIL!"; }   I've got SUCCESS on this one but when I leave this page I got FAIL again and again.  Can anyone explain me how to login user with wp_signon() without logging her out after page is changed or reloaded or whatever.    I've got desirable result when I go to /wp_admin and login with WP's default login form. I can navigate through every page of my WP site remaining logged-in all the time. But when I try to do this outside the default form I FAIL.  Guide me! PLEASE! home socket with DC voltage I'm wondering why, in a standard house, instead of using many low power AC-DC rectifier, there isn't a big (like 12V 20~50A) AC-DC rectifier which supplies some wall socket with a DC voltage? In the long run this should be less expensive, given the fact that AC to DC in one big apparatus is done better than in many low-quality transformers, right?  Also, modern chip DC voltage regulators have efficiency of >90%, so smaller (or even larger) voltages are still efficient and possible.  So we could use a 12V socket to charge a phone, desktop computer, laptop, radio etc... and still have an AC socket to move washing machine engine and other things that work better with an AC supply.  Why isn't this done?  edit: real question is: is it convenient, given a standard family (2 laptop, 1 desktop, 4 smarthpone, 1 big tv and some minor electonic) to do so? Solve $x^2+5x+6 \equiv 187 \mod 187$ Solution $$x^2+5x+6 \equiv 187 \mod 187$$ $$ (x+\frac{5}{2})^2 \equiv \frac{1}{4}$$ $$ 4(x+\frac{5}{2})^2 \equiv 1$$ $$ y:= x+\frac{5}{2} $$ $$ 4y^2 \equiv 1 \mod 11 \wedge 4y^2 \equiv 1 \mod 17  $$ $$ ( 2y \equiv 1 \mod 11 \vee 2y \equiv 10 \mod 11 ) \wedge ( 2y \equiv 1 \mod 17  \vee 2y \equiv 13 \mod 17)  $$ $$ ( y \equiv 6 \mod 11 \vee y \equiv 5 \mod 11 ) \wedge ( y \equiv 9 \mod 17  \vee y \equiv 15 \mod 17)  $$ Combining that from CRT I got: $$ y \in \left\{49, 60,83,94 \right\} $$ and for example: $$ x+\frac{5}{2}  \equiv 94 \mod 187$$ $$ 2x  \equiv 183 \mod 187$$ some calculus and get... $$x \equiv 185 $$ And the same thing for each other case. Question Is there any faster (or smarter) way to solve equations like that? Mutual Independence Definition Clarification Common binaries with support for command execution, like `awk` and `vim`, not respecting setuid bit? I have a Dell Inspiron 1525 laptop and I am planning on purchasing a mac mini, new version , I am tight on money for a while and want to use my current laptop screen as monitor for mac mini, I just want to know if it is at all possible to do, I have windows 7 and ubuntu 11.04 installed in my laptop, and I don't really care if need to wipe them out, or purchasing a monitos is the only option left, also I am planning to use it for coding and stuff, so VNC is probably not a good choice. In Magic: The Gathering, the rules for a player losing in a multiplayer game are quite complex, so I'd like to try to understand them by example. I would be happy to ask each of these situations as a separate question if that is preferred, but they all seem related, and I would love to have one place to look up all of these answers.  Let's say I'm playing with two friends, Bob and Chloe, in a simple free for all. Unfortunately, I lose. When I lose, suppose the following:   I controlled an  which has exiled Bob's , does he get his bear back? I have a  on the stack targeting Chloe, does Chloe take the 2 damage still? Earlier in the turn I cast  to prevent damage to one of Bob's . If it later takes 3 damage, will that damage be prevented? Something I controlled gave Bob a 1/1 soldier token. What happens to the token? Something Chloe controlled gave me a 1/1 soldier token. What happens to the token? I had a  enchanting one of Bob's army of . What happens to the bear? I had also played  on Bob's final . What happens to the last bear? Chloe had  my . What happens to the Clone? Are there any other situations specifically addressed by the rules? I am currently running a Dungeons and Dragons 4 campaign for a group of 9 players.  Whittling the group down to a more manageable size is not really an option since they are all family.  When we do combat it takes forever even if I have one player help me and allow them to go 2 at a time.  When we do story based adventure there are 2-3 players that do most of the talking and the others twiddle their thumbs.  I've tried encounters with many foes, encounters with only a few tough foes, dialog only encounters, social puzzle encounters, everything I can think of.  What else can I try to get this group more engaged? Should your PhD students call you by your first name? Does a log transform always bring a distribution closer to normal? I have a highly right skewed data set with a large range of values (from 1 ~ 10^6) (can't share the actual data for work related reasons).   When I plot the log of the data instead, the distribution looks a lot more like a normal distribution.   Have I stumbled on a meaningful insight in the data set, or is just a general property of the log transform that it brings the distribution closer to normal? How to add a class to a given element? I have an element that already has a class: &lt;div class=&quot;someclass&quot;&gt;     &lt;img ... id=&quot;image1&quot; name=&quot;image1&quot; /&gt; &lt;/div&gt;  Now, I want to create a JavaScript function that will add a class to the div (not replace, but add). How can I do that?