I'm writing a custom SSIS task. At the moment, each time I make a code change, I'm having to recompile and re-gac the containing assembly, restart my test SSIS package, delete and re-add the task from the tool box, then re-add the task and run the package.
Does anyone know if there's a way of stepping through my custom ssis task code at...
Hi,
I am new to ssis and my question
There are 3 different locations of a ftp server(c:\temp1\,c:\temp2\,c:\temp3) and I have to check all the three locations and if any xml files exist then I have to download to my local working directory(c:\workingxml) in a specific time let's say within 4 A.M. to 8 A.M. and after 8A.M.the 3 differe...
I've just been doing Greplin programming challenge and went to the final level, where the task sounds like this:
For the final task, you must find all subsets of an array
where the largest number is the sum of the remaining numbers.
For example, for an input of:
(1, 2, 3, 4, 6)
the subsets would be
1 + 2 = 3
1 + 3 = 4
2 + 4 = 6
1 + 2...
Hi,
We are porting modeling application, which uses IronPython scripts for custom actions in modeling process. The existing application executes each Python script in separate thread and uses cooperative model for this. Now we want to port it to TPL, but first we want to measure context switching
.
Basically, what we have right now:
...
Hi all,
For every task node in a process definition, i want to dynamically (programtically) add a self transition (from and to transition to the same node) to each task node. Can you tell me can this be done as part of JBPM v3.2 and if there are any issues that can crop up if i choose this approach ?
...
Is there a way to cancel an Async System.Threading.Tasks.Task? i.e.
Task.Factory.FromAsync(
client.BeginCallWebService,
client.EndCallWebService,
"param1",
null);
I would like to register a shared CancellationToken with this task so that if the token is cancelled before this Async task is invoked, it won't be invoke...
Hello! I write MFC application, but when i launch it, in task manager on applications tab all applications list are disapear. if i do active some applications then she appears in applicion list, and when i close my MFC app all aplications are appears in app list on application tab. Why this happening?
...
I have an 8-core CPU machine with 8 GB memory. Logically the following code can be done in parrallel, but since the loop exposes more than enough opportunities for parallelism since I have far fewer cores available than the size of the loop. Second, every delegate expression allocates some memory to hold the free variables.
Is it recomme...
Hello there,
.NET 4 have an Class - Task.
It's pretty interesting and I would like to start using it. For example I would like to create very simple Task based files downloader, with cancel possibility on every download.
Can anyone introduce me with sample code of doing that ? I would like to have an list of running tasks and would li...
I have a Java app runs on Win7, it does something at start and goes to sleep for an hour, then wakes up to do more things after the hour, but Win7 goes into sleep mode after 15 minutes of inactivity, so I wonder if I can register a task with the Windows task scheduler in my Java app before it goes into thread sleep, so that Win7 will wak...
I have a Java app runs on Win7, it does something at start and goes to sleep for an hour, then wakes up to do more things after the hour, but Win7 goes into sleep mode after 15 minutes of inactivity, so I wonder if I can register a task with the Windows task scheduler in my Java app before it goes into thread sleep, so that Win7 will wak...
Hello!
Is there a process manager or task viewer for android that shows how much CPU percentage each process or even each thread in a process takes up?
Thanks!
...
I know you can view the currently queued and running tasks in the Dashboard or development server console. However, is there any way to get that list programmatically? The docs only describe how to add tasks to the queue, but not how to list and/or cancel them.
In python please.
...
User click one button on Activity#1 to start Activity#2.
One button on Activity#2 start system default browser(Intent.ACTION_VIEW) to get Twitter authorized.
After user allow, Twitter redirect user to Activity#2(Custom intent-filter+data) and it save the tokens.
Now, if I press back key, the app back to browser, how to prevent this a...
I have a task and I expect it to take under a second to run but if it takes longer than a few seconds I want to cancel the task.
For example:
Task t = new Task(() =>
{
while (true)
{
Thread.Sleep(500);
}
});
t.Start();
t.Wait(3000);
Notice that after 3000 milliseco...
I would like to use the Task framework in .NET to schedule something to run on a different thread then when it's done continue with an operation to update the UI on the UI thread. (I haven't played with it much yet, so it's not very familiar to me.)
Here is the code:
Task<List<NewsItem>> fetchTask = new Task<List<NewsItem>>(() =>
...
Hi there, trying to grasp the TPL.
Just for fun I tried to create some Tasks with a random sleep to see how it was processed. I was targeting a fire and forget pattern..
static void Main(string[] args)
{
Console.WriteLine("Demonstrating a successful transaction");
Random d = new Random();
for (int i = 0; i...
I have a program that has a ton of sensors producing data at a fairly high rate, and consumers that need to consume it. The consumers consume at very different rates.
Since I am using IObserver/IObservable, the trivial solution was to simply create a Task for each event and wrap the OnNext() call and the data in a lamda. This worked v...
I have a simple powershell script on windows 7 that doesn't work properly. (this is not an issue on XP)
get-psdrive
When I run it directly, I get
Name Used (GB) Free (GB) Provider Root
---- --------- --------- -------- ----
A FileSystem A:\
Alias ...