Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

An elephant is a mouse with an operating system.


computers / comp.os.vms / Re: CRTL and RMS vs SSIO

SubjectAuthor
* CRTL and RMS vs SSIOGreg Tinkler
+* Re: CRTL and RMS vs SSIOStephen Hoffman
|`* Re: CRTL and RMS vs SSIOGreg Tinkler
| `- Re: CRTL and RMS vs SSIOStephen Hoffman
+* Re: CRTL and RMS vs SSIOCraig A. Berry
|+* Re: CRTL and RMS vs SSIODavid Jones
||+* Re: CRTL and RMS vs SSIOJohn Dallman
|||+* Re: CRTL and RMS vs SSIOGreg Tinkler
||||+- Re: CRTL and RMS vs SSIOArne Vajhøj
||||+* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||`* Re: CRTL and RMS vs SSIOArne Vajhøj
||||| `* Re: CRTL and RMS vs SSIODave Froble
|||||  `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||   `* Re: CRTL and RMS vs SSIODave Froble
|||||    `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||     `* Re: CRTL and RMS vs SSIODave Froble
|||||      +* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |`* Re: CRTL and RMS vs SSIODave Froble
|||||      | `* Re: CRTL and RMS vs SSIOSimon Clubley
|||||      |  +- Re: CRTL and RMS vs SSIODave Froble
|||||      |  +- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |  `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |   +- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |   `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |    +* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |    |`- Re: CRTL and RMS vs SSIODave Froble
|||||      |    `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |     `- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||       `* Re: CRTL and RMS vs SSIODave Froble
|||||        +* Re: CRTL and RMS vs SSIOJan-Erik Söderholm
|||||        |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | +* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        | |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | | `* Re: CRTL and RMS vs SSIOSimon Clubley
|||||        | |  `* Re: CRTL and RMS vs SSIODave Froble
|||||        | |   `- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        | `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||        |  `* Re: CRTL and RMS vs SSIOchris
|||||        |   +- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |   `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||        |    `- Re: CRTL and RMS vs SSIOchris
|||||        +* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  +* Re: CRTL and RMS vs SSIODave Froble
|||||        |  |+* Coding with/without RDBMSDave Froble
|||||        |  ||+- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||`* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |`* Re: Coding with/without RDBMSDave Froble
|||||        |  || | +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |`* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || | | `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |  `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || | |   +- Re: Coding with/without RDBMSchris
|||||        |  || | |   `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |    `* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  || | |     +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |     `- Re: Coding with/without RDBMSchris
|||||        |  || | `* Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  || |  +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |  |`- Re: Coding with/without RDBMSDave Froble
|||||        |  || |  `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  || |   +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |   |+- Re: Coding with/without RDBMSDavid Jones
|||||        |  || |   |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  || |   `- Re: Coding with/without RDBMSDave Froble
|||||        |  || `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||  +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  |+- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||  |`* Re: Coding with/without RDBMSDave Froble
|||||        |  ||  | `- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||  +* Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  ||  |`- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||   `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||    +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||    `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||     +* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||     |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||     `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||      +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||      |`* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      | `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||      |  `- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||       +* Re: Coding with/without RDBMSDavid Jones
|||||        |  ||       |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       +* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||       |`* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       | +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       | `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||       |  +* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       |  |+* Re: Coding with/without RDBMSJan-Erik Söderholm
|||||        |  ||       |  ||+- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  ||`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       |  |`- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  +- Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  ||       |  +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  `- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       `- Re: Coding with/without RDBMSDave Froble
|||||        |  |+- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  |`* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  `- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
||||+* Re: CRTL and RMS vs SSIODave Froble
||||+* Re: CRTL and RMS vs SSIOSimon Clubley
||||`* Re: CRTL and RMS vs SSIOStephen Hoffman
|||+* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||`- Re: CRTL and RMS vs SSIOSimon Clubley
||`* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|`* Re: CRTL and RMS vs SSIODave Froble
`- Re: CRTL and RMS vs SSIOArne Vajhøj

Pages:123456789101112131415
Re: CRTL and RMS vs SSIO

<sk761s$lfu$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 17:46:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <sk761s$lfu$4@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com> <615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me> <6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me> <6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me> <efce1f13-43e1-4b68-87bc-c673a2afb18an@googlegroups.com> <sk6sl2$id3$2@dont-email.me>
Injection-Date: Wed, 13 Oct 2021 17:46:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f22f1515f1f56c5bf9007737b8d06789";
logging-data="22014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OO7Ko+T+RPfxH5XCpbjFotqk7LuJIXKM="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ZjiHjptzt7RizrbjnlyknzTs5N8=
 by: Simon Clubley - Wed, 13 Oct 2021 17:46 UTC

On 2021-10-13, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Even simpler, since my computers run 24 x 365.25
>

So you shut them down over a leap second ? :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: CRTL and RMS vs SSIO

<sk76kl$lfu$5@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 17:56:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <sk76kl$lfu$5@dont-email.me>
References: <sk4slk$u05$1@dont-email.me> <254a7d8d-b908-4ffa-8295-8dedc6dfbed9n@googlegroups.com> <sk53t7$16v$1@dont-email.me> <2cd10bff-2a4e-47d1-90a4-c8b2e062d023n@googlegroups.com> <sk5g0a$nkd$1@dont-email.me> <5f5e8f45-8712-4d7b-a3b1-00e82455a44an@googlegroups.com>
Injection-Date: Wed, 13 Oct 2021 17:56:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f22f1515f1f56c5bf9007737b8d06789";
logging-data="22014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180XSKs5OLjgvG1eBawhXZppC+XHTmy/Zc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:add2/WXslbpFbnIeSWEjoAN5bb8=
 by: Simon Clubley - Wed, 13 Oct 2021 17:56 UTC

On 2021-10-13, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
> On Wednesday, October 13, 2021 at 3:24:12 PM UTC+13, Dave Froble wrote:
>>
>> On 10/12/2021 8:31 PM, Lawrence D?Oliveiro wrote:
>>>
>>> On Wednesday, October 13, 2021 at 11:57:45 AM UTC+13, Stephen Hoffman wrote:
>>>>
>>>> If the effort to re-host is underway, why re-host to Linux and not to a more
>>>> modern kernel design?
>> >
>> > What choice do you have?
>>>
>> The choices are many. Including entirely new designs.
>
> How many of them offer as good as, or better, hardware support than you already have with VMS?

NetBSD ? :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: CRTL and RMS vs SSIO

<61671e79$0$702$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Oct 2021 13:59:14 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sk6stq$q4p$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 93
Message-ID: <61671e79$0$702$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 1a89cb22.news.sunsite.dk
X-Trace: 1634147961 news.sunsite.dk 702 arne@vajhoej.dk/68.9.63.232:59815
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 13 Oct 2021 17:59 UTC

On 10/13/2021 11:09 AM, Dave Froble wrote:
> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>> On 10/12/2021 5:10 PM, Arne Vajhøj wrote:
>>>> On 10/12/2021 4:42 PM, Dave Froble wrote:
>>>>> On 10/12/2021 3:55 PM, Arne Vajhøj wrote:
>>>>>> But the money math has changed.
>>>>>>
>>>>>> I would say that over the last 30 years:
>>>>>>
>>>>>> RDBMS license cost changed from expensive to free options available
>>>>>>
>>>>>> RDBMS hardware resource cost changed from expensive to insignificant
>>>>>>
>>>>>> writing and maintaining code to manage IDX file cost is more or less
>>>>>> constant
>>>>>
>>>>> Are you suggesting writing and maintaining code for RDBMS is any
>>>>> different?
>>>>
>>>> You need much less code because the database software does
>>>> so much.
>>>>
>>>> It is a tradeoff - you write much less code but the generic code
>>>> in the RDBMS use more CPU and memory.
>>>
>>> Excuse me, I'm just a dummy, come down out of the hills.  But:
>>>
>>> 1) Open file
>>> 2) Access data
>>> 3) Do some work
>>> 4) Write/Update data
>>> 5) Done
>>>
>>> and
>>>
>>> 1) Access database
>>> 2) Access data
>>> 3) Do some work
>>> 4) Write/Update data
>>> 5) Done
>>>
>>> Guess I don't see much difference.
>>
>> That is because you describe *what* is being done not *how* it is done.
>>
>> In general you can expect:
>>
>> data maintenance - replacing a lot of application code with few lines of
>> SQL
>
> You claim that, but I just don't see it.
>
>> applications with simple queries - slightly less code
>>
>> application code with complex queries - a lot less code
>>
>> adhoc just get some numbers - replacing a lot of application code with
>> few lines of SQL
>
> Don't see that.
>
> Also, I've noticed that doing some things with SQL can be much more
> complex.

Here is an example of some (Python) code using SQL to
join, select, aggregate, sort and limit some data.

import sqlite3

con = sqlite3.connect('test.db')
c = con.cursor()
c.execute('''SELECT customers.name,SUM(orderlines.price) AS totalsales
FROM customers
LEFT JOIN orders ON customers.customer_id = orders.customer_id
LEFT JOIN orderlines ON orders.order_id = orderlines.order_id
WHERE orders.status = 'Delivered'
GROUP BY customers.name
HAVING totalsales > 10
ORDER BY totalsales DESC
LIMIT 3''')
for row in c.fetchall():
print('%s : %d' % (row[0], row[1]))
con.commit()
con.close()

I believe that it would take a lot more code to
retrieve data from index-sequential files and
do the work on the data.

Arne

Re: CRTL and RMS vs SSIO

<sk76ui$lfu$6@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 18:01:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <sk76ui$lfu$6@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk> <sjsvjo$5q3$1@dont-email.me> <sjt6ps$ebu$1@dont-email.me> <sk1vif$v53$7@dont-email.me> <6165c613$0$694$14726298@news.sunsite.dk> <sk4i9f$pni$1@dont-email.me> <4b0933bd-d70b-4ed7-a2cc-7b621830346fn@googlegroups.com>
Injection-Date: Wed, 13 Oct 2021 18:01:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f22f1515f1f56c5bf9007737b8d06789";
logging-data="22014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CojgQKP1bXwlc/goioAPwFE5Yz5krZ1E="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:pjjK0IH4p5N0KPxmDTjKzUSQHk4=
 by: Simon Clubley - Wed, 13 Oct 2021 18:01 UTC

On 2021-10-12, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
> On Wednesday, October 13, 2021 at 6:57:05 AM UTC+13, Simon Clubley wrote:
>> No other operating system needs
>> to support assembly language as an application programming language.
>
> I don?t think support for assembly language is the issue -- assembly language can still be useful and relevant in app code today, for example in video encoding. Here?s what I think the issue is about: ?control blocks?.
>

The difference is the other operating systems don't need to support
calling system services (for example) from assembly language and if you
try it you are on your own. On VMS it does and it's supported as such.

Unfortunately.

(And yes, it's a product of the time VMS was designed in along with
the heritage that VMS inherited.)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: CRTL and RMS vs SSIO

<sk776j$lfu$7@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 18:06:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <sk776j$lfu$7@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk> <sjsvjo$5q3$1@dont-email.me> <sjt6ps$ebu$1@dont-email.me> <sk1vif$v53$7@dont-email.me> <6165c613$0$694$14726298@news.sunsite.dk> <ism1k6Feo3oU2@mid.individual.net> <6165d35e$0$705$14726298@news.sunsite.dk> <sk4si3$ruu$1@dont-email.me> <sk57dg$vfg$1@dont-email.me> <sk5f0f$50h$1@dont-email.me> <d7c0bdd0-bd71-4eeb-b7ed-5d4b349349ebn@googlegroups.com> <sk6jjf$165c$1@gioia.aioe.org>
Injection-Date: Wed, 13 Oct 2021 18:06:12 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f22f1515f1f56c5bf9007737b8d06789";
logging-data="22014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fCjHFbJde3wOPQXnQhLhWjSdFwMQwDy8="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:j+3cyXE1yNonuFXPHjm7DqvPOSU=
 by: Simon Clubley - Wed, 13 Oct 2021 18:06 UTC

On 2021-10-13, chris <chris-nospam@tridac.net> wrote:
>
> Yes, it was stable enough to ship and still have a copy of Suse Linux
> for Alpha on the shelf, but it was still fairly primitive at the time
> X windows setup and framebuffer support was a hard work.

You mean you didn't like editing and creating modelines ? :-)

That's a skill I once had that I don't miss losing to history...

(It was the same on x86 BTW. That wasn't Alpha specific.)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: CRTL and RMS vs SSIO

<sk77le$lfu$8@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 18:14:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <sk77le$lfu$8@dont-email.me>
References: <c57fd621-4f3b-43d8-8013-9cfd906a67f0n@googlegroups.com> <sk4slk$u05$1@dont-email.me> <254a7d8d-b908-4ffa-8295-8dedc6dfbed9n@googlegroups.com>
Injection-Date: Wed, 13 Oct 2021 18:14:06 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f22f1515f1f56c5bf9007737b8d06789";
logging-data="22014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18chvJiwIfUOf7CZQhjHmu5zIdMALotVew="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:TFV++vYZ9RC6LnZIFa65mcPH/0c=
 by: Simon Clubley - Wed, 13 Oct 2021 18:14 UTC

On 2021-10-12, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
> On Wednesday, October 13, 2021 at 9:54:14 AM UTC+13, Stephen Hoffman wrote:
>> The DEC OpenVMS advanced development group did do a prototype of
>> OpenVMS on Mach a ~quarter-century ago.
>
> Yeah, but Mach is a microkernel, with all the downsides that microkernels have.
>

Microkernels have moved on and microkernels have massive security advantages.

BTW, QNX, which is a RTOS with a massive user base, is microkernel based.

>> Possible areas where kernel modifications might necessary? Linux memory
>> management is thoroughly two-ring, and OpenVMS expectations are
>> four-ring. Do you drop those areas from OpenVMS, and force app source
>> code changes?
>
> Where is there app code that cares about this?
>

Any program that interacts with DCL for one simple example.

In the current VMS design, you can't move DCL into user mode, or allow
user-controlled code to execute in DCL's supervisor mode, without ending
up with an operating system that has all the security of MS-DOS.

Other examples have already been posted.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: CRTL and RMS vs SSIO

<sk793q$1t3i$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 19:38:50 +0100
Organization: Aioe.org NNTP Server
Message-ID: <sk793q$1t3i$1@gioia.aioe.org>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk> <sjsvjo$5q3$1@dont-email.me> <sjt6ps$ebu$1@dont-email.me> <sk1vif$v53$7@dont-email.me> <6165c613$0$694$14726298@news.sunsite.dk> <ism1k6Feo3oU2@mid.individual.net> <6165d35e$0$705$14726298@news.sunsite.dk> <sk4si3$ruu$1@dont-email.me> <sk57dg$vfg$1@dont-email.me> <sk5f0f$50h$1@dont-email.me> <d7c0bdd0-bd71-4eeb-b7ed-5d4b349349ebn@googlegroups.com> <sk6jjf$165c$1@gioia.aioe.org> <sk776j$lfu$7@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="62578"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Wed, 13 Oct 2021 18:38 UTC

On 10/13/21 19:06, Simon Clubley wrote:
> On 2021-10-13, chris<chris-nospam@tridac.net> wrote:
>>
>> Yes, it was stable enough to ship and still have a copy of Suse Linux
>> for Alpha on the shelf, but it was still fairly primitive at the time
>> X windows setup and framebuffer support was a hard work.
>
> You mean you didn't like editing and creating modelines ? :-)
>
> That's a skill I once had that I don't miss losing to history...
>
> (It was the same on x86 BTW. That wasn't Alpha specific.)
>
> Simon.
>

Seriously hard work, make sure it was documented once working,
because you would never remember the sequence of runes :-). Now,
we have luxury and on FreeBSD for instance, just include
"kld)_list=radeonkms" and on boot, the system interrogates
the monitor to optimise the resolution and even works through
the better kvm switches. Resolution issues were difficult to
keep in sync in the past over several machines and only one or
two monitors...

Chris

Re: CRTL and RMS vs SSIO

<sk7dtm$98s$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 16:00:54 -0400
Organization: HoffmanLabs LLC
Lines: 71
Message-ID: <sk7dtm$98s$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk> <sjsvjo$5q3$1@dont-email.me> <sjt6ps$ebu$1@dont-email.me> <sk1vif$v53$7@dont-email.me> <6165c613$0$694$14726298@news.sunsite.dk> <sk4i9f$pni$1@dont-email.me> <4b0933bd-d70b-4ed7-a2cc-7b621830346fn@googlegroups.com> <sk76ui$lfu$6@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="38a8405e376b17c9ad1698f6e6d32284";
logging-data="9500"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j9Jsl7LyLkEBZfBQI+7PiY2PwkibGxdY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:9YwDktxqjjVLVxVtc+rzbdWQ+lc=
 by: Stephen Hoffman - Wed, 13 Oct 2021 20:00 UTC

On 2021-10-13 18:01:54 +0000, Simon Clubley said:

> On 2021-10-12, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
>> On Wednesday, October 13, 2021 at 6:57:05 AM UTC+13, Simon Clubley wrote:
>>> No other operating system needs to support assembly language as an
>>> application programming language.
>>
>> I don't think support for assembly language is the issue -- assembly
>> language can still be useful and relevant in app code today, for
>> example in video encoding. Here's what I think the issue is about:
>> 'control blocks'.
>>
>
> The difference is the other operating systems don't need to support
> calling system services (for example) from assembly language and if you
> try it you are on your own. On VMS it does and it's supported as such.
>
> Unfortunately.
>
> (And yes, it's a product of the time VMS was designed in along with the
> heritage that VMS inherited.)

Macro32 isn't particularly limited in what it can call. Particularly as
compared with BASIC and other 32-bit apps and 32-bit APIs/ABIs present
on OpenVMS.

Macro32 has long had some 64-bit capabilities: $PUSH_ARG64, $CALL64,
..ENABLE QUADWORD, .CALL_ENTRY QUAD_ARGS=TRUE, etc.

Underneath your references to Macro32 too, the 1970s-style structure
definitions inherently mean any API or ABI changes will require changes
to app source code, across languages.

Any incompatible changes that will then effect Macro32 apps, and all
other apps calling system services and RMS services.

In C, that's going to entail changes to anything using char, short,
int, long long, int32_t, uint64_t, etc. with changed APIs.

These changes can absolutely happen—though not compatibly—and it'll
take a dozen years and probably more to migrate even the
actively-maintained apps across VSI and ISV and end-user apps.

I'd tend to aim for object APIs as the replacement here too, as that
trades off some run-time performance—not that itemlists were ever known
for performance-friendliness—for more flexible and extensible
interfaces later.

Not that I'd expect to ever meet Macroo32. 🤪

Again, you're dancing around the limits of a 1970s-era API/ABI design
and the general goal of upward-compatibility; of minimal disruptions to
existing 32-bit apps. Not any limits specific to Macro32.

The larger-scale and longer-term "fix" is a migration to a 64-bit only
environment, with the existing 32-/64-bit environment preserved for a
~decade pending deprecation, and eventually then removal. But that's
not happening.

And to be absolutely clear, I do not expect any substantial new Macro32
compiler work or features past what is needed for the port, and I do
not expect existing Macro32 apps will see anything more than
incremental work in existing Macro32.

TL;DR: it's the "control blocks" and the API design.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sk7g4s$bk9$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 16:38:22 -0400
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <sk7g4s$bk9$2@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<efce1f13-43e1-4b68-87bc-c673a2afb18an@googlegroups.com>
<sk6sl2$id3$2@dont-email.me> <sk761s$lfu$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Oct 2021 20:38:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="63a929159a796501deb0e7afb5a300e2";
logging-data="11913"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rIihhPlEqgEDq1Rp4IMZwF9uH5uOjt7k="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:5blPb38MWjPQmldTmMicwk+TGr8=
In-Reply-To: <sk761s$lfu$4@dont-email.me>
 by: Dave Froble - Wed, 13 Oct 2021 20:38 UTC

On 10/13/2021 1:46 PM, Simon Clubley wrote:
> On 2021-10-13, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> Even simpler, since my computers run 24 x 365.25
>>
>
> So you shut them down over a leap second ? :-)
>
> Simon.
>

Well, I would, but it's over before I get a chance to do so.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sk7gg6$j45$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 16:44:23 -0400
Organization: A noiseless patient Spider
Lines: 92
Message-ID: <sk7gg6$j45$1@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
<sk729o$ces$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Oct 2021 20:44:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="63a929159a796501deb0e7afb5a300e2";
logging-data="19589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eF0EyE+/sAKFR6MXJwblw/u/7yXFhF4M="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Qle0ys1DUGmtdnmuJeWLNX5Xpl4=
In-Reply-To: <sk729o$ces$1@dont-email.me>
 by: Dave Froble - Wed, 13 Oct 2021 20:44 UTC

On 10/13/2021 12:42 PM, Jan-Erik Söderholm wrote:
> Den 2021-10-13 kl. 17:09, skrev Dave Froble:
>> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>>> On 10/12/2021 5:10 PM, Arne Vajhøj wrote:
>>>>> On 10/12/2021 4:42 PM, Dave Froble wrote:
>>>>>> On 10/12/2021 3:55 PM, Arne Vajhøj wrote:
>>>>>>> But the money math has changed.
>>>>>>>
>>>>>>> I would say that over the last 30 years:
>>>>>>>
>>>>>>> RDBMS license cost changed from expensive to free options available
>>>>>>>
>>>>>>> RDBMS hardware resource cost changed from expensive to insignificant
>>>>>>>
>>>>>>> writing and maintaining code to manage IDX file cost is more or less
>>>>>>> constant
>>>>>>
>>>>>> Are you suggesting writing and maintaining code for RDBMS is any
>>>>>> different?
>>>>>
>>>>> You need much less code because the database software does
>>>>> so much.
>>>>>
>>>>> It is a tradeoff - you write much less code but the generic code
>>>>> in the RDBMS use more CPU and memory.
>>>>
>>>> Excuse me, I'm just a dummy, come down out of the hills. But:
>>>>
>>>> 1) Open file
>>>> 2) Access data
>>>> 3) Do some work
>>>> 4) Write/Update data
>>>> 5) Done
>>>>
>>>> and
>>>>
>>>> 1) Access database
>>>> 2) Access data
>>>> 3) Do some work
>>>> 4) Write/Update data
>>>> 5) Done
>>>>
>>>> Guess I don't see much difference.
>>>
>>> That is because you describe *what* is being done not *how* it is done.
>>>
>>> In general you can expect:
>>>
>>> data maintenance - replacing a lot of application code with few lines of
>>> SQL
>>
>> You claim that, but I just don't see it.
>>
>>> applications with simple queries - slightly less code
>>>
>>> application code with complex queries - a lot less code
>>>
>>> adhoc just get some numbers - replacing a lot of application code with
>>> few lines of SQL
>>
>> Don't see that.
>>
>> Also, I've noticed that doing some things with SQL can be much more
>> complex.
>>
>>
>
> It is not clear what you have or haven't seen, but your conclusions
> are a bit weird. It is so much easier to do data maintanance and
> adhoq queries aginst a typical SQL database (such as Rdb) than to
> try that against RMS data files. You are just completely wrong.

Ad hoc inquiries I'll give you. RDBMS is great for that.

But that wasn't in the discussion. Arne claimed that it took code to
use an RDBMS, and with some exceptions, that just isn't always so.

Yes, "SELECT * Where Name Like "Dave" is rather simple. But one must
still attach to the database. Request a Recordset. and so on.

A simple loop processing an RMS file looking in each record in the field
Name for "Dave" can be an open and a couple lines of code.

Not such a big difference.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sk7h26$muo$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 16:53:58 -0400
Organization: A noiseless patient Spider
Lines: 108
Message-ID: <sk7h26$muo$1@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
<61671e79$0$702$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Oct 2021 20:54:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="63a929159a796501deb0e7afb5a300e2";
logging-data="23512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/jLETwZLseM7jFH4MAM0X3oFePJWY+TE="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:ywZ8I5YMpIdehbt2oBuShoWdPww=
In-Reply-To: <61671e79$0$702$14726298@news.sunsite.dk>
 by: Dave Froble - Wed, 13 Oct 2021 20:53 UTC

On 10/13/2021 1:59 PM, Arne Vajhøj wrote:
> On 10/13/2021 11:09 AM, Dave Froble wrote:
>> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>>> On 10/12/2021 5:10 PM, Arne Vajhøj wrote:
>>>>> On 10/12/2021 4:42 PM, Dave Froble wrote:
>>>>>> On 10/12/2021 3:55 PM, Arne Vajhøj wrote:
>>>>>>> But the money math has changed.
>>>>>>>
>>>>>>> I would say that over the last 30 years:
>>>>>>>
>>>>>>> RDBMS license cost changed from expensive to free options available
>>>>>>>
>>>>>>> RDBMS hardware resource cost changed from expensive to insignificant
>>>>>>>
>>>>>>> writing and maintaining code to manage IDX file cost is more or less
>>>>>>> constant
>>>>>>
>>>>>> Are you suggesting writing and maintaining code for RDBMS is any
>>>>>> different?
>>>>>
>>>>> You need much less code because the database software does
>>>>> so much.
>>>>>
>>>>> It is a tradeoff - you write much less code but the generic code
>>>>> in the RDBMS use more CPU and memory.
>>>>
>>>> Excuse me, I'm just a dummy, come down out of the hills. But:
>>>>
>>>> 1) Open file
>>>> 2) Access data
>>>> 3) Do some work
>>>> 4) Write/Update data
>>>> 5) Done
>>>>
>>>> and
>>>>
>>>> 1) Access database
>>>> 2) Access data
>>>> 3) Do some work
>>>> 4) Write/Update data
>>>> 5) Done
>>>>
>>>> Guess I don't see much difference.
>>>
>>> That is because you describe *what* is being done not *how* it is done.
>>>
>>> In general you can expect:
>>>
>>> data maintenance - replacing a lot of application code with few lines of
>>> SQL
>>
>> You claim that, but I just don't see it.
>>
>>> applications with simple queries - slightly less code
>>>
>>> application code with complex queries - a lot less code
>>>
>>> adhoc just get some numbers - replacing a lot of application code with
>>> few lines of SQL
>>
>> Don't see that.
>>
>> Also, I've noticed that doing some things with SQL can be much more
>> complex.
>
> Here is an example of some (Python) code using SQL to
> join, select, aggregate, sort and limit some data.
>
> import sqlite3
>
> con = sqlite3.connect('test.db')
> c = con.cursor()
> c.execute('''SELECT customers.name,SUM(orderlines.price) AS totalsales
> FROM customers
> LEFT JOIN orders ON customers.customer_id = orders.customer_id
> LEFT JOIN orderlines ON orders.order_id = orderlines.order_id
> WHERE orders.status = 'Delivered'
> GROUP BY customers.name
> HAVING totalsales > 10
> ORDER BY totalsales DESC
> LIMIT 3''')
> for row in c.fetchall():
> print('%s : %d' % (row[0], row[1]))
> con.commit()
> con.close()
>
> I believe that it would take a lot more code to
> retrieve data from index-sequential files and
> do the work on the data.
>
> Arne
>
>

Not a lot, however the sorting by customer name would entail some
additional code.

However, reading the order file, doing the selection, look-up customer
record, and release to record sort, then read back sorted records is not
"a lot more" code.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sk7hen$muo$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!paganini.bofh.team!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 17:00:40 -0400
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <sk7hen$muo$2@dont-email.me>
References: <c57fd621-4f3b-43d8-8013-9cfd906a67f0n@googlegroups.com>
<sk4slk$u05$1@dont-email.me>
<254a7d8d-b908-4ffa-8295-8dedc6dfbed9n@googlegroups.com>
<sk77le$lfu$8@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Oct 2021 21:01:11 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="63a929159a796501deb0e7afb5a300e2";
logging-data="23512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/JnmSE6lH8s/5TlpMfLA8/ExuJbKAgt/A="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:f0hNb9q+UMovgRbxKMxSEsLv69g=
In-Reply-To: <sk77le$lfu$8@dont-email.me>
 by: Dave Froble - Wed, 13 Oct 2021 21:00 UTC

On 10/13/2021 2:14 PM, Simon Clubley wrote:
> On 2021-10-12, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
>> On Wednesday, October 13, 2021 at 9:54:14 AM UTC+13, Stephen Hoffman wrote:
>>> The DEC OpenVMS advanced development group did do a prototype of
>>> OpenVMS on Mach a ~quarter-century ago.
>>
>> Yeah, but Mach is a microkernel, with all the downsides that microkernels have.
>>
>
> Microkernels have moved on and microkernels have massive security advantages.
>
> BTW, QNX, which is a RTOS with a massive user base, is microkernel based.
>
>>> Possible areas where kernel modifications might necessary? Linux memory
>>> management is thoroughly two-ring, and OpenVMS expectations are
>>> four-ring. Do you drop those areas from OpenVMS, and force app source
>>> code changes?
>>
>> Where is there app code that cares about this?
>>
>
> Any program that interacts with DCL for one simple example.
>
> In the current VMS design, you can't move DCL into user mode, or allow
> user-controlled code to execute in DCL's supervisor mode, without ending
> up with an operating system that has all the security of MS-DOS.

MS-DOS has excellent security.

When nothing can be done, that is excellent security.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<61676900$0$695$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Oct 2021 19:17:14 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk>
<sjsvjo$5q3$1@dont-email.me> <sjt6ps$ebu$1@dont-email.me>
<sk1vif$v53$7@dont-email.me> <6165c613$0$694$14726298@news.sunsite.dk>
<sk4i9f$pni$1@dont-email.me> <6165d196$0$705$14726298@news.sunsite.dk>
<sk75ru$lfu$3@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sk75ru$lfu$3@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 44
Message-ID: <61676900$0$695$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 0b026f3d.news.sunsite.dk
X-Trace: 1634167040 news.sunsite.dk 695 arne@vajhoej.dk/68.9.63.232:52280
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 13 Oct 2021 23:17 UTC

On 10/13/2021 1:43 PM, Simon Clubley wrote:
> On 2021-10-12, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 10/12/2021 1:57 PM, Simon Clubley wrote:
>>> BTW, I wonder, with the required changes for the new filesystems
>>> for disks >2TB, if VSI will still support Macro-32 with the new
>>> filesystems or if we are moving to data structures with abstracted
>>> pointer sizes (and subroutine interfaces) just as in Unix and elsewhere.
>>
>> I think your view of *nix is a bit too rosy.
>>
>> Try read about lseek vs llseek vs lseek64, off_t vs off64_t vs loff_t
>> and how they behave depending on whether #define _FILE_OFFSET_BITS 64
>> is used or not.
>
> Not really. Those are all about maximum supported file sizes.

That seems pretty relevant to the question about file systems for large
disks.

> VMS has a major additional problem that no other operating systems do
> in that the size of an address is directly visible in program-visible
> system call structures instead of being abstracted away by the compiler.

It was a decision made 30 years ago to not extend those fields.

Problem? Maybe.

Major problem? I doubt it. Try count the number of questions about it.
Very few seems to have a problem with it in real life.

> This is because the lowest supported application language on VMS is
> Macro-32 but the lowest supported application language on those
> other operating systems is C which has a pointer data type that
> programs don't generally care about the size of.

I believe that z/OS also has applications with some assembler.

But newer OS'es like Windows and Linux does not.

C was not that big a language when VMS was designed. I don't even
think VAX C was available with first VMS versions. So obviously
VMS API's was not defined in C.

Arne

Re: CRTL and RMS vs SSIO

<61676a67$0$698$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Oct 2021 19:23:18 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
<sk729o$ces$1@dont-email.me> <sk7gg6$j45$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sk7gg6$j45$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 85
Message-ID: <61676a67$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 0b026f3d.news.sunsite.dk
X-Trace: 1634167399 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:52375
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 13 Oct 2021 23:23 UTC

On 10/13/2021 4:44 PM, Dave Froble wrote:
> On 10/13/2021 12:42 PM, Jan-Erik Söderholm wrote:
>> Den 2021-10-13 kl. 17:09, skrev Dave Froble:
>>> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>>>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>>>> Excuse me, I'm just a dummy, come down out of the hills.  But:
>>>>>
>>>>> 1) Open file
>>>>> 2) Access data
>>>>> 3) Do some work
>>>>> 4) Write/Update data
>>>>> 5) Done
>>>>>
>>>>> and
>>>>>
>>>>> 1) Access database
>>>>> 2) Access data
>>>>> 3) Do some work
>>>>> 4) Write/Update data
>>>>> 5) Done
>>>>>
>>>>> Guess I don't see much difference.
>>>>
>>>> That is because you describe *what* is being done not *how* it is done.
>>>>
>>>> In general you can expect:
>>>>
>>>> data maintenance - replacing a lot of application code with few
>>>> lines of
>>>> SQL
>>>
>>> You claim that, but I just don't see it.

Try add a column or update some values.

With a relational database in is one SQL statement.

With an index-sequential file it is writing a conversion program.

>>>> applications with simple queries - slightly less code
>>>>
>>>> application code with complex queries - a lot less code
>>>>
>>>> adhoc just get some numbers - replacing a lot of application code with
>>>> few lines of SQL
>>>
>>> Don't see that.
>>>
>>> Also, I've noticed that doing some things with SQL can be much more
>>> complex.
>>
>> It is not clear what you have or haven't seen, but your conclusions
>> are a bit weird. It is so much easier to do data maintanance and
>> adhoq queries aginst a typical SQL database (such as Rdb) than to
>> try that against RMS data files. You are just completely wrong.
>
> Ad hoc inquiries I'll give you.  RDBMS is great for that.
>
> But that wasn't in the discussion.  Arne claimed that it took code to
> use an RDBMS, and with some exceptions, that just isn't always so.

I listed 4 different types of problems.

For two of them the relational database would mean replacing an
application with a one liner of SQL.

For two of them the relational database would mean an application
with less code, because the SQL replaces functionality in the code
with simple constructs.

> Yes, "SELECT * Where Name Like "Dave" is rather simple.  But one must
> still attach to the database.  Request a Recordset. and so on.
>
> A simple loop processing an RMS file looking in each record in the field
> Name for "Dave" can be an open and a couple lines of code.
>
> Not such a big difference.

Why I called that case for "slightly less code".

But then comes the more complex stuff.

Arne

Re: CRTL and RMS vs SSIO

<memo.20211014005758.13752F@jgd.cix.co.uk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jgd...@cix.co.uk (John Dallman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Thu, 14 Oct 2021 00:57 +0100 (BST)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <memo.20211014005758.13752F@jgd.cix.co.uk>
References: <sjpojk$ctb$1@dont-email.me>
Reply-To: jgd@cix.co.uk
Injection-Info: reader02.eternal-september.org; posting-host="f919a2f0f0b26ec82cbda692de996ac7";
logging-data="30851"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iEiECZ2W0F50Au/Qfau9EPS//DNOmJR4="
Cancel-Lock: sha1:rEcQFu7bgQmRu9WUUfv2vmQT6KA=
 by: John Dallman - Wed, 13 Oct 2021 23:57 UTC

In article <sjpojk$ctb$1@dont-email.me>, seaohveh@hoffmanlabs.invalid
(Stephen Hoffman) wrote:

> To Simon's comment, how DCL gets mapped into process address space
> is just ugly, too. And hard to debug.

Can someone point me to the documentation on this? It's something I've
never encountered.

John

Re: CRTL and RMS vs SSIO

<616777d0$0$696$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Oct 2021 20:20:31 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <sjpojk$ctb$1@dont-email.me>
<memo.20211014005758.13752F@jgd.cix.co.uk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <memo.20211014005758.13752F@jgd.cix.co.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Message-ID: <616777d0$0$696$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 63fb8b7a.news.sunsite.dk
X-Trace: 1634170832 news.sunsite.dk 696 arne@vajhoej.dk/68.9.63.232:53982
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 14 Oct 2021 00:20 UTC

On 10/13/2021 7:56 PM, John Dallman wrote:
> In article <sjpojk$ctb$1@dont-email.me>, seaohveh@hoffmanlabs.invalid
> (Stephen Hoffman) wrote:
>> To Simon's comment, how DCL gets mapped into process address space
>> is just ugly, too. And hard to debug.
>
> Can someone point me to the documentation on this? It's something I've
> never encountered.

Documentation for what?

That DCL (and DCLTABBLES) get mapped into P1 space (S mode stack)?

It is well known.

It must be somewhere in IDSM.

Arne

Re: CRTL and RMS vs SSIO

<0803282d-ea20-4593-b496-fbb824fc5fa5n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:bb86:: with SMTP id l128mr2115671qkf.411.1634171358292;
Wed, 13 Oct 2021 17:29:18 -0700 (PDT)
X-Received: by 2002:ac8:8c:: with SMTP id c12mr2960298qtg.12.1634171358146;
Wed, 13 Oct 2021 17:29:18 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Oct 2021 17:29:17 -0700 (PDT)
In-Reply-To: <sk6cqe$1tha$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <sk4slk$u05$1@dont-email.me> <254a7d8d-b908-4ffa-8295-8dedc6dfbed9n@googlegroups.com>
<sk53t7$16v$1@dont-email.me> <2cd10bff-2a4e-47d1-90a4-c8b2e062d023n@googlegroups.com>
<sk5g0a$nkd$1@dont-email.me> <sk6cqe$1tha$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0803282d-ea20-4593-b496-fbb824fc5fa5n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 14 Oct 2021 00:29:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 50
 by: Lawrence D’Oliveir - Thu, 14 Oct 2021 00:29 UTC

On Wednesday, October 13, 2021 at 11:36:00 PM UTC+13, chris wrote:
> To each his own, but the reason why I dumped Linux forever was over the
> systemd disaster. A seemingly modern replacement for the init startup
> system. Tt now looks more like a mini kernel with the kernel, with
> it's tentacles into every part of the system. Looked to me like a power
> grab by Redhat, to control the future direction of Linux, but call me
> paranoid if you must.

There are no such things as “power grabs” in Free software. You are Free to choose, and the reason why there are 300-over Linux distros is precisely because it is so easy to exercise that choice. There are even quite a few options with no systemd in them.

Myself, I have found that systemd makes many things easier to do. For example, writing a .service file is a lot easier than creating an entire init script.

> Sun's Solaris also has layered system control
> overlay, as does FreeBSD, but leaves all the original files intact, so
> for example, you can still read the log file in text format.

Debian systems currently (by default) run parallel text-based syslogs as well as the systemd journal.

Here’s one fun thing: text-based logfiles have their timestamps in the “system” timezone, which is a pretty nebulous concept on a *nix system. (Consider someone remoting from one part of the world, into a server in a different part, in response to a customer problem report originating in yet another part, logged in their local timezone.) The systemd journal records everything in UTC, and you can easily display entries in any timezone, just by setting “TZ=«timezone»” at the front of the command.

> Linux is far too bloated and all things to all men these days, rather than a
> technically efficient OS.

I don’t why you say that, when it has always been possible to build custom kernels that include only the features that you need. Remember, it runs happily on something as low-powered as the Raspberry π.

> Been running FreeBSD for a few years now and like breath of fresh air in software
> engineering terms.

Seems like their development is mainly dominated by one company these days, with perhaps a less-than-admirable attitude to code quality and security <https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations-and-bad-code-freebsd-13s-close-call/> ...

Re: CRTL and RMS vs SSIO

<4258b4b0-25f7-45eb-b21f-ceeebee9dc4an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:b5c4:: with SMTP id e187mr2105364qkf.27.1634171426994;
Wed, 13 Oct 2021 17:30:26 -0700 (PDT)
X-Received: by 2002:a37:8a44:: with SMTP id m65mr2161759qkd.72.1634171426872;
Wed, 13 Oct 2021 17:30:26 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Oct 2021 17:30:26 -0700 (PDT)
In-Reply-To: <sk6stq$q4p$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com> <615f175c$0$695$14726298@news.sunsite.dk>
<sjnanq$h1f$2@dont-email.me> <6165e835$0$702$14726298@news.sunsite.dk>
<sk4rvs$emk$1@dont-email.me> <6165f9ac$0$700$14726298@news.sunsite.dk>
<sk5e5h$lrc$1@dont-email.me> <6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4258b4b0-25f7-45eb-b21f-ceeebee9dc4an@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 14 Oct 2021 00:30:26 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Lawrence D’Oliveir - Thu, 14 Oct 2021 00:30 UTC

On Thursday, October 14, 2021 at 4:10:52 AM UTC+13, Dave Froble wrote:
> Also, I've noticed that doing some things with SQL can be much more complex.

Only if you have to do them in COBOL!

Re: CRTL and RMS vs SSIO

<a5642b04-7036-464d-80ed-35b335fc69dfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5f54:: with SMTP id y20mr2957677qta.324.1634171550454;
Wed, 13 Oct 2021 17:32:30 -0700 (PDT)
X-Received: by 2002:a37:a882:: with SMTP id r124mr2158204qke.86.1634171550300;
Wed, 13 Oct 2021 17:32:30 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Oct 2021 17:32:30 -0700 (PDT)
In-Reply-To: <sk761s$lfu$4@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com> <615f175c$0$695$14726298@news.sunsite.dk>
<sjnanq$h1f$2@dont-email.me> <6165e835$0$702$14726298@news.sunsite.dk>
<sk4rvs$emk$1@dont-email.me> <6165f9ac$0$700$14726298@news.sunsite.dk>
<sk5e5h$lrc$1@dont-email.me> <efce1f13-43e1-4b68-87bc-c673a2afb18an@googlegroups.com>
<sk6sl2$id3$2@dont-email.me> <sk761s$lfu$4@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a5642b04-7036-464d-80ed-35b335fc69dfn@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 14 Oct 2021 00:32:30 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: Lawrence D’Oliveir - Thu, 14 Oct 2021 00:32 UTC

On Thursday, October 14, 2021 at 6:46:38 AM UTC+13, Simon Clubley wrote:
> On 2021-10-13, Dave Froble <da...@tsoft-inc.com> wrote:
>>
>> Even simpler, since my computers run 24 x 365.25
>>
> So you shut them down over a leap second ? :-)

Actually I think 365.25 is already about a quarter of an hour longer than an actual sidereal year, so leap seconds are going to be lost in the rounding error ...

Re: CRTL and RMS vs SSIO

<611dc1d0-c76d-4f55-acad-7824f63d04b2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5916:: with SMTP id 22mr2915859qty.247.1634171818523;
Wed, 13 Oct 2021 17:36:58 -0700 (PDT)
X-Received: by 2002:ac8:74c7:: with SMTP id j7mr2937442qtr.118.1634171818406;
Wed, 13 Oct 2021 17:36:58 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Oct 2021 17:36:58 -0700 (PDT)
In-Reply-To: <sk76kl$lfu$5@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <sk4slk$u05$1@dont-email.me> <254a7d8d-b908-4ffa-8295-8dedc6dfbed9n@googlegroups.com>
<sk53t7$16v$1@dont-email.me> <2cd10bff-2a4e-47d1-90a4-c8b2e062d023n@googlegroups.com>
<sk5g0a$nkd$1@dont-email.me> <5f5e8f45-8712-4d7b-a3b1-00e82455a44an@googlegroups.com>
<sk76kl$lfu$5@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <611dc1d0-c76d-4f55-acad-7824f63d04b2n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 14 Oct 2021 00:36:58 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 26
 by: Lawrence D’Oliveir - Thu, 14 Oct 2021 00:36 UTC

On Thursday, October 14, 2021 at 6:56:38 AM UTC+13, Simon Clubley wrote:

> On 2021-10-13, Lawrence D?Oliveiro <lawren...@gmail.com> wrote:
>>
>> On Wednesday, October 13, 2021 at 3:24:12 PM UTC+13, Dave Froble wrote:
>>>
>>> On 10/12/2021 8:31 PM, Lawrence D?Oliveiro wrote:
>>>>
>>>> On Wednesday, October 13, 2021 at 11:57:45 AM UTC+13, Stephen Hoffman wrote:
>>>>>
>>>>> If the effort to re-host is underway, why re-host to Linux and not to a more
>>>>> modern kernel design?
>>>>
>>>> What choice do you have?
>>>>
>>> The choices are many. Including entirely new designs.
>>
>> How many of them offer as good as, or better, hardware support than you already have
>> with VMS?
>
> NetBSD ? :-)

Or, to put it another way, how many of them would make the job of porting to new architectures better, instead of worse?

Answer: none.

Except Linux.

Re: CRTL and RMS vs SSIO

<893768e9-32c0-4601-a88e-4b2a79e6c5dbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:b045:: with SMTP id z66mr2137338qke.271.1634172194244;
Wed, 13 Oct 2021 17:43:14 -0700 (PDT)
X-Received: by 2002:a05:622a:1301:: with SMTP id v1mr2947453qtk.233.1634172194129;
Wed, 13 Oct 2021 17:43:14 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Oct 2021 17:43:13 -0700 (PDT)
In-Reply-To: <sk77le$lfu$8@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <c57fd621-4f3b-43d8-8013-9cfd906a67f0n@googlegroups.com>
<sk4slk$u05$1@dont-email.me> <254a7d8d-b908-4ffa-8295-8dedc6dfbed9n@googlegroups.com>
<sk77le$lfu$8@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <893768e9-32c0-4601-a88e-4b2a79e6c5dbn@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 14 Oct 2021 00:43:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 51
 by: Lawrence D’Oliveir - Thu, 14 Oct 2021 00:43 UTC

On Thursday, October 14, 2021 at 7:14:08 AM UTC+13, Simon Clubley wrote:
>
> On 2021-10-12, Lawrence D?Oliveiro <lawren...@gmail.com> wrote:
>
>> On Wednesday, October 13, 2021 at 9:54:14 AM UTC+13, Stephen Hoffman wrote:
>>
>>> The DEC OpenVMS advanced development group did do a prototype of
>>> OpenVMS on Mach a ~quarter-century ago.
>>
>> Yeah, but Mach is a microkernel, with all the downsides that microkernels have.
>
> Microkernels have moved on and microkernels have massive security advantages.

Counterexample: Intel’s infamous Management Engine that exerts total control over its CPUs, that the OS cannot bypass, runs microkernel-based MINIX, and turned out to have massive security holes in it.

So the idea that microkernels have real-world security advantages is pretty dubious at best.

> BTW, QNX, which is a RTOS with a massive user base, is microkernel based.

I think it’s getting pushed aside by Linux in some areas. Remember NASA’s Mars copter? Yup, that was the first time running Linux and a bunch of other open-source software on another planet.

>>> Possible areas where kernel modifications might necessary? Linux memory
>>> management is thoroughly two-ring, and OpenVMS expectations are
>>> four-ring. Do you drop those areas from OpenVMS, and force app source
>>> code changes?
>>
>> Where is there app code that cares about this?
>>
>
> Any program that interacts with DCL for one simple example.

The fact that DCL runs in supervisor mode is an internal implementation matter. It could be replaced by a thread or an entirely separate process (even a privileged one), for example, and what difference would that make to user-mode code?

> In the current VMS design, you can't move DCL into user mode, or allow
> user-controlled code to execute in DCL's supervisor mode, without ending
> up with an operating system that has all the security of MS-DOS.

Yes, but as far as I know there is no user-controlled code in DCL.

Re: CRTL and RMS vs SSIO

<7b6babaf-46d8-47af-9a7c-866a63b6dce8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:b06:: with SMTP id 6mr2173904qkl.352.1634172415499;
Wed, 13 Oct 2021 17:46:55 -0700 (PDT)
X-Received: by 2002:ac8:7014:: with SMTP id x20mr3058890qtm.2.1634172415341;
Wed, 13 Oct 2021 17:46:55 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Oct 2021 17:46:55 -0700 (PDT)
In-Reply-To: <sk7gg6$j45$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com> <615f175c$0$695$14726298@news.sunsite.dk>
<sjnanq$h1f$2@dont-email.me> <6165e835$0$702$14726298@news.sunsite.dk>
<sk4rvs$emk$1@dont-email.me> <6165f9ac$0$700$14726298@news.sunsite.dk>
<sk5e5h$lrc$1@dont-email.me> <6166e76d$0$700$14726298@news.sunsite.dk>
<sk6stq$q4p$1@dont-email.me> <sk729o$ces$1@dont-email.me> <sk7gg6$j45$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7b6babaf-46d8-47af-9a7c-866a63b6dce8n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 14 Oct 2021 00:46:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 14
 by: Lawrence D’Oliveir - Thu, 14 Oct 2021 00:46 UTC

On Thursday, October 14, 2021 at 9:44:56 AM UTC+13, Dave Froble wrote:

> A simple loop processing an RMS file looking in each record in the field
> Name for "Dave" can be an open and a couple lines of code.
>
> Not such a big difference.

Even on a single table, SQL allows for ORDER BY clauses so the records get returned in an order more suited to the application’s needs. And the ordering can be an expression, not necessary a simple field. Try doing that in RMS.

But beyond that, SQL allows lookups using JOINs on multiple tables, plus of course subqueries -- try implementing that in RMS!

Re: CRTL and RMS vs SSIO

<sk80sa$oa1$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 21:23:34 -0400
Organization: A noiseless patient Spider
Lines: 104
Message-ID: <sk80sa$oa1$1@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
<sk729o$ces$1@dont-email.me> <sk7gg6$j45$1@dont-email.me>
<61676a67$0$698$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Oct 2021 01:24:26 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5ed136685f3182b16bd0fdd9ebd6fa9e";
logging-data="24897"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rCfyMyIEBgt9+F1TGFV/7rNdus2q9Iqw="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:g6BlkWwC492ABYH8uKbEkJZ2zFs=
In-Reply-To: <61676a67$0$698$14726298@news.sunsite.dk>
 by: Dave Froble - Thu, 14 Oct 2021 01:23 UTC

On 10/13/2021 7:23 PM, Arne Vajhøj wrote:
> On 10/13/2021 4:44 PM, Dave Froble wrote:
>> On 10/13/2021 12:42 PM, Jan-Erik Söderholm wrote:
>>> Den 2021-10-13 kl. 17:09, skrev Dave Froble:
>>>> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>>>>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>>>>> Excuse me, I'm just a dummy, come down out of the hills. But:
>>>>>>
>>>>>> 1) Open file
>>>>>> 2) Access data
>>>>>> 3) Do some work
>>>>>> 4) Write/Update data
>>>>>> 5) Done
>>>>>>
>>>>>> and
>>>>>>
>>>>>> 1) Access database
>>>>>> 2) Access data
>>>>>> 3) Do some work
>>>>>> 4) Write/Update data
>>>>>> 5) Done
>>>>>>
>>>>>> Guess I don't see much difference.
>>>>>
>>>>> That is because you describe *what* is being done not *how* it is
>>>>> done.
>>>>>
>>>>> In general you can expect:
>>>>>
>>>>> data maintenance - replacing a lot of application code with few
>>>>> lines of
>>>>> SQL
>>>>
>>>> You claim that, but I just don't see it.
>
> Try add a column or update some values.

Yep! Every RDBMS I've seen, which isn't too many, is rather good at
that. Now, what does that have to do with "lot of application code"?

> With a relational database in is one SQL statement.
>
> With an index-sequential file it is writing a conversion program.

Not always. With DAS that utility already exists. And a bunch more
utilities, that work with any DAS file.

RMS isn't the only product around ...

>>>>> applications with simple queries - slightly less code
>>>>>
>>>>> application code with complex queries - a lot less code
>>>>>
>>>>> adhoc just get some numbers - replacing a lot of application code with
>>>>> few lines of SQL
>>>>
>>>> Don't see that.
>>>>
>>>> Also, I've noticed that doing some things with SQL can be much more
>>>> complex.
>>>
>>> It is not clear what you have or haven't seen, but your conclusions
>>> are a bit weird. It is so much easier to do data maintanance and
>>> adhoq queries aginst a typical SQL database (such as Rdb) than to
>>> try that against RMS data files. You are just completely wrong.
>>
>> Ad hoc inquiries I'll give you. RDBMS is great for that.
>>
>> But that wasn't in the discussion. Arne claimed that it took code to
>> use an RDBMS, and with some exceptions, that just isn't always so.
>
> I listed 4 different types of problems.
>
> For two of them the relational database would mean replacing an
> application with a one liner of SQL.
>
> For two of them the relational database would mean an application
> with less code, because the SQL replaces functionality in the code
> with simple constructs.
>
>> Yes, "SELECT * Where Name Like "Dave" is rather simple. But one must
>> still attach to the database. Request a Recordset. and so on.
>>
>> A simple loop processing an RMS file looking in each record in the
>> field Name for "Dave" can be an open and a couple lines of code.
>>
>> Not such a big difference.
>
> Why I called that case for "slightly less code".
>
> But then comes the more complex stuff.

One gets what one pays for. Yeah, an RDBMS can be a fine product. If I
were designing any new apps, I'd most likely choose to use an RDBMS.

I still feel that you're painting the gulf much wider than it actually is.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<61677a7e$0$696$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Oct 2021 20:31:57 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
<61671e79$0$702$14726298@news.sunsite.dk> <sk7h26$muo$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sk7h26$muo$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 225
Message-ID: <61677a7e$0$696$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 63fb8b7a.news.sunsite.dk
X-Trace: 1634171519 news.sunsite.dk 696 arne@vajhoej.dk/68.9.63.232:54487
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 14 Oct 2021 00:31 UTC

On 10/13/2021 4:53 PM, Dave Froble wrote:
> On 10/13/2021 1:59 PM, Arne Vajhøj wrote:
>> On 10/13/2021 11:09 AM, Dave Froble wrote:
>>> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>>>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>>>> On 10/12/2021 5:10 PM, Arne Vajhøj wrote:
>>>>>> On 10/12/2021 4:42 PM, Dave Froble wrote:
>>>>>>> On 10/12/2021 3:55 PM, Arne Vajhøj wrote:
>>>>>>>> But the money math has changed.
>>>>>>>>
>>>>>>>> I would say that over the last 30 years:
>>>>>>>>
>>>>>>>> RDBMS license cost changed from expensive to free options available
>>>>>>>>
>>>>>>>> RDBMS hardware resource cost changed from expensive to
>>>>>>>> insignificant
>>>>>>>>
>>>>>>>> writing and maintaining code to manage IDX file cost is more or
>>>>>>>> less
>>>>>>>> constant
>>>>>>>
>>>>>>> Are you suggesting writing and maintaining code for RDBMS is any
>>>>>>> different?
>>>>>>
>>>>>> You need much less code because the database software does
>>>>>> so much.
>>>>>>
>>>>>> It is a tradeoff - you write much less code but the generic code
>>>>>> in the RDBMS use more CPU and memory.
>>>>>
>>>>> Excuse me, I'm just a dummy, come down out of the hills.  But:
>>>>>
>>>>> 1) Open file
>>>>> 2) Access data
>>>>> 3) Do some work
>>>>> 4) Write/Update data
>>>>> 5) Done
>>>>>
>>>>> and
>>>>>
>>>>> 1) Access database
>>>>> 2) Access data
>>>>> 3) Do some work
>>>>> 4) Write/Update data
>>>>> 5) Done
>>>>>
>>>>> Guess I don't see much difference.
>>>>
>>>> That is because you describe *what* is being done not *how* it is done.
>>>>
>>>> In general you can expect:
>>>>
>>>> data maintenance - replacing a lot of application code with few
>>>> lines of
>>>> SQL
>>>
>>> You claim that, but I just don't see it.
>>>
>>>> applications with simple queries - slightly less code
>>>>
>>>> application code with complex queries - a lot less code
>>>>
>>>> adhoc just get some numbers - replacing a lot of application code with
>>>> few lines of SQL
>>>
>>> Don't see that.
>>>
>>> Also, I've noticed that doing some things with SQL can be much more
>>> complex.
>>
>> Here is an example of some (Python) code using SQL to
>> join, select, aggregate, sort and limit some data.
>>
>> import sqlite3
>>
>> con = sqlite3.connect('test.db')
>> c = con.cursor()
>> c.execute('''SELECT customers.name,SUM(orderlines.price) AS totalsales
>>              FROM customers
>>              LEFT JOIN orders ON customers.customer_id =
>> orders.customer_id
>>              LEFT JOIN orderlines ON orders.order_id =
>> orderlines.order_id
>>              WHERE orders.status = 'Delivered'
>>              GROUP BY customers.name
>>              HAVING totalsales > 10
>>              ORDER BY totalsales DESC
>>              LIMIT 3''')
>> for row in c.fetchall():
>>     print('%s : %d' % (row[0], row[1]))
>> con.commit()
>> con.close()
>>
>> I believe that it would take a lot more code to
>> retrieve data from index-sequential files and
>> do the work on the data.
>
> Not a lot, however the sorting by customer name would entail some
> additional code.
>
> However, reading the order file, doing the selection, look-up customer
> record, and release to record sort, then read back sorted records is not
> "a lot more" code.

I tried writing it in Pascal using index-sequential files.

program cmplx(input,output);

const
MAX_ORDERLINES_PER_ORDER = 100;

type
orderline = record
item : packed array [1..50] of char;
price : integer;
end;
customer = record
customer_id : [key(0)] integer;
name : packed array [1..50] of char;
address : packed array [1..100] of char;
end;
order = record
order_id : [key(0)] integer;
customer_id : [key(1)] integer;
ref : packed array [1..50] of char;
status : packed array [1..25] of char;
no_orderlines : integer;
orderlines : array [1..MAX_ORDERLINES_PER_ORDER] of
orderline;
end;

const
MAX_CUSTOMERS = 10000;

type
extcustomer = record
basis : customer;
total_sales : integer;
end;
extcustomerlist = array [1..MAX_CUSTOMERS] of extcustomer;

var
no_xc : integer;
xc_list : extcustomerlist;

procedure load_data;

var
fc : file of customer;
fo : file of order;
c : customer;
o : order;
i : integer;

begin
open(fc, 'customer.isq', old, organization := indexed, access_method
:= keyed);
open(fo, 'order.isq', old, organization := indexed, access_method :=
keyed);
resetk(fc, 0);
no_xc := 0;
while not eof(fc) do begin
c := fc^;
no_xc := no_xc + 1;
xc_list[no_xc].basis := c;
xc_list[no_xc].total_sales := 0;
resetk(fo, 1);
findk(fo, 1, c.customer_id);
while not(ufb(fo)) and not(eof(fo)) and (fo^.customer_id =
c.customer_id) do begin
o := fo^;
if o.status = 'Delivered' then begin
for i := 1 to o.no_orderlines do begin
xc_list[no_xc].total_sales := xc_list[no_xc].total_sales
+ o.orderlines[i].price;
end;
end;
get(fo); ;
end;
get(fc);
end;
close(fo);
close(fc);
end;

procedure sort_data;

var
i, j : integer;
tmp : extcustomer;

begin
for i := 1 to no_xc do begin
for j := (i + 1) to no_xc do begin
if xc_list[i].total_sales < xc_list[j].total_sales then begin
tmp := xc_list[i];
xc_list[i] := xc_list[j];
xc_list[j] := tmp;
end;
end;
end;
end;

procedure dump_data;

var
i : integer;

begin
for i := 1 to min(no_xc, 3) do begin
if xc_list[i].total_sales > 10 then begin
writeln(xc_list[i].basis.name,' ',xc_list[i].total_sales);
end;
end;
end;

begin
load_data;
sort_data;
dump_data;
end.

Arne

Re: CRTL and RMS vs SSIO

<sk8655$mdl$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Wed, 13 Oct 2021 22:54:34 -0400
Organization: A noiseless patient Spider
Lines: 251
Message-ID: <sk8655$mdl$1@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<93839837-0c34-44dc-9b90-a4d59e06613dn@googlegroups.com>
<615f175c$0$695$14726298@news.sunsite.dk> <sjnanq$h1f$2@dont-email.me>
<6165e835$0$702$14726298@news.sunsite.dk> <sk4rvs$emk$1@dont-email.me>
<6165f9ac$0$700$14726298@news.sunsite.dk> <sk5e5h$lrc$1@dont-email.me>
<6166e76d$0$700$14726298@news.sunsite.dk> <sk6stq$q4p$1@dont-email.me>
<61671e79$0$702$14726298@news.sunsite.dk> <sk7h26$muo$1@dont-email.me>
<61677a7e$0$696$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Oct 2021 02:54:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5ed136685f3182b16bd0fdd9ebd6fa9e";
logging-data="22965"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0vOBjBU3rnDQgHVyhdr8JVvNV1NPBY4g="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Xi4I2lUIy9QO84JBi0bvPq7wmwY=
In-Reply-To: <61677a7e$0$696$14726298@news.sunsite.dk>
 by: Dave Froble - Thu, 14 Oct 2021 02:54 UTC

On 10/13/2021 8:31 PM, Arne Vajhøj wrote:
> On 10/13/2021 4:53 PM, Dave Froble wrote:
>> On 10/13/2021 1:59 PM, Arne Vajhøj wrote:
>>> On 10/13/2021 11:09 AM, Dave Froble wrote:
>>>> On 10/13/2021 10:04 AM, Arne Vajhøj wrote:
>>>>> On 10/12/2021 9:52 PM, Dave Froble wrote:
>>>>>> On 10/12/2021 5:10 PM, Arne Vajhøj wrote:
>>>>>>> On 10/12/2021 4:42 PM, Dave Froble wrote:
>>>>>>>> On 10/12/2021 3:55 PM, Arne Vajhøj wrote:
>>>>>>>>> But the money math has changed.
>>>>>>>>>
>>>>>>>>> I would say that over the last 30 years:
>>>>>>>>>
>>>>>>>>> RDBMS license cost changed from expensive to free options
>>>>>>>>> available
>>>>>>>>>
>>>>>>>>> RDBMS hardware resource cost changed from expensive to
>>>>>>>>> insignificant
>>>>>>>>>
>>>>>>>>> writing and maintaining code to manage IDX file cost is more or
>>>>>>>>> less
>>>>>>>>> constant
>>>>>>>>
>>>>>>>> Are you suggesting writing and maintaining code for RDBMS is any
>>>>>>>> different?
>>>>>>>
>>>>>>> You need much less code because the database software does
>>>>>>> so much.
>>>>>>>
>>>>>>> It is a tradeoff - you write much less code but the generic code
>>>>>>> in the RDBMS use more CPU and memory.
>>>>>>
>>>>>> Excuse me, I'm just a dummy, come down out of the hills. But:
>>>>>>
>>>>>> 1) Open file
>>>>>> 2) Access data
>>>>>> 3) Do some work
>>>>>> 4) Write/Update data
>>>>>> 5) Done
>>>>>>
>>>>>> and
>>>>>>
>>>>>> 1) Access database
>>>>>> 2) Access data
>>>>>> 3) Do some work
>>>>>> 4) Write/Update data
>>>>>> 5) Done
>>>>>>
>>>>>> Guess I don't see much difference.
>>>>>
>>>>> That is because you describe *what* is being done not *how* it is
>>>>> done.
>>>>>
>>>>> In general you can expect:
>>>>>
>>>>> data maintenance - replacing a lot of application code with few
>>>>> lines of
>>>>> SQL
>>>>
>>>> You claim that, but I just don't see it.
>>>>
>>>>> applications with simple queries - slightly less code
>>>>>
>>>>> application code with complex queries - a lot less code
>>>>>
>>>>> adhoc just get some numbers - replacing a lot of application code with
>>>>> few lines of SQL
>>>>
>>>> Don't see that.
>>>>
>>>> Also, I've noticed that doing some things with SQL can be much more
>>>> complex.
>>>
>>> Here is an example of some (Python) code using SQL to
>>> join, select, aggregate, sort and limit some data.
>>>
>>> import sqlite3
>>>
>>> con = sqlite3.connect('test.db')
>>> c = con.cursor()
>>> c.execute('''SELECT customers.name,SUM(orderlines.price) AS totalsales
>>> FROM customers
>>> LEFT JOIN orders ON customers.customer_id =
>>> orders.customer_id
>>> LEFT JOIN orderlines ON orders.order_id =
>>> orderlines.order_id
>>> WHERE orders.status = 'Delivered'
>>> GROUP BY customers.name
>>> HAVING totalsales > 10
>>> ORDER BY totalsales DESC
>>> LIMIT 3''')
>>> for row in c.fetchall():
>>> print('%s : %d' % (row[0], row[1]))
>>> con.commit()
>>> con.close()
>>>
>>> I believe that it would take a lot more code to
>>> retrieve data from index-sequential files and
>>> do the work on the data.
>>
>> Not a lot, however the sorting by customer name would entail some
>> additional code.
>>
>> However, reading the order file, doing the selection, look-up customer
>> record, and release to record sort, then read back sorted records is
>> not "a lot more" code.
>
> I tried writing it in Pascal using index-sequential files.
>
> program cmplx(input,output);
>
> const
> MAX_ORDERLINES_PER_ORDER = 100;
>
> type
> orderline = record
> item : packed array [1..50] of char;
> price : integer;
> end;
> customer = record
> customer_id : [key(0)] integer;
> name : packed array [1..50] of char;
> address : packed array [1..100] of char;
> end;
> order = record
> order_id : [key(0)] integer;
> customer_id : [key(1)] integer;
> ref : packed array [1..50] of char;
> status : packed array [1..25] of char;
> no_orderlines : integer;
> orderlines : array [1..MAX_ORDERLINES_PER_ORDER] of
> orderline;
> end;
>
> const
> MAX_CUSTOMERS = 10000;
>
> type
> extcustomer = record
> basis : customer;
> total_sales : integer;
> end;
> extcustomerlist = array [1..MAX_CUSTOMERS] of extcustomer;
>
> var
> no_xc : integer;
> xc_list : extcustomerlist;
>
> procedure load_data;
>
> var
> fc : file of customer;
> fo : file of order;
> c : customer;
> o : order;
> i : integer;
>
> begin
> open(fc, 'customer.isq', old, organization := indexed, access_method
> := keyed);
> open(fo, 'order.isq', old, organization := indexed, access_method :=
> keyed);
> resetk(fc, 0);
> no_xc := 0;
> while not eof(fc) do begin
> c := fc^;
> no_xc := no_xc + 1;
> xc_list[no_xc].basis := c;
> xc_list[no_xc].total_sales := 0;
> resetk(fo, 1);
> findk(fo, 1, c.customer_id);
> while not(ufb(fo)) and not(eof(fo)) and (fo^.customer_id =
> c.customer_id) do begin
> o := fo^;
> if o.status = 'Delivered' then begin
> for i := 1 to o.no_orderlines do begin
> xc_list[no_xc].total_sales := xc_list[no_xc].total_sales
> + o.orderlines[i].price;
> end;
> end;
> get(fo); ;
> end;
> get(fc);
> end;
> close(fo);
> close(fc);
> end;
>
> procedure sort_data;
>
> var
> i, j : integer;
> tmp : extcustomer;
>
> begin
> for i := 1 to no_xc do begin
> for j := (i + 1) to no_xc do begin
> if xc_list[i].total_sales < xc_list[j].total_sales then begin
> tmp := xc_list[i];
> xc_list[i] := xc_list[j];
> xc_list[j] := tmp;
> end;
> end;
> end;
> end;
>
> procedure dump_data;
>
> var
> i : integer;
>
> begin
> for i := 1 to min(no_xc, 3) do begin
> if xc_list[i].total_sales > 10 then begin
> writeln(xc_list[i].basis.name,' ',xc_list[i].total_sales);
> end;
> end;
> end;
>
> begin
> load_data;
> sort_data;
> dump_data;
> end.
>
> Arne
>
>

Gee, I'm sure glad I never tried Pascal.

Ok, the gauntlet has been thrown down. I accept. I will attempt to
better define the task, then implement it, in Basic, using my tools, and
my coding style. Give me a day or two.

Task definition

Select customers with shipped orders
Select orders with total dollars shipped >= 10
Sort by customer name, then by dollars, descending
Limit output to 3 orders per customer
print customer name and total dollars per order


Click here to read the complete article
Pages:123456789101112131415
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor