Re: Improving the handling of system data (env, users, paths, ...)

Tomas Volf <[email protected]> Sun, 14 Dec 2025 15:06:49 +0100
Newsgroups gmane.lisp.guile.devel
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Rob Browning <[email protected]> writes:

> Olivier Dion <[email protected]> writes:
>
>> Since this is only a concern for system programming, I would argue that
>> only those would need to change the default port strategy.
>>
>> Also, I personally would not want the default to be `error' and prefer
>> `substitute'.  The former would break any program that print a UTF-8
>> string that encodes a Latin character such as `=C3=A9' when run on a CI =
that
>> has `LANG=3DC'.
>
> At the moment, I still feel like unmentioned data-loss should never be
> the default, i.e. I feel like you should know, and have to make a
> choice, if the content of a file, or a path, or an environment variable
> is "unreadable", and we shouldn't just quietly lose the information.
> Though we could still make it easy to say "don't care" globally if
> that's really often desired.

I agree here.  Silent data corruption should never be the default, but
user should be able to opt into it if (for some reason) desired.

Tomas

=2D-=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmk+xHkOHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/wal7+A//acn/hmEbmLLKM65vot5rEgKlv47YFrdCI3/Q
GiGurHu6g8pE3KHIA3N6bBpQ93y+Y/tyY16Rjkowkxd2PpSq7t+/xulNHDwYVqk8
zfsdWkVNZmNCzlckZMEFuvoFPi5EKGAgtD0HAH7IJMAHw8bteXDMPhBcOGsoLDjl
GB1/3Z5Kv+2rIG7fpMqp51afjcUGOCLOBUI8WA0RaAFHUwQw2KKJa1+pmnq6lEmM
sUBLB9ZY6+ChiSgb07CeuqdfxB9W1+S3RR4lM9/nJWX1qRX0pBCEB6JtgS0Tl2Ic
N9PcSciPhmsSY7lok1KB/Dt6NuvtAtC8RD7CGr7hiEk8uKPB5TAJOoLfU1iooT5A
FlVPrlwEHgRo8vdG04nzEAThMTWZAXVPIOtAafXde/P2/orUldrwrlqXp16rQclo
tKbm62y0RexOZDW6+bNyzM1ygKzXTv8GjrhH8rFaWad/N99x4sX7Qw7EArUCdL3v
o0PEwccPawgJjGI8TWcn5qGJxE95NdEIvBTA9DSceR8sZywnVdVgu6+tC+uIhTo3
rlZjqnRo3qZlsN3eEu8v4/IwWiod4izqGVbVtEBovAfCIhFO9Tu7eIGgyMiEiyLk
TK4qG3GeX8X4DlEInrvv4mfyqxH7Oo+OG32ch6kv97IoVU0H1tLcghHV8y2oDXFx
Og/9pG4=
=6/pt
-----END PGP SIGNATURE-----
--=-=-=--