<ixelp>
GitHub - daninus14/compression-cache: Simple protocol for caching compressed files
<dnhester26>
*and finds this
szkl has joined #commonlisp
dawids has joined #commonlisp
dawids has quit [Remote host closed the connection]
rogersm has joined #commonlisp
ingeniot has quit [Ping timeout: 256 seconds]
cmack has joined #commonlisp
attila_lendvai has quit [Ping timeout: 265 seconds]
treflip has joined #commonlisp
taku has joined #commonlisp
taku has quit [Changing host]
taku has joined #commonlisp
King_julian has joined #commonlisp
chomwitt has quit [Ping timeout: 252 seconds]
cmack has quit [Remote host closed the connection]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
Akbar-Birbal has left #commonlisp [#commonlisp]
King_julian has quit [Ping timeout: 244 seconds]
random-nick has joined #commonlisp
treflip` has joined #commonlisp
dnhester26 has joined #commonlisp
treflip has quit [Ping timeout: 264 seconds]
treflip` has quit [Client Quit]
Akbar-Birbal has joined #commonlisp
mm007emko has quit [Ping timeout: 244 seconds]
taku has quit [Ping timeout: 260 seconds]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
King_julian has joined #commonlisp
yitzi has joined #commonlisp
taku has joined #commonlisp
edgar-rft_ has joined #commonlisp
yitzi has quit [Ping timeout: 248 seconds]
yitzi has joined #commonlisp
jadzi has quit [Ping timeout: 252 seconds]
edgar-rft has quit [Ping timeout: 272 seconds]
donleo has quit [Ping timeout: 248 seconds]
mm007emko has joined #commonlisp
synchromesh has quit [Read error: Connection reset by peer]
edgar-rft_ is now known as edgar-rft
synchromesh has joined #commonlisp
foreignmonk has joined #commonlisp
foreignmonk has quit [Changing host]
foreignmonk has joined #commonlisp
JuanDaugherty has joined #commonlisp
meaty has quit [Ping timeout: 260 seconds]
dnhester26 has joined #commonlisp
decweb has joined #commonlisp
varjag has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
johnjaye has quit [Ping timeout: 265 seconds]
rtypo has joined #commonlisp
chomwitt has joined #commonlisp
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
random-nick has quit [Remote host closed the connection]
King_julian has quit [Ping timeout: 244 seconds]
random-nick has joined #commonlisp
lucasta has joined #commonlisp
<Bubblegumdrop>
thanks dnhester26 !
<Bubblegumdrop>
dnhester26 I'm curious about your cache, it's a compressed cache? I think we talked about caveman before right? https://github.com/fukamachi/caveman/blob/master/v2/skeleton/app.lisp#L19 I use the static resource thingy and I use it behind a reverse proxy that can cache the results
<ixelp>
caveman/v2/skeleton/app.lisp at master · fukamachi/caveman · GitHub
<dnhester26>
Bubblegumdrop: :D hope it's useful. I was surprised this wasn't ever implemented in Hunchentoot or any CL server since it's such a standard utility.
<dnhester26>
Yeah what most people do is just use nginex to do that
<Bubblegumdrop>
I think typically caching is left up to the httpd or higher abstraction ..
<dnhester26>
But there's basically no need anymore, we have SSL and compression and caching already, no need to configure yet another server and system
<Bubblegumdrop>
I guess if you're looking to go that route, nice work
<Bubblegumdrop>
I'm more than happy to add another service to my production docker image :P
<dnhester26>
The web server is supposed to do it, be it Hunchentoot, woo, etc
<dnhester26>
There's no need for a reverse proxy and load balancer if we only have one server...
<Bubblegumdrop>
I run more than one instance of caveman in a single lisp image and abstract all of the logic in nginx.conf /routes/
<ixelp>
GitHub - eudoxia0/clack-errors: Error page middleware for Clack.
<Bubblegumdrop>
They have some other nice libraries too, this one was very clumsy to set up and I wanted to re-write it as a lack middleware https://github.com/eudoxia0/hermetic
<ixelp>
GitHub - eudoxia0/hermetic: Security for Clack-based Common Lisp web applications.
<Bubblegumdrop>
despite it being clumsy to set up it simplified a lot of "who has access to what" type logic
johnjaye has joined #commonlisp
cdegroot has joined #commonlisp
<Bubblegumdrop>
dnhester26 nice work... based org mode user
<Bubblegumdrop>
Shinmera can't wait to play! <3
johnjaye has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 260 seconds]
<Shinmera>
micro-collisions is already what we do, it dodn't solve the problem.
<Shinmera>
anyway
amb007 has joined #commonlisp
<Shinmera>
Bubblegumdrop: you'll have to wait five years or so, or forever if I run outta money
<Bubblegumdrop>
worth
johnjaye has joined #commonlisp
Lord_of_Life has quit [Excess Flood]
<Bubblegumdrop>
I made a lil progress on my game thingy, it's 2d using SDL, I'm still trying to figure out trial alloy etc ^^
scymtym has quit [Ping timeout: 260 seconds]
<dnhester26>
Bubblegumdrop: thanks. I used mito-auth and jose for making jwt and I'm handling everything with jwt instead of sessions. You can use mito-auth with hermetic and it'll be really easy from what it looks like
Lord_of_Life has joined #commonlisp
<dnhester26>
I think I saw someone, maybe eudoxia0 himself, who made another web framewrok based on clack/ningle and it has an example of using clack-errors
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
taku has quit [Remote host closed the connection]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
<dnhester26>
Bubblegumdrop: thanks for the links, I'll take a look in a bit, I'm making some modifications to make the projects work better with my caveman2 setup and will push
foreignmonk has quit [Read error: Connection reset by peer]
chomwitt has quit [Ping timeout: 248 seconds]
<dnhester26>
does anyone know why if i do log:info in the source code of a library I'm loading it doesn't show up in my repl in slime?
jadzi has joined #commonlisp
donleo has joined #commonlisp
<Bubblegumdrop>
paste code? are you outputting to *standard-output* ? try *debug-io* ?
<Bubblegumdrop>
if you're using (log:info) and you have info level log messages hidden they wont' show up?
scymtym has joined #commonlisp
<mrcom>
dnhester26: Lisp library or FFI? Log message at compile, load, or run-time?
josrr has joined #commonlisp
<dnhester26>
Bubblegumdrop: thanks, I can do log:info from my project's code and it shows up, just when I do it in another file it doesn't seem to work. That file being one downloaded via quicklisp/qlot
<dnhester26>
no problem though, solved the bug in the code anyways :)
<dnhester26>
mrcom: runtime
<mrcom>
Same thread as REPL or an event loop?
<mrcom>
You might try (break) instead of log, just to verify code is getting executed.
<dnhester26>
mrcom: thanks, yeah, that's what I did and figured out the bug that way, so I solved the issue I needed the log for, though still curious why it didn't work to begin with. I thought maybe sly or log configurations make it so that it's not printed to the REPL stream if it's from a quicklisp dependency project and not my main project? is that possible?
<mrcom>
I wouldn't think it would make a difference.
<Bubblegumdrop>
depending on the way your repl and swank/slynk are set up there may be threads involved
<Bubblegumdrop>
starting a repl first e.g. with M-x slime will start a swank server, then you launch your app from that thread, should print messages to the repl
<Bubblegumdrop>
if your app creates its own swank server you may not see log messages without connecting to it, I think with M-x slime-connect
<mrcom>
Oh! You sure your modified version is what was loaded?
<dnhester26>
hm, thanks, I'll try to investigate further next time it comes up and I need it
<mrcom>
Modified ver. of library, that is.
<dnhester26>
mrcom: yeah, because the break worked
<dnhester26>
the break was in the same file
<dnhester26>
I did both C-c C-c and C-c C-l for the function and file
<dnhester26>
I did the break just below the (log:info)
thollief has joined #commonlisp
<dnhester26>
Ut's not pressing though since I was able to solve whatever issue I was having, thanks for the help! :D
<mrcom>
Hm. My money would be on logging config then. If you're still curious you could try putting a plain (format t ...) there. They would tell you whether it was a stream or logging issue.
<mrcom>
So many rabbit holes, so little time.
<dnhester26>
mrcom: yeah, hahah I actually started with the logs because the format didn't work hahahaha
<dnhester26>
but no worries, not worth the time investment right now
flounders has quit [Ping timeout: 246 seconds]
flounders has joined #commonlisp
triffid has quit [Quit: triffid]
triffid has joined #commonlisp
alcor has joined #commonlisp
jadzi has quit [Ping timeout: 248 seconds]
<NotThatRPG>
@jackdaniel: I have your MR tagged for auto-merge, and since it passed the tests once already, it should be merged RSN.
chomwitt has joined #commonlisp
<jackdaniel>
great!
szkl has quit [Quit: Connection closed for inactivity]
foreignmonk has joined #commonlisp
<yitzi>
NotThatRPG: Can you look at MR 218? We have been having to use a clone of ASDF for Clasp since that was opened.
<NotThatRPG>
@yitzi: Related to that, what version of clasp should we be using for testing?
skeemer has joined #commonlisp
<yitzi>
Where are you getting Clasp from?
<NotThatRPG>
Totally antique common-lisp.net docker image repository for tag "b14e329f49998275579926da2a737885ceb2cea7"
<NotThatRPG>
I have had to start making my own docker images, which I don't love, because cl.net docker images are bitrotted.
<NotThatRPG>
I have pretty much figured out how to check these out, build them manually and dump them on docker hub, but it's a nasty process.
<NotThatRPG>
And for some reason, images built with debian bookworm don't work when used in cl.net GitLab actions.
<NotThatRPG>
Have not figured out how to get images pushed to the cl.net docker image repo
<NotThatRPG>
Also: is there some tweak to the tests that is needed to test with bytecodes in addition to normal clasp operation?
yitzi has quit [Ping timeout: 252 seconds]
szkl has joined #commonlisp
yitzi has joined #commonlisp
<yitzi>
NotThatRPG: We have nightly binary packages for Ubuntu, Arch, Debian and Mac homebrew. We have a docker image also, but that might need to be updated. I also maintain https://github.com/yitzchak/archlinux-cl which is a docker image ABCL, ACL Express, CCL, CLASP, CLISP, CMUCL, ECL, MKCL and SBCL.
<ixelp>
GitHub - yitzchak/archlinux-cl: Docker Arch Linux image with Common Lisp implementations
<yitzi>
I updated the test commands in that PR as I recall
<yitzi>
Our default compilation is with bytecode on.
<NotThatRPG>
yitzi: I looked and it seems like there's only one clasp command for testing.
<NotThatRPG>
Should there now be 2?
<yitzi>
No. You can't switch bytecode like that. It is compiled into the kernel.
Cymew has quit [Quit: Konversation terminated!]
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
foreignmonk has joined #commonlisp
foreignmonk has quit [Changing host]
dnhester26 has quit []
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
<NotThatRPG>
yitzi: but... does that mean there's a bytecode clasp and a standard clasp? I'm just trying to figure out if we need 2 tests, or only 1.
<yitzi>
The standard clasp is bytecode. You can compile Clasp without bytecode, but thats not the default nor are we distributing a non-bytecode version.
<NotThatRPG>
yitzi: OK, got it.
<yitzi>
If you want two tests you'll need separately compiled Clasp implementations. We aren't currently distributing the non-bytecode in any packaged form.
<NotThatRPG>
Looks like your dockerfile just builds whatever clasp is included in arch linux, right?
<NotThatRPG>
Looks like I should just tweak the cl docker images to make a docker image based on the current release (2.6.0) and use that in the tests.
<NotThatRPG>
Does cl.net gitlab let me push changes to your branch?
<NotThatRPG>
I know that's possible (if enabled) on github, but not so sure about cl.net
<yitzi>
In other words a rolling release.
<yitzi>
I'll check for a box in the MR.
<NotThatRPG>
Probably ASDF should test against released clasp; not nightly.
<NotThatRPG>
If you can make that branch writable for me, then I can update the tests there. If you can't, then I should add you as a developer on ASDF and have you make a new MR by pushing to the asdf repo instead of your fork.
<NotThatRPG>
LMK: I have to run now, but I will be back on later.
NotThatRPG is now known as NotThatRPG_away
<yitzi>
There is a PKGBUILD for that one also. I can switch arch-cl to that if you want to use it.
<NotThatRPG_away>
Probably I should keep using the cl-foundation images, which don't bundle quicklisp (there's an option to turn it on, but you can run w/o).
<yitzi>
Yeah, good luck with that. They seem very convoluted.
skeemer has quit [Ping timeout: 245 seconds]
NotThatRPG_away has quit [Ping timeout: 260 seconds]
lucasta has quit [Quit: Leaving]
alcor has quit [Ping timeout: 252 seconds]
mgl has quit [Ping timeout: 252 seconds]
varjag has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
Akbar-Birbal has left #commonlisp [#commonlisp]
wbooze has joined #commonlisp
Inline has joined #commonlisp
chomwitt has quit [Ping timeout: 248 seconds]
treflip has joined #commonlisp
kevingal has joined #commonlisp
wbooze has quit [Ping timeout: 276 seconds]
NotThatRPG has joined #commonlisp
chomwitt has joined #commonlisp
spdegabrielle has joined #commonlisp
foreignmonk has quit [Read error: Connection reset by peer]
char has joined #commonlisp
dnhester26 has joined #commonlisp
ym has quit [Ping timeout: 255 seconds]
dra has joined #commonlisp
dnhester26 has quit [Ping timeout: 248 seconds]
mulk has quit [Ping timeout: 246 seconds]
<NotThatRPG>
yitzi: If you are still there -- what version of llvm should one use to build clasp? The cl-foundation Dockerfile tries to build with llvm-13 on Debian bookworm and I don't know if I should change that.
<yitzi>
we support llvm 15 through 18
<NotThatRPG>
Oh. Glad I asked: I just looked at the manual online and it says 14...
foreignmonk has quit [Read error: Connection reset by peer]
dnhester26 has joined #commonlisp
paddymahoney has quit [Ping timeout: 246 seconds]
skeemer has joined #commonlisp
JuanDaugherty has joined #commonlisp
rogersm has quit [Ping timeout: 276 seconds]
paddymahoney has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
Inline has quit [Quit: Leaving]
treflip has quit [Ping timeout: 260 seconds]
JuanDaugherty has quit [Quit: JuanDaugherty]
Lycurgus has quit [Quit: leaving]
chomwitt has joined #commonlisp
thollief has quit [Quit: Leaving]
yitzi has quit [Remote host closed the connection]
josrr has quit [Remote host closed the connection]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
spdegabrielle has quit [Quit: Connection closed for inactivity]
alcor has quit [Ping timeout: 260 seconds]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
foreignmonk has joined #commonlisp
troojg has joined #commonlisp
skeemer has quit [Ping timeout: 276 seconds]
spdegabrielle has joined #commonlisp
pve has quit [Quit: leaving]
alternateved has quit [Remote host closed the connection]
char has joined #commonlisp
phantomics has quit [Read error: Connection reset by peer]
phantomics has joined #commonlisp
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
amb007 has joined #commonlisp
dra has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 265 seconds]
yitzi has joined #commonlisp
msv has quit [Ping timeout: 260 seconds]
foreignmonk has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
msv has joined #commonlisp
pyook is now known as puke
<NotThatRPG>
yitzi: ping?
donleo has quit [Ping timeout: 246 seconds]
<yitzi>
yes?
<NotThatRPG>
I'm momentarily stuck on merging that because ... I can't get the GitLab actions to run on the clasp images and I'm having no joy getting any support from cl.net
dnhester26 has quit []
<yitzi>
Ok. Is there something I can help with?
awlygj has quit [Quit: leaving]
<NotThatRPG>
Not sure. Unless you have any connection with cl.net?
<yitzi>
No. I submitted updates to the Clasp images over a year ago and there has been no response.
<yitzi>
Which why I implied that I have given up on that. Sorry if that wasn't clear.
troojg has quit [Ping timeout: 260 seconds]
<yitzi>
That was kind of the impetus for making my own docker with a whole bunch of CL implementations in the same image.
<yitzi>
NotThatRPG: Just because quicklisp is installed in the docker image doesn't mean the implementation has to load it. Just a thought.
<NotThatRPG>
Ah, I see now.
<yitzi>
Oh?
msv has quit [Ping timeout: 265 seconds]
phantomics_ has joined #commonlisp
phantomics has quit [Read error: Connection reset by peer]
<NotThatRPG>
I didn't understand the motivation. I'm not sure if the problem's the docker images or GitLab at cl.net. Nothing I try to run in the actions that's built on bookworm actually works.
<NotThatRPG>
OK, I'll look into this more tomorrow. Cheers