🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
125 messages
125 total messages Page 3 of 3 Started by Albert Porcan Thu, 03 Jul 2014 19:05
Page 3 of 3 ‱ 125 total messages
Re: Nothing is more configurable than Thunderbird.
#156635
Author: Coyo
Date: Tue, 08 Jul 2014 02:02
17 lines
2143 bytes
On 7/7/2014 5:51 AM, Jeff-Relf.Me wrote:
> Albert,  You can't tell me why, exactly,
> Pan is better than Thunderbird ? !

I just tried getting Pan to work on windows for me.

I installed GTK+ for windows, just like it told me, encountered the
following critical error:

"The procedure entry point gzdirect count not be located in the dynamic
link library zlib1.dll"

and I was unable to resolve it. The furthest I got was, "probably have
an incorrect version of zlib1.dll" but haven't gotten any further than that.

In other words, Pan failed spectacularly to run at all.
Re: Nothing is more configurable than Thunderbird.
#156636
Author: Coyo
Date: Tue, 08 Jul 2014 02:04
7 lines
1929 bytes
On 7/7/2014 3:04 PM, Sir Gregory Hall, Esq. wrote:
> I never thought I'd agree with the BananaBoi but
> I agree with him this time. Thunderbird is a buggy
> POS

I never thought I'd agree with Gregory, but Thunderbird is made of
JavaScript, XUL and AIDS. Extending it only makes it worse.
Re: Nothing is more configurable than Thunderbird. 
#156637
Author: Coyo
Date: Tue, 08 Jul 2014 02:05
9 lines
2218 bytes
On 7/7/2014 3:45 PM, John Hasler wrote:
> While Thunderbird on Windows may be a buggy POS, if a buggy user space
> program can hang an OS so that the only way to reboot it is to hit the
> power switch the OS is also a buggy POS.

Trust me, Thunderbird on any form of Linux is far worse. While you can't
entirely crash Linux with a Thunderbird resource thrash, Linux behaves
strangely when 0% of RAM is free at all, and all 8 CPU cores are at 100%
utilization.
Re: Nothing is more configurable than Thunderbird.
#156638
Author: Coyo
Date: Tue, 08 Jul 2014 02:13
11 lines
2093 bytes
On 7/7/2014 8:45 PM, Sir Gregory Hall, Esq. wrote:
> Wrong! I now have a telephone company hot spot. 4G, man. 
> It is fast and reliable. 54 Mbps. Only 20 bucks a month 
> for 3 gigs.

I've got http://www.speedtest.net/my-result/3610593372

Passive Optical Fiber @ 11ms ping 80 Mb/s down, 30 Mb/s up.

Sometimes on Team Fortress 2 servers, I'm accused to being a server
admin playing on localhost (and thus cheating)
Re: Nothing is more configurable than Thunderbird.
#156644
Author: Darrin Doc O'Leary
Date: Tue, 08 Jul 2014 03:20
41 lines
3623 bytes
For your reference, records indicate that 
<Pidgeot18@verizon.invalid> wrote:

> I understand your sentiments that writing your own software is easier 
> than fixing existing one, and, quite frankly, I've been equally guilty 
> of it in the past. However, I think it is ultimately destructive to open 
> source to give into this, as it robs projects of people who might care 
> to make it better.

I absolutely agree with you.  Unfortunately, there is little *I* can do
about it, because the root of the problem is that poor coding practices
of a project’s *existing* developers is what turns off developers like
me who would otherwise contribute.  And there’s little point in forking
off code that is so terribly written.

My concrete example regarding Usenet is to point out there is no libnntp
that is used by multiple newsreaders and/or to enhance external software
like cURL.  Everyone seems to run their projects in ways that would flunk
a CS junior right out of school.  Any suggestion that things could be
different, that everyone might benefit from a *design* discussion, is
most often met with some “brogrammer” telling you to shut up and just
commit code.

And a well-structured code base is a pretty big deal when it comes to
inviting “outsiders” like me to help with a project.  If I can’t easily
figure out were the NNTP transport parts (or filtering or whatever) are
in Thunderbird (or tin or slrn or whatever), don’t blame me if I come to
the conclusion that my time might be better spent elsewhere.

> [I will note, as an irony given current context, that I originally 
> switched to using Thunderbird after deciding that Pan sucked. I then 
> started contributing to Thunderbird because I said "how hard could it 
> be?" only to discover that the answer was "extremely hard."]

Mainly because the people in charge aren’t doing a very good job.

-- 
"Well, here I am."
Jubal Early, Objects in Space, Firefly

Re: Nothing is more configurable than Thunderbird.
#156648
Author: bad sector
Date: Tue, 08 Jul 2014 11:18
16 lines
2298 bytes
On 07/07/2014 04:02 PM, Sir Gregory Hall, Esq. wrote:

> I guess it just wasn't written to work on x64 Windows
> 8.1. That's the problem with open source crap. It's
> buggy as hell and generally pathetic.


no like, no use

I use T-Bird as my only NNTP app with whichever distro I want to give it 
as plug-in at that moment (strictly steamgauge, no glass)




Re: Nothing is more configurable than Thunderbird. ï»żï»ż
#156650
Author: Steve Crook
Date: Tue, 08 Jul 2014 12:19
26 lines
2310 bytes
On Mon, 7 Jul 2014 09:56:35 +0000 (UTC), Albert Porcan wrote in
Message-Id: <lpdqsi$plc$4@news.albasani.net>:

> On Sun, 06 Jul 2014 15:07:11 -0700, Jeff-Relf.Me wrote:
>
>> @Albert,  Why aren't you using Thunderbird ?
>> It works on Linux too, you know.
>
> My default MUA is Thunderbird, so, I know it well.
Mine too, for Windows.  On Linux its Mutt and that sets the standard by
which I judge all others.

> I've even configured the reply to be the same key sequence in 
> Thunderbird as it is in Pan.
>
> The problem is, and always was, that a MUA is a lousy NNTP client, 
> just as a web browser is a lousy MUA.
You could take that analogy a step further and say a GUI is a lousy
environment for a text-based application.  Why not give slrn a try and
see how you get on?  Running under 'screen' I've got mutt and slrn at my
fingertips and accessible from anywhere in the world.

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?
Re: How to debug reliability with Pan on these 7 free newservers?
#156655
Author: castal00n
Date: Tue, 08 Jul 2014 13:35
10 lines
1527 bytes
On Sun, 06 Jul 2014 16:28:16 -0400, Sir Gregory Hall, Esq. wrote:

> STFU, Seamus MacRea.

Who is "Seamus MacRea", Hall? There is nobody in this newsgroup using 
that alias.

> You aren't fooling anybody but the stupid, gullible folks.

How ironic.
Re: Nothing is more configurable than Thunderbird. 
#156653
Author: Â§Ă±ĂŒhwö£f
Date: Tue, 08 Jul 2014 13:46
23 lines
2803 bytes
Coyo wrote:
> On 7/7/2014 3:45 PM, John Hasler wrote:
>> While Thunderbird on Windows may be a buggy POS, if a buggy user space
>> program can hang an OS so that the only way to reboot it is to hit the
>> power switch the OS is also a buggy POS.
> 
> Trust me, Thunderbird on any form of Linux is far worse. While you can't
> entirely crash Linux with a Thunderbird resource thrash, Linux behaves
> strangely when 0% of RAM is free at all, and all 8 CPU cores are at 100%
> utilization.

Because DUH, you have to go into the advanced Config page and tweak it.
Limit the memory it uses and the number of connections it spawns and 
suddenly it dosnt use all the memory.
FYI, d00fus :)

-- 
http://signon.org/sign/protect-americas-wolves
www.snuhwolf.9f.com|www.savewolves.org
    _____  ____  ____ __ /\_/\ __      _ ______   _____
   / __/ |/ / / / / // // . . \\ \ |\ | / __ \ \  \  __\
  _\ \/    / /_/ / _  / \     / \ \| \| \ \_\ \ \__\  _\
/___/_/|_/\____/_//_/   \_@_/   \__|\__|\____/\____\_\
Re: Nothing is more configurable than Thunderbird.
#156659
Author: Joshua Cranmer 🐧
Date: Tue, 08 Jul 2014 15:05
52 lines
4630 bytes
On 7/7/2014 10:20 PM, Darrin "Doc" O'Leary wrote:
> My concrete example regarding Usenet is to point out there is no libnntp
> that is used by multiple newsreaders and/or to enhance external software
> like cURL.  Everyone seems to run their projects in ways that would flunk
> a CS junior right out of school.  Any suggestion that things could be
> different, that everyone might benefit from a *design* discussion, is
> most often met with some “brogrammer” telling you to shut up and just
> commit code.

I think often times it's not that it wasn't designed. It's that the 
original component was designed, no one wrote the guidelines of the 
design anywhere, and as subsequent patches and fixes were made, people 
broke abstractions in the design to get code done. And sometimes the 
original designer leaves and you have to piece together why something 
was designed by piecing together all the history you can find.

To make it concrete, here are several problems with a simple "libnntp" 
library. I'll assume that it's C or C++--well C, since it's easier to 
use C from C++ then the other away around, and let's annoy all the 
potential contributors who might want to use RAII features of C++. It 
needs to be cross-platform of course, and since C's standard library is 
shitty, you have to decide if you want to use a portability layer for 
sockets or roll your own.

How are you reading from those sockets? Blocking reads? Then it needs to 
be thread-safe (and thus more portability headaches), so it can run off 
main thread. Perhaps you're doing asynchronous I/O--even more 
portability headaches and now you have the event loop conundrum.

Perhaps we might consider SSL support. That requires choosing an SSL 
library. Of course, if you choose the wrong one, it makes headaches for 
clients that use you, so you have to more or less try to support all of 
them. But then what do you want to do on SSL certificate errors? Which 
SSL root certificate list do you even use?

Supporting flexibility for some clients that actually care about it 
requires complicating the API--you have to set up lots of callbacks so 
that the application can figure out how to handle various kinds of 
errors. And that starts complicating the API, to the point where some 
upstart neophyte asks "Gee, why is this so complicated for a simple 
little library? Who designed this trash? I'll just do it myself."

> Mainly because the people in charge aren’t doing a very good job.

No, actually. It's because what I wanted to do was antithetical to the 
design of the code--and as much as I may disagree with that design, I 
can see why the original developers designed it as they did.


-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth
Re: Nothing is more configurable than Thunderbird.
#156680
Author: Coyo
Date: Tue, 08 Jul 2014 20:26
19 lines
2033 bytes
The participant Albert Porcan ( albertporcan@is.invalid ) 
 on Wednesday, July 09, 2014 01:07 AM 
 In [ lpi4kb$7j1$1@news.albasani.net ] 
 wrote a piece of great literature to alt.os.linux 
 as follows:

> On Mon, 07 Jul 2014 17:09:29 -0700, Jeff-Relf.Me wrote:
> 
>> Your loss, loser, you're as helpless as Gay Banana.
> 
> You guys must all know each other! :)

That's my impression.

It's like watching an alternative middle school playground. 
Alternative in this case means "alternative school" which is 
government newspeak for pre-juvenile detenion center.

Gotta love the public school system and the juvenile prison industry.
Re: Nothing is more configurable than Thunderbird.
#156668
Author: Darrin Doc O'Leary
Date: Tue, 08 Jul 2014 22:19
98 lines
7082 bytes
For your reference, records indicate that 
<Pidgeot18@verizon.invalid> wrote:

> On 7/7/2014 10:20 PM, Darrin "Doc" O'Leary wrote:
> > My concrete example regarding Usenet is to point out there is no libnntp
> > that is used by multiple newsreaders and/or to enhance external software
> > like cURL.  Everyone seems to run their projects in ways that would flunk
> > a CS junior right out of school.  Any suggestion that things could be
> > different, that everyone might benefit from a *design* discussion, is
> > most often met with some “brogrammer” telling you to shut up and just
> > commit code.
> 
> I think often times it's not that it wasn't designed. It's that the 
> original component was designed, no one wrote the guidelines of the 
> design anywhere, and as subsequent patches and fixes were made, people 
> broke abstractions in the design to get code done. And sometimes the 
> original designer leaves and you have to piece together why something 
> was designed by piecing together all the history you can find.

Well, sure.  But that speaks mainly towards individual incompetence,
whereas my larger point is that it is organization incompetence that
*allows* things to play out as you describe.  Things like the Linux
kernel seem to be handled very professionally, but you don’t have to
go very far to see the obvious flaws in how things like OpenSSL or
Thunderbird or most other projects are managed.

> To make it concrete, here are several problems with a simple "libnntp" 
> library. I'll assume that it's C or C++--well C, since it's easier to 
> use C from C++ then the other away around, and let's annoy all the 
> potential contributors who might want to use RAII features of C++. It 
> needs to be cross-platform of course, and since C's standard library is 
> shitty, you have to decide if you want to use a portability layer for 
> sockets or roll your own.

There are plenty of other higher-level networking libraries that can be
referenced to determine a good way to go.  And if that is *not* the case,
if even *those* projects are mismanaged such that they don’t stand on
each other’s shoulders, the people managing them should be given the boot
until they learn how professional software development gets done.

The main problems remains that people who write newsreaders seem unable
to write modular code, and so what *should* be thought of isolated
functionality (NNTP communication, however implemented) instead is a
pile of spaghetti that is intertwined with all the newsreader’s other 
code.  Hell, a look at just Thunderbird’s nsNNTPProtocol.cpp shows over
50 includes, with another dozen in the .h file!  I’ve got better things
to do than try to untangle that mess.

> How are you reading from those sockets? Blocking reads? Then it needs to 
> be thread-safe (and thus more portability headaches), so it can run off 
> main thread. Perhaps you're doing asynchronous I/O--even more 
> portability headaches and now you have the event loop conundrum.
> 
> Perhaps we might consider SSL support. That requires choosing an SSL 
> library. Of course, if you choose the wrong one, it makes headaches for 
> clients that use you, so you have to more or less try to support all of 
> them. But then what do you want to do on SSL certificate errors? Which 
> SSL root certificate list do you even use?

You’re making my point for me.  That’s the stuff that all needs to be
worked out by having discussions *long* before you start coding.  But
the approach for open source is more often than not all about taking
whatever code someone manages to crank out and calling it done.

> Supporting flexibility for some clients that actually care about it 
> requires complicating the API--you have to set up lots of callbacks so 
> that the application can figure out how to handle various kinds of 
> errors. And that starts complicating the API, to the point where some 
> upstart neophyte asks "Gee, why is this so complicated for a simple 
> little library? Who designed this trash? I'll just do it myself."

That’s only true if the people doing the design simply aren’t very
good at their job.  NNTP is a great example of this, because it is
written to allow for easy extensions.  But if you go looking at the
source for just about every newsreader, what you most often see is
all supported response codes jammed into one file, often handled by
a big ol’ case statement.  What complicates the API is idiots who try
to put a wrapper around every single possible NNTP operation rather than
implementing the generic command-response engine that the RFC
essentially outlines.

> > Mainly because the people in charge aren’t doing a very good job.
> 
> No, actually. It's because what I wanted to do was antithetical to the 
> design of the code--and as much as I may disagree with that design, I 
> can see why the original developers designed it as they did.

I can see why they did it, too.  I stated as much.  They did such a
poor job they would have been fired in any other situation.  Yet
somehow they are cheered on when their bad designs and bad code comes
in the form of open source.  It’s a race to the bottom that I’m not
going to participate in.

-- 
"Well, here I am."
Jubal Early, Objects in Space, Firefly

--
#156669
Author: Jeff-Relf.Me
Date: Tue, 08 Jul 2014 23:08
36 lines
2426 bytes
Darrin, Joshua,  The source code I wrote,
for my newsreader (X.EXE), has no .h file; it's just:

  http://Jeff-Relf.Me/X.CPP  http://Jeff-Relf.Me/X.PNG
  http://Jeff-Relf.Me/X.HTM  http://Jeff-Relf.Me/X.EXE

It's designed for Windows 8 only.
It might run on Windows 7, if you install:

  Platform Update for Windows 7
  http://support.microsoft.com/kb/2670838

Having only one source file, like that,
makes it much easier to maintain.

There's no modularity.
I use globals, goto, and "#define" liberally.
I use Visual Studio 2013, which few people have.

X.EXE employs a custom "console".
This example code outlines the basics of the console:

  http://Jeff-Relf.Me/DirectX.CPP,
  Visual C++ 2013, is a small (one-file)
  example of how to:
  -- Use DirectX 11.1, Direct2D 1.1, DirectWrite, and Direct3D.
  -- Replace DirectDraw/GDI+, etc.
  -- Draw to a back buffer at a high fps (frames per second).
  -- Draw properly scaled/smoothed .JPG files, hardware accelerated.
  -- Draw to/from/within bitmaps.
  -- Discover if a font exists or not ("FindFamilyName()").
  -- Discover if a glyph exists in a font ("HasCharacter()").
  -- Discover the width/height of a glyph ("GlyphWH()").

  Note: This code needs Windows 8 or later.
  ScreenShot (4K/UHD): http://Jeff-Relf.Me/Glyph.JPG
Re: Nothing is more configurable than Thunderbird.
#156671
Author: Coyo
Date: Tue, 08 Jul 2014 23:15
51 lines
4395 bytes
On 7/7/2014 10:20 PM, Darrin Doc O'Leary wrote:
> For your reference, records indicate that 
> <Pidgeot18@verizon.invalid> wrote:
> 
>> I understand your sentiments that writing your own software is easier 
>> than fixing existing one, and, quite frankly, I've been equally guilty 
>> of it in the past. However, I think it is ultimately destructive to open 
>> source to give into this, as it robs projects of people who might care 
>> to make it better.
> 
> I absolutely agree with you.  Unfortunately, there is little *I* can do
> about it, because the root of the problem is that poor coding practices
> of a project’s *existing* developers is what turns off developers like
> me who would otherwise contribute.  And there’s little point in forking
> off code that is so terribly written.
> 
> My concrete example regarding Usenet is to point out there is no libnntp
> that is used by multiple newsreaders and/or to enhance external software
> like cURL.  Everyone seems to run their projects in ways that would flunk
> a CS junior right out of school.  Any suggestion that things could be
> different, that everyone might benefit from a *design* discussion, is
> most often met with some “brogrammer” telling you to shut up and just
> commit code.

I get this treatment a lot. It doesn't help that my programming skills
are mediocre. A lot of free software coders tend to just a person purely
based on published code, similarly to how writers will judge a person
based on his or her published works.

Sometimes, there's a lot more to it than that. Thankfully,
self-publishing is a thing, and it's easy to link to a self-published
work. For programming, the equivalent would be GitHub.

However, I'm a bit of a perfectionist, and I don't like exposing code to
criticism, because coding is a creative endeavor, and I don't like
exposing merely mediocre code.

> And a well-structured code base is a pretty big deal when it comes to
> inviting “outsiders” like me to help with a project.  If I can’t easily
> figure out were the NNTP transport parts (or filtering or whatever) are
> in Thunderbird (or tin or slrn or whatever), don’t blame me if I come to
> the conclusion that my time might be better spent elsewhere.
> 
>> [I will note, as an irony given current context, that I originally 
>> switched to using Thunderbird after deciding that Pan sucked. I then 
>> started contributing to Thunderbird because I said "how hard could it 
>> be?" only to discover that the answer was "extremely hard."]
> 
> Mainly because the people in charge aren’t doing a very good job.
> 
Re: Nothing is more configurable than Thunderbird.
#156670
Author: Coyo
Date: Tue, 08 Jul 2014 23:16
9 lines
2227 bytes
On 7/8/2014 10:05 AM, Joshua Cranmer 🐧 wrote:
> I think often times it's not that it wasn't designed. It's that the
> original component was designed, no one wrote the guidelines of the
> design anywhere, and as subsequent patches and fixes were made, people
> broke abstractions in the design to get code done. And sometimes the
> original designer leaves and you have to piece together why something
> was designed by piecing together all the history you can find.

UNIX in a nutshell.
Re: Nothing is more configurable than Thunderbird.
#156673
Author: Coyo
Date: Tue, 08 Jul 2014 23:26
7 lines
1923 bytes
On 7/8/2014 7:19 AM, Steve Crook wrote:
> I've got mutt and slrn at my
> fingertips and accessible from anywhere in the world.

I've used mutt before. I like it. slrn failed on windows.

When I get that old family computer turned over to me, I'll try it.
Re: Nothing is more configurable than Thunderbird.
#156674
Author: Joshua Cranmer 🐧
Date: Wed, 09 Jul 2014 00:31
76 lines
6320 bytes
On 7/8/2014 5:19 PM, Darrin "Doc" O'Leary wrote:
> There are plenty of other higher-level networking libraries that can be
> referenced to determine a good way to go.  And if that is *not* the case,
> if even *those* projects are mismanaged such that they don’t stand on
> each other’s shoulders, the people managing them should be given the boot
> until they learn how professional software development gets done.

This is a great example of failing to appreciate the original design. If 
we're referring to how horrible Thunderbird's NNTP code is, first keep 
in mind that it was designed at least as far back as 1998 and possibly 
earlier. Quite frankly, the body of higher-level networking libraries 
was far sparser in those days, and what has been considered good 
practice for developing networking has changed dramatically in the 
intervening 16 years. Oh, and this code was written by paid professional 
software developers.

> The main problems remains that people who write newsreaders seem unable
> to write modular code, and so what *should* be thought of isolated
> functionality (NNTP communication, however implemented) instead is a
> pile of spaghetti that is intertwined with all the newsreader’s other
> code.  Hell, a look at just Thunderbird’s nsNNTPProtocol.cpp shows over
> 50 includes, with another dozen in the .h file!  I’ve got better things
> to do than try to untangle that mess.

You criticize the code for not being modular. The problem is that the 
"mess of headers" is in large part a result of it being modular and 
using modular code. You have headers for basic ADTs like std::vector or 
std::shared_ptr [except using custom variants since this code predates 
the STL being remotely usable]. There's the underlying network API to 
read and write to the socket, as well as handle things like SSL or 
proxies transparently. There's the line buffer for the network stream, 
or the logger to log salient data for debugging. The callbacks for 
knowing what username and password to use if prompted.

What you mean when you say it's not modular is not that it isn't 
modular, but that the modules don't cover the same concepts you want 
them to. You want nsNNTPProtocol.cpp to be the box that just speaks to 
the NNTP server and is almost totally self-contained. But to the person 
who designed the code, nsNNTPProtocol.cpp is the box that implements 
operations at the level of "get a message" or "find new messages in a 
newsgroup." It is designed. It may not be the best design, it may not 
even be a good design, but it is a clear and intentional design.

> You’re making my point for me.  That’s the stuff that all needs to be
> worked out by having discussions *long* before you start coding.  But
> the approach for open source is more often than not all about taking
> whatever code someone manages to crank out and calling it done.

How can you work out all of the problems when some of the problems don't 
exist yet? How would you design your code to support SSL if you predate 
SSL? I don't deny that new code needs to have detailed discussions, but 
it is foolish to think that you could conceive of every possible 
development for a project that might live for 20 or 30 years.

> I can see why they did it, too.  I stated as much.  They did such a
> poor job they would have been fired in any other situation.  Yet
> somehow they are cheered on when their bad designs and bad code comes
> in the form of open source.  It’s a race to the bottom that I’m not
> going to participate in.

The people who wrote that code were paid to write it. It is, quite 
frankly, no better or worse an example of "professional software 
development" than other examples I'm aware of.

I can understand you looking at code for a few minutes and deciding that 
you're not going to bother considering it anymore. I'm not going to 
blame you for disagreeing with that code. But to go so far as to presume 
that the design is so horrid that the developers should have been fired 
is a step too far: understanding the rationale behind the design 
requires examining a lot more evidence in the absence of detailed design 
notes (which, quite frankly, appear to be usually lacking in both 
"professional" development environments and open source).

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth
Re: Nothing is more configurable than Thunderbird. ï»żï»ż
#156676
Author: Albert Porcan
Date: Wed, 09 Jul 2014 01:07
5 lines
1708 bytes
On Mon, 07 Jul 2014 17:09:29 -0700, Jeff-Relf.Me wrote:

> Your loss, loser, you're as helpless as Gay Banana.

You guys must all know each other! :)
Re: Nothing is more configurable than Thunderbird.
#156708
Author: Darrin Doc O'Leary
Date: Wed, 09 Jul 2014 16:29
135 lines
8904 bytes
For your reference, records indicate that 
<Pidgeot18@verizon.invalid> wrote:

> On 7/8/2014 5:19 PM, Darrin "Doc" O'Leary wrote:
> > There are plenty of other higher-level networking libraries that can be
> > referenced to determine a good way to go.  And if that is *not* the case,
> > if even *those* projects are mismanaged such that they don’t stand on
> > each other’s shoulders, the people managing them should be given the boot
> > until they learn how professional software development gets done.
> 
> This is a great example of failing to appreciate the original design.

No, it’s a great example of failing to update a design and implementation
as the code base grew.  Even in my own code I can see that my “original
design” is not fully future-proof.  But, as a professional, I know that
what that means is that I have a bit of refactoring to do in the future.
What I’m *not* going to do is release it as open source and pretend
that developers are supposed to respect that first system.

> If 
> we're referring to how horrible Thunderbird's NNTP code is, first keep 
> in mind that it was designed at least as far back as 1998 and possibly 
> earlier. Quite frankly, the body of higher-level networking libraries 
> was far sparser in those days, and what has been considered good 
> practice for developing networking has changed dramatically in the 
> intervening 16 years.

And had the code been written with sufficient modularity, they would
have been able to swap out the lower level changes without it affecting
the higher level interface.  If the design it right, a firm line gets
drawn between the NNTP command-response cycle and the actual way the
data gets transferred.  There will be layers above and below that that
are abstractly as independent.

> Oh, and this code was written by paid professional 
> software developers.

Maybe they were paid, but I see no evidence of them being in any way
professional.

> You criticize the code for not being modular. The problem is that the 
> "mess of headers" is in large part a result of it being modular and 
> using modular code.

You clearly only have a surface understanding of what modularity means
when it comes to larger code bases.  To scale, you need a fractal
approach, which would involve segmenting large blocks of tightly
coupled coded into their own libraries, and then having one master
header to include all that related functionality.  That doesn’t escape
the Thunderbird developers completely, because there appear to be
plenty of Mozilla and other libraries linked in, but it certainly
appears to have escaped anyone who wrote the NNTP parts I looked at.

> You have headers for basic ADTs like std::vector or 
> std::shared_ptr [except using custom variants since this code predates 
> the STL being remotely usable]. There's the underlying network API to 
> read and write to the socket, as well as handle things like SSL or 
> proxies transparently. There's the line buffer for the network stream, 
> or the logger to log salient data for debugging. The callbacks for 
> knowing what username and password to use if prompted.

Nobody looking at the code today care that much about the historical
reasons for it being junk.  The point is that nobody involved today
seems to have any interest in refactoring the code to make it better.
I care about custom STL excuses from 1998 about as much as I care to
hear excuses from OpenSSL developer on why they need custom memory
allocators.  Same goes with most of the other junk code.  The point
of a good design is that if you *must* include sub-standard code at
some point, it is done in a way that makes it easy to replace it
when something better comes along.

> It may not be the best design, it may not 
> even be a good design, but it is a clear and intentional design.

No, it’s a rookie just cranking out a kitchen sink solution.  What you
describe as intent is simply sheer incompetence.  It speaks to a lack
of any serious thought on how the system *should* function, and is very
much in line with the brogrammer approach of just throwing code into
the repository.

> How can you work out all of the problems when some of the problems don't 
> exist yet? How would you design your code to support SSL if you predate 
> SSL? I don't deny that new code needs to have detailed discussions, but 
> it is foolish to think that you could conceive of every possible 
> development for a project that might live for 20 or 30 years.

You’re again completely missing the point of a modular design.  If I can
abstract the networking bits away from the rest of the code, I don’t have
to *care* about SSL (or whatever) coming along in the future.  Sure, some
parts of the code will have to change to take advantage of it, but if the
design was done right, the changes are limited to a small part of one API
and nobody else using higher-level functions needs to be bothered.

Again, NNTP extensions make for a great test case.  There is no need
any developer should have to look at any existing core source code to
implement one, but I have yet to see a single newsreaders that was built
with the expectation that NNTP response codes weren’t all just some
pretty little predefined things that can all be bundled up into a single
header full of #define statement.

> The people who wrote that code were paid to write it. It is, quite 
> frankly, no better or worse an example of "professional software 
> development" than other examples I'm aware of.

It’s only the weakest definition of professionalism to make it about
cashing a paycheck.

> But to go so far as to presume 
> that the design is so horrid that the developers should have been fired 
> is a step too far: understanding the rationale behind the design 
> requires examining a lot more evidence in the absence of detailed design 
> notes (which, quite frankly, appear to be usually lacking in both 
> "professional" development environments and open source).

Too far or not, I don’t know what other solution you’d propose other
than to take away their paycheck; that is your sum definition of
professional, after all.  The point remains that *someone* is allowing
bad practices to ruin the project.  If it’s not the coders, it’s the
people who direct the coders.  Ideally, yes, they’d be open to external
prompts to change to better practices.  But, like I said, that doesn’t
seem to be the MO of most open source projects I’ve looked into.

So, no, nobody *has* to be fired.  But things have to change if you
expect improvements, and something has to be done about the people
who are both blocking the change and the people who allowed the system
to become what it has become.  Otherwise, you can’t blame any *actual*
professionals for not wanting to get involved with nightmare projects
(and certainly not to *volunteer* to clean up the messes of some
paid flunky).

-- 
"Well, here I am."
Jubal Early, Objects in Space, Firefly

Re: Nothing is more configurable than Thunderbird. ï»żï»ż
#156719
Author: Albert Porcan
Date: Thu, 10 Jul 2014 03:31
22 lines
2554 bytes
On Tue, 08 Jul 2014 12:19:55 +0000, Steve Crook wrote:

> You could take that analogy a step further and say a GUI is a lousy
> environment for a text-based application.  Why not give slrn a try and
> see how you get on?  Running under 'screen' I've got mutt and slrn at my
> fingertips and accessible from anywhere in the world.

I used to use tin and rn way long ago.

It's not so much the analogy that a MUA makes a lousy NNTP client as much
as when I tried Thunderbird, I was horrified (for reasons already stated)
why it thought like an MUA when it was supposed to be an NNTP client.

So, I had given up on Thunderbird.

While I think Pan stinks (mainly because it doesn't give notice of errors
until you look in the log file, which is too late and then, it compounds
its error by not saving to an outbox/sent folder), I'm an old man with
feeble fingers who has gotten use to its foibles.

I just wanted better commands for debugging these issues, since Pan didn't
provide any.
Re: Nothing is more configurable than Thunderbird. ï»żï»ż
#156840
Author: Ant
Date: Sat, 12 Jul 2014 20:36
37 lines
3503 bytes
On 7/9/2014 8:31 PM PT, Albert Porcan typed:

>> You could take that analogy a step further and say a GUI is a lousy
>> environment for a text-based application.  Why not give slrn a try and
>> see how you get on?  Running under 'screen' I've got mutt and slrn at my
>> fingertips and accessible from anywhere in the world.
>
> I used to use tin and rn way long ago.

I still use Tin, but mostly for text newsreaders via SSH2.


> So, I had given up on Thunderbird.

I use Mozilla's SeaMonkey's newsreader, based on Thunderbird, for GUI 
newsreaders to read and post texts.


> While I think Pan stinks (mainly because it doesn't give notice of errors
> until you look in the log file, which is too late and then, it compounds
> its error by not saving to an outbox/sent folder), I'm an old man with
> feeble fingers who has gotten use to its foibles.
>
> I just wanted better commands for debugging these issues, since Pan didn't
> provide any.
>
Yeah, Pan is like that. I hope you posted in Pan mailing list about your 
issues! The guys were wonderful when I needed help with my Pan issues. I 
only use Pan for binary stuff.
-- 
"In an ant colony, dew is a flood." --Afghan
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.
A song (i/wa)s playing on this computer: The Yogscast - Diggy Diggy Hole
Re: Nothing is more configurable than Thunderbird. ï»żï»ż
#156844
Author: Daniel
Date: Sun, 13 Jul 2014 10:06
27 lines
2559 bytes
On 13/07/14 06:36, Ant wrote:
> On 7/9/2014 8:31 PM PT, Albert Porcan typed:
>
>>> You could take that analogy a step further and say a GUI is a lousy
>>> environment for a text-based application.  Why not give slrn a try and
>>> see how you get on?  Running under 'screen' I've got mutt and slrn at my
>>> fingertips and accessible from anywhere in the world.
>>
>> I used to use tin and rn way long ago.
>
> I still use Tin, but mostly for text newsreaders via SSH2.
>
>
>> So, I had given up on Thunderbird.
>
> I use Mozilla's SeaMonkey's newsreader, based on Thunderbird, for GUI
> newsreaders to read and post texts.

Ant, you should remember that SeaMonkey Suite is not a Mozilla product, 
but is based on the old Mozilla Suite, which became Mozilla FireFox 
browser and Thunderbird mail & News reader.

SeaMonkey Suite is developed by the SeaMonkey Consortium, but Mozilla 
does provide some support, including hosting the distribution files.

Daniel
Re: My newsreader (X.EXE), has no .h file. ï»ż
#156859
Author: Anonymous
Date: Mon, 14 Jul 2014 14:27
43 lines
3238 bytes
 wrote:

> Darrin, Joshua,  The source code I wrote,
> for my newsreader (X.EXE), has no .h file; it's just:
> 
>   http://Jeff-Relf.Me/X.CPP  http://Jeff-Relf.Me/X.PNG
>   http://Jeff-Relf.Me/X.HTM  http://Jeff-Relf.Me/X.EXE
> 
> It's designed for Windows 8 only.
> It might run on Windows 7, if you install:
> 
>   Platform Update for Windows 7
>   http://support.microsoft.com/kb/2670838
> 
> Having only one source file, like that,
> makes it much easier to maintain.
> 
> There's no modularity.
> I use globals, goto, and "#define" liberally.
> I use Visual Studio 2013, which few people have.
> 
> X.EXE employs a custom "console".
> This example code outlines the basics of the console:
> 
>   http://Jeff-Relf.Me/DirectX.CPP,
>   Visual C++ 2013, is a small (one-file)
>   example of how to:
>   -- Use DirectX 11.1, Direct2D 1.1, DirectWrite, and Direct3D.
>   -- Replace DirectDraw/GDI+, etc.
>   -- Draw to a back buffer at a high fps (frames per second).
>   -- Draw properly scaled/smoothed .JPG files, hardware accelerated.
>   -- Draw to/from/within bitmaps.
>   -- Discover if a font exists or not ("FindFamilyName()").
>   -- Discover if a glyph exists in a font ("HasCharacter()").
>   -- Discover the width/height of a glyph ("GlyphWH()").
> 
>   Note: This code needs Windows 8 or later.
>   ScreenShot (4K/UHD): http://Jeff-Relf.Me/Glyph.JPG

 Now That's(x.exe) Cool!

 All in One! No .dll here, .ini there!
Re: How to debug reliability with Pan on these 7 free newservers?
#157024
Author: kensi
Date: Thu, 24 Jul 2014 05:01
41 lines
3212 bytes
On 06/07/2014 9:22 AM, Sir Gregory Hall, Esq. wrote:
> It's legalized theft by unethical liberals who
> believe they should get away with grand theft.
>
> Find all the people Octanews stole money from
> and total it up. Suddenly it becomes grand theft
> by virtue of the large sums involved.
>
> A mini Bernard Madoff scheme!

Inability to pay all your creditors when you *go out of business* is 
hardly "a mini Bernard Madoff scheme", k00k.

> But you liberals don't seem to worry about
> ethics or prosecution because most of the
> judiciary these days are liberals who actually
> condone such behavior because they engage in
> it themselves.

Erm, you might want to double check your math there ko0ky. It's the 
economic right wing that's pretty much uniformly responsible for this 
stuff. The meltdown and the first bailouts happened on Dubya's watch, 
lest you forget. And you show me a wealthy bankster, financier, CEO, or 
similar looter of pensions and/or the Treasury and I'll show you a 
dyed-in-the-wool conservative that votes straight-ticket R every two 
years and is in love with Nixon and Reagan.

> You college professors are like that. You
> happily a<MUSHROOM CLOUD>

Nice anti-higher-education screed. I wouldn't want to sail a small, 
unhygienic boat beneath any of the suspension bridges in GweegieWorld, 
though -- they're liable to fall right on someone's head, being designed 
by rank amateurs instead of Ph.D. civil engineers that did the freaking 
math and all.

-- 
"To explain the unknown by the known is a logical procedure; to explain
the known by the unknown is a form of theological lunacy." ~David Brooks
"I get fooled all the time by the constant hosiery parade
in here."                                                     ~Checkmate
Page 3 of 3 ‱ 125 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads