Re: Dynamic Casting with Generics: Type Erasure Problems
On 03/04/2011 01:05 PM, javax.swing.JSnarker wrote:
Assuming Google won't fix its broken-in-an-ever-changing-way news
service, there is one thing other newsservers can do to mitigate this
latest disaster, realistically accepting that Google can't be changed
nor can everyone be convinced not to use Google:
Simply this. If XOVER is requested for an article that lacks a
References: header but has an In-Reply-To: header, send the contents of
the latter as the References: for the purpose of the XOVER request.
The easiest way to fix it is on article injection. Since I'm guessing
Google Groups mangles Message-IDs when it sends out messages-as-emails
and it appears to be repairing them on reinjection, it should be able to
easily add on the References. Or, if you want a more brain-dead
approach, send out the NNTP-as-email with the original Message-ID tacked
onto the References, so that you can reuse that References on injection
without having to do any parsing.
But Google has shown no indication that it is willing to fix anything
related to Google Groups, which leaves the most palatable response
option being to convince other news servers to add In-Reply-To to the
overview format (not likely), or doing article rethreading on message
display (even less likely), or actually adding in a feature to allow
users to manually redo threading. But I digress...
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth