🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92766

Re: csiph.com

#92766
From: Colin Macleod
Date: Fri, 08 May 2026 06:48
47 lines
4255 bytes
ram@zedat.fu-berlin.de (Stefan Ram) posted:

> Colin Macleod <user7@newsgrouper.org.invalid> wrote or quoted:
> >different groups.  For a cross-posted article I provide links to see
> >it in the context of each other group where it exists, but I can't use
> >timestamp-based links for this because they might vary, so here I use
> 
>   The "normalized" approach in a relational database would be to have
>   one group for posts,

You can see the db schema I use for Newsgrouper in
https://chiselapp.com/user/cmacleod/repository/newsgrouper/file?name=scripts/db_create.tcl&ci=tip

It's not fully normalised, the 'over' table duplicates info for cross-posted
articles.  'dat' is the unix timestamp I explained in my previous post.
'prev' is the msgid of the post which this one is replying to, if any.
'xgrpids' is a list of ids of any other groups this article is posted to.
Actually 'posts' in the groups table is no longer used.
Here /data is a 1TB ssd, /data2 is a 4TB hdd.

> 
>   But since you mention "links", and relational database terminology
>   does not have "links", it's possible you are using some other type
>   of database - then the above approach might not be appropriate.

I'm using this data to generate a web interface, so by 'links' I mean
web hyperlinks.  The db indexes make it practical to find the posts
when those links are clicked.

> 
>   Now, we just need to know whether a post that just came
>   from a server already is in the database. One could use
>   the message ID for that, but message IDs do not have to be
>   unique over a long timespan of decades I think, so one might
>   combine the message ID with the date or something.

My understanding is that message-ids *are* expected to be globally
unique for all time, and my code relies on that.  Once a specific
msgid,grpid combination has been loaded into the 'over' table,
any duplicates of that seen later will be ignored.

-- 
Colin Macleod ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ https://cmacleod.me.uk

FEED    HOUSE   SAVE    FEED    HOUSE   SAVE    FEED    HOUSE   SAVE
GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA    GAZA
NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!    NOW!
Technical Details
Message-ID: <1778222929-7@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <10t2kh8$1a6i$1@csiph.com> <69fba2e5.97cee40bab53652b@csiph.com> <1778120654-7@newsgrouper.org> <links-20260508000743@ram.dialup.fu-berlin.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
From: Colin Macleod <user7@newsgrouper.org.invalid>
Newsgroups: news.software.nntp
Subject: Re: csiph.com
References: <10t2kh8$1a6i$1@csiph.com> <69fba2e5.97cee40bab53652b@csiph.com> <1778120654-7@newsgrouper.org> <links-20260508000743@ram.dialup.fu-berlin.de>
Date: Fri, 08 May 2026 06:48:49 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1778222929-7@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user7
Injection-Date: Fri, 08 May 2026 06:48:49 GMT
User-Agent: Newsgrouper/0.9.0
Organization: You cannot be serious!!!
X-Face: ;>4')~8UD=d.R[\.@A;)N{u_j#_=cmLx$}bIc4.3By~hf[q~|cf59?%bLtS)G@w#32G1%7y
 kz`PF}nwv'neqs,&gJm|V!,Xuekf[YIYQB7[Px"t#|rqb20(<F+y~
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAWlBMVEUOqj99lWv/gSb8+vzH
 yfDKcKfawMf/wXL/xwX/0DL/4MgAnuf////woTuJAg9haNWbJVrmDRbf8/wXqt0wOcfWPknT
 or8xStFls+AyPs/XiXvV447V5/JsPbGdJXGAAAAByElEQVRIie2V0XqDIAyFqaGoaKWztSDi
 +7/mkkoVFLbuonfLTeUzP+ckNMjaPwb7Bz4CcB+uh/eA0YdWSvE3mBW4Y4zKvW+JG6XGu+p/
 BYJnMHrkwVrYYbDyB6AFNap1Ie3XMwaZB1oEXnWLAXPtQEikEgNmBWh7C6SDTCGzwN0DmD+I
 l7WiKErIAHoBRNcF1iURGaC5EQDXrgt9EyFTANwaQ7+PrrPRRnKTSAEocN39ScqigDwg9gJP
 QOYBG1fwDrB3lLPU5wC4FJcU4JqGJy1Bpku8aWggjkXLzDngudE8HNtaro7iefDndvBEjsBx
 x40xIcCXEtDT9SpiR1YprTXNcQh4Rxjn+bxNt+NK08yPd7ooAgB7ZPyjQGIxDc9sjamGrqK+
 DwCz9OgZj5kIcI8zbq3nk0jMQyCAG5+RwJjnWRm79SgAACsIbiUiZoJEj8dctkdAMLYJEPFA
 AUFbTEVqpuHEWPoSg7qq4QigwJTMb8uqSl0zWQFZVXW49oBj7JQzFAm8AHSUvrjRUGzVAxNj
 yW8D5tfxiw0Qbj9mUqKfejdLmyWsYon6FVV1zA/b6uNUbVGXB6PrSfdi8gqlFygnmajr89/p
 b4k/bLhxPQ+xAAAAAElFTkSuQmCC
Behaviour: undefined