🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: newsgrouper.support
Article #55

Re: New cross-group search facility

#55
From: Nuno Silva
Date: Mon, 03 Aug 2026 22:41
54 lines
3690 bytes
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>

-- 
Nuno Silva
Technical Details
Message-ID: <114r5f0$1mufp$1@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>

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:41:36 +0100
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <114r5f0$1mufp$1@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>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 03 Aug 2026 22:41:37 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1800697"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+pGNRHO6IeITJrghXcMstV"; posting-host="db99f0318284b5ede344bf48dba5293f"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:igOTItgTkdBXeGV+bwlcHp8gdCo= sha256:/EmqDRMF3roXD7JhaoPQq5Ep0IywnyAuUepDZo73DdE=
	sha1:XY5agtvxis8Ue+cqacTnFvnl/7k= sha256:IvbP4Fq4wpD4piRNmSz7tu7JruQyLL89DywPlpOWO5o=