I logged onto my neighbors wifi one time like a year ago and every single time I close my laptop it will log out of my wifi and try to log-in to my neighbors even though I barely get any signal from theirs. Is it possible to set the default wifi connection? I'm running 14.10 atm.  Thank you.
How do I change the default wifi network that Ubuntu connects to on startup? There is an unsecured public wifi network in my range, as well as my own home WPA secured wifi that I want to use by default. However, on startup Ubuntu always connects to the unsecured one. Sometimes I forget to reconnect to the other one, which is very dangerous.   I am running a default setup of Ubuntu Destkop 11.10 with Gnome 3. I have looked under network settings but I can't find a 'default' option.
How do I print all lines of a file with duplicate values in a certain column MySQL not using indexes with WHERE IN clause? Famous puzzle: Girl/Boy proportion problem (Sum of infinite series) How handicapped am I in graduate admissions if I graduated from a lower tier university? Due to a combination of factors, I ended up going for my undergraduate studies to a relatively unknown university that was close to me geographically.  Let's say that I have a relatively standard background for someone trying to apply to top tier schools for graduate studies (some research experience, some low to medium quality publications, very strong grades, good recommendation letters). Then how much does the alma mater have an impact for someone like me? I obviously know that it is still possible to be accepted, but how much of a disadvantage am I looking at exactly? How to salt PBKDF2, when generating both an AES key and a HMAC key for Encrypt then MAC? When using Encrypt-then-MAC with AES and HMAC by password, and given 128 bits of payload with the ciphertext to store a random salt, which would be more secure:   Using PBKDF2 with then entire 128 bit random salt and generating 512 bits of derived data to split into a 256 bit AES Key and a 256 bit HMAC key.   or   Using PBKDF2 separately for each key using two 64 bits salts to generate a 256 bit AES Key and a 256 bit HMAC key.    or    Better option? What is the proof that the total number of subsets of a set is $2^n$? Calling Python in PHP I have a Python script I recently wrote that I call using the command line with some options. I now want a very thin web interface to call this script locally on my Mac.  I don't want to go through the minor trouble of installing mod_python or mod_wsgi on my Mac, so I was just going to do a system() or popen() from PHP to call the Python script.  Any better ideas? Thanks in advance! Apply a string replacement on the citation as returned by \cite I have biblatex with options  \usepackage[backend=bibtex, style=authoryear]{biblatex}   The citations made with \cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need  \cite{SmithsPaper}  % --&gt; Smith, 2019 \cite{MyPaper}      % --&gt; Manny, 2019 %%% \newcite{SmithsPaper}  % --&gt; Smith, 2019 \newcite{MyPaper}      % --&gt; MC, 2019   I have tried with the package xstring to do something like  \newcommand{\newcite}[1]{%   \begingroup   \edef\@temp{\cite{#1}}%   \StrSubstitute{\@temp}{Manny}{MC}   \endgroup }   The problem is that I can't figure out how to tell LaTeX to expand \cite{#1}. As a result the citation comes out without the replacement. If I change \cite{#1} by simply #1 and I call \newcite{bla Manny bla} it gives bla MC bla as expected.  It shouldn't be relevant but I'm using this within the beamer documentclass. I am taking an abstract algebra course and I am really interested about the topic.  So much so that I spend most of my time reading supplementary materials.  I consequently know a lot more theorems than the ones covered in class.    In a recent quiz, I used a theorem in one of my proofs that was not mentioned in the lecture since.  My professor gave me partial marks for my answer for the reason that we didn't cover this theorem in class even though the proof was completely valid!  I can't really see where he is coming from.  How would someone be able to use a theorem correctly if he doesn't know its proof?  I was quite baffled by his comment.   Do you agree with this?  EDIT: The professor just Emailed me and said that after thinking for a while, he decided to award me the full mark for the question. He also mentioned that he didn't want discourage me from studying the subject (since he saw most of my previous quiz grades were full marks) and I was passionate about it, but kindly requested that I include any proof for a theorem that I cite from now on in his exams. He also sent a broadcast message to the whole class indicating this. If $X,Y$ are independent $\chi ^2$ with $m$ and $n$ degrees of freedom, then $\frac{X}{X+Y} \sim\beta(m/2, n/2)$ I was reading  and I find the following problem: Let $X$ and $Y$ be independent $\chi ^2 $ with $m$ and $n$ degrees of freedom then $\dfrac{X}{X+Y} = \beta(m/2, n/2)$. Where $\chi^2(k)$ has density function $$f_{\chi^2(k)}(x)=\begin{cases}\displaystyle \frac{1}{2^{k/2}\Gamma(k/2)}\,x^{(k/2) - 1} e^{-x/2}&amp;\text{if }x&gt;0,\\ 0&amp;\text{if }x\le0 \end{cases} $$  I proved that $X+Y$ is $\chi ^2$ with $n + m$ degrees of freedom using the moment-generating function. If $Z=X+Y$ and $U=\dfrac{X}{X+Y}=\dfrac{X}{Z}$ using the formula for the density of the ratio of two independent random variables: $$f_U(u)= \int_{-\infty}^{\infty}f_X(uv)f_Z(v)|v|dv $$  then  $$\dfrac{u^{m/2-1}}{2^{(m+n/2)} \Gamma(m/2) \Gamma((m+n)/2)} \int_0^{\infty} v^{m+\dfrac{n}{2}-1} e^{-(v/2)(u+1)}dv $$  and using some algebra:  $$f_U(u)=\dfrac{u^{m/2-1} \Gamma(m+n/2)}{\Gamma(m+n/2) \Gamma(m/2) (u+1)^{m+n/2}}$$  and this is not $\beta(m/2, n/2)$, it looks more like $\beta(m/2, m/2+n/2)$ but $(u+1)^{m+n/2}$ is causing troubles.  I need help if something is false or any hint. Is there a word to describe a highly desirable cursed treasure? Is there a single word to describe an object or idea that is so desirable that everyone wants to attain it but once they have it they are immediately cursed?  The idea is often used in literature—some examples:   In Lord of the Rings, the 'one ring' is a perfect example of this. In Guy de Maupassant's story , the necklace might be considered to be this. There are many stories of people making deals with the devil (see question: ), or being granted three wishes by a Djinn or fairy, which inevitably turn out bad. In the Twilight Zone episode , Bemis's desire to be left alone with his books would be an example of this word.   'Bane' covers the cursed part, but no one desires it.  Is there a single word to describe a most highly desired treasure that (knowingly or unknowingly) comes with a curse? Continuity of absolute value of a function Let $f(x)$ be a continuous function. Prove that $\left|f(x)\right|$ is also continuous.  Is it correct to say that, by the reverse triangle inequality, $\left|f(x)-f(c)\right| \geq \left|f(x)\right|-\left|f(c)\right|$ in all cases, so we will always have that for all $\left|x-c\right|&lt;\delta$ implies $\left|f(x)-f(c)\right|\leq \epsilon$?  I am not sure if my solution adequately uses the functional form, since I just used the equation and not my actual function. Please help with the proper solution! Is there a way to unfold a mesh? Is there a way to take a mesh, cut it with seams or sharp edges and flatten it, so that the faces stay the same shape and size?  Making paper models is one aspect, where you could use that technique.  No, I'm afraid SZ0Return is not going to do it properly.  And misusing the UV-unwrap is only a last option.    Note, while it's an option to revert to Blender 2.49 which had a script to do this, I'd like a solution that I can use inside the current workspace. I have already bought the PC version on minecraft for my account. However, when attempting to change my skin, the game simply states:"You have to buy the PC edition of Minecraft."   Which is odd because I already have.  Why is this happening? How can I fix it? Revision history & community wiki links show the same page How do spell lists change if the party levels up without taking a long rest? I'm playing in a D&amp;D 5e campaign with a bard and a wizard.  Our most recent session ended while we were in the middle of exploring a dungeon. The DM informed us that we leveled up from 4 to 5.  The wizard and bard were excited to get level 3 spell slots for the first time. They began discussing the level 3 spells they were looking forward to casting at the beginning of the next session. I asked, "Don't you guys need to have a long rest before you can cast new spells, though?"  The bard argued that he doesn't need a long rest, because he learns spells immediately upon leveling up and doesn't need to prepare them.  The wizard argued his "number of spells available" count increased immediately upon leveling up, and it wouldn't make much sense if his actual number of prepared spells stayed the same.  Ultimately, the DM decided that it would be more fun if everyone got access to their new toys at the same time. He permitted the wizard to add a level 3 spell to his prepared spell list.  Who is right? Do bards (and other casters that do not prepare spells) get access to new spells more immediately than wizards (and other casters that prepare spells)?  I looked at , but "Can a mage use his newly gained 2nd-level spell slot?" seems like a separate matter from "Can a mage use a newly gained spell?". I set up a micro instance (Ubuntu, 32 bit) and assigned an elastic IP (23.23.245.104)  Public DNS: ec2-23-23-245-104.compute-1.amazonaws.com  I successfully ssh'ed to the machine and installed nginx.  Then I edited the server_name attribute in nginx's config file (/etc/nginx/sites-available/default)  server_name ec2-23-23-245-104.compute-1.amazonaws.com;   Restarted nginx and hit  but got a "could not connect" error.  What did I forget to do?  Thanks Testing random variate generation algorithms Which methods are used for testing random variate generation algorithms? Windows Active Directory naming best practices? This is a  about Active Directory domain naming.   After experimenting with Windows domains and domain controllers in a virtual environment, I've realized that having an active directory domain named identically to a DNS domain is bad idea (Meaning that having example.com as an Active Directory name is no good when we have the example.com domain name registered for use as our website).   , but I'm still not sure about what other rules there are around naming Active Directory domains.  Are there any best practices on what an Active Directory name should or shouldn't be? Is there a way to convert an image to grayscale?