Article View: news.software.nntp
Article #89704Re: How to permit user to set the right part of message-id
From: Julien ÉLIE
Date: Wed, 12 Oct 2022 15:51
Date: Wed, 12 Oct 2022 15:51
30 lines
2663 bytes
2663 bytes
Salut Franck, > At this time, when generating a Message-ID, there is no chance to get a > timestamp (at least) in the range of years 1970 to 2021, witch represent > about 1640905200 seconds. > > Wouldn't it make sense to set the "0 Date" to 2022-01-01 so the > Message-ID will be more compact? We could also save 1 byte more (in the resulting Base64 string) if changing the timestamp every minute instead of every second. Dividing the number of seconds by 2^6=64 (or shifting 6 bits to the right) would do that, without really adding a noticeable risk of duplicate Message-IDs I think. > Message-ID: <Y0KVxHLrtq6oCVJ2@news.spitfire-nntp.fr> 16 bytes at the left-hand side of the Message-ID, and probably less with your suggestion of changing the "0 Date". FWIW, INN currently generates 13 bytes (ex: <tgu7qh$8iq1$1@news.trigofacile.com>, without random number) and I see that Gnus generates 14 bytes (ex: <87lepph98o.fsf@hope.eyrie.org>). -- Julien ÉLIE « A program should always respond to the user in the way that astonishes him least. » (Plauger's Law of Least Astonishment)
Technical Details
Message-ID:
<ti6np6$14c53$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<632790d3$0$22052$426a74cc@news.free.fr> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgje47$2eubv$4@dont-email.me> <87zgeqfy8k.fsf@hope.eyrie.org> <thteto$1777$1@gioia.aioe.org> <87lepph98o.fsf@hope.eyrie.org> <ti30mp$1i7a$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <ti6np6$14c53$1@news.trigofacile.com> Subject: Re: How to permit user to set the right part of message-id Date: Wed, 12 Oct 2022 17:51:02 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <632790d3$0$22052$426a74cc@news.free.fr> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgje47$2eubv$4@dont-email.me> <87zgeqfy8k.fsf@hope.eyrie.org> <thteto$1777$1@gioia.aioe.org> <87lepph98o.fsf@hope.eyrie.org> <ti30mp$1i7a$1@gioia.aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 12 Oct 2022 15:51:02 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1192099"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Cancel-Lock: sha1:wdp4osmFCtzDjF27VjykgE5YygU= sha256:I3Tum6giFK0r08Yr9+Ke0WgMtY8sRBWpjp8XcNzZveo= sha1:abMA5Ve2TGfQ09ayHDVdr9G7zG0= sha256:3VtCg+RWGXOuoZbnO2EU8W1MmxqqhyWk31jzh1dUVxg= In-Reply-To: <ti30mp$1i7a$1@gioia.aioe.org>