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/>
mgl_ has quit [Ping timeout: 272 seconds]
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life has joined #commonlisp
<green_> Yes, that's what I'm doing now. What I don't like about this approach is that (and I could be wrong) it will stop working when sbcl is updated. You need to force a rebuild of the core file.
<green_> I'd rather just bind the core to the sbcl executable, and not worry about sbcl updating. Or, maybe try building with ecl. I actually have an ecl build of ocicl working, but ctrl-c doesn't appear to work. And it's slower.
holycow has quit [Quit: Lost terminal]
<gilberth> Huh?
<jfloren_> Anyone here have experience with caveman2 and mito? I'm playing around with a simple thing where hitting index.html should pull a list of radio stations from the database and display them. Thus I have (defroute "/" () (render #P"index.html" (list :stations (radio.model:list-stations)))), where list-stations is a function that returns a list of objects from the db, as defined with mito:deftable
<gilberth> When I got this right you tried to ship a very specific binary of SBCL with a core file attached but that doesn't work because it's a kludge anyway and gets stripped. What stops you from shipping that very specific binary and the core file?
<jfloren_> if I go into my radio.web package at the slime repl and do that render call, all is well
<jfloren_> if I try to hit / from my browser, I get dumped into the debugger with "DB Error: no such table: station"
<jfloren_> (must step away for a second but will check back to see if anyone has any ideas)
<yitzi> green_: Yes that can happen. Maybe homebrew has an option to rebuild your formula on a new version?
<yitzi> green_: Maxima's formula doesn't appear to do anything special
<yitzi> They are using the revision field, which would be a way manually enforcing rebuilds
<green_> I think this is a homebrew-for-linux-specific problem. Maybe Maxima predates this.
<green_> Yes, the revision field is how you manually trigger rebuilds.
<yitzi> Who is actually using homebrew-for-linux?
<green_> I don't know, but it has to work in order for anything to get into homebrew, as far as I know
<green_> the CI system enforces it
<yitzi> Meh. The homebrew people are very odd, in my experience. Homebrew for Linux rather silly.
yitzi has quit [Remote host closed the connection]
lucasta has quit [Quit: Leaving]
bilegeek has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
<green_> One thing I just learned is that you can make fully static binaries with sbcl and your application today. I thought that required out-of-tree patches.
random-nick has quit [Ping timeout: 256 seconds]
ronald has joined #commonlisp
<skin> also with ccl
<skin> a few others
rtypo has quit [Ping timeout: 240 seconds]
ski has quit [Remote host closed the connection]
<fitzsim> green_: interesting! last I tested, I used branches from https://github.com/daewok/sbcl
<ixelp> GitHub - daewok/sbcl: Mirror of Steel Bank Common Lisp (SBCL)'s official repository
<fitzsim> green_: is there documentation for how to do static linking on mainline, on GNU/Linux?
Catie has quit [Quit: ZNC 1.9.0 - https://znc.in]
waleee has quit [Ping timeout: 252 seconds]
istewart has joined #commonlisp
decweb has quit [Ping timeout: 260 seconds]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
josrr has quit [Remote host closed the connection]
Catie has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
ski has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
Catie has quit [Ping timeout: 264 seconds]
Catie has joined #commonlisp
Catie` has joined #commonlisp
Catie has quit [Ping timeout: 268 seconds]
PuercoPop has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
PuercoPop has left #commonlisp [Killed buffer]
v88m has quit [Read error: Connection reset by peer]
PuercoPop has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
eddof13 has joined #commonlisp
ronald has quit [Ping timeout: 260 seconds]
eddof13 has quit [Ping timeout: 240 seconds]
contrapunctus has left #commonlisp [#commonlisp]
wacki has joined #commonlisp
deadmarshal_ has quit [Remote host closed the connection]
PuercoPop has quit [Ping timeout: 260 seconds]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
istewart has quit [Quit: Konversation terminated!]
Catie` has quit [Ping timeout: 255 seconds]
deadmarshal_ has joined #commonlisp
Catie has joined #commonlisp
ronald has joined #commonlisp
amb007 has joined #commonlisp
contrapunctus has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
King_julian has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
chomwitt has joined #commonlisp
bilegeek has quit [Quit: Leaving]
pve has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
amb007 has joined #commonlisp
<jackdaniel> Condition of type: SIMPLE-ERROR
<jackdaniel> Congratulations for trying ASDF on an operating system
<jackdaniel> that is neither Unix, nor Windows, nor Genera, nor even old MacOS.
<jackdaniel> Now you port it.
v88m has joined #commonlisp
holycow has joined #commonlisp
_cymew_ has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
johnjaye has quit [Ping timeout: 256 seconds]
johnjaye has joined #commonlisp
chomwitt has quit [Ping timeout: 260 seconds]
dom2 has quit [Ping timeout: 272 seconds]
dom2 has joined #commonlisp
Pixel_Outlaw has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 240 seconds]
bitspook has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
puchacz has quit [Quit: Client closed]
bitspook has quit [Remote host closed the connection]
bitspook has joined #commonlisp
bitspook has quit [Remote host closed the connection]
bitspook has joined #commonlisp
bitspook has quit [Remote host closed the connection]
bitspook has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
chomwitt has joined #commonlisp
zetef has joined #commonlisp
nybble has quit [Quit: WeeChat 4.2.2]
puchacz has joined #commonlisp
msavoritias has joined #commonlisp
King_julian has quit [Ping timeout: 260 seconds]
mivanchev has joined #commonlisp
<mivanchev> Hey, I need some support from a CL guru. I run StumpWM compiled with sb-ext:save-image-and-die. I runs normally however when I try to load a library from a known ASDF location it says "system not found" until I recompile StumpWM and which point ASDF doesn't complain
<mivanchev> So I reckon ASDF is caching whatever it was seeing before the image is saved and then refuses to check directories again when the image is loaded. Is there a way to correct this behavior?
<mivanchev> or at least, what is it due to?
varjag has joined #commonlisp
pfdietz has quit [Quit: Client closed]
v88m has joined #commonlisp
bitspook has quit [Ping timeout: 250 seconds]
jamesmartinez has quit [Quit: Connection closed for inactivity]
mivanchev has quit [Remote host closed the connection]
mivanchev has joined #commonlisp
mivanchev has quit [Remote host closed the connection]
bitspook has joined #commonlisp
triffid has quit [Read error: Connection reset by peer]
chiselfuse has quit [Remote host closed the connection]
chomwitt has quit [Ping timeout: 260 seconds]
triffid has joined #commonlisp
chiselfuse has joined #commonlisp
attila_lendvai has joined #commonlisp
King_julian has joined #commonlisp
donleo has joined #commonlisp
bitspook has quit [Ping timeout: 250 seconds]
<jackdaniel> miv[tab]: perhaps try (asdf:clear-source-registry)
zetef has quit [Ping timeout: 264 seconds]
puchacz has quit [Quit: Client closed]
puchacz has joined #commonlisp
puchacz has quit [Client Quit]
v88m has quit [Read error: Connection reset by peer]
zetef has joined #commonlisp
v88m has joined #commonlisp
zetef has quit [Ping timeout: 264 seconds]
attila_lendvai has quit [Ping timeout: 255 seconds]
tok has joined #commonlisp
X-Scale has quit [Quit: Client closed]
zetef has joined #commonlisp
<green_> fitzsim: there's no documentation, but this is how I did it. (1) build sbcl from source, (2) ./run-sbcl --no-userinit, load your code, and (sb-ext:save-lisp-and-die "mycore.core"). (3) cd src/runtime && ../../run-sbcl.sh --script ../../tools-for-build/elftool.lisp split ../../mycore.core shrinkwrap-sbcl.s (4) CC="gcc -static" make shrinkwrap-sbcl (5) shrinkwrap-sbcl is a fully static sbcl with your code.
<green_> $ ldd ./shrinkwrap-sbcl || ./shrinkwrap-sbcl --eval "(ocicl:main)" version
<green_> not a dynamic executable
<green_> ocicl version: 2.3.4
<green_> ASDF version: 3.3.1
<green_> Lisp runtime: SBCL 2.4.4.144-1b9a5ed6c-WIP
hix492 has joined #commonlisp
Krystof has joined #commonlisp
hix492 has quit [Ping timeout: 255 seconds]
rtypo has joined #commonlisp
mgl_ has joined #commonlisp
random-nick has joined #commonlisp
holycow has left #commonlisp [#commonlisp]
deadmarshal_ has quit [Remote host closed the connection]
v88m has quit [Ping timeout: 264 seconds]
tok has quit [Remote host closed the connection]
green_ has quit [Ping timeout: 268 seconds]
aciep has joined #commonlisp
zetef has quit [Ping timeout: 268 seconds]
waleee has joined #commonlisp
dino_tutter has joined #commonlisp
pfdietz has joined #commonlisp
green_ has joined #commonlisp
dnhester26 has joined #commonlisp
aciep has quit [Remote host closed the connection]
ocra8 has quit [Ping timeout: 260 seconds]
<green_> fitzsim: seems like it should be easy to have the sbcl srpm produce tooling to build static binaries. Just dump the .o files somewhere under /var/lib64, and package up elftool.lisp and whatever else is needed to front-end the build process.
mgl_ has quit [Ping timeout: 260 seconds]
X-Scale has joined #commonlisp
<jackdaniel> if anyone wants to try a single multiplatform build of ecl (via cosmopolitan libc), here are notes: https://turtleware.eu/static/paste/cosmo-libc.org, https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/329
green_ has quit [Ping timeout: 252 seconds]
decweb has joined #commonlisp
dnhester26 has quit []
mgl_ has joined #commonlisp
edgar-rft_ has joined #commonlisp
dom2 has quit [Ping timeout: 256 seconds]
alcor has joined #commonlisp
edgar-rft has quit [Ping timeout: 272 seconds]
dom2 has joined #commonlisp
varjag has quit [Ping timeout: 256 seconds]
yitzi has joined #commonlisp
green_ has joined #commonlisp
mgl_ has quit [Ping timeout: 268 seconds]
josrr has joined #commonlisp
edgar-rft_ is now known as edgar-rft
waleee has quit [Ping timeout: 240 seconds]
zxcvz has joined #commonlisp
chomwitt has joined #commonlisp
terry has joined #commonlisp
King_julian has quit [Ping timeout: 264 seconds]
terry has quit [Quit: Leaving]
Inline has quit [Ping timeout: 268 seconds]
Josh_2 has joined #commonlisp
<Josh_2> Hey :wave:
<Josh_2> dbotton: is it possible to redirect a user to a new page with clog?
<dbotton> of course
<dbotton> look at clog-location.lisp
<dbotton> there are options to redirect, change your own URLs etc
<Josh_2> Thanks
<dbotton> url-replace and url-assing
<dbotton> in particular depending on how you want to affect browser history
yitzi has quit [Ping timeout: 268 seconds]
yitzi has joined #commonlisp
<Josh_2> I do want the history
<Josh_2> #'url-assign I assume then
<dbotton> will work but if just a redirect with no purpose a backbone "fiasco" happens
<dbotton> so I assume you want equiv of a link and they yes url-assign
<dbotton> or use the function url
<dbotton> ie just setf the url
lucasta has joined #commonlisp
<dbotton> there are two ways to skin the cat in JS so also in clog not sure why but they are there
icebarf has quit [Ping timeout: 255 seconds]
Inline has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
wacki has joined #commonlisp
zetef has joined #commonlisp
yitzi has quit [Read error: Connection reset by peer]
yitzi_ has joined #commonlisp
yitzi_ has quit [Remote host closed the connection]
yitzi has joined #commonlisp
alcor has quit [Remote host closed the connection]
alcor has joined #commonlisp
<skin> jackdaniel: challenge accepted
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
jjnkn has joined #commonlisp
deadmarshal_ has joined #commonlisp
char has joined #commonlisp
<alcor> I'm trying to apply some of https://www.norvig.com/design-patterns/ for extracting cross-cutting concerns in CL. Let's say you want to instrument a function FUNC with some logging logic. How would a CL programmer go about that?
<ixelp> Design Patterns in Dynamic Languages
<alcor> In Java you'd something like AspectJ for that, to add an advice to the function/method.
lucasta has quit [Quit: Leaving]
<ixelp> statistical-learning/source/tree-protocol/methods.lisp at 0ef66e869f3e7a607ad0988b6ef7bcdbf30c87de · sirherrbatka/statis [...]
<bjorkint0sh> one of the people who wrote the MOP book, also wrote a paper on aspects.
<alcor> bjorkint0sh: very cool, thanks.
* alcor starts reading the PDF
<bjorkint0sh> alcor, the examples are in CL and Java.
jon_atack has quit [Ping timeout: 256 seconds]
jjnkn has quit [Remote host closed the connection]
tok has joined #commonlisp
mgl_ has joined #commonlisp
icebarf_ has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
puke has quit [Read error: Connection reset by peer]
puke has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
ronald has quit [Ping timeout: 268 seconds]
ronald has joined #commonlisp
yitzi has quit [Remote host closed the connection]
zetef has quit [Ping timeout: 268 seconds]
zetef has joined #commonlisp
wacki has quit [Read error: Connection reset by peer]
wacki has joined #commonlisp
jonatack has joined #commonlisp
zetef has quit [Remote host closed the connection]
mgl_ has quit [Ping timeout: 264 seconds]
msavoritias has quit [Ping timeout: 256 seconds]
puke has quit [Remote host closed the connection]
puke has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
samebchase has joined #commonlisp
prokhor_ has quit [Ping timeout: 268 seconds]
prokhor has joined #commonlisp
varjag has joined #commonlisp
dmgk has joined #commonlisp
puke has quit [Remote host closed the connection]
dom2 has quit [Ping timeout: 264 seconds]
puke has joined #commonlisp
attila_lendvai has joined #commonlisp
cdegroot has quit [Ping timeout: 240 seconds]
char has quit [Ping timeout: 268 seconds]
dom2 has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
Inline has quit [Ping timeout: 264 seconds]
Inline has joined #commonlisp
_cymew_ has quit [Ping timeout: 260 seconds]
akoana has joined #commonlisp
pve has quit [Quit: leaving]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
chomwitt has quit [Ping timeout: 272 seconds]
shka has quit [Quit: Konversation terminated!]
King_julian has joined #commonlisp
waleee has joined #commonlisp
Guest6 has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
pfdietz has quit [Quit: Client closed]
amb007 has quit [Ping timeout: 256 seconds]
King_julian has quit [Ping timeout: 268 seconds]
Guest6 has quit [Ping timeout: 250 seconds]
Guest6 has joined #commonlisp
amb007 has joined #commonlisp
jmdaemon has joined #commonlisp
notzmv has quit [Ping timeout: 268 seconds]
alcor has quit [Remote host closed the connection]
kaskal has joined #commonlisp
kaskal- has quit [Ping timeout: 260 seconds]
jonatack has quit [Ping timeout: 260 seconds]
yitzi has joined #commonlisp
Guest6 has quit [Ping timeout: 250 seconds]
Guest57 has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mgl_ has joined #commonlisp
dino_tutter has quit [Ping timeout: 268 seconds]
jungy has joined #commonlisp
akoana has quit [Quit: leaving]
mgl_ has quit [Ping timeout: 264 seconds]
tok has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 264 seconds]
jmdaemon has joined #commonlisp
istewart has joined #commonlisp
donleo has quit [Ping timeout: 252 seconds]
jmdaemon has quit [Ping timeout: 268 seconds]
jmdaemon has joined #commonlisp
<fitzsim> jackdaniel: that's cool; I wish cosmopolitan supported ppc64le though
pfdietz has joined #commonlisp
Guest57 has quit [Quit: Client closed]
triffid has quit [Remote host closed the connection]
_triffid has joined #commonlisp
varjag has quit [Ping timeout: 264 seconds]