Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

The time is right to make new friends.


comp / comp.lang.lisp / Re: "CDR down the list..."

SubjectAuthor
* "CDR down the list..."HenHanna
+* Re: "CDR down the list..."Peter Moylan
|+* Re: "CDR down the list..."Lawrence D'Oliveiro
||`* Re: "CDR down the list..."Aidan Kehoe
|| +- Re: "CDR down the list..."Lawrence D'Oliveiro
|| +* Re: "CDR down the list..."Kaz Kylheku
|| |`- Re: "CDR down the list..."Aidan Kehoe
|| `* Re: "CDR down the list..."Nils M Holm
||  `- Re: "CDR down the list..."Lawrence D'Oliveiro
|`* Re: "CDR down the list..."Adam Funk
| `* Re: "CDR down the list..."lar3ryca
|  `* Re: "CDR down the list..."Kaz Kylheku
|   +* Re: "CDR down the list..."Adam Funk
|   |`- Re: "CDR down the list..."Kaz Kylheku
|   `- Re: "CDR down the list..."lar3ryca
`- Re: "CDR down the list..."Lawrence D'Oliveiro

1
Subject: "CDR down the list..."
From: HenHanna
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 05:50 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: HenHanna@devnull.tb (HenHanna)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: "CDR down the list..."
Date: Wed, 10 Jul 2024 22:50:50 -0700
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <v6nrrr$2aup6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Jul 2024 07:50:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5997fecf5cbee109c90816f0e589a653";
logging-data="2456358"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ImefnMRoiJXQHhn30Y3GbbNQKwb9WOws="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Jh6iCRf3dJqmPaHd9waALiYZHHc=
Content-Language: en-US
View all headers

"PDL" -- which (in the old days) was often compared to
those Dish-dispensers (with Springs) in Cafeterias.

Another nostalgic term is to "CDR down the list..."

whch makes me imagine a hapless (Mr.)Pointer who can be
jetsoned(?) to ANY POINT in heap memory.

like the BALL in a pin-ball machine.

-- like the gumshoe (P.I.) in Citizen Kane
or another Noir film.

Maybe in Gauche, lists are allocated more like
Python Lists or vectors?

Subject: Re: "CDR down the list..."
From: Peter Moylan
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 05:57 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: peter@pmoylan.org (Peter Moylan)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 15:57:57 +1000
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <v6ns96$2b4i7$1@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Jul 2024 07:57:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="90ebc2904a5c496a34d5fba8546a820a";
logging-data="2462279"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lMF6WwNdc551xw0alxbw3"
User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:38.0) Gecko/20100101
Thunderbird/38.8.0
Cancel-Lock: sha1:7Rpts0+rK7tWXCnwHBjRJI2CUPo=
In-Reply-To: <v6nrrr$2aup6$1@dont-email.me>
View all headers

On 11/07/24 15:50, HenHanna wrote:

> Another nostalgic term is to "CDR down the list..."

It is indeed many years since I last used CAR and CDR in anger, but I
don't remember it with nostalgia.

--
Peter Moylan peter@pmoylan.org http://www.pmoylan.org
Newcastle, NSW

Subject: Re: "CDR down the list..."
From: Lawrence D'Oliv
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 05:59 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 05:59:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <v6nsbc$2b42u$3@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 11 Jul 2024 07:59:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ead23d2d8cf5f779654345cfcdaaae64";
logging-data="2461790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188YEWyAlWNko9fl10YWQXA"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:WpRlzFpLlrL3a6j018MMpfZrKSI=
View all headers

On Wed, 10 Jul 2024 22:50:50 -0700, HenHanna wrote:

> Another nostalgic term is to "CDR down the list..."

The trouble with being a jack-of-multiple-trades is when you get these
terminology collisions between different application areas.

For example, in telephony, “CDR” stands for “Call Data Record”.

Just as well the “CD-R” usage is just about obsolete ...

Subject: Re: "CDR down the list..."
From: Lawrence D'Oliv
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 06:39 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 06:39:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <v6numb$2bhi0$1@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 11 Jul 2024 08:39:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ead23d2d8cf5f779654345cfcdaaae64";
logging-data="2475584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183VyASpQzRpmNC16C3gtl5"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:BO4mC07/gnb12BXG+Mn9msDY5gU=
View all headers

On Thu, 11 Jul 2024 15:57:57 +1000, Peter Moylan wrote:

> On 11/07/24 15:50, HenHanna wrote:
>
>> Another nostalgic term is to "CDR down the list..."
>
> It is indeed many years since I last used CAR and CDR in anger, but I
> don't remember it with nostalgia.

Proper CompSci terms should not have such proprietary origins.

Subject: Re: "CDR down the list..."
From: Aidan Kehoe
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Date: Thu, 11 Jul 2024 07:01 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: kehoea@parhasard.net (Aidan Kehoe)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 08:01:50 +0100
Lines: 27
Message-ID: <875xtc8l9d.fsf@parhasard.net>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<v6numb$2bhi0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net rEyf7PSBkuRB6Gck9pA8jAVON7SBIMuClUH3Y3pPAKeNTWaytW
Cancel-Lock: sha1:sKr+YtlzenYY2bAtRqTes0A7msk= sha1:8Qpy/aZwhZ8tlBvjo+CanN71GnI= sha256:CeEYzogWZW1msRhVdERMlX3as2Pwfj3raV8uRAifX+k=
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (Linux-aarch64)
View all headers

Ar an t-aonú lá déag de mí Iúil, scríobh Lawrence D'Oliveiro:

> On Thu, 11 Jul 2024 15:57:57 +1000, Peter Moylan wrote:
>
> > On 11/07/24 15:50, HenHanna wrote:
> >
> >> Another nostalgic term is to "CDR down the list..."
> >
> > It is indeed many years since I last used CAR and CDR in anger, but I
> > don't remember it with nostalgia.
>
> Proper CompSci terms should not have such proprietary origins.

“Contents of the decrement register,” wasn’t it? Not horrific on that front.
But yes, a more general word would be ideal.

A (the) codebase I work on has a Lisp implementation as well as a lot of C. The
Lisp data types and related functions are easily available to the C code.
Nonetheless there are loads of C structures that just incorporate their own
next pointer and roll their own linked lists that way, requiring separate list
traversal, searching, sorting, cycle detection code ...

--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after fourteen pints of stout’
(C. Moore)

Subject: Re: "CDR down the list..."
From: Lawrence D'Oliv
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 07:21 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 07:21:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <v6o155$2bsat$3@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<v6numb$2bhi0$1@dont-email.me> <875xtc8l9d.fsf@parhasard.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 11 Jul 2024 09:21:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ead23d2d8cf5f779654345cfcdaaae64";
logging-data="2486621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yKUwrws03tuADDX51zXmI"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:vg1t+ht1d5LSWei2zsOL55OviTk=
View all headers

On Thu, 11 Jul 2024 08:01:50 +0100, Aidan Kehoe wrote:

> “Contents of the decrement register,” wasn’t it?

Might have been “displacement register”. Not sure.

There was another language from the late 1960s or so that included list
processing as well as a bunch of other features, called “POP-2” (later
variants included “POP-11” and also a combination with Prolog called
“Poplog”). That one decided to use the selectors “hd” and “tl” in place of
“car” and “cdr”. Actually these names invoked functions that did “lazy
evaluation”, allowing for lists that were not completely filled out at
initial creation time. There were underlying selectors called “front” and
“back” if you wanted to get at the elements of the actual pair that held a
realized element of the list.

Subject: Re: "CDR down the list..."
From: Kaz Kylheku
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 07:24 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 07:24:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <20240711001032.591@kylheku.com>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<v6numb$2bhi0$1@dont-email.me> <875xtc8l9d.fsf@parhasard.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 11 Jul 2024 09:24:19 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1c1b3c01db2e58828e57902abb355a3e";
logging-data="2486081"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199AQ9dklllv/MTNsb8rTn8MV3DoKTqOyQ="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:xjpW2bPfNoTrV6h76BD4Wip3SUo=
View all headers

On 2024-07-11, Aidan Kehoe <kehoea@parhasard.net> wrote:
>
> Ar an t-aonú lá déag de mí Iúil, scríobh Lawrence D'Oliveiro:
>
> > On Thu, 11 Jul 2024 15:57:57 +1000, Peter Moylan wrote:
> >
> > > On 11/07/24 15:50, HenHanna wrote:
> > >
> > >> Another nostalgic term is to "CDR down the list..."
> > >
> > > It is indeed many years since I last used CAR and CDR in anger, but I
> > > don't remember it with nostalgia.
> >
> > Proper CompSci terms should not have such proprietary origins.
>
> “Contents of the decrement register,” wasn’t it? Not horrific on that front.
> But yes, a more general word would be ideal.

John MacCarthy obviously cared about naming. The FLPL (Fortran List
Processing Language) had awful function names like XCARF and XCDRF.

He had the presence of mind to drop the gratuitous X and F.

However, he was fine with the names like CAR and CDR and used that in
papers before Lisp existed.

The two fields of a binary cell can be used in a myriad ways with
as many meanings. Therefore names for their parts which have no meaning
are fitting; they do not skew the interpretation of the program with
inappropriate connotations.

When you see nothing but a bunch of car and cdr in code, you know it's
just working with shape. Whatever meaning the shape has has is imposed
elsewhere.

> A (the) codebase I work on has a Lisp implementation as well as a lot of C. The
> Lisp data types and related functions are easily available to the C code.
> Nonetheless there are loads of C structures that just incorporate their own
> next pointer and roll their own linked lists that way, requiring separate list
> traversal, searching, sorting, cycle detection code ...

Inside a Lisp-in-C impementation, the garbage collected Lisp list are
not always the most efficient thing to use, and could even cause
problems in code that interacts with the memory mangement and GC.
When internal structures use their own links, it's a clean separation.

Another consideration is that in C we often use intrusive containers,
including lists. The objects contain the link node as part of their
representation, and so can be put on a list without having to allocate
a list cell. This constrains them to be one one list at a time
(if they have one link field) and that is actually enough in
many situations.

Intrusive lists and other data structures can be had in a generic way;
for instance with the BSD TAILQ macros. You don't have to write
multiple sort or cycle detection routines.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: "CDR down the list..."
From: Nils M Holm
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Followup: comp.lang.lisp
Organization: TARFU
Date: Thu, 11 Jul 2024 08:35 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: nmh@sraddha.invalid (Nils M Holm)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Followup-To: comp.lang.lisp
Date: 11 Jul 2024 08:35:42 GMT
Organization: TARFU
Lines: 17
Sender: Nils M Holm <nmh@sraddha.local>
Message-ID: <lf9jquF9lngU1@mid.individual.net>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me> <v6numb$2bhi0$1@dont-email.me> <875xtc8l9d.fsf@parhasard.net>
X-Trace: individual.net fAr9qZV87G5YI7/Tt7Mi0Q+wwerSDEI8JU9pTuPEy27dNq8neh
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:YiGWcdjbFk3CRZXQkYzRoQ6PJDc= sha256:imBZut5nFYQAiwjDSgTJL7Y8kZw2fcsA1mhaum3evHQ=
User-Agent: tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.4-RELEASE (amd64))
View all headers

In comp.lang.lisp Aidan Kehoe <kehoea@parhasard.net> wrote:
> ?Contents of the decrement register,? wasn?t it? Not horrific on that front.

Content of the Decrement part of a Register. Some instructions on the
704 divided 36-bit words into four parts: prefix, decrement, tag, and
address:

-3-|-------15------|-3-|-------15------
PPP DDDDDDDDDDDDDDD TTT AAAAAAAAAAAAAAA

CAR and CDR extracted the D(ecrement) and A(ddress) parts. Because the
machine had 15 address lines, a CONS could be stored in a single machine
word. Personally, I like the names CAR and CDR and how they extend, e.g.
CADR, CDDR, etc.

--
Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org

Subject: Re: "CDR down the list..."
From: Adam Funk
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: $CABAL
Date: Thu, 11 Jul 2024 10:09 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24061@ducksburg.com (Adam Funk)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 11:09:31 +0100
Organization: $CABAL
Lines: 14
Message-ID: <rjn4mkxgce.ln2@news.ducksburg.com>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
X-Trace: individual.net SjsUl1LYOsDzt6M96bBieAvRAmQ/2G0wAyF59Rk6lekEAW4fBg
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:SRRa2A5AQBKpC4lnaFqlVLsWRow= sha1:gvJ65JNekgryflS9wPpJoKSldkU= sha256:g3tcvnlW5e3dNKGpO1ikx05fvyB9lm9eF1c7hGMFbzA=
User-Agent: slrn/pre1.0.4-6 (Linux)
View all headers

On 2024-07-11, Peter Moylan wrote:

> On 11/07/24 15:50, HenHanna wrote:
>
>> Another nostalgic term is to "CDR down the list..."
>
> It is indeed many years since I last used CAR and CDR in anger, but I
> don't remember it with nostalgia.

<https://www.zazzle.co.uk/my_other_car_is_a_cdr_bumper_sticker-128776132386843273>

--
books by the blameless and by the dead

Subject: Re: "CDR down the list..."
From: Lawrence D'Oliv
Newsgroups: comp.lang.lisp
Organization: A noiseless patient Spider
Date: Thu, 11 Jul 2024 21:46 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: "CDR down the list..."
Date: Thu, 11 Jul 2024 21:46:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <v6pjr9$2kqvg$4@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<v6numb$2bhi0$1@dont-email.me> <875xtc8l9d.fsf@parhasard.net>
<lf9jquF9lngU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 11 Jul 2024 23:46:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ead23d2d8cf5f779654345cfcdaaae64";
logging-data="2780144"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fNr1ydy7yRM3u74zKFrho"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:VmbyzQ8ehMh/0JBZyVIj8EV6oeA=
View all headers

On 11 Jul 2024 08:35:42 GMT, Nils M Holm wrote:

> Personally, I like the names CAR and CDR and how they extend, e.g.
> CADR, CDDR, etc.

Because the POP-2 family allowed

tl(l)

to be written as

l.tl

(assuming l was of a suitably simple form), this could be easily extended,
with little syntactical clutter or need for shortcut aliases, to things
like

l.tl.tl.tl.tl

etc.

Subject: Re: "CDR down the list..."
From: lar3ryca
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: Sedimentary
Date: Fri, 12 Jul 2024 06:26 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: larry@invalid.ca (lar3ryca)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Fri, 12 Jul 2024 00:26:22 -0600
Organization: Sedimentary
Lines: 21
Message-ID: <v6qiae$2t6c1$3@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<rjn4mkxgce.ln2@news.ducksburg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 Jul 2024 08:26:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9604cb050d5a01fff62d29f08ed5ce2a";
logging-data="3053953"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jkxqbyeTqSmx/miwHe7PuRCN+1zp5NiU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wggucxqPUb5UrXhFknryddtvwGY=
Content-Language: en-CA
In-Reply-To: <rjn4mkxgce.ln2@news.ducksburg.com>
View all headers

On 2024-07-11 04:09, Adam Funk wrote:
> On 2024-07-11, Peter Moylan wrote:
>
>> On 11/07/24 15:50, HenHanna wrote:
>>
>>> Another nostalgic term is to "CDR down the list..."
>>
>> It is indeed many years since I last used CAR and CDR in anger, but I
>> don't remember it with nostalgia.
>
> <https://www.zazzle.co.uk/my_other_car_is_a_cdr_bumper_sticker-128776132386843273>

My favourite "My other car" bumper sticker is:

My other car is also junk.

--
All you need in this life is ignor­ance and confi­dence,
and then success is sure.
~ Mark Twain

Subject: Re: "CDR down the list..."
From: Kaz Kylheku
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Fri, 12 Jul 2024 06:51 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Fri, 12 Jul 2024 06:51:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <20240711234843.360@kylheku.com>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<rjn4mkxgce.ln2@news.ducksburg.com> <v6qiae$2t6c1$3@dont-email.me>
Injection-Date: Fri, 12 Jul 2024 08:51:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ce9d7750f6a622c8d90995dce7832ee4";
logging-data="3073462"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GRWuFsjPCe3XTUUsgRSKNjzev7Eee/a8="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:Pr6umnC7QIPJpswi2kpETNY/u2g=
View all headers

On 2024-07-12, lar3ryca <larry@invalid.ca> wrote:
> My favourite "My other car" bumper sticker is:
>
> My other car is also junk.

This would make a nice one: "Parts from my other car got this one moving."

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: "CDR down the list..."
From: Adam Funk
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: $CABAL
Date: Fri, 12 Jul 2024 12:07 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24061@ducksburg.com (Adam Funk)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Fri, 12 Jul 2024 13:07:40 +0100
Organization: $CABAL
Lines: 16
Message-ID: <cti7mkx1ib.ln2@news.ducksburg.com>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<rjn4mkxgce.ln2@news.ducksburg.com> <v6qiae$2t6c1$3@dont-email.me>
<20240711234843.360@kylheku.com>
X-Trace: individual.net 25Nf556eiktCNa2a9HqKLwHiwuOqMZ86R1cF53KT64ts+voiMt
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:toT6U1DFAJxYfDdZr9hVgbA5ANE= sha1:Zu9rC0b6O9C9xlVXAYFoDrf3eHc= sha256:r0QuoGH8B+KOQUkRvVguHP1sZzRd963KkVNUOZsNuNE=
User-Agent: slrn/pre1.0.4-6 (Linux)
View all headers

On 2024-07-12, Kaz Kylheku wrote:

> On 2024-07-12, lar3ryca <larry@invalid.ca> wrote:
>> My favourite "My other car" bumper sticker is:
>>
>> My other car is also junk.
>
> This would make a nice one: "Parts from my other car got this one moving."

One of my friends used to have two air-cooled VW vans, which he
maintained and repaired himself. Usually one was in service at a time.

--
Gentlemen, you can't fight in here! This is the War Room.
---President Muffley

Subject: Re: "CDR down the list..."
From: Kaz Kylheku
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: A noiseless patient Spider
Date: Fri, 12 Jul 2024 12:17 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Fri, 12 Jul 2024 12:17:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20240712051654.155@kylheku.com>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<rjn4mkxgce.ln2@news.ducksburg.com> <v6qiae$2t6c1$3@dont-email.me>
<20240711234843.360@kylheku.com> <cti7mkx1ib.ln2@news.ducksburg.com>
Injection-Date: Fri, 12 Jul 2024 14:17:24 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ce9d7750f6a622c8d90995dce7832ee4";
logging-data="3183303"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gaz/od5rlw8mbC/ghSZXwTpQohlmntek="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:2BZ7u/daImnpWCIiStG/iuoO72g=
View all headers

On 2024-07-12, Adam Funk <a24061@ducksburg.com> wrote:
> On 2024-07-12, Kaz Kylheku wrote:
>
>> On 2024-07-12, lar3ryca <larry@invalid.ca> wrote:
>>> My favourite "My other car" bumper sticker is:
>>>
>>> My other car is also junk.
>>
>> This would make a nice one: "Parts from my other car got this one moving."
>
> One of my friends used to have two air-cooled VW vans, which he
> maintained and repaired himself. Usually one was in service at a time.

The other was being ... air-cooled at the moment.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: "CDR down the list..."
From: lar3ryca
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Organization: Sedimentary
Date: Fri, 12 Jul 2024 21:04 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: larry@invalid.ca (lar3ryca)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Fri, 12 Jul 2024 15:04:47 -0600
Organization: Sedimentary
Lines: 20
Message-ID: <v6s5pf$36ekn$3@dont-email.me>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<rjn4mkxgce.ln2@news.ducksburg.com> <v6qiae$2t6c1$3@dont-email.me>
<20240711234843.360@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 12 Jul 2024 23:04:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9604cb050d5a01fff62d29f08ed5ce2a";
logging-data="3357335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tKXLdUxLWNAiCiLmJsKniZ+A72im0DTU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:H6lsBYbXecAVn6V/GhSBzDyr94E=
In-Reply-To: <20240711234843.360@kylheku.com>
Content-Language: en-CA
View all headers

On 2024-07-12 00:51, Kaz Kylheku wrote:
> On 2024-07-12, lar3ryca <larry@invalid.ca> wrote:
>> My favourite "My other car" bumper sticker is:
>>
>> My other car is also junk.
>
> This would make a nice one: "Parts from my other car got this one moving."

One that I never had, but only saw, was:

All parts falling off this car are of the finest British workmanship.

I really wanted one for my TR3.

--
Chris: Hey can I borrow a ten?
Kristen: Sure.
Christen: Thank you.
Kris: You're welcome.

Subject: Re: "CDR down the list..."
From: Aidan Kehoe
Newsgroups: comp.lang.lisp, sci.lang, alt.usage.english
Date: Sat, 13 Jul 2024 07:19 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: kehoea@parhasard.net (Aidan Kehoe)
Newsgroups: comp.lang.lisp,sci.lang,alt.usage.english
Subject: Re: "CDR down the list..."
Date: Sat, 13 Jul 2024 08:19:50 +0100
Lines: 36
Message-ID: <87msml7o89.fsf@parhasard.net>
References: <v6nrrr$2aup6$1@dont-email.me> <v6ns96$2b4i7$1@dont-email.me>
<v6numb$2bhi0$1@dont-email.me> <875xtc8l9d.fsf@parhasard.net>
<20240711001032.591@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 2bYdBsKQApNs8NT9akhedQzp63BXUtXm2R3yLXMFVSI+/DTMOs
Cancel-Lock: sha1:Oql1PX+E13joobQcWiF3LaW67x0= sha1:Ip3gKu0GRmVbMk/5QkvEbhu2rl4= sha256:W5KIAL5qIt2DYtNRtPliIKol7v6ngR9mUA0IVgzbGn8=
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (Linux-aarch64)
View all headers

Ar an t-aonú lá déag de mí Iúil, scríobh Kaz Kylheku:

> > A (the) codebase I work on has a Lisp implementation as well as a lot of
> > C. The Lisp data types and related functions are easily available to the C
> > code. Nonetheless there are loads of C structures that just incorporate
> > their own next pointer and roll their own linked lists that way, requiring
> > separate list traversal, searching, sorting, cycle detection code ...
>
> Inside a Lisp-in-C impementation, the garbage collected Lisp list are
> not always the most efficient thing to use, and could even cause
> problems in code that interacts with the memory mangement and GC.
> When internal structures use their own links, it's a clean separation.

The internal structures are also subject to garbage collection and protection
therefrom in this case.

> Another consideration is that in C we often use intrusive containers,
> including lists. The objects contain the link node as part of their
> representation, and so can be put on a list without having to allocate
> a list cell. This constrains them to be one one list at a time
> (if they have one link field) and that is actually enough in
> many situations.

That’s the one benefit of the current approach in this codebase, a little less
memory for a couple of hundred fairly small objects, at the expense of a larger
code segment with more bugs.

> Intrusive lists and other data structures can be had in a generic way;
> for instance with the BSD TAILQ macros. You don't have to write
> multiple sort or cycle detection routines.

--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after fourteen pints of stout’
(C. Moore)

1

rocksolid light 0.9.8
clearnet tor