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/>
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
<zwr> going from the chapters 11 and 12 of https://gigamonkeys.com/book/ which I'm reading now, it feels like Common Lisp has some rather poor naming choices like the case sensitive vs case insensitive versions of character/string comparison functions and APPEND and its recycling version NCONC...
<ixelp> Practical Common Lisp
varjag has quit [Ping timeout: 260 seconds]
ldb has joined #commonlisp
<yitzi> Many of the names were inherited from from proto-Common LIsp and before. The spec wasn't a written from scratch to create a new language, it was a compromise between the venders, academics etc.
cqst has quit [Ping timeout: 260 seconds]
yitzi has quit [Remote host closed the connection]
<zwr> is there a current Common Lisp implementation that does something other than harmlessly do the modification if I destructively modify a literal?
cqst has joined #commonlisp
<reb> I am having trouble parsing that question.
<ldb> nope, that would be a violation of ansi comformance
<zwr> https://www.lispworks.com/documentation/HyperSpec/Body/03_ga.htm says "The consequences are undefined if literal objects are destructively modified"
<ixelp> CLHS: Section 3.7.1
<reb> I think SBCL may generate a warning if it can tell you are modifying a literal.
<ldb> or rather there would be a question regarding should there be a difference between '(a b) and `(a b)
edgar-rft_ has joined #commonlisp
edgar-rft` has quit [Ping timeout: 248 seconds]
<bike> sbcl signals a compiler warning, but i don't know if it does anything at runtime. hypothetically you could put that stuff in readonly memory and then it would fault. dunno if anyone does that.
<bike> the more confusing part is that the compiler may coalesce literals, so "harmless" modifications to one thing may unexpectedly mutate a bunch of other things
Akbar-Birbal has joined #commonlisp
emaczen has quit [Ping timeout: 246 seconds]
kevingal has quit [Ping timeout: 265 seconds]
floyza has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
mulk has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
fermat has quit [Ping timeout: 252 seconds]
fermat has joined #commonlisp
amb007 has quit [Ping timeout: 244 seconds]
amb007 has joined #commonlisp
akoana has quit [Quit: leaving]
amb007 has quit [Ping timeout: 272 seconds]
random-nick has quit [Ping timeout: 248 seconds]
<floyza> I've been stuck trying to get asdf's source registry working: I have an asd file for one of my projects symlinked to ~/.local/share/common-lisp/systems/, but using asdf:load-system for that package just says that that component is not found. Any ideas?
<Pixel_Outlaw> How many pacts with Satan does it take to get Common Lisp on my Google Hemorrhoid phone? Not a fan of the OS in particular but being able to write mobile programs in a sensible language is appealing.
<ixelp> ASDF Manual
<zwr> Pixel_Outlaw: I've never done it but https://f-droid.org/en/packages/com.termux/ provides a Linux command line and ECL is packaged
<ixelp> Termux | F-Droid - Free and Open Source Android App Repository
<Pixel_Outlaw> I want to write a program that just recieves some data from a scangun in a loop. Console is probably OK.
<boigahs> But if you're going to just connect via slime/sly then it's probably not particularly better
alcor` has joined #commonlisp
alcor has quit [Ping timeout: 248 seconds]
<Pixel_Outlaw> Yeah, I do have cl-repl on my phone. I've not looked into developing *with* it.
<Pixel_Outlaw> Maybe I can plug a usb keyboard in and go to town. (not much of an editor though)
hineios236 has joined #commonlisp
hineios23 has quit [Ping timeout: 272 seconds]
hineios236 is now known as hineios23
<floyza> bike: Yeah, but it also mentions systems/ at https://asdf.common-lisp.dev/asdf.html#Configurations
<ixelp> ASDF Manual
<floyza> I'll give that a try too, though
Artea has quit [Read error: Connection reset by peer]
<paulapatience> floyza: systems is described as being for "user configuration trees", whatever that it.
<paulapatience> floyza: source is where you can put your whole projects, including the asd files, and ASDF will find them fine.
<paulapatience> It is the equivalent of ~/quicklisp/local-projects.
<paulapatience> s/that it/that is/
<beach> zwr: ,(defun foo () "hello") ,(nreverse (foo)) ,(foo)
<ixelp> (defun foo () "hello") => FOO and (nreverse (foo)) => "olleh" finally (foo) => "olleh"
decweb has quit [Ping timeout: 260 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
mishoo has joined #commonlisp
ldb has quit [Remote host closed the connection]
<beach> zwr: What do you suggest with respect to the poor naming choices?
olnw has quit [Ping timeout: 240 seconds]
olnw has joined #commonlisp
floyza has quit [Remote host closed the connection]
awlygj has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
varjag has joined #commonlisp
pranav has quit [Remote host closed the connection]
amb007 has joined #commonlisp
cmack` has joined #commonlisp
cmack has quit [Ping timeout: 245 seconds]
kpg has left #commonlisp [ERC 5.6.1-git (IRC client for GNU Emacs 31.0.50)]
Posterdati has quit [Ping timeout: 255 seconds]
Posterdati has joined #commonlisp
euandreh has joined #commonlisp
pve has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
kpg has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
wacki has joined #commonlisp
Artea has joined #commonlisp
shka has joined #commonlisp
euandreh has quit [Quit: euandreh]
easye has quit [Ping timeout: 245 seconds]
<Posterdati> hi
<Posterdati> please I have a problem with quicklisp bordeaux-threads on netbsd: * (ql:quickload :bordeaux-threads)
<Posterdati> To load "bordeaux-threads":
<Posterdati> Load 5 ASDF systems:
<Posterdati> alexandria asdf global-vars trivial-features
<Posterdati> trivial-garbage
<Posterdati> Install 1 Quicklisp release:
<Posterdati> bordeaux-threads
<Posterdati> ; 2991.31KB
<Posterdati> ==================================================
<Posterdati> 3,063,105 bytes in 0.29 seconds (10187.67KB/sec)
<Posterdati> ; Loading "bordeaux-threads"
<Posterdati> While evaluating the form starting at line 25, column 0
<Posterdati> of #P"/usr/pkg/quicklisp/dists/quicklisp/software/bordeaux-threads-v0.9.4/bordeaux-threads.asd":
mishoo has quit [Ping timeout: 248 seconds]
<beach> Posterdati: Please use a paste site (like plaster.tymoon.eu) for more than one like of suff.
<Posterdati> sorry
<Posterdati> thanks!
<Posterdati> ah ok solved!
<Posterdati> seems that this version of sbcl is not compiled for threads support
easye has joined #commonlisp
<Posterdati> netbsd still provides non-threads version as binary :(
ym has joined #commonlisp
q3cpma has joined #commonlisp
<q3cpma> Hello, anyone has an idea of the best way to be make non-local package nicknames? My use case is that my utils have pkgs like :q3cpma/array, :q3cpma/list, etc... and I want to make a :q3cpma/utils that when imported, gives access to those as simply :array and :list
<pve> q3cpma: do you mean like standard package nicknames?
<beach> That would probably not be a good idea for those names.
<q3cpma> I don't think so, since the nicknames would be active globally, while I want to "forward" them under a nickname only thought this aggregating package.
<beach> q3cpma: Why are you using keyword symbols to talk about your packages?
<q3cpma> I use #:xxx in defpackages, just a deformation
<q3cpma> (though a plain array list word wouldn't be very readable)
<beach> You could use uppercase, because that's typically what the names are.
<q3cpma> I guess I could in this case, though some people dislike the screaming
<q3cpma> Maybe I'll just use these package names as-is, even if they're a bit unwieldy
donleo has joined #commonlisp
<q3cpma> How do you people organize your personal misc/util library? Multiple systems, hierarchical package naming?
<pve> q3cpma: perhaps you could have something like (q3cpma/utils:setup-nicknames) at the beginning of a file that sets up those nicknames as package-local nicknames?
danieli has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
<q3cpma> pve: I guess I could do something like a #.(nickname-list) in consumer packages. I think I need some thoughts about what's best in this my situation.
danieli has joined #commonlisp
mgl has joined #commonlisp
mgl has quit [Ping timeout: 246 seconds]
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
<mountainman1312> How can I set the value of a variable to the output of a shell command I run with uiop:run-program? I have (defparameter *version* (uiop:run-program "git rev-parse --short HEAD" :output t)), but the *version* variable ends up set to NIL.
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
overclucker has quit [Read error: Connection reset by peer]
<mountainman1312> (uiop:run-program "git rev-parse --short HEAD" :output t) seems to return 3 things: 8fa6b03, NIL, NIL.
overclucker has joined #commonlisp
<beach> mountainman1312: Are you sure about that?
<beach> The first thing is not a value, I think, but just printed.
overclucker has quit [Read error: Connection reset by peer]
overclucker_ has joined #commonlisp
<mountainman1312> Not sure at all. I'm pretty new to lisp
<beach> If you are running it from SLIME, you will see a difference in the color of the outputs, yes?
<mountainman1312> yes, the commit has number is pink and the others are brown
<beach> That should tell you something.
<mountainman1312> Yeah I know it's not actually one of the return values, just not sure how to get it out of there and into a variable
overclucker has joined #commonlisp
overclucker_ has quit [Read error: Connection reset by peer]
<beach> ,(defparameter *x* (with-output-to-string (*standard-output*) (uiop:run-program "echo hello" :output t))) ,(progn *x*)
<ixelp> (defparameter *x* (with-output-to-string (*standard-output*) (uiop:run-program "echo hello" :output t))) ERROR: There is no package named "UIOP" . , and then (progn *x*) ERROR: Unbound variable: *X*
<beach> Oh, well. Try something like that.
<mountainman1312> Too noob to understand the commas but I'll see what happens :)
mwnaylor has quit [Ping timeout: 248 seconds]
<beach> Forget the commas.
<beach> They are for ixelp.
<mountainman1312> ah gotcha, thanks :)
<mountainman1312> It works!
<beach> Great!
<mountainman1312> Thanks for the help
<beach> Pleasure.
zwr has quit [Read error: Connection reset by peer]
McParen has joined #commonlisp
zwr has joined #commonlisp
zetef has joined #commonlisp
zetef has quit [Client Quit]
random-nick has joined #commonlisp
varjag has quit [Ping timeout: 246 seconds]
varjag has joined #commonlisp
varjag has quit [Ping timeout: 252 seconds]
Gleefre has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
awlygj has quit [Quit: leaving]
amb007 has joined #commonlisp
decweb has joined #commonlisp
q3cpma has quit [Quit: nyaa~]
kevingal has joined #commonlisp
semarie has quit [Quit: zzz]
yitzi has joined #commonlisp
wacki has quit [Quit: Textual IRC Client: www.textualapp.com]
shawnw has quit [Ping timeout: 245 seconds]
Everything has joined #commonlisp
varjag has joined #commonlisp
semarie has joined #commonlisp
Venoflux has joined #commonlisp
dnhester26 has joined #commonlisp
Akbar-Birbal has left #commonlisp [#commonlisp]
<dnhester26> hi everyone, good afternoon
<dnhester26> has anyone here ever used tinaa? https://github.com/hraban/tinaa
<ixelp> GitHub - hraban/tinaa: Tinaa is a flexible and general purpose Lisp documentation system.
Akbar-Birbal has joined #commonlisp
alcor` is now known as alcor
alcor has quit [Changing host]
alcor has joined #commonlisp
wacki has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
varjag has quit [Ping timeout: 272 seconds]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
varjag has joined #commonlisp
rainthree has joined #commonlisp
Artea has quit [Remote host closed the connection]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luna-is-here has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
wacki has joined #commonlisp
wacki has quit [Client Quit]
Gleefre has quit [Remote host closed the connection]
<paulapatience> dnhester26: I have not, but I would recommend either shinmera's staple or mgl-pax. I use the latter.
<dnhester26> paulapatience: thanks! will look into them
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
scymtym has quit [Remote host closed the connection]
awlygj has joined #commonlisp
Venoflux has quit [Ping timeout: 255 seconds]
semarie has quit [Quit: connection reset by purr]
semarie_ has joined #commonlisp
treflip has joined #commonlisp
semarie_ is now known as semarie
ym has quit [Ping timeout: 260 seconds]
rainthree has quit [Ping timeout: 264 seconds]
tane has joined #commonlisp
<beach> Are all those systems of the kind that generates some kind of document from documentation strings?
ym has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
awlygj has quit [Quit: leaving]
rendar has quit [Read error: Connection reset by peer]
rendar_ has joined #commonlisp
<paulapatience> beach: Yes, but the documentation is not limited to docstrings.
<beach> I see.
mgl has joined #commonlisp
mgl has quit [Ping timeout: 252 seconds]
<beach> So I assume each one requires some predefined markup, yes?
ym has quit [Ping timeout: 248 seconds]
<Shinmera> staple for one supports arbitrary markup options. I like to use markless, but you can also use others. Same for docstring markup, I like to use a very simple "see xref" style but you can define others.
<beach> I see, thanks.
tane has quit [Quit: Leaving]
scymtym has joined #commonlisp
Everything has quit [Quit: leaving]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
ym has joined #commonlisp
lucasta has joined #commonlisp
mgl has joined #commonlisp
whosit has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
semarie has quit [Quit: connection reset by purr]
semarie has joined #commonlisp
mgl has quit [Ping timeout: 265 seconds]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 272 seconds]
Akbar-Birbal has left #commonlisp [#commonlisp]
dnhester26 has joined #commonlisp
yitzi has quit [Remote host closed the connection]
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
mgl has joined #commonlisp
Venoflux has joined #commonlisp
treflip has quit [Remote host closed the connection]
treflip has joined #commonlisp
dnhester26 has joined #commonlisp
scymtym has quit [Ping timeout: 255 seconds]
scymtym has joined #commonlisp
dnhester26 has quit [Ping timeout: 244 seconds]
pfdietz has joined #commonlisp
<paulapatience> beach: mgl-pax uses Markdown
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
mgl has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
skin has joined #commonlisp
dnhester26 has joined #commonlisp
Venoflux has quit [Quit: Venoflux]
<skin> Coincidentally, I've been in the market for documentation systems. I'll have a look at Staple.
yitzi has joined #commonlisp
triffid has quit [Ping timeout: 260 seconds]
pranav has joined #commonlisp
triffid has joined #commonlisp
droideqa has joined #commonlisp
semarie has quit [Quit: connection reset by purr]
amb007 has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
dnhester26 has quit []
dlowe has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
yitzi has quit [Remote host closed the connection]
ym has quit [Ping timeout: 272 seconds]
akoana has joined #commonlisp
ym has joined #commonlisp
aeth_ has joined #commonlisp
aeth has quit [Ping timeout: 252 seconds]
whosit has quit [Ping timeout: 252 seconds]
whosit has joined #commonlisp
treflip has quit [Ping timeout: 244 seconds]
luna-is-here has quit []
luna-is-here has joined #commonlisp
CrashTestDummy has joined #commonlisp
CrashTestDummy has quit [Quit: Leaving]
mwnaylor has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
aeth_ is now known as aeth
zwr has joined #commonlisp
spdegabrielle has joined #commonlisp
reb has quit [Remote host closed the connection]
rcoper has joined #commonlisp
Everything has joined #commonlisp
lucasta has quit [Quit: Leaving]
amb007 has quit [Ping timeout: 264 seconds]
danza has joined #commonlisp
ym has quit [Ping timeout: 252 seconds]
alcor has quit [Remote host closed the connection]
danza has quit [Remote host closed the connection]
triffid has quit [Remote host closed the connection]
rcoper has quit [Read error: Connection reset by peer]
triffid has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
varjag has quit [Ping timeout: 264 seconds]
Artea has joined #commonlisp
amb007 has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 248 seconds]
Everything has quit [Ping timeout: 252 seconds]
Everything has joined #commonlisp
varjag has joined #commonlisp
varjag has quit [Ping timeout: 255 seconds]
puke has quit [Ping timeout: 260 seconds]
puke has joined #commonlisp
luna-is-here_ has joined #commonlisp
luna-is-here has quit [Read error: Connection reset by peer]
rcoper has joined #commonlisp
rcoper has quit [Remote host closed the connection]
st_aldini has quit [Ping timeout: 260 seconds]
pve has quit [Quit: leaving]
synchromesh has quit [Quit: WeeChat 4.0.5]
Catie has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
Catie- has joined #commonlisp
donleo has quit [Ping timeout: 252 seconds]
Catie` has quit [Ping timeout: 272 seconds]
spdegabrielle has quit [Quit: Connection closed for inactivity]
Catie has quit [Ping timeout: 248 seconds]