Segmentation Fault related to Pointer in c
Segmentation fault with strcpy()
Bonferroni adjustment in SPSS - what does it do? I'm probably being a bit simplistic here, but from what I understand the Bonferroni post hoc test is simply when we adjust the alpha to account for inflated error when several post hoc tests are conducted. You divide the alpha by number of tests. So what exactly does SPSS do when we click the button for Bonferroni?   Shouldn't the dividing of alpha be done by us in interpreting the result, e.g. if we do 10 post hoc tests our alpha criterion should be .005 so if the p value is .012 then it is not significant, but SPSS hasn't done anything there, we have just changed our interpretation. So what exactly is it adjusting? I've been having trouble defeating this monster. Even with lots of buff potions, health potions, high tier armor (Molten), and ranged weapons with plenty of ammo (Minishark), I can't seem to kill this boss.  Worse, when I get it down to about 2000 hp, even if I'm fairly far away, it'll suck me in and continually rise towards the skybox, which doesn't allow me to do anything for some reason.  How do I defeat the Wall of Flesh? What gear should I be using and what kind of potions do I need? How to remove the top horizontal bar in fancyhdr? When using fancyhdr, how do you remove the top horizontal rule?  I do not want a header at all, just a footer.  This is what I do now:  \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy}  \lfoot{text} \cfoot{text 2} \rfoot{text 3}  \begin{document} Foo Bar \end{document} I just synced my Mountain Lion Mail app with my Exchange work email account in order to have it locally on my machine (rather than continuously going through the web interface). However, now Mail fetches all the mails since the very beginning (which are a couple of years).  Is there a way (like on iOS devices) to tell Mail to only sync the last month or something configurable amount based on message count, download size or other similar restriction to prevent all messages from being stored locally? Does this answer your question? Notice remains open even after submitting feedback How to find unused/dead code in java projects What tools do you use to find unused/dead code in large java projects? Our product has been in development for some years, and it is getting very hard to manually detect code that is no longer in use. We do however try to delete as much unused code as possible.  Suggestions for general strategies/techniques (other than specific tools) are also appreciated.  Edit: Note that we already use code coverage tools (Clover, IntelliJ), but these are of little help. Dead code still has unit tests, and shows up as covered. I guess an ideal tool would identify clusters of code which have very little other code depending on it, allowing for docues manual inspection. Stack Overflow provides good tools in the question editor, like "Links" and "Styling".  Another thing that for me would be nice is a color selector. Although an HTML editor is available, a direct click on tool would be good, and users can select different colors, as for marking errors in their program with red, and more important data with blue. Why was the DeLorean in Back To The Future not always covered in ice after time travel, and why didn't it fly in 1885? Does increasing voltage increase the torque of a brushless motor? 1.) I have a brushless motor with testing data at 12V. I want to know if I increase the voltage supply, will this increase the torque?   In my research I keep seeing "current controls torque, and voltage controls speed." But that doesn't seem quite right. Let's say I have a theoretical electrically powered unicycle that is weighted. With a 5V source and 2A, the motor can't move the unicycle. But now I increase the voltage to 10V, and I believe current will also increase by x2 if resistance is constant (V = IR). So now the torque increases and the unicycle can move itself. It that a reasonable sequence of events? Can I say that increasing voltage increases torque?   2.) A similar question: if P = VI = tau*omega, then P/omega = tau, so:  2*(P/omega) = 2*tau, which means increasing power will increase torque, correct? And since P = VI, increasing V will increase P, which will in turn increase torque. Is this accurate at all? When is double-quoting necessary? The old advice used to be to double-quote any expression involving a $VARIABLE, at least if one wanted it to be interpreted by the shell as one single item, otherwise, any spaces in the content of $VARIABLE would throw off the shell.  I understand, however, that in more recent versions of shells, double-quoting is no longer always needed (at least for the purpose described above).  For instance, in bash:  % FOO='bar baz' % [ $FOO = 'bar baz' ] &amp;&amp; echo OK bash: [: too many arguments % [[ $FOO = 'bar baz' ]] &amp;&amp; echo OK OK % touch 'bar baz' % ls $FOO ls: cannot access bar: No such file or directory ls: cannot access baz: No such file or directory   In zsh, on the other hand, the same three commands succeed.  Therefore, based on this experiment, it seems that, in bash, one can omit the double quotes inside [[ ... ]], but not inside [ ... ] nor in command-line arguments, whereas, in zsh, the double quotes may be omitted in all these cases.  But inferring general rules from anecdotal examples like the above is a chancy proposition.  It would be nice to see a summary of when double-quoting is necessary.  I'm primarily interested in zsh, bash, and /bin/sh. Motivating question:    I'm aware that one can construct a hierarchy of number systems via the Cayley–Dickson process:  $$\mathbb{R} \subset \mathbb{C} \subset \mathbb{H} \subset \mathbb{O} \subset \mathbb{S} \subset \ldots $$  "Reals" $\subset$ "Complex" $\subset$ "Quaternions" $\subset$ "Octonions" $\subset$ "Sedenions" $\subset$ $\ldots$  and that at each step you're given a multiplication table that tell how the elements interact. As you move up the ladder, certain "nice" properties are lost: ordering,  commutativity, associativity, multiplicative normedness, etc... Given the multiplication table, you can show that these properties don't hold.   Eric Naslund noted that "the first 4 are very special as they are the unique 4 normed division algebras over ℝ", no surprise then that these $2^n$-ions have found quite a bit of use. I'm interested in the sequence itself however, irrespective of how useful a $2^{256}$-ion might be (ducenti-quinquaginta-sex-ion?).   I feel like something deeper is going on here though that I don't understand. Why are these particular properties lost at each step? Is it possible to quantify the process such that, at the $2^n$-ion you can say something about the symmetry of the multiplication table*?  * I'm making an ansatz that there is a connection between the symmetry of the multiplication table and these "nice" properties. cannot start Tomcat 7 server - java.net.BindException: Address already in use I am currently helping a friend of mine with his preperations for his next exam. A big topic of the exam will be induction, thus I told him he should practice this a lot. As at the beginning he had no idea how induction worked, I showed him some typical examples.  Now he showed me an exercise he was having trouble with, which states that one should prove $$n^{n+1} &gt; (n+1)^n$$  for all $n \geq 3$. I have to admit that I too have trouble showing this inequality, as in all of my attempts, my lower bound is too low. Also, I have not yet figured out, how one gets the $(n+2)^{n+1}$, primarely the number $2$ is a problem. I think this might be solved using the binomial theorem, however, I don't think they have already seen the binomial theorem in school.  Is there an easy method to show this inequality by induction not using the binomial theorem? If no: How can one show it using the binomial theorem?  Thanks for answers in advance. DDL Trigger in MySQL? Is Kant's "noumenal self" argument on freedom flawed? Is it possible to load a raster file (e.g. geotiff or erdas img) directly into a Leaflet map? If so, can you guide me to the correct documentation or method to do this? I am trying to do this with the imageOverlay() function in Leaflet currently.   var imageUrl = 'http://localhost/test/my_raster.tif',         imageBounds = [[30.430224, -87.193133], [30.435867, -87.185944]];         L.imageOverlay(imageUrl, imageBounds).addTo(map);    I am new to Leaflet. Is the Death Star’s gravitational force strong enough to hold an atmosphere? The Death Star is the size of a small moon. Endor being a moon (not sure if it's small or not) has a rich atmosphere.  Could the Death Star hold a nitrogen/oxygen based atmosphere with its gravity?  (Now re-reading my question, I suppose this sounds a lot like the plot of SpaceBalls... that was not my intention) System file windows open behind Unity launcher I'm on Ubuntu 16.04.1 at the moment, and system windows like the Files window, Terminal or System Software open behind the Unity launcher, which means they are partially hidden behind it. I can move them with Alt+F7, but I'd like a more permanent solution to this problem. Is it possible to have site-specific badges? I want to prove with mathematical induction that:  $$\sum_{i=1}^n i \cdot i! = (n+1)! - 1$$  So in the first step we define $n = 1$:  $$\sum_{i=1}^1 i \cdot i! = 1 \cdot 1! = 1 = 2! - 1$$  In the second step we define $n = n + 1$:  $$\sum_{i=1}^{n+1} i \cdot i! = \sum_{i=1}^n i \cdot i! + (n+1)(n+1)!$$ $$\implies (n+1)! - 1 + (n+1)(n+1)!$$  This can now be simplified to $(n+2)(n+1)! - 1$ but I do not see how...  We could do $(n+1)!(-1 + (n+1)) = (n+1)! \cdot n$ but still this will not be the same as above.  What did I miss?  Bodo