🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27479

Re: A Rant

#27479
From: Russ Allbery
Date: Sun, 05 Apr 1998 00:00
25 lines
1639 bytes
Jeremy <jeremy@exit109.com> writes:

> I was just using flock when I was playing around.  I keep forgetting how
> to flock a tied hash db file, but I think it's in the FAQ or
> something. :)

Yeah, basically you open it twice (once with tie and once yourself) and
flock the one you opened yourself.  I think that may be improving in later
versions of DB_File, but that method does work.

I'm a bit worried about the overhead, but probably unnecessarily.

> But it doesn't automatically send you email when someone gets frisky.
> Or silently send their posts to /dev/null, or spool them so you can look
> at them yourself, or any of the other fun stuff you could have with a
> local spam detector.

True.  Although there's no reason why it couldn't; you just have to have a
way of determining if the post is local....

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <m3wwd4u2au.fsf@windlord.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <m3afabnmvf.fsf@windlord.Stanford.EDU> <87btug9685.fsf@erlenstar.demon.co.uk> <JWEV.6$4J5.415@firestorm.gunslinger.net> <m3ogygvkca.fsf@windlord.Stanford.EDU> <4qGV.7$4J5.581@firestorm.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <m3wwd4u2au.fsf@windlord.Stanford.EDU>
Subject: Re: A Rant
Date: Sun, 05 Apr 1998 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <m3afabnmvf.fsf@windlord.Stanford.EDU> <87btug9685.fsf@erlenstar.demon.co.uk> <JWEV.6$4J5.415@firestorm.gunslinger.net> <m3ogygvkca.fsf@windlord.Stanford.EDU> <4qGV.7$4J5.581@firestorm.gunslinger.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 341020185
Sender: eagle@windlord.Stanford.EDU
Organization: The Eyrie
Newsgroups: news.software.nntp