<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
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]
<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]
<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…]