Thread View: news.software.readers
35 messages
35 total messages
Started by Chris P. Bacon
Sun, 26 Apr 2009 15:42
Signature filter in slrn not working
Author: Chris P. Bacon
Date: Sun, 26 Apr 2009 15:42
Date: Sun, 26 Apr 2009 15:42
40 lines
2547 bytes
2547 bytes
Regarding Message-ID: <49F308DF.DE520EB3@TheDeli.Sandwich> (as an example) I have slrn set to not show signatures, but I noticed that in the messages from this one particular poster, his signature shows up in slrn. I would rather not plonk him as he does make sense on occasion, but I don't need to see his monologous signature: The Grandmaster of the CyberFROG Come get your ticket to CyberFROG city Nay, Art thou decideth playeth ye simpleton games. *Some* of us know proper manners Very few. I used to take calls from *rank* noobs, Hamster isn't a newsreader it's a mistake! El-Gonzo Jackson FROGS both me and Chuckcar Master Juba was a black man imitating a white man imitating a black man Using my technical prowess and computer abilities to answer questions beyond the realm of understandability Regards Tony... Making usenet better for everyone everyday -------------------------------------- I am wondering if it has to do with the fact there is no spacer after the signature delimiter line. -- ************************************************* * CPB - Support the UIP http://improve-usenet.org * RLU 451587 *************************************************
Re: Signature filter in slrn not working
Author: Mike Yetto
Date: Sun, 26 Apr 2009 16:08
Date: Sun, 26 Apr 2009 16:08
34 lines
2582 bytes
2582 bytes
Bada bing Chris P. Bacon <cpb@snugglebutt.INVALID> bada bang: > Regarding Message-ID: <49F308DF.DE520EB3@TheDeli.Sandwich> (as an > example) > > I have slrn set to not show signatures, but I noticed that in > the messages from this one particular poster, his signature > shows up in slrn. > > I would rather not plonk him as he does make sense on occasion, > but I don't need to see his monologous signature: > > The Grandmaster of the CyberFROG > <snip shilled self-aggrandizement> > -------------------------------------- > I am wondering if it has to do with the fact there is no spacer after > the signature delimiter line. > > If it was not a properly delimited signature no newsreader would treat it as such. If you are not trying to spread the message in the signature (such as it is) why did you quote it in full. Had you supplied a Message-ID only it would have been possible to see what the real reason was. Mike "deli sandwich with bacon?" Yetto -- Pluralitas non est ponenda sine necessitas. - William of Ockham
Re: Signature filter in slrn not working
Author: Whiskers
Date: Sun, 26 Apr 2009 16:33
Date: Sun, 26 Apr 2009 16:33
23 lines
2036 bytes
2036 bytes
On 2009-04-26, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote: > Regarding Message-ID: <49F308DF.DE520EB3@TheDeli.Sandwich> (as an > example) > > I have slrn set to not show signatures, but I noticed that in > the messages from this one particular poster, his signature > shows up in slrn. [...] > I am wondering if it has to do with the fact there is no spacer after > the signature delimiter line. Yes. No harm in asking him to repair his sig though. Try posting an article with his nic and email address in the Subject header to raise the matter with him. But some posting software breaks the sig dash. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: Signature filter in slrn not working
Author: Beauregard T. Shagnasty
Date: Sun, 26 Apr 2009 18:10
Date: Sun, 26 Apr 2009 18:10
12 lines
2027 bytes
2027 bytes
Whiskers wrote: > Yes. No harm in asking him to repair his sig though. Try posting an > article with his nic and email address in the Subject header to raise > the matter with him. That's Tony the Sandwich, and no, he will not repair his sig, nor alter his top-posting. And as he rarely has anything worthw^W^W^W^W -- -bts -Friends don't let friends drive Windows
Re: Signature filter in slrn not working
Author: Chris P. Bacon
Date: Sun, 26 Apr 2009 20:04
Date: Sun, 26 Apr 2009 20:04
18 lines
2135 bytes
2135 bytes
On 2009-04-26, Mike Yetto <myetto1@nycap.invalid> wrote: > If you are not trying to spread the message in the signature > (such as it is) why did you quote it in full. Had you supplied a > Message-ID only it would have been possible to see what the real > reason was. > > Mike "deli sandwich with bacon?" Yetto Sorry, that wasn't my intention. I was just trying to show people what the sig looked like without having to lookup the MID. But still, why would slrn not filter out the signature? Just curious. -- ************************************************* * CPB - Support the UIP http://improve-usenet.org * RLU 451587 *************************************************
Re: Signature filter in slrn not working
Author: Mike Yetto
Date: Sun, 26 Apr 2009 20:35
Date: Sun, 26 Apr 2009 20:35
23 lines
2606 bytes
2606 bytes
Bada bing Chris P. Bacon <cpb@snugglebutt.INVALID> bada bang: > On 2009-04-26, Mike Yetto <myetto1@nycap.invalid> wrote: >> If you are not trying to spread the message in the signature >> (such as it is) why did you quote it in full. Had you supplied a >> Message-ID only it would have been possible to see what the real >> reason was. >> >> Mike "deli sandwich with bacon?" Yetto > > Sorry, that wasn't my intention. I was just trying to show people > what the sig looked like without having to lookup the MID. But still, > why would slrn not filter out the signature? Just curious. > > Since the only part you quoted doesn't contain the answer, we can only guess. But my guess is that there was no sig delimiter to be found, therefore no sig. Mike "destroy the data, then analyze it" Yetto -- Pluralitas non est ponenda sine necessitas. - William of Ockham
Re: Signature filter in slrn not working
Author: Beauregard T. Shagnasty
Date: Sun, 26 Apr 2009 21:26
Date: Sun, 26 Apr 2009 21:26
22 lines
2495 bytes
2495 bytes
Mike Yetto wrote: > Bada bing Chris P. Bacon <cpb@snugglebutt.INVALID> bada bang: >> On 2009-04-26, Mike Yetto <myetto1@nycap.invalid> wrote: >> Sorry, that wasn't my intention. I was just trying to show people >> what the sig looked like without having to lookup the MID. But >> still, why would slrn not filter out the signature? Just curious. > > Since the only part you quoted doesn't contain the answer, we can > only guess. But my guess is that there was no sig delimiter to be > found, therefore no sig. Tony the Sandwich posts using: > X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) and there is a sig delimiter of "--" but no space with it. Dialog trims it fine. <g> -- -bts -Friends don't let friends drive Windows
Re: Signature filter in slrn not working
Author: Mike Yetto
Date: Sun, 26 Apr 2009 21:43
Date: Sun, 26 Apr 2009 21:43
30 lines
2930 bytes
2930 bytes
Bada bing Beauregard T. Shagnasty <a.nony.mous@example.invalid> bada bang: > Mike Yetto wrote: > >> Bada bing Chris P. Bacon <cpb@snugglebutt.INVALID> bada bang: >>> On 2009-04-26, Mike Yetto <myetto1@nycap.invalid> wrote: >>> Sorry, that wasn't my intention. I was just trying to show people >>> what the sig looked like without having to lookup the MID. But >>> still, why would slrn not filter out the signature? Just curious. >> >> Since the only part you quoted doesn't contain the answer, we can >> only guess. But my guess is that there was no sig delimiter to be >> found, therefore no sig. > > Tony the Sandwich posts using: >> X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) > > and there is a sig delimiter of "--" but no space with it. > > Dialog trims it fine. <g> > Many newsreaders can be set to recognize that as a delimiter. As a matter of fact slrn and Xnews (to name two) can even be set to recognize "Sig to follow, please recognize... " as a valid delimiter. However, that isn't exactly optimal. Mike "really, a sig follows the next line" Yetto -- Pluralitas non est ponenda sine necessitas. - William of Ockham
Re: Signature filter in slrn not working
Author: andrew
Date: Sun, 26 Apr 2009 22:58
Date: Sun, 26 Apr 2009 22:58
18 lines
1507 bytes
1507 bytes
On 2009-04-26, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote: > Regarding Message-ID: <49F308DF.DE520EB3@TheDeli.Sandwich> (as an > example) > > I have slrn set to not show signatures, but I noticed that in > the messages from this one particular poster, his signature > shows up in slrn. You could add the following to your .slrnrc file: % Define regular expression used to detect proper signature strip_sig_regexp "^-- ?$" Andrew -- Do you think that's air you're breathing?
Re: Signature filter in slrn not working
Author: Chris P. Bacon
Date: Sun, 26 Apr 2009 23:28
Date: Sun, 26 Apr 2009 23:28
25 lines
2220 bytes
2220 bytes
On 2009-04-26, andrew <andrew@skamandros.invalid> wrote: > On 2009-04-26, Chris P. Bacon <cpb@snugglebutt.INVALID> wrote: > >> Regarding Message-ID: <49F308DF.DE520EB3@TheDeli.Sandwich> (as an >> example) >> >> I have slrn set to not show signatures, but I noticed that in >> the messages from this one particular poster, his signature >> shows up in slrn. > > You could add the following to your .slrnrc file: > > % Define regular expression used to detect proper signature > strip_sig_regexp "^-- ?$" > > Andrew > Thanks Andrew. I'll be using my newly installed emacs to edit my .slrnrc -- ************************************************* * CPB - Support the UIP http://improve-usenet.org * RLU 451587 *************************************************
X.ZIP kills 4 kinds of sig lines.
Author: _
Date: Mon, 27 Apr 2009 01:33
Date: Mon, 27 Apr 2009 01:33
13 lines
1587 bytes
1587 bytes
Re: Tony's "--" sig, ( news:49F308DF.DE520EB3@TheDeli.Sandwich ) Andrew told Chris P. Bacon: “ % Define regular expression used to detect proper signature strip_sig_regexp "^-- ?$" ”. X.ZIP kills 4 kinds of sig lines: "- -- " // the whole line, "^- -- $". "--" "-- " "-----BEGIN PGP SIGNA" // any line that starts this way. For example, if the "-- " sig line was used, I see only “ "-- " ” ( with the ascii quotes ) and nothing more.
Re: Signature filter in slrn not working
Author: Mike Dee
Date: Mon, 27 Apr 2009 01:52
Date: Mon, 27 Apr 2009 01:52
19 lines
1767 bytes
1767 bytes
"Chris P. Bacon" <cpb@snugglebutt.INVALID> wrote: > Regarding Message-ID: <49F308DF.DE520EB3@TheDeli.Sandwich> (as an > example) [...] > I would rather not plonk him as he does make sense on occasion, That would be a very rare occasion. [...] > I am wondering if it has to do with the fact there is no spacer > after the signature delimiter line. Yes, as answered by Whiskers. -- dee L'homme est, je vous l'avoue, un méchant animal. Ib. 5
Re: X.ZIP kills 4 kinds of sig lines.
Author: andrew
Date: Mon, 27 Apr 2009 03:33
Date: Mon, 27 Apr 2009 03:33
19 lines
1887 bytes
1887 bytes
On 2009-04-27, _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> wrote: > Re: Tony's "--" sig, ( news:49F308DF.DE520EB3@TheDeli.Sandwich ) > Andrew told Chris P. Bacon: > “ % Define regular expression used to detect proper signature > strip_sig_regexp "^-- ?$" ”. > > X.ZIP kills 4 kinds of sig lines: I guess the purpose of the slrn setting is to _detect_ signatures, the 'killing' of the sigs is a different setting in .slrnrc. I personally use a handful of sig settings here simply so the editor I use will strip away even the bad sigs. There is always a bit of fun in sigs that I would hate to miss :-). Andrew -- Do you think that's air you're breathing?
How would slrn “ kill ” the 4 types of sigs I mentioned ?
Author: _
Date: Mon, 27 Apr 2009 08:57
Date: Mon, 27 Apr 2009 08:57
2 lines
1347 bytes
1347 bytes
I hate sigs, but I see them when I dump a post, raw and unFormatted. How would slrn “ kill ” the 4 types of sigs I mentioned ?
Re: How would slrn “ kill ” the 4 types of sigs I mentioned ?
Author: andrew
Date: Mon, 27 Apr 2009 10:05
Date: Mon, 27 Apr 2009 10:05
37 lines
2704 bytes
2704 bytes
On 2009-04-27, _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> wrote: > I hate sigs, but I see them when I dump a post, raw and unFormatted. > How would slrn “ kill ” the 4 types of sigs I mentioned ? I do not count my self an expert at the use of slrn but I can answer as a keen student nevertheless :-). In the first place there is a setting that decides whether a signature is hidden or not. To hide a signature you would use the following in .slrnrc: #v+ % If non-zero, hide signature in articles. set hide_signature 1 #v- Then there is the option to decide exactly what constitutes a signature. This can be specified by strip_sig_regexp in the .slrnrc. 5 different sets of regexps can be used here to match whatever signature delimeter you wish to recognise. My own setting is simple: #v+ % Define regular expression used to detect proper signature strip_sig_regexp "^-- ?$" "^- -- ?$" #v- The first takes care of both well constructed signatures as well as the sigs with no space after '--'. The second is one I constructed to cover an odd sig routinely generated by the OpenPGP message-signing process. So I guess that your answer is that the signatures you mention would be matched with a skilled use and knowledge of regexp x 5 :-). Andrew -- Do you think that's air you're breathing?
Re: X.ZIP kills 4 kinds of sig lines.
Author: andrew
Date: Mon, 27 Apr 2009 10:34
Date: Mon, 27 Apr 2009 10:34
30 lines
1896 bytes
1896 bytes
On 2009-04-27, _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> wrote: > X.ZIP kills 4 kinds of sig lines: > "- -- " // the whole line, "^- -- $". > "--" > "-- " > "-----BEGIN PGP SIGNA" // any line that starts this way. But to prove that the X.ZIP article threading has begun to work away at me I shall answer you question of 3 posts forward in this post :-). PGP sigs can be hidden by adding the following to .slrnrc: #v+ % If non-zero, hide PGP signature in articles. set hide_pgpsignature 1 #v- The sigs "- -- ", "--" and "-- " can be identified and later hidden if required with: #v+ % Define regular expression used to detect proper signature strip_sig_regexp "^-- ?$" "^- -- $" #v- Andrew -- Do you think that's air you're breathing?
Re: X.ZIP kills 4 kinds of sig lines.
Author: Top
Date: Mon, 27 Apr 2009 12:22
Date: Mon, 27 Apr 2009 12:22
37 lines
1959 bytes
1959 bytes
andrew explained : > On 2009-04-27, _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> > wrote: > >> X.ZIP kills 4 kinds of sig lines: >> "- -- " // the whole line, "^- -- $". >> "--" >> "-- " >> "-----BEGIN PGP SIGNA" // any line that starts this way. > > But to prove that the X.ZIP article threading has begun to work away at > me I shall answer you question of 3 posts forward in this post :-). > > PGP sigs can be hidden by adding the following to .slrnrc: > > #v+ > % If non-zero, hide PGP signature in articles. > set hide_pgpsignature 1 > #v- > > The sigs "- -- ", "--" and "-- " can be identified and later hidden if > required with: > > #v+ > % Define regular expression used to detect proper signature > strip_sig_regexp "^-- ?$" "^- -- $" > #v- > > Andrew Now to hide those that reply to the idiot? I hope not, at least not totally. Top
Re: X.ZIP kills 4 kinds of sig lines.
Author: Sn!pe
Date: Mon, 27 Apr 2009 13:01
Date: Mon, 27 Apr 2009 13:01
13 lines
2541 bytes
2541 bytes
Top <top@neo.rr.invalid> wrote:
> Now to hide those that reply to the idiot?
>
> I hope not, at least not totally.
s/idiot/troll
--
Sn!pe ^ĂŹ^ <http://snipeco.ath.cx/>
Gordon, my pet rock, has signed the petition.
<http://petitions.number10.gov.uk/please-go/>
{ Ska•Man andrew<andrew@skamandros.invalid }
Author: _
Date: Tue, 28 Apr 2009 02:24
Date: Tue, 28 Apr 2009 02:24
32 lines
2445 bytes
2445 bytes
You're a good student of slrn, 40tude Dialog and X.ZIP ( ha ha ),
so I'm giving you the name “ Ska•Man ”, using this setting:
{ Ska•Man andrew<andrew@skamandros.invalid }
and I put you in my “ Watch ” list.
If you also used “ From: andrew skamandros <skamandros@gMail.COM> ”,
for example, then I'd consoldate your nyms using this setting:
{ Ska•Man andrew<andrew@skamandros.invalid
andrew•skamandros<skamandros@gMail.COM }
You noted:
“ X.ZIP article threading has begun to work away at me ”.
Good, there are better ways to sort than “ by thread ”.
There are 7 billion people on this planet,
making babies ( a.k.a. random experiments ) as fast as they can.
If I'm lucky, I'll help one of them.
I'd change Google Groups and microSoft if I could, of course.
You showed:
“ % If non-zero, hide PGP signature in articles.
set hide_pgpsignature 1 ”
“ % Define regular expression used to detect proper signature
strip_sig_regexp "^-- ?$" "^- -- $" ”
“ 5 different sets of regexps can be used ”.
Interesting, thank you for that.
RegEx and slrn are for “ power users ”, the select few.
X.ZIP is more powerful, but only I can modify it.
Re: Signature filter in slrn not working
Author: Peter J Ross
Date: Tue, 28 Apr 2009 20:12
Date: Tue, 28 Apr 2009 20:12
45 lines
3268 bytes
3268 bytes
In news.software.readers on Sun, 26 Apr 2009 17:43:22 -0400, Mike Yetto <myetto1@nycap.invalid> wrote: > Bada bing Beauregard T. Shagnasty <a.nony.mous@example.invalid> bada bang: >> Mike Yetto wrote: >> >>> Bada bing Chris P. Bacon <cpb@snugglebutt.INVALID> bada bang: >>>> On 2009-04-26, Mike Yetto <myetto1@nycap.invalid> wrote: >>>> Sorry, that wasn't my intention. I was just trying to show people >>>> what the sig looked like without having to lookup the MID. But >>>> still, why would slrn not filter out the signature? Just curious. >>> >>> Since the only part you quoted doesn't contain the answer, we can >>> only guess. But my guess is that there was no sig delimiter to be >>> found, therefore no sig. >> >> Tony the Sandwich posts using: >>> X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) >> >> and there is a sig delimiter of "--" but no space with it. >> >> Dialog trims it fine. <g> >> > > Many newsreaders can be set to recognize that as a delimiter. As > a matter of fact slrn and Xnews (to name two) can even be set to > recognize "Sig to follow, please recognize... " as a valid > delimiter. However, that isn't exactly optimal. slrn can certainly be configured to recognise "The Grandmaster of the CyberFROG" as a sig delimiter. Note that this would be case-sensitive by default, unlike slrn's scorefile rules. > Mike "really, a sig follows the next line" Yetto That was a sign-off string. PJ "Here follow some useful links which can be read by using '\' in slrn" R :-) -- slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: X.ZIP kills 4 kinds of sig lines.
Author: Peter J Ross
Date: Tue, 28 Apr 2009 20:23
Date: Tue, 28 Apr 2009 20:23
41 lines
2634 bytes
2634 bytes
In news.software.readers on Mon, 27 Apr 2009 01:33:49 +0000 (UTC), _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> wrote: > Re: Tony's "--" sig, ( news:49F308DF.DE520EB3@TheDeli.Sandwich ) > Andrew told Chris P. Bacon: > “ % Define regular expression used to detect proper signature > strip_sig_regexp "^-- ?$" ”. > > X.ZIP kills 4 kinds of sig lines: > "- -- " // the whole line, "^- -- $". Easy to set up in slrn. > "--" Easy to set up in slrn. > "-- " Default in slrn. > "-----BEGIN PGP SIGNA" // any line that starts this way. Easy to set up in slrn, but not necessary if the hide_pgpsignature configuration variable is set to 1. > For example, if the "-- " sig line was used, > I see only “ "-- " ” ( with the ascii quotes ) and nothing more. If you don't mind, I think I'll continue to use a newsreader that allows me as much flexibility wrt signatures as yours without having to patch the code and recompile every time I want to see or not see something. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
xNews can't touch this, slrn can't touch this, nor can 40tude Dialog.
Author: _
Date: Wed, 29 Apr 2009 01:22
Date: Wed, 29 Apr 2009 01:22
53 lines
3504 bytes
3504 bytes
You told me: “ If you don't mind, I think I'll continue to use a newsreader that allows me as much flexibility wrt signatures as yours without having to patch the code and recompile every time I want to see or not see something. ”. Visual C++ is more powerful than RegEx, more elite. X.ZIP is my favorite toy precisely because I often compile it, not despite that fact. For example, just today, I changed how it reports on “ Rdr ” ( News.Software.Readers ) when I middle-click it. Right now, considering no more than the 30 most-recent posts per nym, “ Ska•Man ” ( a.k.a. andrew<andrew@skamandros.invalid ) has the highest xRank ( like pageRank, each nym is a virtual usenetPage ). Ska•Man posts about once per day, roughly. half of his last 30 posts were “ replies ” to me ( i.e. direct or indirect replies, up to 5 levels away ). Next comes “ Rom<-@-.invalid ” who posts about twice per day. 14 of his last 30 posts, nearly half, were replies to me. Third is “ Indi<indi@16x108.local ”, posting twice a day, with 12 replies to me, close to half. I come in fourth, posting 3 times a day. “ Mike•Dee<mikedee@emteedee.invalid ” is fifth, poting once per day. His XNews is so borked, he only “ replied ” to me twice. He publicly ridicules me, saying: “ Score:: -9999 Message-ID: jeff_relf References: jeff_relf Clears 99.99% of Oddly posted subject headers and fubar text ”. X.ZIP uses a list of Message-IDs to determine what to download next, swapping servers on-the-fly; all article numbers are 64 bit. xNews can't touch that, slrn can't touch that, nor can 40tude Dialog. “ Whiskers<catwheezel@operamail.com ” is sixth, posting once per day, 9 of his last 30 posts were replies to me. “ badgolferman<REMOVETHISbadgolferman@gmail.com ” is seventh, he posts once per day but he's only made 6 posts in the last month. “ Chris•P.•Bacon<cpb@snugglebutt.INVALID ” come in at #8, posting twice a day. He made 14 posts. You, “ Peter•J•Ross<pjr@example.invalid ”, are at #9. you averaged about one post per day, replying to me 4 times. You've made 27 posts here over the last month or so.
Re: [OT][JR] silly comparison
Author: »Q«
Date: Wed, 29 Apr 2009 02:14
Date: Wed, 29 Apr 2009 02:14
11 lines
1568 bytes
1568 bytes
On Wed, 29 Apr 2009 01:22:15 +0000 (UTC) _@Jeff_Relf.Seattle.inValid wrote: > Visual C++ is more powerful than RegEx, more elite. This is nonsense, like saying the Linux kernel is more powerful than the Calculus. It's clear that you don't know what Visual C++ is or don't know what regular expressions are or both. What you mean by "elite" in this context is unclear, but I'm sure it's just as wrong.
Peter Ross' attribution line should have whatever comes after “ From: ”.
Author: _
Date: Wed, 29 Apr 2009 04:17
Date: Wed, 29 Apr 2009 04:17
118 lines
6253 bytes
6253 bytes
Peter Ross' attribution line should have whatever comes after “ From: ”.
That's the fix, the fix he failed to mention to JED.
I often write “ regular expressions ”, including inside code.
Visual C++ solutions can be, and usually are,
more powerful than the regEx you're confined to.
How can you, Mr. »Q«, honestly claim that I
“ don't know what Visual C++ is ” ?
>From my “ www.JeffRelf.F-M.FM/X.CPP ”,
here's a sample of some VC++ code I recently changed to add
a “ StaticRank ” ( instead of xRank ) to sort “ watched ” nyms.
“ StaticRank ” was added so that a nym's “ watched ” status,
as specified by the X.ZIP user, no longer biases a nyms xRank.
I did this so I could report-out pure xRanks, unBiased by the user.
“ Sort by thread ” is lame, I assert; better to
list posts from least-watched to most-watched, grouped by nym.
For that, each post has:
A. The catagory it's in, “ Top·0, Middle·1, Bottom·2 ”.
“ Top ” has replies to the user,
“ Bottom ” has posts the user made “ ― the rest are in “ Middle ”.
B. Information about the nym that made the post, to wit:
1. His count of unRead posts, “ cnt·unReads ”.
2. His “ StaticRank ”: a higher number puts him higher in the list.
3. His xRank ( a 64 bit float ), based on who replied to him.
4. How long ago he last posted, “ ageYoungest ”.
( There's also an ageOldest, used for reporting, not sorting )
C. How old the post is, “ AgeDays ” ( a 32 bit float ).
D. A boolean, to know if the post was read or not, “ wasRead ”.
( “ nonWatched ” nyms are muffled, so that no more than
the 3 most-recent are marked as “ unRead ”.
No nym has more than 30 “ wasRead ” posts, not even mine. )
// Posts are to be listed from least-watched to most-watched,
// grouped by nym. Lower numbers ( e.g. larger negative numbers )
// come first, at the top of the list.
// “ Case ” is the post that's being scored;
// “ Vs ” is the post Case is being compared against.
inline double Cmp( LsP Case, LsP Vs ) {
// There are 3 Catagories ( Cat ): “ Top·0, Middle·1, Bottom·2 ”.
// “ Top ” has replies to me, “ Bottom ” has posts I made;
// the rest are in “ Middle ”.
if ( Case->Cat != Vs->Cat )
// “ Case ” goes up the list ( e.g. has a larger negative number )
// when “ Vs ” has a higher “ Cat ”.
return Case->Cat - Vs->Cat ;
NymT & caseNym = * Case->Nym, & vsNym = * Vs->Nym ;
if ( Case->Cat == Cat_Mid && & caseNym != & vsNym ) {
// Both Case and Vs are in Cat_Mid and
// they don't have the same nym.
if ( !vsNym.cnt·unReads != !caseNym.cnt·unReads )
// Case goes up the list when
// caseNym has unReads and vsNym doesn't.
return !caseNym.cnt·unReads - !vsNym.cnt·unReads ;
if ( caseNym.StaticRank != vsNym.StaticRank )
// Case goes up the list when caseNym has a higher StaticRank.
return vsNym.StaticRank - caseNym.StaticRank ;
if ( caseNym.xRank == vsNym.xRank )
// caseNym and vsNym have the same xRank.
// Case goes up the list when vsNym hasn't posted as recently.
// This groups posts by nym because
// no two nyms have the same xRank And the same ageYoungest.
// ageYoungest is a float with a one second resolution.
return caseNym.ageYoungest - vsNym.ageYoungest ;
// Case goes up when caseNym has a higher xRank.
return vsNym.xRank - caseNym.xRank ;
}
if ( Case->Cat == Cat_Bot )
// Case and Vs are in Cat_Bot ( i.e. they're posts I've made ).
// Sort by oldest first,
// so my most recent post is at the very bottom.
// Case goes up when it's older.
return Vs->AgeDays - Case->AgeDays ;
// Case and Vs either “ have the same nym and are in Cat_Mid ”
// or they're both in Cat_Top, possibly with differnt nyms.
if ( Case->wasRead != Vs->wasRead )
// Both posts are in Cat_Mid, with the same nym, because
// Cat_Top has no wasRead posts.
// Case goes up when it's unRead and Vs isn't.
return Case->wasRead - Vs->wasRead ;
// Sort by youngest first, Case goes up when Vs is older.
return Case->AgeDays - Vs->AgeDays ; }
// “ Quick Sorts ” posts using Cmp() ( above ).
PostsByMostWatched( LsA _B, LsA _E ) { if ( _E <= _B ) return;
LsA BB = _B - 1, EE = _E + 1 ; LsP Std = _B [ ( _E - _B ) / 2 ] ;
LOOP {
while ( Cmp( * ++ BB , Std ) < 0. );
while ( EE >= BB && Cmp( * -- EE , Std ) > 0. );
if ( EE <= BB ) break; LsP T = * BB ; * BB = * EE ; * EE = T ; }
PostsByMostWatched( _B, EE < _E ? EE : -- EE );
PostsByMostWatched( EE + 1, _E ); }
Posts are to be listed from most-watched to least-watched.
Author: _
Date: Wed, 29 Apr 2009 04:23
Date: Wed, 29 Apr 2009 04:23
3 lines
1405 bytes
1405 bytes
Oops, I meant “ Posts are to be listed from most-watched to least-watched ”, not least-to-most.
Re: [OT] [JR] Toys"R" U; Newsreaders "R" Us
Author: Rom
Date: Wed, 29 Apr 2009 04:26
Date: Wed, 29 Apr 2009 04:26
36 lines
2339 bytes
2339 bytes
On Wed, 29 Apr 2009 01:22:15 +0000 (UTC), _@Jeff_Relf.Seattle.inValid wrote: > You told me: That sort of intro is more suitable for email communication where it's private or one-to-one but not for news which is public or one-to many. Replace "YouÂ" with the name and/or email address from the From header of the post you're replying to. > “ If you don't mind, I think I'll continue to use a newsreader that > allows me as much flexibility wrt signatures as yours without having Your quoting is no better than from OE/WM replying to posts using QP that "fail to >quote lines" and say you "hate" in: <_@Jeff_Relf.Seattle.2009_Apr27.4.58am.ij> Add you/your toy to the list of whose you say "messed up". > X.ZIP is my favorite toy precisely because I often compile it, Can you compile your toy into a real usable newsreader for real users so it could be used and appraised by real normal users on Windows (and without having to install Visual C++, etc.)? > Next comes “ Rom<-@-.invalid ” You and your toy toyed with that. My posts don't have "Rom<-@-.invalid" in the From. > 14 of his last 30 posts, nearly half, were replies to me. You and your toy toyed with the count. A dozen != a "toy dozen". -- Rom
Re: [OT][JR] silly comparison
Author: »Q«
Date: Wed, 29 Apr 2009 04:47
Date: Wed, 29 Apr 2009 04:47
32 lines
2450 bytes
2450 bytes
In <news:_@Jeff_Relf.Seattle.2009_Apr28.9.17pm.Md>,
_@Jeff_Relf.Seattle.inValid wrote:
> In <news:20090428211453.52d40245@bellgrove.remarqs.net>,
> »Q« <boxcars@gmx.net> wrote:
>
> > On Wed, 29 Apr 2009 01:22:15 +0000 (UTC)
> > _@Jeff_Relf.Seattle.inValid wrote:
> >
> > > Visual C++ is more powerful than RegEx, more elite.
> >
> > This is nonsense, like saying the Linux kernel is more powerful than
> > the Calculus. It's clear that you don't know what Visual C++ is or
> > don't know what regular expressions are or both.
> How can you, Mr. »Q«, honestly claim that I
> “ don't know what Visual C++ is ” ?
I didn't, and now we can add the logical OR to the list of things you
don't understand. Since you don't look at the post you're replying to
or the context of any post, you're almost certain to be clueless about
why I'd say you don't understand OR at this point; nevertheless, it's
clear to people who *do* follow the context that it's true.
Just for fun, here's something else you're unlikely to understand:
it's possible for someone to make use of things even without knowing
what they are.
--
»Q«
Kleeneness is next to Gödelness.
I'll never be as lazy as “ Rom<-@-.invalid ”, never.
Author: _
Date: Wed, 29 Apr 2009 06:04
Date: Wed, 29 Apr 2009 06:04
50 lines
3665 bytes
3665 bytes
I'm keeping the UTF-8 encoded “ hard space ” at the start of my posts
because it's a “ heads up ”, should UTF-8 not be supported.
It's like the codePage 65001 “ signature ” ( a.k.a. magic number ).
Outlook failing to >quote lines is only a problem
when the poster is too lazy to “”quote.
I'm not too lazy, I paraphrase and “”quote sparingly.
I'll never be as lazy as you, Rom, never ― so stop asking.
I know you'll never be a “ clean ” as I am, so I never ask.
autoGenerated garbage swamps original content.
Attribution lines are redundant, a really bad way to start a post;
your header already has the “ heritage ”, like this, oldest first:
“ Chris•P.•Bacon gt1vdb$2mk$1@news.eternal-september.org
Ska•Man 20090427085717.239@skamandros.andrews-corner.org
Jeff•Relf _@Jeff_Relf.Seattle.2009_Apr26.6.33pm.DU
Peter•J•Ross slrngvepd7.2o7.pjr@pjr.gotdns.org
Jeff•Relf _@Jeff_Relf.Seattle.2009_Apr28.6.22pm.Ci
Rom<-@-.invalid auzf3podyay9$.1r074an4n44b6$.dlg@40tude.net
News.Software.Readers
╳ 23 Minutes, 40tude Individual.NET, NoGG Apr 28, 2009, 9.26 pm ”.
You asked me:
“ Can you compile your toy into a real usable newsreader for real users
so it could be used and appraised by real normal users on Windows
( and without having to install Visual C++, etc. ) ? ”.
X.ZIP is for me-and-only-me, not “ normal users ”.
I encourage you to write something like X.ZIP, for yourself.
Maybe you can't do it, but someone else might, eventually.
There are 7 billion horny people on this planet.
I'd love to fix Google Groups and microSoft, who wouldn't ?
Fact is, I'd be lucky to help one person, once in my life.
X.ZIP uses “ Rom<-@-.invalid ” instead of “ Rom <-@-.invalid> ”
because I don't want any spaces in there, and the final “ > ”
is a waste, useless.
At the time I posted the report ( listing your xRank ),
14 of or your last 30 posts were “ replies ” to me.
I didn't “ toy with the count ”.
By “ Reply ”, I mean direct and indirect, up to 5 levels away.
This information was gathered by looking for “ Jeff_Relf ”
in the last 5 Message-IDs in the “ References: ” line.
Q. Can 40tude Dialog create a report like that ?
A. No, it can't.
In Dialog, “ ? ” means “ nonGreedy ”; in slrn, it means “ * ”.
Author: _
Date: Wed, 29 Apr 2009 07:07
Date: Wed, 29 Apr 2009 07:07
54 lines
3592 bytes
3592 bytes
IÂ know RegEx pretty well, thank you very much.
I don't know all variants, of course.
In Dialog, “ ? ” means “ nonGreedy ”; in slrn, it means “ * ”.
Speaking of * and ? variants, RFC-3977 ( the NNTP RFC )
allows wildMat searches ( e.g. xPat ) on UTF-8 strings in a header:
“ "?" matches exactly one character (which may be more than one octet).
"*" matches zero or more characters.
It can match an empty string, but it cannot match
a subsequence of a UTF-8 sequence that is
not aligned to the character boundaries. ”.
Tools.ietf.ORG/html/rfc3977
Yes, NNTP allows UTF-8 newsGroup names;
technically, a msgID could have UTF-8, but no one supports it.
Proper UTF-8 produces a unique string
of bytes for each Unicode character. See:
www.wikiPedia.ORG/wiki/UTF-8#Disadvantages
Straying even more off track,
X.ZIP's xRanking/report of nyms in News.Software.Readers
has changed in the last 6 hours.
Also, I've since combined/reNamed Mike Dee's nyms, like this:
{ Mr•xNews
Mike•Dee<mikedee@emteedee.invalid
Mike•Dee<emteedee@invalid.invalid
Mike•Dee<emteedee@emteedee.invalid }
1. Ska•Man ( a.k.a. Andrew ) 1▼15▲
// The “ 1▼15▲ ” means he posts about once per day, roughly.
// 15 of his posts were “ Replies ” to me, where “ Jeff_Relf ”
// was in the last 5 Message-IDs of the “ References: ” line.
// “ 1▼15▲ == 1▼15▲30 ”, because all nyms are limited to
// their 30 most-recent and I don't want to see “ 30 ” everywhere.
2. Jeff•Relf 7▼▲, // I'm now averaging 7 posts per day, Yikes !
3. Rom<-@-.invalid 2â–Ľ14â–˛,
4. Indi<indi@16x108.local 2â–Ľ12â–˛29
5. Whiskers<catwheezel@operamail.com 1â–Ľ9â–˛,
6. Peter•J•Ross<pjr@example.invalid 1▼4▲27
7. Mr•xNews ( a.k.a. Mike•Dee ) 1▼2▲ // He sort of plonked me.
8. Chris•P.•Bacon<cpb@snugglebutt.INVALID 2▼▲14, // no replies to me.
9. »Q«<boxcars@gmx.net 1▼14▲
10. Eggs•Zachtly<re@d.thereplyto.header 1▼▲18 // He plonked me ?
11. Steven•DuBois<sdubois92@gmail.com 1▼▲6
12. XS11E<xs11e@mailinator.com 1â–Ľâ–˛18 // He plonked me ?
13. badgolferman<REMOVETHISbadgolferman@gmail.com 1â–Ľâ–˛6
Re: [OT][JR] silly comparison
Author: »Q«
Date: Wed, 29 Apr 2009 09:21
Date: Wed, 29 Apr 2009 09:21
23 lines
1879 bytes
1879 bytes
In <news:_@Jeff_Relf.Seattle.2009_Apr29.0.07am.P1>,
_@Jeff_Relf.Seattle.inValid wrote:
> IÂ know RegEx pretty well, thank you very much.
> I don't know all variants, of course.
> In Dialog, “ ? ” means “ nonGreedy ”; in slrn, it means “ * ”.
That wasn't the kind of cluelessness I was talking about, but it's
stunning nonetheless.
> RFC-3977 ( the NNTP RFC )
[snip]
> technically, a msgID could have UTF-8
In Relf-world, what's meant by "A message-id MUST NOT contain octets
other than printable US-ASCII characters."? Technically, of course.
--
»Q«
Kleeneness is next to Gödelness.
In »Q«'s world, RegEx, RFC-3977, slrn, Dialog and X.ZIP are Off-Topic.
Author: _
Date: Wed, 29 Apr 2009 19:17
Date: Wed, 29 Apr 2009 19:17
1 lines
1373 bytes
1373 bytes
In »Q«'s world, RegEx, RFC-3977, slrn, Dialog and X.ZIP are Off-Topic.
Re: [OT][JR] nothing at all (was: Relf's confusion about regular expressions &c.)
Author: »Q«
Date: Wed, 29 Apr 2009 22:21
Date: Wed, 29 Apr 2009 22:21
14 lines
1744 bytes
1744 bytes
In <news:_@Jeff_Relf.Seattle.2009_Apr29.0.16pm.no>,
_@Jeff_Relf.Seattle.inValid wrote:
> In »Q«'s world, RegEx, RFC-3977, slrn, Dialog and X.ZIP are Off-Topic.
In the post I marked OT, there wasn't anything relevant to
newsreaders. In some other contexts, regular expressions and RFC 3977
are certainly on-topic here, and I'm sorry you became confused on that
point.
--
»Q«
Kleeneness is next to Gödelness.
Re: Peter Ross' attribution line should have whatever comes after “ From: ”.
Author: Peter J Ross
Date: Thu, 30 Apr 2009 18:07
Date: Thu, 30 Apr 2009 18:07
18 lines
2279 bytes
2279 bytes
In news.software.readers on Wed, 29 Apr 2009 04:17:25 +0000 (UTC), _@Jeff_Relf.Seattle.inValid wrote: > Peter Ross' attribution line should have whatever comes after “ From: ”. > That's the fix, the fix he failed to mention to JED. That's not a fix at all, since it reduces the configurability of the attribution line. JED hopes to find time to investigate at the weekend. Meanwhile, a vim macro will do the trick for me. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Dodgy sig separators & slrn. (was: X.ZIP kills 4 kinds of sig lines)
Author: Adam Funk
Date: Tue, 05 May 2009 17:33
Date: Tue, 05 May 2009 17:33
25 lines
1761 bytes
1761 bytes
On 2009-04-28, Peter J Ross wrote: > _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> wrote: >> X.ZIP kills 4 kinds of sig lines: >> "- -- " // the whole line, "^- -- $". > > Easy to set up in slrn. > >> "--" > > Easy to set up in slrn. > >> "-- " > > Default in slrn. What do you recommend for strip_sig_regexp? -- No right of private conversation was enumerated in the Constitution. I don't suppose it occurred to anyone at the time that it could be prevented. [Whitfield Diffie]
Re: Dodgy sig separators & slrn.
Author: Peter J Ross
Date: Tue, 05 May 2009 19:48
Date: Tue, 05 May 2009 19:48
47 lines
2386 bytes
2386 bytes
In news.software.readers on Tue, 05 May 2009 18:33:01 +0100, Adam Funk
<a24061@ducksburg.com> wrote:
> On 2009-04-28, Peter J Ross wrote:
>
>> _@Jeff_Relf.Seattle.inValid <_@Jeff_Relf.Seattle.inValid> wrote:
>
>>> X.ZIP kills 4 kinds of sig lines:
>>> "- -- " // the whole line, "^- -- $".
>>
>> Easy to set up in slrn.
>>
>>> "--"
>>
>> Easy to set up in slrn.
>>
>>> "-- "
>>
>> Default in slrn.
>
> What do you recommend for strip_sig_regexp?
I don't recommend anything, because I don't use the command. The
default works well enough for me.
If you want to catch the most common broken sigs, try
"-- ?"
For *deliberately* broken sigs, you'll need to improvise. For
instance, I've deliberately broken my sig for this post.
"\(~\{6\}\)\*\?\1"
would match it (I hope), and that's the most complex regex example I
can invent. But people who use sigs like that tend to be not worth
replying to anyway, in my experience.
Note that you don't have to mention the newline in the pattern.
~~~~~~*?~~~~~~
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
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