Running OSX 10.10.3  The office LAN is wired, the guest LAN is WiFi. I need to be on both at the same time.  I want to be able to accept connections from the office LAN, but I want to limit access to many of those services from the WiFi network. The clickable System Preferences for the firewall don't give me anything more powerful than "Allow Incoming Connections" which allows connections over all interfaces.  Where do I go to get more control over the firewall? Any tips for getting this config right?  This is not an issue of getting WiFi and Ethernet to work at the same time. They already work like I want them to. It's about firewalling-off services from certain interfaces, something that is not available in the standard System Preferences control panel.
Brief Description:  I need my Ethernet card (en0) to see all traffic under 192.168.2.xxx.  However I also need to use WiFi card (en1) for all other traffic.  OS: OS X Lion    I am using a separate network location to deal with this specific use (since this is a for a robotics project that communicates via Ethernet). Ethernet (en0) had to be set up as a static IP (192.168.2.10) per the requirements for the device I am connecting to. All connections on the Ethernet card (en0) should be 192.168.2.xxx as specified above. WiFi (en1) is set up as DHCP to a router since their is no point in assigning it as a static for general purpose traffic. Ethernet (en0) is set up as priority over WiFi (en1).  I would also like to keep this under the network location preferences if at all possible since I do not require this feature to be on all the time.  I would really appreciate your help on this. No one I have talked to knows how to solve this.
We have $n$ charged and $n$ uncharged batteries and a radio which needs two charged batteries to work. Is $\sum\limits_{n=1}^{\infty}\frac{n!}{n^n}$ convergent? Definition of the Infinite Cartesian Product Find all primes $p>2$ for which $x^2+x+1$ is irreducible in $\mathbb{F}_p[x]$ Find all primes $p&gt;2$ for which $x^2+x+1$ is irreducible in $\mathbb{F}_p[x]$   Attempt. Since $x^2+x+1$ is of degree 2, it is reducible iff it has a root in $\mathbb{F}_p$. It has a root in $\mathbb{F}_p$ iff $x^3-1=(x-1)(x^2+x+1)$ has a root other than 1. The latter has a root other than $1$ iff $\mathbb{F}_p$ has elements of order $3$, which happens iff $3\mid |\mathbb{F}_p^{\times}|=p-1$, which happens iff $p\equiv 1\bmod 3$. So $x^2+x+1$ is irreducible iff $p\not \equiv 1\bmod3 $.   I am getting a different answer than my professor, who has $p\equiv 1\bmod 3$. If I am incorrect, were am I going wrong?  Update. Now I am unsure about my own reasoning. What if $1$ is a root of $x^2+x+1$? I don't know why I am considering roots of $x^2+x+1$ other than $1$ when $1$ can be a root. Proof by induction that $ 169 \mid 3^{3n+3}-26n-27$ $ 169$ | $3^{3n+3}-26n-27$ ?  Fulfilled for $n=0$. Induction to $n+1$: An integer $x$ exists so that  $ 169x= 3^{3n+6}-26n-27-26$ $ 169x= 27*3^{3n+3}-26n-27-26$ $ 169x= 26*3^{3n+3}+3^{3n+3}-26n-27-26$  An integer $m$ exists so that   $ 169x= 26*3^{3n+3}+169m-26$ ($ 13x= 2*(3^{3n+3}-1)+13m$)  Now I'm stuck although it looks simple. Thanks for any input in advance. I have 2 columns in Excel: the first contains a list of employee names who perform function A, and the second contains a list of employee names who perform function B.  What I want is to identify, in one cell, if there is one employee whose name appears in both the first and second columns. It does not have to show which name(s) appears in both columns, it just needs to identify IF there are any names that appear in both columns. Empty vector menu in QGIS on PC with French as default language Can a Raspberry Pi run Ubuntu? I was thinking about buying a , and running Ubuntu on it. I have looked around the web, and a lot of stuff says that it's difficult for it to work on ARM processors. Has anyone figured out how to get a Raspberry pi to run Ubuntu? On Linux can I keep a program running in background even after I disconnect? If I'm logged into a remote Linux machine, I know I can suspend a process (cntr-z) and move it to the background (bg 1) but if I disconnect from the machine, the process stops.  Is there a way I can leave it in the background and have it there when I log back in? This is a very long running process.  On Ubuntu, logged in via SSH. Choosing between meaningful and meaningless hostnames Can the default font be changed? I have been playing with the settings for the text object recently, and every time I add a new text object, I need to change the font to my favorite one. (Eurostile LT ExtendedTwo) Is there any way to change the default font so I do not need to change it every time I add a new text object?   Example: What spell targets count for the Graviturgy Magic wizard's Gravity Well feature? The  feature from the  (EGtW, p. 185) triggers &quot;whenever you cast a spell on a creature&quot;, and has an effect &quot;if the target is willing to move, the spell hits it with an attack, or it fails a saving throw against the spell.&quot; It's not clear to me what kinds of spells can actually trigger this feature. Based on the singular phrasing of &quot;on a creature&quot; and the later use of the word &quot;target&quot;, I would normally read this as only applying to spells that explicitly target creatures (and perhaps only those with a single target, in contrast to the phrasing of the  feature of the  wizard, for example). However, spells that target a location can use the word target in a different sense (see ). What's actually going on here? Does this feature only work on targeted spells? Or does it function for area of effect spells as well? Or is this just an ambiguous phrasing that will rely on the DM's ruling? 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 How to resize partitions? Why does holding something up cost energy while no work is being done? I read the definition of  as  $$W ~=~ \vec{F} \cdot \vec{d}$$  $$\text{ Work  =  (Force) $\cdot$ (Distance)}.$$ If a book is there on the table, no work is done as no distance is covered. If I hold up a book in my hand and my arm is stretched, if no work is being done, where is my energy going? I frequently find myself writing code like this:  List&lt;int&gt; list = new List&lt;int&gt; { 1, 3, 5 }; foreach (int i in list) {     Console.Write("{0}\t", i.ToString()); } Console.WriteLine();   Better would be something like this:  List&lt;int&gt; list = new List&lt;int&gt; { 1, 3, 5 }; Console.WriteLine("{0}\t", list);   I suspect there's some clever way of doing this, but I don't see it. Does anybody have a better solution than the first block? Interpreting exp(B) in multinomial logistic regression This is somewhat of a beginner's question, but how does one interpret an exp(B) result of 6.012 in a multinomial logistic regression model?  1) is it 6.012-1.0 = 5.012 = 5012% increase in risk?  or  2) 6.012/(1+6.012) = 0.857 = 85.7% increase in risk?  In case both alternatives are incorrect, can someone please mention the correct way?  Ive searched many resources on the internet and I get to these two alternatives, and I am not entirely sure which one is correct. Programmatically close aspx page from code behind What is the best way to close an ASPX page from the code-behind?    I have a button event handler that I want to close the page after the user has clicked an ASP.NET button on the page.  I have tried to programmatically add a JavaScript method that contains a window.close() command to the OnClientClick event to close the page but it does not work.  The button is also a asp:AsyncPostBoskTrigger for an AJAX Update Panel.  The application uses .NET Framework 3.5. $X\sim\mathrm{Poisson}(\lambda_1 = 5)$ and $Y\sim\mathrm{Poisson}(\lambda_2 = 15)$. Let $Z = X + Y$ . Compute $\mathrm{Corr}(X, Z)$. Colorize symbols with lstdefinelanguage in latex I want to put some symbols in green color with lstdefinelanguage in latex, but it seems that symbols are not recognized.  The symbols I need to be colored are =, > and &lt;. Is it possible? How can I do this?  The main file:  \documentclass{article}   \usepackage{graphicx,color} \usepackage{booktabs} \usepackage{listings}   \lstdefinelanguage{NeoIDL}{   sensitive = true,   keywords = [1]{module, resource, enum, annotation, for, import, entity, path,   @get, @post, @put, @delete, require, ensure, otherwise, call},   %ndkeywords={int, \char{}  },   %ndkeywordstyle=\color{blue}\bfseries,   morekeywords=[2]{&gt;, &lt;, ==},   keywordstyle=[2]\color{green},   numbers=left,   numberstyle=\scriptsize,   stepnumber=1,   numbersep=8pt,   showstringspaces=false,   breaklines=true,   frame=top,   comment=[l]{//},   morecomment=[s]{/*}{*/},   commentstyle=\color{purple}\ttfamily,   stringstyle=\color{red}\ttfamily,   morestring=[b]',   morestring=[b]"   }  \begin{document}  \begin{figure}[htb] \begin{small} \lstinputlisting[language=NeoIDL,firstnumber=1]{store_pos_servico.neo} \end{small} \caption{Service 1} \end{figure}   \end{document}   The file to be formatted:  module store {    (...)     resource order  {      path = "/order/{id}";       @post   int postOrder (Order order)     require (call store.getOrder(id) == "NotFound"),     otherwise "InvalidPrecondition"    }; }