<NotThatRPG>
jeosol: I think that getting those is an artifact of using `print` in map-systems
<NotThatRPG>
Try using `component-name` instead of `print` in `map-systems`
<jeosol>
that's correct. It will be nicer if there is a way I can get the actual system names. The pattern from is also varying for the systems, some with date versioning, some semantic etc
<jeosol>
ok, let me try that
<jeosol>
what package is component-name define? I get some error
<jeosol>
asdf I suppose
yauhsien has joined #commonlisp
<pjb>
jeosol: (apropos "COMPONENT-NAME") should give you the package.
taiju_ has joined #commonlisp
<jeosol>
pjb: I initially used asdf:component-name but using your command asdf/component seems to be the package
shka has quit [Ping timeout: 248 seconds]
<jeosol>
I wrote a small function that still uses map-systems but then I first look at the system path, if it is one of my systems, I do nothing ( search for a string in directory path), otherwise, I add it to a list
zacque has joined #commonlisp
Spawns_Carpeting has joined #commonlisp
occ has joined #commonlisp
<jeosol>
And then I did (ql:quickload external-lib-list) and no hiccups
<jeosol>
I will add this to the upstream sbcl docker image and report tomorrow on time savings
<etimmons>
jeosol: you should use symbols from the ASDF package. I don't think stability is guaranteed for the ASDF/* packages
yauhsien has quit [Remote host closed the connection]
<jeosol>
hash, so I should be using asdf:component-name you mean?
<jeosol>
etimmons: I had a brain freeze, I am coding something up with a hash_table, need to rest
<jeosol>
hence my writing "hash" above
Spawns_Carpeting has quit [Quit: WeeChat 3.4.1]
Spawns_Carpeting has joined #commonlisp
random-nick has quit [Ping timeout: 272 seconds]
<Xach>
jeosol: the name is part of the system object.
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
yauhsien has quit [Ping timeout: 250 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
cosimone has quit [Read error: Connection reset by peer]
Oddity has quit [Ping timeout: 248 seconds]
yewscion has joined #commonlisp
yauhsien has joined #commonlisp
tyson2 has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
yauhsien has quit [Ping timeout: 240 seconds]
pfd has quit [Quit: Client closed]
Inline__ is now known as Inline
<zacque>
Hi, is ASDF comparable to Unix `make`? Like, can I define function to `make build`, `make test` and `make install`?
<zacque>
Not quite sure, but I want to distribute a compiled version of my library
attila_lendvai has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 250 seconds]
yauhsien has joined #commonlisp
random-nick has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
<yitzi>
zacque: Some distribute an "image" of a complete application, but distributing a compiled library isn't common to my knowledge. To what end do you need to do this?
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
yauhsien has quit [Ping timeout: 250 seconds]
<zacque>
yitzi: Hmmm, I'm using Guix package manager and so I think I can distribute the compiled files from a build farm or simply store the compiled files into the Guix store
<zacque>
But the core idea is in `build` and `install` I guess
<yitzi>
I don't use Nix/Guix but I don't think that is wise. Every lisp implementation has it's own compiler and the compiled file are not interchangeable between implementations or even versions. Generally libraries are just distributed with the asd files and source code.
MajorBiscuit has joined #commonlisp
<yitzi>
The most common distribution method is via quicklisp. Some OS distributions include packages for various lisp libraries but the coverage is not complete.
<random-nick>
probably not a problem for nix/guix
splatt990 has joined #commonlisp
<random-nick>
the compiled guix/nix package (called derivation I think) would depend on a fixed implementation and version since that's one of the main ideas of such package managers
<zacque>
I saw Nyxt browser is developed this way and therefore I'm intrigued to see how it works
<rotateq>
Yes it has package definition files for the two OSses.
<zacque>
Ah, my question should be how it works with library like `CL-AUTOWRAP`
<zacque>
Just an idea that occured to me
<zacque>
Another question: how to disconnect from a swank server elegantly?
<zacque>
I use `M-x slime-disconnect` from within Emacs, but after exit, I couldn't start swank again with the same port
<zacque>
It says "Socket error in "bind": EADDRINUSE (Address already in use)"
<zacque>
I start swank server with `(swank:create-server :port 4006)`
<Xach>
zacque: i use :dont-close t also
yauhsien has joined #commonlisp
<zacque>
Xach: `:dont-close t` doesn't work for me
Devon has quit [Read error: Connection reset by peer]
<Xach>
Hmm
Devon has joined #commonlisp
<zacque>
That's weird, does it work for you?
<Xach>
I misunderstood the situation, sorry.
<Xach>
I haven't tried to restart like that recently, I don't know how well or poorly it works locally.
attila_lendvai has quit [Ping timeout: 240 seconds]
<zacque>
I see, it's fine
<zacque>
Just want to know how others connect to swank server
<zacque>
I see that the port can be released after `(QUIT)`
<zacque>
So, just a minor annoyance
<_death>
slime-disconnect doesn't stop the server (with dont-close) so to reconnect you just slime-connect
<zacque>
_death: That's not true, my `M-x slime-disconnect` will still invoke (swank:close-connection) and close the server
<zacque>
In my case, the dont-close parameter doesn't have visible effect...
<_death>
if it doesn't work for you, I suggest you try debugging.. it does work for me and others
<zacque>
I see, I'll try looking into it
<zacque>
Thank
<zacque>
s/Thank/Thanks!
<_death>
in fact your symptom (EADDRINUSE) supports my hypothesis (server is running)
<_death>
close-connection doesn't shut down the server, only the client socket
<zacque>
That makes sense
<zacque>
_death: You're right, it's indeed still running
<zacque>
Cause I can `M-x slime-connect` back to it
<zacque>
My bad, didn't realise about that
<zacque>
_death: Thanks!
<_death>
np
<Xach>
The difference between disconnect and sayoonara is pretty important. I've had some trouble with accidentally killing a lisp when I really just wanted to disconnect, so now I *only* disconnect and kill lisp through the inferior-lisp (or equivalent) buffer.
<_death>
yeah, sayoonara kills it
<_death>
perhaps there should be an option to avoid that
<_death>
and another command harakiri ;)
<zacque>
Oh? What does sayoonara do?
<zacque>
A bit unexpected to see a Japanese command ha!
s-liao has joined #commonlisp
<zacque>
Hmm, seems like it tries to preserve the *inferior-lisp* buffer
xaotuk has joined #commonlisp
<zacque>
But still, it kills the buffer when I says "n"...
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
yauhsien has quit [Ping timeout: 248 seconds]
s-liao has quit [Quit: Client closed]
saturn2 has quit [Quit: WeeChat 1.0.1]
clone_of_saturn has joined #commonlisp
wmblathe_ is now known as wmblathers
dlowe has quit [Remote host closed the connection]
dlowe has joined #commonlisp
notzmv has quit [Ping timeout: 248 seconds]
s-liao has joined #commonlisp
yauhsien has joined #commonlisp
scymtym has quit [Ping timeout: 246 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
zacque has quit [Quit: Goodbye :D]
taiju_ has quit [Ping timeout: 272 seconds]
rotateq has quit [Remote host closed the connection]
taiju_ has joined #commonlisp
cosimone has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
s-liao has quit [Ping timeout: 250 seconds]
szkl has joined #commonlisp
s-liao has joined #commonlisp
mon_aaraj has quit [Read error: Connection reset by peer]
NotThatRPG has joined #commonlisp
yauhsien has quit [Ping timeout: 272 seconds]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
yagamisato has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
yagamisato has joined #commonlisp
yagamisato has joined #commonlisp
yagamisato has quit [Changing host]
mon_aaraj has joined #commonlisp
scymtym has joined #commonlisp
clone_of_saturn is now known as saturn2
s-liao has quit [Quit: Client closed]
s-liao has joined #commonlisp
razetime has joined #commonlisp
cosimone has quit [Remote host closed the connection]
waleee has joined #commonlisp
s-liao has quit [Quit: Client closed]
cosimone has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
yauhsien has joined #commonlisp
jeosol has joined #commonlisp
razetime has quit [Ping timeout: 246 seconds]
Inline has quit [Quit: Leaving]
<jmercouris>
common-lisp.net down, any info?
<contrapunctus>
jmercouris: try the #common-lisp.net channel, perhaps
rotateq has joined #commonlisp
Oladon has joined #commonlisp
<jmercouris>
contrapunctus: will do, thanks
Cymew has quit [Ping timeout: 250 seconds]
treflip has joined #commonlisp
<jackdaniel>
there are problems with database (and backups)
treflip has quit [Remote host closed the connection]
treflip has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
ec has joined #commonlisp
ebrasca has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
<ksp>
ok so the result of map is just a single value
<ksp>
how do i just not have that in a list
<dlowe>
can you share some example inputs and outputs?
azimut_ has quit [Remote host closed the connection]
azimut has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 240 seconds]
<ksp>
its a function taking one argument which is a list of characters
<ksp>
which it maps onto a variable
<ksp>
wait
<ksp>
it returns one for each iteration
<ksp>
so i just get the last element
<ksp>
now it works
ksp has quit [Quit: WeeChat 3.5]
karlosz has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
igemnace has quit [Ping timeout: 248 seconds]
rawley has joined #commonlisp
aartaka has joined #commonlisp
shka has quit [Ping timeout: 248 seconds]
karlosz has quit [Quit: karlosz]
<pjb>
kst: if you want to map items to zero, one or more items, then use mapcan: (coerce (mapcan (lambda (ch) (if (alpha-char-p ch) (list ch ch) (list ch))) '(#\a #\space #\b #\e #\c #\!)) 'string) #| --> "aa bbeecc!" |#
tyson2 has joined #commonlisp
karlosz has joined #commonlisp
karlosz has quit [Client Quit]
ec has quit [Ping timeout: 240 seconds]
yewscion has joined #commonlisp
karlosz has joined #commonlisp
ec has joined #commonlisp
yewscion has quit [Ping timeout: 248 seconds]
imjim has quit [Ping timeout: 240 seconds]
karlosz_ has joined #commonlisp
karlosz has quit [Ping timeout: 240 seconds]
karlosz has joined #commonlisp
aeth has quit [Ping timeout: 248 seconds]
karlosz__ has joined #commonlisp
karlosz_ has quit [Ping timeout: 256 seconds]
aeth has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
karlosz has quit [Ping timeout: 250 seconds]
karlosz__ is now known as karlosz
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
karlosz has quit [Ping timeout: 240 seconds]
pranavats has left #commonlisp [Error from remote client]
Dynom has quit [Quit: WeeChat 3.5]
attila_lendvai has quit [Ping timeout: 272 seconds]