🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.computer.workshop
Article #1506

Re: Anti-AI

#1506
From: Apd
Date: Sun, 15 Nov 2026 18:51
27 lines
3261 bytes
On 14/11/2026 23:42, Brock McNuggets wrote:
> On 14 Nov 2026, Apd wrote:
>> Perhaps a query for a given date span using the above fields.
> 
> Any suggestions for a search? Maybe some word in the original text
> (non-quoted) and then another word in 1-2 levels deep but not in
> original... and then maybe some range of lines? Just pulling
> something out of my rear. Open to whatever.

What can be queried depends on the DB. In those SC and I have been 
working on, there are no multiple levels of text stored as columns (only 
original and quoted). Extra parsing would have to be done outside an SQL 
query once the whole article body had been retrieved; similarly for line 
selection. That post-processing isn't being done. I imagine your app is 
having to do this (check your DB schema). IOW, our speed of searches is 
only dependant on the SQLite library which DB Browser and Python use, 
with minimal overhead when using an HTML interface.

I take it you're using an SQLite DB so your best bet would be to test 
your queries from the CLI or install DB Browser (for the benefit of a 
GUI) and load your own DB. Then you can get a realistic comparison 
between your app and the native speed of SQLite.

For the record, a query for my own posts with MID and timestamp, 
containing the string "sqlite" and ordered by date/time takes under a 
second on a db containing over 271000 articles.
Technical Details
Message-ID: <11dcv3k$307vf$1@apd.eternal-september.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!apd.eternal-september.org!.POSTED!not-for-mail
References: <11d5ino$d58b$1@apd.eternal-september.org> <nlp1f3FogueU1@mid.individual.net> <nlp5prFogueU4@mid.individual.net> <11d7sj3$1d9m1$2@apd.eternal-september.org> <6af782b8$4$23$882e4bbb@reader.netnews.com> <11d838h$1fe55$1@apd.eternal-september.org> <6af79dac$5$48795$882e4bbb@reader.netnews.com> <1794617994.2FC0D3A7-CBFC-471C-B71D-54C294B5BFC1@gmail.com> <6af82465$3$23$882e4bbb@reader.netnews.com> <1794668323.8802E96F-CDE9-4657-AC53-8FBEFA724213@gmail.com> <1794687643.D0DDA49A-88E7-4932-99D1-55718F4B385F@gmail.com> <11dapa1$2b84g$1@apd.eternal-september.org> <1794699723.2C8C81DC-4954-4364-B5C8-306BC53A5952@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!apd.eternal-september.org!.POSTED!not-for-mail
From: Apd <not@all.invalid>
Newsgroups: alt.computer.workshop
Subject: Re: Anti-AI
Date: Sun, 15 Nov 2026 18:51:35 +0000
Organization: ad hoc
Lines: 27
Message-ID: <11dcv3k$307vf$1@apd.eternal-september.org>
References: <11d5ino$d58b$1@apd.eternal-september.org>
 <nlp1f3FogueU1@mid.individual.net> <nlp5prFogueU4@mid.individual.net>
 <11d7sj3$1d9m1$2@apd.eternal-september.org>
 <6af782b8$4$23$882e4bbb@reader.netnews.com>
 <11d838h$1fe55$1@apd.eternal-september.org>
 <6af79dac$5$48795$882e4bbb@reader.netnews.com>
 <1794617994.2FC0D3A7-CBFC-471C-B71D-54C294B5BFC1@gmail.com>
 <6af82465$3$23$882e4bbb@reader.netnews.com>
 <1794668323.8802E96F-CDE9-4657-AC53-8FBEFA724213@gmail.com>
 <1794687643.D0DDA49A-88E7-4932-99D1-55718F4B385F@gmail.com>
 <11dapa1$2b84g$1@apd.eternal-september.org>
 <1794699723.2C8C81DC-4954-4364-B5C8-306BC53A5952@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 15 Nov 2026 18:53:41 +0000 (UTC)
Injection-Info: apd.eternal-september.org;
	logging-data="3153903"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18zoRn7BJE07r06tjbC+1E/"; posting-host="a2713876d952eaafbb881b59825ea606"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:KOY56ofnuRPU010durTnKJmIEow= sha256:v3QzBXlZkfo/+KBU0IcpPN+8A0Hqgs+xrv+3Jo9YsFI=
	sha1:Q7O+38o42Lykt+uPMZTCTGmvGhw= sha256:GdqBv/L87ZX4S9v1PYZb2HkP3xhlSjvJg/xMeZUhaR8=
Content-Language: en-GB
In-Reply-To: <1794699723.2C8C81DC-4954-4364-B5C8-306BC53A5952@gmail.com>