Hello All,
Is there a way to specify the ppn ( or equivalent ) in SGE ? i don't want to use all cpus in one node so i will be able to have more memory per core. ( In PBS you would do -l nodes=16:ppn=2 for exemple)
Thanks.
Hello All,
Is there a way to specify the ppn ( or equivalent ) in SGE ? i don't want to use all cpus in one node so i will be able to have more memory per core. ( In PBS you would do -l nodes=16:ppn=2 for exemple)
Thanks.
I want to use a batch file to ask for a password to continue, i have very simple code that works.
@echo off
:Begin
cls
echo.
echo Enter Password
set /p pass=
if %pass%==Password goto Start
:Start
cls
echo What would you like me to do? (Date/Chrome/Lock/Shutdown/Close)
set /p task=
if %task%==Date goto Task=Date
if %task%==Chrome goto Task=Chrome…
Note: This question is also cross-posted in Q.js mailing list over here.
i had a situation with multiple asynchronous operations and the answer I accepted pointed out that using Promises using a library such as q.js would be more beneficial.
I am convinced to refactor my code to use Promises but because the code is pretty long, i have trimmed…
I have to make a process in Oracle/PLSQL.....i have to verify that the interval of time between start_date and end_date from a new row that i create must not intersect other start_dates and end_dates from other rows.
Now I need to check each row for that condition and if it doesn't correspond the repetitive instruction should stop and after that…
Once in a while we get requests about how to fix performance problems with our framework. As it comes down to following the same steps and looking into the same things every single time, I decided to write a blogpost about it instead, so more people can learn from this and solve performance problems in their O/R mapper powered applications. In…
how to run the async task at specific time? (I want to run it every 2 mins)
I tried using post delayed but it's not working?
tvData.postDelayed(new Runnable(){
@Override
public void run() {
readWebpage();
}}, 100);
In the above code readwebpage is function which calls the async task for me..
Right now below is…
HI guys,
I am trying to import CSV file to SQL server database, no success, I am still newbie to sql server, thanks
Operation stopped...
Initializing Data FlowTask (Success)
Initializing Connections (Success)
Setting SQL Command (Success)
Setting Source Connection (Success)
Setting Destination Connection (Success)
Validating (Success)…
I have a web application using Spring 2.5.6 and Spring Security 2.0.4. I have implemented a working login page, which authenticates the user against a web service. The authentication is done by defining a custom authentincation manager, like this:
<beans:bean id="customizedFormLoginFilter"
…
Hi
I've never read COBOL in my life and have been tasked with rewriting the old COBOL code in a new language.
Are there any free or free-to-try software packages out there that will generate a flow chart for a COBOL program?
I've looked at "Visustin" and "Code Visual to Flowchart"
Visustin…
I am setting up an app to be hosted using VMs(probably amazon, but that is not set in stone) which will require both HTTP load balancing and load balancing a large number(50k or so if possible) of persistant TCP connections. The amount of data is not all that high, but updates are frequent.
…
I'm not talking about program flow, but as in the state of working called flow, the state where you can get great work done the most effectively.
I find that my current work environment while good in many ways does not allow me to get into a good state of mind for writing code most of the…
I am aware of passing data between jsp in spring web flow.
Is it possible to transfer data between html pages driven by spring web flow. I don't want to use the HTML5 local storage capabilities.
Example:
Page 1: Search box for an employee id.
Page 2: Search result for the employee…
The .NET Framework has always supported asynchronous operations. However, different mechanisms for supporting exist throughout the framework. While there are at least three separate asynchronous patterns used through the framework, only the latest is directly usable with…
In this posting I will show you how to use Task Parallel Library (TPL) and PLINQ features to boost performance of simple RSS-feed aggregator. I will use here only very basic .NET classes that almost every developer starts from when learning parallel programming. Of course, we will…
So this blog will focus on BPM Swimlane roles and users from a ADF context.So we have an ADF Task Details Form and we are in the process of making it richer and dynamic in functionality. A common requirement could be to dynamically show different areas based on the user logged…
In Windows XP, you could separate toolbars from the Task Bar by dragging them to the desktop. They could then be left lying about anywhere on your screen or, my preferred option, docked to any side of the screen.
I found this particularly useful to keep a handy list of…
Hi,
I have a rails app and I'd like to be able to do something like
task.labels.first.label_name to get the label name of a task. However, I get an undefined method label_name. I did a t = Task.first; t.labels.first.label_name in the console, and that worked so I'm…
I have several threads consuming tasks from a queue using something similar to the code below. The problem is that there is one type of task which cannot run while any other tasks are being processed.
Here is what I have:
while (true) // Threaded code
{
while…
Hey there,
I need help with a oracle query. Excuse me in advance for my english.
Here is my setup:
I have 2 tables called respectively "tasks" and "timesheets". The "tasks" table is a recursive one, that way each task can have multiple subtasks. Each timesheet…
I know from the codeing guidlines that I have read you should not do
for (int i = 0; i < 5; i++)
{
Task.Factory.StartNew(() => Console.WriteLine(i));
}
Console.ReadLine();
as it will write 5 5's, I understand that and I think i understand why it is…
How do I schedule a task to run once any time within a time range?
and also, just once in a day without specifying a time?
can windows task scheduler do it?
and specifically, if my computer is off or on standby or hibernation at the time I want it to run it…
Windows XP SP3
Many times as I head to the bottom of my desktop, I will slightly overshoot the target at the bottom and the task bar will pop up, hiding the target. I then have to move the cursor out of it so it retreats and then again try to access the…
I want to open the built-in task manager with Process Explorer's Replace Task Manager option checked. I've tried:
Running taskmgr.exe from the run dialog. PE was opened instead.
Creating a copy of taskmgr.exe in the same folder. Then run it. The…