Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

The ripest fruit falls first. -- William Shakespeare, "Richard II"


rocksolid / Rocksolid Nodes Announce / Re: Testing mod on news.novabbs.org (rslight.i2p)

SubjectAuthor
* Testing mod on news.novabbs.org (rslight.i2p)Retro Guy
`- Re: Testing mod on news.novabbs.org (rslight.i2p)Retro Guy

1
Subject: Testing mod on news.novabbs.org (rslight.i2p)
From: Retro Guy
Newsgroups: rocksolid.nodes.announce
Organization: RetroBBS
Date: Mon, 21 Aug 2023 16:31 UTC
Path: eternal-september.org!news.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Testing mod on news.novabbs.org (rslight.i2p)
Date: Mon, 21 Aug 2023 16:31:42 +0000
Organization: RetroBBS
Message-ID: <2abcc07d7739db71a4cb6099050f0647@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3269434"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.9.0
X-Rslight-Site: $2y$10$CX0T12F5CtFU2h5nz3fjNOwy6yT/4SKEzhPok04F0jFG.cgs4xZ9e
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
View all headers

I'm currently testing a mod for saving threads on news.novabbs.org.

This was already being done by newsportal, but I've updated how it works. The data is not different, it's just how it's stored and updated that has changed. This would cause a large group to start threading over again, which would make recent articles unavailable for a while.

Newsportal has always had an issue where while threads were being updated it is possible to mess it up by importing or posting an article to the group at the same time. A long while ago I added file locking to try to resolve it, but I still was not happy with it. I am now saving to a database instead of a flat file (that used to be deleted every time before update, which was the issue).

I hope that this change will finally resolve this issue, but I want to test it for a while before considering it a true fix.

One nice thing is that the database allows other, future data to be saved as may be desired in future, yet unknown mods. So far it seems fine on my test site, but it will continue to run for a while.

As I'm now digging deeper into actual newsportal code, I have to resist the urge to just completely rewrite stuff as I come across it. I'm trying to be careful and slow with it.

An extra note: I found that the old Newsportal site, which contains some pretty good documentation for newsportal has an expired SSL certificate. Since this causes some concern that the site may no longer be being administered, I have copied a full clone of the site locally. If the original site goes away, I now have a full copy and can put it online if necessary.

--
Retro Guy

Subject: Re: Testing mod on news.novabbs.org (rslight.i2p)
From: Retro Guy
Newsgroups: rocksolid.nodes.announce
Organization: RetroBBS
Date: Sun, 27 Aug 2023 18:27 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: Testing mod on news.novabbs.org (rslight.i2p)
Date: Sun, 27 Aug 2023 18:27:01 +0000
Organization: RetroBBS
Message-ID: <f8a21cbe0c9fa33e4e8d87d0cd087f70@rocksolidbbs.com>
References: <2abcc07d7739db71a4cb6099050f0647@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3935328"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.9.1
X-Rslight-Site: $2y$10$jtKfwZ4HaBTvUz1XOGz81O86FDWzIGrzaHBNs2d./7pWm4OeS1xVm
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
View all headers

Retro Guy wrote:

> I'm currently testing a mod for saving threads on news.novabbs.org.

> This was already being done by newsportal, but I've updated how it works. The data is not different, it's just how it's stored and updated that has changed. This would cause a large group to start threading over again, which would make recent articles unavailable for a while.

> Newsportal has always had an issue where while threads were being updated it is possible to mess it up by importing or posting an article to the group at the same time. A long while ago I added file locking to try to resolve it, but I still was not happy with it. I am now saving to a database instead of a flat file (that used to be deleted every time before update, which was the issue).

> I hope that this change will finally resolve this issue, but I want to test it for a while before considering it a true fix.

This is complete, and active on all my sites. Once the threads are recalculated (automatic), the speed is quite good.

Also, made a speed improvement to the main page (display of groups).

--
Retro Guy

1

rocksolid light 0.9.8
clearnet tor