From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: Demanding Interoperability to Strengthen the Free (Libre) Web: Introducing DISFLUID Date: Sun, 1 Aug 2021 23:27:19 -0700 Message-ID: References: <5cbc279ee59779dcaca73de7745a9d0dbd5abfce.camel@planete-kraus.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Vivien Kraus Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Aug 02 08:27:46 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mARQQ-0007qi-8F for guile-user@m.gmane-mx.org; Mon, 02 Aug 2021 08:27:46 +0200 Original-Received: from localhost ([::1]:58854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mARQO-0005go-UD for guile-user@m.gmane-mx.org; Mon, 02 Aug 2021 02:27:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mARQF-0005gR-HE for guile-user@gnu.org; Mon, 02 Aug 2021 02:27:35 -0400 Original-Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:34733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mARQD-0004Vj-Kp for guile-user@gnu.org; Mon, 02 Aug 2021 02:27:35 -0400 Original-Received: by mail-pl1-x62d.google.com with SMTP id d1so18583205pll.1 for ; Sun, 01 Aug 2021 23:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2d2Dhj0jNEXTRN0fGeqIM1fquuoZ9Q99nnG3h5wioIs=; b=FyyCstCqXk/EQaCWnpcCbDTrq7obdUi+gCcRJg5UbVeg9taO7HcgfDUqbmeEA2k3sY Of1PGanqfIiEeRJKKkK34uk/rmwvyJcupmf+rVgJze9EnGsQwxFl/TV6Ab4Sc18enSr1 xa94R2YR8QTyfibN8Fi9iQ122noULXR17nCYtWuQTYd+WSNMbyb4h3kPxeMAgNEUP7We 2iqxq3AWLttrTvRtPkLIr9zHsoLWmMlFo4XayCDdZ8eaw5rLSAWYOQ9HCARU2w+nqVRh 9mRVmuRNKlB07RJsCU+KDB+qUfIDCJbynLR30qclJ92HOSvTcOy4LHtwoPOISM+1O18j cQ4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2d2Dhj0jNEXTRN0fGeqIM1fquuoZ9Q99nnG3h5wioIs=; b=FsYvmY+0pSD5fLlp9MjTXoTG5yxCllhcJHCeV6DA0TT+OmDkVRuB6nPCua3gxMofgn 7j85ugIBb4MoiMdNdwRHsRwX+B/+GMpDKCSZrUmZYoNU6y7XRjNeal660gpbXr5N0e3R cDoCDpEyZyx/kEkrKcXqNn8h/9PUaHyToh/FCe3I9ErP7OwE11HAUFd76zsJIPSnNdCD kyjq21tmr6GOwt4KsMWwQJbwhb4JP34mx9ixtcH9rfI6Jq6e+jBOVMvPUJs/ll1ekTLo hivDlVZDvylsozRxfPsXIjj68FwOfVOORNAOWDYoiBWo9FJgvrYOBC06+IIIGHlz8o0f gh9w== X-Gm-Message-State: AOAM532p59fG66oYJxaZjV4gpYvC8+f+2VRykLHcoD0Ua3bfkTdIMxly fnsq7idaDJk2kOhj1l/JeTcACMZI4JC7DobIWoouQbJruGULmQ== X-Google-Smtp-Source: ABdhPJxatI+Z7/GiKEyqg0W0otxKq/GKtnoTjsF9e1EivGgRL0+YJThmZBad69c9fr0murBiNOaSn8S6PTlve9lq4rQ= X-Received: by 2002:a17:90a:d245:: with SMTP id o5mr3266076pjw.28.1627885651039; Sun, 01 Aug 2021 23:27:31 -0700 (PDT) In-Reply-To: <5cbc279ee59779dcaca73de7745a9d0dbd5abfce.camel@planete-kraus.eu> Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=aconchillo@gmail.com; helo=mail-pl1-x62d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17659 Archived-At: Hi Vivien, This sounds great even though I don't fully understand it :-) but I'm starting to read a little bit about Solid (and Disfluid). While I was reading I found this: """ Both the header and the payload use the JSON representation from srfi-180: objects are alists of symbols to values, arrays are vectors. It is unfortunate that guile-json has a slightly different representation, where alist keys are strings, but we hope that in the future SRFI-180 will be more closely respected. """ Unfortunately guile-json doesn't follow srfi-180 api (it was created much sooner), but regarding alists' keys it can support both symbols and strings. So you can do (scm->json '((foo . "bar"))) or (scm->json '(("foo" . "bar"))) and both would work the same. By the way, a long time ago I also worked on guile-jwt ( https://github.com/aconchillo/guile-jwt) which is SUPER basic compared to what you've done. I was planning to add JWK support at some point. I'm wondering if we could take your code and merge it into guile-jwt so other projects can use it. What do you think? Right now I don't have much time but if you say it's fine I could work on it whenever I'm free. Thank you! Aleix On Fri, Jul 30, 2021 at 4:21 AM Vivien Kraus via General Guile related discussions wrote: > > Hello Guile users, > > I=E2=80=99m writing a Solid server in guile: > > https://disfluid.planete-kraus.eu/ > https://labo.planete-kraus.eu/webid-oidc.git/ > > The main point of Solid [1] is to separate the web applications from > the data they use in an interoperable way. > > It=E2=80=99s in the spirit of Activitypub, but closer to the current > architecture of the web. So, whenever you see "Log in with silo>", you could easily demand that the application let you log in > with your identity on your Solid pod. > > If that takes off, we=E2=80=99ll be able to run any competing web applica= tion > with any data storage ("pod"), because the communication is > interoperable and the vocabulary used is public. Which means that we > will be able to easily replace proprietary program with free programs! > The best thing is, we won=E2=80=99t even need to develop for a web browse= r. > That=E2=80=99s a cool solution to the JavaScript trap. > > Now, we need to make sure that there is a freedom-respecting way to > develop applications. This is why I=E2=80=99m writing this project. With = a > clear focus on user freedom, we will maximize our chances to avoid the > future JS traps. In this regard, disfluid is not Solid. > > [1]: https://solidproject.org/ >