Date: Fri, 11 Jul 2014 01:53:00 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: Jordan Hubbard <jordanhubbard@me.com> Cc: Ed Schouten <ed@80386.nl>, Adrian Chadd <adrian@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, David Chisnall <David.Chisnall@cl.cam.ac.uk>, Nathan Whitehorn <nwhitehorn@freebsd.org>, Pietro Cerutti <gahr@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r268491 - head/usr.bin/users Message-ID: <20140710235300.GG93051@ivaldir.etoilebsd.net> In-Reply-To: <172E965B-FCFE-4DA8-A845-08AEF931BD3B@me.com> References: <CAJOYFBCQjjN7ep12zivnmFjfeeP1SeoYa963mQbMJr9DD%2BfUnw@mail.gmail.com> <20140710152353.GF1812@ptrcrt.ch> <CAJOYFBDZiEpQ5e86%2BdBhRZobSjdf785bKBwh%2B3Eywhzn_iJJCQ@mail.gmail.com> <20140710154213.GG1812@ptrcrt.ch> <20140710155342.GB93051@ivaldir.etoilebsd.net> <CAJOYFBCMtnrdM96H9F86UsU=-7w-97N%2BKdBqYGihugD3W0%2BrbA@mail.gmail.com> <53BEC65D.10501@freebsd.org> <CAJ-VmomZ3o9YxCr6GSn0DEahOv0XXBow8Rgt10EoT6KAM2hjew@mail.gmail.com> <4B20737F-FB09-47DF-982F-E17F8989B83F@cl.cam.ac.uk> <172E965B-FCFE-4DA8-A845-08AEF931BD3B@me.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--9/eUdp+dLtKXvemk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 10, 2014 at 01:26:18PM -0700, Jordan Hubbard wrote: >=20 > On Jul 10, 2014, at 10:20 AM, David Chisnall <David.Chisnall@cl.cam.ac.uk= > wrote: >=20 > > This is important in a wider context. For example, in the project to a= dd machine-readable output to core utilities, we'd like to be able to parse= these into the same machine-readable format. Apple has the CoreFoundation= library for this, which provides a load of stuff, but most importantly num= ber, string, date, dictionary, and array types (i.e. the sorts of things th= at you'd want in JSON-like serialisation formats). >=20 > Just as important as CoreFoundation are APIs like CFPreferences. I find = it frankly horrifying that in the year 2014, anyone who writes a new daemon= or system service will have to invent their own ad-hoc configuration file = format in /etc (because, you know, there really aren't enough of them there= now) as well as their own out-of-band mechanism for detecting when the con= figuration data changes. Having a data serialization format would the first= step. >=20 We do have libucl in base for that purpose exactly. regards, Bapt --9/eUdp+dLtKXvemk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlO/J1wACgkQ8kTtMUmk6EyDsgCgiMMVIqMWVOudoUT8C18oz3lY 3iEAoKldTweAxtw+SehKVWKo8nBNabfF =DZhU -----END PGP SIGNATURE----- --9/eUdp+dLtKXvemk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140710235300.GG93051>