I'm not a Java VM expert, and certainly not an expert in how Eclipse uses its VM. I've just installed Eclipse on a(nother) machine of mine, and I want to make some eclipse.ini changes. I know what XXMaxPermSize, Xms and Xmx mean, basically, but how do I adjust them to the combination of my Eclipse version, my word size, my Windows version, my CPU, my memory and my usage profile (which language, what kind of codebase size etc.)?  Note I'm not asking for the specific settings you would recommend for my own machine - but how to go about doing that. Also, the supposed-duplicate got answers about one or two specific Eclipse versions, focusing on shortcomings of JVMs at that time; so in the context of my question this might translate into "one consideration/limiting factor would be deficiencies in the current version of the JVM you're using" and then "here's what I know about those" or "see XYZ for a list of them".
What are the best JVM settings you have found for running Eclipse?
Cool Text Highlighting in LaTeX LaTeX has soul. ConTeXt, of course, , where you can put sweet hightligher under your text for free!    In the pictured example, you can see highlights that not only highlight, but that do it with cool edges that look so good, you can smell fumes! The fearless author says he'll show how that was done in another post; this one shows only how to lay down a straight, yellow box. But, it is possible to do word-wrapped highlighting with cool-shapped boxes within ConTeXt, presumably.  The trouble for me is that getting into the ConTeXt world is steep climb right now, given the state of documentation and the flux of changes, so I need to continue with LaTeX. But the real problem is that now I can't live without the Organic-Looking Highlights of Awesomeness in that picture!  As I said, Non-Organic-Looking Highlights of the Ordinary are easy with the soul package:  \hl{Some awesome text that word wraps fine.}   It just taunts me on the page with its straight lines. So, if I sacrifice word wrapping, I can use PGF/TiKz and create the following macro:  \newcommand\hl[1]{%     \tikz[baseline,%       decoration={random steps,amplitude=1pt,segment length=15pt},%       outer sep=-15pt, inner sep = 0pt%     ]%    \node[decorate,rectangle,fill=navcolor,anchor=text]{#1\xspace};% }%   Which creates something like this:    Now, my color is too dark and my randomness needs adjusting, but you see that a similar effect could be achieved.  My trouble is that I don't understand TeX enough to dig into the Soul package and add the TiKz/PGF goodness that it so sorely needs. So, I leave it to you guys. Anyone want to tackle this?   Or is it yet another piece of fruit, just a touch out of reach, that shall have to wait until ConTeXt settles down? WhatsApp for Ubuntu Phone? Does someone know if there already is a WhatsApp Version for Ubuntu Phone? I decided to install Ubuntu on my Android, but I don't want to use my phone without WhatsApp. How to mount a NTFS partition in /etc/fstab? How do I use a different drive as an installation location for Steam? I recently got an invitation for Steam. I want to download games but my SSD drive which I have Ubuntu will not be enough. How can I install Steam on a different hard drive?  I went into the "Steam Library Folders" but I can't delete the original folder so steam can install on that drive. I have also tried to change the place but it is again on the down side: I'd love to see if there are trends over time, patterns of improving behaviour after being flagged, consistent reoffenders, most misused types of flag, etc.  I understand the who-said-what-about-who aspect would most likely cause this to be denied, but even anonymised data would be interesting to dig through. Getting the location from an IP address I want to retrieve information like the city, state, and country of a visitor from their IP address, so that I can customize my web page according to their location. Is there a good and reliable way to do this in PHP? I am using JavaScript for client-side scripting, PHP for server-side scripting, and MySQL for the database. If I'm playing the Hilltop farm in co-op - what farmer's mining level is used for the hilltop spawns? What is the difference between linear regression on y with x and x with y? The Pearson correlation coefficient of x and y is the same, whether you compute pearson(x, y) or pearson(y, x). This suggests that doing a linear regression of y given x or x given y should be the same, but I don't think that's the case.   Can someone shed light on when the relationship is not symmetric, and how that relates to the Pearson correlation coefficient (which I always think of as summarizing the best fit line)? Is the power set of the natural numbers countable? Problem:Let $k$ be an odd positive integer. Prove that $(1+2+3...+n)|(1^k+2^k+3^k+...+n^k)$ for all positive integers $n$.  My Attempt: Proof (By Induction on $k$): Let $P(k)$ be the proposition that $(1+2+3...+n)|(1^k+2^k+3^k+...+n^k)$ for all positive integers $n$ when $k$ is odd. Then $P(1)$ and $P(3)$ are trivially true. So for $k\geq 5$, we assume that $P(k)$ holds. We would like to show that $P(k+2)$ also holds. In order to do that consider the following sums  $$1^{2}(1^k+2^k+3^k+...+n^k)=1^{k+2}+2^k+3^k+...+n^k$$ $$2^{2}(1^k+2^k+3^k+...+n^k)=2^2*1^k+2^{k+2}+2^2*3^k+...+2^2*n^k$$ $$..$$ $$n^2(1^k+2^k+3^k+...+n^k)=n^2*1^k+n^2*2^k+n^2*3^k+...+n^{k+2}$$ Note that $$1^2(1^k+2^k+3^k+...+n^k)+2^2(1^k+2^k+3^k+...+n^k)+...+n^2(1^k+2^k+3^k+...+n^k)\equiv 0\pmod {\frac{n(n+1)}{2}}$$  Therefore, if we denote $\sum_{i=1}^{n}i^2=s$, then    $(t)(1^k+2^k+3^k+...+n^k)-t+\sum_{i=1}^{n}i^{k+2}\equiv 0\pmod {\frac{n(n+1)}{2}}$ which implies that $P(k+2)$ holds. Hence by PMI we are done.  Now I am a bit hesitant in convincing myself whether this proof is correct or not. This is because I have never seen induction performed in this manner. Any reasons as to why this argument falls would be much appreciated. Product of an exponential function of IDD variables if $x_i$ are IID  continuous random variables, with $E[x_i]=μ$, is the following correct?   $E\left[\prod_{i=1}^n(1+⍺\space x_i)^i\right] = \prod_{i=1}^nE\left[(1+⍺\space x_i)^i\right] =  \prod_{i=1}^n(1+⍺\space E\left[x_i\right])^i = (1+⍺\space μ)^n$  thanks! I am trying to use a  as input and then creating a query with it - so I need a .    I was surprised to find that it couldn't do the conversion implicitly or explicitly - but I don't even know how I would do this, as the Java API is still fairly new to me. What does it mean for two objects to "touch"? Are there infinitely-many numbers that are both square and triangular? I just started to read "Friendly Introduction to Number Theory" but I am getting stuck in the first exercises.     1.1. The first two numbers that are both squares and triangles are 1 and 36. Find the next one and, if possible, the one after that. Can   you figure out an efficient way to find triangular–square numbers? Do   you think that there are infinitely many?     I found how to find out the number which is both square and triangle. (don't know if this is effective way)    However how can I answer "Do you think that there are infinitely many?"? I think I need to find the formula but no idea yet. Can you please help me? Are the rules regarding absolute modifiers too absolute? A common grammar lesson that was taught to me in the US and that I've had to teach abroad in EFL classrooms is that we're not to use adverbs of emphasis with absolute modifiers, just as we're not supposed to use them as comparatives or superlatives.  Classic egregious examples of this mistake include very unique and more perfect, which seem obviously flawed to me. Other instances of further modified absolute modifiers are similarly meaningless or contradictory in nature.  I wonder, though, if the rule that I learned isn't overly broad, and whether it's taught similarly in the UK and elsewhere. I find myself modifying absolute modifiers quite regularly, and in some circumstances I think it's not only logical and correct, but quite meaningful. Phrases like almost exactly or virtually all or practically infinite possess a specific meaning that can't really be replicated using nonabsolutes like very nearly or most or quite long.  In my own speech and writing, I use such phrases exactly as I see fit, so this isn't a request for permission, per se. I'm more curious about whether there's a more appropriate rule regarding absolutes that you rely on (and might be used in a classroom). What is the behavior of "delete" with stack objects? So, I know that $\max(-X_{(1)},X_{(n)})$ is a sufficient statistic for the parameter $\theta$. But can I also say that $(X_{(1)},X_{(n)})$ are jointly sufficient for the parameter $\theta$ ?  In other words, can a single parameter have jointly sufficient statistics? Finding a pair of functions with properties I need to find a pair of functions $f$, $g$ such that    $f$ is not differentiable at  $x = 0$ $g$ is not differentiable at $f(0)$ $g \circ f$ is differentiable at $x = 0$   I've tried a lot of functions but just can't seem to find ones that work. Any help would be appreciated, thank you. Does the verb "unvelcro" exist or what can we use instead? I know that the following word pairs exist:  button – unbutton tie – untie  Can we use an analogous process with the verb &quot;velcro&quot;? Setup for a wine bottle with multiple labels I have modeled a wine bottle and created various wine label designs for a client. The labels were created in Illustrator and so I have PNGs. I want to present a render of the same bottle with each label the client. The labels are not simple rectangles.   Should I:    "model" each label and wrap it on the bottle, or  try to map each label image to a portion of the bottle's surface?    I've seen lots of tutorials showing option #2, but something is telling me that the glass of the bottle should be separate from the "paper" label.  Also, with #1, couldn't I use the same bottle blend file and use a different layer for the each label, then turn on a different layer for each new render?  Maybe there's an even better strategy?  thanks,