@halirutan Yep, fully agree. I think this is generally the reason why Java is not so much used in heavy computations / number crunching. Paul Graham wrote some 10 years ago that he considered Java to be an evolutionary dead end, and I don't know of anything that would contradict that statement. But it seems that the memory issue is more general, and is there at the level of JVM, so other JVM languages are likely suffering from it too.
@Rojo That reminds me of one line of Wesley Snipes's character in Passenger 57 movie: "Always bet on black".
@halirutan I second that. One reason Excel imports fail so often for large files is that the Excel importer is Java based.
@rm-rf The OP of this question deleted his question directly after receiving answers in comments. Not a big problem, as the question has appeared in many disguises here (in fact I was already looking for duplicates), ...
... but I really hate this behaviour (keeping the answer for yourself). I suggest we undelete it and then close as duplicate. What do you think?
@Öskå I could have said it depends on some water level in China.. I just mean I know the answer in this special case and what you did (asking on Unix) was the correct way in general
@Öskå I suspect the issue is related to the java one I reported here. This all comes from Mathematica which rapes the system clipboard by not ending the copied text with a zero byte.
mhm, I might do that indeed, it's really annoying. But when doing xclip -out I get Error: target STRING not available after copying something from Mathematica.
So is it Chrome-related or Mathematica/XClip-related?
@Öskå Only if I can fix it, which I can't in this case. I still have to live with the fact that each bit code I copy from Mathematica to IDEA has trash at the end.
@SjoerdC.deVries I agree with you in general, but here, it seems fairly innocent and nothing sinister. OP must've had a "oh duh!" moment and deleted it. Since there are no answers and there are plenty of possible duplicates as you say, I'd suggest just leaving it alone. Perhaps if the comments required more effort (e.g. a comment saying "I tried this for a while and here's an outline of the algorithm; I'll post an answer shortly") then we could undelete it.
@Guillochon Can you try what Mesh->Full gives you?
IMO the automatic mesh generation is messed up. Just look what ParametricPlot3D[{Cos[u] Sin[v], Sin[u] Sin[v], Cos[v]}, {u, 0, 1.9 Pi}, {v, 0, Pi}] gives you and that the missing line is exactly where the sphere closes at 2Pi.
@chuy Exactly! It's really weird this is not the default when half of the examples in the doc are closed toruses or something else where this issues shows up.
@bobthechemist You asked me some time ago about Joomla. Do you have any further experience? For instance, tweaking the JCE editor so that inserting the <pre class="prettyprint"... becomes easy?
I'm not satisfied with my knowledge about Joomla. In general it is a great system, because it is easy to use, but plugin/extension/modules is kind of hard to understand at the beginning. For instance the JPrettify plugin I recommended makes nothing more than inserting in each page that the prettify.js script is loaded so that you can use the highlighting. This is kind of overkill and I would really like to know how to tweak things and do stuff by myself.
@halirutan I haven't had much luck with the extension, and was planning on following up with you. Regardless of the the type of code (python, bash, WL, etc) I get no highlighting but do get grey-background code. The project went to the back burner for a while. I agree that the extensions are quite cumbersome - better in Joomla 3, but still a pain. I looked at Drupal and Wordpress as alternatives, but it wasn't obvious that they made the task simpler.