27 Topics

Member Avatar for
Member Avatar for ddanbe

[OH noo, please not that again!](https://www.youtube.com/watch?v=DvShTJKuy2w) Yeah, primes sigh. But they play a minor role here as a perfect victim to explain some other things. Would not advise to use the algorithm here to calculate them in real life. There are languages like Python, F#, Haskell etc. who have list …

Member Avatar for ddanbe
0
366
Member Avatar for darne_1

A php code sent a query to the database say credentials from login page for verifying and something was returned say TRUE OR FALSE as status. Now my question is, if I do not know the code of the developer who wrote the login form, does there exist any way …

Member Avatar for pritaeas
0
214
Member Avatar for sirmcfly.works

i'm having a problem with my project where i should read the inputs from the status port of a DB-25... Input = Inp(&H379S).... whenever i trigger one of the sensor the value of INPUT will be 135 regardless of which sensor i trigger or even if i simultaneously trigger multiple …

Member Avatar for sirmcfly.works
0
309
Member Avatar for CPT

Hello everyone, I'm having problems grasping some concepts of parallel programming; to be more precise, given some pieces of code, I have to determine which of them can be parallel and which cannot(this was in a test in a parallel programming class): a) a=2; b=3; //yes-variables are independently initialised b) …

Member Avatar for rubberman
1
244
Member Avatar for ramy.merc

Hi programmers, I am a c# programmer but I have a very big project in C++ (Which I am not familiar with) and I am facing a big problem. As part of the project, I need to convert the image (any image of any type bmp,jpeg,png...etc) to grayscale using openMP. …

Member Avatar for Moschops
0
2K
Member Avatar for ziadkassam
Member Avatar for ziadkassam
0
699
Member Avatar for boltfarms

Hello, I am currently having an issue with a project I am working on. The rest of my project is fine, I am just having an issue with one logical portion of it, and I was hoping someone could help me. I also have to use 1D arrays to solve …

Member Avatar for tinstaafl
0
227
Member Avatar for pattilupwned

Hello, I am having trouble passing a file into parallel arrays. Based on the code below, I get a bunch of jumbled numbers on my cout screen that don't even show up in the input file. I have attached a PNG of the console output. I am at a loss …

Member Avatar for Suzie999
0
433
Member Avatar for lamba89

Hi everyone, I'm trying to parallelise a Gram-Schmidt algorithm. Here's the serial code: for( k = 0; k < m; k++ ) { for( i = 0; i < k; i++ ) { s = 0.0; for( j = 0; j < n; j++ ) { s += q[ i …

0
123
Member Avatar for getanshub4u

I am trying to parallelize the [Guibas Stolfi delaunay triangulation](http://goanna.cs.rmit.edu.au/~gl/research/comp_geom/delaunay/delaunay.html) using openmp. There are two things to parallelize here- the mergesort(),which i did and the divide() where I am stuck. I have tried all possible approaches but in vain. The approach followed(divide n conquer) in divide() is same as that …

0
113
Member Avatar for Tellalca

Hey guys, I am playing with the .NET 4.0's new class Parallel. I tried to open files in a directory and calculate the total bytes of them. However when I run the code, I get a different result every time. Can you explain me the problem I have? [CODE]using System; …

Member Avatar for Momerath
0
205
Member Avatar for pdellongo

Hello. I have written my code and I am almost done, but I keep getting LNK2019 errors. I'm not sure what I'm doing wrong. Any suggestions? [CODE]#include <iostream> #include <cmath> #include <iomanip> using namespace std; int getStudentCount(void); double getExamScores (int noStudents); double getLabScores(int noStudents); double calculatePointGrades(double, double); char calculateLetterGrades(double); void …

Member Avatar for pdellongo
0
189
Member Avatar for Graphix

Hi, At the moment I am trying to open a log file with notepad.exe while the original process continues. As I am developing for Windows, fork() is not available for me. I googled alot and found a good reference to opening processes ([url]http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html[/url]), however they all put the original process …

Member Avatar for Graphix
0
260
Member Avatar for ndeniche

Hi guys. I know this is a long shot, but does anyone know if parallel computing (multiple simultaneous programmers/developers working on the same file) is possible for SQL databases? What I'm wondering if is possible is working on a local database that updates the mdf file in two computers, which …

Member Avatar for BitBlt
0
250
Member Avatar for TJones

Hey everybody. All my Google searches for help led me here so I thought I'd post my actual problem directly. I'm in a 101 programming course and this is only our second Python assignment. What I need to do is use one-dimensional parallel arrays to allow input of four different …

Member Avatar for TJones
0
483
Member Avatar for cdes1145

Sort of at a dead end, I need to find a way to align an element from Array1 with a specified element from Array 2. I.e. A has the index of 1 and I want it to be aligned with e, How would I go about doing this? I have …

Member Avatar for Airshow
0
380
Member Avatar for akaban

i need a very simple coding of vb6 to control 8 leds connected with parallel port of my on-board parallel port. i need a little description with the coding to understand

Member Avatar for debasisdas
0
160
Member Avatar for Sebas80

Hi there, I have an old Olivetti PR2 Dot printer. This printer was (and nowadays new revisions of this model are) used in bank environment to print on passport books and a4 format sheet. This model in particular has a Parallel port and a serial (25pin) one as well. My …

Member Avatar for Sebas80
0
245
Member Avatar for CrumbledCookies

I don't fully understand what is wrong with my code, it will read the first lines of any text file but then overloads and keeps displaying "0.00" and then crashes the program. I'm trying to get it to read student's last names and read their GPA scores, and the sentinel …

Member Avatar for CrumbledCookies
0
2K
Member Avatar for python01

Hi all, I was just wondering if it is possible to use python to send pulses of 5 v (default) through the parallel port. I have made up a circuit board to interpret the pulses, yet this isn't helpful since there are no pulses to receive. Here's some specs( maybe …

Member Avatar for python01
0
234
Member Avatar for ktsangop

Hi everyone! Just wanted to ask before i begin messing around. Is it possible for two processes to access the parallel port simultaneously? So that if i short circuit Input pins to output pins of the parallel port one process will provide input to another one? I am using Windows …

Member Avatar for ktsangop
0
207
Member Avatar for rcogq7

* This program inputs ten integers and * displays the mode using parallel arrays. * Use a method to calculate the mode. This is my specs. I cannot figure out a solution as to how to find the mode using only two arrays. Help would be gratefully appreciated

Member Avatar for JamesCherrill
0
97
Member Avatar for jeffcogswell

[ATTACH=left]17191[/ATTACH]Today at Intel's IDF 2010 was the official launch of the 2011 version of Intel Parallel Studio. Parallel Studio is a set of tools that enhance Visual Studio to support full parallel programming. This is more than just a simple plug-in for Visual Studio. It's an entire set of tools …

Member Avatar for jeffcogswell
5
311
Member Avatar for jeffcogswell

[ATTACH=RIGHT]17350[/ATTACH]Since the release of the second edition of Parallel Studio this month, I've spent a good amount of time with it, trying out the new features. First, what's Parallel Studio? It's an add-in for Microsoft Visual Studio that gives you a large set of features for writing parallel code that …

Member Avatar for saahiloberoy
4
669
Member Avatar for PMACLEAN

Could someone please advise me on how to implement fork() in a parallel processing (multiplying) of a 2d array....I have been at this for far too long.. here is my code [code] for (int i = 0; i < rowCol[0]; i++ ) result[i] = (float*)malloc ( rowCol[1] * sizeof(float) ); …

Member Avatar for abhimanipal
0
177
Member Avatar for EddieC

Thought you were bleeding edge with your quad-core PC? Think again. A company called Tilera today announced that it's working on a chip containing 100 processor cores, which it says could be seen by 2011. It's part of its new TILE-Gx line of 64-bit multi-core processors, the first of which--a …

1
1K
Member Avatar for myle

The meaning of parallel is not that of parallel processing. I simply mean that if algorithms A and B are represented by the two sequence of operations (a_1, a_2, ...) and (b_1, b_2, ...), then the executed sequence of operations is (a_1, b_1, a_2, b_2, ...). It is not compulsory …

Member Avatar for myle
0
176

The End.