Re: Drakma on Ubuntu

"Jon Boone (as ipmonger at delamancha dot org)" <[email protected]> Fri, 17 Jul 2026 09:43:55 -0400
Newsgroups gmane.lisp.lispworks.general
Message-ID <dced78b7-d13a-4d19-9842-31ff5e5fc16f@Spark>
--6a5a31a0_2d2a2ed1_50c7
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I haven=E2=80=99t used Drakma, but the interaction with the API endpoint =
is simple HTTP. =C2=A0You can use curl if you really want to=E2=80=A6

=E2=80=94 jb
On Jul 17, 2026 at 09:21 -0400, John DeSoi (as john at desoi dot dev) <li=
sp-hug=40lispworks.com>, wrote:
> Hi Lawrence,
>
> I missed the earlier thread about this - I'm also interested in connect=
ing to Ollama. Are you able to implement the streaming API where you get =
partial results immediately using Drakma=3F It is not clear to me if only=
 plain HTTP is needed or if some kind of web socket implementation is req=
uired.
>
> Thanks,
>
> John DeSoi, Ph.D.
>
>
> > On Jul 16, 2026, at 12:12=E2=80=AFAM, Lawrence Au (as la at synap dot=
 news) <lisp-hug=40lispworks.com> wrote:
> >
> > =C2=A0=C2=A0I earlier asked for suggestions for connecting Lispworks =
to Ollama LLMs. Thanks to all the advice, I was able to settle on Drakma =
to make that connection work on MacOS. I=E2=80=99m working on putting the=
 code I wrote which calls Drakma into a single file so others can use it =
too. But I=E2=80=99ve run into a problem porting that code from Lispworks=
 8.01 MacOS Sequoia 15.7.3 to Lispworks 8.01, running on Ubuntu 22.04.3 L=
TS.
>

--6a5a31a0_2d2a2ed1_50c7
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html xmlns=3D=22http://www.w3.org/1999/xhtml=22>
<head>
<title></title>
</head>
<body>
<div name=3D=22messageBodySection=22>
<div>I haven=E2=80=99t used Drakma, but the interaction with the API endp=
oint is simple HTTP. &=23160;You can use curl if you really want to=E2=80=
=A6</div>
</div>
<div name=3D=22messageSignatureSection=22><br />
=E2=80=94 jb</div>
<div name=3D=22messageReplySection=22>On Jul 17, 2026 at 09:21 -0400, Joh=
n DeSoi (as john at desoi dot dev) &lt;lisp-hug=40lispworks.com&gt;, wrot=
e:<br />
<blockquote type=3D=22cite=22><span style=3D=22font-family: LucidaGrande;=
=22>Hi Lawrence,</span>
<div style=3D=22font-family: LucidaGrande;=22><br /></div>
<div style=3D=22font-family: LucidaGrande;=22>I missed the earlier thread=
 about this - I'm also interested in connecting to Ollama. Are you able t=
o implement the streaming API where you get partial results immediately u=
sing Drakma=3F It is not clear to me if only plain HTTP is needed or if s=
ome kind of web socket implementation is required.</div>
<div style=3D=22font-family: LucidaGrande;=22><br /></div>
<div style=3D=22font-family: LucidaGrande;=22>Thanks,</div>
<div style=3D=22font-family: LucidaGrande;=22><br /></div>
<div style=3D=22font-family: LucidaGrande;=22>John DeSoi, Ph.D.</div>
<div style=3D=22font-family: LucidaGrande;=22><br /></div>
<div><br />
<blockquote type=3D=22cite=22>
<div>On Jul 16, 2026, at 12:12=E2=80=AFAM, Lawrence Au (as la at synap do=
t news) &lt;lisp-hug=40lispworks.com&gt; wrote:</div>
<br class=3D=22Apple-interchange-newline=22 />
<div>
<meta charset=3D=22UT=46-8=22 /><span style=3D=22caret-color: rgb(0, 0, 0=
); font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-=
variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: =
2; text-align: start; text-indent: 0px; text-transform: none; white-space=
: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; t=
ext-decoration: none; float: none; display: inline =21important;=22>&=231=
60;&=23160;I earlier asked for suggestions for connecting Lispworks to Ol=
lama LLMs. Thanks to all the advice, I was able to settle on Drakma to ma=
ke that connection work on MacOS. I=E2=80=99m working on putting the code=
 I wrote which calls Drakma into a single file so others can use it too. =
But I=E2=80=99ve run into a problem porting that code from Lispworks 8.01=
 MacOS Sequoia 15.7.3 to Lispworks 8.01, running on Ubuntu 22.04.3 LTS.</=
span></div>
</blockquote>
</div>
<br /></blockquote>
</div>
</body>
</html>

--6a5a31a0_2d2a2ed1_50c7--

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html