What does ~> mean in a gem file
Meaning of tilde-greater-than (~>) in version requirement?
I would like to know if it's possible to win in Don't Starve? Or is it just the matter of how long until you die? I have a Dirichlet distribution from which I'm maximizing $\alpha$ by calculating the log likelihood with the following equation  $p\left(s|\alpha\right) = \sum\limits_{i=1}^O\log\left(\frac{n_i!}{\prod\limits_{j=1}^kn_{ij}!}\frac{\Gamma\left(\alpha_0\right)}{\Gamma\left(\sum\limits_{j=1}^k\left(n_{ij}+a_j\right)\right)} \prod\limits_{j=1}^k \frac{\Gamma\left(n_{ij}+\alpha_j\right)}{\Gamma\left(\alpha_j\right)}\right)$  I have a python script to calculate the log likelihood. It works for small values, but when $n_{ij}$ gets high $\Gamma\left(\sum\limits_{j=1}^k\left(n_{ij}+a_j\right)\right)$ and $\Gamma\left(n_{ij}+\alpha_j\right)$ python runs into overflow error (the max for math.gamma is between 171 and 172).   Is there a way to change the likelihood function so that $\Gamma\left(\sum\limits_{j=1}^k\left(n_{ij}+a_j\right)\right)$ and $\Gamma\left(n_{ij}+\alpha_j\right)$ don't run into overflow errors. Can I just divide the values in $\Gamma$ by for example 100, if I then compare the likelihood between $p(s|\alpha)$ with different $\alpha$ values do the best $\alpha$ values still have the highest likelihood? What is the association bonus, and how does it work? I was just awarded +100 reputation on all of my Stack Exchange accounts.  What is this bonus for? It simply says "Association Bonus" on my reputation overview.  Also:   What privileges does the association bonus grant users? Can I lose the association bonus? Does it make my reputation 101 everywhere? Can I earn the association bonus on sites I haven't joined yet? Does it matter which site I earn the 200 reputation on? Will I get an association bonus every time my reputation on a site crosses 200 points? Does the association bonus allow me to answer protected questions? Does the association bonus count towards the reputation cap? Can I get the association bonus if I only have a profile on one site? What else is there to know about the association bonus? How can we prove that $D(f)\backsimeq\operatorname{Spec} A_f$? Let $$D(f)=\operatorname{Spec}A - V(f)=\{p\in \operatorname{Spec} A:f\notin p\}$$ be the principal open subsets of $\operatorname{Spec}A$ with the Zariski topology. I'm trying to prove that $D(f)\backsimeq \operatorname{Spec} A_f$, where $A_f$ is the localization of $A$ at $f$.  If we consider the canonical homomorphism $\varphi:A\to A_f$ given by $\varphi (a) = \frac {a}{1}$, we can define $\varphi':\operatorname{Spec} A_f\to \operatorname{Spec} A$, given by $\varphi'(p)=\varphi^{-1}(p),\forall p\in \operatorname{Spec}A_f$.  I'm having trouble proving that this map is surjective.  Thanks. Wifi losing connection, weak signal, Intel 7260 adapter I yesterday upgraded from Windows to Ubuntu 15.04 but I have problem with my wireless adapter Intel Corporation Wireless 7260 (rev 73). It randomly loses internet connection. Restarting adapter always helps. (same it did with Windows, except that sometimes restarting adapter didn't help).   Additionally, I have weaker connection then I had with Windows.  Thank you! Consider the real-valued function  $f(x)=x^r$ where $r$ is a real number.  (1) For what values of $x$ and $r$, is this function differentiable?  (2) How do you prove the power rule, when $f(x)$ is differentiable?  It would be nice if the proof is accessible to a 12th grade student.  EDIT: Perhaps, I have not been very clear about my question.  I am not satisfied with the "textbook proofs" I have seen.  Please established the existence (of the derivative) first before proving the power rule.  That is, please consider first question first.  This is the reason why I call the question a mathematical engineering question.  (If we can we bring high level math down to Grade 12 level, without loosing precision, then I call it good mathematical engineering.) What does each AMS package do? In my view, any document with a substantial amount of mathematics should load the packages from AMS-TeX. Hence, most of my document's preambles contain  \usepackage{amsmath, amsthm, amssymb, amsfonts}   (I could add to that the non-AMS mathtools, etc.). What do each of those packages do? Do I really need to list all of them, or do some of them load others? In particular, does any package load all of them, so that I can simply type  \usepackage{ams-everything}   shorter than the current list? How do I get my Sony A7 II to avoid over-exposure and look more like my Canon camera? Hai.  I have a question, I switched from Canon to Sony a while ago and I found out that if I shot bright places, like the sky, the cloud that is supposed to be seen clearly, looks like a blown-out highlight (like real crazy), as you can see on my picture.  I have to set a low exposure just so the highlight is not blown out, and it’s only happening on Sony, not on Canon. On Canon the object is visible, but the background (cloud) is still seen all just fine.  Do you guys know what to change on the Sony to get that good look? Is it the setting or the lens? (BTW, I’m using a Sony 35mm f/1.8 lens.) Mapping JSF .xhtml files to no extension Using Rule of Three to obtain confidence interval for a binomial population I have a large population of data instances (say, 1000 instances) that are either of class1 or of class2. I would like to obtain a confidence interval for how many instances are of class1 without exhaustively checking all instances. I have randomly sampled 50 instances, and all 50 were of class1. I used the  to determine that a 95% confidence interval for the percentage that an instance is of class1 is  [0.94, 1].  From my sampling, I know that at least 50 instances are of class1. For the remaining 1000 – 50 = 950 instances whose classes are unknown, I assume I can apply the [0.94, 1] confidence interval found above. Therefore, can I conclude that, with a 95% confidence, there are at least 50 + (1000 – 50)(0.94) = 943 instances from the population of 1000 that are of class1?  If this conclusion isn’t statistically sound, how can I obtain a confidence interval for class1? I tried to change network interfaces name on this new Ubuntu 16.04 LTS version but doesn't have the /etc/udev/rules.d/70-persistent-net.rules.  So, I tried to use /lib/udev/write_net_rules but it not exist.  Why do I need this modification? Because I'm using a tool to Simulate virtual platforms that use flex licensing and the authentication need to be in eth0 interface name.  Any suggestion?  The command ip link returns:  user@laptop:~$ ip link  1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp6s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether b8:2a:xx:yy:xx:yy brd ff:ff:ff:ff:ff:ff 3: wlp7s0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 5c:e0:xx:yy:xx:yy brd ff:ff:ff:ff:ff:ff  user@laptop:~$ ifconfig  enp6s0    Link encap:Ethernet  HWaddr b8:2a:xx:yy:xx:yy   lo        Link encap:Local Loopback   wlp7s0    Link encap:Ethernet  HWaddr 5c:e0:xx:yy:xx:yy     (Some information were ignored and suppressed)  I already tried some links: How can I center a too wide table? I have a document containing a table which is slightly too wide for the page. But instead of growing to the right side only, I would like to have it centered on the page.  I have tried to use the center environment but this doesn't seem to help. How to test a power supply? My computer powered off the other day on its own, and now when I push the power button, nothing happens. My assumption would naturally be that the power supply is done (possibly well done) but is there any good way to test this before I buy a new one? Which word to use when we ask for help?  Some conditions:     We know that the person asked is able to do it. We don't know if the person asked is able to do it. XSD extend a complex type How run a .jar file with a double-click? I have blender 2.69 and I've been following a tutorial on how to make text.  The only problem is when I go to add a glossy shader in the node editor it does not exist. Neither does the shader category. How do I make an HTML text box show a hint when empty? I want the search box on my web page to display the word "Search" in gray italics. When the box receives focus, it should look just like an empty text box. If there is already text in it, it should display the text normally (black, non-italics). This will help me avoid clutter by removing the label.  BTW, this is an on-page  search, so it has no button. I can't seem to find an answer to this simple question, which I need for some compliance documentation.    On a default install of CentOS 6.5 (OpenSSH 5.3p1-94.el6), after how long of being idle will a user's SSH session be terminated?  I believe the following can be set to increase the idle timeout, but they are commented out by default.  $ grep -i alive /etc/ssh/sshd_config #TCPKeepAlive yes #ClientAliveInterval 0 #ClientAliveCountMax 3   Also, is there a command to dump a list of the current sshd settings?  I don't see anything in man sshd. Do commuting matrices share the same eigenvectors? In one of my exams I'm asked to prove the following      Suppose $A,B\in \mathbb R^{n\times n}$, and $AB=BA$, then $A,B$ share the same eigenvectors.    My attempt is let $\xi$ be an eigenvector corresponding to $\lambda$ of $A$, then $A\xi=\lambda\xi$, then I want to show $\xi$ is also some eigenvector of $B$ but I get stuck.