Article View: news.software.nntp
Article #90814Re: More on NNTP testing
From: Richard Kettlewell
Date: Wed, 27 Sep 2023 13:36
Date: Wed, 27 Sep 2023 13:36
24 lines
2190 bytes
2190 bytes
Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> writes: > It's easy to create these examples, and then have an NNTP library return > or throw an error (yes, even in C; we just use longjmp()), but how would > end user software want to deal with such cases? Itโs more than 20 years since I last had to integrate a C library which reported errors via longjmp() and Iโm still bitter about it. As a matter of API design, Iโd rather C library communicated errors via return values (and pointer parameters, where more complex error information is required). Iโm not 100% convinced that a general-purpose NNTP library is a very useful thing. NNTP just isnโt really the hard bit. (NNTP-related functionality would no doubt be a distinct module within a newsreader, but with an API friendly to how the rest of the newsreader worked.) > How do people using newsreaders want to log such errors, and/or complain > about it? To whom? If the news server is just plain broken then a single error message in the UI would seem appropriate. -- https://www.greenend.org.uk/rjk/
Technical Details
Message-ID:
<wwvpm23d9fr.fsf@LkoBDZeT.terraraq.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<65SQM.565977$9o89.411905@fx05.ams4>Show Full Headers
Complete Article Headers
Message-ID: <wwvpm23d9fr.fsf@LkoBDZeT.terraraq.uk>
Subject: Re: More on NNTP testing
Date: Wed, 27 Sep 2023 14:36:56 +0100
From: Richard Kettlewell <invalid@invalid.invalid>
References: <65SQM.565977$9o89.411905@fx05.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: terraraq NNTP server
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6"; logging-data="55543"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:emCPtcCXwcBIvvlQ8d+psP6nqp4=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^ F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha +r0NzP?vnz:e/knOY)PI-
X-Boydie: NO