Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Being schizophrenic is better than living alone.


devel / comp.lang.python / RE: tail

SubjectAuthor
* RE: tail<pjfarley3
`- Re: tailDennis Lee Bieber

1
RE: tail

<mailman.245.1650818218.20749.python-list@python.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=18028&group=comp.lang.python#18028

 copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From:
Newsgroups: comp.lang.python
Subject: RE: tail
Date: Sun, 24 Apr 2022 12:21:36 -0400
Lines: 30
Message-ID: <mailman.245.1650818218.20749.python-list@python.org>
References: <CABbU2U98YKdcnJkDPfzE3Pqso+6LL72usB8hrSBVR0WbhauRoQ@mail.gmail.com>
<CAPTjJmr3AiCyvxXt=-nqNLrJfyQHmG=pvSsM7nU_XxhSe94zgA@mail.gmail.com>
<CABbU2U8TAvy0zMhUcNtTD0=WpQ6oNYEeZQuKDjnxhG85FVriDg@mail.gmail.com>
<CAPTjJmqnfoPjoNT2CNsrkMVxkzAMHHXHj-G3DuGrJ21SDRNsPA@mail.gmail.com>
<CABbU2U_sWyEmBXf0Psudwc-FLeRYqLX=B4x-_9TV0qc5ZVt3Bg@mail.gmail.com>
<CAPTjJmrJacamKq1V5T8FECkm4jURdYQgj0VsC+JK5Db0NoFaww@mail.gmail.com>
<55a04f90-8fb8-c585-afae-aca73c7d641f@DancesWithMice.info>
<006501d857f7$5f6801e0$1e3805a0$@earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 1vjH52ghMoE4wunLHl5ESwaQMLe6g5isuN+3Fqcg/BFg==
Return-Path: <pjfarley3@earthlink.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=earthlink.net header.i=@earthlink.net header.b=mI0XfOr6;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.107
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.83; '*S*': 0.04; '2022': 0.05; 'kernel':
0.05; 'searching': 0.05; 'algorithmic': 0.09; 'utility': 0.09;
'algorithms': 0.16; "api's": 0.16; 'mainframe': 0.16; 'thread.':
0.16; 'to:addr:python-list': 0.20; 'code': 0.23; '(and': 0.25;
'skip:- 10': 0.25; '(as': 0.32; 'there': 0.33; 'same': 0.34;
'header:In-Reply-To:1': 0.34; 'running': 0.34; 'system,': 0.36;
'file': 0.38; 'quite': 0.39; 'mentioned': 0.39; 'from:': 0.62;
'to:': 0.62; 'subject': 0.63; 're:': 0.64; 'received:51': 0.64;
'your': 0.64; 'similar': 0.65; 'late': 0.73; 'sent:': 0.78;
'constraints': 0.84; 'saturday,': 0.84; 'ibm': 0.95; 'storage':
0.95
DKIM-Signature: v=1; a=rsa-sha256; bh=XItI5ATnb1QoE3USVnBrCPGSghY5/MLMcDnSIP
6L9+Q=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject:
date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to:
references:list-id:list-help:list-unsubscribe:list-subscribe:list-post:
list-owner:list-archive; q=dns/txt; s=dk12062016; t=1650817299;
x=1651422099; b=mI0XfOr6+LUh231RUlEqLCitP89DiPFhsI2SqS9bM9RKEccmhqkJkJi
bBESmUqpW16S+yCMUi+TLmk47ZD/fBcWb7jLzP6GbPwdfKbcF68Oz5khm/Om38Wft0nKDt1
YNpsxVgpSUbp+dfukWCLnB5jKYB8jPveWxSaXwqRl3GN0EKF9ShwhNwhbn2q2ngBibV3Yj5
0RFEYd7qLrsf3AmI/gR7bJfIbM3laZZ/PRql06YSFXHbRjAbHIpIvHepJdQq2ChLIK2qQpq
luVS1EexRub9bZAb/aX773TmSoIdZLtBY8Sp2ejJoZIWL4eeA0nos0uTwyY12gNTFfnUzLd
ERQ==
In-Reply-To: <55a04f90-8fb8-c585-afae-aca73c7d641f@DancesWithMice.info>
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQLtfaZO8qExbfGm/BPpQnz4UkBMBgHfUpgIAjDMA4cCAVUG9wK8qZYDAZmbyO8A1i0peqp7AQHg
Authentication-Results: oxsus-vadesecure.net;
auth=pass smtp.auth=pjfarley3@earthlink.net
smtp.mailfrom=pjfarley3@earthlink.net;
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <006501d857f7$5f6801e0$1e3805a0$@earthlink.net>
X-Mailman-Original-References: <CABbU2U98YKdcnJkDPfzE3Pqso+6LL72usB8hrSBVR0WbhauRoQ@mail.gmail.com>
<CAPTjJmr3AiCyvxXt=-nqNLrJfyQHmG=pvSsM7nU_XxhSe94zgA@mail.gmail.com>
<CABbU2U8TAvy0zMhUcNtTD0=WpQ6oNYEeZQuKDjnxhG85FVriDg@mail.gmail.com>
<CAPTjJmqnfoPjoNT2CNsrkMVxkzAMHHXHj-G3DuGrJ21SDRNsPA@mail.gmail.com>
<CABbU2U_sWyEmBXf0Psudwc-FLeRYqLX=B4x-_9TV0qc5ZVt3Bg@mail.gmail.com>
<CAPTjJmrJacamKq1V5T8FECkm4jURdYQgj0VsC+JK5Db0NoFaww@mail.gmail.com>
<55a04f90-8fb8-c585-afae-aca73c7d641f@DancesWithMice.info>
 by: - Sun, 24 Apr 2022 16:21 UTC

> -----Original Message-----
> From: dn <PythonList@DancesWithMice.info>
> Sent: Saturday, April 23, 2022 6:05 PM
> To: python-list@python.org
> Subject: Re: tail
>
<Snipped>
> NB quite a few of IBM's (extensively researched) algorithms which formed utility
> program[me]s on mainframes, made similar such algorithmic choices, in the
> pursuit of efficiencies.

WRT the mentioned IBM utility program[me]s, the non-Posix part of the IBM mainframe file system has always provided record-managed storage since the late 1960's (as opposed to the byte-managed storage of *ix systems) so searching for line endings was (and is) irrelevant and unnecessary in that environment. That operating system also provides basic "kernel-level" read-backwards API's for the record-managed file system, so there was never any need to build reverse-read into your code for that environment.

The byte-managed file storage used by the Posix kernel running under the actually-in-charge IBM mainframe operating system is, of course, subject to the same constraints and (in)efficiencies discussed in this thread.

Peter
--

Re: tail

<gh0b6hpof0d0tue3r3n78luctbvi3upiru@4ax.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=18029&group=comp.lang.python#18029

 copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 24 Apr 2022 12:12:44 -0500
From: wlfr...@ix.netcom.com (Dennis Lee Bieber)
Newsgroups: comp.lang.python
Subject: Re: tail
Date: Sun, 24 Apr 2022 13:12:42 -0400
Organization: IISS Elusive Unicorn
Message-ID: <gh0b6hpof0d0tue3r3n78luctbvi3upiru@4ax.com>
References: <CABbU2U8TAvy0zMhUcNtTD0=WpQ6oNYEeZQuKDjnxhG85FVriDg@mail.gmail.com> <CAPTjJmqnfoPjoNT2CNsrkMVxkzAMHHXHj-G3DuGrJ21SDRNsPA@mail.gmail.com> <CABbU2U_sWyEmBXf0Psudwc-FLeRYqLX=B4x-_9TV0qc5ZVt3Bg@mail.gmail.com> <CAPTjJmrJacamKq1V5T8FECkm4jURdYQgj0VsC+JK5Db0NoFaww@mail.gmail.com> <55a04f90-8fb8-c585-afae-aca73c7d641f@DancesWithMice.info> <006501d857f7$5f6801e0$1e3805a0$@earthlink.net> <mailman.245.1650818218.20749.python-list@python.org>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 34
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-tEMCudmqU54aUWUQ3JMiTZMsZM2vL7kgup1jwoaDRbBgYTkUVE1tx3s6xBUQh53O0zDh4Q87BnfAyk2!lIHKTKnpVu5cySdT8AyZBnbs3rv6+GewVBKEOU8HB/5+KKiUNKRYpQegdAPBQNa61Lq7N9zr
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
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-Original-Bytes: 3676
 by: Dennis Lee Bieber - Sun, 24 Apr 2022 17:12 UTC

On Sun, 24 Apr 2022 12:21:36 -0400, <pjfarley3@earthlink.net> declaimed the
following:

>
>WRT the mentioned IBM utility program[me]s, the non-Posix part of the IBM mainframe file system has always provided record-managed storage since the late 1960's (as opposed to the byte-managed storage of *ix systems) so searching for line endings was (and is) irrelevant and unnecessary in that environment. That operating system also provides basic "kernel-level" read-backwards API's for the record-managed file system, so there was never any need to build reverse-read into your code for that environment.
>

IBM wasn't the only one... Xerox Sigma running CP/V default for text
files (those created using a text editor) used numeric ISAM keys (as record
numbers -- which is how their FORTRAN IV compiler did random access I/O
without requiring fixed length records). The system supported three access
methods: consecutive (similar to UNIX "stream" files, for files that didn't
require editing, these saved disk space as the ISAM headers could be
disposed of), the aforesaid keyed, and "random" (on this system, "random"
meant the ONLY thing the OS did was know where the file was on disk --
files had to be contiguous and pre-allocated, and what data was in the file
was strictly up to the application to manage).

VAX/VMS had lots of different file structures managed by the RMS system
services. The default for FORTRAN text files was a segmented model, making
use of chunks of around 250 bytes [it has been years and I no longer have
the documentation] in which the start of each chunk had a code for "first
chunk", "last chunk", "intermediate chunk" (and maybe length of data in the
chunk). A record that fit completely within one chunk would have both
"first" and "last" codes set (intermediate chunks have neither code). One
had to go out of their way to create a "stream" file in DEC FORTRAN 77
(open the file with CARRIAGECONTROL=CARRIAGERETURN). Other languages on the
OS had different default file structures, but RMS would handle all of them
transparently.

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor