From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28032 invoked from network); 19 Feb 2022 20:01:30 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 19 Feb 2022 20:01:30 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 26C892507D for ; Sat, 19 Feb 2022 15:01:30 -0500 (EST) (envelope-from bounce.mM9791daa4c063f7ae31acf876.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 2253617A1808; Sat, 19 Feb 2022 15:01:30 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1645300890; bh=JxIpfasNnJI7MbA5sgiRj7tAp6FjhO4B9Y/HV VKzlZA=; b=rGPYRxKfP7Rvj/9tN/Jtj4tbb0alTXW8LVX2Ius2iYU3pOwwRDg2E 3yB6VNxeOTzf+j73uho221HeTPRVuRfz7ycasCdbI/nFIFdNE/gQA4aULBL7SCU6 A3YJCm8imLnghJ1px8O8A3exRVolzScZrymUUrhWA5no0JGgckJuZ4= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1645300890; b=buzyCMf8lMA9XiS3E5CFKxC7IhqZB4tnsTQcAHNFDCZ/nbIMB1 Zr74kQcmibfpF7XbtpnQDVI3cs+Ipp06+GlR+x65sy6Wmmww404ROyTVbNaqfR5A qWIAyWkzWumXnzWDlqNC1/l2KniivBr9yDPHgar5wZcMyt5Sny+IJvDDM= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=4WX+ua/M p3HIgvt+iCKof5LcqSsPRegJOi4hti8gIZo=; b=RBSrSJALWDnVhKcZfMy6lS0r fbSXr7vlL/e/+CGSLzdyF/DHfMNZeDlS2Dh4/hdAk6nJH4svgFsEvVCDVzIrlzwf yMYFq6ckNisCjsJvPPE2AhQsX2I9KZE1CtZ8BedPB1hWQfqPYcHyUKCNQG5Ep3Ri s+qXwNICW7dUaLc6Ct8= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id A873D10F70AC for <9fans@9fans.net>; Sat, 19 Feb 2022 15:01:17 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id C6B5E3D7D7F; Sat, 19 Feb 2022 15:01:17 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1645300877; b=Kg8iqudhb4oGyjVCaJkEOxCQvcRKZdgxtp5f7voDK5CJgaqyxB KSO+OMp++CwLfwgCskQPzqPOk2XUMQPbCysArvliVYMXMo+MdTt4GHS9NpuvZScs HaK7rtUkOtVX5wApJklKQVQw2eIM27e+NZilSHmX5B/Qk5PlQQlyp2EOZNhBtB8j RYZkl1/qkZEepSuAC+J5iZbMfR8G0Kvf14lsqi3hLYvbW+/ofjC9TukjUgOGhf3u NsfWCO7GyHcSoLHYInronEmmK/rwIvzkJ34IZ2+iqZkzjqxKPx7kPYvtPYYxO65x b9yqOzvUqIu3amL9MWEn73B3W8OfBu1E+/uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1645300877; bh=E/VRzREUZ49Prkv0rJ5HCn2eZQJmexRrOoiBp9jZRC4=; b= U0NAYLjNpsp1B3RKcWXDEUrzhz8D0GPJBzPYVIn01xg9Spph0wOKF32eguCx2u1N N+HtH4OYfOB1z5pc6/Je/dn6kBKahLCJfjS9uPmOee+0PEAu8OKnzhOGj/F5lVYo oRT8QZ4FAJQZFP5PJ1lhgw/N9ZmEDH5lYM+1+/crjglX7lbiRsGWF2jPgHeWdGq/ LqXvUtugyalpR24vasJAUqGIcrYGJHvZZqoa588CNVg0RkctiDlO90eEss8c3+BX hCytAGcVtkcllCPCRUjBJ4bDyNWoLe5htoyZQZH/UWB3gaONI7EeNjQ+zQvJTqCQ CDO1QY3RQKUEQ8u5ifBamA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvvddrkedugddutdehucdltddurdegudelrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucenucfjughrpefkvffufffhjgggtgfgsehtkeejtddttdejnecuhfhrohhmpehorhhi segvihhgvghnshhtrghtvgdrohhrghenucggtffrrghtthgvrhhnpefhgfeffeelveehle duudfhkeduffdtleejleduhfevfeeuhfekkeevhffgleejheenucffohhmrghinhepfhgv lhhlohhffhdrnhgvthdpshhhihhthhhusgdruhhsnecukfhppedvtdeirdduvdegrddufe dvrddutdejpdejgedruddtkedrheeirddvvdehnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehinhgvthepvddtiedruddvgedrudefvddruddtjedphhgvlhhopehmih hmihhrrdgvihhgvghnshhtrghtvgdrohhrghdpmhgrihhlfhhrohhmpeeoohhrihesvghi ghgvnhhsthgrthgvrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sat, 19 Feb 2022 15:01:16 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id b5041bff (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Sat, 19 Feb 2022 12:01:15 -0800 (PST) Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] Plan 9 applying to GSoC Date: Sat, 19 Feb 2022 15:01:13 -0500 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b63cf6a0-91be-11ec-a104-b93ada7e0fcd Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNzQ1Y2RhNTA4NzcwMWEwZC1NOTc5MWRhYTRjMDYzZjdhZTMxYWNm?= =?UTF-8?B?ODc2Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M9791daa4c063f7ae31acf876:1:DhM0AmwC01TPt9OJg5cmydpsObR1Z4dIhwILU0F16TQ Quoth Bakul Shah : > =EF=BB=BFOn Feb 19, 2022, at 3:02 AM, sirjofri wrote: > > (4) A filesystem that filters a namespace, but the file contents and no= t the namespace. > >=20 > > The idea is to have a filesystem like exportfs, however, it doesn't jus= t represent the files as is, but applies user-defined filters to the filena= mes/paths as well as the file contents. > >=20 > > Imagine you have a namespace which contains markdown files that end wit= h .md. Using this overlay filesystem you can present the same namespace, bu= t convert the filenames using sed (from .md to .html) and when reading, the= file contents (from markdown syntax to html syntax). > >=20 > > The filesystem would be very powerful for exposing plain text data as h= tml, encapsulating data into some predefined layout, and much more. It coul= d essentially make any plain text filesystem available as regular web-frien= dly html files, convert troff source to postscript, convert plan 9 images t= o png, and much more. You can even present device files as json for modern = web applications. >=20 > May be create a generic filter-fs that can be controlled with a script th= at can be updated via a control interface? Almost a mkfile like script so i= f a rule exists for .md -> .html, any listing will show foo.html instead of= foo.md. Reading foo.html will transparently invoke a conversion program. Y= ou can get pretty clever and may be even install a src dir under /bin this = way to build binaries on the fly! Or even just the presence of a mkfile in = a filtered directory would be enough for this behavior. Taking this further= , an installation of a new machine can be made instantaneous! Just use a lo= cal cache for all the binaries as they get built! Obviously this should be = called mkfs :-) >=20 See, for example, execfs, here: http://felloff.net/usr/cinap_lenrek/ I use it for https://shithub.us, though it has a number of limitations. Using it as a starting point, but replacing regexes on the path with a more powerful language, would probably get quite close to what's described here. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T745cda5087701a0d-M9791d= aa4c063f7ae31acf876 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription