* Help Wanted
@ 1994-11-25 13:39 Ian M Wilks
1994-11-26 4:22 ` R. William Beckwith
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Ian M Wilks @ 1994-11-25 13:39 UTC (permalink / raw)
Help, can you help please?
As an assignment I have to learn enough Ada and write the following parallel
program:
Find the prime numbers in the first 100 numbers (1, 2, 3, ... , 99, 100)
using the Sieve of Eratosthenes. Write down all numbers from 2 to 100.
The first number in the list (2) is a prime. Strike off all multiples of 2.
On the remaining list the next number (3) is a prime. Strike off all
multiples of 3, and so on.
Task 1 - Produces numbers from 2 to 100
Task 2 - outputs the first number it gets, deletes multiples of 2 from the
list and passes the remaining list to Task 3.
Task 3 - outputs the first number it gets, deletes multiples of 3 from the
list and passes the remaining list to Task 4.
Task n - outputs the first number it gets, deletes all multiples of the first
number and passes the remaining list to the next task.
Can anyone let me have any code similar to this that I can adapt. Unfortunately
I'm running out of time!!!
Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help Wanted
1994-11-25 13:39 Help Wanted Ian M Wilks
@ 1994-11-26 4:22 ` R. William Beckwith
1994-11-26 10:19 ` David Weller
1994-11-28 15:42 ` Robert Dewar
2 siblings, 0 replies; 6+ messages in thread
From: R. William Beckwith @ 1994-11-26 4:22 UTC (permalink / raw)
Ian M Wilks (Ian@wilks.demon.co.uk) wrote:
: As an assignment I have to learn enough Ada and write the following parallel
: program:
...
: Can anyone let me have any code similar to this that I can adapt. Unfortunately
: I'm running out of time!!!
task Me is
entry Take_Oath;
end Me;
with Text_IO;
task body Me is
begin
loop
select
accept Take_Oath;
Text_IO.Put_Line("I will not use the net for homework");
or
terminate;
end select;
end loop;
end Me;
for I in 1 .. 100 loop
Take_Oath;
end loop;
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help Wanted
1994-11-25 13:39 Help Wanted Ian M Wilks
1994-11-26 4:22 ` R. William Beckwith
@ 1994-11-26 10:19 ` David Weller
1994-11-28 15:42 ` Robert Dewar
2 siblings, 0 replies; 6+ messages in thread
From: David Weller @ 1994-11-26 10:19 UTC (permalink / raw)
In article <785770763snz@wilks.demon.co.uk>,
Ian M Wilks <Ian@wilks.demon.co.uk> wrote:
>Help, can you help please?
>
>As an assignment I have to learn enough Ada and write the following parallel
>program:
>
>Find the prime numbers in the first 100 numbers (1, 2, 3, ... , 99, 100)
>using the Sieve of Eratosthenes. Write down all numbers from 2 to 100.
Hehe -- I remember an interesting implementation of this that I saw
on the TeleSoft Ada compiler for AU/X (!!!!) (Pretty sure it was
TeleSoft).
--
Proud (and vocal) member of Team Ada! (and Team OS/2) ||This is not your
Ada -- Very Cool. Doesn't Suck. || father's Ada
For all sorts of interesting Ada tidbits, run the command: ||________________
"finger dweller@starbase.neosoft.com | more" (or e-mail with "finger" as subj.)
|"Quitting C++ isn't so difficult, provided you show as much |
| persistence stopping as you did starting." dweller |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help Wanted
1994-11-25 13:39 Help Wanted Ian M Wilks
1994-11-26 4:22 ` R. William Beckwith
1994-11-26 10:19 ` David Weller
@ 1994-11-28 15:42 ` Robert Dewar
2 siblings, 0 replies; 6+ messages in thread
From: Robert Dewar @ 1994-11-28 15:42 UTC (permalink / raw)
Well at least this chap is above board in his attempt to use the internet
to do his homework assignments for him :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Help wanted...
@ 1994-12-13 15:50 David Sanderson
0 siblings, 0 replies; 6+ messages in thread
From: David Sanderson @ 1994-12-13 15:50 UTC (permalink / raw)
We recently placed this advertisement in several prominent newspapers:
--------------------------------------------------------------------------
ENGINEERING, SOFTWARE
Position available in Omaha, NE. Responsibilites include design,
implementation and test of a signal analysis package. Requires a B.S.
in a technical discipline with a strong mathematical foundation.
Knowledge of Ada is required. Experience with Object Oriented Programming
and UNIX is desired. Requires U.S. citizenship. California Microwave
Inc. offers a complete benefits package and a professional working
environment. Qualified applicants please send your resume to: California
Microwave, Inc. P.O. Box 2800 Woodland Hills, CA 91365.
--------------------------------------------------------------------------
We need this person immediately, if not sooner. We are interested in
anyone with any Ada experience. We work with the state-of-the-art hardware
and software, including CASE tools.
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help Wanted
@ 1998-09-17 0:00 Marin David Condic, 561.796.8997, M/S 731-96
0 siblings, 0 replies; 6+ messages in thread
From: Marin David Condic, 561.796.8997, M/S 731-96 @ 1998-09-17 0:00 UTC (permalink / raw)
David Harrison <dfh@APCI.NET> writes:
>
>This annoying bit of spam just arrived. Does anyone notice something
>missing?
>
>> Subject:
>> ProObject, request for assistance
Seeing as how they are requiring "Top Secret" security clearance
(something not all that common in industry) one would presume this
is some sort of Government Job - possibly a government contract.
It sure sounds like the government is abandoning Ada. What ever
happened to that business of requiring cost justification for
language choice in the wake of abandoning "The Mandate"?
I've heard the arguments for dropping The Mandate and they sure
sound convincing. But I've been afraid that the message would be:
"Ada is so terrible that even we, who created it, don't want to
have anything to do with it anymore." (It doesn't matter what you
*say* - it matters what people *hear*!)
Well I'm glad we've made inroads in other areas - particularly
education. Maybe those inroads will sow the seeds for future
growth and people will be willing to drop their preconceived
notions and judge the language on its merits. It would be ironic
if a new generation of programmers were to be coming out of school
with Ada experience and end up trying to justify to a contract
officer why he shouldn't be demanding they do the project in C++
because Ada is the technically & financially smarter choice.
MDC
Marin David Condic, Senior Computer Engineer Voice: 561.796.8997
Pratt & Whitney GESP, M/S 731-95, P.O.B. 109600 Fax: 561.796.4669
West Palm Beach, FL, 33410-9600 Internet: CONDICMA@PWFL.COM
=============================================================================
"The reasonable man adapts himself to the world; the unreasonable
one persists in trying to adapt the world to himself. Therefore
all progress depends on the unreasonable man."
-- G.B. Shaw
=============================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-09-17 0:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-17 0:00 Help Wanted Marin David Condic, 561.796.8997, M/S 731-96
-- strict thread matches above, loose matches on Subject: below --
1994-12-13 15:50 Help wanted David Sanderson
1994-11-25 13:39 Help Wanted Ian M Wilks
1994-11-26 4:22 ` R. William Beckwith
1994-11-26 10:19 ` David Weller
1994-11-28 15:42 ` Robert Dewar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox