Difference between Medoid and Centroid
An example where the output of the k-medoid algorithm is different than the output of the k-means algorithm
Configuring ADB for Nexus 4 on Ubuntu 11.10 I'm trying to deploy and test an Android app on my Nexus 4 from my Ubuntu 11.10 computer, but ADB doesn't recognize it. I think I need the Google USB drivers, but I cannot find instructions on how to install them on Ubuntu.  How can I install the drivers on Ubuntu 11.10 so that ADB will recognize my N4? Why can't XeTeX handle this dank meme? Is there a problem with the ClearBits data dump? How can I search for special characters? Situation: It started out as me  for the literal string C-c in  but it ended up omitting the - sign and showing results which contained the strings C/C++ and C &amp; C++.  is an example of a post which contains that string of characters (yet fails to show up in the results).  Things I've tried:   post suggests that I can use the undocumented code: operator, but when I do that, it just wraps the whole term in double quotes like .  As @terdon in Unix &amp; Linux chat has , using this  does yield some relevant results, but it doesn't show me  that is supposed to be there. edit: It appears that the Symbolhound query no longer returns that result.  Finally,  says that you can search for literal characters, but as you can see:    Quoted phrases are exact matches except for case-sensitivity, for example, you can search  or .  The second example (symbols) leads to 0 results.  So by now I assume that the search engine has changed (but the old documentation still lingers on this site). Is there a method for me to search for strings that include special (or is it literal?) characters? We have a job that is set to run Monday thru Friday. Up until two weeks ago, it ran fine 5 days a week. For the last two weeks it has failed on Monday. I am unable to locate where to find the point of failure.   ### Example Scripts 0 2 * * 1-5 /admin/scripts/example.exp 1&gt;/dev/null 2&gt;&amp;1   We run AIX 7.1.  I've looked in the /var/log/ and there is no cron file there. Looking for advice to add to this so we can troubleshoot.   I found that the log is located in /var/adm/log. Further we are getting this error repeatedly ever since this date/time. How do I clear this max limit?  c queue max run limit reached Fri Nov 25 21:52:00 2016 ! rescheduling a cron job Fri Nov 25 21:52:00 2016 How would I go about proving this limit?  $\lim_{x\to\infty}\frac{1}{x^4+x^2+5}=0$  so far I have:  $|f(x) -L|&lt; ϵ$ wherever $x &gt; N$  $|\frac{1}{x^4+x^2+5} - 0| &lt; ϵ $ wherever $x &gt; N$  $|\frac{1}{x^4+x^2+5}| &lt; ϵ  ,\; x &gt; ∞$, assuming, $x &gt; 0$  taking the absolute value $\frac{1}{x^4+x^2+5} &lt; ϵ$  ${x^4+x^2+5}$ > $\frac{1}{ϵ}$  i am not sure whether this is correct, but what would be the next step? Is there any Windows installer (wubi) for Ubuntu 14.04 LTS?  When I mount the .iso file with Daemon Tools and run wubi.exe, it just asks me if I want to reboot (I think that's useful only when the .iso  is burned on CD), so is there no "real" installation? Why are continuous functions the "right" morphisms between topological spaces? No homomorphism from $Z_{16}\oplus Z_{2}$ onto $Z_{4}\oplus Z_{4}$. For some reasons, homomorphism is a very hard area for me to make improvements. I've been hitting the brick wall for almost 2 hours.   Prove that no homomorphism exists from $Z_{16}\oplus Z_2$ onto $Z_4\oplus Z_4$.  Assume a homomorphism $\phi$ exists from $Z_{16}\oplus Z_2$ onto $Z_4\oplus Z_4$. Then $\phi$ is an isomorphism.  Note that the $\left | \ker \phi \right |=2$ The $\ker \phi$ is also a normal subgroup for $Z_{16}\oplus Z_{2}$. We want possible normal subgroup of order 2. I.e., 2 elements in each normal subgroups.  By Lagrange's theorem, the order of each element in a group divides the order of a group so the possible order of the elements are 1 or 2. If the elements has order 1, then the Ker \phi cannot have 2 elements.  Hence, $\ker\phi$ = $\left \{ (0,0),(8,0) \right \}$ ,$\left \{ (0,0),(0,8) \right \}$,$\left \{ (0,0),(8,1) \right \}$, possibly.  By the First isomorphism theorem:  $\phi: Z_{16}\oplus Z_2 \rightarrow Z_2\oplus Z_2$  $\Psi: G/\ker \phi \rightarrow \phi\left ( Z_16\oplus Z_2 \right )=Z_2\oplus Z_2$  $g\ker \phi  \mapsto \phi(g)=\Psi(g\ker \phi)$  Any help is appreciated.  Edit: I know that $(2,0)$ has order $8$ in $Z_{16}\oplus Z_{2}$ but any elements in $Z_{4}\oplus Z_{4}$ does not have order $8$ which would have solved the question at the outset. But I would like a different route. I've just happened to read this  on MO (that of course has been closed) and some of the answers to a similar  on MSE.   I know almost nothing of nonstandard analysis and was asking myself if something like the sentence « $1- 0.999 \dots$ is a nonzero positive infinitesimal» could be easily expressed and proved in nonstandard analysis.  First of all, what is 0.999... ? If we take the usual definition as a series or as a limit of a sequence of rationals, then it will still be a real number and equal to $1$ (I guess by "transfer principle", but please correct me if I'm wrong).  Instead, let's define  $$0.9_N:=\sum_{i=1}^N 9\cdot 10^{-i} $$  where $N\in{}^*\mathbb{N}\setminus\mathbb{N}$ is an infinite nonstandard natural number. This $0.9_N$ is a legitimate element of ${}^*\mathbb{R}$, expressed as $0.$ followed by an infinite number of "$9$" digits.  What can be said about $\epsilon_N:=1-0.9_N$ ? Is there an elementary proof that $\epsilon_N$ is a positive infinitesimal of ${}^*\mathbb{R}$ ? (by "elementary" I mean just order and field axioms and the intuitive facts about infinitesimals, like that for $x$ infinite $1/x$ is infinitesimal etc.; no nonprincipal ultrafilters &amp; C). Horizontal enumeration in multiple columns Consider the following minimal example:  \documentclass{article}  \setlength{\parindent}{0mm}  \usepackage{paralist} \usepackage{tabto}  \begin{document}  \NumTabs{3} \begin{inparaenum} \item text \tab\item text \tab\item text \tab\item text \tab\item text \tab\item text    \end{inparaenum}  \end{document}   Which results in:    It does exactly what I want, but I was wondering whether it was possible to create an environment, say tabbedEnum so that we can eliminate the use of the \tab, in particular, that the first case doesn't need a tab but all others do. Something of the form:   \begin{tabbedEnum}[3] \item text \item text \item text \item text \item text \item text \end{tabbedEnum} Suppose $A$ is a $n \times n$ constant matrix. How can I prove $\det(e^A) = e^{\displaystyle \sum_{\lambda_i\in\sigma(A)} \lambda_i}$,  where $\sigma(A)$ is the multiset of eigenvalues of $A$?  The following matlab code shows this is true in $n = 3$ case:  A = rand(3) detA = exp(sum(eig(A))) detmA = det(expm(A)) So, I was messing around in the Skyrim console and increased my speed a lot. Now I want to reset my speed but the command player.setav speedmult 100 isn't working. Is there any way to reset this? I have a Xonar DX (CMI8788 driver) 7.1 surround sound card installed on my Ubuntu 11.10 system.   I want to use the outputs of the card as 4 separate stereo outputs and I am struggling with ALSA to get it to work.  This is my asound.conf:  #/etc/asound.conf pcm_slave.eightchannels {         pcm "hw:0,0"            # or "hw:1,0" for the second card         channels 8 } pcm.stereo1 {         type plug         slave.pcm {                 type dshare                 ipc_key 87882222                 slave eightchannels                 bindings [ 2 3 ]         } } pcm.stereo2 {         type plug         slave.pcm {                 type dshare                 ipc_key 87882222                 slave eightchannels                 bindings [ 4 5 ]         } } pcm.stereo3 {         type plug         slave.pcm {                 type dshare                 ipc_key 87882222                 slave eightchannels                 bindings [ 6 7 ]         } } pcm.stereo4 {         type plug         slave.pcm {                 type dshare                 ipc_key 87882222                 slave eightchannels                 bindings [ 0 1 ]         } }   This is my aplay -l output:  $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DX [Xonar DX], device 0: Multichannel [Multichannel]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: DX [Xonar DX], device 1: Digital [Digital]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]   Subdevices: 1/1   Subdevice #0: subdevice #0   This is my aplay -L output:   The system seems to completely ignore my configuration. However, I am sure that the config is used, because when i insert a random string at the top, i get a parsing error.  Any help is greatly appreciated. Equivalent of *Nix 'which' command in PowerShell? How do I ask PowerShell where something is?    For instance, "which notepad" and it returns the directory where the notepad.exe is run from according to the current paths. A question about long exact sequence of finite dim vector spaces Q) Prove that if $0\rightarrow V_1\rightarrow V_2\rightarrow...\rightarrow V_k\rightarrow 0$ is an exact sequence of finite dimensional vector spaces, then $\sum_{i=1}^{k}(-1)^idim (V_i) = 0$.  For $k=3$, I see that the statement is true. For $k&gt;3$, am I correct in understanding that $V_2 = V_1\oplus V_3 (\implies dim(V_2)=dim(V_1)+dim(V_3))$ and $V_3 = V_2\oplus V_4(\implies dim(V_3)=dim(V_2)+dim(V_4))$ and so on?   If it is true, then for $k=4$, $\sum_{i=1}^{4}(-1)^idim (V_i) = -m_1+m_1+m_3-m_2-m_4+m_4$ and am not sure why $m_2=m_3$ for the sum to be $0$? where $m_i = dim(V_i)$. Thanks. How can I stop Lollipop ignoring my wifi network? Android 5.0 has a new "feature": If a wifi network has no connection to the internet, it will remain connected to it but route traffic over mobile data instead. A small exclamation mark shows in the status bar over the wifi symbol.  Unfortunately, for some reason Android has decided that my home wifi does not have a good internet connection - which is not true, as I'm using it to access Stackexchange at the moment - and is, instead, trying to send everything over GPRS.  With mobile data disabled, things work over wifi just fine, despite the exclamation mark - so it isn't a problem with the wifi not working, per se.  Is there any way to override this "smart" feature? The only way I have found to make things work at the moment is to disable mobile data while I am in my house - which is not a practical long-term solution.   EDITING to add that I have now solved this problem by buying a new router! I was using something very old... But, I'll leave the question here for the benefit of anybody else with the same difficulty. I'm having problems with a WFS GetFeature request. I'm using OpenLayers with an OSM map as base layers which use the Google projection. Overlaying the layer with WMS works perfect. When I do a request to return all features within the bounds of a polygon, no features are found.  My layer uses EPSG:28992. the base layer uses: EPSG:900913  My layer configuration in GeoServer:    When I set the declared SRS to EPSG:900913 and set "SRS handling" to "Reproject native to declared" it works fine, but I need OpenLayers to reproject it, not GeoServer.  Below is an example request I would do. I think the problem is that GeoServer does not convert the spatial filter to the native SRS.  http://mydomain.com/wfs?request=GetFeature&amp;version=1.1.0&amp; srsName=epsg:28992&amp; typeName=Namespace:Layer1&amp; propertyName=(*)&amp; CQL_FILTER=year = 2011 and INTERSECTS(geometry,POLYGON((565585.61613069 6816272.786200799,565585.61613069 6817032.3791692,564362.62367835 6817032.3791692,564362.62367835 6816272.786200799,565585.61613069 6816272.786200799)))&amp; outputFormat=GMl2&amp;   Update  I just tried re-projecting some points from OpenLayers (EPSG:900913) via proj4js to EPSG:28992 (PostgreSQL and GeoServer). I took 3 points and  compared them. They all showed an offset.   Converted: POINT(233492,24349424947 582191,0681508556)  In Database: POINT(233530,852147064 582315,680920578)  Difference x: 38,60865281453 Difference y: 124,6127697224 Converted: POINT(133459,1980658749 455770,7481867363)  In Database: POINT(133486,356985081 455879,67223342)  Difference x: 27,1589192061 Difference y: 108,9240466837 Converted: POINT(176920,43262818802 317930,36182729155)  In Database: POINT(176954,154083767 318023,515324756)  Difference x: 33,72145557898 Difference y: 93,15349746445   If the offset was constant I could correct it. Now I'm not sure if the offset is caused by GeSserver or by proj4js. I'm guessing proj4js since the WMS layer does not show any offset. Asking the user for input until they give a valid response Is there a reason the British omit the article when they "go to hospital"?