In Java, is there a way to force a JVM instance to run on a single CPU/Core.
Additionally is there a way for given thread to figure out what CPU it is running on?
Hi,
I/m developing JSP/Servlets App,and I want to execute a service at a specific time , for example :
For each day at 10:00 AM , delete any
attachment from the "attachment" table
in the database where column X== NULL.
How can I do this in JSP/Servlets application ?
I use Glassfish as a server .
I can access my linux box by ssh and by vnc. I want to run a GUI application, but directly from ssh, I don't want to access through VNC and click around. So, after logging in using ssh, I want to issue a magic command, so that when I log in through VNC I will see my GUI app running. How can I do this?
I am trying to write a .sh file that runs many programs simultaneously
I tried this
prog1
prog2
But that runs prog1 then waits until prog1 ends and then starts prog2...
So how can I run them in parallel?
Thanks
I once heard of a guy managed to install original Microsoft .Net Framework on Linux and successfully run Mono-incompatible .Net applications using bleeding-edge MS C# features. Any idea how could he do it?
I have a neural network written in Erlang, and I just bought a GeForce GTX 260 card with a 240 core GPU on it. Is it trivial to use CUDA as glue to run this on the graphics card?
I realize this sounds a little crazy, but I'm working on a project for which I need a server to run user-provided Ruby code and return the result.
I'm looking to prevent something like this:
system("rm -rf /")
eval("something_evil")
# etc...
I'm sure there must be some reasonably safe way to do this, as it already exists at places like tryruby.org. Any help is greatly appreciated, thanks!
Respected sir,
I m @nimit and i want create one batch file and run it in a dos prompt and that output stored in a single textile how to that was made.
in that batch file execute the c++ program.
in advance than x....@nimit
hi
my application objective is to save location updates every ,let say, 20 minuets .
I used service and it worked fine , but when i lock the screen or it is locked automatically the service stop running .
when i unlock it , service runs again.
highlight on my code:
Service xxx
onCreat(){
call timer();
}
timer(){
code
}
How to make my code run all the time in all conditions?
I want to run a Firebird stored procedure from a batch file or similar on a desktop. The stored procedure contains insert statements and update statements with if possible parameters that I would like to pass.
Any ideas or other suggestions would be appreciated.
I want to run my ruby script x times a day (the number might change) on my linux box. What would be the best way to do so if I do not want it to happen at the same time? I want the time (hour and minute) to be random
I'm using Drupal 6 and its core comment module.
I want to run a custom funcion every time a user posts a comment, but I don't want to mess with the comment.module for obvious reasons.
Is there a practical way I can do this in a custom module? If not, what are the alternatives as I don't want to write my own commenting system.
Hi everybody,
I just manage to install gearman on my local Ubuntu test environment. I wonder if I could in any way run both the worker and the client at the same computer, while in development stage?
Thanks a lot!
When I try to run NUnit tests in resharper I get this:
Detected a probable test framework assembly version mismatch.
Referenced test frameworks: 'nunit.framework, Version=2.5.3.9345, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77'.
Supported test frameworks: 'nunit.framework, Version=2.5.0.0-2.5.2.65535', 'nunit.framework, Version=2.4.8.0-2.4.8.65535'.
I use Gallio v3.1 build 397.
I am using an LPC2132 ARM chip to develop a program. However, my program has grown larger than the space on the chip.
How can I connect my chip to some sort of external memory chip to hold additional executable code? Is this possible? If not, what do people normally do when they run out of chip space?
When I code, I always write little pieces of unit, and compile it often. This helps me to make sure that everything run correctly, but it's very time consumed. is there any programming language that can support us to do coding and running at the same time side by side ? i mean as soon as a key press leads to valid code, the effect of the edit is incorporated into the executing program.
I am running a GWT Web Application project in Eclipse with certain Entities that I make persisent using JDO. Where (on my file system) do these Entities actually get saved if I run the project in development mode from Eclipse (so not on the Google App Engine, but locally)?
can I run C# built-in unit test in build machine which doesn't have Visual Studio installed?
We are thinking add unit test to our Visual Studio 2008 C# project. Our build machine doesn't have VS installed and we want to integrate the new unit test with our auto-build system. Is MSTest the executable to launch the Team Test unit test?
Hello,
I have a PC with AMD FX CPU (Do not remember if it was FX51 or FX60)
it is 64Bit does it means that I can run 64Bit Guests? even if it does not have the Visualization extensions in the CPU?
I've got a batch script that does some processing and calls some perl scripts.
My question is if there was a way to put the perl code directly into the batch script and have it run both types of scripts.
Is there a way to take my C++ code and cross compile it to run on Windows, Mac OS, and Linux? Is there a tool to do this, or does it have to be manually compiled on each OS via Terminal/Cygwin?
Recently I opened a .dll file produced by Visual Studio 9 while compiling a native C++ DLL project and was surprised to see the "This program cannot be run in DOS mode" text near the beginning.
Why have this text in .dll files?
I would like to be able to port some new site pages over to PHP using the same db as in the coldfusion site. Is it possible to have PHP run pages in say other directory and go back and forth ?
Many thanks for your reply.
Terry
I've got a utility that outputs a list of files required by a game. How can I run that utility within a C program and grab its output so I can act on it within the same program?
UPDATE: Good call on the lack of information. The utility spits out a series of strings, and this is supposed to be complete portable across Mac/Windows/Linux. Please note, I'm looking for a programmatic way to execute the utility and retain its output (which goes to stdout).