Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

I am trying to process over an array of simple elements, where on every element of the array a time-consuming process of updating the UI with a Timer will be started. The order of the elements in the ...
0 votes
1 answer
159 views

Good day, Is there a way to set slurm that when the number of jobs exceed the maximum number of jobs a user have the rest will be performed serially automatically? For example; I have a maximum of 50 ...
0 votes
1 answer
1k views

How can i create a process execution in serial fashion vs parallel fashion? For example i want each process to execute the following python function: def execute(): time.sleep(random.randint(0,9))...
1 vote
1 answer
224 views

I'm trying to run multiple batch files using a loop in R using the code below for(i in 1:bfile) { setwd(dpv[i]) shell.exec("batcode.bat") } This loop calls all the batch files but what I want is ...
0 votes
2 answers
889 views

I have an implementation of a generic Matrix and I create an option to use '*' and '+' operators with parallel processing and serial processing. parallel caluclations example: consider we have m1 and ...
-1 votes
1 answer
600 views

I am interested in parallel programming. I wrote a serial radix sort algorithm. Now I want to convert it to a parallel algorithm. What methodology can I apply to it in order to convert it to parallel? ...
2 votes
2 answers
264 views

I have a class that sends webservice calls and delivers the response via delegation. I now want to add a caching layer in between the views and my webservice class. This new class should serialize the ...
439 votes
37 answers
388k views

Consider the following code that reads an array of files in a serial/sequential manner. readFiles returns a promise, which is resolved only once all files have been read in sequence. var readFile = ...
2 votes
2 answers
138 views

I have a List[String] of URLs that I want to load and process (parse, store to database) in sequence. I found only fixed-length examples, like: def readUrls = Action { implicit request => ...
0 votes
1 answer
2k views

Now, I have two transactions here. The consistency requirement be A=0 v B=0, with A=B=0 the initial values T1: read(A); read(B); if A=0 then B:=B+1; write(B). T2: read(B); read(A); ...
1 vote
1 answer
180 views

Thanks in advance for any help. I am trying to create an app that allows a user to answer questions and add their own for a group of people. I am downloading stock questions from parse, and for a ...
0 votes
0 answers
292 views

I have Table View Controller with collection of cells, each cell displays 2 values: ––––––––––––––––––––––––– | cell1 &...
1 vote
0 answers
274 views

odd request, I know, but I'm working on a program as a learning exercise which takes a .txt file containing a bunch of URLS pointing to text files on the web. It then hashes each word in each text and ...
-2 votes
1 answer
236 views

I'm a newbie to parallel computing. I have to run a legacy fluid dynamics Fortran 77 code. The program is serial and runs slowly, so I was wondering about the possibility to make it run parallel (e.g....
0 votes
1 answer
832 views

I'm currently comparing a serial versus a parallel implementation of some code on a quad-core processor. One of the things I'd like to understand/measure is how the serial code performs when it is ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /