Time to ask?

M

MQ

Joe said:
No. We lowly programmers can declare and define what we like but we are
not the 'implementor' of our implementation.

Just as sure as we think we are all here on CLC, but are we really?
Let's cut the semantics argument. My point is that, as Keith jas
pointed out, an identifier is an identifier is an identifier, there is
nothing sacred about them. I understand what your saying that we
should nto use identifiers in common use, but "we are not the
implementor of our implementation"... C'mon.

MQ
 
C

Chris Hills

Andrew Poelstra said:
Formatting! I've corrected the spacing from here on.

NO SUCH THING! C is a free format language and there is not correct
format. Just the one you prefer.
Avoid globals at all costs.
CRAP.

There are times when global are required. You should just keep them to a
minimum.
 
C

Chris Hills

Andrew Poelstra said:
Yep. For example, my reader discards messages once I've read them and exited
the program. It would take far too much effort to grab past messages, and
in all likelihood my ISP has deleted any old messages from its server.
You should get a decent news reader. Most will let you set an expiry of
so many days after reading before the messages are deleated. Also you
should be able to reload any messages as long as your ISP has not lost
them.

If you want to seriously take part in discussions here a threaded news
reader with that does not junk messages as soon as they are read is
essential.
 
M

Mark McIntyre

NO SUCH THING!

No such thing as formatting? Strange thing to say. You can't possibly
be commenting on the rest of the sentence since "no such thing" is
meaningless in relation to it, even when shouted.
C is a free format language and there is not correct
format. Just the one you prefer.

Sure, but Andrew didn't say otherwise.

Stop shouting.

Its good advice to avoid globals. Obviously you cant always manage it.
Crap is however not the way to say that.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
 
M

Mark McIntyre

You should get a decent news reader.

Its nothing to do with quality of newsreader.
Most will let you set an expiry of
so many days after reading before the messages are deleated. Also you
should be able to reload any messages as long as your ISP has not lost
them.

Yes, but this is a pain.
If you want to seriously take part in discussions here a threaded news
reader with that does not junk messages as soon as they are read is
essential.

Thats not what Andrew's does. Like mine, his junks messages upon
exit. I cope just fine reading CLC.

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
 
K

Keith Thompson

Chris Hills said:
You should get a decent news reader. Most will let you set an expiry of
so many days after reading before the messages are deleated. Also you
should be able to reload any messages as long as your ISP has not lost
them.

If you want to seriously take part in discussions here a threaded news
reader with that does not junk messages as soon as they are read is
essential.

No, expiration is a function of the new server, not of the reader.

For example, my news server discards articles after some variable
amount of time, probably a week or so. My news reader doesn't discard
anything, but by default it doesn't show me an article again after
I've read it (which is a Good Thing). It does let me jump from any
article to its immediate parent (if the server still has it), and I do
use that feature occasionally, but it's inconvenient to do so.
Jumping to the parent article means I have to leave the article I was
reading, and getting back is non-trivial (there may be some easy way
to do it, but I haven't bothered to find it).

It's much easier to follow a discussion if each followup quotes a
reasonable amount of context from the previous article or articles.
Since you quote context yourself, I presume you understand this.
 
A

Andrew Poelstra

NO SUCH THING! C is a free format language and there is not correct
format. Just the one you prefer.

Since you didn't leave anything in here, I'll point out a few times
where I should have pointed out that:
1) No formatting.
2) Tabbed formatting (no-no on Usenet).

If the original post was neither of those, you are correct.
CRAP.

There are times when global are required. You should just keep them to a
minimum.

There's no point when globals are "required".
 
K

Keith Thompson

Andrew Poelstra said:
There's no point when globals are "required".

The C library has stdin, stdout, stderr, and errno. They're not
*necessarily* globals, but that's the obvious way to implement them.
 
B

Bill Pursell

Andrew said:
There's no point when globals are "required".

Untrue. <OT> A signal handler often executes with a
seperate execution stack. It can access only the
global variables from the main stack. </OT>

In a stand along program with no interaction to
the outside world, it may be true that globals
are never necessary. I don't know of a rational
way to handle signals without a global.
 
M

Mark McIntyre

There's no point when globals are "required".

Apparently you have no experience of real world systems.

Come now, of course there are times where globals are required. Do you
ever use errno ? How about stdin ?

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
 
C

Chris Hills

Keith Thompson <kst- said:
No, expiration is a function of the new server, not of the reader.

Not on my news reader.
For example, my news server discards articles after some variable
amount of time, probably a week or so. My news reader doesn't discard
anything, but by default it doesn't show me an article again after
I've read it (which is a Good Thing).

It appears that mine acts lie a news server then Has done for the last
15 years. I set the expiry in days in the reader.
It's much easier to follow a discussion if each followup quotes a
reasonable amount of context from the previous article or articles.
Since you quote context yourself, I presume you understand this.

Yes. However having the whole thread in the reader and graphically laid
out If I wish marked as read or unread does help a lot if you want to
review a discussion.
 
K

Keith Thompson

Chris Hills said:
Not on my news reader.
n

It appears that mine acts lie a news server then Has done for the last
15 years. I set the expiry in days in the reader.

Ok, then your newsreader has a feature I haven't seen before.

Expiration normally refers to physically removing an article from the
server. Your newsreader apparently has an additional feature whereby
it marks some articles as "expired", and shows you "unexpired"
articles even if you've already read them.

If an article has expired on your server, your reader won't be able to
display it. If your reader "expires" an article, it almost certainly
doesn't cause it to expire on the sever.
 
C

Chris Hills

Keith Thompson <kst- said:
Ok, then your newsreader has a feature I haven't seen before.

Expiration normally refers to physically removing an article from the
server. Your newsreader apparently has an additional feature whereby
it marks some articles as "expired", and shows you "unexpired"
articles even if you've already read them.

If an article has expired on your server, your reader won't be able to
display it. If your reader "expires" an article, it almost certainly
doesn't cause it to expire on the sever.

I use turnpike. It is a multi user system, even on a single PC.

So when it downloads the news it downloads all the news it is asked for,
for all the users. Different users have different NG's they read. It
will delete the article after the expire time set by the admin. Anything
from 1 day to months.

There is also a keep function that can be used on any message.

If it has deleted the article it can be asked to re-fetch it from the
ISP's server.

As you suggest I effectively have my own news server that is restricted
to the NG's I want to view.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top