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/>
thuna` has joined #commonlisp
lucasta has quit [Remote host closed the connection]
pyooque has joined #commonlisp
puke is now known as Guest8981
Guest8981 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
pyooque is now known as puke
<ixelp> ASDF Manual
waleee has quit [Ping timeout: 268 seconds]
jweeks has quit [Remote host closed the connection]
random-nick has quit [Read error: Connection reset by peer]
<dbotton> I am not seeing it, nothing seems to indicate a list of directories
<paulapatience> dbotton: *source-registry-parameter*
<paulapatience> I don't know if it expands the default search paths though
<dbotton> =>NIL
<_death> dbotton: quicklisp maintains an index of the local projects, so can list them easily, but asdf does not.. if you know the name of a system you can use asdf:locate-system to get the pathname of the asd file
<dbotton> I do not, I want to get a list of where asdf would search had I given it a name
<_death> asdf:*system-definition-search-functions*
<dbotton> for this I do not have quicklisp available
<dbotton> so not looking promising
<dbotton> the idea _death is I want to know locations I can stick things
<dbotton> so that leaves just ~/common-lisp
<dbotton> or the other "standard" options even though there may be more
<dbotton> thanks
<_death> as asdf:*system-definition-search-functions* should make clear, there is no simple rule
<NotThatRPG> _death: Actually, Fare changed things so that ASDF precomputes system locations, so you might be able to get a list of available systems. Or at least available system *definitions*, since ASD files may have multiple systems in them.
<NotThatRPG> dbotton: if you ever work on > 1 CL project at a time, then using ~/common-lisp/ may not be for you. I do, and definitely have projects that use different versions of libraries...
brokkoli_origin has quit [Ping timeout: 260 seconds]
<_death> NotThatRPG: I see
<dbotton> Ya but where is that list :)
brokkoli_origin has joined #commonlisp
<dbotton> NotThatRPG that is exactly what I am working around
<NotThatRPG> I'm not necessarily a fan of this: it worked well for Fare's use case where ITA had an enormous set of systems, but for me I rarely find that pre-caching pays off versus me possibly introducing new systems on the fly
<NotThatRPG> dbotton: I feel your pain. I have a half-finished patch that introduces more traceable functions to try to make it easier to see what ASDF is doing when it searches for systems.
<NotThatRPG> I'd recommend you *never* *never* use environment variables or config files. I helped several people at my company who had done this and forgotten they had, and it created no end of confusion.
<NotThatRPG> I try to keep all my configuration in lisp files and none in environment variables or conf files.
<dbotton> agreed
<_death> NotThatRPG: so where is that index?
<NotThatRPG> Let's see: there is `*registered-systems*`, and ...
<NotThatRPG> `*system-definition-search-functions*`
<_death> well, asdf:registered-systems gives me a list of the systems that are already loaded..
<_death> and the latter variable holds a list a function to be called when looking for a system.. I guess there could be a function that uses a precomputed index to find a system
<_death> *a list of functions
<NotThatRPG> and `(asdf-cache)`
<NotThatRPG> That variable holds a list of functions which lets quicklisp hook things.
<NotThatRPG> The problem with the variable -- although as I said, it's handy for hooking -- is that it makes tracking down what actually happens during search more difficult
<NotThatRPG> I believe there's a hash table of directories *somewhere*, but I'm sorry, I can't find it atm
<craigbro> it's more complicated than just alist of dirs, it's a set of registries, and registry dirs
<_death> NotThatRPG: maybe you're talking about (asdf/source-registry:default-user-source-registry)
<craigbro> yah, was just starting an sbcl to look that up..
<craigbro> asdf:*default-source-registries* contains a list of them, user is just one
<_death> NotThatRPG: but I wouldn't rely on that.. e.g., I don't have ~/common-lisp ;)
<NotThatRPG> Looks like you want to look at the definition of sysdef-source-registry-search
<NotThatRPG> _death: Yes, try looking at asdf/source-registry::*source-registry* -- I *think* that will give you what you need.
<NotThatRPG> Sorry -- I have to run now.
NotThatRPG is now known as NotThatRPG_away
NotThatRPG_away has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_death> in my case it holds the systems gathered from default-system-source-registry, because that directory happens to exist
triffid has quit [Remote host closed the connection]
shawnw has joined #commonlisp
triffid has joined #commonlisp
pyooque has joined #commonlisp
puke is now known as Guest1123
pyooque is now known as puke
akoana has quit [Quit: leaving]
puke is now known as Guest2023
pyooque has joined #commonlisp
pyooque is now known as puke
<beach> char: INTEGER was not created using DEFCLASS.
Guest1123 has quit [Ping timeout: 268 seconds]
Guest2023 has quit [Ping timeout: 268 seconds]
istewart has quit [Quit: Konversation terminated!]
istewart has joined #commonlisp
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
decweb has quit [Ping timeout: 255 seconds]
shawnw has quit [Ping timeout: 264 seconds]
pyooque has joined #commonlisp
puke has quit [Killed (erbium.libera.chat (Nickname regained by services))]
pyooque is now known as puke
msv has joined #commonlisp
puke is now known as Guest7691
puke has joined #commonlisp
Guest7691 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
kg7ski- has quit [Remote host closed the connection]
kg7ski has joined #commonlisp
puke has quit [Ping timeout: 268 seconds]
ello has quit [Quit: ZNC 1.8.2 - https://znc.in]
ello has joined #commonlisp
Pixel_Outlaw has quit [Read error: Connection reset by peer]
triffid has quit [Remote host closed the connection]
Pixel_Outlaw has joined #commonlisp
triffid has joined #commonlisp
shawnw has joined #commonlisp
wacki has joined #commonlisp
jweeks has joined #commonlisp
Demosthenex has quit [Ping timeout: 264 seconds]
Demosthenex has joined #commonlisp
Th30n has joined #commonlisp
shka has joined #commonlisp
King_julian has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
Demosthenex has quit [Ping timeout: 268 seconds]
emaczen has joined #commonlisp
varjag has joined #commonlisp
char has quit [Remote host closed the connection]
King_julian has quit [Ping timeout: 264 seconds]
Demosthenex has joined #commonlisp
awlygj has joined #commonlisp
Krystof has joined #commonlisp
kenran has joined #commonlisp
kenran has quit [Remote host closed the connection]
jweeks has quit [Changing host]
jweeks has joined #commonlisp
prokhor_ has joined #commonlisp
terrorjack7 has joined #commonlisp
teesquare has joined #commonlisp
ello_ has joined #commonlisp
teesquare_ has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
ello has quit [Quit: ZNC 1.8.2 - https://znc.in]
terrorjack has quit [Read error: Connection reset by peer]
prokhor has quit [Read error: Connection reset by peer]
Th30n` has joined #commonlisp
nocturnal-one has quit [Ping timeout: 268 seconds]
jweeks has quit [Remote host closed the connection]
jweeks has joined #commonlisp
terrorjack7 is now known as terrorjack
Th30n has quit [Ping timeout: 268 seconds]
Th30n` is now known as Th30n
<Gleefre> _death: re: keyword:not-interned Actually, it seems like the standard doesn't say anything about a new symbol being interned in this case. For example when a CLISP bug about that was opened, it was marked invalid for that reason: https://sourceforge.net/p/clisp/bugs/501/
<ixelp> CLISP - an ANSI Common Lisp / Bugs / #501 keywords prefixed with the KEYWORD package not exported
King_julian has joined #commonlisp
danse-nr3 has joined #commonlisp
mgl_ has joined #commonlisp
hay has joined #commonlisp
msv has quit [Remote host closed the connection]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
mwnaylor has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Quit: Leaving]
danse-nr3 has joined #commonlisp
n00b1 has joined #commonlisp
msv has joined #commonlisp
Farooq has joined #commonlisp
random-nick has joined #commonlisp
Farooq has quit [Client Quit]
Farooq has joined #commonlisp
ym has joined #commonlisp
Farooq has quit [Changing host]
Farooq has joined #commonlisp
waleee has joined #commonlisp
<ym> Shinmera, hi. Did you avoid supporting 8bit BMP in your cl-bmp intentionally?
<Shinmera> no
hay has quit [Quit: Konversation terminated!]
decweb has joined #commonlisp
mgl_ has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Ping timeout: 256 seconds]
mathrick has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
King_julian has quit [Ping timeout: 268 seconds]
mgl_ has joined #commonlisp
X-Scale has joined #commonlisp
JuanDaugherty has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
* JuanDaugherty was surprised to see babylon on quickdocs, thx phoe
<JuanDaugherty> (assuming ur thephoeron)
mgl_ has quit [Ping timeout: 264 seconds]
FragmentedCurve has quit [Remote host closed the connection]
puke has joined #commonlisp
King_julian has joined #commonlisp
X-Scale has joined #commonlisp
danse-nr3 has joined #commonlisp
hay has joined #commonlisp
decweb has quit [Ping timeout: 252 seconds]
JuanDaugherty has quit [Quit: JuanDaugherty]
brokkoli_origin has quit [Ping timeout: 252 seconds]
simoninireland has joined #commonlisp
simoninireland has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
brokkoli_origin has joined #commonlisp
simoninireland has joined #commonlisp
simoninireland has quit [Client Quit]
donleo has joined #commonlisp
pranav has quit [Remote host closed the connection]
msv has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 246 seconds]
danse-nr3 has quit [Ping timeout: 256 seconds]
mgl_ has joined #commonlisp
NotThatRPG has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
X-Scale has joined #commonlisp
phadthai has quit [Ping timeout: 264 seconds]
mgl_ has quit [Ping timeout: 268 seconds]
Th30n has quit [Quit: going off]
X-Scale has quit [Ping timeout: 250 seconds]
X-Scale has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
King_julian has quit [Ping timeout: 256 seconds]
NotThatRPG has quit [Ping timeout: 268 seconds]
reb`` has quit [Ping timeout: 260 seconds]
josrr has joined #commonlisp
puke has quit [Quit: puke]
NotThatRPG has joined #commonlisp
puke has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
NotThatRPG has quit [Ping timeout: 268 seconds]
NotThatRPG has joined #commonlisp
lucasta has joined #commonlisp
shawnw has quit [Ping timeout: 268 seconds]
triffid has quit [Remote host closed the connection]
emaczen has quit [Ping timeout: 252 seconds]
NotThatRPG has quit [Ping timeout: 268 seconds]
NotThatRPG has joined #commonlisp
reb`` has joined #commonlisp
rogersm has joined #commonlisp
inline has joined #commonlisp
inline is now known as Guest5645
Guest5645 is now known as inline
King_julian has joined #commonlisp
danse-nr3 has joined #commonlisp
n00b1 has quit [Ping timeout: 256 seconds]
pranav has joined #commonlisp
rogersm has quit [Remote host closed the connection]
rogersm has joined #commonlisp
Gleefre has joined #commonlisp
<_death> Gleefre: again, I've not looked at clhs about that, but the response doesn't take into consideration :foo vs. ::foo
mgl_ has joined #commonlisp
<_death> clhs 2.3.5
<_death> according to that section ::foo has unspecified consequences and keyword:foo is analogous to foo:bar
amb007 has quit [Read error: Connection reset by peer]
<_death> so sbcl is just being nice about it
King_julian has quit [Ping timeout: 268 seconds]
attila_lendvai has joined #commonlisp
amb007 has joined #commonlisp
vms14_ has quit [Ping timeout: 252 seconds]
<Gleefre> Yeah, something like that.
<Gleefre> One could say that SBCL is not standard compliant here, as keyword:bar is not a special syntax for a keyword, so it is treated the same as foo:bar -- and in this case, new symbols should not be interned into the package.
<Gleefre> And FIND-SYMBOL does not behave differently for the keyword package.
<Gleefre> ,(find-symbol "not-interned" '#:keyword)
<ixelp> => NIL; NIL
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
shawnw has joined #commonlisp
rogersm has quit [Quit: Leaving...]
edgar-rft_ has joined #commonlisp
JimG has quit [Read error: Connection reset by peer]
phadthai has joined #commonlisp
wacki has quit [Ping timeout: 256 seconds]
edgar-rft has quit [Ping timeout: 272 seconds]
wacki has joined #commonlisp
shawnw has quit [Ping timeout: 264 seconds]
mathrick has joined #commonlisp
<yottabyte> I forgot the function that tells me the type of an object... like if I were to call it on '(1 2 3) it would return list or whatever
<beach> ,(type-of '(1 2 3))
<ixelp> (type-of '(1 2 3)) => CONS
<Farooq> beach, as always, very helpful :)
<yottabyte> ah yes, thanks
<beach> Pleasure.
<Farooq> I haven't come to rewrite my software in CL, yet. I should first write a minimal implementation to check if the performance is really superior
<beach> What is the software and what is it currently written in?
<Farooq> Rust, It's about Evolutionary Computation. Specificly, Linear Genetic Programming
<beach> I see.
<Farooq> The goal is finding an optimal linear program, a sequence of instructions, which can do wake word detection with high accuracy
<Farooq> We had a discussion about it before. Remember?
<beach> Me? Remembering things? Hasn't happened since I was 15.
<Farooq> The original type of GP is Tree based which originally was operating on Lisp S expressions
<Farooq> Then a researcher introduced Stack based which had superior performance for some problems, again with Lisp
<Farooq> But now, after like 40-50 years, most researchers don't use Lisp
<Farooq> Or perhaps all researchers
<beach> Right, people go to a lot of trouble to avoid learning Common Lisp.
<Farooq> yeah you exactly said this the previous time
<beach> But maybe not everyone here now was here then. :)
<Farooq> xD
<Farooq> Do you think I will get superior performance with SBCL? Do you have a guess?
<Farooq> Currently I have like thousands of programs which I interpret them in Rust
<beach> Me? No, I don't know Rust, so I have no idea.
X-Scale has quit [Ping timeout: 250 seconds]
<Farooq> I define a Vector of variables, named registers, then I read one instructions at a time and apply whatever operation it is on the registers. there is also a PC variable, program counter to keep track of program ending and forward only jumps
<Farooq> But if I use Lisp, I will have a function and tell SBCL to evaluate it. SBCL will compile and execute it
<Farooq> Really curious to see the performance will be superior or not
<beach> Yeah, sounds like an interesting experiment.
<yottabyte> Farooq: there are too many factors. is your program slow currently? are you rewriting it to try to get better performance, or because you think lisp is better suited for the task at hand?
<Farooq> I both think it is better suited for the task and that I might get superior performance
<Farooq> BTW, I also have sent a proposal for my GP research to NLnet in the hope that they will fund my project
danse-nr3 has quit [Ping timeout: 268 seconds]
<yottabyte> I know people commonly use Rust to get high performance, so perhaps if it is slow, you might have inefficiencies in your code. or it's just a computationally expensive problem
vms14 has joined #commonlisp
<Farooq> It's not slow
<Farooq> my computer is slow
danse-nr3 has joined #commonlisp
<Farooq> BTW, SBCL and Rust have both very good performance on general tasks
<yottabyte> right
<Farooq> if you use static typing in SBCL and tell it to maximize speed and minimize safety
<Farooq> DECLAIM
<_death> if you run a program many times, it may be beneficial to compile it first
<Farooq> _death, the point is that, a single program won't be run more than once. Nevertheless, segments of programs sure will
<Farooq> For instance there is crossover, get a half from this and a half from that and generate a new program, or individual in the population
X-Scale has joined #commonlisp
<Farooq> Or mutation, change like 0.01 of instructions in a program to something new
<_death> if you run it once, then it still depends on what it does.. so try let us know ;)
<Farooq> yeah
<Farooq> Does SBCL cache compiled stuff?
<Farooq> Like I give it 500 instructions, then the next time another 500 instructions but like 10% of it different
<wbooze> there are libs which help with memoizing
<Farooq> very goood
* Farooq leaving now
<_death> video from some years ago https://adeht.org/dump/vid-2021-05-10T1833.mp4
<beach> What is it about?
<_death> evolving programs to create interesting graphics.. inspired by https://karlsims.com/papers/SimsSiggraph91.pdf
lucasta has quit [Remote host closed the connection]
Gleefre has quit [Remote host closed the connection]
psilord` has joined #commonlisp
Gleefre has joined #commonlisp
psilord has quit [Ping timeout: 246 seconds]
reb`` has quit [Ping timeout: 260 seconds]
edgar-rft_ is now known as edgar-rft
X-Scale has quit [Ping timeout: 250 seconds]
reb`` has joined #commonlisp
X-Scale has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Ping timeout: 264 seconds]
Gleefre has quit [Remote host closed the connection]
psilord` is now known as psilord
Gleefre has joined #commonlisp
JuanDaugherty has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
Gleefre has quit [Remote host closed the connection]
fiddlerwoaroof_ has joined #commonlisp
fiddlerwoaroof_ has quit [Remote host closed the connection]
NotThatRPG has quit [Ping timeout: 260 seconds]
brokkoli_origin has quit [Remote host closed the connection]
leeb has quit [Ping timeout: 268 seconds]
leeb has joined #commonlisp
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
danse-nr3 has joined #commonlisp
brokkoli_origin has joined #commonlisp
danse-nr3 has quit [Ping timeout: 246 seconds]
danse-nr3 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life has joined #commonlisp
amb007 has joined #commonlisp
<Shinmera> Added a nifty feature to parachute: you can now add :defun T to a test definition to define a function that will call TEST on that test for you.
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
* beach fails to understand.
<Shinmera> previously (parachute:define-test foo ...) you'd have to invoke via (parachute:test 'foo) (or similar). Now with (parachute:define-test foo :defun T ...) you can invoke it via (foo)
<beach> I see. Thanks.
<Shinmera> things are a bit more complicated due to the fact that tests in parachute aren't named by symbols, but rather strings belonging to a home package
<Shinmera> (this is done so you can't accidentally overwrite a test if you name it via, say, cl:find or whatever)
ym has quit [Ping timeout: 268 seconds]
<beach> Last time I looked, strings didn't belong to any package at all.
<Shinmera> yes that's why tests are named by "strings which belong to a package" as in, in order to resolve a test, you need to pass a string name and a package.
<Shinmera> when defining a test those are taken from the symbol you pass and the current value of *package*
<beach> That makes a little more sense to me. But I am probably just too tired to fully understand just about anything tonight. I should just go watch TV with my (admittedly small) family.
<Shinmera> haha, enjoy then!
<Shinmera> I'm just biding my time in the hospital anyway
<beach> Oh? Did I miss something?
amb007 has quit [Read error: Connection reset by peer]
<Shinmera> I had sex reassignment surgery last monday
<Shinmera> I should be discharged tomorrow, finally
amb007 has joined #commonlisp
<beach> Oh, I see. Good luck!
<Shinmera> thanks!
JuanDaugherty has quit [Quit: JuanDaugherty]
King_julian has joined #commonlisp
Gleefre has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
cage has joined #commonlisp
Gleefre has joined #commonlisp
X-Scale has joined #commonlisp
overclucker has quit [Ping timeout: 260 seconds]
fiddlerwoaroof has joined #commonlisp
NotThatRPG has quit [Ping timeout: 268 seconds]
mgl_ has quit [Ping timeout: 264 seconds]
awlygj has quit [Quit: leaving]
NotThatRPG has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
King_julian has quit [Ping timeout: 252 seconds]
random-nick has quit [Ping timeout: 268 seconds]
random-nick has joined #commonlisp
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
eddof13 has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mwnaylor has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
danse-nr3 has quit [Ping timeout: 260 seconds]
danse-nr3 has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
King_julian has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: eddof13]
varjag has joined #commonlisp
<varjag> how do i make sbcl's trace stop printing package qualifiers on symbols in the output?
reb``` has joined #commonlisp
<mwnaylor> untrace?
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
<mwnaylor> nevermind, you want less information while still tracing.
yitzi has quit [Remote host closed the connection]
reb`` has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Read error: Connection reset by peer]
<paulapatience> varjag: Set *PACKAGE* appropriately
synchrom1 has quit [Quit: WeeChat 4.0.5]
<varjag> paulapatience: it is set appropriately
<varjag> entry point names are printed correctly but not symbols in arglists
<varjag> actually exits only are printed correctly
Gleefre has quit [Ping timeout: 250 seconds]
pranav has quit [Read error: Connection reset by peer]
valorzard has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
amb007 has quit [Ping timeout: 272 seconds]
josrr has quit [Remote host closed the connection]
josrr has joined #commonlisp
<paulapatience> *package* is set to isomorphism?
shawnw has joined #commonlisp
pranav has joined #commonlisp
X-Scale has quit [Quit: Client closed]
<varjag> yes
amb007 has joined #commonlisp
Gleefre has joined #commonlisp
NotThatRPG has joined #commonlisp
overclucker has joined #commonlisp
King_julian has quit [Ping timeout: 268 seconds]
dino_tutter has quit [Ping timeout: 255 seconds]
vms14 has quit [Remote host closed the connection]
varjag has quit [Ping timeout: 260 seconds]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
amb007 has quit [Remote host closed the connection]
amb007 has joined #commonlisp
X-Scale has joined #commonlisp
synchromesh has joined #commonlisp
X-Scale22 has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
ebrasca has joined #commonlisp
X-Scale22 has quit [Ping timeout: 250 seconds]
donleo has quit [Ping timeout: 260 seconds]
vms14 has joined #commonlisp
<paulapatience> Not sure what to do, if anything, then
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]