Article View: news.software.nntp
Article #89088Re: Ready-to-use installation of a news server
From: meff
Date: Sun, 16 Jan 2022 04:31
Date: Sun, 16 Jan 2022 04:31
35 lines
2369 bytes
2369 bytes
On 2022-01-16, Grant Taylor <gtaylor@tnetconsulting.net> wrote: > I've written some things that I consider to be both quite interesting in > m4. The most recent was an rwhois data management system that was > object oriented, e.g.: > > router( > name(`r1a.example.net`) > ip(`192.0.2.1/24`) > ip(`198.51.100.2/24`) > ip(`203.0.113.3/24`) > ) > > name() was required as it identified the router. > ip() was required at least one time but could exist an indefinite number > of times. ip() also calculated the network and broadcast based on the > IP & subnet mask. This is very similar to what we wrote to retrofit some of our older PHP configs into a container, except obviously it was based around environment variables instead of routing terms. We went with m4 because: 1. M4 has no language dependencies. A lot of templating languages out there depend on some programming language or the other, and we wanted something language agnostic. 2. M4 has very few library dependencies and comes with almost every Linux distro. It adds very little bloat to our containers. 3. M4 is stable software that doesn't change. These containers host some of our oldest code, and so we really don't want to muck with things if not absolutely necessary. I have a soft spot for M4 but again I'm not sure how productive this would be lol.
Technical Details
Message-ID:
<ss072g$csm$1@dont-email.me>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:
<sr6b9t$1ejhd$1@news.trigofacile.com> <srsqet$1gdm$1@gioia.aioe.org> <srt311$a3$1@tncsrv09.home.tnetconsulting.net> <srt50i$jmv$1@dont-email.me> <874k657r3z.fsf@hope.eyrie.org> <srt6vq$jmv$2@dont-email.me> <87tue56b03.fsf@hope.eyrie.org> <srtacs$biu$2@dont-email.me> <srv510$5vt$1@tncsrv09.home.tnetconsulting.net> <srva5u$pmq$2@dont-email.me> <ss0455$grh$1@tncsrv09.home.tnetconsulting.net>Show Full Headers
Complete Article Headers
Message-ID: <ss072g$csm$1@dont-email.me> Subject: Re: Ready-to-use installation of a news server Date: Sun, 16 Jan 2022 04:31:12 +0000 From: meff <email@example.com> References: <sr6b9t$1ejhd$1@news.trigofacile.com> <srsqet$1gdm$1@gioia.aioe.org> <srt311$a3$1@tncsrv09.home.tnetconsulting.net> <srt50i$jmv$1@dont-email.me> <874k657r3z.fsf@hope.eyrie.org> <srt6vq$jmv$2@dont-email.me> <87tue56b03.fsf@hope.eyrie.org> <srtacs$biu$2@dont-email.me> <srv510$5vt$1@tncsrv09.home.tnetconsulting.net> <srva5u$pmq$2@dont-email.me> <ss0455$grh$1@tncsrv09.home.tnetconsulting.net> 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: That of fools Lines: 35 Injection-Date: Sun, 16 Jan 2022 04:31:12 -0000 (UTC) User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:90w9HfzLejje1az7nAozo5WGbxc=