Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Real Users are afraid they'll break the machine -- but they're never afraid to break your face.


devel / comp.lang.lisp / Re: lightweight communication to the web in Common Lisp

SubjectAuthor
* lightweight communication to the web in Common LispMark Tarver
+- Re: lightweight communication to the web in Common LispMadhu
`* Re: lightweight communication to the web in Common LispStephane Tougard
 `- Re: lightweight communication to the web in Common LispMadhu

1
lightweight communication to the web in Common Lisp

<dc46baf0-e749-47aa-bac1-2c0a2951da1an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16736&group=comp.lang.lisp#16736

  copy link   Newsgroups: comp.lang.lisp
X-Received: by 2002:ae9:e507:: with SMTP id w7mr2704538qkf.328.1638919236143; Tue, 07 Dec 2021 15:20:36 -0800 (PST)
X-Received: by 2002:a4a:e155:: with SMTP id p21mr28859631oot.84.1638919235905; Tue, 07 Dec 2021 15:20:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!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.lisp
Date: Tue, 7 Dec 2021 15:20:35 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=86.28.97.229; posting-account=kJbRXgoAAADVvCa8xCOuqxtZ-KSaXUAS
NNTP-Posting-Host: 86.28.97.229
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dc46baf0-e749-47aa-bac1-2c0a2951da1an@googlegroups.com>
Subject: lightweight communication to the web in Common Lisp
From: dr.mtarver@gmail.com (Mark Tarver)
Injection-Date: Tue, 07 Dec 2021 23:20:36 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
 by: Mark Tarver - Tue, 7 Dec 2021 23:20 UTC

I'm looking for a lightweight program in Common Lisp for communicating to
the web. Should take a URL and return the contents of the site. Should accept https sites. A code sample like (get-url "mywebsite.org") would be cool.

If it can push data via ftp and passwords etc. even better.

Mark

Re: lightweight communication to the web in Common Lisp

<m3zgpbepya.fsf@leonis4.robolove.meer.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16737&group=comp.lang.lisp#16737

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: enometh@meer.net (Madhu)
Newsgroups: comp.lang.lisp
Subject: Re: lightweight communication to the web in Common Lisp
Date: Wed, 08 Dec 2021 08:57:25 +0530
Organization: Motzarella
Lines: 23
Message-ID: <m3zgpbepya.fsf@leonis4.robolove.meer.net>
References: <dc46baf0-e749-47aa-bac1-2c0a2951da1an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="d4ad8be40e4ca123f663bd232f6cb21a";
logging-data="11515"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oa0gY5XwU9lzCE9w29qHwxar8GovZ91g="
Cancel-Lock: sha1:/6nOn1olQBirlDXh84Rp0ACHmUo=
sha1:QQY+oNdlaWYqu+S6Oeu4W5Gzbyk=
 by: Madhu - Wed, 8 Dec 2021 03:27 UTC

* Mark Tarver <dc46baf0-e749-47aa-bac1-2c0a2951da1an@googlegroups.com> :
Wrote on Tue, 7 Dec 2021 15:20:35 -0800 (PST):

> I'm looking for a lightweight program in Common Lisp for communicating to
> the web. Should take a URL and return the contents of the site.
> Should accept https sites. A code sample like (get-url
> "mywebsite.org") would be cool.

This usually has to be a wrapper around the (necessary complexity)
functionality that the client has to expose

> If it can push data via ftp and passwords etc. even better.

The usual suspects are edi weitz' drakma https://github.com/edicl/drakma
and `fukamachi's https://github.com/fukamachi/dexador - but these come
with the stack of dependencies and the subsequent dependence on
quicklisp.

A lightweight (light on dependencies) alternative was Jeff Massung's
suite of tools which included a http client
https://github.com/massung/http this was for CCL at the time I used it.
This worked well for me until he switched it over to SBCL-only, though I
had a stab at keeping CCL compatibility

Re: lightweight communication to the web in Common Lisp

<isfb8i-0s91.ln1@superman.unices.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16743&group=comp.lang.lisp#16743

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!news.swapon.de!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!proxad.net!feeder1-1.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp1-2.free.fr!not-for-mail
Newsgroups: comp.lang.lisp
From: stephane@unices.org (Stephane Tougard)
Subject: Re: lightweight communication to the web in Common Lisp
References: <dc46baf0-e749-47aa-bac1-2c0a2951da1an@googlegroups.com>
Reply-To: stephane@unices.org
User-Agent: slrn/1.0.3 (FreeBSD)
Date: Fri, 10 Dec 2021 09:31:46 +0100
Message-ID: <isfb8i-0s91.ln1@superman.unices.org>
Lines: 37
Organization: Guest of ProXad - France
NNTP-Posting-Date: 10 Dec 2021 10:00:00 CET
NNTP-Posting-Host: 78.247.52.194
X-Trace: 1639126800 news-2.free.fr 28577 78.247.52.194:53664
X-Complaints-To: abuse@proxad.net
 by: Stephane Tougard - Fri, 10 Dec 2021 08:31 UTC

On 2021-12-07, Mark Tarver <dr.mtarver@gmail.com> wrote:
> I'm looking for a lightweight program in Common Lisp for communicating to
> the web. Should take a URL and return the contents of the site. Should accept https sites. A code sample like (get-url "mywebsite.org") would be cool.

CL-USER(1): (ql:quickload 'drakma)
To load "drakma":
Load 7 ASDF systems:
asdf chunga cl+ssl cl-base64 cl-ppcre flexi-streams
usocket
Install 3 Quicklisp releases:
chipz drakma puri
; Loading "drakma"
[package puri]....................................
[package chipz]...................................
[package drakma]........
(DRAKMA)
CL-USER(2): (drakma:http-request "https://www.google.com")

> If it can push data via ftp and passwords etc. even better.

I don't think it does FTP, but it surely does all those kinds of things in
HTTP.

For FTP

CL-USER(4): (ql:system-apropos "ftp")
#<SYSTEM cl-ftp / cl-ftp-20150608-http / quicklisp 2021-10-21>
#<SYSTEM fftpack5 / f2cl-20200925-git / quicklisp 2021-10-21>
#<SYSTEM fftpack5-double / f2cl-20200925-git / quicklisp 2021-10-21>
#<SYSTEM ftp / cl-ftp-20150608-http / quicklisp 2021-10-21>
CL-USER(5):

Never tested, however FTP is a simple protocol, quite sure it does all
that.

Re: lightweight communication to the web in Common Lisp

<m34k7gyf10.fsf@leonis4.robolove.meer.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16744&group=comp.lang.lisp#16744

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: enometh@meer.net (Madhu)
Newsgroups: comp.lang.lisp
Subject: Re: lightweight communication to the web in Common Lisp
Date: Fri, 10 Dec 2021 15:09:55 +0530
Organization: Motzarella
Lines: 29
Message-ID: <m34k7gyf10.fsf@leonis4.robolove.meer.net>
References: <dc46baf0-e749-47aa-bac1-2c0a2951da1an@googlegroups.com>
<isfb8i-0s91.ln1@superman.unices.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="a4ad9283f9ffc36d6b63f247c189b7ec";
logging-data="10978"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7LSQdlfZ0dG9OfVX4Zs2ffKQozGs+Ars="
Cancel-Lock: sha1:R8ZTDbPcu3mQ3XvVra+Xtcqxtc8=
sha1:6QWmZgo1agIADeMlh6Pqomg9g4U=
 by: Madhu - Fri, 10 Dec 2021 09:39 UTC

* Stephane Tougard <isfb8i-0s91.ln1@superman.unices.org> :
Wrote on Fri, 10 Dec 2021 09:31:46 +0100:

[drakma]
>> If it can push data via ftp and passwords etc. even better.
>
> I don't think it does FTP, but it surely does all those kinds of things in
> HTTP.
>
> For FTP
>
> CL-USER(4): (ql:system-apropos "ftp")
> #<SYSTEM cl-ftp / cl-ftp-20150608-http / quicklisp 2021-10-21>
> #<SYSTEM fftpack5 / f2cl-20200925-git / quicklisp 2021-10-21>
> #<SYSTEM fftpack5-double / f2cl-20200925-git / quicklisp 2021-10-21>
> #<SYSTEM ftp / cl-ftp-20150608-http / quicklisp 2021-10-21>

> Never tested, however FTP is a simple protocol, quite sure it does all
> that.

Compared to HTTP/1.0, FTP is pretty complex. It negotiates and opens a
separate connection see the PASV command.

most univ sites have stopped serving ftp. firefox dropped support for
ftp. citing maintanence is not a change for something so tested. there
is considerable capital-investment from above in killing off ftp.


devel / comp.lang.lisp / Re: lightweight communication to the web in Common Lisp

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor