mason has quit [Remote host closed the connection]
mason has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
pranav has quit [Remote host closed the connection]
pranav has joined #commonlisp
rtypo has quit [Ping timeout: 268 seconds]
slyrus has joined #commonlisp
msavoritias has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
ym has joined #commonlisp
wacki has joined #commonlisp
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
synchrom1 has joined #commonlisp
slyrus has joined #commonlisp
synchromesh has quit [Ping timeout: 264 seconds]
slyrus has quit [Ping timeout: 264 seconds]
genera_ has joined #commonlisp
br__ has quit [Quit: Konversation terminated!]
genera has quit [Ping timeout: 256 seconds]
slyrus has joined #commonlisp
thonkpod_ has quit [Ping timeout: 256 seconds]
msavoritias has quit [Remote host closed the connection]
thonkpod_ has joined #commonlisp
shka has joined #commonlisp
sailorCat has quit [Ping timeout: 264 seconds]
FragmentedCurve has quit [Remote host closed the connection]
slyrus has quit [Ping timeout: 264 seconds]
doyougnu has quit [Ping timeout: 268 seconds]
sailorCa- has joined #commonlisp
doyougnu has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
chomwitt has joined #commonlisp
metsomedog has joined #commonlisp
slyrus has joined #commonlisp
chomwitt has quit [Ping timeout: 264 seconds]
slyrus has quit [Ping timeout: 252 seconds]
danza has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 256 seconds]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 272 seconds]
k_hachig has quit [Quit: WeeChat 4.3.2]
Th30n has joined #commonlisp
danza has quit [Ping timeout: 240 seconds]
slyrus has joined #commonlisp
scymtym has quit [Quit: Application exit]
slyrus has quit [Ping timeout: 264 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
slyrus has joined #commonlisp
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
donleo has joined #commonlisp
slyrus has quit [Ping timeout: 268 seconds]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 264 seconds]
danse-nr3 has quit [Ping timeout: 240 seconds]
anticomputer_ has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
King_julian has joined #commonlisp
pve has joined #commonlisp
danse-nr3 has joined #commonlisp
mgl_ has joined #commonlisp
slyrus has joined #commonlisp
awlygj has joined #commonlisp
scymtym has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 246 seconds]
nybble has quit [Ping timeout: 264 seconds]
slyrus has quit [Ping timeout: 264 seconds]
slyrus has joined #commonlisp
chomwitt has joined #commonlisp
King_jul1an has joined #commonlisp
King_jul1an has quit [Read error: Connection reset by peer]
King_julian has quit [Ping timeout: 264 seconds]
dino_tutter has joined #commonlisp
danse-nr3 has quit [Ping timeout: 256 seconds]
slyrus has quit [Ping timeout: 264 seconds]
King_julian has joined #commonlisp
synchrom1 has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
Demosthe1ex has joined #commonlisp
danse-nr3 has joined #commonlisp
Demosthenex has quit [Ping timeout: 255 seconds]
Demosthenex has joined #commonlisp
slyrus has joined #commonlisp
Demosthe1ex has quit [Ping timeout: 240 seconds]
chomwitt has quit [Ping timeout: 255 seconds]
varjag has joined #commonlisp
slyrus has quit [Ping timeout: 252 seconds]
_cymew_ has joined #commonlisp
X-Scale has quit [Quit: Client closed]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
tok has joined #commonlisp
slyrus has joined #commonlisp
Cymew has joined #commonlisp
danse-nr3 has quit [Read error: Connection reset by peer]
danse-nr3 has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
mala has quit [Read error: Connection reset by peer]
scymtym has quit [Read error: Connection reset by peer]
scymtym has joined #commonlisp
slyrus has joined #commonlisp
mala has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
random-nick has joined #commonlisp
Lycurgus has joined #commonlisp
slyrus has joined #commonlisp
decweb has joined #commonlisp
slyrus has quit [Ping timeout: 252 seconds]
waleee has joined #commonlisp
wacki has quit [Ping timeout: 264 seconds]
wacki has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 246 seconds]
King_julian has quit [Ping timeout: 246 seconds]
random-nick has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 255 seconds]
King_julian has joined #commonlisp
slyrus has joined #commonlisp
easye has quit [Ping timeout: 256 seconds]
random-nick has joined #commonlisp
danse-nr3 has quit [Quit: Leaving]
easye has joined #commonlisp
slyrus has quit [Ping timeout: 256 seconds]
rtypo has joined #commonlisp
tok has quit [Ping timeout: 256 seconds]
tok has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 272 seconds]
Cymew has quit [Ping timeout: 268 seconds]
slyrus has joined #commonlisp
Lycurgus has quit [Quit: leaving]
slyrus has quit [Ping timeout: 252 seconds]
King_julian has quit [Ping timeout: 256 seconds]
King_julian has joined #commonlisp
slyrus has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
slyrus has quit [Ping timeout: 264 seconds]
mrcom has quit [Quit: Leaving]
yitzi has joined #commonlisp
slyrus has joined #commonlisp
jon_atack has quit [Ping timeout: 268 seconds]
Demosthe1ex has joined #commonlisp
Cymew has joined #commonlisp
attila_lendvai has quit [Ping timeout: 264 seconds]
synchromesh has quit [Read error: Connection reset by peer]
Demosthenex has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
synchromesh has joined #commonlisp
Demosthenex has joined #commonlisp
Demosthe1ex has quit [Ping timeout: 256 seconds]
slyrus has quit [Ping timeout: 246 seconds]
Demosthe1ex has joined #commonlisp
Demosthenex has quit [Ping timeout: 264 seconds]
mrcom has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
jonatack has joined #commonlisp
X-Scale has joined #commonlisp
jon_atack has joined #commonlisp
josrr has joined #commonlisp
slyrus has joined #commonlisp
jonatack has quit [Ping timeout: 256 seconds]
pranav has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 264 seconds]
slyrus has quit [Ping timeout: 260 seconds]
<yottabyte>
hello, still trying to figure out how to load the system I've defined with asdf:defsystem. I have 2 lisp files along with my asd file. I have the asd file opened in emacs and I started slime. what do I do now to load the system so I can start executing the functions and what not that I've defined?
<paulapatience>
Or you might be able to press comma (,) in slime and select 'load system'
<paulapatience>
Is your system in a place ASDF can find it?
<yottabyte>
I think so because after doing asdf:load-system, it gave me a compilation error saying one of my packages (in the file) does not exist... but it does
<beach>
yottabyte: Is your code small enough to paste?
<paulapatience>
Can you paste your .asd file?
<paulapatience>
(on plaster.tymoon.eu, for example)
<yottabyte>
I restarted my emacs, opened the asd file, did (asdf:load-system "test-system") in my slime repl and it says "Evaluation aborted on Component "test-system" not found."
<yottabyte>
(I started slime after I opened the asd file)
<paulapatience>
So it's not finding your asd file
<paulapatience>
Where is your asd file located?
<yottabyte>
just in the root directory, along side my 2 lisp files
<paulapatience>
Where is your root directory?
<paulapatience>
ASDF can find stuff in $HOME/.local/share/common-lisp/source/
<paulapatience>
And some other places
<_death>
if you're using quicklisp, you can create a symbolic link to your asd file in ~/quicklisp/local-projects
<yottabyte>
I'm on windows so it's just in a folder in my documents
<paulapatience>
Ah, I'm not sure where it looks for them on Windows
<_death>
so you can have your projects in the quicklisp local-projects directory and asdf will find them
<yottabyte>
_death: that's what you were saying yesterday, then I can just (ql:quickload "test-system")?
<paulapatience>
If it is in local-projects, you can also do asdf:load-system
<yottabyte>
I see, let me try to create this symbolic link in windows
<yottabyte>
is that general practice? people clone a repo, create a symbolic link in local-projects, and then quickload it, start hacking?
<yottabyte>
or do they just work out of the local-projects directory, as in they clone the repo there to begin with, to keep things simple?
<_death>
yottabyte: if it is your own project or a project you cloned yourself, yes, it could be in local-projects.. the projects that quicklisp downloads it puts in another directory
<beach>
yottabyte: Notice that you said "it gave me a compilation error saying one of my packages (in the file) does not exist... but it does", but this error has nothing to do with packages.
slyrus has joined #commonlisp
yitzi has quit [Remote host closed the connection]
iisi has quit [Ping timeout: 252 seconds]
slyrus has quit [Ping timeout: 240 seconds]
phadthai has quit [Ping timeout: 268 seconds]
iisi has joined #commonlisp
<yottabyte>
yeah idk what happened there, that's why I restarted emacs
<yottabyte>
I did C-c C-k my asd file
<yottabyte>
I guess I shouldn't have
_cymew_ has quit [Ping timeout: 264 seconds]
<beach>
You could do that. But I don't quite know why you are so obsessed with C-c C-k.
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 268 seconds]
<beach>
yottabyte: in your ASDF file, you neither specify :SERIAL T, nor give explicit dependencies. Then you can not be sure in which order the two files are compiled and loaded.
<beach>
yottabyte: Does your server.lisp file contain code that refers to the USER-DAO package?
<yottabyte>
it does
<beach>
Then you should probably specify :SERIAL T before :COMPONENTS.
<beach>
yottabyte: You should follow the first advice to use ASDF:LOAD-SYSTEM.
Th30n has quit [Ping timeout: 252 seconds]
slyrus has joined #commonlisp
King_julian has quit [Ping timeout: 272 seconds]
phadthai has joined #commonlisp
Demosthe1ex is now known as Demosthenex
<_death>
that's bad advice
<_death>
(the C-c C-k one)
<beach>
Yeah.
<_death>
since you're using quicklisp, if you put your project in local-projects while lisp is running and quicklisp or asdf doesn't seem to find the system, you can just evaluate (ql:register-local-projects) in the repl
<yottabyte>
turns out you can't create symlinks in windows 11 anymore, so I had to copy the entire folder to test it out... appears to work... there's no way I can just load a system in an arbitrary directory?
<beach>
yottabyte: I find C-c C-k is rarely needed. The file gets compiled an loaded as a result of ASDF:LOAD-SYSTEM, and after that, it is usually more common to compile individual definitions in a file, using C-c C-c.
* beach
is surprised that there are still people using Windows.
<_death>
yottabyte: there are various ways, and you can read about them in the asdf manual.. but for now my advice is to work in local-projects
<ixelp>
Controlling where ASDF searches for systems (ASDF Manual)
<yottabyte>
I'm actually working in a monorepo, the lisp files are just in a subfolder, so working out of local projects is going to be a little difficult. I'd probably have to break the monorepo, or put the asd file in the root level and specify the path for the files
<yottabyte>
I guess that could work
slyrus has quit [Ping timeout: 256 seconds]
<_death>
if the monorepo is in local-projects, it doesn't matter that the asd file is not in its root directory
<craigbro>
yottabyte: you can set an envar to tell asdf where to look
<yottabyte>
_death: it'll traverse the repo to find an asd file?
<craigbro>
will need to put // at the end of the path if you want it to search subdirs for asd files
<yottabyte>
so quicklisp must adjust the search registry so that asdf can find things in the local-projects folder, right?
<_death>
note that you can also add a directory to ql:*local-project-directories* .. you can do that in your .sbclrc file.. that may be easier than fumbling with asdf
slyrus has joined #commonlisp
<craigbro>
one would presume that keeping that out of the user env, and in the source code is preferable no? Having anything in my user config that is needed to build a system is bad IMO
<_death>
it's not needed to build a system, just to find it on your own machine
<zyd>
for asdf i just create a file ~/.config/common-lisp/source-registry.conf.d/some-filename.conf with the contents: (:tree (:home "src/workshop/"))
<zyd>
Then asdf is aware of lisp systems in there
<zyd>
not sure where you'd put that file in windows though
<craigbro>
I was referring to the project he is working on, finding the specific vendored systems he mentioned making in a subdir (monorepo)
decweb has quit [Ping timeout: 240 seconds]
<_death>
I too was referring to that project..
slyrus has quit [Ping timeout: 260 seconds]
<_death>
anyway, alternatives were proposed and I would rather not discuss this issue any longer
<craigbro>
we're on the same page there
slyrus has joined #commonlisp
Lycurgus has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
triffid has quit [Remote host closed the connection]
slyrus has joined #commonlisp
triffid has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
chomwitt has joined #commonlisp
slyrus has quit [Ping timeout: 256 seconds]
occ has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
occ has quit [Read error: Connection reset by peer]
chomwitt has quit [Ping timeout: 268 seconds]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 256 seconds]
occ has joined #commonlisp
tok has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
occ has quit [Ping timeout: 255 seconds]
mgl_ has quit [Ping timeout: 264 seconds]
occ has joined #commonlisp
edgar-rft_ has joined #commonlisp
nybble has joined #commonlisp
edgar-rft has quit [Ping timeout: 256 seconds]
decweb has joined #commonlisp
yitzi has joined #commonlisp
slyrus has joined #commonlisp
awlygj has quit [Quit: leaving]
slyrus has quit [Ping timeout: 264 seconds]
pranav has joined #commonlisp
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
mgl_ has joined #commonlisp
slyrus has joined #commonlisp
ocra8 has quit [Ping timeout: 240 seconds]
ocra8 has joined #commonlisp
slyrus has quit [Ping timeout: 255 seconds]
synchromesh has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 256 seconds]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
slyrus has joined #commonlisp
random-nick has joined #commonlisp
slyrus has quit [Ping timeout: 272 seconds]
occ has quit [Ping timeout: 264 seconds]
inline_ has quit [Quit: Konversation terminated!]
Inline has joined #commonlisp
inline_ has joined #commonlisp
Inline is now known as Guest7122
Guest7122 has quit [Killed (erbium.libera.chat (Nickname regained by services))]
yitzi has quit [Remote host closed the connection]
tok has joined #commonlisp
ocra8_ has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
<yottabyte>
beach: I think you told me not to #' with lambda, I've seen so many people do it, like fukamachi: http://8arrow.org/ningle/. is he a notty boy?
<ixelp>
ningle by fukamachi
Lycurgus has quit [Quit: leaving]
<yottabyte>
as an aside, I am trying ningle now because I was finding hunchentoot too hard to configure. times are hard over here
edgar-rft_ is now known as edgar-rft
ocra8 has quit [Ping timeout: 252 seconds]
<beach>
yottabyte: Not everybody hangs out here and listens to what i say.
<bjorkintosh>
haha
<yottabyte>
for shame!
<beach>
yottabyte: Also, that page contains a lot of no-nos, like parentheses on a line by themselves.
<beach>
I guess because of comments, but still.
<yottabyte>
oh yeah, he's just out here wilin
<beach>
Top-level comments with only two semicolons. That person obviously hasn't read the page in the standard about semicolons.
<beach>
Oh, it's Fukamachi?
slyrus has joined #commonlisp
<zyd>
beach: yes, 8arrow is how you Eitaro (sorta)
<zyd>
how you pronounce*
<yottabyte>
oh, never knew the meaning behind the domain name. neat
<_death>
the standard talks about triple semicolons, but I doubt it's a common convention.. I use 4 semicolons for "section" titles, but otherwise two semicolons for everything else (single semicolon is very rare).. the fact that M-; on an empty line gives you two is sufficient to discourage from triple semicolons
slyrus has quit [Ping timeout: 256 seconds]
<edgar-rft>
Emacs clearly needs to be improved by adding telephatic capabilities :-)
josrr has quit [Remote host closed the connection]
<yottabyte>
does anyone know how to specify content-type in ningle?
<Guest3573>
Now everyone knows my password I guess, sorry for typing it
scymtym has joined #commonlisp
<thuna`>
Is there a subst-if where the new element is the result of calling a function on the thing to replace?
slyrus has joined #commonlisp
<_death>
not in the standard
<thuna`>
Figures. Shame
Guest3573 has quit [Ping timeout: 264 seconds]
Pixel_Outlaw has joined #commonlisp
<_death>
triple semicolons btw is a common convention, it turns out.. of third party lisp code I have here, 60% toplevel comments use triple semicolons, while 40% use double (counting only double and triple)
chomwitt has joined #commonlisp
genera_ is now known as genera
slyrus has quit [Ping timeout: 255 seconds]
<metsomedog>
_death: where can I read about this convention?
<metsomedog>
thanks for the links, my only previous experience with >2 semicolons is emacs yelling at me for not having them at the top of init.el
<_death>
"Three semicolons are used for top-level sections, four for sub-sections, five for sub-sub-sections and so on." that's pretty strange though, unless you take it to be something like org-mode's * or markdown's #.. but starting with 3 going up looks weird
slyrus has joined #commonlisp
<metsomedog>
is it perhaps used by some documentation/manual generation software?
<_death>
sure.. emacs mentions outline mode
slyrus has quit [Ping timeout: 264 seconds]
<_death>
some people even insert #\Formfeed (C-q C-l) before sections if they like to print code
<paulapatience>
Yeah, Emacs's semicolon count is the opposite of CL
<paulapatience>
s/count/count convention/
jonatack has joined #commonlisp
slyrus has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
slyrus has quit [Ping timeout: 264 seconds]
mgl_ has quit [Ping timeout: 252 seconds]
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #commonlisp
thuna` has quit [Remote host closed the connection]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
slyrus has joined #commonlisp
tok has quit [Remote host closed the connection]
King_julian has joined #commonlisp
slyrus has quit [Ping timeout: 252 seconds]
<aeth>
I suppose that convention makes more sense (shift it in the more it goes)
<aeth>
but for what it's worth, I rarely see ;;;; instead of ;;;
<aeth>
in CL, I mean
anticomputer has quit [Ping timeout: 260 seconds]
anticomputer_ has joined #commonlisp
slyrus has joined #commonlisp
King_julian has quit [Ping timeout: 268 seconds]
slyrus has quit [Ping timeout: 264 seconds]
pve has quit [Quit: leaving]
decweb has quit [Ping timeout: 268 seconds]
dino_tutter has quit [Ping timeout: 255 seconds]
attila_lendvai has joined #commonlisp
slyrus has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
akoana has quit [Quit: leaving]
attila_lendvai has quit [Ping timeout: 268 seconds]
slyrus has quit [Ping timeout: 268 seconds]
<jmercouris>
For some reason SBCL freezes on my machine when doing `(asdf:load-system :alexandria)`
<jmercouris>
I've tried SBCL 2.3.7 and 2.4.0
<jmercouris>
it freezes for ALL systems
yitzi has joined #commonlisp
<jmercouris>
.sbclrc only contains: `(require 'asdf)`
<jmercouris>
I'm out of ideas :-\
<metsomedog>
is it in slime? it happens for me in slime whne loading mcclim (from guix), unless I start sbcl in a separate shell and do slime-connect first
<jmercouris>
I just restarted my computer... and it started working
<jmercouris>
I have no explanation
<jmercouris>
I was playing with slime, perhaps there was a process still alive somewhere blocking access to some file
<jmercouris>
well, it works now, sorry for the noise
slyrus has joined #commonlisp
chomwitt has quit [Ping timeout: 264 seconds]
chomwitt has joined #commonlisp
slyrus has quit [Ping timeout: 264 seconds]
istewart has joined #commonlisp
slyrus has joined #commonlisp
slyrus has quit [Ping timeout: 240 seconds]
lucasta has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life has joined #commonlisp
metsomedog has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]