Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

COBOL is for morons. -- E. W. Dijkstra


computers / comp.os.vms / Re: openvms and xterm

SubjectAuthor
* openvms and xtermmotk
+* Re: openvms and xtermArne Vajhøj
|`- Re: openvms and xtermScott Dorsey
+* Re: openvms and xtermDave Froble
|+- Re: openvms and xtermGrant Taylor
|`- Re: openvms and xtermScott Dorsey
`* Re: openvms and xtermMatthew R. Wilson
 `* Re: openvms and xtermArne Vajhøj
  `* Re: openvms and xtermmotk
   +* Re: openvms and xtermArne Vajhøj
   |`* Re: openvms and xtermmotk
   | +- Re: openvms and xtermArne Vajhøj
   | `* Re: openvms and xtermGrant Taylor
   |  `* Re: openvms and xtermmotk
   |   +* Re: openvms and xtermGrant Taylor
   |   |+- Re: openvms and xtermDan Cross
   |   |`* Re: openvms and xtermDave Froble
   |   | `- Re: openvms and xtermDan Cross
   |   `* Re: openvms and xtermLawrence D'Oliveiro
   |    `* Re: openvms and xtermGrant Taylor
   |     `- Re: openvms and xtermLawrence D'Oliveiro
   +* Re: openvms and xtermChris Townley
   |`* Re: openvms and xtermmotk
   | `* Re: openvms and xtermChris Townley
   |  `* Re: openvms and xtermGrant Taylor
   |   `* Re: openvms and xtermmotk
   |    +- Re: openvms and xtermGrant Taylor
   |    `* Re: openvms and xtermArne Vajhøj
   |     `* Re: openvms and xtermDan Cross
   |      `* Re: openvms and xtermArne Vajhøj
   |       `* Re: openvms and xtermDan Cross
   |        `- Re: openvms and xtermmotk
   +* Re: openvms and xtermchrisq
   |`* Re: openvms and xtermmotk
   | +* Re: openvms and xtermJohn Dallman
   | |+* Re: openvms and xtermchrisq
   | ||+* Re: openvms and xtermLawrence D'Oliveiro
   | |||+* Re: openvms and xtermchrisq
   | ||||+* Re: openvms and xtermDan Cross
   | |||||+- Re: openvms and xtermSingle Stage to Orbit
   | |||||`* Re: openvms and xtermchrisq
   | ||||| +* Re: openvms and xtermBob Eager
   | ||||| |`* Re: openvms and xtermLawrence D'Oliveiro
   | ||||| | +- Re: openvms and xtermBob Eager
   | ||||| | +* Re: openvms and xtermArne Vajhøj
   | ||||| | |`* Re: openvms and xtermLawrence D'Oliveiro
   | ||||| | | +* Re: openvms and xtermAndreas Eder
   | ||||| | | |`* Re: openvms and xtermLawrence D'Oliveiro
   | ||||| | | | `- Re: openvms and xtermBob Eager
   | ||||| | | +* Re: openvms and xtermScott Dorsey
   | ||||| | | |`* Re: openvms and xtermGrant Taylor
   | ||||| | | | `- Re: openvms and xtermScott Dorsey
   | ||||| | | `* Re: openvms and xtermmotk
   | ||||| | |  +- Re: openvms and xtermArne Vajhøj
   | ||||| | |  `- Re: openvms and xtermLawrence D'Oliveiro
   | ||||| | `* Re: openvms and xtermmotk
   | ||||| |  `* Re: openvms and xtermLawrence D'Oliveiro
   | ||||| |   `- Re: openvms and xtermmotk
   | ||||| `* Re: openvms and xtermLawrence D'Oliveiro
   | |||||  `* Re: openvms and xtermScott Dorsey
   | |||||   `* Re: openvms and xtermGrant Taylor
   | |||||    +* Re: openvms and xtermArne Vajhøj
   | |||||    |+* Re: systemd (was Re: openvms and xterm)Lawrence D'Oliveiro
   | |||||    ||+* Re: systemd (was Re: openvms and xterm)Arne Vajhøj
   | |||||    |||`- Re: systemd (was Re: openvms and xterm)Lawrence D'Oliveiro
   | |||||    ||`* Re: systemd (was Re: openvms and xterm)Andreas Eder
   | |||||    || +* Re: systemd (was Re: openvms and xterm)Lawrence D'Oliveiro
   | |||||    || |`* Re: systemd (was Re: openvms and xterm)Arne Vajhøj
   | |||||    || | `* Re: systemd (was Re: openvms and xterm)Lawrence D'Oliveiro
   | |||||    || |  +- Re: systemd (was Re: openvms and xterm)Arne Vajhøj
   | |||||    || |  `* Re: systemd (was Re: openvms and xterm)Matthew R. Wilson
   | |||||    || |   `- Re: systemd (was Re: openvms and xterm)Arne Vajhøj
   | |||||    || `- Re: systemd (was Re: openvms and xterm)motk
   | |||||    |`- Re: openvms and xtermmotk
   | |||||    +* Re: openvms and xtermAndreas Eder
   | |||||    |+* Re: openvms and xtermGrant Taylor
   | |||||    ||`* Re: openvms and xtermSimon Clubley
   | |||||    || +* Re: openvms and xtermDan Cross
   | |||||    || |`* Re: openvms and xtermScott Dorsey
   | |||||    || | +- Re: openvms and xtermDave Froble
   | |||||    || | +* Re: openvms and xtermDan Cross
   | |||||    || | |`* Re: openvms and xtermGrant Taylor
   | |||||    || | | `- Re: openvms and xtermmotk
   | |||||    || | `- Re: openvms and xtermmotk
   | |||||    || `- Re: openvms and xtermGrant Taylor
   | |||||    |+* Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||`* Re: openvms and xtermArne Vajhøj
   | |||||    || `* Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||  +* Re: openvms and xtermArne Vajhøj
   | |||||    ||  |`* Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||  | `* Re: openvms and xtermArne Vajhøj
   | |||||    ||  |  `- Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||  `* Re: openvms and xtermDavid Goodwin
   | |||||    ||   `* Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||    `* Re: openvms and xtermDavid Goodwin
   | |||||    ||     `* Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||      +* Re: openvms and xtermArne Vajhøj
   | |||||    ||      |`* Re: openvms and xtermLawrence D'Oliveiro
   | |||||    ||      | `* Re: openvms and xtermArne Vajhøj
   | |||||    ||      |  `- Re: openvms and xtermScott Dorsey
   | |||||    ||      `* Re: openvms and xtermDavid Goodwin
   | |||||    |`- Re: openvms and xtermmotk
   | |||||    `* Re: openvms and xtermmotk
   | ||||+* Re: openvms and xtermLawrence D'Oliveiro
   | ||||`- Re: openvms and xtermmotk
   | |||`* Re: openvms and xtermmotk
   | ||+* Re: openvms and xtermRobert A. Brooks
   | ||`* Re: openvms and xtermmotk
   | |+* Re: openvms and xtermmotk
   | |`- Re: openvms and xtermArne Vajhøj
   | `* Re: openvms and xtermSimon Clubley
   `* Re: openvms and xtermMarc Van Dyck

Pages:123456789101112
Re: openvms and xterm

<v09r3p$236pc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34275&group=comp.os.vms#34275

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 02:34:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <v09r3p$236pc$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me>
<memo.20240419224411.10388M@jgd.cix.co.uk> <uvv0sm$391l2$1@dont-email.me>
<uvv2nf$392q8$6@dont-email.me> <v044tj$gqf3$2@dont-email.me>
<v08e8j$1l9pq$1@dont-email.me> <v09aed$1s2pn$2@dont-email.me>
<v09ohk$1uss2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Apr 2024 04:34:34 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="13b1d2d556e95ece6587b97b13572e96";
logging-data="2202412"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cteXtmub5wz3xeJ9r4fP4"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:1yDmw65ZNXM4y8bbQ1nXYoiviDY=
 by: Lawrence D'Oliv - Wed, 24 Apr 2024 02:34 UTC

On Tue, 23 Apr 2024 21:50:43 -0400, Hunter Goatley wrote:

> Not the source I would refer to.

You are certainly no “source” I would treat as credible.

Re: openvms and xterm

<v09vfb$2420c$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34276&group=comp.os.vms#34276

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: yep@yep.yep (motk)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 13:48:59 +1000
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <v09vfb$2420c$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me>
<memo.20240419224411.10388M@jgd.cix.co.uk> <uvv0sm$391l2$1@dont-email.me>
<uvv2nf$392q8$6@dont-email.me> <v044tj$gqf3$2@dont-email.me>
<v08e8j$1l9pq$1@dont-email.me> <v09aed$1s2pn$2@dont-email.me>
<v09ohk$1uss2$1@dont-email.me> <v09r3p$236pc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Apr 2024 05:49:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="996a815d3a9e48770bfbb8db2d3ddf06";
logging-data="2230284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZGDCz6ARUOcqFedxiSw6y"
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:amdajjZcv8fkehyAvdTWTFRXL1g=
In-Reply-To: <v09r3p$236pc$1@dont-email.me>
Content-Language: en-US
 by: motk - Wed, 24 Apr 2024 03:48 UTC

On 24/4/24 12:34, Lawrence D'Oliveiro wrote:
> On Tue, 23 Apr 2024 21:50:43 -0400, Hunter Goatley wrote:
>
>> Not the source I would refer to.
>
> You are certainly no “source” I would treat as credible.

How I've missed you, usenet.

--
motk

Re: openvms and xterm

<MPG.40935a113fb48f8d9896cf@news.zx.net.nz>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34277&group=comp.os.vms#34277

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-3.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.netnews.com!s1-1.netnews.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
From: david+usenet@zx.net.nz (David Goodwin)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Message-ID: <MPG.40935a113fb48f8d9896cf@news.zx.net.nz>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com> <v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me> <v01iun$ck7$1@panix2.panix.com> <v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net> <874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me> <v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
Organization: zxnet
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 8bit
User-Agent: MicroPlanet-Gravity/3.0.6
Lines: 55
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 24 Apr 2024 05:06:04 UTC
Date: Wed, 24 Apr 2024 17:04:36 +1200
X-Received-Bytes: 3462
X-Original-Bytes: 3411
 by: David Goodwin - Wed, 24 Apr 2024 05:04 UTC

In article <v04epp$jd4t$1@dont-email.me>, ldo@nz.invalid says...
>
> On Sun, 21 Apr 2024 19:14:59 -0400, Arne Vajhøj wrote:
>
> > On 4/21/2024 7:07 PM, Lawrence D'Oliveiro wrote:
> >>
> >> On Sun, 21 Apr 2024 11:20:03 +0200, Andreas Eder wrote:
> >>>
> >>> I think the problem is that they grew up in a Windows dominated world,
> >>> not like us greybeards.
> >>
> >> If only Windows had Linux-style service management, don?t you think?
> >> Imagine being able to add/remove, enable/disable and start/stop
> >> individual services without having to reboot the entire system!
> >
> > They don't need to imagine. They have been doing that for decades.

Indeed. If anything, Linux has acquired Windows NT style service
management and logging with systemd. There is no general requirement to
reboot for managing services. But some specific services can't always be
safely restarted on a running system.

Things like device drivers, filesystem drivers, the win32 environment
subsystem (of which csrss.exe is the usermode part), core system
libraries.

Linux is no different here. Want to upgrade your X server? Going to have
to at least restart all X11 apps. Want your update to Gtk or Qt to
actually take effect? All software using those is going to have to be
restarted. Rather than trying to figure out which software is or isn't
affected by some library update its easer to just reboot the whole
machine.

> Windows can?t even update a DLL that is in use by running processes. I
> suppose it inherited that file-locking mentality from VMS.
>
> Look at the long list of reasons why Windows needs a reboot here, from
> Microsoft itself:
> <https://learn.microsoft.com/en-us/troubleshoot/windows-server/installing-updates-features-roles/why-prompted-restart-computer>.

Those reasons all look pretty reasonable to me. You'd usually have to
reboot on Linux for most of those reasons too if you want the update to
actually take effect.

Remember that Windows NT doesn't have a monolithic kernel like Linux.
Just because its a .exe or .dll doesn't mean its some trivial user-space
thing that the system can continue running without.

For example, the csrss.exe mentioned in the article is the user-space
chunk of the Win32 environment subsystem - the thing that allows Windows
NT to run regular windows software.

And some services are actually hardware device drivers, or filesystem
drivers. Some drivers support being restarted online (graphics drivers
usually), but others are not so safely restarted on a running system.

Re: openvms and xterm

<v0a5vu$25fmt$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34278&group=comp.os.vms#34278

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 05:40:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <v0a5vu$25fmt$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me>
<v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
<MPG.40935a113fb48f8d9896cf@news.zx.net.nz>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Apr 2024 07:40:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="13b1d2d556e95ece6587b97b13572e96";
logging-data="2277085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MsLZkG8OopiEZRJl98xwj"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:liWmPTuddaoZRIGmGJuaD5ucUuE=
 by: Lawrence D'Oliv - Wed, 24 Apr 2024 05:40 UTC

On Wed, 24 Apr 2024 17:04:36 +1200, David Goodwin wrote:

> If anything, Linux has acquired Windows NT style service
> management and logging with systemd.

Did you know that systemd uses text-based config files in .INI format? The
same format Microsoft invented for Windows back in the 1980s, then junked
in favour of that stinking cesspool known as the Registry?

> Linux is no different here. Want to upgrade your X server? Going to have
> to at least restart all X11 apps.

That’s just logging out of a GUI session and logging in again.

And remember, you can have multiple GUI sessions logged in at once.

> For example, the csrss.exe mentioned in the article is the user-space
> chunk of the Win32 environment subsystem - the thing that allows Windows
> NT to run regular windows software.

There’s nothing like that needed on Linux.

Re: openvms and xterm

<MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34279&group=comp.os.vms#34279

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
From: david+usenet@zx.net.nz (David Goodwin)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Message-ID: <MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com> <v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me> <v01iun$ck7$1@panix2.panix.com> <v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net> <874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me> <v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me> <MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me>
Organization: zxnet
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 8bit
User-Agent: MicroPlanet-Gravity/3.0.6
Lines: 52
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 24 Apr 2024 09:54:04 UTC
Date: Wed, 24 Apr 2024 21:52:36 +1200
X-Received-Bytes: 3552
 by: David Goodwin - Wed, 24 Apr 2024 09:52 UTC

In article <v0a5vu$25fmt$1@dont-email.me>, ldo@nz.invalid says...
>
> On Wed, 24 Apr 2024 17:04:36 +1200, David Goodwin wrote:
>
> > If anything, Linux has acquired Windows NT style service
> > management and logging with systemd.
>
> Did you know that systemd uses text-based config files in .INI format? The
> same format Microsoft invented for Windows back in the 1980s, then junked
> in favour of that stinking cesspool known as the Registry?

I do, I've written them before. But thats just the configuration storage
format - the actual service management capabilities at this point is
pretty similar. Here Linux is picking up features that Windows NT (and
commercial Unix) has had for decades.

> > Linux is no different here. Want to upgrade your X server? Going to have
> > to at least restart all X11 apps.
>
> That?s just logging out of a GUI session and logging in again.
>
> And remember, you can have multiple GUI sessions logged in at once.

Yes, but for most people (myself included), there isn't much difference
between logging off and on again and a full reboot. Either way I've
still got to open all my stuff again and having to re-open all my stuff
is the entire problem with rebooting.

Multiple sessions isn't a help here either unless you've got some
mechanism in place to move clients between X servers during the upgrade.
I guess you could do the same on Windows (it supports multiple sessions
too) but the benefits likely don't outweigh the costs of all the added
complexity.

> > For example, the csrss.exe mentioned in the article is the user-space
> > chunk of the Win32 environment subsystem - the thing that allows Windows
> > NT to run regular windows software.
>
> There?s nothing like that needed on Linux.

Linux still has a userspace API - the implementation of it is just all
statically linked into the kernel. If you want to update the parts that
make up its userspace API thats a kernel update and a reboot, just like
on Windows.

The difference here is that Windows NT isn't limited to a single
userspace API/personality, historically it provided three (Win32, OS/2
and POSIX) in addition to its own Native API. These lived entirely in
userspace rather than statically linked into the kernel with the first
user-space process (the Session Manager Subsystem) responsible for
starting them along with the Service Control Manager, the Local Security
Authority Subsystem Service, Windows Logon and other bits.

Re: openvms and xterm

<v0b4hl$jki$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34280&group=comp.os.vms#34280

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 14:21:41 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <v0b4hl$jki$1@reader1.panix.com>
References: <uvtjbq$2ujbg$3@dont-email.me> <v09ohk$1uss2$1@dont-email.me> <v09r3p$236pc$1@dont-email.me> <v09vfb$2420c$1@dont-email.me>
Injection-Date: Wed, 24 Apr 2024 14:21:41 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="20114"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Wed, 24 Apr 2024 14:21 UTC

In article <v09vfb$2420c$1@dont-email.me>, motk <yep@yep.yep> wrote:
>On 24/4/24 12:34, Lawrence D'Oliveiro wrote:
>> On Tue, 23 Apr 2024 21:50:43 -0400, Hunter Goatley wrote:
>>
>>> Not the source I would refer to.
>>
>> You are certainly no “source” I would treat as credible.
>
>How I've missed you, usenet.

I'm always shocked and dismayed at how people many want to keep
arguing with the village idiot. Just plonk the guy and move on.
Life is too short to waste on the Lawrence's of the world.

- Dan C.

Re: openvms and xterm

<v0bhum$laq$1@panix2.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34281&group=comp.os.vms#34281

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: kludge@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: 24 Apr 2024 18:10:30 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 23
Message-ID: <v0bhum$laq$1@panix2.panix.com>
References: <uvtjbq$2ujbg$3@dont-email.me> <v07105$j0l$1@tncsrv09.home.tnetconsulting.net> <v07268$hqd$1@panix2.panix.com> <v075f7$2vj$2@reader1.panix.com>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="9041"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Wed, 24 Apr 2024 18:10 UTC

Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>The thing is, when you're working at scale, managing services
>across tens of thousands of machines, you quickly discover that
>shit happens. Things sometimes crash randomly; often this is
>due to a bug, but sometimes it's just because the OOM killer got
>greedy due to the delayed effects of a poor scheduling decision,
>or there was a dip on one of the voltage rails and a DIMM lost a
>bit, or a job landed on a machine that's got some latent
>hardware fault and it just happened to wiggle things in just the
>right way so that a 1 turned into a 0 (or vice versa), or any
>number of other things that may or may not have anything to do
>with the service itself.

Oh, I understand this completely. I have stood in the middle of a large
colocation facility and listened to Windows reboot sounds every second or
two coming from different places in the room each time.

What I don't necessarily understand is why people consider this acceptable.
People today just seem to think this is the normal way of doing business.
Surely we can do better.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: openvms and xterm

<v0bl8c$qbt$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34282&group=comp.os.vms#34282

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 19:06:52 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <v0bl8c$qbt$1@reader1.panix.com>
References: <uvtjbq$2ujbg$3@dont-email.me> <v07268$hqd$1@panix2.panix.com> <v075f7$2vj$2@reader1.panix.com> <v0bhum$laq$1@panix2.panix.com>
Injection-Date: Wed, 24 Apr 2024 19:06:52 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="27005"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Wed, 24 Apr 2024 19:06 UTC

In article <v0bhum$laq$1@panix2.panix.com>,
Scott Dorsey <kludge@panix.com> wrote:
>Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>The thing is, when you're working at scale, managing services
>>across tens of thousands of machines, you quickly discover that
>>shit happens. Things sometimes crash randomly; often this is
>>due to a bug, but sometimes it's just because the OOM killer got
>>greedy due to the delayed effects of a poor scheduling decision,
>>or there was a dip on one of the voltage rails and a DIMM lost a
>>bit, or a job landed on a machine that's got some latent
>>hardware fault and it just happened to wiggle things in just the
>>right way so that a 1 turned into a 0 (or vice versa), or any
>>number of other things that may or may not have anything to do
>>with the service itself.
>
>Oh, I understand this completely. I have stood in the middle of a large
>colocation facility and listened to Windows reboot sounds every second or
>two coming from different places in the room each time.
>
>What I don't necessarily understand is why people consider this acceptable.
>People today just seem to think this is the normal way of doing business.
>Surely we can do better.

Because it's the law of large numbers, not any particular fault
that can be reasonably addressed by an individual, organization,
etc.

If a marginal solder joint mechanically weakened by a bumpy ride
in a truck causes something to short, and that current draw on a
bus spikes over some threshold, pulling a voltage regulator out
of spec and causing voltage to sag by some nominal amount that
pulls another component on a different server below its marginal
threshold for a logic value and a bit flips, what are you, the
software engineer, supposed to do to tolerate that, let alone
recover from it? It's not a software bug, it's the confluence
of a large number of factors that only emerge when you run at a
scale with tens or hundreds of thousands of systems.

Google had a datacenter outage once, due to a diesel generator
catching on fire; there was a small leak and the ambient
temperature in the room with the generator exceeded the fuel's
flashpoint. "How does that happen?" you ask, since the auto
ignition temperatore of diesel fuel is actually pretty high. It
turns out that that is for liquids, and doesn't apply if the
fuel is aerosolized; the particular failure mode here was a
hairline fracture in the generator's fuel manifold. Diesel
forced through it was aerosolized and the ambient temperature
hit the fuel's flashpoint. Whoops. Cummins had never seen that
failure mode before; it was literally one in a million. The
solution, incidentally, was to wrap a flash-resistent cloth
around the manifold; basically putting a diaper on it, to keep
escaped fuel liquid.

Can we do better? Maybe. There were some lessons learned in
that failure; in part, making sure that the battery room doesn't
flood if the generator catches on fire (another part of the
story). But the reliability of hyperscalar operations is
already ridiculously high. They do it by using redundency and
designing in an _expectation_ of failure: multiple layers of
redundent load balancers, sharding traffic across multiple
backends, redundant storage in multiple geolocations, etc. But
a single computer failing and rebooting? That's expected. The
enterprise is, of course, much further behind, but I'd argue on
balance even they do all right, all things considered.

- Dan C.

Re: openvms and xterm

<v0c0a6$2ihq5$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34283&group=comp.os.vms#34283

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 22:15:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <v0c0a6$2ihq5$2@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me>
<v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
<MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me>
<MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 00:15:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="962cdf4b668ef58e236ab9c5f423d5d6";
logging-data="2705221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LytQajJRoRVw6RvEV7NuM"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:goKvROoOY4QuagJwZqSStu9MRWY=
 by: Lawrence D'Oliv - Wed, 24 Apr 2024 22:15 UTC

On Wed, 24 Apr 2024 21:52:36 +1200, David Goodwin wrote:

> The difference here is that Windows NT isn't limited to a single
> userspace API/personality, historically it provided three (Win32, OS/2
> and POSIX) in addition to its own Native API.

That’s the theory. In practice, it doesn’t seem to have worked very well.
The POSIX “personality” for example, was essentially unusable.

When the Windows engineers were working on WSL1, emulating Linux kernel
APIs on Windows, you would think they would have used this “personality”
system. But they did not. I suspect it had already bitrotted into
nonfunctionality by that point.

In the end, they had to give up, and bring in an honest-to-goodness Linux
kernel, in WSL2.

Re: openvms and xterm

<v0c3na$2jb0c$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34284&group=comp.os.vms#34284

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.samoylyk.net!nyheter.lysator.liu.se!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 19:13:44 -0400
Organization: A noiseless patient Spider
Lines: 77
Message-ID: <v0c3na$2jb0c$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me>
<v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
<MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me>
<MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz> <v0c0a6$2ihq5$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 01:13:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2731020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DpbMowTyf+a1HW2rLeaOVCnM5XLyV7+I="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:i7pdII56RRTxY6GbD0QIYxm2z6Q=
Content-Language: en-US
In-Reply-To: <v0c0a6$2ihq5$2@dont-email.me>
 by: Arne Vajhøj - Wed, 24 Apr 2024 23:13 UTC

On 4/24/2024 6:15 PM, Lawrence D'Oliveiro wrote:
> On Wed, 24 Apr 2024 21:52:36 +1200, David Goodwin wrote:
>> The difference here is that Windows NT isn't limited to a single
>> userspace API/personality, historically it provided three (Win32, OS/2
>> and POSIX) in addition to its own Native API.
>
> That’s the theory. In practice, it doesn’t seem to have worked very well.
> The POSIX “personality” for example, was essentially unusable.

My impression is that it worked fine.

But that customers were not interested.

Similar to VMS Posix kit.

> When the Windows engineers were working on WSL1, emulating Linux kernel
> APIs on Windows, you would think they would have used this “personality”
> system. But they did not.

Lowest common denonimator for Unix API's from the early 1990's was
probably not interesting.

> I suspect it had already bitrotted into
> nonfunctionality by that point.

Not keeping uptodate with evolution for 25 years.

> In the end, they had to give up, and bring in an honest-to-goodness Linux
> kernel, in WSL2.

Developers wanted the real thing.

Posix approach
--------------

If:

source--compiler--special executables--Posix API lib--Posix
subsystem--Windows

works then hope that:

source--standard Linux compiler--Linux executables--standard Linux
lib--standard Linux kernel

also works.

WSL1 approach
-------------

If:

source--Linux compiler--Linux executables--standard Linux lib--Linux
kernel emulation--Windows

works then hope that:

--Linux executables--standard Linux lib--standard Linux kernel

also works.

WSL1 approach
-------------

If:

source--Linux compiler--Linux executables--standard Linux lib--Linux
kernel--VM--Windows

works then know that:

--Linux executables--standard Linux lib--standard Linux kernel

also works.

Arne

Re: openvms and xterm

<v0c4md$2jglv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34285&group=comp.os.vms#34285

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 19:30:20 -0400
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <v0c4md$2jglv$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me>
<memo.20240419224411.10388M@jgd.cix.co.uk> <uvv0sm$391l2$1@dont-email.me>
<uvv5ea$39pjn$1@dont-email.me> <l8hqvqF695pU1@mid.individual.net>
<v00nkh$2vf$1@tncsrv09.home.tnetconsulting.net>
<v01flr$3t449$4@dont-email.me> <v01hba$3tgm7$1@dont-email.me>
<v046rp$hqa7$3@dont-email.me> <v05m30$ugqt$4@dont-email.me>
<v06uj9$17n99$4@dont-email.me>
<v071bo$j0l$3@tncsrv09.home.tnetconsulting.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 01:30:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2736831"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9vrdnPUJRUCYn/DwBXjjzcJ1BwWKC5Vg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:M+v2r8ZcrGo8Ebk05JKMIysWRLM=
In-Reply-To: <v071bo$j0l$3@tncsrv09.home.tnetconsulting.net>
Content-Language: en-US
 by: Arne Vajhøj - Wed, 24 Apr 2024 23:30 UTC

On 4/22/2024 9:02 PM, Grant Taylor wrote:
> On 4/22/24 19:15, motk wrote:
>> I dunno, I'm not unintelligent but have you seen how much stress a
>> browser engine has to endure? Thousands of people with phds smash
>> these things to bits on the regular. Hundreds of thousands of people
>> use electron/react/whatever apps every day and never notice. Grousing
>> about this isn't a good look anymore.
>
> How much more productive work is done with a contemporary web browser in
> 2024 than in 2004 or even in 1998 (save for encryption)?

A lot I would say.

Most of email has moved to web.

A good chunk of office has moved to web (Google, MS in web mode).

Enabled by a combination of:
* faster PC's
* more standardized HTML & CSS - no more "requires IE x.0"
* faster JavaScript engines (JIT compiling)

> How much more productive work are computers doing in general in 2024
> than in 1994?

The world has become digitalized. A huge part of paper work
is now all electronic.

And also outside the administrative stuff. Try compare how a 2024
car works compared to a 1994 car.

> Have the frameworks and fancy things that are done in 2024 actually
> improved things?

They have enabled a lot of new stuff.

> I feel like there is massively disproportionately more computation power
> / resources consumed for very questionable things with not much to show
> for it.  Think what could have been done in the mid '90s with today's
> computing resources.

Software is changing due to hardware changes.

If you in 1994 could solve a problem in two ways:

A - super cool, takes 100 seconds
B - acceptable, takes 1 second

you picked B.

In 2024 it is:

A - super cool, takes 0.1 second
B - acceptable, takes 0.001 second

you pick A.

Arne

Re: openvms and xterm

<v0c6t7$2jtvn$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34286&group=comp.os.vms#34286

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 20:08:06 -0400
Organization: A noiseless patient Spider
Lines: 154
Message-ID: <v0c6t7$2jtvn$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v05omg$cnu$1@panix2.panix.com>
<v05ruf$gf7$1@reader1.panix.com> <v088m8$1juj9$1@dont-email.me>
<v08bj2$ct6$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 25 Apr 2024 02:08:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2750455"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FgjjDQTiDrYeftrtLVC4OYITN61nPdOw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tDSF5PkRpdbu8429xgtY1II/dDA=
In-Reply-To: <v08bj2$ct6$1@reader1.panix.com>
Content-Language: en-US
 by: Arne Vajhøj - Thu, 25 Apr 2024 00:08 UTC

On 4/23/2024 9:03 AM, Dan Cross wrote:
> In article <v088m8$1juj9$1@dont-email.me>,
> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>> On 2024-04-22, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>>
>>> Eh, JSON has its own problems; since the representation of
>>> numbers is specified to be compatible with floats, it's possible
>>> to lose data by translating it through JSON (I've seen people
>>> put e.g. machine addresses in JSON and then be surprised when
>>> the low bits disappear: floating point representations are not
>>> exact over the range of 64-bit integers!).
>>
>> I would consider that to be strictly a programmer error. That's the
>> kind of thing that should be stored as a string value unless you are
>> using a JSON library that preserves integer values unless decimal data
>> is present in the input data (and hence silently converts it to a float).
>>
>> I don't expect people to write their own JSON library (although I hope
>> they can given how relatively simple JSON is to parse), but I do expect
>> them to know what values they can use in libraries in general without
>> experiencing data loss.
>
> In modern languages, one can often derive JSON serialization and
> deserialization methods from the source data type, transparent
> to the programmer. Those may decide to use the JSON numeric
> type for numeric data; this has surprised a few people I know
> (who are extraordinarily competent programmers). Sure, the fix
> is generally easy (there's often a way to annotate a datum to
> say "serialize this as a string"), but that doesn't mean that
> even very senior people don't get caught out at times.
>
> But the problem is even more insideous than that; popular tools
> like `jq` can take properly serialized source data and silently
> make lossy conversions. So you might have properly written,
> value preserving libraries at both ends and still suffer loss
> due to some intermediate tool.
>
> JSON is dangerous. Caveat emptor.

This will be a relative long post. Sorry.

The problem at hand has nothing to do with JSON. It is
a string to numeric and data types problem.

JSON:

{ "v": 100000000000000001 }

XML:

<data>
<v>100000000000000001</v>
</data>

YAML:

v: 100000000000000001

All expose the same problem.

The value cannot be represented as is in some very common
data types like 32 bit integers and 64 bit floating point.

But selecting an appropriate data type for a given piece
of data based on its possible values and usage is
core responsibility for a developer.

The developer should understand possible values before
writing the code and understand the characteristics
of the available data types.

If not then that is a developer error.

But errors happen all the time. Not so good developers
make lots of errors. Good developers make occasionally
errors. The bad developers are not aware of data
requirements and how the data types work. The good developers
are aware, but because they are having a bad day or something
then it slips through anyway.

There is every indication that large JSON values and the
usage of 64 bit floating point has caused problems. There must
be a reason why this was added to the JSON RFC:

<quote>
This specification allows implementations to set limits on the range
and precision of numbers accepted. Since software that implements
IEEE 754 binary64 (double precision) numbers [IEEE754] is generally
available and widely used, good interoperability can be achieved by
implementations that expect no more precision or range than these
provide, in the sense that implementations will approximate JSON
numbers within the expected precision. A JSON number such as 1E400
or 3.141592653589793238462643383279 may indicate potential
interoperability problems, since it suggests that the software that
created it expects receiving software to have greater capabilities
for numeric magnitude and precision than is widely available.

Note that when such software is used, numbers that are integers and
are in the range [-(2**53)+1, (2**53)-1] are interoperable in the
sense that implementations will agree exactly on their numeric
values.
</quote>

Excusing the error with limitations in the programming language
and the JSON library is a poor excuse.

The developer (+ architect + other senior technology decision makers)
are responsible for selecting a programming language and a
JSON library that meet business requirements.

Mistakes can be made in all sorts of programming languages
no matter the typing system. But my guess is that it happens
more frequently when the type is not static and explicit declared.
Some doesn't like to type in that type, but it literally makes the
type visible.

The fact that it ultimately is the developers responsibility
to select proper data types does not mean that programming languages
and JSON libraries can not help catch errors.

If it is obvious that an unexpected/useless result is being
produced then it should be flagged (return error code or throw
exception depending on technology).

Let us go back to the example with 100000000000000001.

Trying to stuff that into a 32 bit integer by like parsing
it as a 64 bit integer and returning the lower 32 bits
is in my best opinion an error. Nobody wants to get an int
with 1569325057 from retrieving a 32 bit integer integer
from "100000000000000001". It should give an error.

The case with a 64 bit floating point is more tricky. One
could argue that 100000000000000001.0 is the expected
result and that 100000000000000000.0 should be considered
an error. And it probably would be an error in the majority
of cases. But there is actually the possibility that
someone that understand floating point are reading JSON
and expect what is happening and does not care because
there are some uncertainty in the underlying data. And
creating a false error for people that understand FP data
types to prevent those that do not understand FP data types
from shooting themself in the foot is not good.

Arne

Re: openvms and xterm

<v0c7hi$2k063$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34287&group=comp.os.vms#34287

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Thu, 25 Apr 2024 00:18:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <v0c7hi$2k063$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me>
<v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
<MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me>
<MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz> <v0c0a6$2ihq5$2@dont-email.me>
<v0c3na$2jb0c$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 02:18:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="962cdf4b668ef58e236ab9c5f423d5d6";
logging-data="2752707"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VB187NbwKO1NZxBjCEdau"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:VNnTp/8gzUxyKS5Or1PpIG5LqkU=
 by: Lawrence D'Oliv - Thu, 25 Apr 2024 00:18 UTC

On Wed, 24 Apr 2024 19:13:44 -0400, Arne Vajhøj wrote:

> On 4/24/2024 6:15 PM, Lawrence D'Oliveiro wrote:
>>
>> On Wed, 24 Apr 2024 21:52:36 +1200, David Goodwin wrote:
>>>
>>> The difference here is that Windows NT isn't limited to a single
>>> userspace API/personality, historically it provided three (Win32, OS/2
>>> and POSIX) in addition to its own Native API.
>>
>> That’s the theory. In practice, it doesn’t seem to have worked very
>> well. The POSIX “personality” for example, was essentially unusable.
>
> My impression is that it worked fine.

You got to be kidding <https://www.youtube.com/watch?v=BOeku3hDzrM>.

>> When the Windows engineers were working on WSL1, emulating Linux kernel
>> APIs on Windows, you would think they would have used this
>> “personality” system. But they did not.
>
> Lowest common denonimator for Unix API's from the early 1990's was
> probably not interesting.

They couldn’t get it to work.

Re: openvms and xterm

<v0c82d$2k4ah$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34288&group=comp.os.vms#34288

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 20:27:56 -0400
Organization: A noiseless patient Spider
Lines: 372
Message-ID: <v0c82d$2k4ah$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v05omg$cnu$1@panix2.panix.com>
<v05ruf$gf7$1@reader1.panix.com> <v088m8$1juj9$1@dont-email.me>
<v08bj2$ct6$1@reader1.panix.com> <v0c6t7$2jtvn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 02:27:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2756945"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zNwpPsNpha++OD+TfHXviWTE7Z5Qdv+4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1HAmlkMHqFOlkZoJFcxRFZhsBp0=
Content-Language: en-US
In-Reply-To: <v0c6t7$2jtvn$1@dont-email.me>
 by: Arne Vajhøj - Thu, 25 Apr 2024 00:27 UTC

On 4/24/2024 8:08 PM, Arne Vajhøj wrote:
> This will be a relative long post. Sorry.

And this one will be even longer!

> The problem at hand has nothing to do with JSON. It is
> a string to numeric and data types problem.
>
> JSON:
>
> { "v": 100000000000000001 }
>
> XML:
>
> <data>
>     <v>100000000000000001</v>
> </data>
>
> YAML:
>
> v: 100000000000000001
>
> All expose the same problem.
>
> The value cannot be represented as is in some very common
> data types like 32 bit integers and 64 bit floating point.

> The fact that it ultimately is the developers responsibility
> to select proper data types does not mean that programming languages
> and JSON libraries can not help catch errors.
>
> If it is obvious that an unexpected/useless result is being
> produced then it should be flagged (return error code or throw
> exception depending on technology).
>
> Let us go back to the example with 100000000000000001.
>
> Trying to stuff that into a 32 bit integer by like parsing
> it as a 64 bit integer and returning the lower 32 bits
> is in my best opinion an error. Nobody wants to get an int
> with 1569325057 from retrieving a 32 bit integer integer
> from "100000000000000001". It should give an error.
>
> The case with a 64 bit floating point is more tricky. One
> could argue that 100000000000000001.0 is the expected
> result and that 100000000000000000.0 should be considered
> an error. And it probably would be an error in the majority
> of cases. But there is actually the possibility that
> someone that understand floating point are reading JSON
> and expect what is happening and does not care because
> there are some uncertainty in the underlying data. And
> creating a false error for people that understand FP data
> types to prevent those that do not understand FP data types
> from shooting themself in the foot is not good.

Let us see some code.

I picked Groovy as demo language, because I am a J guy
and Groovy allows to demo a lot.

As a JVM language there are several possible data types to
pick from:
int
long
double
String
BigInteger
BigDecimal

And obviously int and double has problem with 100000000000000001
while the rest can store it OK.

To illustrate the option of different JSON libraries I will
test with both GSON (Google JSON library) and Jackson (probably
the most widely used JSON library in the Java wold).

Let us first look at the model where the JSON is parsed to
a tree.

GSON:

$ type Data1.groovy
import com.google.gson.*

def wrap(block) {
try {
block()
} catch(ex) {
printf("%s: %s\n", ex.class.name, ex.message)
}
}

String json = '{ "v": 100000000000000001 }'
println(json)
gson = new JsonParser()
o = gson.parse(json).getAsJsonObject()
wrap {
v1 = o.get("v").getAsInt()
printf("int: %d\n", v1)
} wrap {
v2 = o.get("v").getAsLong()
printf("long: %d (low 32 bit is %d)\n", v2, v2 & 0x00000000FFFFFFFFL)
} wrap {
v3 = o.get("v").getAsDouble()
printf("double: %f\n", v3)
} wrap {
v4 = o.get("v").getAsString()
printf("String: %s\n", v4)
} wrap {
v5 = o.get("v").getAsBigInteger()
printf("BigInteger: %s\n", v5)
} wrap {
v6 = o.get("v").getAsBigDecimal()
printf("BigDecimal: %s\n", v6)
} wrap {
v7 = o.get("v").getAsNumber()
printf("Number: %s (%s)\n", v7, v7.class.name)
} $ groovy Data1.groovy
{ "v": 100000000000000001 }
int: 1569325057
long: 100000000000000001 (low 32 bit is 1569325057)
double: 100000000000000000.000000
String: 100000000000000001
BigInteger: 100000000000000001
BigDecimal: 100000000000000001
Number: 100000000000000001 (com.google.gson.internal.LazilyParsedNumber)

Jackson:

$ type Data1X.groovy
import com.fasterxml.jackson.databind.*

def wrap(block) {
try {
block()
} catch(ex) {
printf("%s: %s\n", ex.class.name, ex.message)
}
}

String json = '{ "v": 100000000000000001 }'
println(json)
om = new ObjectMapper()
o = om.readTree(json)
wrap {
v1 = o.get("v").asInt()
printf("int: %d\n", v1)
} wrap {
v2 = o.get("v").asLong()
printf("long: %d (low 32 bit is %d)\n", v2, v2 & 0x00000000FFFFFFFFL)
} wrap {
v3 = o.get("v").asDouble()
printf("double: %f\n", v3)
} wrap {
v4 = o.get("v").asText()
printf("String: %s\n", v4)
} wrap {
v5 = o.get("v").bigIntegerValue()
printf("BigInteger: %s\n", v5)
} wrap {
v6 = o.get("v").decimalValue()
printf("BigDecimal: %s\n", v6)
} wrap {
v7 = o.get("v").numberValue()
printf("Number: %s (%s)\n", v7, v7.class.name)
} $ groovy Data1X.groovy
{ "v": 100000000000000001 }
int: 1569325057
long: 100000000000000001 (low 32 bit is 1569325057)
double: 100000000000000000.000000
String: 100000000000000001
BigInteger: 100000000000000001
BigDecimal: 100000000000000001
Number: 100000000000000001 (java.lang.Long)

We see:
* the expected slightly off value for double
* the crazy value for int (no exception)
* other data types are fine

Now mapping/binding to class.

GSON:

$ type Data2.groovy
import com.google.gson.*

class C1 {
int v
}

class C2 {
long v
}

class C3 {
double v
}

class C4 {
String v
}

class C5 {
BigInteger v
}

class C6 {
BigDecimal v
}

class C7 {
Number v
}

def wrap(block) {
try {
block()
} catch(ex) {
printf("%s: %s\n", ex.class.name, ex.message)
}
}

json = '{ "v": 100000000000000001 }'
println(json)
gson = new Gson()
wrap {
C1 v1 = gson.fromJson(json, C1.class)
printf("int: %d\n", v1.v)
} wrap {
C2 v2 = gson.fromJson(json, C2.class)
printf("long: %d\n", v2.v)
} wrap {
C3 v3 = gson.fromJson(json, C3.class)
printf("double: %f\n", v3.v)
} wrap {
C4 v4 = gson.fromJson(json, C4.class)
printf("String: %s\n", v4.v)
} wrap {
C5 v5 = gson.fromJson(json, C5.class)
printf("BigInteger: %s\n", v5.v)
} wrap {
C6 v6 = gson.fromJson(json, C6.class)
printf("BigDecimal: %s\n", v6.v)
} wrap {
C7 v7 = gson.fromJson(json, C7.class)
printf("Number: %s (%s)\n", v7.v, v7.v.class.name)
} $ groovy Data2.groovy
{ "v": 100000000000000001 }
com.google.gson.JsonSyntaxException: java.lang.NumberFormatException:
Expected an int but was 100000000000000001 at line 1 column 26
long: 100000000000000001
double: 100000000000000000.000000
String: 100000000000000001
BigInteger: 100000000000000001
BigDecimal: 100000000000000001
Number: 100000000000000001 (com.google.gson.internal.LazilyParsedNumber)

Jackson:

$ type Data2X.groovy
import com.fasterxml.jackson.databind.*

class C1 {
int v
}

class C2 {
long v
}

class C3 {
double v
}

class C4 {
String v
}

class C5 {
BigInteger v
}

class C6 {
BigDecimal v
}

class C7 {
Number v
}

def wrap(block) {
try {
block()
} catch(ex) {
printf("%s: %s\n", ex.class.name, ex.message)
}
}

json = '{ "v": 100000000000000001 }'
println(json)
om = new ObjectMapper()
wrap {
C1 v1 = om.readValue(json, C1.class)
printf("int: %d\n", v1.v)
} wrap {
C2 v2 = om.readValue(json, C2.class)
printf("long: %d\n", v2.v)
} wrap {
C3 v3 = om.readValue(json, C3.class)
printf("double: %f\n", v3.v)
} wrap {
C4 v4 = om.readValue(json, C4.class)
printf("String: %s\n", v4.v)
} wrap {
C5 v5 = om.readValue(json, C5.class)
printf("BigInteger: %s\n", v5.v)
} wrap {
C6 v6 = om.readValue(json, C6.class)
printf("BigDecimal: %s\n", v6.v)
} wrap {
C7 v7 = om.readValue(json, C7.class)
printf("Number: %s (%s)\n", v7.v, v7.v.class.name)
} $ groovy Data2X.groovy
{ "v": 100000000000000001 }
com.fasterxml.jackson.databind.JsonMappingException: Numeric value
(100000000000000001) out of range of int (-2147483648 - 2147483647)
at [Source: (String)"{ "v": 100000000000000001 }"; line: 1, column:
26] (through reference chain: C1["v"])
long: 100000000000000001
double: 100000000000000000.000000
String: 100000000000000001
BigInteger: 100000000000000001
BigDecimal: 100000000000000001
Number: 100000000000000001 (java.lang.Long)


Click here to read the complete article
Re: openvms and xterm

<v0c8i1$651$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34289&group=comp.os.vms#34289

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Thu, 25 Apr 2024 00:36:17 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <v0c8i1$651$1@reader1.panix.com>
References: <uvtjbq$2ujbg$3@dont-email.me> <v088m8$1juj9$1@dont-email.me> <v08bj2$ct6$1@reader1.panix.com> <v0c6t7$2jtvn$1@dont-email.me>
Injection-Date: Thu, 25 Apr 2024 00:36:17 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="6305"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 25 Apr 2024 00:36 UTC

In article <v0c6t7$2jtvn$1@dont-email.me>,
Arne Vajhøj <arne@vajhoej.dk> wrote:
>On 4/23/2024 9:03 AM, Dan Cross wrote:
>> In article <v088m8$1juj9$1@dont-email.me>,
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>>> On 2024-04-22, Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>>>>
>>>> Eh, JSON has its own problems; since the representation of
>>>> numbers is specified to be compatible with floats, it's possible
>>>> to lose data by translating it through JSON (I've seen people
>>>> put e.g. machine addresses in JSON and then be surprised when
>>>> the low bits disappear: floating point representations are not
>>>> exact over the range of 64-bit integers!).
>>>
>>> I would consider that to be strictly a programmer error. That's the
>>> kind of thing that should be stored as a string value unless you are
>>> using a JSON library that preserves integer values unless decimal data
>>> is present in the input data (and hence silently converts it to a float).
>>>
>>> I don't expect people to write their own JSON library (although I hope
>>> they can given how relatively simple JSON is to parse), but I do expect
>>> them to know what values they can use in libraries in general without
>>> experiencing data loss.
>>
>> In modern languages, one can often derive JSON serialization and
>> deserialization methods from the source data type, transparent
>> to the programmer. Those may decide to use the JSON numeric
>> type for numeric data; this has surprised a few people I know
>> (who are extraordinarily competent programmers). Sure, the fix
>> is generally easy (there's often a way to annotate a datum to
>> say "serialize this as a string"), but that doesn't mean that
>> even very senior people don't get caught out at times.
>>
>> But the problem is even more insideous than that; popular tools
>> like `jq` can take properly serialized source data and silently
>> make lossy conversions. So you might have properly written,
>> value preserving libraries at both ends and still suffer loss
>> due to some intermediate tool.
>>
>> JSON is dangerous. Caveat emptor.
>
>This will be a relative long post. Sorry.
>
>The problem at hand has nothing to do with JSON. It is
>a string to numeric and data types problem.

It is a problem with a format that permits silently lossy
conversions.

>[snip]
>But selecting an appropriate data type for a given piece
>of data based on its possible values and usage is
>core responsibility for a developer.

One hopes one also has tools that permit detection of
truncation. You also ignored the point about how third-party
tools for manipulating JSON will silently lose data.

- Dan C.

Re: openvms and xterm

<v0c8in$2k4b5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34290&group=comp.os.vms#34290

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 20:36:39 -0400
Organization: A noiseless patient Spider
Lines: 162
Message-ID: <v0c8in$2k4b5$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v05omg$cnu$1@panix2.panix.com>
<v05ruf$gf7$1@reader1.panix.com> <v088m8$1juj9$1@dont-email.me>
<v08bj2$ct6$1@reader1.panix.com> <v0c6t7$2jtvn$1@dont-email.me>
<v0c82d$2k4ah$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 02:36:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2756965"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19j+M5/Ob1N/m9uvqnp48jQo2jFLTCP0E0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:uShCQvca4aw2PDXpOOypgS/3deg=
In-Reply-To: <v0c82d$2k4ah$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Thu, 25 Apr 2024 00:36 UTC

On 4/24/2024 8:27 PM, Arne Vajhøj wrote:
> Let us see some code.
>
> I picked Groovy as demo language, because I am a J guy
> and Groovy allows to demo a lot.
>
> As a JVM language there are several possible data types to
> pick from:
>   int
>   long
>   double
>   String
>   BigInteger
>   BigDecimal
>
> And obviously int and double has problem with 100000000000000001
> while the rest can store it OK.
>
> To illustrate the option of different JSON libraries I will
> test with both GSON (Google JSON library) and Jackson (probably
> the most widely used JSON library in the Java wold).
>
> Let us first look at the model where the JSON is parsed to
> a tree.

> We see:
> * the expected slightly off value for double
> * the crazy value for int (no exception)
> * other data types are fine
>
> Now mapping/binding to class.

> Very similar behavior except that now I do get the exception for
> int that I so much prefer.

All that is of course if one bother to pick the data type.

Otherwise the result become a bit more implementation
specific.

GSON:

$ type Data3.groovy
import com.google.gson.*

class C1 {
def v = 0
}

class C2 {
def v = 0.0d
}

class C3 {
def v = 0.0
}

class C4 {
def v
}

def wrap(block) {
try {
block()
} catch(ex) {
printf("%s: %s\n", ex.class.name, ex.message)
}
}

json = '{ "v": 100000000000000001 }'
println(json)
gson = new Gson()
wrap {
C1 v1 = gson.fromJson(json, C1.class)
printf("def = 0: %f (%s)\n", v1.v, v1.v.class.name)
} wrap {
C2 v2 = gson.fromJson(json, C2.class)
printf("def = 0.0d: %f (%s)\n", v2.v, v2.v.class.name)
} wrap {
C3 v3 = gson.fromJson(json, C3.class)
printf("def = 0.0: %f (%s)\n", v3.v, v3.v.class.name)
} wrap {
C4 v4 = gson.fromJson(json, C4.class)
printf("def: %f (%s)\n", v4.v, v4.v.class.name)
} $ groovy Data3.groovy
{ "v": 100000000000000001 }
def = 0: 100000000000000000.000000 (java.lang.Double)
def = 0.0d: 100000000000000000.000000 (java.lang.Double)
def = 0.0: 100000000000000000.000000 (java.lang.Double)
def: 100000000000000000.000000 (java.lang.Double)

Jackson:

$ type Data3X.groovy
import com.fasterxml.jackson.databind.*

class C1 {
def v = 0
}

class C2 {
def v = 0.0d
}

class C3 {
def v = 0.0
}

class C4 {
def v
}

def wrap(block) {
try {
block()
} catch(ex) {
printf("%s: %s\n", ex.class.name, ex.message)
}
}

json = '{ "v": 100000000000000001 }'
println(json)
om = new ObjectMapper()
wrap {
C1 v1 = om.readValue(json, C1.class)
printf("def = 0: %d (%s)\n", v1.v, v1.v.class.name)
} wrap {
C2 v2 = om.readValue(json, C2.class)
printf("def = 0.0d: %d (%s)\n", v2.v, v2.v.class.name)
} wrap {
C3 v3 = om.readValue(json, C3.class)
printf("def = 0.0: %d (%s)\n", v3.v, v3.v.class.name)
} wrap {
C4 v4 = om.readValue(json, C4.class)
printf("def: %d (%s)\n", v4.v, v4.v.class.name)
} $ groovy Data3X.groovy
{ "v": 100000000000000001 }
def = 0: 100000000000000001 (java.lang.Long)
def = 0.0d: 100000000000000001 (java.lang.Long)
def = 0.0: 100000000000000001 (java.lang.Long)
def: 100000000000000001 (java.lang.Long)

GSON picked a "bad" data type (Double) while
Jackson picked a "good" data type (Long).

Groovy is in no way a typical dynamic typed
language, but I still think it sort of show that
JSON parsing may be a case where one really should
prefer static typing.

Arne

Re: openvms and xterm

<v0c98k$2kbf5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34291&group=comp.os.vms#34291

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 20:48:19 -0400
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <v0c98k$2kbf5$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v088m8$1juj9$1@dont-email.me>
<v08bj2$ct6$1@reader1.panix.com> <v0c6t7$2jtvn$1@dont-email.me>
<v0c8i1$651$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 02:48:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2764261"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/dCTM3MuxW9x0exIdouDPR5EFMDfWOxw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:FCXDcuG2Djk18OyJTZjEn8Om0A8=
In-Reply-To: <v0c8i1$651$1@reader1.panix.com>
Content-Language: en-US
 by: Arne Vajhøj - Thu, 25 Apr 2024 00:48 UTC

On 4/24/2024 8:36 PM, Dan Cross wrote:
> In article <v0c6t7$2jtvn$1@dont-email.me>,
> Arne Vajhøj <arne@vajhoej.dk> wrote:
>> The problem at hand has nothing to do with JSON. It is
>> a string to numeric and data types problem.
>
> It is a problem with a format that permits silently lossy
> conversions.

Trying to stuff 100000000000000001 into a 32 bit integer
or a 64 bit floating point create a problem.

But it does not matter if the format is JSON or XML or YAML
or whatever.

The developer made a design error. And the language/library
did not object.

But none of that is a problem in the format. The JSON has the
correct value.

>> [snip]
>> But selecting an appropriate data type for a given piece
>> of data based on its possible values and usage is
>> core responsibility for a developer.
>
> One hopes one also has tools that permit detection of
> truncation. You also ignored the point about how third-party
> tools for manipulating JSON will silently lose data.

You must have missed this part:

# The fact that it ultimately is the developers responsibility
# to select proper data types does not mean that programming languages
# and JSON libraries can not help catch errors.
# # If it is obvious that an unexpected/useless result is being
# produced then it should be flagged (return error code or throw
# exception depending on technology).
# # Let us go back to the example with 100000000000000001.
# # Trying to stuff that into a 32 bit integer by like parsing
# it as a 64 bit integer and returning the lower 32 bits
# is in my best opinion an error. Nobody wants to get an int
# with 1569325057 from retrieving a 32 bit integer integer
# from "100000000000000001". It should give an error.
# # The case with a 64 bit floating point is more tricky. One
# could argue that 100000000000000001.0 is the expected
# result and that 100000000000000000.0 should be considered
# an error. And it probably would be an error in the majority
# of cases. But there is actually the possibility that
# someone that understand floating point are reading JSON
# and expect what is happening and does not care because
# there are some uncertainty in the underlying data. And
# creating a false error for people that understand FP data
# types to prevent those that do not understand FP data types
# from shooting themself in the foot is not good.

Arne

Re: openvms and xterm

<v0c9ih$2kbg7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34292&group=comp.os.vms#34292

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Wed, 24 Apr 2024 20:53:37 -0400
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <v0c9ih$2kbg7$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me>
<v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
<MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me>
<MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz> <v0c0a6$2ihq5$2@dont-email.me>
<v0c3na$2jb0c$1@dont-email.me> <v0c7hi$2k063$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 02:53:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="85cf0e6cf235c4b7806d1e5a990e51b8";
logging-data="2764295"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1xcOeyuWcfUFmr2khMX5kmDmYyjUbsR0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TGNo3H4iArAXkmtub21Cg5PvfQY=
Content-Language: en-US
In-Reply-To: <v0c7hi$2k063$1@dont-email.me>
 by: Arne Vajhøj - Thu, 25 Apr 2024 00:53 UTC

On 4/24/2024 8:18 PM, Lawrence D'Oliveiro wrote:
> On Wed, 24 Apr 2024 19:13:44 -0400, Arne Vajhøj wrote:
>> On 4/24/2024 6:15 PM, Lawrence D'Oliveiro wrote:
>>> On Wed, 24 Apr 2024 21:52:36 +1200, David Goodwin wrote:
>>>> The difference here is that Windows NT isn't limited to a single
>>>> userspace API/personality, historically it provided three (Win32, OS/2
>>>> and POSIX) in addition to its own Native API.
>>>
>>> That’s the theory. In practice, it doesn’t seem to have worked very
>>> well. The POSIX “personality” for example, was essentially unusable.
>>
>> My impression is that it worked fine.
>
> You got to be kidding <https://www.youtube.com/watch?v=BOeku3hDzrM>.

I did not watch all of it.

But it seems like this person did not really understand the
Posix standard (from that time).

His main argument seems to be that it is not useful.

I believe that.

But that is the limitation of Posix (from that time).

VMS Posix was not considered useful by many either.

Arne

Re: openvms and xterm

<v0cc5h$2tu$1@panix2.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34293&group=comp.os.vms#34293

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: kludge@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: 25 Apr 2024 01:37:53 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 22
Message-ID: <v0cc5h$2tu$1@panix2.panix.com>
References: <uvtjbq$2ujbg$3@dont-email.me> <v0c0a6$2ihq5$2@dont-email.me> <v0c3na$2jb0c$1@dont-email.me> <v0c9ih$2kbg7$1@dont-email.me>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="7151"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Thu, 25 Apr 2024 01:37 UTC

=?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> wrote:
>But it seems like this person did not really understand the
>Posix standard (from that time).
>
>His main argument seems to be that it is not useful.
>
>I believe that.
>
>But that is the limitation of Posix (from that time).

This is entirely true. The Posix libraries in theory would let you run
unix applications on non-Unix systems but in fact they were never useful
enough to run anything much.

>VMS Posix was not considered useful by many either.

No, it wasn't useful. It met certain requirements for certain government
purchases, which is why it was designed, but it was not actually useful
for anyone porting code.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: openvms and xterm

<v0dkm4$8dh$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34294&group=comp.os.vms#34294

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder9.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Thu, 25 Apr 2024 13:09:24 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <v0dkm4$8dh$1@reader1.panix.com>
References: <uvtjbq$2ujbg$3@dont-email.me> <v0c6t7$2jtvn$1@dont-email.me> <v0c8i1$651$1@reader1.panix.com> <v0c98k$2kbf5$1@dont-email.me>
Injection-Date: Thu, 25 Apr 2024 13:09:24 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="8625"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 25 Apr 2024 13:09 UTC

In article <v0c98k$2kbf5$1@dont-email.me>,
Arne Vajhøj <arne@vajhoej.dk> wrote:
>On 4/24/2024 8:36 PM, Dan Cross wrote:
>> In article <v0c6t7$2jtvn$1@dont-email.me>,
>> Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> The problem at hand has nothing to do with JSON. It is
>>> a string to numeric and data types problem.
>>
>> It is a problem with a format that permits silently lossy
>> conversions.
>
>Trying to stuff 100000000000000001 into a 32 bit integer
>or a 64 bit floating point create a problem.

Obvious.

>The developer made a design error. And the language/library
>did not object.

That's not the problem, though.

>But none of that is a problem in the format. The JSON has the
>correct value.

No, it often doesn't. Because there are numeric constants that
are not representable at all in the most common encoding used
by JSON _tools_.

>>> [snip]
>>> But selecting an appropriate data type for a given piece
>>> of data based on its possible values and usage is
>>> core responsibility for a developer.
>>
>> One hopes one also has tools that permit detection of
>> truncation. You also ignored the point about how third-party
>> tools for manipulating JSON will silently lose data.
>
>You must have missed this part:
>
># The fact that it ultimately is the developers responsibility
># to select proper data types does not mean that programming languages
># and JSON libraries can not help catch errors.

That's obvious. What you don't seem to understand is that there
are very common tools outside of the programmer's control that
are used to manipulate JSON data that perform silently lossy
conversions. That is, those tools not only don't "help catch
errors", they actually introduce them.

- Dan C.

Re: systemd (was Re: openvms and xterm)

<v0elne$38600$5@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34295&group=comp.os.vms#34295

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: systemd (was Re: openvms and xterm)
Date: Thu, 25 Apr 2024 22:33:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <v0elne$38600$5@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<v01nlv$3uebr$1@dont-email.me> <v01s7n$335k$2@dont-email.me>
<87zftnuk7h.fsf@eder.anydns.info> <v0465m$htb5$1@dont-email.me>
<v046rr$htgl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Apr 2024 00:33:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="981c9b46922f04fed586628cd2fb9565";
logging-data="3414016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qVD/Morlx5fa5o2ofXnD0"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:nsVWFXvnBqwbkbPCNBKXtr/pi0Q=
 by: Lawrence D'Oliv - Thu, 25 Apr 2024 22:33 UTC

On Sun, 21 Apr 2024 19:18:19 -0400, Arne Vajhøj wrote:

> The 3 most widely formats for config files today are XML, JSON and YAML.

No, those are mainly used for data interchange, not so much for config
files (apart from XML).

> But INI and Java properties may be the next 2 in usage.

“Java properties” isn’t a file format.

There is also TOML.

Re: systemd (was Re: openvms and xterm)

<v0engq$38j49$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34296&group=comp.os.vms#34296

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: systemd (was Re: openvms and xterm)
Date: Thu, 25 Apr 2024 19:03:54 -0400
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <v0engq$38j49$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<v01nlv$3uebr$1@dont-email.me> <v01s7n$335k$2@dont-email.me>
<87zftnuk7h.fsf@eder.anydns.info> <v0465m$htb5$1@dont-email.me>
<v046rr$htgl$1@dont-email.me> <v0elne$38600$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Apr 2024 01:03:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7335792989757ca3a168c3c67dac0cdc";
logging-data="3427465"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vTvfNhQJkDpL4HLvCWTROiM3zIha22Xk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:vGefR66btiSZad2ZTFoTkcM+jN0=
In-Reply-To: <v0elne$38600$5@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Thu, 25 Apr 2024 23:03 UTC

On 4/25/2024 6:33 PM, Lawrence D'Oliveiro wrote:
> On Sun, 21 Apr 2024 19:18:19 -0400, Arne Vajhøj wrote:
>> The 3 most widely formats for config files today are XML, JSON and YAML.
>
> No, those are mainly used for data interchange, not so much for config
> files (apart from XML).

JSON is used for data exchange, but also for config.

Examples:
* .NET Core/5+ and its app config replacement
* PHP composer and its composer.json

YAML is the preferred config file format in the container/devops world.

>> But INI and Java properties may be the next 2 in usage.
>
> “Java properties” isn’t a file format.

Of course it is.

foobar.ini with:

[a]
a1 = 123
a2 = ABC
[b]
b1 = 456
b2 = DEF

can be done as foobar.properties:

a.a1 = 123
a.a2 = ABC
b.b1 = 456
b.b2 = DEF

> There is also TOML.

Ah. I forgot about that one.

Arne

Re: systemd (was Re: openvms and xterm)

<slrnv2m6bt.2el82.mwilson@daenerys.home.mattwilson.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34297&group=comp.os.vms#34297

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mwilson@mattwilson.org (Matthew R. Wilson)
Newsgroups: comp.os.vms
Subject: Re: systemd (was Re: openvms and xterm)
Date: Fri, 26 Apr 2024 03:03:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <slrnv2m6bt.2el82.mwilson@daenerys.home.mattwilson.org>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<v01nlv$3uebr$1@dont-email.me> <v01s7n$335k$2@dont-email.me>
<87zftnuk7h.fsf@eder.anydns.info> <v0465m$htb5$1@dont-email.me>
<v046rr$htgl$1@dont-email.me> <v0elne$38600$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Apr 2024 05:03:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="75e9d60922fef885c2dbe8239e09c1f9";
logging-data="3641731"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+t2rTJDI7x7VoifAgddQzdQol1sMcN7NE="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Lq1YHLWzI/dyMbhSuDtZpaXXBk4=
 by: Matthew R. Wilson - Fri, 26 Apr 2024 03:03 UTC

On 2024-04-25, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Sun, 21 Apr 2024 19:18:19 -0400, Arne Vajhøj wrote:
>
>> The 3 most widely formats for config files today are XML, JSON and YAML.
>
> No, those are mainly used for data interchange, not so much for config
> files (apart from XML).

JSON and YAML are incredibly common for config files for newer software.
I've not really seen YAML used as a data interchange format, in my
experience it exists almost entirely to be a more human-friendly
alternative to JSON for configuration.

>> But INI and Java properties may be the next 2 in usage.
>
> “Java properties” isn’t a file format.

https://en.wikipedia.org/wiki/.properties

https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/Properties.html#load(java.io.Reader)

The Java properties file format is well-defined and, not surprisingly,
used heavily by Java applications. I've been out of the Java world for a
while, but in the 2000s, properties files were definitely in use for
configuration files for many applications I ran and worked on.

-Matthew

Re: openvms and xterm

<MPG.4095f688454a5a939896d1@news.zx.net.nz>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34298&group=comp.os.vms#34298

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.neodome.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.iad.POSTED!not-for-mail
From: david+usenet@zx.net.nz (David Goodwin)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Message-ID: <MPG.4095f688454a5a939896d1@news.zx.net.nz>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com> <v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me> <v01iun$ck7$1@panix2.panix.com> <v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net> <874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me> <v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me> <MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me> <MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz> <v0c0a6$2ihq5$2@dont-email.me>
Organization: zxnet
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 8bit
User-Agent: MicroPlanet-Gravity/3.0.6
Lines: 53
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 26 Apr 2024 04:38:04 UTC
Date: Fri, 26 Apr 2024 16:36:41 +1200
X-Received-Bytes: 3777
 by: David Goodwin - Fri, 26 Apr 2024 04:36 UTC

In article <v0c0a6$2ihq5$2@dont-email.me>, ldo@nz.invalid says...
>
> On Wed, 24 Apr 2024 21:52:36 +1200, David Goodwin wrote:
>
> > The difference here is that Windows NT isn't limited to a single
> > userspace API/personality, historically it provided three (Win32, OS/2
> > and POSIX) in addition to its own Native API.
>
> That?s the theory. In practice, it doesn?t seem to have worked very well.
> The POSIX ?personality? for example, was essentially unusable.

There were two different POSIX personalities. There was the original
POSIX Environment Subsystem was included since NT 3.1 for box checking
purposes - it strictly implemented the POSIX specifications *and nothing
more* making it not terribly useful for anything beyond bidding for
government contracts that required "POSIX".

Then there was Interix which was a 3rd-party product that Microsoft
acquired and renamed to Services for Unix (SFU). This was initially sold
as a product and later given away for free. It was last made available
for Windows 8 and Server 2012.

Interix worked quite well, but it wasn't Linux. IIRC getting stuff going
on it was much the same as getting it going on some random proprietary
Unix. But Microsoft did include GCC and a bunch of other stuff, and
there was a community site providing more pre-built binaries.

> When the Windows engineers were working on WSL1, emulating Linux kernel
> APIs on Windows, you would think they would have used this ?personality?
> system. But they did not. I suspect it had already bitrotted into
> nonfunctionality by that point.

Microsoft didn't re-architect Windows NT for the Windows 10 release or
move all of Win32 into the kernel (why would they?). CSRSS is still
there just like its always been providing the Win32 environment that
most windows software runs under.

And its not like WSLv1 is some Cygwin-like thing sitting on top of
Win32. Its even in the name: Windows Subsystem for Linux. WSLv1 is like
Interix but taken several steps further to provide Linux binary
compatibility and better performance.

> In the end, they had to give up, and bring in an honest-to-goodness Linux
> kernel, in WSL2.

Primarily because it gets them them the best compatibility (including
kernel modules) with a wide selection of pre-built software for the
least amount of work. Why go to all the effort reimplementing the whole
Linux syscall interface and keeping it up-to-date when you could just
run the Linux kernel in a VM.

Anyway, I'm not sure what your point is here. Are you trying to argue
that moving code out of the kernel into userspace is a bad idea?

Re: openvms and xterm

<v0fbd5$3g795$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=34299&group=comp.os.vms#34299

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: openvms and xterm
Date: Fri, 26 Apr 2024 04:43:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <v0fbd5$3g795$1@dont-email.me>
References: <uvtjbq$2ujbg$3@dont-email.me> <v00oc1$pb6$1@reader1.panix.com>
<v01dvd$3sn5v$1@dont-email.me> <v01fj5$3t449$3@dont-email.me>
<v01iun$ck7$1@panix2.panix.com>
<v01mq5$ud1$1@tncsrv09.home.tnetconsulting.net>
<874jbvvzr0.fsf@eder.anydns.info> <v0467t$htb5$2@dont-email.me>
<v046lj$htgm$2@dont-email.me> <v04epp$jd4t$1@dont-email.me>
<MPG.40935a113fb48f8d9896cf@news.zx.net.nz> <v0a5vu$25fmt$1@dont-email.me>
<MPG.40939d7e9ae0f49f9896d0@news.zx.net.nz> <v0c0a6$2ihq5$2@dont-email.me>
<MPG.4095f688454a5a939896d1@news.zx.net.nz>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Apr 2024 06:43:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="981c9b46922f04fed586628cd2fb9565";
logging-data="3677477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+Cot6PqVgKhIjXXO7Fq3H"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:evZXS7I8qGQ05BJiGQH7Y0k70Cw=
 by: Lawrence D'Oliv - Fri, 26 Apr 2024 04:43 UTC

On Fri, 26 Apr 2024 16:36:41 +1200, David Goodwin wrote:

> Why go to all the effort reimplementing the whole
> Linux syscall interface and keeping it up-to-date when you could just
> run the Linux kernel in a VM.

Because that was what the whole “personality” system was supposed to be
for. In practice, it didn’t work.

> Are you trying to argue that moving code out of the kernel into
> userspace is a bad idea?

It would have been great if they could have implemented the Linux API that
way, wouldn’t it? But they couldn’t do it.

Pages:123456789101112
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor