I do iOS development work, and I can't stand how iTunes and iPhoto automatically open when I plug in a device.  I don't want anything to ever open automatically when I plug something in.  How do I make it so?
How can I prevent iPhoto/Photos/Image Capture from launching everytime I plug in my iPad/iPhone?
Making adult decisions are/is really not fun.     What is the proper answer and why? My gut says "is" but I can't explain why. diophantine equation: $x^2 +y^2 = z^n$ Prove that $x^2+y^2=z^n$ has a solution $(x, y, z)$ in $\mathbb{N}$ for all $n\in\mathbb{N}$  I tried to prove this by induction, but couldn't. ( This was probably because the solution for some $n$ isn't necessarily related to the solution for $n+1$)  I can't seem to see any other way other than induction for proving the statement. Any help/hints on solving this problem, or any alternative approach will be highly appreciated :) Prove the compactness of a set B We have $A=\left\lbrace 2019,1010,\ldots,(n+2018)/n,\ldots \right\rbrace$ and $B=A \cup \left\lbrace 1 \right\rbrace$  How can I show directly (that is, not using the compactness criterion in $\mathbb{R}$) that every open cover $G$ of $B$ admits a finite subcover?  moreover, I know that $A$ is not compact and I am aware that I would need a single example to prove it, any hint on how to find an open cover of $A$ that does not contain a finite subcover?  My first thought was to choose the set of all neighborhoods with radius r centered around each point of A but apparently this is wrong and I do not understand why. My Prof wrote that   $\sum_{n=2}^{\infty} n(n-1)x^{(n-2)} = \frac{2}{(1-x)^3}$  when $-1&lt; x&lt;1$  I do not understand where the above formula comes from. Can someone please explain the steps or provide a hint?   Thanks! Does Stack Exchange have an Economics section? Proof of a formula involving Euler's totient function: $\varphi (mn) = \varphi (m) \varphi (n) \cdot \frac{d}{\varphi (d)}$ Random errors on various sites when viewing main page Occasionally (very occasionally) when returning to the main page of a site by clicking on the logo I get the following message:     It was not possible to perform this tag search at this time due to an unexpected error.   This is odd because I'm not performing a tag search.  So far this has happened on both Movies &amp; TV and Cooking.  I have heard that others are getting this same message. How to make a press proof with crop marks and color bars? A standard proof for press needs crop marks and color bars as below    With the package crop, the crop marks can be easily added.  But how about the color bar ?  Is there a way or a package to make it ?  An example is   \documentclass[b5paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[cross,a4,center,info,axes]{crop}  \title{Test} \author{User} \begin{document} \maketitle \section{Fox} The quick brown fox jumps over a lazy dog. \end{document} Can it be assumed a evaluation order of the function parameters when calling it in C ? According to the following program, it seems that there is not a particular order when I executed it.   #include &lt;stdio.h&gt;  int main() {    int a[] = {1, 2, 3};    int * pa;      pa = &amp;a[0];    printf("a[0] = %d\ta[1] = %d\ta[2] = %d\n",*(pa), *(pa++),*(++pa));    /* Result: a[0] = 3  a[1] = 2    a[2] = 2 */     pa = &amp;a[0];    printf("a[0] = %d\ta[1] = %d\ta[2] = %d\n",*(pa++),*(pa),*(++pa));    /* Result: a[0] = 2  a[1] = 2     a[2] = 2 */     pa = &amp;a[0];    printf("a[0] = %d\ta[1] = %d\ta[2] = %d\n",*(pa++),*(++pa), *(pa));    /* a[0] = 2  a[1] = 2 a[2] = 1 */  } Decode JWT Token in Apex Compiling with either XeLaTeX or LuaLaTeX, \emph{} no longer displays text as expected, i.e. in italics. \textit{} works fine. Here is a MWE demonstrating the issue.  \documentclass{article}  \usepackage{fontspec}  \begin{document}      \emph{lorem ipsum}      \textit{lorem ipsum}  \end{document}   Here is the output I get :   I have TeXLive 2016 (MacTeX) installed. I updated it an hour ago with sudo tlmgr update --self --all.  I guess there is something wrong but what ? I'd be happy to have some help. Thank you. Is it true that a subset that is closed in a closed subspace of a topological space is closed in the whole space? I have a non homework related question from a text and require a nice clear proof/disproof please  Is it true that a subset that is closed in a closed subspace of a topological space is closed in the whole space?  my ideas:  if $H$ is the subset of the topological space $X$  if the subset is closed in the closed subspace, the complement is open in the subspace, which means the complement is of form $U\cap H$ for some $U$ open in $X$  if the subspace is closed the complement is open which means complement of $H=U$ for some open $U$ in $X$  kind thanks Is it fair to buy a return ticket I know I will never use just because it's cheaper? I am planning a trip to Asia and then back to Rio. The thing is that I am traveling on flexible dates, so I am thinking of buying a one way ticket to Hong Kong, and I was planning to do the same when I want to come back.  But what I noticed is that, for example, a one way ticket from Melbourne to Rio costs no less than $2700 dollars for the month of May.  When I do a search for a round-trip from Melbourne to Rio and back, I can find flights for $2200.  I know I will not be using that return to Melbourne, but I'd still prefer to save those $500.   Can there be any issue with buying a round-trip with a return that I will never use? Why multiple capacitors in parallel? Wondering why you would choose to use smaller capacitors in parallel vs one bigger one.  Here's an example:      Is this a component size and track width choice?  Thanks! Recovering an accidentally deleted  folder in OSX - no Time Machine or backup available I am a longtime Windows user, recently switched to Mac. I replaced folder with another folder (they had the same name) thinking that OS X will merge the contents of both folders. But OS X deleted the original folder and replaced it with the new one. Windows merges both the folders (I do this often in Windows). I have now lost hundreds of files. I haven't enabled Time Machine. I've tried using Finder's Undo, but that doesn't work.  Currently, I am trying to recover my data using . It shows estimated time as 7 hours, 31 minutes. Does anyone know any free data recovery software that's faster and more powerful? Add a way for moderators to cast a normal, non binding close/open vote I think moderators should have the ability to cast a normal, non binding close and open vote like they were a normal user (while of course retaining their ability to cast a binding vote where necessary). This can be used in &quot;grey areas&quot; where a moderator can choose to give his or her opinion, but not make a decision alone; a good example of this is . This also helps in areas not so grey (questions that everyone would agree should be closed) since the OP has the time to see close (1) and possibly edit his or her question. The moderator can then optionally come back after a few minutes and close it for real if it's not improved (or maybe during that time other 4 people voted to close it). This would also fit perfectly in :  Since we’re about to add community moderators on both Stack Overflow and Server Fault, I need to document what it is, exactly, we expect moderators to do. The short answer is, as little as possible! Error message says I can't flag... but yes I can When trying to upvote a comment made on a locked post (ordinary lock, not historical lock which remove the vote arrows and flag altoghether) we are greeted with such error message:        Or in words:     This comment is not eligible for voting or flagging   Being the curious type, I went straight away and tried to flag, fully expecting the same message... just to see the flag dialog open up just fine:        I was able to flag as well.  Can the error message please be changed to just "This comment is not eligible for voting"? Or of course, if it's not the intended behavior really disable the option to flag?  The original post on which I experimented is now deleted, but  you can play with. How can I have a horizontally shaded frametitle in beamer? This question is similar to . I want to achieve the horizontal shading effect in the frametitle and when I use  \setbeamertemplate{frametitle}[horizontal shading] [left=red, right=white]   I get compilation errors:  LaTeX Error: Missing \begin{document}. [[]   Vertical shading seems to work just fine. I think the title says it all. I can't see any reason employers have to incentivize employees to contribute to their 401(k) evenly throughout the year. Instead couldn't they use a relatively simple formula that is based on how much of their income the employee has contributed to their 401(k) thus far for the year? If that or their current contribution is over the threshold, they get the match this pay period, even if they didn't contribute anything.  EDIT: To clarify, my employer matches 100% of the first 3% of my contribution and 50% of the next 2%. The match is added every pay period along with my contribution. I am pretty sure there is no "true-up" feature, so if I were to hit the $17.5K limit early, and not be able to contribute at least 5% of my salary, I would not get the full match. So I have to be careful to make my contributions evenly throughout the year to get the maximum match. Just trying to figure out my employer's motivation for requiring this. Can open, unsafe nuclear fusion reaction burn the atmosphere? I happened to hear people saying that the nuclear fusion bomb tests could set the atmosphere on fire. I have some serious doubts about that - but I have no facts. Nuclear fusion reaction requires $15*10^{6}$ kelvins to start. If we produce such temperature in "open air" would the atmosphere become a fuel for further fusion? Shouldn't the whole thing just be torn apart by its terrible pressure?