Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"World domination. Fast" (By Linus Torvalds)


computers / comp.os.linux.misc / Re: Contents of file changed while application is reading it

SubjectAuthor
* Contents of file changed while application is reading itClark Smith
+- Re: Contents of file changed while application is reading itRich
+* Re: Contents of file changed while application is reading itRobert Heller
|+* Re: Contents of file changed while application is reading itCarlos E.R.
||`- Re: Contents of file changed while application is reading itThe Natural Philosopher
|`* Re: Contents of file changed while application is reading itThe Natural Philosopher
| `* Re: Contents of file changed while application is reading itDavid W. Hodgins
|  +* Re: Contents of file changed while application is reading itThe Natural Philosopher
|  |+- Re: Contents of file changed while application is reading itDavid W. Hodgins
|  |`* Re: Contents of file changed while application is reading itRichard Kettlewell
|  | `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|  |  +- Re: Contents of file changed while application is reading itCarlos E.R.
|  |  `- Re: Contents of file changed while application is reading itRichard Kettlewell
|  `* Re: Contents of file changed while application is reading itCarlos E.R.
|   +* Re: Contents of file changed while application is reading itRichard Kettlewell
|   |`- Re: Contents of file changed while application is reading itCarlos E.R.
|   `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|    `* Re: Contents of file changed while application is reading itCarlos E.R.
|     `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|      +- Re: Contents of file changed while application is reading itDavid W. Hodgins
|      +* Re: Contents of file changed while application is reading itCarlos E.R.
|      |`* Re: Contents of file changed while application is reading it28A.I873
|      | `* Re: Contents of file changed while application is reading itCarlos E.R.
|      |  `* Re: Contents of file changed while application is reading it28A.I873
|      |   +* Re: Contents of file changed while application is reading itThe Natural Philosopher
|      |   |`* Re: Contents of file changed while application is reading it28A.I873
|      |   | `* Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |  `* Re: Contents of file changed while application is reading it28A.I873
|      |   |   `* Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |    `* Re: Contents of file changed while application is reading it28A.I873
|      |   |     +- Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |     `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|      |   |      `* Re: Contents of file changed while application is reading itCarlos E.R.
|      |   |       +* Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |       |+* Re: Contents of file changed while application is reading itCarlos E. R.
|      |   |       ||`* Re: Contents of file changed while application is reading itRich
|      |   |       || `- Re: Contents of file changed while application is reading itCarlos E.R.
|      |   |       |+* Re: Contents of file changed while application is reading itThe Natural Philosopher
|      |   |       ||`- Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |       |`- Re: Contents of file changed while application is reading itRich
|      |   |       `* Re: Contents of file changed while application is reading it28B.I874
|      |   |        `* Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |         +* Re: Contents of file changed while application is reading itAllodoxaphobia
|      |   |         |+* Re: Contents of file changed while application is reading itThe Natural Philosopher
|      |   |         ||`- Re: Contents of file changed while application is reading itCharlie Gibbs
|      |   |         |`- Re: Contents of file changed while application is reading it28B.I874
|      |   |         `- Re: Contents of file changed while application is reading it28B.I874
|      |   `* Re: Contents of file changed while application is reading itDavid W. Hodgins
|      |    `- Re: Contents of file changed while application is reading it28A.I873
|      `* Re: Contents of file changed while application is reading itRobert Riches
|       `* Re: Contents of file changed while application is reading itCarlos E.R.
|        `* Re: Contents of file changed while application is reading it28A.I873
|         `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|          `* Re: Contents of file changed while application is reading it28A.I873
|           `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|            `* Re: Contents of file changed while application is reading it28A.I873
|             `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|              +* Re: Contents of file changed while application is reading itDavid W. Hodgins
|              |`* Re: Contents of file changed while application is reading it28A.I873
|              | `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|              |  `- Re: Contents of file changed while application is reading it28A.I873
|              `* Re: Contents of file changed while application is reading it28A.I873
|               +* Re: Contents of file changed while application is reading itThe Natural Philosopher
|               |`- Re: Contents of file changed while application is reading it28A.I873
|               `* Re: Contents of file changed while application is reading itRichard Kettlewell
|                +* Re: Contents of file changed while application is reading itThe Natural Philosopher
|                |`* Re: Contents of file changed while application is reading itRichard Kettlewell
|                | `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|                |  `* Re: Contents of file changed while application is reading itRichard Kettlewell
|                |   `- Re: Contents of file changed while application is reading itThe Natural Philosopher
|                `* Re: Contents of file changed while application is reading it28B.I874
|                 `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|                  +* Re: Contents of file changed while application is reading itDan Espen
|                  |`- Re: Contents of file changed while application is reading it28B.I874
|                  `* Re: Contents of file changed while application is reading it28B.I874
|                   `* Re: Contents of file changed while application is reading itThe Natural Philosopher
|                    `- Re: Contents of file changed while application is reading it28B.I874
+* Re: Contents of file changed while application is reading itDan Espen
|+* Re: Contents of file changed while application is reading itThe Natural Philosopher
||`- Re: Contents of file changed while application is reading it28A.I873
|`- Re: Contents of file changed while application is reading itCarlos E.R.
`- Re: Contents of file changed while application is reading itThe Natural Philosopher

Pages:1234
Re: Contents of file changed while application is reading it

<5q8vcjxgqm.ln2@Telcontar.valinor>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Mon, 27 Feb 2023 19:19:17 +0100
Lines: 48
Message-ID: <5q8vcjxgqm.ln2@Telcontar.valinor>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net aJ8oLdikOMtvNSZSHrY/DwSTgsVObXRyXWJlvZVx5joFgPiPe/
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:k/RJPqYk0edq34f+Tcuu+8CeiCM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <tthvvq$27bbi$26@dont-email.me>
 by: Carlos E.R. - Mon, 27 Feb 2023 18:19 UTC

On 2023-02-27 11:17, The Natural Philosopher wrote:
> On 27/02/2023 10:13, Carlos E.R. wrote:
>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>> <tnp@invalid.invalid> wrote:
>>>>>> I am pretty sure generally NO.
>>>>>> Otherwise databases would have a hard time working
>>>>>
>>>>> Data base applications work by having one thread that does the
>>>>> physical i/o for each file that contains the database. Multiple
>>>>> applications can use the database, but they don't do the i/o to the
>>>>> disk.
>>>>
>>>> Not all database applications work that way.
>>>>
>>>> For example, in MsDOS an application could lock for write a section
>>>> of a file, write that, then remove the lock. Another application
>>>> could be reading the same file, even writing in another section.
>>>>
>>>> This functionality was an add on: you needed to run the optional
>>>> share.exe. But Windows had it natively.
>>>>
>>>> I believe Microsoft Access works like that.
>>>>
>>>>
>>>> I am not sure this behaviour can be done in Linux. Long ago it could
>>>> not.
>>>>
>>> File lockining always existed at the level of IIRC whole files.
>>> But obliviously it is far far easier to have a databse engine
>>> accepting all requests and using (at least) just one process, if not
>>> one thread, to do all I/O
>>
>> Easier, depends. MS Access is trivially easy to use (for simple
>> databases).
>>
> You call that a database? I dont. Any more than SqlLite is a
> database...both are single user/process  access only.

LOL

Well, there is money in it ;-)

--
Cheers, Carlos.

Re: Contents of file changed while application is reading it

<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 28 Feb 2023 02:47:06 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Mon, 27 Feb 2023 21:46:36 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <5q8vcjxgqm.ln2@Telcontar.valinor>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
Lines: 58
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-bXxZB7ef4XjMV2AXpOBUEtSZat6nw7rCRKF9dnC/4969zyQq41biixLAucoyOqXFZ/sUY74griM+4WX!TMVtuinV7Vn3YfhObClGZaTZZwpbrhV7v3KyvKFeb/C3f6RoYCNub3vhmu2IIdYv8lyPTCGEkAU8!8zyu0/R69zK2PbzBXoA=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 28A.I873 - Tue, 28 Feb 2023 02:46 UTC

On 2/27/23 1:19 PM, Carlos E.R. wrote:
> On 2023-02-27 11:17, The Natural Philosopher wrote:
>> On 27/02/2023 10:13, Carlos E.R. wrote:
>>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>>> <tnp@invalid.invalid> wrote:
>>>>>>> I am pretty sure generally NO.
>>>>>>> Otherwise databases would have a hard time working
>>>>>>
>>>>>> Data base applications work by having one thread that does the
>>>>>> physical i/o for each file that contains the database. Multiple
>>>>>> applications can use the database, but they don't do the i/o to the
>>>>>> disk.
>>>>>
>>>>> Not all database applications work that way.
>>>>>
>>>>> For example, in MsDOS an application could lock for write a section
>>>>> of a file, write that, then remove the lock. Another application
>>>>> could be reading the same file, even writing in another section.
>>>>>
>>>>> This functionality was an add on: you needed to run the optional
>>>>> share.exe. But Windows had it natively.
>>>>>
>>>>> I believe Microsoft Access works like that.
>>>>>
>>>>>
>>>>> I am not sure this behaviour can be done in Linux. Long ago it
>>>>> could not.
>>>>>
>>>> File lockining always existed at the level of IIRC whole files.
>>>> But obliviously it is far far easier to have a databse engine
>>>> accepting all requests and using (at least) just one process, if not
>>>> one thread, to do all I/O
>>>
>>> Easier, depends. MS Access is trivially easy to use (for simple
>>> databases).
>>>
>> You call that a database? I dont. Any more than SqlLite is a
>> database...both are single user/process  access only.
>
> LOL
>
> Well, there is money in it ;-)

Access has its place and uses - and the 3rd-gen drag-n-drop
form builder is something I wish they ALL had (ok, you CAN
have 'em - for $$$+). Where I'm at now the inventory DB is
on Access. Only one person uses it at a time anyhow and
several people have been able to figure out how to tweak
the forms/fields/etc a little, so ...

Now for the more-used stuff ... SQL Server or (preferably)
MySQL (not MariaDB). Thing is I'm pretty much the only one
who can mod those and it ain't THAT long until retirement
and there's no proper heir-apparent ......... (damn that
work-ethic ..........)

Re: Contents of file changed while application is reading it

<slrntvqvr2.dmi.spamtrap42@one.localnet>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: spamtrap42@jacob21819.net (Robert Riches)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: 28 Feb 2023 04:13:22 GMT
Organization: none-at-all
Lines: 54
Message-ID: <slrntvqvr2.dmi.spamtrap42@one.localnet>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
Reply-To: spamtrap42@jacob21819.net
X-Trace: individual.net eFzLUCMpZz+CbhVNhhtt+wiR0P8tyONUa0d2wvKqtAPa9Cim+Q
Cancel-Lock: sha1:YzpvuI5ODpelT2AmHQWD99gYEyI=
User-Agent: slrn/1.0.3 (Linux)
 by: Robert Riches - Tue, 28 Feb 2023 04:13 UTC

On 2023-02-27, The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 27/02/2023 10:13, Carlos E.R. wrote:
>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>> <tnp@invalid.invalid> wrote:
>>>>>> I am pretty sure generally NO.
>>>>>> Otherwise databases would have a hard time working
>>>>>
>>>>> Data base applications work by having one thread that does the
>>>>> physical i/o for each file that contains the database. Multiple
>>>>> applications can use the database, but they don't do the i/o to the
>>>>> disk.
>>>>
>>>> Not all database applications work that way.
>>>>
>>>> For example, in MsDOS an application could lock for write a section
>>>> of a file, write that, then remove the lock. Another application
>>>> could be reading the same file, even writing in another section.
>>>>
>>>> This functionality was an add on: you needed to run the optional
>>>> share.exe. But Windows had it natively.
>>>>
>>>> I believe Microsoft Access works like that.
>>>>
>>>>
>>>> I am not sure this behaviour can be done in Linux. Long ago it could
>>>> not.
>>>>
>>> File lockining always existed at the level of IIRC whole files.
>>> But obliviously it is far far easier to have a databse engine
>>> accepting all requests and using (at least) just one process, if not
>>> one thread, to do all I/O
>>
>> Easier, depends. MS Access is trivially easy to use (for simple databases).
>>
> You call that a database? I dont. Any more than SqlLite is a
> database...both are single user/process access only.

Many of the hits from this web search disagree:

https://duckduckgo.com/?q=sqlitemultiple+processes&hps=1&start=1&ia=web

This FAQ answer appears fairly authoritative:

https://www.sqlite.org/faq.html#q5

HTH

--
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)

Re: Contents of file changed while application is reading it

<du71djxs8i.ln2@Telcontar.valinor>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Tue, 28 Feb 2023 13:16:45 +0100
Lines: 54
Message-ID: <du71djxs8i.ln2@Telcontar.valinor>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<slrntvqvr2.dmi.spamtrap42@one.localnet>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net SgGujoFJ55xBhHIUVyv9DwxwdasrgfCzMYByS9y5nxX+P0DBvb
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:G+cxM2gN4IU6gBuDDXodNPdojrI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <slrntvqvr2.dmi.spamtrap42@one.localnet>
 by: Carlos E.R. - Tue, 28 Feb 2023 12:16 UTC

On 2023-02-28 05:13, Robert Riches wrote:
> On 2023-02-27, The Natural Philosopher <tnp@invalid.invalid> wrote:
>> On 27/02/2023 10:13, Carlos E.R. wrote:
>>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>>> <tnp@invalid.invalid> wrote:
>>>>>>> I am pretty sure generally NO.
>>>>>>> Otherwise databases would have a hard time working
>>>>>>
>>>>>> Data base applications work by having one thread that does the
>>>>>> physical i/o for each file that contains the database. Multiple
>>>>>> applications can use the database, but they don't do the i/o to the
>>>>>> disk.
>>>>>
>>>>> Not all database applications work that way.
>>>>>
>>>>> For example, in MsDOS an application could lock for write a section
>>>>> of a file, write that, then remove the lock. Another application
>>>>> could be reading the same file, even writing in another section.
>>>>>
>>>>> This functionality was an add on: you needed to run the optional
>>>>> share.exe. But Windows had it natively.
>>>>>
>>>>> I believe Microsoft Access works like that.
>>>>>
>>>>>
>>>>> I am not sure this behaviour can be done in Linux. Long ago it could
>>>>> not.
>>>>>
>>>> File lockining always existed at the level of IIRC whole files.
>>>> But obliviously it is far far easier to have a databse engine
>>>> accepting all requests and using (at least) just one process, if not
>>>> one thread, to do all I/O
>>>
>>> Easier, depends. MS Access is trivially easy to use (for simple databases).
>>>
>> You call that a database? I dont. Any more than SqlLite is a
>> database...both are single user/process access only.
>
> Many of the hits from this web search disagree:
>
> https://duckduckgo.com/?q=sqlitemultiple+processes&hps=1&start=1&ia=web
>
> This FAQ answer appears fairly authoritative:
>
> https://www.sqlite.org/faq.html#q5

Interesting.

--
Cheers, Carlos.

Re: Contents of file changed while application is reading it

<au81djx3vj.ln2@Telcontar.valinor>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Tue, 28 Feb 2023 13:33:46 +0100
Lines: 88
Message-ID: <au81djx3vj.ln2@Telcontar.valinor>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net GvVtL7a7eqHDughzTKsmdw+fhn9S9JvHL59we3fSZBX4JsC1wt
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:fS7UxLACGaejUDTHvZ/yYmqx5w4=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
 by: Carlos E.R. - Tue, 28 Feb 2023 12:33 UTC

On 2023-02-28 03:46, 28A.I873 wrote:
> On 2/27/23 1:19 PM, Carlos E.R. wrote:
>> On 2023-02-27 11:17, The Natural Philosopher wrote:
>>> On 27/02/2023 10:13, Carlos E.R. wrote:
>>>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>>>> <tnp@invalid.invalid> wrote:
>>>>>>>> I am pretty sure generally NO.
>>>>>>>> Otherwise databases would have a hard time working
>>>>>>>
>>>>>>> Data base applications work by having one thread that does the
>>>>>>> physical i/o for each file that contains the database. Multiple
>>>>>>> applications can use the database, but they don't do the i/o to the
>>>>>>> disk.
>>>>>>
>>>>>> Not all database applications work that way.
>>>>>>
>>>>>> For example, in MsDOS an application could lock for write a
>>>>>> section of a file, write that, then remove the lock. Another
>>>>>> application could be reading the same file, even writing in
>>>>>> another section.
>>>>>>
>>>>>> This functionality was an add on: you needed to run the optional
>>>>>> share.exe. But Windows had it natively.
>>>>>>
>>>>>> I believe Microsoft Access works like that.
>>>>>>
>>>>>>
>>>>>> I am not sure this behaviour can be done in Linux. Long ago it
>>>>>> could not.
>>>>>>
>>>>> File lockining always existed at the level of IIRC whole files.
>>>>> But obliviously it is far far easier to have a databse engine
>>>>> accepting all requests and using (at least) just one process, if
>>>>> not one thread, to do all I/O
>>>>
>>>> Easier, depends. MS Access is trivially easy to use (for simple
>>>> databases).
>>>>
>>> You call that a database? I dont. Any more than SqlLite is a
>>> database...both are single user/process  access only.
>>
>> LOL
>>
>> Well, there is money in it ;-)
>
>   Access has its place and uses - and the 3rd-gen drag-n-drop
>   form builder is something I wish they ALL had (ok, you CAN
>   have 'em - for $$$+). Where I'm at now the inventory DB is
>   on Access. Only one person uses it at a time anyhow and
>   several people have been able to figure out how to tweak
>   the forms/fields/etc a little, so ...
>
>   Now for the more-used stuff ... SQL Server or (preferably)
>   MySQL (not MariaDB). Thing is I'm pretty much the only one
>   who can mod those and it ain't THAT long until retirement
>   and there's no proper heir-apparent ......... (damn that
>   work-ethic ..........)

We used MS Access at an ISP, back on 1998, for keeping track of second
level (client) incidents. The team could be 6 people using the database
at the same time (both read and write). There was one "database file" in
a desktop machine acting as server for the group, and then several
desktop machines running the application, which was another ms access
file. Sharing directories on the network. I don't remember anybody
reporting glitches related to concurrent access, besides two people
trying to write to the same record, but that was very rare because of
how we were organized.

Creating/maintaining the database and the applications/forms was
trivially easy. Libre Office is getting _now_ near to what ms access did
25 years ago. We could change our MS-A database in a day, even an hour,
not involving higher management. And we could obtain stats and graphs
which our management loved.

And MS Access was used because it was what the office people had access
to (all computers were provided with a full MS Office instance), and we
had people knowing it. The true enterprise database used Vantive.

So yes, MS Access is indeed a serious database used in the enterprise
office world.

--
Cheers, Carlos.

Re: Contents of file changed while application is reading it

<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 28 Feb 2023 15:49:32 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Tue, 28 Feb 2023 10:49:15 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <au81djx3vj.ln2@Telcontar.valinor>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
Lines: 96
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-hO6rSSgj9vKByy1CK6q3Y4UqIh7evxO3/jd1I6sIMwc+NTt5YOApneAAVGHVDkq5qJ537PoizDbgBcd!lEE1/7vfzXLw6o7835gMmVskwsivo9MkQG6FfqM3PeYcVPeLBz30K+XylBn39R8S8wRb2PORzfue!QhLf2gpdMRRrKKEhWNU=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 28A.I873 - Tue, 28 Feb 2023 15:49 UTC

On 2/28/23 7:33 AM, Carlos E.R. wrote:
> On 2023-02-28 03:46, 28A.I873 wrote:
>> On 2/27/23 1:19 PM, Carlos E.R. wrote:
>>> On 2023-02-27 11:17, The Natural Philosopher wrote:
>>>> On 27/02/2023 10:13, Carlos E.R. wrote:
>>>>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>>>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>>>>> <tnp@invalid.invalid> wrote:
>>>>>>>>> I am pretty sure generally NO.
>>>>>>>>> Otherwise databases would have a hard time working
>>>>>>>>
>>>>>>>> Data base applications work by having one thread that does the
>>>>>>>> physical i/o for each file that contains the database. Multiple
>>>>>>>> applications can use the database, but they don't do the i/o to the
>>>>>>>> disk.
>>>>>>>
>>>>>>> Not all database applications work that way.
>>>>>>>
>>>>>>> For example, in MsDOS an application could lock for write a
>>>>>>> section of a file, write that, then remove the lock. Another
>>>>>>> application could be reading the same file, even writing in
>>>>>>> another section.
>>>>>>>
>>>>>>> This functionality was an add on: you needed to run the optional
>>>>>>> share.exe. But Windows had it natively.
>>>>>>>
>>>>>>> I believe Microsoft Access works like that.
>>>>>>>
>>>>>>>
>>>>>>> I am not sure this behaviour can be done in Linux. Long ago it
>>>>>>> could not.
>>>>>>>
>>>>>> File lockining always existed at the level of IIRC whole files.
>>>>>> But obliviously it is far far easier to have a databse engine
>>>>>> accepting all requests and using (at least) just one process, if
>>>>>> not one thread, to do all I/O
>>>>>
>>>>> Easier, depends. MS Access is trivially easy to use (for simple
>>>>> databases).
>>>>>
>>>> You call that a database? I dont. Any more than SqlLite is a
>>>> database...both are single user/process  access only.
>>>
>>> LOL
>>>
>>> Well, there is money in it ;-)
>>
>>    Access has its place and uses - and the 3rd-gen drag-n-drop
>>    form builder is something I wish they ALL had (ok, you CAN
>>    have 'em - for $$$+). Where I'm at now the inventory DB is
>>    on Access. Only one person uses it at a time anyhow and
>>    several people have been able to figure out how to tweak
>>    the forms/fields/etc a little, so ...
>>
>>    Now for the more-used stuff ... SQL Server or (preferably)
>>    MySQL (not MariaDB). Thing is I'm pretty much the only one
>>    who can mod those and it ain't THAT long until retirement
>>    and there's no proper heir-apparent ......... (damn that
>>    work-ethic ..........)
>
>
> We used MS Access at an ISP, back on 1998, for keeping track of second
> level (client) incidents. The team could be 6 people using the database
> at the same time (both read and write). There was one "database file" in
> a desktop machine acting as server for the group, and then several
> desktop machines running the application, which was another ms access
> file. Sharing directories on the network. I don't remember anybody
> reporting glitches related to concurrent access, besides two people
> trying to write to the same record, but that was very rare because of
> how we were organized.
>
> Creating/maintaining the database and the applications/forms was
> trivially easy. Libre Office is getting _now_ near to what ms access did
> 25 years ago. We could change our MS-A database in a day, even an hour,
> not involving higher management. And we could obtain stats and graphs
> which our management loved.
>
> And MS Access was used because it was what the office people had access
> to (all computers were provided with a full MS Office instance), and we
> had people knowing it. The true enterprise database used Vantive.
>
> So yes, MS Access is indeed a serious database used in the enterprise
> office world.

You don't need a nuclear weapon to swat a fly. The "big" DBs
like Oracle, SQL Server, MySQL - those are just way too much
work to handle a lot of trivial DB needs for a large segment.
Access works. It's ubiquitous. People can figure it out.

As for Libre ... they (or was it Star/Open-Office ?) used to
have an Access clone. Not quite as good, but it also worked
and people could cope. Then it went away. Libre's idea of
a 'database' now seems to be a front-end for their spreadsheet.

Re: Contents of file changed while application is reading it

<ttl9mo$27bbi$27@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Tue, 28 Feb 2023 16:21:44 +0000
Organization: A little, after lunch
Lines: 11
Message-ID: <ttl9mo$27bbi$27@dont-email.me>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Feb 2023 16:21:44 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="851e43119267957ec3c1eba0c54a4ae6";
logging-data="2338162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180wNlBYFY3BZhobBAndKErqcwZ1MYQZp0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:c+MbEcSjh42JIBbH4ftiI+K133U=
Content-Language: en-GB
In-Reply-To: <n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
 by: The Natural Philosop - Tue, 28 Feb 2023 16:21 UTC

On 28/02/2023 15:49, 28A.I873 wrote:
> Access works. It's ubiquitous. People can figure it out.

I never could, but the moment I looked at Informix and MySQL it all made
perfect sense.

--
"I am inclined to tell the truth and dislike people who lie consistently.
This makes me unfit for the company of people of a Left persuasion, and
all women"

Re: Contents of file changed while application is reading it

<op.1025llr0a3w0dxdave@hodgins.homeip.net>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Tue, 28 Feb 2023 12:01:59 -0500
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <op.1025llr0a3w0dxdave@hodgins.homeip.net>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="a7ce40c3eb2e2259b4290a62862b768f";
logging-data="3851208"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1n1Gq8PlmQeczNva64S4pV1qIaTHkROs="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:G9gZPeiUeQLurnX+R6xZh3V0i/Y=
 by: David W. Hodgins - Tue, 28 Feb 2023 17:01 UTC

On Tue, 28 Feb 2023 10:49:15 -0500, 28A.I873 <28A.I873@noabzba.net> wrote:
> As for Libre ... they (or was it Star/Open-Office ?) used to
> have an Access clone. Not quite as good, but it also worked
> and people could cope. Then it went away. Libre's idea of
> a 'database' now seems to be a front-end for their spreadsheet.

Libreoffice has oocalc (aka "libreoffice --calc" for spreadsheets, and
oobase (aka "libreoffice --base") for databases.
https://books.libreoffice.org/en/BG72/BG72.html

Regards, Dave Hodgins

Re: Contents of file changed while application is reading it

<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.26.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 01 Mar 2023 06:06:15 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me> <DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com> <ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net> <t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me> <vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me> <5q8vcjxgqm.ln2@Telcontar.valinor> <E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com> <au81djx3vj.ln2@Telcontar.valinor> <n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com> <ttl9mo$27bbi$27@dont-email.me>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Wed, 1 Mar 2023 01:05:48 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ttl9mo$27bbi$27@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
Lines: 31
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-2POpcoPVrLrWgXwDlDIgcaRu/cpqnsq7nvStPXQMe0I6jHzZL0I3E6K0eYT44tSEnPBYnDy9uZShVB4!yWaq7g8VZY9Q7w+WlVAo8sKFlGnvQI45tOUP0riCiR5CdMJhTt5NoIKQ0z6OAKd0waKbB89P+EEz!6PpQZWOiwIy+z5edVlk=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2920
 by: 28A.I873 - Wed, 1 Mar 2023 06:05 UTC

On 2/28/23 11:21 AM, The Natural Philosopher wrote:
> On 28/02/2023 15:49, 28A.I873 wrote:
>> Access works. It's ubiquitous. People can figure it out.
>
> I never could, but the moment I looked at Informix and MySQL it all made
> perfect sense.

Then you're not "regular people". Take that as
a complement ...

I've several NON-IT people who were able to create
and tweak an inventory DB using Access.. pix of
the hardware included. NONE could do it with
Oracle/MySql/SQL-SERVER ... no WAY. This means
that *I* don't have to worry about it, *I* don't
have to tweak it, *I* don't have to maintain it.
Does what it needs to do.

So no, I am NOT gonna diss Access. It DOES have
it's place and sphere and audience. And the
built-in 3rd-gen form builder ... wonderful.
IF you learn how to expand those form options
you can do kinda anything.

And stuff like FoxBase and FileMaker have their
place too.

Had to move a non-y2k MV database over to FileMaker,
SO much fun, long back. Frankly I prefer the
multivalue paradigm, but these days those DBs cost
too damned much.

Re: Contents of file changed while application is reading it

<GR2dnaJf-vJncGP-nZ2dnZfqnPqdnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 01 Mar 2023 06:17:30 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<op.1025llr0a3w0dxdave@hodgins.homeip.net>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Wed, 1 Mar 2023 01:17:01 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <op.1025llr0a3w0dxdave@hodgins.homeip.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <GR2dnaJf-vJncGP-nZ2dnZfqnPqdnZ2d@earthlink.com>
Lines: 31
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-z4XL2TaFAzazm9hWoQ+8v9tmEJ7Rnqeaj5QJGNLDQiAXg7PwFa+hK20eWKK48fdNPMMX2LWNiy+kBpB!ZDv2pEXIkMnCjQ3mq0KXWbqySZA8V0jrnlCVwNcRU0TYIHttOpXdgHJFza1Mv0FVjN8+FLpih2c9!VXkXRIcT1qIfW6heoqs=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 28A.I873 - Wed, 1 Mar 2023 06:17 UTC

On 2/28/23 12:01 PM, David W. Hodgins wrote:
> On Tue, 28 Feb 2023 10:49:15 -0500, 28A.I873 <28A.I873@noabzba.net> wrote:
>>    As for Libre ... they (or was it Star/Open-Office ?) used to
>>    have an Access clone. Not quite as good, but it also worked
>>    and people could cope. Then it went away. Libre's idea of
>>    a 'database' now seems to be a front-end for their spreadsheet.
>
> Libreoffice has oocalc (aka "libreoffice --calc" for spreadsheets, and
> oobase (aka "libreoffice --base") for databases.
> https://books.libreoffice.org/en/BG72/BG72.html
>
> Regards, Dave Hodgins

Don't like either. The <something>Office Access clone
was better. MIGHT have been legal issues with M$ ...

I'll have to check into it. So far as I know Open &
Star Office still exist.

Yea, a flat-file DB *is* kind of like a spreadsheet,
but you don't get the width/depth/breadth of the
faux-BASIC built into ACCESS and ALL those neat
hooks you can attach it too.

I love the multi-value DB paradigm, but these days
those are TOO EXPENSIVE. However a lot of my utilities
and apps build ascii-delimited MV records in the
old PICK style, SO easy to build. Never was able
to write a clean ALL-PURPOSE way to read/edit such
records alas ... "intent" kinda comes into the picture.
Mess with it awhile, you'll see what I mean .....

Re: Contents of file changed while application is reading it

<1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 01 Mar 2023 06:33:00 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<slrntvqvr2.dmi.spamtrap42@one.localnet> <du71djxs8i.ln2@Telcontar.valinor>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Wed, 1 Mar 2023 01:32:59 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <du71djxs8i.ln2@Telcontar.valinor>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>
Lines: 71
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-LIn/t8Dj2B8SiPp/rQ/qiwDKF/wtHtVkOjwW6qyhEN0f0GZp9ZhnatDCoZACijeujCO72F3oYp8aK1X!gpbYIMjP6JEcwldB+J/TGvCecRkGhZtAJ/VPSJ6zloPrc5Asq39WDELwQC00BDd7g6q/xcN4C2QZ!iZBpbNEVdiBj3zh8vQw=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 28A.I873 - Wed, 1 Mar 2023 06:32 UTC

On 2/28/23 7:16 AM, Carlos E.R. wrote:
> On 2023-02-28 05:13, Robert Riches wrote:
>> On 2023-02-27, The Natural Philosopher <tnp@invalid.invalid> wrote:
>>> On 27/02/2023 10:13, Carlos E.R. wrote:
>>>> On 2023-02-27 11:02, The Natural Philosopher wrote:
>>>>> On 27/02/2023 09:34, Carlos E.R. wrote:
>>>>>> On 2023-02-27 01:06, David W. Hodgins wrote:
>>>>>>> On Sun, 26 Feb 2023 18:32:38 -0500, The Natural Philosopher
>>>>>>> <tnp@invalid.invalid> wrote:
>>>>>>>> I am pretty sure generally NO.
>>>>>>>> Otherwise databases would have a hard time working
>>>>>>>
>>>>>>> Data base applications work by having one thread that does the
>>>>>>> physical i/o for each file that contains the database. Multiple
>>>>>>> applications can use the database, but they don't do the i/o to the
>>>>>>> disk.
>>>>>>
>>>>>> Not all database applications work that way.
>>>>>>
>>>>>> For example, in MsDOS an application could lock for write a section
>>>>>> of a file, write that, then remove the lock. Another application
>>>>>> could be reading the same file, even writing in another section.
>>>>>>
>>>>>> This functionality was an add on: you needed to run the optional
>>>>>> share.exe. But Windows had it natively.
>>>>>>
>>>>>> I believe Microsoft Access works like that.
>>>>>>
>>>>>>
>>>>>> I am not sure this behaviour can be done in Linux. Long ago it could
>>>>>> not.
>>>>>>
>>>>> File lockining always existed at the level of IIRC whole files.
>>>>> But obliviously it is far far easier to have a databse engine
>>>>> accepting all requests and using (at least) just one process, if not
>>>>> one thread, to do all I/O
>>>>
>>>> Easier, depends. MS Access is trivially easy to use (for simple
>>>> databases).
>>>>
>>> You call that a database? I dont. Any more than SqlLite is a
>>> database...both are single user/process  access only.
>>
>> Many of the hits from this web search disagree:
>>
>> https://duckduckgo.com/?q=sqlitemultiple+processes&hps=1&start=1&ia=web
>>
>> This FAQ answer appears fairly authoritative:
>>
>> https://www.sqlite.org/faq.html#q5
>
> Interesting.

"Concurrency" is a PAIN IN THE ASS at the programming
level !

The most common solution are uniquely-tagged files/processes
and record-level locking. Alas record-locks DO tend to go
wonky eventually because users find SOME unique way to
screw up. "QuickBooks Multi-User", for example, will go
insane every month or two and you have to reboot the server
to restore multi-user access. Users tried to abort, or
rebooted, in the middle of an update too often and ....

There are also 'all-access' files/records/data-frames which
are "live" ... ie you can be looking at it, able to edit it,
but anything another user does immediately updates YOUR view.
I think WikiPedia is sort-of that way - "dueling editors" is
a thing that CAN happen. Some other "collaborative" documentation
systems are like that too - everybody's live.

Re: Contents of file changed while application is reading it

<ttn9gg$279gm$46@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Wed, 1 Mar 2023 10:30:40 +0000
Organization: A little, after lunch
Lines: 15
Message-ID: <ttn9gg$279gm$46@dont-email.me>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<slrntvqvr2.dmi.spamtrap42@one.localnet> <du71djxs8i.ln2@Telcontar.valinor>
<1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 1 Mar 2023 10:30:40 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="fdd5f25750d96a0f3d4e4d9e9c13efaf";
logging-data="2336278"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kXQzS/aqFUNVzp9Y0UqwbTDela444S9E="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:kDxfhMhoq1g7YC/bI4UOWi0trSs=
In-Reply-To: <1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>
Content-Language: en-GB
 by: The Natural Philosop - Wed, 1 Mar 2023 10:30 UTC

On 01/03/2023 06:32, 28A.I873 wrote:
> "Concurrency" is a PAIN IN THE ASS at the programming
>   level !

Which is why things like multi-process/multi-user operating system
developed things like semaphores, messages, queues and database engines.

--
"Strange as it seems, no amount of learning can cure stupidity, and
higher education positively fortifies it."

- Stephen Vizinczey

Re: Contents of file changed while application is reading it

<9TPLL.243396$Ldj8.162746@fx47.iad>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!peer03.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Contents of file changed while application is reading it
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
User-Agent: slrn/1.0.3 (Linux)
Lines: 18
Message-ID: <9TPLL.243396$Ldj8.162746@fx47.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 01 Mar 2023 21:57:25 UTC
Date: Wed, 01 Mar 2023 21:57:25 GMT
X-Received-Bytes: 1877
 by: Charlie Gibbs - Wed, 1 Mar 2023 21:57 UTC

On 2023-03-01, 28A.I873 <28A.I873@noabzba.net> wrote:

> I've several NON-IT people who were able to create
> and tweak an inventory DB using Access.. pix of
> the hardware included. NONE could do it with
> Oracle/MySql/SQL-SERVER ... no WAY. This means
> that *I* don't have to worry about it, *I* don't
> have to tweak it, *I* don't have to maintain it.
> Does what it needs to do.

And they don't/can't/won't come after you when
things go sideways? You're in an enviable position.

--
/~\ Charlie Gibbs | You can't save the earth
\ / <cgibbs@kltpzyxm.invalid> | unless you're willing to
X I'm really at ac.dekanfrus | make other people sacrifice.
/ \ if you read it the right way. | -- Dogbert, 2007-06-20

Re: Contents of file changed while application is reading it

<2GqdnVP81dcMgZ35nZ2dnZfqnPednZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 02 Mar 2023 03:48:33 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<slrntvqvr2.dmi.spamtrap42@one.localnet> <du71djxs8i.ln2@Telcontar.valinor>
<1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>
<ttn9gg$279gm$46@dont-email.me>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Wed, 1 Mar 2023 22:48:32 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ttn9gg$279gm$46@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <2GqdnVP81dcMgZ35nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 17
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-SiS1Yx8aQyh9QQa/Ir+muZUIsiW0+sHTKjRYbp3qOXuYT0zzEdOxw/mkaY6PC9iFMAndCQQ9hhewPph!lVgML1Qw2v+GRGLJsTc+eQXyOcOwWDAJljPNkWNavIaEz5CRyXJDmTodW2QnMe1fswrbebLJ0HL5!acFU1D3bC/7LPKk4h28=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 28A.I873 - Thu, 2 Mar 2023 03:48 UTC

On 3/1/23 5:30 AM, The Natural Philosopher wrote:
> On 01/03/2023 06:32, 28A.I873 wrote:
>> "Concurrency" is a PAIN IN THE ASS at the programming
>>    level !
>
> Which is why things like multi-process/multi-user operating system
> developed things like semaphores, messages, queues and database engines.

Yep, lots of tricks (often proprietary to the particular app)

"Database engines" are just a more user-transparent approach
to the semaphores/messages/queues/locks/etc. They all still
DO it, it's just a bit "under the hood".

If you need to write your own DB, even if quite simple, then
YOU have to ensure at least file-level, preferably record-level,
concurrency protections.

Re: Contents of file changed while application is reading it

<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.11.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 02 Mar 2023 03:54:00 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me> <DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com> <ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net> <t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me> <vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me> <5q8vcjxgqm.ln2@Telcontar.valinor> <E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com> <au81djx3vj.ln2@Telcontar.valinor> <n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com> <ttl9mo$27bbi$27@dont-email.me> <WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com> <9TPLL.243396$Ldj8.162746@fx47.iad>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Wed, 1 Mar 2023 22:53:59 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <9TPLL.243396$Ldj8.162746@fx47.iad>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
Lines: 26
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-odT3wHM/eUIIrXf5/gHhwbs8ebg5ygbeiGQgvywGh3nyUNOcXC79Shtn2mZcyY8Mdq5Qj3Qnu4U81p/!aPLXbsrDtl89Ctn7I4zgWpv7BRCCj/VnchUzIB1Vq3rujNf8WkvbMjc+WI0ws0RhTU7CxbOTXAlE!MnVS6we0dLG2Uf0aZ5s=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2866
 by: 28A.I873 - Thu, 2 Mar 2023 03:53 UTC

On 3/1/23 4:57 PM, Charlie Gibbs wrote:
> On 2023-03-01, 28A.I873 <28A.I873@noabzba.net> wrote:
>
>> I've several NON-IT people who were able to create
>> and tweak an inventory DB using Access.. pix of
>> the hardware included. NONE could do it with
>> Oracle/MySql/SQL-SERVER ... no WAY. This means
>> that *I* don't have to worry about it, *I* don't
>> have to tweak it, *I* don't have to maintain it.
>> Does what it needs to do.
>
> And they don't/can't/won't come after you when
> things go sideways? You're in an enviable position.

Oddly, nothing has ever gone wrong :-)

Access is "simple" enough, and old enough, to be
kinda bulletproof now.

It DOES have its uses.

Unless you're plotting some "job security" complexities :-)

I'm kinda on the way OUT ... so "job security" isn't what
I'm looking for - stuff that can coast a few years ONCE I'm
gone is the ethical thing.

Re: Contents of file changed while application is reading it

<ttpr01$279gm$50@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Thu, 2 Mar 2023 09:41:21 +0000
Organization: A little, after lunch
Lines: 28
Message-ID: <ttpr01$279gm$50@dont-email.me>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<slrntvqvr2.dmi.spamtrap42@one.localnet> <du71djxs8i.ln2@Telcontar.valinor>
<1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>
<ttn9gg$279gm$46@dont-email.me>
<2GqdnVP81dcMgZ35nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Mar 2023 09:41:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="26297398672ecffc1601a31cc5a48bb3";
logging-data="2336278"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OOg1HPtkp4fOxFEhnNF/2xuoFeCG4fm4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:re+wYigYAp1t4l8VBWqqbEHNSzs=
Content-Language: en-GB
In-Reply-To: <2GqdnVP81dcMgZ35nZ2dnZfqnPednZ2d@earthlink.com>
 by: The Natural Philosop - Thu, 2 Mar 2023 09:41 UTC

On 02/03/2023 03:48, 28A.I873 wrote:
> On 3/1/23 5:30 AM, The Natural Philosopher wrote:
>> On 01/03/2023 06:32, 28A.I873 wrote:
>>> "Concurrency" is a PAIN IN THE ASS at the programming
>>>    level !
>>
>> Which is why things like multi-process/multi-user operating system
>> developed things like semaphores, messages, queues and database engines.
>
>   Yep, lots of tricks (often proprietary to the particular app)
>
>   "Database engines" are just a more user-transparent approach
>   to the semaphores/messages/queues/locks/etc. They all still
>   DO it, it's just a bit "under the hood".
>
>   If you need to write your own DB, even if quite simple, then
>   YOU have to ensure at least file-level, preferably record-level,
>   concurrency protections.
Yup. TBH that is pretty much all the functionality I expected from
MYSql. It for sure is pretty crap at executing *complex* SQL.

I had written a C program and debugged it and got the answer I wanted
before the SQL query it duplicated had finished...

--
Truth welcomes investigation because truth knows investigation will lead
to converts. It is deception that uses all the other techniques.

Re: Contents of file changed while application is reading it

<Ms6ML.188091$Sgyc.182208@fx40.iad>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx40.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Contents of file changed while application is reading it
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
User-Agent: slrn/1.0.3 (Linux)
Lines: 34
Message-ID: <Ms6ML.188091$Sgyc.182208@fx40.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Thu, 02 Mar 2023 19:06:20 UTC
Date: Thu, 02 Mar 2023 19:06:20 GMT
X-Received-Bytes: 2509
 by: Charlie Gibbs - Thu, 2 Mar 2023 19:06 UTC

On 2023-03-02, 28A.I873 <28A.I873@noabzba.net> wrote:

> On 3/1/23 4:57 PM, Charlie Gibbs wrote:
>
>> On 2023-03-01, 28A.I873 <28A.I873@noabzba.net> wrote:
>>
>>> I've several NON-IT people who were able to create
>>> and tweak an inventory DB using Access.. pix of
>>> the hardware included. NONE could do it with
>>> Oracle/MySql/SQL-SERVER ... no WAY. This means
>>> that *I* don't have to worry about it, *I* don't
>>> have to tweak it, *I* don't have to maintain it.
>>> Does what it needs to do.
>>
>> And they don't/can't/won't come after you when
>> things go sideways? You're in an enviable position.
>
> Oddly, nothing has ever gone wrong :-)

You are _very_ lucky. Whenever I'm in such a situation,
along comes the User from Hell, who messes with the system,
breaks it thoroughly, complains loudly, then clams up when
I ask what he did.

> Access is "simple" enough, and old enough, to be
> kinda bulletproof now.

Apparently it's also user-proof, at least in your case.

--
/~\ Charlie Gibbs | You can't save the earth
\ / <cgibbs@kltpzyxm.invalid> | unless you're willing to
X I'm really at ac.dekanfrus | make other people sacrifice.
/ \ if you read it the right way. | -- Dogbert the green consultant

Re: Contents of file changed while application is reading it

<hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 03 Mar 2023 04:08:04 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
<Ms6ML.188091$Sgyc.182208@fx40.iad>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Thu, 2 Mar 2023 23:08:00 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <Ms6ML.188091$Sgyc.182208@fx40.iad>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
Lines: 48
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-mbgpmGksRr6zFbscn3mLHhgyaX6QgM8BcbIWS6rebDHUa1HXkvHAHwIRAOen1B3U7HYMo1BuYtoBsDa!YZ4ZCd/qi5KVWyJ25veotGt5DrJLi3ovPvZxD4ZVp7h+thBRs/tcxsdVPUjJh2EilRv1hbLKI3IA!oT4YIspng/wsSMMsSA4=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 28A.I873 - Fri, 3 Mar 2023 04:08 UTC

On 3/2/23 2:06 PM, Charlie Gibbs wrote:
> On 2023-03-02, 28A.I873 <28A.I873@noabzba.net> wrote:
>
>> On 3/1/23 4:57 PM, Charlie Gibbs wrote:
>>
>>> On 2023-03-01, 28A.I873 <28A.I873@noabzba.net> wrote:
>>>
>>>> I've several NON-IT people who were able to create
>>>> and tweak an inventory DB using Access.. pix of
>>>> the hardware included. NONE could do it with
>>>> Oracle/MySql/SQL-SERVER ... no WAY. This means
>>>> that *I* don't have to worry about it, *I* don't
>>>> have to tweak it, *I* don't have to maintain it.
>>>> Does what it needs to do.
>>>
>>> And they don't/can't/won't come after you when
>>> things go sideways? You're in an enviable position.
>>
>> Oddly, nothing has ever gone wrong :-)
>
> You are _very_ lucky. Whenever I'm in such a situation,
> along comes the User from Hell, who messes with the system,
> breaks it thoroughly, complains loudly, then clams up when
> I ask what he did.

Heh heh ... yea, I've had a few of those - JUST enough
knowledge, or perception thereof, to cause LOTS of
damage. Fortunately none of them ever got ahold of
that Access app.

And then there are "cursed" users ... whatever they
touch - software OR hardware - always breaks for no
obvious reason :-)

>> Access is "simple" enough, and old enough, to be
>> kinda bulletproof now.
>
> Apparently it's also user-proof, at least in your case.

The (literal) few that use/tweak it never try to get
TOO deep. They mostly rely on the 'surface features'
and never try to do any actual "programming" - decorate
all those potential hooks. It's enough for what they're
doing. Access CAN get pretty deep, fiddly detailed
code. In truth it's got the POTENTIAL for almost any
kind of use, but once you go THAT far you probably
need another kind of database.

Re: Contents of file changed while application is reading it

<dYudnfNen9mG55z5nZ2dnZfqn_ednZ2d@earthlink.com>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.27.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 03 Mar 2023 04:39:55 +0000
Subject: Re: Contents of file changed while application is reading it
Newsgroups: comp.os.linux.misc
References: <ttg9pl$301qu$1@dont-email.me> <DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com> <ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net> <t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me> <vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me> <slrntvqvr2.dmi.spamtrap42@one.localnet> <du71djxs8i.ln2@Telcontar.valinor> <1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com> <ttn9gg$279gm$46@dont-email.me> <2GqdnVP81dcMgZ35nZ2dnZfqnPednZ2d@earthlink.com> <ttpr01$279gm$50@dont-email.me>
From: 28A.I873@noabzba.net (28A.I873)
Organization: mitotic resell
Date: Thu, 2 Mar 2023 23:39:54 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ttpr01$279gm$50@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <dYudnfNen9mG55z5nZ2dnZfqn_ednZ2d@earthlink.com>
Lines: 49
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-34UEcEvugQKEo4ekPXkx1bmTvI1GmmNC/JydMCh/pmjqNZKpItsZ59fur+my5FP2BWjkzTgoq20RKjj!aRy00kgNQw1HLaSoG3MZ17jzvNanAsY0eVn3AmKe0uewgc8N2PnuWB5eQr4wMyO1Bb+7IbNiQOIg!CbnJaczmGumGC/M268I=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 4072
 by: 28A.I873 - Fri, 3 Mar 2023 04:39 UTC

On 3/2/23 4:41 AM, The Natural Philosopher wrote:
> On 02/03/2023 03:48, 28A.I873 wrote:
>> On 3/1/23 5:30 AM, The Natural Philosopher wrote:
>>> On 01/03/2023 06:32, 28A.I873 wrote:
>>>> "Concurrency" is a PAIN IN THE ASS at the programming
>>>>    level !
>>>
>>> Which is why things like multi-process/multi-user operating system
>>> developed things like semaphores, messages, queues and database engines.
>>
>>    Yep, lots of tricks (often proprietary to the particular app)
>>
>>    "Database engines" are just a more user-transparent approach
>>    to the semaphores/messages/queues/locks/etc. They all still
>>    DO it, it's just a bit "under the hood".
>>
>>    If you need to write your own DB, even if quite simple, then
>>    YOU have to ensure at least file-level, preferably record-level,
>>    concurrency protections.
> Yup.  TBH that is pretty much all the functionality I expected from
> MYSql. It for sure is pretty crap at executing *complex* SQL.
>
> I had written a C program and debugged it and got the answer I wanted
> before the SQL query it duplicated had finished...

SQL *can* be VERY clunky (and the syntax can start to
look like Martian). I had an old DOS-era DB that
implemented a fair SQL. However if you went to the
lesser-documented underlying, mostly 'C', routines
you could speed it up by 50 times easily for big
complex search/sorts and such.

IMHO, a "standard" language that quickly becomes
incomprehensible to all but the most dedicated
hacks is a POOR standard. Yea, you can write
horrible 'C' ... but you don't HAVE to (and the
horrors aren't any faster/smaller either). With
SQL you kinda HAVE to write horrors, nested
inner/outer joins are the least of it. I see why
lots moved to Java to do the hard work. STILL
more pretty and understandable than SQL "paragraphs"
(sometimes "novellas").

ANYway, I tend to avoid making 'complex' databases
now. More pain than gain. 99.9% of what any outfit
really NEEDS a DB for can be implemented using
SIMPLE methods and structure. For that MySQL or
numerous others are perfectly good. Now it you're
the DOD or DOE or HS or something, then, well ...

Re: Contents of file changed while application is reading it

<UufML.1396916$iU59.615589@fx14.iad>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Contents of file changed while application is reading it
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
<Ms6ML.188091$Sgyc.182208@fx40.iad>
<hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
User-Agent: slrn/1.0.3 (Linux)
Lines: 15
Message-ID: <UufML.1396916$iU59.615589@fx14.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 03 Mar 2023 05:23:00 UTC
Date: Fri, 03 Mar 2023 05:23:00 GMT
X-Received-Bytes: 1787
 by: Charlie Gibbs - Fri, 3 Mar 2023 05:23 UTC

On 2023-03-03, 28A.I873 <28A.I873@noabzba.net> wrote:

> And then there are "cursed" users ... whatever they
> touch - software OR hardware - always breaks for no
> obvious reason :-)

They make great beta testers, though. If your system can
survive an encounter with one of them, it's pretty much
bombproof.

--
/~\ Charlie Gibbs | You can't save the earth
\ / <cgibbs@kltpzyxm.invalid> | unless you're willing to
X I'm really at ac.dekanfrus | make other people sacrifice.
/ \ if you read it the right way. | -- Dogbert the green consultant

Re: Contents of file changed while application is reading it

<ttsejp$279gm$64@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Fri, 3 Mar 2023 09:28:24 +0000
Organization: A little, after lunch
Lines: 109
Message-ID: <ttsejp$279gm$64@dont-email.me>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<slrntvqvr2.dmi.spamtrap42@one.localnet> <du71djxs8i.ln2@Telcontar.valinor>
<1JScnZYeWsEBbGP-nZ2dnZfqnPudnZ2d@earthlink.com>
<ttn9gg$279gm$46@dont-email.me>
<2GqdnVP81dcMgZ35nZ2dnZfqnPednZ2d@earthlink.com>
<ttpr01$279gm$50@dont-email.me>
<dYudnfNen9mG55z5nZ2dnZfqn_ednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 3 Mar 2023 09:28:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e5c327a36da2495dab3af1205a6e007f";
logging-data="2336278"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18g+GX3/LQneolFJwDEy+iqLe3GBuFIgx0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:pGju98hHY8wDoeuseobz+nkKgC8=
Content-Language: en-GB
In-Reply-To: <dYudnfNen9mG55z5nZ2dnZfqn_ednZ2d@earthlink.com>
 by: The Natural Philosop - Fri, 3 Mar 2023 09:28 UTC

On 03/03/2023 04:39, 28A.I873 wrote:
> On 3/2/23 4:41 AM, The Natural Philosopher wrote:
>> On 02/03/2023 03:48, 28A.I873 wrote:
>>> On 3/1/23 5:30 AM, The Natural Philosopher wrote:
>>>> On 01/03/2023 06:32, 28A.I873 wrote:
>>>>> "Concurrency" is a PAIN IN THE ASS at the programming
>>>>>    level !
>>>>
>>>> Which is why things like multi-process/multi-user operating system
>>>> developed things like semaphores, messages, queues and database
>>>> engines.
>>>
>>>    Yep, lots of tricks (often proprietary to the particular app)
>>>
>>>    "Database engines" are just a more user-transparent approach
>>>    to the semaphores/messages/queues/locks/etc. They all still
>>>    DO it, it's just a bit "under the hood".
>>>
>>>    If you need to write your own DB, even if quite simple, then
>>>    YOU have to ensure at least file-level, preferably record-level,
>>>    concurrency protections.
>> Yup.  TBH that is pretty much all the functionality I expected from
>> MYSql. It for sure is pretty crap at executing *complex* SQL.
>>
>> I had written a C program and debugged it and got the answer I wanted
>> before the SQL query it duplicated had finished...
>
>   SQL *can* be VERY clunky (and the syntax can start to
>   look like Martian). I had an old DOS-era DB that
>   implemented a fair SQL. However if you went to the
>   lesser-documented underlying, mostly 'C', routines
>   you could speed it up by 50 times easily for big
>   complex search/sorts and such.
>
>   IMHO, a "standard" language that quickly becomes
>   incomprehensible to all but the most dedicated
>   hacks is a POOR standard. Yea, you can write
>   horrible 'C' ... but you don't HAVE to (and the
>   horrors aren't any faster/smaller either). With
>   SQL you kinda HAVE to write horrors, nested
>   inner/outer joins are the least of it. I see why
>   lots moved to Java to do the hard work. STILL
>   more pretty and understandable than SQL "paragraphs"
>   (sometimes "novellas").
>
Exactly. What I wanted to do was normalise some data that was extremely
un-normalised. It was in fact a correlation between political eras -
parishes boroughs counties and so on, and UK postcodes.

Developing the syntax took several days. Then I started it running.
There was no logging possible on its progress.

So I took a subset of the data and ran it on that. It took ages to
discover the two bugs.

I fixed those and ran it again. This time it looked like - assuming
linear extrapolation on the data set size - , it would run for several
days.

So I put on an old Thinking Cap I had lying around, and worked out how
to do it in C, using custom designed data structures, and logging how
fast it was going as well onto the screen.

A couple of hours later all the bugs seemed yo be out and it ran in
about 2 hours. There were a couple of odd enties due IIRC to apostrophes
in the data (John O' Groats)

But those were fixable manually.

>   ANYway, I tend to avoid making 'complex' databases
>   now. More pain than gain. 99.9% of what any outfit
>   really NEEDS a DB for can be implemented using
>   SIMPLE methods and structure. For that MySQL or
>   numerous others are perfectly good. Now it you're
>   the DOD or DOE or HS or something, then, well ...

Exactly so. What I discovered is that building a database that is fully
normalised is not hard, and it works really well, but one must eschew
complex SQL queries on performance grounds.

Conceptually use of a high level language to do a 'for each in this
table, select from that table' worked far better than some sort of
complex join.

And I also discovered the PHP is utter crap with large data sets. My PHP
now calls a C program to access the database and present the selected
data as an output stream.

In the context of concurrency, I also ran into a weird PHP buffering
issue. . In that an uploaded file to a php equipped web server is
available as a temporary entity, which must be converted to an explicit
file if you want to keep it or access it. Which I duly did before
invoking an SQL command to 'load data file' . Which always failed to
work. Because PHP didn't actually write the file until it exited.

I cannot remember what sketchy sort of kludge I eventually used., It
may well have been a copy file command that finally resulted in it being
written to the OS where the SQL daemon could read it.

--
“People believe certain stories because everyone important tells them,
and people tell those stories because everyone important believes them.
Indeed, when a conventional wisdom is at its fullest strength, one’s
agreement with that conventional wisdom becomes almost a litmus test of
one’s suitability to be taken seriously.”

Paul Krugman

Re: Contents of file changed while application is reading it

<ttsf2n$279gm$65@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Fri, 3 Mar 2023 09:36:23 +0000
Organization: A little, after lunch
Lines: 78
Message-ID: <ttsf2n$279gm$65@dont-email.me>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
<Ms6ML.188091$Sgyc.182208@fx40.iad>
<hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 3 Mar 2023 09:36:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e5c327a36da2495dab3af1205a6e007f";
logging-data="2336278"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hG1DsoTArf4pA21C2uH6hCX/OJR0f9Vc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:rnh8fK15Ja1XiAsWaMjEpYJ8PBg=
In-Reply-To: <hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
Content-Language: en-GB
 by: The Natural Philosop - Fri, 3 Mar 2023 09:36 UTC

On 03/03/2023 04:08, 28A.I873 wrote:
> On 3/2/23 2:06 PM, Charlie Gibbs wrote:
>> On 2023-03-02, 28A.I873 <28A.I873@noabzba.net> wrote:
>>
>>> On 3/1/23 4:57 PM, Charlie Gibbs wrote:
>>>
>>>> On 2023-03-01, 28A.I873 <28A.I873@noabzba.net> wrote:
>>>>
>>>>>      I've several NON-IT people who were able to create
>>>>>      and tweak an inventory DB using Access.. pix of
>>>>>      the hardware included. NONE could do it with
>>>>>      Oracle/MySql/SQL-SERVER ... no WAY. This means
>>>>>      that *I* don't have to worry about it, *I* don't
>>>>>      have to tweak it, *I* don't have to maintain it.
>>>>>      Does what it needs to do.
>>>>
>>>> And they don't/can't/won't come after you when
>>>> things go sideways?  You're in an enviable position.
>>>
>>>     Oddly, nothing has ever gone wrong  :-)
>>
>> You are _very_ lucky.  Whenever I'm in such a situation,
>> along comes the User from Hell, who messes with the system,
>> breaks it thoroughly, complains loudly, then clams up when
>> I ask what he did.
>
>   Heh heh ... yea, I've had a few of those - JUST enough
>   knowledge, or perception thereof, to cause LOTS of
>   damage. Fortunately none of them ever got ahold of
>   that Access app.
>
When I was developing BIOS software for a PC clone, many years ago, the
company employed loads of students in the vacation to fiddle around
until they broke it. An excellent choice, because students have just
enough knowledge to be really dangerous.

On another occasion, I was called back to fix a problem in some software
I had written,. The girl who was using it said 'its strange, because I
used to get it a lot, but now I hardly get it at all..

That was the killer piece of information. When there was an operator
error, my code went to an error handling routine that handled the error
but left the current file open. DOS, being DOS then ran out of file
handles after about 10 errors....

I had never tested against that..

>   And then there are "cursed" users ... whatever they
>   touch - software OR hardware - always breaks for no
>   obvious reason :-)
>
Worse than that, is the user who knows perfectly well what he did to
break it, but wont tell you because of some sort of pointless pride.

I gave up helping a particular neighbour. He always lied about what had
happened because he couldn't admit he didn't know what he was doing,
which made it impossible to fix the mistakes.

>
>>>     Access is "simple" enough, and old enough, to be
>>>     kinda bulletproof now.
>>
>> Apparently it's also user-proof, at least in your case.
>
>   The (literal) few that use/tweak it never try to get
>   TOO deep. They mostly rely on the 'surface features'
>   and never try to do any actual "programming" - decorate
>   all those potential hooks. It's enough for what they're
>   doing. Access CAN get pretty deep, fiddly detailed
>   code. In truth it's got the POTENTIAL for almost any
>   kind of use, but once you go THAT far you probably
>   need another kind of database.

Exactly so.

--
The New Left are the people they warned you about.

Re: Contents of file changed while application is reading it

<e6u8djxuiu.ln2@Telcontar.valinor>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Fri, 3 Mar 2023 11:19:26 +0100
Lines: 91
Message-ID: <e6u8djxuiu.ln2@Telcontar.valinor>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
<Ms6ML.188091$Sgyc.182208@fx40.iad>
<hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
<ttsf2n$279gm$65@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qlbZiBwEIqHm5E/d8ArZ6wKfvKfseR43OGkRIq7T3MpZUAzNNy
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:5yX38qpGD8se3y4S2ltIv7aH13Y=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <ttsf2n$279gm$65@dont-email.me>
 by: Carlos E.R. - Fri, 3 Mar 2023 10:19 UTC

On 2023-03-03 10:36, The Natural Philosopher wrote:
> On 03/03/2023 04:08, 28A.I873 wrote:
>> On 3/2/23 2:06 PM, Charlie Gibbs wrote:
>>> On 2023-03-02, 28A.I873 <28A.I873@noabzba.net> wrote:
>>>
>>>> On 3/1/23 4:57 PM, Charlie Gibbs wrote:
>>>>
>>>>> On 2023-03-01, 28A.I873 <28A.I873@noabzba.net> wrote:
>>>>>
>>>>>>      I've several NON-IT people who were able to create
>>>>>>      and tweak an inventory DB using Access.. pix of
>>>>>>      the hardware included. NONE could do it with
>>>>>>      Oracle/MySql/SQL-SERVER ... no WAY. This means
>>>>>>      that *I* don't have to worry about it, *I* don't
>>>>>>      have to tweak it, *I* don't have to maintain it.
>>>>>>      Does what it needs to do.
>>>>>
>>>>> And they don't/can't/won't come after you when
>>>>> things go sideways?  You're in an enviable position.
>>>>
>>>>     Oddly, nothing has ever gone wrong  :-)
>>>
>>> You are _very_ lucky.  Whenever I'm in such a situation,
>>> along comes the User from Hell, who messes with the system,
>>> breaks it thoroughly, complains loudly, then clams up when
>>> I ask what he did.
>>
>>    Heh heh ... yea, I've had a few of those - JUST enough
>>    knowledge, or perception thereof, to cause LOTS of
>>    damage. Fortunately none of them ever got ahold of
>>    that Access app.
>>
> When I was developing BIOS software for a PC clone, many years ago, the
> company employed loads of students in the vacation to fiddle around
> until they broke it. An excellent choice, because students have just
> enough knowledge to be really dangerous.
>
> On another occasion, I was called back to fix a problem in some software
> I had written,. The girl who was using it said 'its strange, because I
> used to get it a lot, but now I hardly get it at all..
>
> That was the killer piece of information. When there was an operator
> error, my code went to an error handling routine that handled the error
> but left the current file open. DOS, being DOS then ran out of file
> handles after about 10 errors....
>
> I had never tested against that..

I heard of that one. Dos file handle limit.

I have hit it also in Linux, recently, when opening a few firefox
instances (firefox -P someprofile). After three, the last one crashed on
open.

>
>>    And then there are "cursed" users ... whatever they
>>    touch - software OR hardware - always breaks for no
>>    obvious reason :-)
>>
> Worse than that, is the user who knows perfectly well what he did to
> break it, but wont tell you because of some sort of pointless pride.
>
> I gave up helping a particular neighbour. He always lied about what had
> happened because he couldn't admit he didn't know what he was doing,
> which made it impossible to fix the mistakes.

Heh.

>>>>     Access is "simple" enough, and old enough, to be
>>>>     kinda bulletproof now.
>>>
>>> Apparently it's also user-proof, at least in your case.
>>
>>    The (literal) few that use/tweak it never try to get
>>    TOO deep. They mostly rely on the 'surface features'
>>    and never try to do any actual "programming" - decorate
>>    all those potential hooks. It's enough for what they're
>>    doing. Access CAN get pretty deep, fiddly detailed
>>    code. In truth it's got the POTENTIAL for almost any
>>    kind of use, but once you go THAT far you probably
>>    need another kind of database.
>
> Exactly so.

Typically, these type of tools make easy things to be real easy, but
hard things become impossible.

--
Cheers, Carlos.

Re: Contents of file changed while application is reading it

<7PoML.919200$gGD7.379067@fx11.iad>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Contents of file changed while application is reading it
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
<Ms6ML.188091$Sgyc.182208@fx40.iad>
<hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
<ttsf2n$279gm$65@dont-email.me> <e6u8djxuiu.ln2@Telcontar.valinor>
User-Agent: slrn/1.0.3 (Linux)
Lines: 31
Message-ID: <7PoML.919200$gGD7.379067@fx11.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 03 Mar 2023 15:58:59 UTC
Date: Fri, 03 Mar 2023 15:58:59 GMT
X-Received-Bytes: 2898
 by: Charlie Gibbs - Fri, 3 Mar 2023 15:58 UTC

On 2023-03-03, Carlos E.R. <robin_listas@es.invalid> wrote:

> Typically, these type of tools make easy things to be real easy,
> but hard things become impossible.

I've noticed that more and more software is written this way.
Apple has been the spearhead in this movement, but it's becoming
quite widespread. As long as you stay in the playpen (i.e. only
do the things that are pre-ordained) the system is very easy
to use. But the moment you climb out of the playpen you hit a
brick wall. If it's not in the menus you're out of luck, and
keyboard-based alternatives are discouraged. I'd much rather
have a system that's a bit harder to learn but contains more
flexibility; in the long run, it's actually easier to use.
(Note to designers: ease of learning and ease of use are
not the same thing.)

As an opportunity for thread drift, it's always been a hallmark
of the User from Hell to complain in a way that's terse to the
point of uselessness, i.e. "It doesn't work!" Alas, this mindset
is infecting modern software developers. When an error occurs
nowadays, more and more apps are display a message like
"Something went wrong", without any explanation or error
codes which could help the user - or developer - track down
the problem. Grrrrr...

--
/~\ Charlie Gibbs | You can't save the earth
\ / <cgibbs@kltpzyxm.invalid> | unless you're willing to
X I'm really at ac.dekanfrus | make other people sacrifice.
/ \ if you read it the right way. | -- Dogbert the green consultant

Re: Contents of file changed while application is reading it

<k6eq5eF2trkU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Contents of file changed while application is reading it
Date: Fri, 3 Mar 2023 18:47:26 +0100
Lines: 45
Message-ID: <k6eq5eF2trkU1@mid.individual.net>
References: <ttg9pl$301qu$1@dont-email.me>
<DKqdnUe7v8BlT2b-nZ2dnZfqn_qdnZ2d@giganews.com>
<ttgq6m$279gm$25@dont-email.me> <op.10zzw9sea3w0dxdave@hodgins.homeip.net>
<t2aucjxrkf.ln2@Telcontar.valinor> <tthv4d$27bbi$22@dont-email.me>
<vacucjxlnh.ln2@Telcontar.valinor> <tthvvq$27bbi$26@dont-email.me>
<5q8vcjxgqm.ln2@Telcontar.valinor>
<E_KcnbZiKM629mD-nZ2dnZfqn_adnZ2d@earthlink.com>
<au81djx3vj.ln2@Telcontar.valinor>
<n82dnezIYPQRv2P-nZ2dnZfqnPWdnZ2d@earthlink.com>
<ttl9mo$27bbi$27@dont-email.me>
<WNGdnchgFpfFdmP-nZ2dnZfqnPWdnZ2d@earthlink.com>
<9TPLL.243396$Ldj8.162746@fx47.iad>
<v4ednWJZ6tlFgJ35nZ2dnZfqnPqdnZ2d@earthlink.com>
<Ms6ML.188091$Sgyc.182208@fx40.iad>
<hp-cnWTQsqs575z5nZ2dnZfqn_adnZ2d@earthlink.com>
<ttsf2n$279gm$65@dont-email.me> <e6u8djxuiu.ln2@Telcontar.valinor>
<7PoML.919200$gGD7.379067@fx11.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net b8YATSKKypSUM8sCSIqOFAa7koYpYIyl407a0AgBlkFj64VPJA
Cancel-Lock: sha1:PgPRzTp0iT2Yv8gqpRKBZ7G0yxg=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: en-US
In-Reply-To: <7PoML.919200$gGD7.379067@fx11.iad>
 by: Carlos E. R. - Fri, 3 Mar 2023 17:47 UTC

On 2023-03-03 16:58, Charlie Gibbs wrote:
> On 2023-03-03, Carlos E.R. <robin_listas@es.invalid> wrote:
>
>> Typically, these type of tools make easy things to be real easy,
>> but hard things become impossible.
>
> I've noticed that more and more software is written this way.
> Apple has been the spearhead in this movement, but it's becoming
> quite widespread. As long as you stay in the playpen (i.e. only
> do the things that are pre-ordained) the system is very easy
> to use. But the moment you climb out of the playpen you hit a
> brick wall. If it's not in the menus you're out of luck, and
> keyboard-based alternatives are discouraged. I'd much rather
> have a system that's a bit harder to learn but contains more
> flexibility; in the long run, it's actually easier to use.
> (Note to designers: ease of learning and ease of use are
> not the same thing.)

But depends on intended usage and by whom, too.

>
> As an opportunity for thread drift, it's always been a hallmark
> of the User from Hell to complain in a way that's terse to the
> point of uselessness, i.e. "It doesn't work!" Alas, this mindset
> is infecting modern software developers. When an error occurs
> nowadays, more and more apps are display a message like
> "Something went wrong", without any explanation or error
> codes which could help the user - or developer - track down
> the problem. Grrrrr...

Yak.

New camera can, among many other possibilities, "connect to computer via
router wifi". Nice. So camera finds SSID, tell password, wait...
nothing. Camera tries then gives up, no error message.

Grrr indeed.

Suspicion is it wants to find a published shared directory (on samba).
Or maybe not, camera doesn't know workgroup name or password.

--
Cheers,
Carlos E.R.


computers / comp.os.linux.misc / Re: Contents of file changed while application is reading it

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor