Power calculations, logistic regression with continuous exposure--cohort
Multiple logistic regression power analysis
alternative to "netstat -s" prints out a lot of very detailed protocol statistics like number of TCP reset messages received or number of ICMP "echo request" messages sent or number of packets dropped because of a missing route.  When in Linux netstat is considered deprecated at nowadays, then is there an alternative?  Statistics provided by ss -s are superficial compared to the ones provided by netstat. Java map with values limited by key's type parameter Is there a way in Java to have a map where the type parameter of a value is tied to the type parameter of a key? What I want to write is something like the following:  public class Foo {     // This declaration won't compile - what should it be?     private static Map&lt;Class&lt;T&gt;, T&gt; defaultValues;      // These two methods are just fine     public static &lt;T&gt; void setDefaultValue(Class&lt;T&gt; clazz, T value) {         defaultValues.put(clazz, value);     }      public static &lt;T&gt; T getDefaultValue(Class&lt;T&gt; clazz) {         return defaultValues.get(clazz);     } }   That is, I can store any default value against a Class object, provided the value's type matches that of the Class object. I don't see why this shouldn't be allowed since I can ensure when setting/getting values that the types are correct.  EDIT: Thanks to cletus for his answer. I don't actually need the type parameters on the map itself since I can ensure consistency in the methods which get/set values, even if it means using some slightly ugly casts. Wifi Automatically Turning ON after iOS 11 Update I'm facing this issue after updating iOS11 in my recently bought iPhone 7  I usually turn off wifi during the night and found it ON in the morning. It automatically turns ON resulting in unnecessary battery drains.  Would appreciate a fix !! I'm connecting to some enterprise wireless network (eduroam).  The thing is that it saves the User/Password in the wireless settings, anyone can click 'Show password' and see my university account password.  What I want is that it prompts me everytime the credentials inputs when I try to connect to the network and don't save it under the 'settings' page.  Is this possible? If yes, how?  Thanks  Ubuntu 18.04 LTS I encountered an 'errorUnknown graphics extension: .eps.' I tried to load an .eps picture, but an error occured,      errorUnknown graphics extension: .eps. Covering map between orientable compact connected surfaces without boundary with genus $g$ Similar to a previous question I asked, this is the other question that I couldn't answer in an exam I gave for my Topology course:  Suppose $g_1,g_2$ are non-negative integers such that $2-2g_2$ divideds $2-2g_1$. I have to construct a covering map $S_{g_1} \rightarrow S_{g_2}$, where $S_g$ is denotes an orientable compact connected surface without boundary with genus $g$.  Now, I attempted to try this problem for surfaces with smaller genera, for example a 2-torus and a 2-sphere. Clearly $2-2g$ is the Euler Characteristic of the said surface, and by classification of surfaces we have to only consider connected sum of 2-tori. So, I have $\chi(S^2)=2$, and $\chi(T^2) = 0$, here we have $2$ dividing $0$, hence I have to construct a covering map from $T^2 \rightarrow S^2$, and I have no idea how to move forward.  Addendum: I have to got great answers to my question here but I had a doubt when it comes to the points being mapped, specifically in Giulio Bresciani's answer. Clearly the handles of the figure is mapped to the handles in the figure above, but I'm unable to understand the mapping of the twist of the cover (above figure) to the extreme handles of the base (the figure below). Any help? How are Anonymous inner classes used in Java? What is the use of anonymous classes in Java? Can we say that usage of anonymous class is one of the advantages of Java? End of File in C++ Incompatible pointer type initializing 'CustomCellView *' with an expression of type UItableViewCell Story on quantum indeterminacy: protagonist has to “quantum select” a portable computer’s state $\delta$ differential notation Various textbooks that I am currently consulting (including Spacecraft Dynamics and Control An Introduction - Anton H.J. De Ruiter | Christopher J. Damaren | James R. Forbes Section 1.4, page 32) use $\delta$, not $d$ or $\partial$ to express an infinitesimal quantity. In the context of the reference text above, the symbol is used as part of a general definition for the derivative of a vector. Specifically, given   $$\mathbf{\vec{r}}=\mathcal{\vec{F^{T}_{1}}}\mathbf{\vec{r_{1}}}$$   where   $$\mathcal{\vec{F^{T}_{1}}}$$   is a vectrix   $$[\mathbf{\vec{x_1}} \phantom{s} \mathbf{\vec{y_1}} \phantom{s} \mathbf{\vec{z_1}}].$$  The time derivative of the vector is defined as   $$\dot{\mathbf{\vec{r}}}\triangleq \lim_{\delta t\to 0}\frac{\delta\mathbf{\vec{r}}}{\delta t}.$$  In this context, what is the difference between $\frac{\delta\mathbf{\vec{r}}}{\delta t}$ and $\frac{d \mathbf{\vec{r}}}{d t}$ ?  Note about thermodynamic use of $\delta$: My understanding is that $\delta$ is used in thermodynamic equations to express path dependence of a scalar quantity such as heat or work. What does it mean in the context of an abstract physical vector? What should I do if I lost money in a scam? I live in New Jersey and my son wanted to order some toys from this guy who said he makes them in his house and he could give him the best deal, but before he could send these toys he needed my 16 year old son to put $200 into his bank account. The guy then gave my son his wells Fargo bank account info and told him as soon he deposits the money he will ship his toys. Well, that never happened.  My son called the guy up and he told my son, “I’m only the middle guy, and my boss is in Nigeria and you need to put another $200 in my account because now I have to ship the toys from elsewhere.” So my son deposited another 200 dollars into this guys bank account.  My son has sent these jerks a total of $650. Is there anything I can do to these individuals? At this point even if I don’t get the money back it’s okay but I don’t want this happening to other kids and I want to teach these guys a lesson that you’re not above the law. The guy is still calling my son up saying that he is pissed off that he didn’t get more money.  What can I do now? biblatex: displaying all authors of multi-author works in the bibliography I'm using the  package to add citations and a bibliography to my LaTeX document. I've noticed that only the first author plus "et al." is displayed for works with more than three authors. That's fine with me for in-text-citations, but I'd rather have the complete author information in the bibliography. How can I do that? History substitution fails when implemented in shell script The below command works in command line  rsync -avh -r /Source/09_03_2016/ /Destination/ echo $(basename !:3)      Output 09_03_2016   But when I do this in shell script it does not work  #! /bin/bash  /usr/bin/rsync -avh -r /Source/09_03_2016 /Destination/; echo $(basename !:3)      Output  !:3 Subtracting even and odd binomial coefficients? When writing dates in prose in the dmy format (29 March 2014), is the correct preposition "in" or "on". I'm seeing it with "in" , but that construction is foreign to me.     It was released in 29 March 2010 on Steam for Microsoft Windows, and in 25 March 2010 on Xbox Live Indie Games for the Xbox 360.    "On" would seem to make more sense, from what I know. Verdict? What is a NullPointerException, and how do I fix it? What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely? There are lots (an infinitude) of smooth functions that coincide with $f(n)=n!$ on the integers. Is there a simple reason why Euler's Gamma function $\Gamma (z) = \int_0^\infty t^{z-1} e^{-t} dt$ is the "best"?  In particular, I'm looking for reasons that I can explain to first-year calculus students. Can I use a present-tense verb when writing about a past event? Using BibTeX/biblatex to make a list of references without having citations in the body of the document? Is there any way to have BibTeX or biblatex insert a bibliography without having citations in the body of the document itself? Maybe a way to hide the in-text citations, so that BibTeX still sees them and includes them in the bibliography, but does not print them in the body?