By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,382 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,382 IT Pros & Developers. It's quick & easy.

Open Source Community

P: n/a
Hello All,

I am a software engineer, and I got promoted and no longer doing
programming as in pure coding. I want to remain in touch with my C
programming skills, especially that we are developing our software using
C. Is there any open source community that I can join and keep my C skills
sharp?

Sorry if this post is out of context.

Later.

Dec 29 '05 #1
Share this Question
Share on Google+
23 Replies


P: n/a
Afifov said:
Hello All,

I am a software engineer, and I got promoted and no longer doing
programming as in pure coding. I want to remain in touch with my C
programming skills, especially that we are developing our software using
C. Is there any open source community that I can join and keep my C skills
sharp?


You can join us here in comp.lang.c on a regular basis and find out whether
your C skills are as sharp as you thought they were. They probably aren't,
by the way. Nothing personal - most if not all of the bright bunnies in clc
had to go through a painful learning process as they discovered C wasn't
quite what they'd thought it to be.

And if you've been programming for any length of time, I'll bet you've got a
computer itch you'd like to scratch. Scratch that itch - write that
program. If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 29 '05 #2

P: n/a
Richard Heathfield wrote:
If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.


Wow, if he manages to factor primes I promise that I'll pay him a fortune,
too!

Dec 29 '05 #3

P: n/a
Richard Heathfield <in*****@invalid.invalid> wrote:
And if you've been programming for any length of time, I'll bet you've got a
computer itch you'd like to scratch. Scratch that itch - write that
program. If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.


Factor large primes ? I always believed you can't do that in C...

--
:wq
^X^Cy^K^X^C^C^C^C
Dec 29 '05 #4

P: n/a

<us****@zevv.nl> wrote in message
news:43**********************@dreader16.news.xs4al l.nl...
Richard Heathfield <in*****@invalid.invalid> wrote:
And if you've been programming for any length of time, I'll bet you've
got a
computer itch you'd like to scratch. Scratch that itch - write that
program. If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.


Factor large primes ? I always believed you can't do that in C...


You can do anything in C - the real problem is that people do just that,
i.e., use it for everything.
Dec 29 '05 #5

P: n/a
Danilo Kempf <us****@nullpointer.de> wrote:
Richard Heathfield wrote:
If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.


Wow, if he manages to factor primes I promise that I'll pay him a fortune,
too!


Does that go for me, too? I'll write you a program that, when given a
large prime number, will factor it for you nearly instantaneously and
(within the limits of the implementation) guaranteed correctly. Accuracy
for non-primes is, alas, not part of the specification. Will you pay me
a fortune for that?

Richard
Dec 29 '05 #6

P: n/a
us****@zevv.nl said:
Richard Heathfield <in*****@invalid.invalid> wrote:
And if you've been programming for any length of time, I'll bet you've
got a computer itch you'd like to scratch. Scratch that itch - write that
program. If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.


Factor large primes ? I always believed you can't do that in C...


....or Pascal, or assembly language, or C++, or Fortran, or BASIC, or any
other computer language - unless you count 1 and n to be factors of n, in
which case it's pretty easy after all.

(I believe that Bill Gates has since claimed that he never said "The obvious
mathematical breakthrough would be development of an easy way to factor
large prime numbers." on page 265 of "The Road Ahead,", but I can't find a
reference to back me up.)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 29 '05 #7

P: n/a
yeah well, I just might get at it. It would be nice to prove all em
mathematicians wrong. Encryption down the drain if my program works.

Dec 29 '05 #8

P: n/a
Richard Bos wrote:
Danilo Kempf <us****@nullpointer.de> wrote:
Richard Heathfield wrote:
> If you can write a program to factor large primes, Bill Gates
> might just pay you a fortune.


Wow, if he manages to factor primes I promise that I'll pay him a
fortune, too!


Does that go for me, too? I'll write you a program that, when given a
large prime number, will factor it for you nearly instantaneously and
(within the limits of the implementation) guaranteed correctly. Accuracy
for non-primes is, alas, not part of the specification. Will you pay me
a fortune for that?


Okay, in such a case i would be willing to pay up to the amount of the
smaller of the prime factors in a currency of my choice -- Euro probably.

Might be considered a fortune by some people.

Danilo

Dec 29 '05 #9

P: n/a
man, Bill Gates knows squat! The Road Ahead is nothing but a lame book that
talks about nothing but obvious knowledge, especially for computer
scientists.

Check out the security holes in his OS!

Dec 29 '05 #10

P: n/a
Afifov said:
man, Bill Gates knows squat!


You're the same guy that thinks main returns void, right?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 29 '05 #11

P: n/a
Afifov a écrit :
Hello All,

I am a software engineer, and I got promoted and no longer doing
programming as in pure coding. I want to remain in touch with my C
programming skills, especially that we are developing our software using
C. Is there any open source community that I can join and keep my C skills
sharp?

Sorry if this post is out of context.

Later.


Yes, there are many. You can look at SourceForge for inspiration.

Otherwise you can work with the lcc-win32. We are always happy to
welcome new people.

jacob

P.S.: The pages for the lcc-win32 C compiler are at:

http://www.q-software-solutions.de
Dec 29 '05 #12

P: n/a
no one said main returns void! by default C returns an int (0,-1).
Yet, i stress the bill gates fact. Have you ever used MSDOS? or should I
say Dummy OS?
If anyone, bill cakes should thank IBM coz without the PC revolution and
IBM selling MSDOS with its PCs , then Bill and Microzift couldn't have
made a bundle and closed down!

Dec 29 '05 #13

P: n/a
us****@zevv.nl wrote:
Richard Heathfield <in*****@invalid.invalid> wrote:
And if you've been programming for any length of time, I'll
bet you've got a computer itch you'd like to scratch. Scratch
that itch - write that program. If you can write a program to
factor large primes, Bill Gates might just pay you a fortune.


Factor large primes ? I always believed you can't do that in
C...


Sure you can. Marc Pappin just gave an unpolished implementation,
with a few minor correctable flaws.

Richard is going to pay for his sloppy definition. And pay and pay
and pay and pay ...

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Dec 29 '05 #14

P: n/a
Afifov said:
no one said main returns void! by default C returns an int (0,-1).
The only return values from main() that have portable semantics are 0,
EXIT_SUCCESS, and EXIT_FAILURE. Where did you get -1 from?
Yet, i stress the bill gates fact. Have you ever used MSDOS?
Yes.
or should I say Dummy OS?


Don't blame MS-DOS on Bill Gates. He did not write it.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 29 '05 #15

P: n/a
Chuck F. said:
Richard is going to pay for his sloppy definition. And pay and pay
and pay and pay ...


Chuck, what are you talking about? Were you really not aware of the Bill
Gates "Road Ahead" quote to which I was alluding?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 29 '05 #16

P: n/a
Danilo Kempf <us****@nullpointer.de> wrote:
Richard Bos wrote:
Danilo Kempf <us****@nullpointer.de> wrote:
Richard Heathfield wrote:

> If you can write a program to factor large primes, Bill Gates
> might just pay you a fortune.

Wow, if he manages to factor primes I promise that I'll pay him a
fortune, too!


Does that go for me, too? I'll write you a program that, when given a
large prime number, will factor it for you nearly instantaneously and
(within the limits of the implementation) guaranteed correctly. Accuracy
for non-primes is, alas, not part of the specification. Will you pay me
a fortune for that?


Okay, in such a case i would be willing to pay up to the amount of the
smaller of the prime factors in a currency of my choice -- Euro probably.

Might be considered a fortune by some people.


I'd say. You do realise that usually, 1 is not considered a prime factor
because if it is you can end up with an infinite amount of factors,
nearly all 1?

Richard
Dec 29 '05 #17

P: n/a
Richard Heathfield <in*****@invalid.invalid> wrote:
Chuck F. said:
Richard is going to pay for his sloppy definition. And pay and pay
and pay and pay ...


Chuck, what are you talking about? Were you really not aware of the Bill
Gates "Road Ahead" quote to which I was alluding?


Well, I wasn't, hence my reply...

Yet another new year's resolution for me: I will not try to be funny in
public.

Ico

--
:wq
^X^Cy^K^X^C^C^C^C
Dec 29 '05 #18

P: n/a
"Afifov" <af****@yahoo.com> writes:
no one said main returns void! by default C returns an int (0,-1).
Wrong.
Yet, i stress the bill gates fact. Have you ever used MSDOS? or should I
say Dummy OS?
If anyone, bill cakes should thank IBM coz without the PC revolution and
IBM selling MSDOS with its PCs , then Bill and Microzift couldn't have
made a bundle and closed down!


Yes, yes, we've all heard the standard Microsoft-bashing. Whether we
agree with it or not, it's off-topic here -- and frankly, it would be
boring even if it were topical.

Please provide some context when you post a followup. I'm sure you've
read the standard advice about how to post properly through
groups.google.com. You're using something called
www.talkaboutprogramming.com; I have no idea how to persuade it to
post proper followups, or even whether it's possible. If it doesn't
allow you to do so, I strongly suggest you stop using it to post to
Usenet. If you have no other alternative, you groups.google.com, but
*only* after reading <http://cfaj.freeshell.org/google/>.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Dec 29 '05 #19

P: n/a

"Keith Thompson" <ks***@mib.org> wrote
Yet, i stress the bill gates fact. Have you ever used MSDOS? or should I
say Dummy OS?
If anyone, bill cakes should thank IBM coz without the PC revolution and
IBM selling MSDOS with its PCs , then Bill and Microzift couldn't have
made a bundle and closed down!


Yes, yes, we've all heard the standard Microsoft-bashing. Whether we
agree with it or not, it's off-topic here -- and frankly, it would be
boring even if it were topical.

I love Microsoft jokes, but only what CS Lewis called "jokes proper".

Eg what are these?

in 1 1, output 1
in 1 0, output 0
int 0 1, output 0
in 0 0 output 0
AND gates

and these?
in 1, 1, output 1
in 1, 0, output 1
in 0, 1, output 1
int0, 0, output 0

OR gates

and these
in 1, 1, output 0
in 1, 0, output 1
in 0, 1, output 1
in 0, 0, output "This computer has performed an illegal operation?"

Bill Gates.
Dec 29 '05 #20

P: n/a
Keith Thompson <ks***@mib.org> writes:
[...]
If you have no other alternative, you groups.google.com, but
*only* after reading <http://cfaj.freeshell.org/google/>.


Sorry, I meant "you can use groups.google.com". (A real news server
would be better, but Google can be used correctly with a little
effort.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Dec 29 '05 #21

P: n/a
Yes, he didnt write MSDOS. but its the "source" of his fortunes

Dec 30 '05 #22

P: n/a
On 2005-12-29, pemo <us***********@gmail.com> wrote:

<us****@zevv.nl> wrote in message
news:43**********************@dreader16.news.xs4al l.nl...
Richard Heathfield <in*****@invalid.invalid> wrote:
And if you've been programming for any length of time, I'll bet you've
got a
computer itch you'd like to scratch. Scratch that itch - write that
program. If you can write a program to factor large primes, Bill Gates
might just pay you a fortune.


Factor large primes ? I always believed you can't do that in C...


You can do anything in C - the real problem is that people do just that,
i.e., use it for everything.


Given that you can't do it without C [though you can factor large
composite numbers whose factors are large primes, of course], I suspect
you probably can't do it with C either.
Dec 30 '05 #23

P: n/a
On 2005-12-29, Richard Heathfield <in*****@invalid.invalid> wrote:
Afifov said:
no one said main returns void! by default C returns an int (0,-1).


The only return values from main() that have portable semantics are 0,
EXIT_SUCCESS, and EXIT_FAILURE. Where did you get -1 from?


perhaps that is his system's definition of EXIT_FAILURE

I suspect it would be legal according to the letter of the standard for
EXIT_FAILURE to be -1, EXIT_SUCCESS 1, and the implementation-defined
interpretation of exit values to be that positive numbers are
successful, negative ones are failed. This is certainly not the
interpretation used on unix systems, or on windows systems [on both, the
exit status may be an integer from 0 to 255, and for exit(n) is n&255
EXIT_SUCCESS is 0, EXIT_FAILURE 1 on unix - i don't know how these are
defined on windows]
Yet, i stress the bill gates fact. Have you ever used MSDOS?


Yes.
or should I say Dummy OS?


Don't blame MS-DOS on Bill Gates. He did not write it.

Dec 30 '05 #24

This discussion thread is closed

Replies have been disabled for this discussion.