jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
doulos05 has quit [Ping timeout: 246 seconds]
occ has joined #commonlisp
pillton has joined #commonlisp
occ has quit [Ping timeout: 255 seconds]
occ has joined #commonlisp
X-Scale has quit [Quit: Client closed]
occ has quit [Ping timeout: 255 seconds]
pmwals09 has joined #commonlisp
occ has joined #commonlisp
pieguy128_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
saturn2 has quit [Ping timeout: 255 seconds]
akoana has joined #commonlisp
pieguy128 has joined #commonlisp
Inline has quit [Ping timeout: 248 seconds]
saturn2 has joined #commonlisp
pmwals09 has quit [Remote host closed the connection]
pmwals09 has joined #commonlisp
pmwals09 has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
tyson2 has quit [Remote host closed the connection]
luna-is-here_ has quit [Ping timeout: 264 seconds]
Lord_of_Life has quit [Ping timeout: 255 seconds]
Lord_of_Life has joined #commonlisp
luna-is-here has joined #commonlisp
masinter has quit [Ping timeout: 246 seconds]
samedi has quit [Quit: Leaving]
paul0 has joined #commonlisp
<ober> is there a list of things in cltl2 that did not make it into the standard, but are supported in sbcl?
<aeth> probably more useful to see what's on http://portability.cl/
<ixelp> Common Lisp Portability Library Status
<aeth> trivial-cltl2 immediately comes to mind
<aeth> gray streams were also rejected but idk if they were in cltl2
akoana has quit [Quit: leaving]
<ixelp> GitHub - Zulu-Inuoe/trivial-cltl2: Portable CLtL2
<aeth> better than a list because it runs
<aeth> might not have everything that SBCL can do though
pawa2 has quit [Ping timeout: 248 seconds]
masinter has joined #commonlisp
occ has quit [Ping timeout: 268 seconds]
_paul0 has joined #commonlisp
paul0 has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 246 seconds]
<Bike> i think it covers everything in sb-cltl2, at least.
_paul0 has quit [Quit: Leaving]
occ has joined #commonlisp
dcb has joined #commonlisp
sukaeto has quit [Quit: WeeChat 3.0]
sukaeto has joined #commonlisp
wilfred has joined #commonlisp
shka has joined #commonlisp
occ has quit [Read error: Connection reset by peer]
Josh_2 has joined #commonlisp
<Josh_2> :sunglasses: Hi
occ has joined #commonlisp
<Josh_2> Anyone here made use of any of the websocket libraries?
<White_Flame> I tried to a while ago
<White_Flame> none had full coverage of the spec
<Josh_2> Yep
<White_Flame> if you want to do things like send both text & binary messages
<White_Flame> we made local dirty hacks to hunchensocket for the situations we need it for, iirc
<Josh_2> I'm not very impressed with the code in Portal but its quite simple, I was just hacking on it and idk must have saved my file after deleting half the code :angry:
<Josh_2> The websocket protocol is quite simple
<White_Flame> sort of. there's lots of fiddly state details and different ways to configure things
<Josh_2> Yes
<Josh_2> Nothing that a few generics can't sort out :sunglasses:
<White_Flame> the notion of websocket pings and some other things that I don't quite recall also really don't work as designed
<Josh_2> But hey, I only want to send text between front end of my website and the backend so I can purchase items etc
igemnace has joined #commonlisp
<White_Flame> then the websocket libs as-is should work for you
<Josh_2> Have you tried websocket-driver? I am already using ningle
<Josh_2> the lack/clack stack etc
<White_Flame> we tried a few of them
<White_Flame> wanted something simple and embedded, not running a full sebserver
<Josh_2> my desire to fork Portal into Portal2 grows stronger :joy:
<White_Flame> so I can't really comment on all the web frameworks or really know how they all interconnect
<Josh_2> Right
<Josh_2> websocket-driver uses lack and I'm already using lack, I will see how that plays with my already running system :thinking:
<Josh_2> Seems Portal supports binary White_Flame
<White_Flame> i think portal might be newer than when I was doing my stuff. And yeah, binary mode is supported by most of them. Combining them, however, tripped bugs where they others assumed the socket would only ever use 1 mode and didn't change them per packet
<Josh_2> ah I see
<Josh_2> I guess the solution is another websocket library that gets 90% of the way :joy:
<Josh_2> That is the *lisp way*!
<White_Flame> is portal not working for you?
<White_Flame> well, the right way would be to submit patches
<Josh_2> It does
<White_Flame> but given the depth of dependencies in these web stacks, the bug doesn't always just sit in 1 assumption in 1 place
<Josh_2> Fortunately portal doesn't use a web stack, it handles the initial http request manually
<White_Flame> yep, which is nice for embedding. I would have probably used it back then if it existed
<Josh_2> one of the changes I made (and lost) was converting Portals http request reader to fast-http :sob:
<Josh_2> I think it would be a good learning exercise for me to take a stab at improving Portal, I never was much good at things like bit manipulation
Everything has joined #commonlisp
pve has joined #commonlisp
Josh_2 has quit [Quit: Gotta go fast!]
chip_x has joined #commonlisp
kenran has joined #commonlisp
chipxxx has quit [Ping timeout: 248 seconds]
azimut_ has quit [Ping timeout: 255 seconds]
grawlinson has quit [Quit: SIGTERM]
grawlinson has joined #commonlisp
chipxxx has joined #commonlisp
chip_x has quit [Ping timeout: 246 seconds]
chip__ has joined #commonlisp
Posterdati has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
chipxxx has quit [Ping timeout: 260 seconds]
rgherdt has joined #commonlisp
Posterdati has joined #commonlisp
Guest63 has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
rgherdt_ has joined #commonlisp
szkl has joined #commonlisp
kenran has quit [Remote host closed the connection]
kenran has joined #commonlisp
iquites_ is now known as iquites
masinter has quit [Ping timeout: 248 seconds]
LW has joined #commonlisp
wilfred has quit [Quit: Connection closed for inactivity]
pawa2 has joined #commonlisp
Guest63 has quit [Ping timeout: 260 seconds]
neon has joined #commonlisp
occ has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
JAN_ has joined #commonlisp
JAN_ has quit [Client Quit]
JAN_ has joined #commonlisp
JAN_ has quit [Client Quit]
lxi has joined #commonlisp
pillton has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
lxi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Inline has joined #commonlisp
MajorBiscuit has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
chipxxx has joined #commonlisp
jeosol has quit [Quit: Client closed]
chip__ has quit [Ping timeout: 256 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
markb1 has quit [Ping timeout: 255 seconds]
markb1 has joined #commonlisp
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
<jackdaniel> if I want to call the the inferior lisp for slime with some env variable - how should I do that?
<jackdaniel> (setq inferior-lisp-program "FOOSH=/home/jd/ ecl") doesn't sound right (neither it works)
<semarie> try with: (setq inferior-lisp-program "env FOOSH=/home/jd/ ecl")
specbot has quit [Remote host closed the connection]
minion has quit [Write error: Broken pipe]
<jackdaniel> hm, it can't find the binary (because it is in fact "env FOOSH=/home/jd/ ~/bin/ecl-devel"), but that's a start, thanks!
specbot has joined #commonlisp
<semarie> something like (setq inferior-lisp-program "/usr/bin/env") (setq slime-lisp-implementations '((env ("env" "FOOSH=/home/jd/" "ecl")))
minion has joined #commonlisp
<semarie> or just crate a shell script as wrapper, and pass (setq inferior-lisp-program "/home/jd/my-lisp.sh")
<semarie> create*
<jackdaniel> yeah, a wrapper crossed my mind
<jackdaniel> I can always add to ecl initfile appropriate call that sets the env var
<jackdaniel> so many options :) thanks again
<Bike> jackdaniel: if you use slime-lisp-implementations you can pass :env https://slime.common-lisp.dev/doc/html/Multiple-Lisps.html
<ixelp> Multiple Lisps (SLIME User Manual, version 2.24)
<Bike> (it's not described here, but for multiple variables you want one variable per string, as i recall
frgo has quit [Ping timeout: 260 seconds]
karlosz has joined #commonlisp
<jackdaniel> that sounds like a less hacky solution, so I'll switch to that, thanks! (I've made a wrapper and it works just fine)
pmwals09 has joined #commonlisp
<Bike> no problem
pmwals09 has quit [Ping timeout: 248 seconds]
karlosz has quit [Quit: karlosz]
karlosz has joined #commonlisp
markb1 has quit [Ping timeout: 255 seconds]
markb1 has joined #commonlisp
notzmv has joined #commonlisp
pawa2 has quit [Quit: leaving]
szkl has quit [Quit: Connection closed for inactivity]
azimut has joined #commonlisp
kevingal has joined #commonlisp
Lycurgus has joined #commonlisp
Everything has quit [Ping timeout: 260 seconds]
Everything has joined #commonlisp
karlosz has quit [Quit: karlosz]
Cymew has joined #commonlisp
samedi has joined #commonlisp
xaltsc has quit [Ping timeout: 265 seconds]
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
Cymew has quit [Ping timeout: 248 seconds]
kevingal has quit [Ping timeout: 248 seconds]
<Shinmera> The level editor update for Kandria is now live! https://reader.tymoon.eu/article/425
markb1 has quit [Ping timeout: 255 seconds]
markb1 has joined #commonlisp
markb1 has quit [Ping timeout: 248 seconds]
markb1 has joined #commonlisp
kevingal has joined #commonlisp
eddof13 has joined #commonlisp
Inline has quit [Ping timeout: 255 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has joined #commonlisp
Inline has quit [Client Quit]
<ober> Shinmera: great work
<Shinmera> thanks
masinter has joined #commonlisp
Inline has joined #commonlisp
Inline has quit [Quit: Leaving]
NotThatRPG_ has joined #commonlisp
NotThatRPG has quit [Ping timeout: 248 seconds]
pranavats has joined #commonlisp
Inline has joined #commonlisp
chip__ has joined #commonlisp
chipxxx has quit [Ping timeout: 248 seconds]
karlosz has joined #commonlisp
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
VincentVega has joined #commonlisp
VincentVega has quit [Client Quit]
gxt__ has quit [Ping timeout: 255 seconds]
quoosp has joined #commonlisp
gxt__ has joined #commonlisp
eddof13 has joined #commonlisp
karlosz has quit [Quit: karlosz]
random-nick has joined #commonlisp
kenran has quit [Remote host closed the connection]
chip__ has quit [Remote host closed the connection]
<jackdaniel> asdf does not allow specifying runtime dependencies for compile-op, does it?
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #commonlisp
tyson2 has joined #commonlisp
waleee has joined #commonlisp
Inline has quit [Quit: Leaving]
tane has joined #commonlisp
tane has quit [Changing host]
tane has joined #commonlisp
qhong_ has joined #commonlisp
hineios has quit [Read error: Connection reset by peer]
hineios1 has joined #commonlisp
pieguy128 has quit [Ping timeout: 268 seconds]
KvL has quit [Ping timeout: 268 seconds]
pieguy128 has joined #commonlisp
KvL has joined #commonlisp
Inline has joined #commonlisp
qhong has quit [Ping timeout: 268 seconds]
<kagev> White_Flame: what is Portal?
<kagev> ;; meant to mimic gf in vim
<kagev> (global-set-key (kbd "C-c f") 'ffap)
<kagev> ober: this has some info on cltl2, plus there's a link at the bottom that goes more into the differences with ansi cl: https://www.cliki.net/cltl2
<ixelp> CLiki: CLtL2
<kagev> oops ... sorry about that non-sense from my .emacs ... didn't mean to paste that
jonatack1 has quit [Quit: WeeChat 3.8]
<gjvc> kagev, stealing that :-)
jonatack has joined #commonlisp
<kagev> gjvc: it's very useful :)
tyson2 has quit [Remote host closed the connection]
amoroso has joined #commonlisp
MajorBiscuit has quit [Quit: WeeChat 3.6]
yottabyte has quit [Quit: Connection closed for inactivity]
NotThatRPG_ has quit [Ping timeout: 255 seconds]
<White_Flame> kagev: what josh2 is using: https://github.com/charJe/portal
<ixelp> GitHub - charJe/portal: Portable Websocket Server for Common Lisp
<White_Flame> it's on cliki.net if you need to re-find it and it's hard to google
<kagev> White_Flame: thanks for the link
<kagev> "To stop severing" .. "stop serving" ?
<White_Flame> heh
<kagev> looks like a nice concise API :)
<White_Flame> yeah, I've find most of the lisp webserver stuff to be overly layered, confusing, and underdocumented, so if portal works well that'd be great
<White_Flame> *found
waleee has quit [Ping timeout: 248 seconds]
<White_Flame> (which hopefully might have changed in recent years since I've touched it)
waleee has joined #commonlisp
n0den1te has joined #commonlisp
Everything has quit [Quit: leaving]
quoosp has quit [Ping timeout: 255 seconds]
<kagev> I've been playing around with Hunchentoot, nothing on top ... easy enough to write a simple macro to handle REST style endpoints, or make a page require authentication ...
cage has joined #commonlisp
tyson2 has joined #commonlisp
chip_x has joined #commonlisp
notzmv has quit [Remote host closed the connection]
n0den1te has quit [Quit: leaving]
notzmv has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
amoroso has quit [Quit: Client closed]
amoroso has joined #commonlisp
karlosz has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
tane has quit [Quit: Leaving]
pranavats has left #commonlisp [Error from remote client]
tane has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
jonatack has quit [Ping timeout: 255 seconds]
attila_lendvai has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
jonatack has joined #commonlisp
Lycurgus has joined #commonlisp
attila_lendvai_ has joined #commonlisp
Guest93 has joined #commonlisp
chip__ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
Guest93 has quit [Client Quit]
Lycurgus has quit [Client Quit]
repeter` has joined #commonlisp
chip_x has quit [Ping timeout: 248 seconds]
repeter has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 248 seconds]
<ober> White_Flame: agreed. will check it out
<ober> a Thinatra for CL...
amoroso has quit [Quit: Client closed]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
Inline has quit [Client Quit]
<ober> oh it depends on str.. damn
Inline has joined #commonlisp
<ober> Unknown character name - "Next-Line" . [Condition of type SIMPLE-ERROR]
<ober> ccl,acl,lw all complain on that trying to load str
<Catie> I can load str under CCL
<ober> sure you don't have an old copy sitting around local-projects?
Inline has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
<Catie> CL-USER> (ql:where-is-system :str) => #P"/usr/home/catherine/.quicklisp/dists/quicklisp/software/cl-str-20221106-git/"
Inline has joined #commonlisp
<ixelp> str on ccl · GitHub
<ober> oh you are using older version
<ober> 20230214 here
<Catie> Sure enough! Let me see if I can grab a newer one and try again
<Catie> Okay yeah, same issue. I apologize
<ober> np
<Catie> Ah, looks like it was fixed in master: https://github.com/vindarel/cl-str/blob/master/str.lisp#L144
<ixelp> cl-str/str.lisp at master · vindarel/cl-str · GitHub
<ober> cool beans. will local it
<ober> thanks Catie
<Catie> No worries!
Inline has quit [Client Quit]
semz has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
<ober> all worky now
Inline has joined #commonlisp
semz has joined #commonlisp
semz has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
semz has joined #commonlisp
<dieggsy> if i have (optimize (speed 3)), is there a way to tell sbcl's compiler to not warn me about e.g. "unable to do inline ash" in places where I'm not actually expecting an inline call?
<dieggsy> locally declared in a function that is
<Catie> (declaim (sb-ext:muffle-conditions sb-ext:compiler-note)) will do it. It can be declared locally as well
<dieggsy> ah, thanks. also just found out about the notinline declaration.
euandreh has quit [Remote host closed the connection]
<White_Flame> I made a fast-body & slow-body macro, where the former cranks optimizations in a LOCALLY, and the latter does the muffling inside it
chip_x has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.8]
chip__ has quit [Ping timeout: 276 seconds]
tane has quit [Quit: Leaving]
zxcvz has joined #commonlisp
aartaka has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
zxcvz has quit [Client Quit]
<NotThatRPG> beach scymtym: We were talking about Eclector earlier and needing a parser to sit on top of it in order to do smart editing. It seems that there's a CL parser that's part of the tree-sitter project. I mention it in case it's of interest: https://github.com/theHamsta/tree-sitter-commonlisp
<ixelp> GitHub - theHamsta/tree-sitter-commonlisp
shka has quit [Ping timeout: 248 seconds]
attila_lendvai_ has quit [Ping timeout: 268 seconds]
rgherdt_ has quit [Remote host closed the connection]
cage has quit [Quit: rcirc on GNU Emacs 28.2]
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
<dieggsy> White_Flame: neat idea
<White_Flame> that way it's easier to be more precise about which specific forms are known slow
<White_Flame> as opposed to heavy-handedly muffling
<dieggsy> is it possible to muffle compiler note but not code deletion note, which is a subtype? ...i guess that's getting into silliness, I'd probably only add muffling after i examines the notes anyway, giving me a chance to look everything over. just curious though
notzmv has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
<Bike> dieggsy: you can put any condition type in the declaration
<Bike> (well, symbols at least, dunno about compound specifiers)
pve has quit [Quit: leaving]
<scymtym> NotThatRPG: this tree-sitter grammar seems to handle the character level as well as some of the s-expression level at the same time. i don't know how completely and accurately that can be done in the tree-sitter grammar formalism (which is GLR, i think). in any case, it seems to be intended for parsing lisp code from non-lisp code so it doesn't seem interesting for us
<NotThatRPG> oh, I thought it was aimed at parsing CL code into some abstract syntax tree format (whatever tree-sitter uses). Just thought there might be something there that would save work in the parser construction process.
NotThatRPG has quit [Ping timeout: 276 seconds]
euandreh has joined #commonlisp
kevingal has quit [Ping timeout: 260 seconds]
sukaeto has quit [Quit: WeeChat 3.0]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sukaeto has joined #commonlisp
neon has quit [Remote host closed the connection]
Inline has quit [Ping timeout: 252 seconds]