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, HTML_MESSAGE,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 24180 invoked from network); 19 Feb 2022 19:33:26 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 19 Feb 2022 19:33:26 -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 BE85B2481F for ; Sat, 19 Feb 2022 14:33:24 -0500 (EST) (envelope-from bounce.mMe5af03b18c19111f8ced87fb.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id AEE61179F09A; Sat, 19 Feb 2022 14:33:24 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=pFj5sybq header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none 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=iitbombay.org; spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qk1-f177.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:message-id:date:to:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=sysmsg-1; t=1645299204; bh=SVX28tg8GW33MGRf/q9DBcL+LAH57qlSiDn/WJsRgfY=; b= C7foXuFg/EY+RcUsBuQiF84t16AjNSOpYm07biRU3l8yuxmJubeC70EuFc4K44lb k04mOUD37Y3Z2AtICAk35g1ha6A6fjcHkKA2lJ8cL7PcTMulu6jXsWZ4ZqGpiyay b9p8YY2M2Z1gzxluNFDjE0IceSKDvqoTxzzLcMATqRQ= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1645299204; b=VhvZ+4hYNbSGR+9OcPImyH2a54Osid6eepFTTw03y3eTDrWFYU YMAmR8LwaY9kcI2aUCHvSQpvr3PdLPk1cYpbD/3ptIQnw2MR6DEv1emUDXRW+vna WxlsX5VhLuBuNMJg+CW6mHaiTEB+bOHFithZPecsQgaR6w6BfAQJtv/bw= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=pFj5sybq header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none 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=iitbombay.org; spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qk1-f177.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body 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 did not pass); dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=pFj5sybq header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none 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=iitbombay.org; iprev=pass smtp.remote-ip=209.85.222.177 (mail-qk1-f177.google.com); spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qk1-f177.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=4ekCp8KC; x-me-sender=none; x-ptr=pass smtp.helo=mail-qk1-f177.google.com policy.ptr=mail-qk1-f177.google.com; x-return-mx=pass header.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt2.aspmx.l.google.com,alt3.aspmx.l.google.com); x-return-mx=pass smtp.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt2.aspmx.l.google.com,alt3.aspmx.l.google.com); 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= content-type:content-transfer-encoding:from:mime-version:subject :message-id:date:to:list-help:list-id:list-post:list-subscribe :reply-to:list-unsubscribe; s=dkim-1; bh=zjpoINSBpB3mvzyTAgnHrrp UoOlY90EwDB6p6peH+ao=; b=bcQ6ddRaSFLnFQOiTV9pzXd2D6ihJ7RJfcMNluv NM3/8U3KjbvV/+FWY1wqu0gjy5zrUGjZBc55vwEKccxwLyy0Sn/cAX7kNi/GoLKm 12mC9CYrJDnnhEhNlWGGu6MP58DhNQtfujJEMlsmJ5ouL39iUHDEVN8xTj4+dPwM GI3k= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 2B2B510F6E4C for <9fans@9fans.net>; Sat, 19 Feb 2022 14:33:13 -0500 (EST) (envelope-from bakul@iitbombay.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 46569ACEE83; Sat, 19 Feb 2022 14:33:13 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1645299193; b=vF3ixGoXY9NtJq8EsyCsHn4Aln8Fa1UyjzY/g8pRf2Ht9XZaqP yw9wiz5k8U3rT1Kex5G/IKG4nNQ/uoJJwmRQMRgd9vceZb4fnk379ywTxBxXNjmw ewrdFZQMQ+aeVhsyCt8iuymBMUjBOheuAAROaVJDGr2N1lXwhHcRmayTMQxoTAOv Ko+lHIbRnfVNcDMrsPQTJNXWUH9p78gvypQowg5Cif+YQG0CU0DacxTGVXSZMZrm LB6mlbL4dTLCdZwbCplpQdAZ+U75nZNrCXiH4qYQiLGK93oY42zLtHpgUqt9Z3Cf unS4JFFo/eUMoaJBk7fx2LYAHUXIO/Bui6YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:message-id:date:to; s=arcseal; t= 1645299193; bh=DQ2Yl8GSRuoBIG4lmoGB1xhIWfg9xKjRYOkzLpXRe2E=; b=I irsreUSoRPuDj2OtrUR2lSpqOAMIrsBCdheyJrCxdoDldJ8zH6m15CZMdnJ2IntG aQma2u5781DmilbIxW/WyyS5uWHffQGhRp8p0NRA4v9uRwfTvaSr8L8LxLyT+fpX h7YbEfbRqoeTNqbcNW/R3ehEtJf5iIiAgDaeOkc35/GVYEymNQ9HrnHbP7v+4Rr1 fBY07+ulcT5AUmxwb7Ee5oIOhb+jLGkhN3YkIaavOJL4LW7+W44Fx2MIn7+R4Kg6 FmOiDBzWtzFxH/ZdTZPTORXp/LB9RUVwL99QAIMzDpcOBBbzlO/2NIrkuhbNSLVO 0gxphMz3yzRccyC6jvqMg== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=pFj5sybq header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none 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=iitbombay.org; iprev=pass smtp.remote-ip=209.85.222.177 (mail-qk1-f177.google.com); spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qk1-f177.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=4ekCp8KC; x-me-sender=none; x-ptr=pass smtp.helo=mail-qk1-f177.google.com policy.ptr=mail-qk1-f177.google.com; x-return-mx=pass header.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt2.aspmx.l.google.com,alt3.aspmx.l.google.com); x-return-mx=pass smtp.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt2.aspmx.l.google.com,alt3.aspmx.l.google.com); 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: gggruggvucftvghtrhhoucdtuddrgedvvddrkedugdektdculddtuddrgeduhedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghn shhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtne cunecujfgurheptgfghfgguffkfffvofesrgejmherhhdtjeenucfhrhhomhepuegrkhhu lhcuufhhrghhuceosggrkhhulhesihhithgsohhmsggrhidrohhrgheqnecuggftrfgrth htvghrnhepfeeuffeljeeivdetudegtdevfefhtdduffeigfefueejgfegtefhleelgeeg uedvnecukfhppedvtdelrdekhedrvddvvddrudejjedpuddtjedrvdduhedrvddvfedrvd dvleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdelrdek hedrvddvvddrudejjedphhgvlhhopehmrghilhdqqhhkuddqfhdujeejrdhgohhoghhlvg drtghomhdpmhgrihhlfhhrohhmpeeosggrkhhulhesihhithgsohhmsggrhidrohhrgheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (iitbombay.org: Sender is authorized to use 'bakul@iitbombay.org' in 'mfrom' identity (mechanism 'include:_spf.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="bakul@iitbombay.org"; helo=mail-qk1-f177.google.com; client-ip=209.85.222.177 Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (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 14:33:12 -0500 (EST) (envelope-from bakul@iitbombay.org) Received: by mail-qk1-f177.google.com with SMTP id q4so10100478qki.11 for <9fans@9fans.net>; Sat, 19 Feb 2022 11:33:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:message-id:date:to; bh=DQ2Yl8GSRuoBIG4lmoGB1xhIWfg9xKjRYOkzLpXRe2E=; b=4ekCp8KCHXaw9TyaBIyrdMz5/GBzzzEsnGLi5IsyPP1Ed8/4q3K+EnXDmSLV4nF/e9 vLh3TfBLi9eY5lZXj4xIdPA3SebeusufI0erjRVj3lEdOT3FF09ykXCXvAG2Dra5nr1y q0Kz9gQKLfILi2TYj9aqs+FVgyEMJ4cfUABetmGouEE5IgICzPsvJ1N/usi7b44kRVQD sdJAOerxTE2bIJRyVQWjs9iOpU5tE0ngnEcRJxziYWxrxzEOwl0/rI/ZnPW+5o1kD3Z/ JuUfuuRosXckfulij7aCKAZJa6eBd9L4f4j2sJTBCDjFbThSz3BKurCTS+6Cb3welIQ6 4yOA== X-Gm-Message-State: AOAM530jN4+4dS26VGpMB//z822ZBhDyRzYNO9DAkxnMTZMpISZ5dvyz jfuuXJtXFgJHXyqsWBYDlBBdrMH4A3f9ug== X-Google-Smtp-Source: ABdhPJzMwF4t+NcJn7DxGAOpAmx2B7HRa95ijpKhjIR0Hf9P1X3B8h60T/RJ3BmU/PdGCd4vNUPp1Q== X-Received: by 2002:a37:92c7:0:b0:47e:1772:a597 with SMTP id u190-20020a3792c7000000b0047e1772a597mr8156069qkd.242.1645299191554; Sat, 19 Feb 2022 11:33:11 -0800 (PST) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id i4sm25828554qkn.13.2022.02.19.11.33.10 for <9fans@9fans.net> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Feb 2022 11:33:10 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-B06F3589-4EA8-4A8C-83F5-9337556D1BCC Content-Transfer-Encoding: 7bit From: Bakul Shah Mime-Version: 1.0 (1.0) Subject: Re: [9fans] Plan 9 applying to GSoC Message-Id: Date: Sat, 19 Feb 2022 11:33:09 -0800 To: 9fans <9fans@9fans.net> X-Mailer: iPad Mail (19D52) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: c9c6b02a-91ba-11ec-9df5-dcf1af395962 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNzQ1Y2RhNTA4NzcwMWEwZC1NZTVhZjAzYjE4YzE5MTExZjhjZWQ4?= =?UTF-8?B?N2ZiPg==?= 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:Me5af03b18c19111f8ced87fb:1:KQvNcYZPbxS2pmalCMffERmcwQtcDCTfBag3RKvGQ48 --Apple-Mail-B06F3589-4EA8-4A8C-83F5-9337556D1BCC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =EF=BB=BFOn Feb 19, 2022, at 3:02 AM, sirjofri wrote: > (4) A filesystem that filters a namespace, but the file contents and not = the namespace. >=20 > The idea is to have a filesystem like exportfs, however, it doesn't just = represent the files as is, but applies user-defined filters to the filename= s/paths as well as the file contents. >=20 > Imagine you have a namespace which contains markdown files that end with = .md. Using this overlay filesystem you can present the same namespace, but = convert the filenames using sed (from .md to .html) and when reading, the f= ile contents (from markdown syntax to html syntax). >=20 > The filesystem would be very powerful for exposing plain text data as htm= l, encapsulating data into some predefined layout, and much more. It could = essentially make any plain text filesystem available as regular web-friendl= y html files, convert troff source to postscript, convert plan 9 images to = png, and much more. You can even present device files as json for modern we= b applications. May be create a generic filter-fs that can be controlled with a script that= can be updated via a control interface? Almost a mkfile like script so if = a rule exists for .md -> .html, any listing will show foo.html instead of f= oo.md. Reading foo.html will transparently invoke a conversion program. You= can get pretty clever and may be even install a src dir under /bin this wa= y 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 loca= l cache for all the binaries as they get built! Obviously this should be ca= lled mkfs :-) ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T745cda5087701a0d-Me5af0= 3b18c19111f8ced87fb Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --Apple-Mail-B06F3589-4EA8-4A8C-83F5-9337556D1BCC Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= On Feb 19, 2022, at 3:02 AM, sirjofri <sirjofri+ml-9fans@sirjofri.de>= wrote:
(4) A filesystem that filters = a namespace, but the file contents and not the namespace.

The idea is to have a filesystem like exportfs, howe= ver, it doesn't just represent the files as is, but applies user-define= d filters to the filenames/paths as well as the file contents.
=

Imagine you have a namespace which contains mar= kdown files that end with .md. Using this overlay filesystem you can presen= t the same namespace, but convert the filenames using sed (from .md to .htm= l) and when reading, the file contents (from markdown syntax to html syntax= ).

The filesystem would be very pow= erful for exposing plain text data as html, encapsulating data into some pr= edefined layout, and much more. It could essentially make any plain text fi= lesystem available as regular web-friendly html files, convert troff source= to postscript, convert plan 9 images to png, and much more. You can even p= resent device files as json for modern web applications.

May be create a generic filter-fs that can be controlled with = a script that can be updated via a control interface? Almost a mkfile like = script so if a rule exists for .md -> .html, any listing will show foo.h= tml instead of foo.md. Reading foo.html will transparently invoke a convers= ion program. You can get pretty clever and may be even install a src dir un= der /bin this way to build binaries on the fly! Or even just the presence o= f a mkfile in a filtered directory would be enough for this behavior. Takin= g this further, an installation of a new machine can be made instantaneous!= Just use a local cache for all the binaries as they get built! Obviously t= his should be called mkfs :-)


= --Apple-Mail-B06F3589-4EA8-4A8C-83F5-9337556D1BCC--