New answers tagged

0

This is an opinion based question, but truth be told, to talk about performance is such a broad topic that unless you know exactly what you want and exactly what you are experiencing it is hard to advise on something. Having said that: Check this page The author is experienced on performance and was a kernel engineer for Sun. The method he describes is ...


0

This is mainly an opinion answer which depends on my past experiences and nothing else. I am not a programmer and Solaris (any version) is my least favorite UNIX flavor. I try to get away with doing as little as possible on Solaris system. Having said that, I worked with T4 systems in the recent past and the CPU is a work horse. It takes a lot more than ...


1

It is perfectly possible to install multiple versions of a library in Debian. Pinning is the way to go. In this case I decided to obtain libgstreamer0.10 from Debian Unstable (running Debian Testing myself). Create the file /etc/apt/sources.list.d/unstable.list with contents: deb http://ftp.nl.debian.org/debian/ unstable main deb-src ...


2

Don't run it as root, that's a serious security risk. Setup a new user for each if needed and make sure that they only have access to what they strictly need. If your application doesn't run without root privileges it might be a good idea to think about rewriting the parts needing it


0

I managed to get processing-video 2.2.1 to work, installing the corresponding Debian Jessie .deb files downloaded via https://pkgs.org: gstreamer-0.10-gconf gstreamer-0.10-plugins-base libgstreamer0.10-0 libgstreamer-plugins-base0.10-0 Installing each via dpkg -i. Others such as 'plugins-good' have unsatisfied dependencies, but were not needed in my ...


0

I found solution! first: $ sudo nano /etc/environment Second (add this string to config): _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=setting' But I did't understand something. According to this article setting is not a value. Also above described parameter earlier is not specified at all and this problem been present.


4

If I understand you correctly, you just want to insert the contents of javaoptions.txt into your java command. If so, xargs is no help. That's for running the same command on each line of output of another command. All you need here is java $(cat javaoptions.txt) ClassName Personally, however, I would write a function for this: runJava(){ ...


1

I use either script2log (simple), or vile-pager (vi like emacs) for this sort of thing. The script handles overstrikes of the sort mentioned, as well as backspace/overstriking. To handle cursor-movement (as you would get in editing a command-line), a simple script like this is not adequate. The script removes ANSI-style escape sequences, however. The ...


0

It could be a preference by the machine to only have one CPU awake when it doesn't actually need to spread the load. The each process would see an awake CPU with time to spare and prefer it.


0

Trivially, assuming there are no vt100 escapes to handle, you might try pushing the output through sed 's/\r$//; s/.*\r//' or the awk equivalent awk '{ sub("\r$",""); sub(".*\r",""); print}' but this assumes your sed or awk can handle very long lines, as the carriage-returns obviously aren't newlines. Also, carriage-return only moves the cursor to the ...


2

The java program and the javac alternatives are controlled independently of one another. Take a look at at what alternative you have set for javac. # update-alternatives --config javac There are 2 programs which provide 'javac'. Selection Command ----------------------------------------------- 1 ...



Top 50 recent answers are included