Xach 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>
_73 has joined #commonlisp
Alfr has joined #commonlisp
<Nilby> Let's just forgets fexprs. But this might clear it up or make it more muddy: https://plaster.tymoon.eu/view/2781#2781
Algernon91 has quit [Read error: Connection reset by peer]
<jmercouris> Bike: exactly what pjb said
aartaka has quit [Ping timeout: 245 seconds]
OlCe has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 240 seconds]
<_73> I am trying to use the `bst` package to make a binary search tree that can be controlled through a closure. The package however uses special variables to control a trees behavior. I want to be able to set these variable only in my lexical closure so they only control my one instance of a bst. I understand why this code does not work but am wondering if it is possible to do something like this with a closure, or if I need to use a
<_73> different package: https://dpaste.com/2C4Z48NRU
<Bike> have your closure bind the specials on entry
<Bike> like, you do (let ((bst-copy-function #'identity)) (lambda (...) (let ((*bst-copy-function* bst-copy-function)) ...)))
<_73> Perhaps I don't actually know why my code doesn't work. I was under the impression that you could not modify a special variable through a let binding.
<Bike> yes. let doesn't modify the existing binding, it makes a new one. is that relevant?
<_73> how does the bst package know to use this new binding?
<mfiano> special variables are a stack of bindings under the same name
<mfiano> You can push new bindings to the stack with LET, and when the dynamic scope ends the value is popped off the stack
<Bike> well, i'm assuming you'd be using the actual package's special variables here.
<Bike> since using your own is obviously not going to help
Spawns is now known as Spawns_Carpeting
<_73> I have become confused. I must need to read more about special variables.
gaqwas has quit [Ping timeout: 240 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
s-liao has joined #commonlisp
taiju has quit [Ping timeout: 240 seconds]
taiju has joined #commonlisp
taiju has quit [Ping timeout: 240 seconds]
taiju has joined #commonlisp
karlosz has joined #commonlisp
paule32 has quit [Read error: Connection reset by peer]
karlosz_ has joined #commonlisp
taiju has quit [Ping timeout: 240 seconds]
karlosz has quit [Ping timeout: 256 seconds]
karlosz_ is now known as karlosz
Oladon has joined #commonlisp
taiju has joined #commonlisp
winning-luser has joined #commonlisp
karlosz has quit [Quit: karlosz]
<rotateq> me too still
Algernon91 has joined #commonlisp
winning-luser has quit [Quit: Leaving]
winning-luser has joined #commonlisp
<rotateq> hm maybe someone should give me a hint in the spec error with PROG2
random-nick has quit [Ping timeout: 256 seconds]
winning-luser has quit [Client Quit]
winning-luser has joined #commonlisp
<hayley> PROG2 should return the primary value of evaluating the second form, but the specification claims it returns the primary value of evaluating the first form.
<semz> The standard is correct fwiw. It's a typo in the hyperspec.
* rotateq must think a moment just to get it right
<rotateq> haha yes, i was jsut curious today after the talk
KvL has joined #commonlisp
<rotateq> OK.
<rotateq> hm now more thinking about the differences fexprs vs macros (or rather sexprs, or maybe you can give me more hints)
<hayley> fexpr stands for "funny expression" or something like that; it's independent to surface syntax like S-expressions.
Algernon91 has quit [Remote host closed the connection]
epolanski has quit [Quit: Connection closed for inactivity]
makomo has quit [Ping timeout: 240 seconds]
<rotateq> hm okay and mexprs was for meta-expressions. Wolfram still claims that Wolfram Language is the most advanced in existence. but sure they did and do a great job on many things
<hayley> I'd have no idea how you measure advanced-ness.
<hayley> But I don't think it has much to do with syntax.
<rotateq> very impressive, he wrote (much of or everything? hm ok not the existent fortran libs nor based langs) Mathematica 1.0, coming from his SMP, himself
<rotateq> hayley: right! they claim "we have everything you need in best possible version"
<rotateq> so to lastly be ontopic with it, maybe when building new things, we can learn from this too and improve it
<rotateq> and no it hasn't, they have put much know-how into all things over the years
<jcowan> you want ({drop,take}-{left,right} list n)
<rotateq> oh do i? :D
<rotateq> maybe in Haskell such constructs
<jcowan> Scheme has them too
<jcowan> you'd need to modify that if you want portable code
<rotateq> yes and i read that this newLISP uses define-macro to make them
<rotateq> yes
<jcowan> but since almost every CL has tail recursion (if not general tail calling) then it's just a matter of respelling define as defun, etc.
<hayley> "new", uses dynamic scoping by default
<rotateq> ah so tail calling is an improvement for tail recursion?
* edgar-rft calls you all tails
<rotateq> edgar-rft: Sakrileg!
<Bike> rotateq: i've done some experiments with including fexprs in a compiled language, but it's entirely a pain in the ass, and I don't think it would be an improvement over macros in very many cases.
<Bike> they are indeed orthogonal to the surface syntax
ajoberstar has joined #commonlisp
<rotateq> oh cool, what didn't you do? :) i see you in so many great projects on github
Oladon has quit [Read error: Connection reset by peer]
<drakonis> rotateq: iirc take what wolfram says with a grain of salt
<Bike> well, i didn't finish it, for one thing
<drakonis> i'd be surprised if he did everything by himself
<drakonis> as he's known for taking credit for things he hasn't built
s-liao has quit [Quit: Client closed]
<Nilby> I don't how to measure advancedness, but I do know how to measure scientific arrogance, and the unit is the "wolfram" and Mathematica is at about by 37 kiloWolframs by now, which is quite a lot.
<hayley> I thought arrogance was measured in nano-Dijkstras.
<Nilby> that's a much smaller scale i think
<drakonis> nah, wolfram is significantly more arrogant than dijsktra
<rotateq> drakonis: i like much of his writings and he had much success since from 30 years now
<drakonis> success built off other people's work though
<hayley> Well, Wolfram didn't take the offer of using beach's term rewriting compiler, so he can't be that clever.
<hayley> ("he" being Wolfram)
<rotateq> and sure, not everything. but the blog article about Schoonschip and nobel prize laureate Martinus Veltman was interesting read. Veltman insisted on writing it in assembly
<Nilby> unfortunately, his recent physics stuff is closer than most people think, and if people like stylewarning and friends don't realize they're reverse engineering qm into lambda calculus soon, wolfram & co might stumble into it
<rotateq> oh yes, i think there are so many way more impressive people work for Wolfram Research, just take Oleg Marichev (the author of the five books on sum and integral tables), he did much work so that Mathematica can solve way more integrals
<rotateq> but okay, when you work at a company they may be allowed to steal your ideas and make billions
<rotateq> Nilby: oh cool point
<rotateq> hayley: surely not beach who you meant :) and they corresponded some time?
<hayley> I forgot the story.
<rotateq> he could also have written mathematica in lisp, but then just fake symbolity
<rotateq> no problem, maybe i ask him directly
<stylewarning> #commonlisp more like #crackpotlisp
Lycurgus has joined #commonlisp
<Xach> Hmm, anyone know more about Harmonix and Lisp?
<semz> The crackpot is implicit in the Lisp part
<Xach> I seem to remember at least one CL guy who worked there but I don't know if he did Lisp there.
<rotateq> ohai stylewarning :) hope the qubits still flip around
<stylewarning> electrons are definitely bumping
<rotateq> Xach: hm what is Harmonix?
<semz> rotateq: If you wait another hour, you'll probably be able to ask beach himself.
<drakonis> is harmonix as in the people that made rock band?
<Lycurgus> game maker among many other uses of name
<hayley> I recall one Wolfram article which went off on Macsyma on Maclisp running on giant timeshared PDP-10s, whereas Mathematica(?) on C ran on a small PC. Never mind the, well, pretty large change in hardware performance.
<Lycurgus> s/maker/shop/
<jcowan> rotateq: when foo calls foo in tail position, that's tail recursion. When foo calls bar, that's general ("proper") tail calling.
<rotateq> stylewarning: I remembered this funny thing from Feynman's auto biography, when his advisor Wheeler called and said "Feynman, I now know why all electrons are the same! They ARE all the same traveling through time and space."
<stylewarning> The One Electron Universe (TM)
<rotateq> but should read many parts in the real lectures again the next two years to fresh up my physics too
<rotateq> stylewarning: and i think this "The Egg" story may have been inspired by it.
* hayley goes searching for the article
Catie has quit [Quit: going home]
s-liao has joined #commonlisp
<rotateq> semz: yes he's mostly up around 5AM European middle time
<rotateq> jcowan: thanks :)
<hayley> I can't find it now, but I swear someone said some crap like that. Mathematica was released in 1988, which would mean there was literally a 20-year gap in hardware in such a comparison.
<rotateq> no problem
<rotateq> but I should sleep, it's now 4:23am here ∘.○
<hayley> ...apparently the first version was for the Macintosh, so if you had money I guess you'd have a 68030 by then?
<hayley> (Somewhat amusing is that the 68000 was just used as a "front end processor" which played a part of booting a Lisp machine.)
<stylewarning> i have a box of like 1-5 FEPs
<rotateq> :)
<stylewarning> 15 *
<rotateq> You also own a lisp machine, don't you?
<Guest74> rotateq: I believe Harmonix is the bard.
<rotateq> hmm
<stylewarning> i have 2 3650 2 3620 a macivory and a micro explorer
<rotateq> from Asterix? ^^
<stylewarning> and a ton of spare parts, keyboards, monitors, etc
<rotateq> oh wow
<rotateq> maybe also an extra room for all that :D
<stylewarning> my guest room is full of it
Lycurgus has quit [Quit: Exeunt]
<stylewarning> poor guests have to sleep in this literal rats nest of lisp machine ephemera
<rotateq> haha so guests can sleep on them and it's warm
<hayley> Oh, I found the comment, and it was from some rando, not anyone from Wolfram. But it's hilarious to me.
<hayley> "This announcement knocked my socks off. I recall MIT-MC, the multimillion-dollar DEC PDP-10 that ran Macsyma in the late 1970s. It was a scarce resource; labs from all over the world would pay tens of thousands of dollars per year to access the symbolic computation engine. Today, a far more-capable engine is available on a $50 computer."
<hayley> Sure, you only had...er....45 years of hardware improvements there too, buddy.
<rotateq> nice
<Nilby> wolfram was trying to complete with macsyma and first wrote a thing called smp and got mad when the universiy said they owned it, so he quit and re-wrote it as mathematica, running on a tiny mac
taiju has quit [Ping timeout: 240 seconds]
<Nilby> but of course there was cool things on MCL, spawning xcode and CCL
<hayley> (Well, the PDP-10 was first sold 1968, the Pi 1 was first sold 2012, but with old CPUs Broadcom basically didn't want to throw out...but you get the idea, no?)
<Nilby> and yes I am a crackpot :)
<stylewarning> wolfram had a contest to try to decrypt or unlock a copy of SMP
<stylewarning> this was ca 5-10y ago
<Nilby> heh, he's still mad about it
<rotateq> Nilby: i still like the 1988 video with him where he shows everything
<hayley> Did anyone decrypt it?
<stylewarning> AFAIK no
<stylewarning> but you have to engage and sign agreements and whatever
<hayley> Wait, they had the contest because they didn't have an unencrypted copy?
ldb has joined #commonlisp
<rotateq> and now the S-Combinator challenge
<Nilby> but sometimes good things come from people being mad universities and quiting to re-write some famous software
Bike has quit [Quit: Lost terminal]
<drakonis> yes...
<rotateq> hui
<drakonis> lots of things
<ldb> It seems wolfram needs GPL
<rotateq> Nilby: oh yes, very true. escaping too academic and elitary systems
<rotateq> ldb: but all the money!
<hayley> stylewarning: I saw someone selling a "retro computer kit" with a 68000 included. Well, that covers the FEP, but what about the rest of the machine?
Bike has joined #commonlisp
<rotateq> hayley: can you please say what FEP means in this context? sry
<Nilby> Front End Processor
<rotateq> oki thank you
<ldb> and the FPU?
<rotateq> front processor unit?
KvL has quit [Ping timeout: 240 seconds]
ajoberstar has quit [Remote host closed the connection]
ajoberstar has joined #commonlisp
<ldb> rotateq: that's floating point unit
ajoberstar has quit [Client Quit]
<rotateq> aha!
<rotateq> that was what Veltman also suggests for using assembly in computer algebra, that floating point ops are fasta. but physics also lives heavily from symbolic calculation
<rotateq> okay, it was another time (or not?)
<rotateq> stylewarning: hm iirc i should go on and install gfortran on my new machine, so i can finally compile/load the qvm and try playing with it :)
<Guest74> rotateq: I have to admit I was incorrect.
Alfr has quit [Ping timeout: 268 seconds]
<stylewarning> rotateq: I don't think gfortran is needed with latest master
<stylewarning> (I might be wrong; I have it installed all the time)
<stylewarning> But we refactored MAGICL to not need that stuff necessarily https://github.com/quil-lang/magicl#requirements
notzmv has quit [Ping timeout: 240 seconds]
<rotateq> okay I don't remember what it let fail the last time i tried, but I want understand some day how this and quilc really works and does its impressive magic, so high respect for you people at rigetti
<rotateq> hm i wonder if some maybe verbose (from APL view point) things in magicl can also replaced and made shorter with april, even when april becomes in some more things superior over the dyalog overoptimized implementation
jealousmonk has quit [Quit: sleep]
<beach> Good morning everyone!
<Nilby> the lisp around the old fortran is both funny and sad. there must be a more palatable way
<rotateq> Hello beach, don't worry, that bit offtopic may now be over. But of course interesting too.
<ldb> weird, cl-cpus::*number-of-processors* is 0 on OS X
<ldb> ah, they hardcoded sysctl name constants, and assumed OS X has the same constant as BSD
<rotateq> beach: Did you correspond at some point with Stephen Wolfram in the past?
saturn2 has quit [Ping timeout: 250 seconds]
<rotateq> ldb: maybe OS X is so well designed as they often claim, it can also run multithreaded on 0 cores
<beach> No, hayley forgot the details. It was not *my* term rewrite system, it was that of my thesis advisor, and he was the one doing the communication before I got involved. But I wrote the compiler for that term rewriting system, something nobody had done before.
<rotateq> Okay, sure also some days ago. :)
<rotateq> I maybe wasn't even born nor thought of at that time.
jeffrey has quit [Ping timeout: 240 seconds]
<beach> I started my dissertation in 1983.
<rotateq> okay then 11 years before i was crafted :)
<rotateq> you was deeply into lisp at that time, right?
<rotateq> *were
<beach> Yes. I wrote the compiler for the rewrite system in Franz Lisp (not to be confused with Allegro Common Lisp).
<beach> It generated VAX assembler.
<rotateq> I wouldn't have confused it. :)
<beach> Good. :)
<rotateq> hui okay
<rotateq> but I learned this year that FranzInc is named after the hungary componist, I like some of his music
<hayley> beach: Thanks for the clarification.
<beach> Yes, Franz Lisp is a pun on Franz Liszt.
<rotateq> Franz Liszt
<rotateq> ah yes you were faster
semz has quit [Ping timeout: 245 seconds]
karlosz has joined #commonlisp
notzmv has joined #commonlisp
<rotateq> so CL was at that time heavily influenced by Maclisp, Zetalisp and others, right?
<rotateq> or Interlisp and your mentioned Franz Lisp
<beach> Right. I don't think Franz Lisp had any influence on Common Lisp. Franz Lisp was mostly like Maclisp. It was specifically written for Unix as I recall.
<rotateq> okay I have no idea, but am interested in those history details. one book of Herbert Stoyan I found some weeks ago from around 1980 covers over 100 pages just LISP history :)
<beach> Yeah, it's fascinating.
semz has joined #commonlisp
karlosz has quit [Quit: karlosz]
<rotateq> Can I pass a lambda-expression directly inside a SATISFIES with DEFTYPE?
<ldb> yes
<rotateq> can you give me a simple example? and then how to correctly handle (optional) type parameters
<beach> clhs satisfies
<beach> It has to be a symbol.
<beach> "lambda expressions are not allowed"
<rotateq> oh hm okay
<ldb> oh, i thought that's argument list
poselyqualityles has joined #commonlisp
clone_of_saturn has joined #commonlisp
<rotateq> and which additional type specifiers I remember are defined by default are: satisfies, mod, eql, complement, and, or, not; which did i miss?
clone_of_saturn is now known as saturn2
<rotateq> member
<beach> clhs 4.2.3
<beach> COMPLEMENT is not one.
<rotateq> stylewarning: okay it was about some libffi thingy so file it can't find on my machine, not gfortran
<rotateq> beach: oh! so good i asked, or should have asked "which of those did i remember correctly?"
<rotateq> And what is needed for writing efficienty TYPEPs?
poselyqualityles has quit [Ping timeout: 268 seconds]
<beach> An implementation that recognizes a call to TYPEP with a quoted type specifier and handles it efficiently.
<rotateq> mysterious :)
<rotateq> better maybe: how do you approach it in SICL?
<beach> You would want your implementation to turn (TYPEP ... 'CONS) into (CONSP ...) for instance.
dtman34 has quit [Ping timeout: 240 seconds]
<rotateq> yes, so with a compiler-macro?
<beach> Possibly. Or have the compiler handle it specially.
<rotateq> I see. Like when SBCL for example sees an addition with two arguments and calls #'sb-impl::two-arg-+ on those.
dtman34 has joined #commonlisp
<rotateq> Or as is in heisigs fast-generic-functions the example with first binary-add and the reducing more arguments with that.
<saturn2> you can consider the second argument to TYPEP as a little programming language which you compile into lisp
<rotateq> hmm ok
tyson2 has quit [Remote host closed the connection]
akoana has quit [Quit: leaving]
karlosz has joined #commonlisp
Bike has quit [Quit: Connection closed]
samebchase has joined #commonlisp
saturn2 has quit [Quit: WeeChat 1.0.1]
clone_of_saturn has joined #commonlisp
clone_of_saturn is now known as saturn2
edgar-rft has quit [Quit: Leaving]
<ldb> Well I pushed a PR to cl-cpus to fix problem on OS X
<ldb> but I think april also need a fix, it might be to confident to assume everyone gets 2+ CPU cores.
<ldb> ah, my version seems outdated, the master branch on github uses shell command now.
ldb has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
opalvaults[m] has joined #commonlisp
ldb has joined #commonlisp
s-liao has quit [Quit: Client closed]
ldb has quit [Quit: ERC (IRC client for Emacs 27.2)]
s-liao has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
frgo has joined #commonlisp
taiju has joined #commonlisp
karlosz has quit [Quit: karlosz]
lisp123 has quit [Remote host closed the connection]
s-liao has quit [Ping timeout: 256 seconds]
pve has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Read error: Connection reset by peer]
euandreh has quit [Ping timeout: 252 seconds]
s-liao has joined #commonlisp
euandreh has joined #commonlisp
Jing has quit [Remote host closed the connection]
Jing has joined #commonlisp
paule32 has joined #commonlisp
pranavats has left #commonlisp [#commonlisp]
edgar-rft has joined #commonlisp
shka has joined #commonlisp
edgar-rft has quit [Client Quit]
winning-luser has quit [Quit: Leaving]
gaqwas has joined #commonlisp
edgar-rft has joined #commonlisp
aartaka has joined #commonlisp
Jing_ has joined #commonlisp
Jing has quit [Read error: Connection reset by peer]
edgar-rft has quit [Quit: Leaving]
Colt has quit [Quit: Leaving]
Colt has joined #commonlisp
unixlisp has joined #commonlisp
unixlisp has left #commonlisp [#commonlisp]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
edgar-rft has joined #commonlisp
makomo has joined #commonlisp
waleee has joined #commonlisp
varjag has joined #commonlisp
waleee has quit [Quit: WeeChat 3.3]
hugo has quit [Quit: ZNC 1.8.2 - https://znc.in]
cage has joined #commonlisp
hugo has joined #commonlisp
s-liao has quit [Ping timeout: 256 seconds]
<scymtym> Nilby: i will need a bit more time. i'm testing everything in a container to ensure i'm not missing any dependencies or untracked local files
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
s-liao has joined #commonlisp
amb007 has joined #commonlisp
<edgar-rft> I hope you're not talking about a trash container
s-liao has quit [Ping timeout: 256 seconds]
<scymtym> docker container
Alfr has joined #commonlisp
<edgar-rft> that's close :-)
raeda has quit [Ping timeout: 250 seconds]
rito_ has joined #commonlisp
<scymtym> see, that's why i didn't say it in the first place
cosimone has quit [Remote host closed the connection]
tfb has joined #commonlisp
cosimone has joined #commonlisp
treflip has joined #commonlisp
lagash has quit [Ping timeout: 250 seconds]
KvL has joined #commonlisp
igemnace has quit [Ping timeout: 268 seconds]
tyson2 has joined #commonlisp
random-nick has joined #commonlisp
KvL has quit [Quit: KvL]
s-liao has joined #commonlisp
edgar-rft has quit [Quit: Leaving]
pranavats has joined #commonlisp
raeda has joined #commonlisp
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
tfb has quit [Quit: died]
perrierjouet has quit [Quit: WeeChat 3.3]
<Nilby> scymtym: No worries. Take your time. You've done a lot of amazing work.
<scymtym> Nilby: thanks. i almost have a reproducible description (with a little help from jackdaniel an the McCLIM side)
perrierjouet has joined #commonlisp
attila_lendvai has joined #commonlisp
s-liao has quit [Quit: Ping timeout (120 seconds)]
<Xach> Hmm, something with named-readtables seems to be different today
<Xach> I don't understand some of the failures in http://report.quicklisp.org/2021-12-18/failure-report.html
VincentVega has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
<scymtym> Xach: dougk has been tweaking symbols and packages lately. maybe an SBCL bug?
<VincentVega> Does trivia have optional elements? Thinking like (list (maybe a :default 1) b) which would match both '(0) and '(1 0).
<VincentVega> Quite annoying that I have to repeat the whole pattern at the moment.
lisp123 has joined #commonlisp
s-liao has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
s-liao has quit [Client Quit]
Guest74 has quit [Ping timeout: 245 seconds]
amb007 has joined #commonlisp
igemnace has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
<Xach> scymtym: i am not using cutting-edge sbcl and haven't updated recently
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
<scymtym> Xach: i see. your report said SBCL 2.1.10.195-bca540cd6 which i thought equated master, but i guess 195 is actually too low for that
lisp123 has joined #commonlisp
cosimone has quit [Read error: Connection reset by peer]
Bike has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
cosimone has joined #commonlisp
frodef_ has quit [Ping timeout: 240 seconds]
<etimmons> Xach: Looking at fof's code, I don't see it declare a dependency on named-readtables at all. It was probably relying on one of its deps to load it, but then that dep stopped doing it.
frodef has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
amb007 has quit [Ping timeout: 240 seconds]
Algernon69 has joined #commonlisp
Algernon91 has joined #commonlisp
amb007 has joined #commonlisp
frodef_ has joined #commonlisp
frodef has quit [Ping timeout: 240 seconds]
amb007 has quit [Ping timeout: 240 seconds]
Algernon69 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
edgar-rft has joined #commonlisp
frodef has joined #commonlisp
frodef_ has quit [Ping timeout: 240 seconds]
Posterdati has quit [Remote host closed the connection]
Guest74 has joined #commonlisp
lisp123_ has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
Posterdati has joined #commonlisp
frgo has quit []
frodef_ has joined #commonlisp
frodef has quit [Ping timeout: 240 seconds]
lagash has joined #commonlisp
<Xach> uh oh
frgo has joined #commonlisp
<beach> Xach: ?
<Xach> beach: undeclared dependencies are bad
<beach> Indeed.
<Xach> it has happened for fof apparently
<beach> Yes, I see.
Algernon666 has joined #commonlisp
CrashTestDummy has quit [Quit: Leaving]
Algernon91 has quit [Ping timeout: 268 seconds]
lisp123_ has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 240 seconds]
<ori> how do i write a loop in which the loop variable is set to the result of a function call? here's what I'm trying to do, in python: https://dpaste.org/J8qq. How would I express that in idiomatic lisp?
random-nick has joined #commonlisp
<mfiano> the FOR keyword will accomplish that
pranavats has left #commonlisp [Error from remote client]
voltron has joined #commonlisp
pranavats has joined #commonlisp
_73 has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
<pjb> ori: (loop :for result := (function-call))
lisp123 has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
srhm has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Nel has joined #commonlisp
Nel has quit [Client Quit]
sloanr has joined #commonlisp
<jeosol> Good mornings guys
<jeosol> Xach: Hi, I remember you have a S3 related CL library
<jeosol> Is anyone using S3 to save objects using, e.g., cl-store library?
treflip has quit [Quit: good night ✨]
karlosz has joined #commonlisp
Algernon666 has quit [Ping timeout: 268 seconds]
voltron has quit [Ping timeout: 240 seconds]
ajoberstar has joined #commonlisp
Josh_2 has joined #commonlisp
_73 has joined #commonlisp
<Josh_2> Hi. bknr signals a warning when you use change-persistent-class, Is there a way I can suppress this warning?
<Josh_2> I am using sbcl
<Josh_2> Oh I can probably use ignore-errors
manj-gnome has joined #commonlisp
<Josh_2> Yes I can
<Josh_2> silly me
<_73> is there anyway to essentially create a union type where a value of this type has to be a member of some set of symbols?
<_73> err forget that I mentioned union type.
<pjb> or what?
karlosz has quit [Quit: karlosz]
<manj-gnome> Any online "meetups" covering Common Lisp other than the one run by Atlanta Functional Programming (AtlantaFP)?
<_73> sorry ignore me
<pjb> _73: (deftype union-integer-or-enum () `(or integer (member foo bar baz)))
<_73> that is exactly what I meant thanks
srhm has quit [Remote host closed the connection]
srhm has joined #commonlisp
lisp123 has joined #commonlisp
srhm has quit [Remote host closed the connection]
srhm has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
<manj-gnome> @mfiano Thanks! Any others?
<mfiano> Not anymore that I can recall
cosimone has quit [Read error: Connection reset by peer]
rito_ has quit [Quit: Leaving]
waleee has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #commonlisp
karlosz has joined #commonlisp
notzmv has quit [Ping timeout: 260 seconds]
srhm has quit [Quit: Konversation terminated!]
srhm has joined #commonlisp
karlosz has quit [Ping timeout: 268 seconds]
voltron has joined #commonlisp
marcoxa has joined #commonlisp
tyson2 has joined #commonlisp
kakuhen has quit [Ping timeout: 240 seconds]
voltron has quit [Remote host closed the connection]
sloanr has quit [Remote host closed the connection]
sloanr has joined #commonlisp
NotThatRPG has joined #commonlisp
theothornhill has joined #commonlisp
NotThatRPG has quit [Client Quit]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
Guest74 has quit [Ping timeout: 256 seconds]
notzmv has joined #commonlisp
<marcoxa> '(hi)
<marcoxa> I was able to see the recording of the Twitch meeting on dpANS. Very nice.
theothornhill has quit [Remote host closed the connection]
lisp123_ has joined #commonlisp
<rotateq> yes great talk
cosimone has joined #commonlisp
Guest74 has joined #commonlisp
<marcoxa> Does anybody know (I suppose scymtym) where to get the slides?
aartaka has quit [Ping timeout: 268 seconds]
<phoe> marcoxa: I didn't get the slides, just the video - so scymtym it will be
jealousmonk has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
lisp123_ has quit [Remote host closed the connection]
<scymtym> wait. that is slightly outdated. let me update first
kakuhen has joined #commonlisp
kakuhen has quit [Remote host closed the connection]
<scymtym> done
<marcoxa> Thanks...
attila_lendvai has joined #commonlisp
<frodef_> So I have my code in ~/src/foo/foo.asd, foo.lisp, package.lisp, etc. How am I supposed to load this foo system into a fresh (sbcl/slime) lisp? I have a symlink ~/common-lisp -> ~/src, but I seem to be unable to inform asdf how to find my foo system..?
manj-gnome has quit [Ping timeout: 256 seconds]
cosimone has quit [Remote host closed the connection]
<jeosol> frodef_: there are several options, one of which involves putting your system under ql's local-projects. But if you are trying to use asdf directly to load, i think you can configure it to find your system by adding a configuration file under /.config/common-lisp/source-registry.conf.d/
<jeosol> The content of the file can be: (:tree "/home/frodef/your/directory/containing/your/codes")
<jeosol> frodef_: In the earlier comment, I mean under quicklisp's local-projects directory and then you'd use ql to load it
<frodef_> I tried symlinking it into ql's local-projects too, to no avail. Now I tried to make a non-symlink ~/common-lisp/foo/ and that seemed to work.
<frodef_> I kinda suspect that symlinks are somewhat frowned upon by the lisp, for whatever reason.
tyson2 has quit [Remote host closed the connection]
aartaka has joined #commonlisp
sloanr has quit [Remote host closed the connection]
sloanr has joined #commonlisp
<frodef_> so apparently it works if I symlink ~/common-lisp/foo to ~/src/foo, but not if I link ~/common-lisp to ~/src. How quaint.
<phoe> frodef_: maybe ASDF does not descend into subdirectories or something? maybe you need to force it to
attila_lendvai has quit [Ping timeout: 240 seconds]
alaa has joined #commonlisp
theothornhill has joined #commonlisp
srhm has quit [Remote host closed the connection]
srhm has joined #commonlisp
theothornhill has quit [Remote host closed the connection]
sloanr has quit [Remote host closed the connection]
anticomputer_ is now known as anticomputer
alaa has quit [Quit: Leaving]
lisp123 has joined #commonlisp
<etimmons> ASDF descends into subdirectories of ~/common-lisp
<etimmons> frodef_: what implementation?
<frodef_> sbcl
antonv has joined #commonlisp
<frodef_> etimmons: apparently ASDF does not descend if ~/common-lisp is merely a symlink to some other directory.
lisp123 has quit [Ping timeout: 240 seconds]
edgar-rft has quit [Quit: Leaving]
edgar-rft has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
shka has quit [Ping timeout: 240 seconds]
dtman34 has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
dtman34 has joined #commonlisp
rgherdt has quit [Ping timeout: 260 seconds]
varjag has quit [Ping timeout: 256 seconds]
Algernon666 has joined #commonlisp
varjag has joined #commonlisp
_73 has quit [Remote host closed the connection]
varjag has quit [Ping timeout: 240 seconds]
varjag has joined #commonlisp
ajoberstar has quit [Quit: ERC (IRC client for Emacs 27.1)]
varjag has quit [Ping timeout: 260 seconds]
<Xach> jeosol: are you asking me about cl-store practices?
Guest74 has quit [Quit: Connection closed]
ajoberstar has joined #commonlisp
varjag has joined #commonlisp
varjag has quit [Ping timeout: 256 seconds]
Algernon666 has quit [Ping timeout: 260 seconds]
Jing_ has quit [Remote host closed the connection]
Jing has joined #commonlisp
marcoxa has quit [Quit: Time to sleep]