From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: gnunet-guile reboot & guix Date: Sat, 13 Jan 2018 00:49:49 +0000 Message-ID: <20180113004949.svmgkjbgrhydn3jg@abyayala> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4380574493944289124==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gnunet-developers-bounces+gnu-gnunet-developers=m.gmane.org@gnu.org Sender: "GNUnet-developers" To: Amirouche Boubekki Cc: Guix Devel , Gnunet Developers List-Id: guix-devel.gnu.org --===============4380574493944289124== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aofpyls5b5yuc2qx" Content-Disposition: inline --aofpyls5b5yuc2qx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Amirouche Boubekki transcribed 1.5K bytes: > H=C3=A9llo all, >=20 > I restarted from scratch the gnunet-guile bindings. It was made > much easier thanks to the work of ng0 on gnunet documentation and > guile-bytestructures to handle C structs and unions. >=20 > You need guix from today with latest guile-bytestructures 1.0.1. >=20 > You can get the code using the following command: >=20 > git clone git://gnunet.org/gnunet-guile2.git >=20 > You can install a recent-ish gnunet using the following command: >=20 > guix package -f guix.scm >=20 > Then, you can do usual cli dance: >=20 > ./bootstrap && ./configure && make >=20 > Ahem, now it's time to run gnunet services. I put together Would gnunet-service (in GuixSD, and shepherd as user-process on other systems) help here? I wanted to start debugging my service again in february, maybe earlier. I could delegate it to whoever wants to work on it though. > gnunet configuration that might not be very good even if it > works. For instance, it seems like gnunet manages to reach > the outside world. It's based on configuration files found > in gnunet distribution: >=20 > gnunet-arm -c etc/p2.conf -s >=20 > At this point you will be able to test the bindings. >=20 > To publish a FILE, use the following command: >=20 > ./pre-inst-env ./gnunet-guile publish etc/p2.conf FILE >=20 > To download the above file into OUT, you need to copy paste > the gnunet:// URI from the previous command output and execute > the following command: >=20 > ./pre-inst-env ./gnunet-guile download etc/p2.conf URI OUT >=20 > That is all! Hey! Pretty good progress for just a couple of days, very nice! > There is no support for identity and various stuff are missing. > There might be memory leaks and other issues (like proper disjoint > types for pointers). I just finished the code. >=20 > I think I need to know what's the plan/design for gnunet/guix > integration to continue. If you want a (relative) unprocessed summary of its history, it's collected= in here (org-mode recommended): https://gnunet.org/git/infotropique-artwork.git/tree/doc/guix-past-notes.txt Now for the current goals I should manage to reply within a week (searching my notes and past offlist emails). That is of course from my perspective as a GNUnet developer. On various occasions it was made clear to me that FS isn't ready for such usage and we would need to extend it if we start working on it. I could be wrong, but to some degree our implementation of our own designs has some mistakes, if I remember Grothoff right. Bits and pieces without what I came up with in winter 2016: * anonymous levels aren't necessary for sharing code ** update on this: one (or more?) other OS' is looking into Guix+GNUnet as well and I'm not sure if they would rely on anonymity. Imo it makes no sense for the start. anonymity setting 0 would work for a start. Before I share my part of the ideas, maybe someone who wasn't involved in the on-and-off discussions could add their ideas? Fresh ideas could bring new perspectives we haven't seen. For the Guix part I just know that it should be an option, not a default. >=20 > TIA! >=20 >=20 --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is/a/ :: https://ea.n0.is --aofpyls5b5yuc2qx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpZV60ACgkQ4i+bv+40 hYgIjxAAuY4R4k7ubET/OO+kwhKq9i9Sx4XicaWmpsgL3VUsdMUwBM2A9DiQFIoE Gz44DRBHQ6IBy1wwGlNcQz1Pc46eWxAuNMytdzb5jucdSSirTR1ht5sJ/WHek+T9 sKeJ7MianXDA9ihw4kbdpnuCeESFuflUnjtsugEr5mh79AcMvqZhCrD4KpkoQScd UnPSLL2XUBOto4HBtN5q8eOgImv0e3WEiEKOqkrFyIgXitliv+zWMWwQvdowFo6p pRQsEQeeBrtsPxmrZ2Ht5r/CZRncMzBN6hYwsVMIQ/Op7d4Les5GuLN7b90TOLnj 6n7K8wTFYnQdTdw+4fGH8HydeajDm0/PILypR1BNW37bZeJtuj/FysRQgcxptb1H o28tj1BSHa3drGDrJs1B6HsJ1v9HgGoW9kRI5k8zrpY6Mfaeh+spBLmp4ALCMdNW /n0KGCqTmp6U3+Ypv577aj/CqFxDcnG7NrtRozbKJx8DJkHClr9/wTXS0v6kdfLs vijgqMD4Ov+GYRQqS7/BWnFISV9UCCqCF0TnymowlLQphXl344x+3Y3QWIxEk/mx D62ZrPeWIR38G4mLDj0pH3h02YaOcAizXHtbUmNOplH4AYkBFOp1ljNsL3r+PFy3 B/GjRODPlVYBdwMRIcrkM6gsSWAgP0re7bl//G1YNjhIazDwi5o= =PYlr -----END PGP SIGNATURE----- --aofpyls5b5yuc2qx-- --===============4380574493944289124== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers --===============4380574493944289124==--