🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92883

Re: Spool compression

#92883
From: SyberShock!
Date: Thu, 18 Jun 2026 23:40
29 lines
2057 bytes
On Thu, 18 Jun 2026 10:11:55 -0400
InterLinked <nntp@phreaknet.org> wrote:

> Train a dictionary across all the uncompressed 
> articles in a spool to get something representative for Usenet, and then 
> use that when compressing individual articles.

Replace header names with single-charater tokens and omit the colon as an understood character.

Snarf and hash article siglines and store one copy of each unique sig in a hash-named file and use the hash as macro placeholder.

Snarf 'From:' data with the same hash technique.

Detect duplicate article bodies and blocks via hashing, and store one copy with a hash pointer.

Assign a base62 shortcode to every known path host.

Assign shortcodes to 'Message-ID' domain names and 'Organization:' names and 'Xref:' hostnames.

Convert 'Xref:' integers to hex or base58.

Convert all 'Date:' headers to epoch seconds then use a shortcode token for the least significant digits of the epoch date.

Create 3 or 4 byte base62 shortcodes for all newsgroup names in the 'Newsgroups:' header.




Technical Details
Message-ID: <20260618234015.0e8a86cb@dev>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail
References: <110vnlu$2aplk$1@dont-email.me> <110vrav$m00$1@csiph.com> <1110ubg$2ld8b$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail
From: SyberShock! <spamtrap_usenet_001@sybershock.com>
Newsgroups: news.software.nntp
Subject: Re: Spool compression
Date: Thu, 18 Jun 2026 23:40:15 -0000
Organization: To protect and to server
Message-ID: <20260618234015.0e8a86cb@dev>
References: <110vnlu$2aplk$1@dont-email.me>
	<110vrav$m00$1@csiph.com>
	<1110ubg$2ld8b$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: paganini.bofh.team; logging-data="3883586"; posting-host="LOrR2Q7bIF8GEJUCjX3Y0A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
X-Notice: Filtered by postfilter v. 0.9.3
X-TOR-Router: sha256:MTc4LjE3NS4xNDguMTU1 --