Keyboard types random keys
My keyboard is typing by itself, could there be a ghost in it?
Benefit of date in URL segments I was curious about the date in URL segments, is there any SEO point of benefit? For example the following URLs:  http://techcrunch.com/2013/06/18/netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows/ http://tips-for-new-bloggers.blogspot.in/2007/02/adding-favicon-icon-to-blogger-url.html  https://community.jivesoftware.com/blogs/jivespace/2013/05/15/eol-of-the-html5-ipad-web-app   In all the above URLs there is date segment. The information of those blogs can be fetched via blog stub like "netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows" so why to use that date part? How to install wps office via terminal? It's pretty complicated and sometimes the system freezes when I try to download and install wps office. I think it is much more convenient to use the terminal. But I never used installed WPS Office from the command line. That would be great if I could update it using software manager or terminal. Third party deb files are from separate locations. I specifically want to know about WPS Travelling in Schengen area while waiting for permit of stay renewal in Italy How can I list all the printable ASCII characters in the terminal? When writing custom classes it is often important to allow equivalence by means of the == and != operators. In Python, this is made possible by implementing the __eq__ and __ne__ special methods, respectively. The easiest way I've found to do this is the following method:  class Foo:     def __init__(self, item):         self.item = item      def __eq__(self, other):         if isinstance(other, self.__class__):             return self.__dict__ == other.__dict__         else:             return False      def __ne__(self, other):         return not self.__eq__(other)   Do you know of more elegant means of doing this? Do you know of any particular disadvantages to using the above method of comparing __dict__s?  Note: A bit of clarification--when __eq__ and __ne__ are undefined, you'll find this behavior:  &gt;&gt;&gt; a = Foo(1) &gt;&gt;&gt; b = Foo(1) &gt;&gt;&gt; a is b False &gt;&gt;&gt; a == b False   That is, a == b evaluates to False because it really runs a is b, a test of identity (i.e., "Is a the same object as b?").  When __eq__ and __ne__ are defined, you'll find this behavior (which is the one we're after):  &gt;&gt;&gt; a = Foo(1) &gt;&gt;&gt; b = Foo(1) &gt;&gt;&gt; a is b False &gt;&gt;&gt; a == b True Simple: every other race in Middle Earth has rings, why do Hobbits and Orcs not? What does outputting to /dev/null accomplish in bash scripts? scanf() misbehaving I'm reading An Introduction to Manifolds (Tu) and got confused on p.123 Theorem 11.13. Let me briefly explain what was done before that.  The author defines an embedding between two manifolds $f: N\rightarrow M$ as an injective immersion (differential is injective everywhere) with the additional property that $f(N)$ as a subspace of $M$ is homeomorphic via $f$ to $N$. Then a canonical form theorem is proven, namely, that for any point $p \in N$, there are charts $(U,\phi = x^1, \ldots, x^n) \ni p$ and $(V,\psi = y^1, \ldots, y^m) \ni f(p)$, such that the transition map takes the following form:  $$\psi \circ f \circ \phi^{-1} : (r^1,\ldots,r^n) \mapsto (r^1,\ldots,r^n,0,\ldots,0).$$  (I guess it is implicitly assumed that $f(U) \subset V$).  Now in the process of proving that $f(N) \subset M$ is an , he states that $f(U) \subset V$ is defined by the vanishing of the coordinates $y^{n+1},\ldots,y^m$. I can prove that $$ f(U) \subset \{q \in V: y^{n+1}(q) = \cdots = y^m(q)\} $$ but not the reverse inclusion. Can anyone explain why this should be true? script custom previews in a menu I want to know how to create a menu with previews for an add-on. Until now I know that this is related with the bpy.utils.preview. I'm making an add-on that appends objects from a .blend file, I know how to append objects but what I want to do is to create a menu with previews of the objects /(similar to the matcaps menu - see below), select them and then press an &quot;import button&quot; to append the object. Here's some documentation about the module:    Also, as this is an add-on I don't know if I should have a def register() and a def unregister() inside this .py file as well as in the __init__.py file. How to make the numbering of subsections independent from the numbering of sections? I am writing a constitution for a society.  I would like to have the subsections numbered independently of the way that the sections are numbered, i.e:  Section 1     Subsection 1     Subsection 2 Section 2     Subsection 3   How can this be done? Pie chart labels I want to create a pie chart with labels (one blank an one with percentage for the teacher, the mwe is the teachers version) so that my students have to fill the percentage in by themselves.  So far I created a pie chart using the code given in the answer here    and then I used labels from the code given in the answer here    Now I have this    The node in the violett part is the one I created manually and the other ones are implemented in the code, but I don't know what to change so that the automatic generated ones look like the one I created manually  My MWE      \documentclass[11pt]{article}   \usepackage{tikz} \usetikzlibrary{arrows}  \usepackage{xcolor}  \usepackage[utf8]{inputenc}  \definecolor{rosso}{RGB}{220,57,18} \definecolor{giallo}{RGB}{255,153,0} \definecolor{blu}{RGB}{102,140,217} \definecolor{verde}{RGB}{16,150,24} \definecolor{viola}{RGB}{153,0,153}  \makeatletter  \tikzstyle{chart}=[     legend label/.style={font={\scriptsize},anchor=west,align=left},     legend box/.style={rectangle, draw, minimum size=5pt},     axis/.style={black,semithick,-&gt;},     axis label/.style={anchor=east,font={\tiny}}, ]  \tikzstyle{pie chart}=[     chart,     slice/.style={line cap=round, line join=round, very thick,draw=white},     pie title/.style={font={\bf}},     slice type/.style 2 args={         ##1/.style={fill=##2},         values of ##1/.style={}     } ]  \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground}   \newcommand{\pie}[3][]{     \begin{scope}[#1]     \pgfmathsetmacro{\curA}{90}     \pgfmathsetmacro{\r}{1}     \def\c{(0,0)}     \node[pie title] at (90:1.3) {#2};     \foreach \v/\s in{#3}{         \pgfmathsetmacro{\deltaA}{\v/100*360}         \pgfmathsetmacro{\nextA}{\curA + \deltaA}         \pgfmathsetmacro{\midA}{(\curA+\nextA)/2}          \path[slice,\s] \c             -- +(\curA:\r)             arc (\curA:\nextA:\r)             -- cycle;         \pgfmathsetmacro{\d}{max((\deltaA * -(.5/50) + 1) ,1)}           \begin{pgfonlayer}{foreground}         \draw[*-,thin] \c -- (\midA:\r) node[above,near end, pos=\d,pie values,values of \s]{$\v\%$};         \end{pgfonlayer}               \global\let\curA\nextA     }     \end{scope} }  \newcommand{\legend}[2][]{     \begin{scope}[#1]     \path         \foreach \n/\s in {#2}             {                   ++(0,-10pt) node[\s,legend box] {} +(5pt,0) node[legend label] {\n}             }     ;     \end{scope} }   \begin{document}   \begin{tikzpicture} [     pie chart,     slice type={comet}{blu},     slice type={legno}{rosso},     slice type={coltello}{giallo},     slice type={sedia}{viola},     slice type={caffe}{verde},     pie values/.style={font={\small}},     scale=2 ]  \pie{Sommerjobs in Österreich}{52/comet,12/legno,20/sedia,16/coltello}   \legend[shift={(-1cm,-1cm)}]{{Eisverkäufer}/comet, {Schwimmbad}/legno, {Zettelverteiler}/coltello} \legend[shift={(1cm,-1cm)}]{{Kellner}/sedia}     \draw [*-,thin] (0.6,-0.2)  -- (0.7,-0.2 + 0.5ex) -- (2,0.5ex) node[above, near end]{20\%};    \end{tikzpicture}   \end{document} If a commutative ring is semiprime and its prime ideals are maximal then it is von Neumann regular (absolutely flat). If a commutative ring is semiprime and its prime ideals are maximal then it is von Neumann regular (absolutely flat).  The converse, although not immediately apparent, can be proven quite easily. But I've been stuck on this one for awhile.  I found that Bourbaki has a question in his treatise on commutative algebra, namely: if all points in Spec(A) are closed (ie. prime ideals are maximal) then A/R (where R is the nilradical) is von Neumann regular (absolutely flat). If this can be proven, the above statement follows immediately since the nilradical of a semiprime ring 0?  Ideas?   Ps: this is my first time posting a question so apologies for any formatting issues. I clean-installed Ubuntu 11.10 today, and then installed VirtualBox.  This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a group, I ran the following command:  sudo usermod -G vboxusers stephane   This is a problem.  I now see what I should have run instead is:  sudo usermod -aG vboxusers stephane   The end result is I'm no longer in the groups I should be in.  Including whatever group is required to run "sudo".  When I run any command as sudo now, I get the following:  $ sudo ls [sudo] password for stephane:  stephane is not in the sudoers file.  This incident will be reported.   Is there a way to fix this, or do I need to re-install from scratch again? I've been trying to find this darn series of books for ages, I read them back in early 2001-02 and can't really remember much of them. I think there were 10-ish books, it was an easy read but a long series. On early publications, the covers, were mainly yellow, with small pictures of whatever happens in that book.  The book began with two siblings, a brother and a sister, running in a forest. She conjures up what can only be remembered as a golem type creature. He then uses a high magic 'blast' and wipes out the golem, knackering himself. His sister laughs at him for being 'powerful' but expending himself too much on one big magic blast. The beginning I remember vividly, the rest, not so much.  The story continues as a conflict happens, I believe two worlds are involved? The brother and sister are split up, but this is where my memory becomes vague.  The mechanics of the world seems that there are gems, or stones, set in the backbone, which in turn give access to magic. When the person uses them, they can draw too much, which ends up exhausting them. The 'big bad evil king' kills their father, and destroys their farm early on in the story. The problem is, when I open applications I need to always right click, select run as admin.     When I don't do it getting unexpected application errors. BTW, I turned off UAC.   It's annoying. Is there any way to change behavior of double left-click to act as "Run as administrator" action? I mean to make "Run as administrator" action by default. Thx in advance How loud/obvious is a wizard casting a spell? Some spells have somatic and vocal components, that's well known.  How loud must a wizard talk? How obvious/wide should his gestures be?  Some spells that would be awesome would be fairly limited if you need to shout them (ex: mage hand, range 30ft). MySQL Date Between I have this code:  DECLARE @MyTable AS TABLE (    [Month] INT,    Salary INT );  INSERT INTO @MyTable VALUES (1,2000), (1,3100);  SELECT [Month], Salary FROM @MyTable;   Output:    I want to concat the Salary (grouping by month) so that it will be NVARCHAR like this: '2000,3100'  How would I do this efficiently? Tangential component of Electric field The above question i'm trying for so long but failed. This is from my class $12$ book(india).First of all i'm confused with tangential component of electric field, I mean why this? So far I've studied that electric field(Whether its own or someone's else) is always perpendicular to a charged body. So, there shouldn't be any tangential component. Could someone please explain me visually what's happening?  Strict Note: A class $12$ answer required. No complex statements please. Only for school childs.