Temporarily launch dhcp server for point to point ethernet connection
How to connect to device via SSH over direct ethernet connection
What is the strict aliasing rule? I'm taking a complex analysis course and doing some practice computing residues &amp; evaluating integrals. I pulled out an old book called     On page 196-197, there are some interesting integrals to evaluate. I'm at 5.4.3.10.: I was able to do question 1, but was stumped at how to even begin with question 2:     Evaluate the integral   $$\int_0^{2 \pi} e^{\cos x} \cos (nx - \sin x) \,dx ,$$   where $n$ is an natural number.   The answer is simply $\frac{2 \pi}{n}$. Any hints? Let $q: \mathbb{N} \to \mathbb{Q}$ be a bijection and denote the image of $k \in \mathbb{N}$ by $q_k$.  Let $f: \mathbb{R} \to (0,1)$, $$ f(x) = \underset{q_k \leq x}{\sum_{k \in \mathbb{N}}} 2^{-k} $$  Show that:  1) $f$ is strictly increasing  2) $f$ is continuous at $x$ iff $x \in \mathbb{R} \setminus \mathbb{Q}$.  My work:  Let $x, y \in \mathbb{R}$, $x &lt; y$. Then there exists $q_n \in \mathbb{Q}$ s.t. $x &lt; q_n &lt; y$. Now $$ f(x) = \underset{q_k \leq x}{\sum_{k \in \mathbb{N}}} 2^{-k} &lt; \underset{q_k \leq x}{\sum_{k \in \mathbb{N}}} 2^{-k} + 2^{-n} \leq \underset{q_k \leq y}{\sum_{k \in \mathbb{N}}} 2^{-n} = f(y) $$ so $f$ is strictly increasing.  I think my proof of 1) is ok, but how can I prove 2)? How can I quickly know the rank of this / any other matrix? I see ads to other SE sites regularly on the sidebar of SO. Are these questions chosen by hand, or algorithmically? The reason I ask is that there was an ad pointing to  on Seasoned Advice. I'm all for a good laugh I suppose, but is this the kind of question that should be highlighted?  It's obviously a thriving community, but if this were my first exposure to that community, and I saw that the highest-rated answer -- from the user with the highest reputation -- was (and I paraphrase only lightly):  &quot;Why yes, there is tool that can cut cherry tomatoes in half.  It's fantastic for the job.  It's called a freakin' KNIFE!&quot;  would I ever want to visit again, let alone ask a question over there? First impressions count for a lot, and that one missed the mark IMHO. If the selection method is algorithmic, I suppose there's no reliable way to detect sarcasm in a highly-rated answer, but if it's manual, weeeellllllllll ... :) Changing a CSS rule-set from Javascript What DC motor specs do I need to lift a weight with certain gear configuration What is a Generic Handler in asp.net and its use? In the movie Harry Potter and the Goblet of Fire, there's a scene where the students are preparing for the Yule Ball.   Professor McGonagall is instructing the boys and girls, while Filch is choosing a vinyl record to place in an enormous turntable phonograph with a horn as big as Hagrid.   This has me wondering if the wizarding world, in general, plays vinyl records. Or, if this was just a Muggle artifact that Hogwarts kept as a novelty.   Are there other instances of witches or wizards using or owning phonographs or record players in either the books or movies? If so, what are they? (Examples help to illustrate if this was a one-off or a trend) Should academic papers necessarily carry a sober tone? I was reading  titled "Optimal Symmetric Rendezvous Search on Three Locations." While talking about the history of search problems, the author mentions the following anecdote in passing.     In 2007 a letter writer to the Guardian newspaper queried, “I lost my wife in the crowd at Glastonbury (a music festival). What is the best strategy for finding her?” A reader replied, “Start talking to an attractive woman. Your wife   will reappear almost immediately.”   While I found it quite amusing to read this, I do not often come across papers with such witticisms. Is there an unwritten rule about the tone of sobriety that is considered appropriate in academic papers? Are jokes or anecdotes fine as long as they do not appear forced? Charts from numbers not dynamically updating in Pages/Keynote I have the 2015 versions of Pages, Numbers, and Keynote on Yosemite.  I created a chart in numbers and then copied it to Pages or Keynote. I then want to be able to change the data in Numbers and see the chart updated in Pages or Keyonte. However, I don't see an option to "refresh".  Is there a way to dynamically link Numbers to Pages or Keynote? Reputation for graph is off by a day So when we view reputation, there is graph view. However, it seems to be off by a day. Here's what I mean:   I'm sure 70 + 20 + 15 is not 15. Its 105, which is what we see below:   And 40 + 10 is NOT 105, unless you did  :)     Anyways 40 + 10 is 50:   So yeah. Did you do what that post on codegolf says? Devs better fix that :) Calculate $\lim\limits_{x\to4} \frac {\sqrt {1+2x}-3} {\sqrt x -2}$ After I just learned there are ways to cancel out $0$s in the divisor of fractions onto limits I looked back at a task where I gave up when I got the result $\lim\limits_{x\to4} \frac {\sqrt {1+2x}-3} {\sqrt x -2}$ so I tried to find a way to get the $0$ out here, as well. Am I just not seeing the solution or is there no way to do it? I'm trying to find a good way to print leading 0, such as 01001 for a . While the number would be stored as 1001, what is a good way to do it? I thought of using either case statements or if to figure out how many digits the number is and then convert it to an char array with extra 0's for printing, but I can't help but think there may be a way to do this with the printf format syntax that is eluding me. Long transit in Cairo (Egypt) What techniques have been used to repeat geometry or other detail to the infinite horizon? When I composed my     I would have liked to have the camera pitch up enough to show the horizon, except I didn't have enough geometry to extend the cobblestone street and the sidewalk all the way to infinity (mostly because that would require infinite stuff).  Even in that shot it is clear that I need to widen the "sidewalk" to cover up the "sky"box.    Contrast with     where the ray tracer can use the procedurally replicated geometry.   is a failed attempt at faking out the horizon, even with low detail.  It fails because lighting's interaction with the geometry gives it away.  Some techniques that prevent you from having to deal with infinity include   put the scene in a box (usually a room) put the scene in a canyon (which is just a box without a top so you can see the relatively featureless sky) route the road into a tunnel, or around a corner and hide the horizon with other geometry (which is really just a variant on the canyon). have no detail on the ground at all (flat color or gradient)   Those are all dodging the question of interest to me:  What techniques have people used in blender to fake various kinds of detail repeating into the distance (instead of just obstructing the view of infinity)? Prove $(x+y)(y+z)(x+z)≤\frac8{27}(x+y+z)^3$ The entire exercise was like $$8xyz≤(x+y)(y+z)(x+z)≤\frac8{27}(x+y+z)^3\quad x,y,z&gt;0$$  and I managed to solve (demonstrate) the first inequality (from the left) using $$\frac{x+y}2≥\sqrt{xy}$$ but I can't solve the second one. I tried several ideas but I haven't succeeded. Thanks a lot. How to type "ç" when using USA intl as the keyboard layout? I asked  but I can't make that solutions work on Unity. I want to use the keys ´ followed by c and the output should be "ç". It works that way in Windows out of the box, and it did work in Ubuntu 10.10 following the solutions given in the question above. But in 11.04 it outputs "ć". How to change that? I just finished backing up my system and when I try to upgrade to Utopic Unicorn, I get the error "Cannot Calculate the upgrades." I ran the upgrade by sudo apt-get dist-upgrade, sudo do-release-upgrade after the GUI method failed, they all gave the same error.  The feedback gives some recommendations:  This can be caused by:  * Upgrading to a pre-release version of Ubuntu  * Running the current pre-release version of Ubuntu  * Unofficial software packages not provided by Ubuntu    I am not upgrading to a pre-release version nor coming from one, I'm going from Ubuntu 14.04 LTS to 14.10. I have no broken packages and I have unchecked all my non-official software sources in the 'Software &amp; Updates' manager.  My guess left is the Unofficial software packages not provided by Ubuntu. If anyone could give any help as to how to check for unofficial packages using Synaptic or another, my appreciation.  Are there any other factors that may be causing this error and how would I go about checking/fixing those?  Thanks.  Edit: I have no broken or held packages. Everything is up-to-date, and restarting everything or anything has no effect. SSH: How to disable weak ciphers? Security team of my organization told us to disable weak ciphers due to they issue weak keys.    arcfour   arcfour128   arcfour256   But I tried looking for these ciphers in ssh_config and sshd_config file but found them commented.   grep arcfour * ssh_config:#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc   Where else I should check to disable these ciphers from SSH?