How can I install VMWare Player on Ubuntu 12.10?
How do I install VMware Player 4.0.3 (and patch the installer to work on my 12.04 system)?
iOS crash log catch, debug info.. Catch and send via email to the Dev team Best way to track onchange as-you-type in input type="text"? If we know the GCD and LCM of two integers, can we determine the possible values of these two integers? I know that $\gcd(a,b) \cdot \operatorname{lcm}(a,b) = ab$, so if we know $\gcd(a,b)$ and $\operatorname{lcm}(a,b)$ and we want to find out $a$ and $b$, besides factoring $ab$ and find possible values, can we find these two integers faster? Is there a test for the different styles within maths mode?  What I really want is to be able to save the current style to reinvoke it later on, but a \if along the lines of \ifmmode would work just as well.  In the specific example, I want to measure how big something will be when displayed in maths mode, so I do:  \settoheight{\mathheight}{some bit of maths}   except that it complains because the some bit of maths gets put in a box and measured, and the box doesn't know that it's maths.  So instead I put:  \settoheight{\mathheight}{\(some bit of maths\)}   except that then I get the wrong answer if this is used in displayed maths.  So ideally, I want:  \ifdisplaystyle  \let\currentstyle\displaystyle \else  \iftextstyle   \let\currentstyle\textstyle  ...  \fi \fi \settoheight{\mathheight}{\(\currentstyle some bit of maths\)}   and then I'll be happy.  Is there such a test?    Okay, so \mathchoice is clearly the way to go (thanks Martin!), but its behaviour is a little odd and since I want to use it to define a macro depending on which mode I'm in, this oddity is quite important.  Here's the code:  \newcommand{\mathtest}{% \gdef\name{a}% \mathchoice{% \name \gdef\name{b}% }{% \name \gdef\name{c}% }{% \name \gdef\name{d}% }{% \name \gdef\name{e}% }% \name}  \[ \mathtest \]   If \mathchoice behaved like \if, this ought to print ab.  But it prints ae.  All the options to \mathchoice get processed (which makes me wonder a bit how it works, but that's by-the-by).  So, is there an obvious way to make \mathchoice behave a little more like \if? Does the spouse of British national with UK permanent residence need a Schengen visa to travel to France? My wife is an Indian national with an Indian passport. She holds an indefinite leave to remain in the UK (permanent residence card). Does she need to apply for a Schengen visa before travelling to France or any other Schengen countries? Find $\int \frac{x^3}{x^2-1} \:\mathrm{d}x$ Find $\displaystyle \int \dfrac{x^3}{x^2-1} \:\mathrm{d}x$.   I think there are a few ways to do this. We could just break this up using long division or break it up into partial fractions then use long division. My homework says to break this up into its roots so that's why I brought up partial fractions. Is that the best way to do it here? How can you tell if if a meal is thawed? I am planning to place a meal (salmon + rice) in a refrigerator after having frozen it. How can I tell when it's thawed? ascending/descending in LINQ - can one change the order via parameter? I am trying to perform stepwise regression for variable selection in R.  In matlab, the stepwisefit function is able to work in n &lt; p problems. Trying to use step() for such problems i get the error message AIC is -infinity for this model, so 'step' cannot proceed. Is there a way to modify parameters so i can use step function? When is a cellular automaton "bidirectional"? From .   "A (bi-directional, deterministic) cellular automaton is a triplet $A = (S;N;\delta)$, where $S$ is an non-empty state set, $N$ is the neighborhood system, and $\delta$ is the local transition function (rule). This function deﬁnes the rule of calculating the cell’s state at $t +1$ time step, given the states of the neighborhood cells at previous time step $t$"  I haven't found other "bidirectional" CA via Google, so I wonder what does the term say about this automaton's properties. Does it mean that the state $t+1$ can be used to find out the state t? How do you keep user.config settings across different assembly versions in .net? Basically the problem is that each time the assembly version changes (i.e. the user installs a new version of the application) all their settings are reset the the defaults (or more accurately a new user.config file is created in a folder with a different version number as the name)  How can I keep the same settings when upgrading versions, since using ini files or the registry seem to be discouraged?  When we used Clickonce it seemed to be able to handle this, so it seems like it should be able to be done, but I'm not sure how. iOS: Custom permission alert view text I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on VirtualBox versus VMware (free); so I thought to keep the former.   Both systems are updated, I installed the additions on the guest and I evenly split memory and video memory (64MB) between guest and host. I am running a Toshiba m200 laptop with 4GB ram and shared video memory. The host bios does not include a configuration option for machine virtualization. I have 2 cpus and I can't give them both to the virtual machine.  Is there anything I overlooked that could solve my problem?  Feel free to ask for more info, and thank you for any help.  EDIT Idling with the system monitor open the (single) guest cpu never gets below 55% and could rise to 80 - 90% just by moving the mouse around. Opening Firefox will cause the system monitor to show cpu usage 100% in the guest, while the host shows that both cpus are evenly working around 60%.  My cpu is Intel® Core™2 Duo CPU T5450 @ 1.66GHz × 2.  If this is not a configuration problem, does it mean my machine is too weak for virtualization? Cardinality and infinite sets: naturals, integers, rationals, bijections How do I remove "permission denied" printout statements from the find program? Code   find / -name netcdf   Output  find: `/root/.dbus': Permission denied find: `/root/.gconf': Permission denied find: `/root/.gconfd': Permission denied find: `/root/.gnome': Permission denied find: `/root/.gnome2': Permission denied find: `/root/.gnome2_private': Permission denied Defend against flag spam in chat We have incidents where we get 10+ flags from the same room in rapid succession. This happens on multiple occasions and we have reason to believe it's a single user doing this.  I don't think it's of value to allow a single user to flag more then n messages in a small time period.  If we could have some anti-flag spam measures put in place, then that would be great. Why double-headed arrows when the direction of node is specified? I am quite puzzled when drawing the connection of nodes.  \usepackage{xcolor} \definecolor{darkblue}{HTML}{1F4E79} \definecolor{salmon}{HTML}{FF9C6B} \tikzstyle{cell} = [rectangle, minimum width=1cm, minimum height=0.5cm,text centered, draw=black, fill=salmon] \tikzstyle{state} = [rectangle, minimum width=1cm, minimum height=0.5cm,text centered, draw=black, fill=darkblue] \tikzstyle{arrow} = [thick,-&gt;,&gt;=stealth]  \begin{tikzpicture}[thick,scale=0.8, every node/.style={scale=0.8},node distance=1.5cm]     \node (0) [state] {\textcolor{white}{feature extraction}};     \node (1) [cell, below of=0] {invertBotConE2\_f48\_k1\_b4\_noskip};     \node (2) [cell, below of=1] {invertBotConE2\_f16\_k3\_b4\_noskip};     \draw [arrow] (0) -- (1);     \draw [arrow] (1) -- (2);     \draw  (0.east)  [arrow]  edge [out=0, in=0, out looseness=4, in looseness=4]  (2.north); \end{tikzpicture}   0,2 are my nodes. When east is specified, it creates an arrow on node 0. If removed, it disappears. What if I would like to put 0.south as the start of the edge? Set multicolumn width to default table width OS X Internet Recovery doesn't see SSD drive I wanted to do a clean install and booted from OS X recovery partition. In disk utility I selected "erase" option. SSD was working correctly before that.  Now, if i startup, the only way to proceed is with Internet Recovery  since I cannot boot from hidden recovery partition. After I wait several hours for the recovery image download, I cannot see the SSD either in disk utility or OSX reinstallation.   In terminal   diskutil list   Shows only recovery image 1.8 Gb or so.  So did erase option destroy my ssd? How to evenly space vertices? I have a edge loop that has vertices on it. Is there a way I can separate the vertices on the the edge evenly without moving the end points? I would also like for the vertices to maintain the current shape.