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: 246 seconds]
justache has joined #commonlisp
tyson2` has joined #commonlisp
Inline__ has joined #commonlisp
tyson2 has quit [Ping timeout: 260 seconds]
CptKirk has quit [Ping timeout: 248 seconds]
Inline_ has quit [Ping timeout: 252 seconds]
nij- has quit [Ping timeout: 260 seconds]
tyson2` has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
ixelp has quit [Quit: Oops, I am being rebooted; wish me luck.]
[ has quit [Excess Flood]
Noisytoot has joined #commonlisp
CptKirk has joined #commonlisp
vn36 has quit [Quit: leaving]
perrierjouet has quit [Ping timeout: 260 seconds]
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
Inline_ has joined #commonlisp
amb007 has joined #commonlisp
Inline__ has quit [Ping timeout: 248 seconds]
Inline__ has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
Inline_ has quit [Ping timeout: 246 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 260 seconds]
ixelp has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
notzmv has joined #commonlisp
jmdaemon has joined #commonlisp
azimut has joined #commonlisp
mathrick has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
azimut has quit [Quit: ZNC - https://znc.in]
azimut has joined #commonlisp
mathrick has joined #commonlisp
ttree has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 248 seconds]
SAL9000 has quit [Ping timeout: 255 seconds]
SAL9000 has joined #commonlisp
Jach has joined #commonlisp
Inline_ has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Inline__ has quit [Ping timeout: 248 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 248 seconds]
waleee has quit [Ping timeout: 252 seconds]
akoana has joined #commonlisp
ixelp has quit [Ping timeout: 260 seconds]
bilegeek has joined #commonlisp
Noisytoot is now known as Guest741
Guest741 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
Noisytoot has joined #commonlisp
CptKirk has quit [Ping timeout: 260 seconds]
CptKirk has joined #commonlisp
mfiano has quit [Quit: pkal]
mfiano has joined #commonlisp
mfiano has quit [Client Quit]
mfiano has joined #commonlisp
mfiano has quit [Client Quit]
mfiano has joined #commonlisp
pranavats has joined #commonlisp
jeosol has joined #commonlisp
pfd has quit [Ping timeout: 260 seconds]
saurcron has joined #commonlisp
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 248 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
tyson2 has quit [Remote host closed the connection]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
akoana has quit [Quit: leaving]
Inline__ has quit [Ping timeout: 246 seconds]
Inline__ has joined #commonlisp
dec0d3r has quit [Quit: Leaving]
Inline_ has quit [Ping timeout: 248 seconds]
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
pfd has joined #commonlisp
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 248 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 252 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 252 seconds]
CptKirk` has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
CptKirk has quit [Ping timeout: 260 seconds]
tibfulv has joined #commonlisp
Inline__ has joined #commonlisp
igemnace has quit [Remote host closed the connection]
igemnace has joined #commonlisp
Inline_ has quit [Ping timeout: 248 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
Inline__ has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
jeosol has quit [Ping timeout: 260 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 252 seconds]
pranavats has left #commonlisp [Disconnected: Hibernating too long]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 246 seconds]
pranavats has joined #commonlisp
Inline_ has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 252 seconds]
Inline_ has joined #commonlisp
CptKirk` has quit [Ping timeout: 248 seconds]
Inline__ has quit [Ping timeout: 252 seconds]
Sauvin has quit [Ping timeout: 260 seconds]
Sauvin has joined #commonlisp
Bocaneri has joined #commonlisp
Bocaneri is now known as Guest5611
Inline__ has joined #commonlisp
Sauvin has quit [Ping timeout: 260 seconds]
Inline_ has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 252 seconds]
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 252 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 252 seconds]
seletz has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 252 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
cel7t has quit [Changing host]
cel7t has joined #commonlisp
_cymew_ has joined #commonlisp
Inline__ has quit [Ping timeout: 252 seconds]
Inline__ has joined #commonlisp
dre has quit [Quit: Leaving]
Brucio-61 has quit [Ping timeout: 248 seconds]
Inline_ has quit [Ping timeout: 260 seconds]
scymtym has quit [Ping timeout: 246 seconds]
Inline_ has joined #commonlisp
pve has joined #commonlisp
ttree has quit [Ping timeout: 252 seconds]
Inline__ has quit [Ping timeout: 260 seconds]
shka has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
Cymew has joined #commonlisp
enzutwo has quit [Quit: ZNC 1.8.2 - https://znc.in]
enzuru has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 260 seconds]
Bocaneri has joined #commonlisp
Bocaneri is now known as Guest1505
Guest5611 has quit [Ping timeout: 260 seconds]
Helmholtz has quit [Changing host]
Helmholtz has joined #commonlisp
rainthree has joined #commonlisp
amb007 has joined #commonlisp
dipper has quit [Read error: Connection reset by peer]
dipper_ has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
Inline_ has joined #commonlisp
<anddam> howdy
Inline__ has quit [Ping timeout: 248 seconds]
Inline_ has quit [Client Quit]
<beach> Hello anddam.
<phoe> hello
jryans has quit [Quit: You have been kicked for being idle]
amb007 has joined #commonlisp
<beach> Hey phoe. What are you working on these days?
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest7944
amb007 has quit [Ping timeout: 252 seconds]
danieli has quit [Read error: Connection reset by peer]
danieli has joined #commonlisp
cdegroot has quit [Ping timeout: 255 seconds]
Major_Biscuit has joined #commonlisp
danieli has quit [Read error: Connection reset by peer]
<phoe> dayjob
<phoe> and life!
<beach> Ouch!
recordgroovy has quit [Ping timeout: 246 seconds]
recordgroovy has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
_cymew_ has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 260 seconds]
_cymew_ has joined #commonlisp
Cymew has joined #commonlisp
amb007 has joined #commonlisp
pranavats has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
cosimone has joined #commonlisp
edgar-rft has quit [Ping timeout: 252 seconds]
edgar-rft has joined #commonlisp
epony has joined #commonlisp
danieli has joined #commonlisp
danieli has quit [Remote host closed the connection]
pjb has joined #commonlisp
Lycurgus has joined #commonlisp
perrierjouet has joined #commonlisp
danieli has joined #commonlisp
bilegeek has quit [Quit: Leaving]
amb007 has joined #commonlisp
danieli has quit [Read error: Connection reset by peer]
Guest1505 is now known as Sauvin
amb007 has quit [Ping timeout: 252 seconds]
unlucy has quit [Ping timeout: 246 seconds]
Major_Biscuit has quit [Ping timeout: 260 seconds]
jsatk has quit [Ping timeout: 246 seconds]
xretaxeous has quit [Read error: Connection reset by peer]
sgithens has quit [Read error: Connection reset by peer]
dbotton has quit [Read error: Connection reset by peer]
sgithens has joined #commonlisp
iisi has quit [Read error: Connection reset by peer]
IUSR has quit [Ping timeout: 260 seconds]
patrix has quit [Ping timeout: 260 seconds]
griffinmb has quit [Read error: Connection reset by peer]
antoszka has quit [Read error: Connection reset by peer]
conjunctive has quit [Read error: Connection reset by peer]
saurcron has quit [Read error: Connection reset by peer]
jmercouris has quit [Read error: Connection reset by peer]
pl has quit [Read error: Connection reset by peer]
megeve has quit [Read error: Connection reset by peer]
jcowan has quit [Read error: Connection reset by peer]
griffinmb has joined #commonlisp
xretaxeous has joined #commonlisp
pl has joined #commonlisp
antoszka has joined #commonlisp
dbotton has joined #commonlisp
unlucy has joined #commonlisp
saurcron has joined #commonlisp
jsatk has joined #commonlisp
patrix has joined #commonlisp
jmercouris has joined #commonlisp
conjunctive has joined #commonlisp
IUSR has joined #commonlisp
patrix has quit [Changing host]
patrix has joined #commonlisp
megeve has joined #commonlisp
iisi has joined #commonlisp
jcowan has joined #commonlisp
Bungg has joined #commonlisp
Bungg has quit [Client Quit]
Guest7944 has quit [Quit: WeeChat 3.7.1]
Major_Biscuit has joined #commonlisp
Lycurgus has quit [Quit: Exeunt https://tinyurl.com/4m8d4kd5]
amb007 has joined #commonlisp
thonkpod_ has quit [Ping timeout: 246 seconds]
thonkpod has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
ec_ has quit [Ping timeout: 255 seconds]
ec_ has joined #commonlisp
rainthree3 has joined #commonlisp
Brucio-61 has quit [Remote host closed the connection]
Brucio-61 has joined #commonlisp
enzutwo has joined #commonlisp
enzuru has quit [Ping timeout: 260 seconds]
dipper has joined #commonlisp
rainthree has quit [Ping timeout: 260 seconds]
dipper_ has quit [Ping timeout: 260 seconds]
Major_Biscuit has quit [Quit: WeeChat 3.6]
azimut has quit [Ping timeout: 255 seconds]
MajorBiscuit has joined #commonlisp
edgar-rft has quit [Ping timeout: 260 seconds]
edgar-rft has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
makomo has joined #commonlisp
kg7ski has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
amb007 has quit [Ping timeout: 260 seconds]
pranavats has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
jmdaemon has quit [Ping timeout: 248 seconds]
alejandrozf has joined #commonlisp
Solaris11 has joined #commonlisp
amb007 has joined #commonlisp
Solaris11 has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
tyson2 has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
waleee has joined #commonlisp
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
enzutwo has quit [Ping timeout: 260 seconds]
enzuru has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 260 seconds]
MajorBiscuit has joined #commonlisp
CptKirk` has joined #commonlisp
recordgroovy has quit [Ping timeout: 248 seconds]
recordgroovy has joined #commonlisp
CptKirk has joined #commonlisp
thuna` has joined #commonlisp
CptKirk` has quit [Remote host closed the connection]
CptKirk has quit [Remote host closed the connection]
CptKirk has joined #commonlisp
dipper has quit [Read error: Connection reset by peer]
dipper_ has joined #commonlisp
dipper_ has quit [Remote host closed the connection]
amb007 has joined #commonlisp
dipper_ has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
<Josh_2> Mornin;
amb007 has quit [Ping timeout: 252 seconds]
nij- has joined #commonlisp
<nij-> Any comparison between lparallel and cl-async?
<mfiano> The former doesn't depend on third-party foreign libraries
<mfiano> That's always my first checkmark anyway...
<nij-> Makes sense.
<nij-> I'm pretty new to multiprocessing so I'm very confused.
<mfiano> the lparallel guides on the homepage make it pretty easy to understand without parallel computing experience.
<nij-> I imagine that while composing async calls, there should be a nice wrapper that transforms any sync-function to async-function.
<nij-> Something like (async-funcall #'+ (async-eval 1) (async-eval 2))
<mfiano> I haven't messed much with the async/await pattern, but async does not necessarily mean it is using OS threads. I have no idea how libuv works (what cl-async depends on for concurrency).
<nij-> Why do we want to use OS threads? And does lparallel use them?
<mfiano> You don't always want to. I was just stating there is a difference between concurrency and parallelism. lparallel does use them.
alejandr` has joined #commonlisp
alejandrozf has quit [Ping timeout: 260 seconds]
<mfiano> For those more familiar with async/await, couldn't you implement it with an event loop on a single background thread that just eats queued tasks?
causal has quit [Quit: WeeChat 3.7.1]
<mfiano> I mean, it just has to be asynchronous with regard to the main thread, right?
<mfiano> I have no idea. I don't do this type of programming much. Just slightly curious.
<nij-> lparallel is about ocncurrency or parallelism?
<mfiano> it's in the name :)
<nij-> how about the async model? Is it concurrency or parallelism?
<nij-> (I hope my questions make sense..)
<mfiano> I believe it isn't defined and could be either, but someone more familiar will have to answer I think.
<jackdaniel> async/await can be likened to executing a thread; in this sense it is indeed agnostic to concurrent/parallel
<jackdaniel> note that promises are very prominent for this style of programming, and that's also one of abstractions provided by lparallel
<mfiano> I think async/await is just an abstraction on top of promises
<mfiano> I mean, you immediately get a future, and wait until it is fulfilled. Seems like the same idea to me.
<White_Flame> async/await is syntactic sugar for promises, not sure if that counts as a separate abstraction
Bungg has joined #commonlisp
<mfiano> the best kind, syntactic abstractions you have to wait for your language to provide ;)
amb007 has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
<nij-> but cl-async seems to have got rid of promises and futures..
<nij-> I'm confused
<mfiano> My advice: ignore cl-async (for now). It's not pure Lisp, and lparallel is one of the best free CL libraries we have. It's really incredible what it can do when you really dig into how it works.
<mfiano> It also has great guides on its homepage, requiring no parallel programming experience.
amb007 has quit [Ping timeout: 252 seconds]
<nij-> Thanks! I am looking into lparallel's page :)
dipper_ has quit [Remote host closed the connection]
amb007 has joined #commonlisp
pjb has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 260 seconds]
tyson2 has quit [Remote host closed the connection]
danieli has joined #commonlisp
waleee has quit [Ping timeout: 248 seconds]
makomo has quit [Quit: WeeChat 3.6]
MajorBiscuit has quit [Ping timeout: 260 seconds]
MajorBiscuit has joined #commonlisp
pranavats has joined #commonlisp
amb007 has joined #commonlisp
scymtym has joined #commonlisp
recordgroovy has quit [Ping timeout: 260 seconds]
recordgroovy has joined #commonlisp
Bungg has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 248 seconds]
Bungg has joined #commonlisp
alejandr` has quit [Remote host closed the connection]
random-nick has joined #commonlisp
pjb has joined #commonlisp
mathrick has quit [Remote host closed the connection]
euouae has joined #commonlisp
<euouae> Hello, in ASDF, I have a subsystem foo/deps that defines external dependencies and main system foo
mathrick has joined #commonlisp
mathrick has quit [Remote host closed the connection]
<euouae> Now I want another subsystem that loads the external dependencies, performs an action, and then loads foo
<euouae> but I can't figure out how to do this. I tried :depends-on (foo/deps) and :components ((:module foo)) but the latter doesn't seem to load foo
anticomputer has quit [Ping timeout: 255 seconds]
mathrick has joined #commonlisp
anticomputer has joined #commonlisp
mathrick has quit [Read error: Connection reset by peer]
mathrick has joined #commonlisp
<euouae> hmm... I'll ask in asdf mailing list
nij- has quit [Ping timeout: 252 seconds]
<jackdaniel> did I miss the new quicklisp dist celebration :)
rgherdt has joined #commonlisp
tyson2 has joined #commonlisp
amb007 has joined #commonlisp
<euouae> Ah! I figured it out
<euouae> I can add a dud :module with :depends-on in there
<euouae> :D awesome
MajorBiscuit has quit [Ping timeout: 260 seconds]
nij- has joined #commonlisp
kg7ski has joined #commonlisp
<euouae> ah sigh, that doesn't work either
amb007 has quit [Ping timeout: 248 seconds]
<euouae> Hm, if I'm lucky, they're loaded serially.
thuna` has quit [Remote host closed the connection]
mason has left #commonlisp [#commonlisp]
ttree has joined #commonlisp
cage has joined #commonlisp
Oladon has joined #commonlisp
amb007 has joined #commonlisp
_cymew_ has quit [Read error: Connection reset by peer]
_cymew_ has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
<dieggsy> jackdaniel: I'll join the celebration heh
<jackdaniel> :)
<dieggsy> I've been wondering if there's a good way to support quicklisp development/infrastructure. it feels like one person carrying the bulk of the most popular common lisp package ecosystem
<dieggsy> which I'm incredibly grateful for of course. just wonder how if we could all better share the load sometimes. or maybe my perception is incorrect
tyson2 has quit [Remote host closed the connection]
<jackdaniel> you'd have to ask xach whether he needs or wants help; I don't know. a few years back there was a successful fundraiser for quicklisp
random-nick has quit [Ping timeout: 260 seconds]
recordgroovy has quit [Ping timeout: 260 seconds]
recordgroovy has joined #commonlisp
nij- has quit [Ping timeout: 260 seconds]
random-nick has joined #commonlisp
<Josh_2> Occasionally the hints provided by the mini buffer stop working, is there a way I can fix this
<Josh_2> I'm using sly+emacs.
<Josh_2> I dont want to restart my image/emacs at this moment :(
<jackdaniel> Josh_2: if you start a process that does not end in slime
<jackdaniel> (say, a long running loop, by C-e over it)
<jackdaniel> then slime until that thread is joined won't give you hints in the minibuffer
<jackdaniel> the same applies to the repl, if it does not return - no hints
<jackdaniel> that said if you wrap the code in (make-thread #'do-stuff), then nothing is blocked
<Josh_2> hmm
<Josh_2> I do not think I have started a thread like that
<Josh_2> I will check
eddof13 has joined #commonlisp
euouae has quit [Remote host closed the connection]
Dynom_ has joined #commonlisp
<Josh_2> I have also not started anything with C-e
Dynom_ is now known as Guest3893
<jackdaniel> C-c C-e I mean, or C-c C-k if you have some top-level form that /starts something/
<jackdaniel> but sure, it may be something else, it's only that I can observe this behavior under these conditions
kg7ski has quit [Ping timeout: 252 seconds]
<Josh_2> Okay well thanks for your input
<Josh_2> I'll just restart my image :shrug:
<Josh_2> Well isn't that strange
<Josh_2> Well I restarted and now the hints are back :facepalm:
azimut has joined #commonlisp
Oladon has quit [Quit: Leaving.]
<Josh_2> What is the name of the cl code parser/walker?
<Josh_2> I dont remember specifically
<jackdaniel> codewalker?
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<Josh_2> well idk
<Josh_2> I am not being much help
<jackdaniel> try typing in a search engine "common lisp code walker"
<Josh_2> I think I may be barking up the wrong tree
<Josh_2> Thanks though
tyson2 has joined #commonlisp
morganw has joined #commonlisp
Brucio-61 has quit [Ping timeout: 252 seconds]
scymtym has quit [Ping timeout: 248 seconds]
jolby has joined #commonlisp
|3b|` has joined #commonlisp
deadmarshal has quit [Ping timeout: 246 seconds]
tiziodcaio has quit [Ping timeout: 246 seconds]
|3b| has quit [Ping timeout: 246 seconds]
|3b|` has quit [Changing host]
|3b|` has joined #commonlisp
Brucio-61 has joined #commonlisp
eddof13 has joined #commonlisp
deadmarshal has joined #commonlisp
tiziodcaio has joined #commonlisp
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
McParen has joined #commonlisp
eddof13 has joined #commonlisp
irc_user has joined #commonlisp
zyni-moe has joined #commonlisp
zyni-moe has quit [Client Quit]
<lagash> There's quite a few codewalkers in CL.. I haven't gotten the chance to test a few out yet.
igemnace has quit [Remote host closed the connection]
Bungg is now known as Bung
recordgroovy has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
McParen has left #commonlisp [#commonlisp]
recordgroovy has joined #commonlisp
scymtym has joined #commonlisp
lechner has quit [Quit: WeeChat 3.5]
ec_ has quit [Ping timeout: 255 seconds]
recordgroovy has quit [Quit: leaving]
ec_ has joined #commonlisp
nij- has joined #commonlisp
<nij-> (equal (list 1 2 3) (list 1 3 3)) ;=> NIL
<nij-> How do I tell if equal cleverly stops at the 1st position?
<White_Flame> there's no standard way to do so, also it breaks abstraction & design to make a mandate of how much work it can do to prove things
kg7ski has joined #commonlisp
<White_Flame> also, there's no "cleverly" about it, there's no reason to check further elements once a mismatch has been found, and it's actually more work to write & execute code that would traverse the whole thing
rainthree3 has quit [Ping timeout: 246 seconds]
<Josh_2> I think I've changed so much who knows what works anymore
<Josh_2> :sunglasses:
<pjb> nij-: (eql (mismatch '(1 2 3) '(1 3 3)) 1) #| --> t |#
<pjb> White_Flame: you said it yourself, that should be a hint that there's a standard way to do it!
<White_Flame> a parallel EQUAL would execute more than just up to the match, though
<White_Flame> assumign a sort of map/reduce approach
<White_Flame> and if you're way into composing over functional reduction, you could do the stateful full traversal version, too
<White_Flame> but yeah, a plain iteration based one would early exit
euouae has joined #commonlisp
<euouae> Hello, is there a package that creates random packages?
<euouae> for testing purposes
<jackdaniel> package can't create anything, it is not a function; I guess that you mean "a system" or more vaguely "a library"
<jackdaniel> I have not heard of such a thing, but fiveam has generators, so you could probalby define your own to fit in there
<jackdaniel> (technically system nor library is not a function either, oh well :)
Bung has quit [Quit: Leaving]
<euouae> yeah but my program isn't using fiveam
<euouae> I might write a little library for it, if I can figure it out
<jackdaniel> (defun make-random-package () (make-package (gensym))
<jackdaniel> there you go
<jackdaniel> you may trivial-left-pad it if you want ;p
<euouae> I'm going to add more stuff there
<nij-> pjb White_Flame I'm still confused.
<euouae> But thanks for make-package! I was wondering if that's possible
<nij-> Do you mean that this could be implementation dependent?
<jackdaniel> sure
<White_Flame> yes
<White_Flame> if it wants to be stupid, it could randomly compare offsets into the list until it attained full coverage
<nij-> And I can only tell it by reading the source, or to trace through #'equal step by step?
<White_Flame> or time it, for very long lists with an early difference
<nij-> Got it. Thanks :)
<White_Flame> vs 2 very long equal lists
<pjb> nij-: if you want to compare only the first N elements of sequences, you can use mismatch, which returns the index of the first difference. Compare the result with N to know. (let ((r (mismatch a b))) (and r (<= 1 r)))
<pjb> nij-: if only the first element, you can also do: (equal (first a) (first b)).
<pjb> nij-: mismatch is perfectly standard.
<pjb> clhs mismatch
<nij-> Thanks :)
cage has quit [Quit: rcirc on GNU Emacs 27.1]
amb007 has joined #commonlisp
cosimone has quit [Ping timeout: 252 seconds]
akoana has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
morganw has quit [Remote host closed the connection]
amb007 has joined #commonlisp
<euouae> jackdaniel: does make-package register the package?
<jackdaniel> yes
<euouae> Is it possible to create a package without registering it?
<jackdaniel> no; we may get deeper down with explanation but I doubt that it will be useful
<euouae> but running unit tests with generated random package objects, you wouldn't want that, would you?
<jackdaniel> there is no point in creating a package that is not hooked into a reader et al, is there?
<euouae> can't you perform the reader functionality using functions?
<jackdaniel> I don't understand your question
<jackdaniel> you may make a macro: (defmacro with-package (name &body body) `(let ((*package* (make-package ,name))) (unwind-protect (progn ,@body) (delete-package ,name))))
<euouae> Maybe a different question would be, how can I undo the package creation?
<jackdaniel> if you want to create a "temporary" package
waleee has joined #commonlisp
<jackdaniel> see? I can read your mind
<euouae> you are indeed powerful
<jackdaniel> but now I need to leave the office, it's late
<jackdaniel> good night
<euouae> gn
amb007 has quit [Ping timeout: 252 seconds]
puchacz has joined #commonlisp
Brucio-61 has quit [Remote host closed the connection]
Brucio-61 has joined #commonlisp
Guest3893 has quit [Quit: WeeChat 3.7.1]
amb007 has joined #commonlisp
nij- has left #commonlisp [Using Circe, the loveliest of all IRC clients]
jmdaemon has joined #commonlisp
_cymew_ has quit [Ping timeout: 246 seconds]
shka has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 260 seconds]
puchacz has quit [Quit: Client closed]
<Josh_2> Good thing about lisp is that although I know everything is going to be broken :) When I try to run it I'll be able to interactively fix it all :joy:
<Josh_2> making lemonade from lemons
Madsy has joined #commonlisp
cosimone has joined #commonlisp
matt` has joined #commonlisp
amb007 has joined #commonlisp
<phoe> don't make lemonade
matt` has quit [Remote host closed the connection]
<phoe> ensure that a new flavor of lemonade is automatically made for you whenever any citrus metaclass is newly instantiated
<phoe> this is truly the lisp way
amb007 has quit [Ping timeout: 252 seconds]
irc_user has quit [Quit: Connection closed for inactivity]
<aeth> talking about lemons seems a bit too Java OOP for Lisp, doesn't it?
<phoe> yeah, leaves kind of a sour taste
<White_Flame> smells like lemonodor
cosimone has quit [Read error: Connection reset by peer]
<Josh_2> Well sometimes its nice to make lemonade by hand
<Josh_2> just to enjoy the experience
jeosol has joined #commonlisp
amb007 has joined #commonlisp
causal has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
Brucio-61 has quit [Remote host closed the connection]
Brucio-61 has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
pve has quit [Quit: leaving]
causal has quit [Ping timeout: 252 seconds]
Brucio-61 has quit [Read error: Connection reset by peer]
Brucio-61 has joined #commonlisp
jmd_ has joined #commonlisp
causal has joined #commonlisp
jmdaemon has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #commonlisp
dipper_ has joined #commonlisp