Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2015 13:09:36 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: libXO-ification - Why - and is it a symptom of deeper issues?
Message-ID:  <5648CA60.3060800@freebsd.org>
In-Reply-To: <6EDFB74B-2206-46E7-85F7-8DE05FB6D325@gmail.com>
References:  <0650CA79-5711-44BF-AC3F-0C5C5B6E5BD9@rdsor.ro> <CAJ-Vmokfo_BGWji9TrgQ40oRxqht9-2iEZVon7aQxR_93Ufxyg@mail.gmail.com> <702A1341-FB0C-41FA-AB95-F84858A7B3A4@rdsor.ro> <CAJ-VmoniBAmWTf9MkCCMYhRbPLc=0%2Bz5kRSijXfqX9VZvm8jDg@mail.gmail.com> <5648C60B.6060205@freebsd.org> <6EDFB74B-2206-46E7-85F7-8DE05FB6D325@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--9cBls7lfNEjNBwMboC9donM9edpOWpuND
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2015-11-15 13:06, Garrett Cooper wrote:
>=20
>> On Nov 15, 2015, at 09:51, Andrey Chernov <ache@freebsd.org> wrote:
>>
>>> On 15.11.2015 20:37, Adrian Chadd wrote:
>>>> On 15 November 2015 at 09:10, Dan Partelly <dan_partelly@rdsor.ro> w=
rote:
>>>> Meaning, is that simple to push things in head , if somone does the =
work, even with with no proper review of the problem at hand , and the pr=
oposed solutions ?
>>>
>>> Nope and yup. The juniper folk had a solution to a problem multiple
>>> people had requested work on, and their proposal was by far the
>>> furthest along code and use wise.
>>>
>>> It's all fine and good making technical decisions based on drawings
>>> and handwaving and philosophizing, but at some point someone has to d=
o
>>> the code. Juniper's libxo was the furthest along in implementation an=
d
>>> production.
>>
>> It seems it is the only and final argument for libXO existence. I
>> remember 2 or 3 discussions against libXO spontaneously happens in the=

>> FreeBSD lists, all ended with that, approximately: "we already have th=
e
>> code and you have just speculations". Alternative and more architectur=
e
>> clean ideas, like making standalone template-oriented parser probably
>> based on liXO, are never seriously considered, because nobody will cod=
e
>> it, not for other reasons.
>=20
> We lack a [dtd/json] spec for tools, so programming for xo'ification do=
esn't seems like the best idea in the world to me from a end-user sysadmi=
n/developer perspective.
>=20
> I could just as easily use standard tools like awk, grep, sed, and more=
 advanced languages like perl or Python to parse output, and assuming out=
put doesn't get a major rewrite, I'd just go with that method that's work=
ed pretty well for me over the last 10 years of my career..
>=20
> Cheers,
> -NGie
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"
>=20

The big difference is, a json parser isn't going to blow up if a new
field gets added in the middle, and your awk/grep/sed script probably wil=
l.

--=20
Allan Jude


--9cBls7lfNEjNBwMboC9donM9edpOWpuND
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJWSMpgAAoJEBmVNT4SmAt+R+8P/jLkL4Y9NkIgytzgXssxSDj0
W+dI8jCdVbzO3T5SxPBGkIpACa+wihQ1Ockq/ABonFdJd7+dxNts6TpSB3OJe/AV
Ug5apEWJIDPElTHCODAj1UBHPIXfBriZhumuFHj99olGT7k9sD8sQNpF7hkFazPi
ftfIBLLv9ZS/cquFW76wO1mdhggpu2vtLOv5GaDvrOzNfeP2xgmuBc9ZaU32mylf
1ub9ySoPuuc54/KL/eLwPUFQTbFVODJMaysGXub4/DRgw5R8/sjp4QQUo3LR7cI0
BcAAvMI1M5QAbkXNoAhWw/lNEynH8kTsiATwOa/zp2xmLGBLC0yQfVTsK6YIJNaS
kLEVbDJ1AbUJzvzpATOv7IB4UUDUsjxgtTTrrddL9uJhf8yHesyuiFQ7WhKVnkqE
HoBxxhigVNEr+0eXbhLxeoBtDaX93pnJjU8irCkxDY1E9P5RRepI9Bxy2KunT9Ff
7uClcNORU6c2WSCsLUdFtBc2uB3esSgsIs2I1XPKJhGHZjwXwTy2pX77nSbhpe3n
omE6R86X5RvGIPoVIX+48hKeO6L01uasi6Kstl8khQQjDB1bSxpxPv+04QfbjsSc
sxqIZhWL+JmY99QlPnXSgiIOCve2GlAUnSRSP2jsteGeBVkzArm2tDoT7F50AJgl
w8IPErRWrUK8jyf1OEfS
=idqt
-----END PGP SIGNATURE-----

--9cBls7lfNEjNBwMboC9donM9edpOWpuND--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5648CA60.3060800>