🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: newsgrouper.support
Article #57

Re: New cross-group search facility

#57
From: Nuno Silva
Date: Mon, 03 Aug 2026 22:54
63 lines
4221 bytes
On 2026-08-03, Nuno Silva wrote:

> On 2026-08-03, Colin Macleod wrote:
>
>> Nuno Silva <user17785@newsgrouper.org.invalid> posted:
>>> > 
>>> > I can still reproduce it, and it's not specific to the android browser,
>>> > I logged in on the desktop with SeaMonkey and I get the same. This group
>>> > and comp.os.linux.misc got posts between the last time I accessed
>>> > Newsgrouper and now, yet they all show with no new articles in the
>>> > frontpage table/list.
>>> > 
>>> > I'm perhaps too sleepy for proper testing, but I think there's a test
>>> > that makes sense: I'm posting this via Gnus, and in the following
>>> > minutes I'll see if the row for this group changes.
>>> > 
>>> > The figure of 30 seconds is helpful for testing and to better understand
>>> > how long it takes to update normally, but right now the page does not
>>> > change for me even after a few minutes?
>>> > 
>>> 
>>> It did update, but curiously the front page showed 1 new,
>>> while in the group page it showed a 2 (my post above and
>>> your reply). Or is the count in the front page the number
>>> of threads?
>>
>> The front page and the group page use different caches, so it is possible
>> for them to get out of step for a short time.  One of these days I may do
>> some more work to improve the consistency, but I don't think it's an urgent
>> problem.
>>
>> If you want to dig into the details you can see the code at:
>> https://chiselapp.com/user/cmacleod/repository/newsgrouper/file?ci=tip&name=scripts/newshub&ln=75-80
>> This is in the *newshub* processes, which handle long-running requests so
>> they don't bog down the webserver process.  "grup" is GRoup UPdate which
>> gets any new posts for a single group, caching its result for 5 seconds.
>> "counts" gets all the group counts for one user, caching its result for
>> 30 seconds.
>
> I'll have a look if I can, I'm wondering if anything could explain
> this. Some groups have updated meanwhile, but newsgrouper.support is
> still showing a 0 there, despite your reply.
>
> Preferences for my Newsgrouper account has this:
>
>     newsgrouper.support 1785714866
>
> Which, opening in an incognito window in a separate browser profile, and
> logging in as guest, seems to be my reply to you from yesterday evening
> UTC (or from quite early today WEST) [1]. So I guess it should be
> showing "2" in the front page?
>
> [1] <114olbi$see6$1@dont-email.me>

This has updated the index on both the account and the guest sessions,
but in both shows "1", while I suppose the account session should now
read "3". It does highlight the row in orange, though (I haven't
checked, but I've assumed from my experience so far that this means
there is a new post in a thread with a post of mine). Let's see if this
post bumps that to a "2" in *both* sessions.

-- 
Nuno Silva
Technical Details
Message-ID: <114r670$1mufp$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <1785429703-7@newsgrouper.org> <1785687408-17785@newsgrouper.org> <1785694386-7@newsgrouper.org> <114olbi$see6$1@dont-email.me> <1785715033-17785@newsgrouper.org> <1785759945-7@newsgrouper.org> <114r5f0$1mufp$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Nuno Silva <nunojsilva@invalid.invalid>
Newsgroups: newsgrouper.support
Subject: Re: New cross-group search facility
Date: Mon, 03 Aug 2026 23:54:24 +0100
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <114r670$1mufp$2@dont-email.me>
References: <1785429703-7@newsgrouper.org> <1785687408-17785@newsgrouper.org>
	<1785694386-7@newsgrouper.org> <114olbi$see6$1@dont-email.me>
	<1785715033-17785@newsgrouper.org> <1785759945-7@newsgrouper.org>
	<114r5f0$1mufp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 03 Aug 2026 22:54:24 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1800697"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18q3L9Z2Mp/QWha+urtg5sn"; posting-host="db99f0318284b5ede344bf48dba5293f"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:SNp2ZqEH8JfWTqzFZk0OOOl1rbQ= sha256:mVGNwJF23yyTmPujlraqNXEr5M9nJmVtj9xZQ1KkXts=
	sha1:1VOOlE138OKVHQl2AAk9j02Ze18= sha256:S3xmsez6oi3HmlnFWYXCyV/TrGpzT3a1B6LA8a5pcPw=