Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If this is timesharing, give me my share right now.


devel / comp.lang.forth / Re: .Re: Faster remove-duplicates with sorted list.

SubjectAuthor
* .Re: Faster remove-duplicates with sorted list.Robert L.
+* Re: .Re: Faster remove-duplicates with sorted list.Doug Hoffman
|`* Re: .Re: Faster remove-duplicates with sorted list.dxforth
| `* Re: .Re: Faster remove-duplicates with sorted list.Doug Hoffman
|  `- Re: .Re: Faster remove-duplicates with sorted list.Hans Bezemer
`- Re: .Re: Faster remove-duplicates with sorted list.S Jack

1
.Re: Faster remove-duplicates with sorted list.

<t06ti0$1okt$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!YmobAmJ6RmFFvX6TKEcNxw.user.46.165.242.75.POSTED!not-for-mail
From: No_spamm...@noWhere_7073.org (Robert L.)
Newsgroups: comp.lang.forth
Subject: .Re: Faster remove-duplicates with sorted list.
Date: Tue, 8 Mar 2022 06:36:48 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t06ti0$1okt$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Info: gioia.aioe.org; logging-data="58013"; posting-host="YmobAmJ6RmFFvX6TKEcNxw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: XanaNews/1.18.1.6
X-Notice: Filtered by postfilter v. 0.9.2
 by: Robert L. - Tue, 8 Mar 2022 06:36 UTC

Gauche Scheme and Racket:

;; For Racket only.
(require srfi/1) ;; fold-right

(define (kons x accum)
(if (and (pair? accum) (equal? x (car accum)))
accum
(cons x accum)))

(define (remove-duplicates-sorted xs)
(fold-right kons '() xs))

(remove-duplicates-sorted '(a a bark c c c d d ))
===>
(a bark c d)

(remove-duplicates-sorted '(a a bark c c c d))
===>
(a bark c d)

In Forth?

Re: .Re: Faster remove-duplicates with sorted list.

<62270b61$0$703$14726298@news.sunsite.dk>

 copy mid

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

 copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 8 Mar 2022 02:53:03 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.6.0
Subject: Re: .Re: Faster remove-duplicates with sorted list.
Content-Language: en-US
Newsgroups: comp.lang.forth
References: <t06ti0$1okt$1@gioia.aioe.org>
From: dhoffman...@gmail.com (Doug Hoffman)
In-Reply-To: <t06ti0$1okt$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
Message-ID: <62270b61$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 82ec918d.news.sunsite.dk
X-Trace: 1646725986 news.sunsite.dk 703 glidedog@gmail.com/68.55.82.126:58958
X-Complaints-To: staff@sunsite.dk
 by: Doug Hoffman - Tue, 8 Mar 2022 07:53 UTC

On 3/8/22 1:36 AM, Robert L. wrote:
> Gauche Scheme and Racket:
[..]> In Forth?

Let's see your Forth solution.
Regardless, this is boring. What is your point?

-Doug

Re: .Re: Faster remove-duplicates with sorted list.

<t076vm$1i15$1@gioia.aioe.org>

 copy mid

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

 copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: .Re: Faster remove-duplicates with sorted list.
Date: Tue, 8 Mar 2022 20:17:42 +1100
Organization: Aioe.org NNTP Server
Message-ID: <t076vm$1i15$1@gioia.aioe.org>
References: <t06ti0$1okt$1@gioia.aioe.org>
<62270b61$0$703$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="51237"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Tue, 8 Mar 2022 09:17 UTC

On 8/03/2022 18:53, Doug Hoffman wrote:
> On 3/8/22 1:36 AM, Robert L. wrote:
>> Gauche Scheme and Racket:
> [..]> In Forth?
>
> Let's see your Forth solution.
> Regardless, this is boring. What is your point?

Though it goes over my head I enjoy your solutions as one of the few here
who can respond to Robert L.'s challenges in a way he can appreciate.

Re: .Re: Faster remove-duplicates with sorted list.

<622726f5$0$693$14726298@news.sunsite.dk>

 copy mid

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

 copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 8 Mar 2022 04:50:42 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.6.0
Subject: Re: .Re: Faster remove-duplicates with sorted list.
Content-Language: en-US
Newsgroups: comp.lang.forth
References: <t06ti0$1okt$1@gioia.aioe.org>
<62270b61$0$703$14726298@news.sunsite.dk> <t076vm$1i15$1@gioia.aioe.org>
From: dhoffman...@gmail.com (Doug Hoffman)
In-Reply-To: <t076vm$1i15$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
Message-ID: <622726f5$0$693$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: a5005f1b.news.sunsite.dk
X-Trace: 1646733045 news.sunsite.dk 693 glidedog@gmail.com/68.55.82.126:59016
X-Complaints-To: staff@sunsite.dk
 by: Doug Hoffman - Tue, 8 Mar 2022 09:50 UTC

On 3/8/22 4:17 AM, dxforth wrote:

> Though it goes over my head I enjoy your solutions as one of the few here
> who can respond to Robert L.'s challenges in a way he can appreciate.

Thanks. But I don't think he appreciates anything. He apparently has a
brain defect that prevents normal social interaction.

-Doug

Re: .Re: Faster remove-duplicates with sorted list.

<b6be7dcb-fb6c-4898-abae-246d22b0a702n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:20ed:b0:435:b4ca:2f1e with SMTP id 13-20020a05621420ed00b00435b4ca2f1emr490023qvk.78.1646739117894;
Tue, 08 Mar 2022 03:31:57 -0800 (PST)
X-Received: by 2002:a05:620a:2481:b0:67b:39ef:b3eb with SMTP id
i1-20020a05620a248100b0067b39efb3ebmr4253621qkn.188.1646739117721; Tue, 08
Mar 2022 03:31:57 -0800 (PST)
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!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 8 Mar 2022 03:31:57 -0800 (PST)
In-Reply-To: <622726f5$0$693$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=82.95.228.79; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 82.95.228.79
References: <t06ti0$1okt$1@gioia.aioe.org> <62270b61$0$703$14726298@news.sunsite.dk>
<t076vm$1i15$1@gioia.aioe.org> <622726f5$0$693$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b6be7dcb-fb6c-4898-abae-246d22b0a702n@googlegroups.com>
Subject: Re: .Re: Faster remove-duplicates with sorted list.
From: the.beez...@gmail.com (Hans Bezemer)
Injection-Date: Tue, 08 Mar 2022 11:31:57 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
 by: Hans Bezemer - Tue, 8 Mar 2022 11:31 UTC

On Tuesday, March 8, 2022 at 10:50:47 AM UTC+1, Doug Hoffman wrote:
> On 3/8/22 4:17 AM, dxforth wrote:
> He apparently has a brain defect that prevents normal social interaction.
A single one? You're a kind person! ;-)

Hans Bezemer

Re: .Re: Faster remove-duplicates with sorted list.

<36974099-6aab-4f73-a3ea-4797eac60231n@googlegroups.com>

 copy mid

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

 copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:5e51:0:b0:2de:b1ae:bafd with SMTP id i17-20020ac85e51000000b002deb1aebafdmr14077179qtx.391.1646753966714;
Tue, 08 Mar 2022 07:39:26 -0800 (PST)
X-Received: by 2002:a05:622a:4b:b0:2de:4ac8:6175 with SMTP id
y11-20020a05622a004b00b002de4ac86175mr13791829qtw.210.1646753966549; Tue, 08
Mar 2022 07:39:26 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 8 Mar 2022 07:39:26 -0800 (PST)
In-Reply-To: <t06ti0$1okt$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:3f7a:20d0:e1cd:9185:1ea5:257a;
posting-account=V5nGoQoAAAC_P2U0qnxm2kC0s1jNJXJa
NNTP-Posting-Host: 2600:1700:3f7a:20d0:e1cd:9185:1ea5:257a
References: <t06ti0$1okt$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <36974099-6aab-4f73-a3ea-4797eac60231n@googlegroups.com>
Subject: Re: .Re: Faster remove-duplicates with sorted list.
From: sdwjac...@gmail.com (S Jack)
Injection-Date: Tue, 08 Mar 2022 15:39:26 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 26
 by: S Jack - Tue, 8 Mar 2022 15:39 UTC

On Tuesday, March 8, 2022 at 12:36:53 AM UTC-6, Robert L. wrote:
> Gauche Scheme and Racket:
>
:) frogd
ELF32X86_64 Frog Version 1.0d

"job" /go

String translate

mpad dup
bl !to s
s 1D021200421B0B52 +s
s 0D120E0358061301 +s
s 12160A1C44050E53 +s
s 080D551013040616 +s
s 031B44160E +s
mpadset om ZYX
mpad cr .( ==> ) tell
==> omae no baka-banashi wa mo takusan da

-fin-
ok
in Gauche Scheme and Racket ?
--
me

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor