phoe 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/>
ebrasca has quit [Ping timeout: 250 seconds]
fitzsim has joined #commonlisp
hashfunc803 has quit [Ping timeout: 240 seconds]
s-liao has joined #commonlisp
dirtcastle has quit [Ping timeout: 240 seconds]
dirtcastle has joined #commonlisp
hirez has quit [Ping timeout: 252 seconds]
Guest74 has quit [Quit: Connection closed]
lisp123 has joined #commonlisp
random-nick has quit [Ping timeout: 240 seconds]
<lisp123> dbotton: Do you have an index for your tutorial, seems like the link was just the intro
dirtcastle has quit [Ping timeout: 240 seconds]
Guest32 has joined #commonlisp
dirtcastle has joined #commonlisp
Guest32 has quit [Client Quit]
gxt has quit [Ping timeout: 240 seconds]
dirtcastle has quit [Ping timeout: 240 seconds]
gxt has joined #commonlisp
dirtcastle has joined #commonlisp
dirtcastle has quit [Ping timeout: 240 seconds]
hirez has joined #commonlisp
hirez has quit [Ping timeout: 256 seconds]
lisp123 has quit [Remote host closed the connection]
dirtcastle has joined #commonlisp
brocolis has joined #commonlisp
dirtcastle has quit [Ping timeout: 256 seconds]
jmes has quit [Remote host closed the connection]
brobot has joined #commonlisp
lisp123 has joined #commonlisp
s-liao has quit [Quit: Client closed]
lisp123 has quit [Ping timeout: 256 seconds]
hirez has joined #commonlisp
Desk has quit [Quit: ERC (IRC client for Emacs 27.2)]
brocolis has quit [Quit: Quit]
morganw has quit [Remote host closed the connection]
hirez has quit [Quit: Later]
Psybur has quit [Remote host closed the connection]
zacque has joined #commonlisp
orestarod has quit [Ping timeout: 252 seconds]
hirez has joined #commonlisp
s-liao has joined #commonlisp
Inline__ has joined #commonlisp
Inline has quit [Ping timeout: 252 seconds]
igemnace has joined #commonlisp
waleee has quit [Ping timeout: 260 seconds]
s-liao91 has joined #commonlisp
s-liao has quit [Ping timeout: 256 seconds]
tyson2 has quit [Remote host closed the connection]
Oladon has joined #commonlisp
Catie has quit [Quit: headed home]
dirtcastle has joined #commonlisp
<beach> Good morning everyone!
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #commonlisp
dirtcastle has quit [Ping timeout: 240 seconds]
<jeosol> Good morning beach!
<jeosol> How are you?
<beach> I'll answer somewhat on topic: There are just a few days left until final versions of ELS papers must be uploaded, and I am almost done. But I want to know more about how agnostic-lizard works so that I can stick in a paragraph for it in the paper. And I am working on my invited ELS talk, but there is no deadline for that, other than ELS of course.
<beach> What about you?
semz_ has joined #commonlisp
semz has quit [Ping timeout: 250 seconds]
Bike has quit [Quit: Connection closed]
zacque has quit [Ping timeout: 272 seconds]
semz_ is now known as semz
<jeosol> That's great, I guess you provided some update. Thanks for that
<jeosol> A bit stressful for me from now and next two weeks as I am moving places/changing houses.
<jeosol> Regarding ELS, next year, which should be in person, I guess. My project is done now, so i should have more time ahead to write the paper. It's always stressful living it close to deadline then I procrastinate again -- to much work.
<neominimum> beach: regarding agnostic-lizard have you seen this? https://zenodo.org/record/3254669
s-liao91 has quit [Quit: Client closed]
<beach> neominimum: Thanks for reminding me of that paper. I will definitely use it as a source of information.
<beach> jeosol: Remind me of the project that is now done?
<jeosol> Yeah, it's an integrated application I was building over last 4-5 years. It mostly for doing physics simulation (via 3rd partly software). The CL does all the process, writing files, submitting jobs (in parallel). It also has several optimization algorithms for making optimal decisions. The last part was getting this to work through HTTP request:
<jeosol> call hunchentoot server, that then fires the rest of the CL application.
<jeosol> I apologize if all that is convoluted.
<jeosol> I have asked questions here over the years from how to layer and organize CLOS classes in large projects to other minute CL parts
<beach> Right. Thanks for the reminder.
<jeosol> Hopefully, I will do a better job with a write. I am just setting up demo . Though the thing with the project, a user will normally not interact with the CL side as you just make a HTTP request - at least for the exposed parts
<jeosol> beach: I am documenting the project now with little write ups (.md files and .py and .cl notebooks)
<jeosol> beach: you are welcome
<beach> I see. So the plan is to write a paper about it, and submit to ELS'23?
<jeosol> beach: I'll definitely use some review from you and the other guys here to get a good paper
<jeosol> beach: Yes, that's correct. ELS '23
<beach> Sounds good.
<jeosol> I had too much on my hands. I actually started it but other commitments just made it difficult to be able to push it through
<beach> I fully understand.
notzmv has quit [Remote host closed the connection]
notzmv has joined #commonlisp
Oladon has quit [Quit: Leaving.]
<beach> neominimum: Re-reading that paper, I realize I don't have to include my own analysis of existing code walkers, as MichaelRaskin has a much better overview anyway. So I'll just cite his paper. So thanks again for reminding me.
<neominimum> you're welcome :)
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
lisp123 has joined #commonlisp
hashfunc803 has joined #commonlisp
jealousmonk has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 27.1)]
lisp123 has quit [Remote host closed the connection]
igemnace has quit [Remote host closed the connection]
wyrd has quit [Ping timeout: 240 seconds]
wyrd has joined #commonlisp
frgo has joined #commonlisp
<hashfunc803> is there a way to eliminate the warning when using EVAL on an already defined form?
ocan has joined #commonlisp
<hashfunc803> the warning: "WARNING: redefining PACKAGE::SOMETHING in DEFUN"
<hashfunc803> or better yet, getting the return value of EVAL without _actually_ evaluating the form
<beach> Getting the return value of EVAL without evaluating the form would be undecidable.
<White_Flame> (setf (fdefinition 'something) (lambda ...))
<White_Flame> but that assumes you're not doing DEFUN again
<hashfunc803> White_Flame: i like that strategy. i could perhaps save the FDEFINITION in a temporary variable and then restore?
<White_Flame> that would be possible
<hashfunc803> White_Flame: awesome. i think i'm going to try that
<hashfunc803> beach: White_Flame: thanks
<White_Flame> could be a problem when other functions in the compiation unit bind too tightly
<White_Flame> and would still refer to the old definition, but I'm not an expert on when that happens
<White_Flame> obviously don't declare it inline either :-P
<White_Flame> #'foo will also grab the function at its evaluation time, while passing 'foo as a function will look it up on the symbol every time
<White_Flame> *every time that it's funcalled/applied
<White_Flame> so there's lots of edge issues depending on what you're doing. It can be much easier to just explicitly use function objects for certain dynamic stituations
ocan has quit [Quit: Leaving]
lisp123 has joined #commonlisp
<White_Flame> eg instead of (defun foo () ...) that gets swapped out, (defvar *foo* (lambda () ...))
lisp123 has quit [Ping timeout: 240 seconds]
lisp123 has joined #commonlisp
<hashfunc803> White_Flame: ok thanks, i'll try to keep all of that in mind
<beach> dbotton: The indentation of the body of your FACTORIAL function is incorrect, and since you are using ZEROP, you might want to use 1- as well.
<beach> dbotton: The name of the language is written "Common Lisp" and not "common lisp".
<beach> dbotton: And the name of the general language family is written "Lisp", and not "lisp".
<beach> dbotton: In an S-expression, the opening parenthesis is usually not followed by a function. It is followed by the name of an operator, and that operator may be a function or something else.
<beach> dbotton: (list 1 2 3) "is" not a list of three elements, but four. I suggest you be more careful from the start with the distinction between a form and what that form evaluates to.
<beach> dbotton: And I suggest being more careful about complete sentences.
<beach> dbotton: "ie" -> "i.e."
<beach> dbotton: The tortoise doesn't win the hare, it might win "over" the hare.
<beach> dbotton: Your punctuation is off in several sentences. But it is hard to tell what is deliberate style on your part and what are mistakes.
<beach> dbotton: It is strange to say "operators and functions" since a function is also an operator.
<lisp123> Maybe special operators, macros and functions would be better there
<lisp123> special forms*
<beach> I think just "operator" is fine. Otherwise, you will introduce too much stuff too early.
<lisp123> T
<beach> I don't much like that style of writing, but then, I am not part of the target group for this text.
<lisp123> Yeah I think its for a different target audience - sometimes the informality helps there (all the above comments are good btw)
<lisp123> Of all the Lisp authors, I prefer GJS the most
<lisp123> and yours ;)
<beach> Thanks. And informal is OK with me for some other target group, but when the informal style is also incorrect, like in Land of Lisp, I can no longer approve.
flip214 has quit [Ping timeout: 256 seconds]
flip214 has joined #commonlisp
v88m has joined #commonlisp
flip214 has quit [Read error: Connection reset by peer]
flip214 has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
cage has joined #commonlisp
flip214 is now known as flip768
flip768 is now known as flip214
lisp123 has joined #commonlisp
v88m has quit [Ping timeout: 272 seconds]
v88m has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
v88m has quit [Ping timeout: 245 seconds]
shka has joined #commonlisp
jeosol has quit [Quit: Client closed]
lisp123 has joined #commonlisp
Inline__ is now known as Inline
<gjvc> "introduce too much stuff too early." -- this is a very important thing to be aware of
Dynom has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
notzmv has quit [Ping timeout: 260 seconds]
lisp123 has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
hashfunc803 has quit [Ping timeout: 240 seconds]
lisp123 has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 245 seconds]
amb007 has joined #commonlisp
s-liao has joined #commonlisp
tyson2 has joined #commonlisp
zachel_ has quit [Quit: DIsconnected: v7+nano]
aartaka has joined #commonlisp
zachel has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #commonlisp
s-liao has quit [Quit: Client closed]
s-liao has joined #commonlisp
Cymew has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
igemnace has joined #commonlisp
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
mogan90 has joined #commonlisp
attila_lendvai has joined #commonlisp
lisp123 has joined #commonlisp
igemnace has quit [Remote host closed the connection]
random-nick has joined #commonlisp
lisp123 has quit [Ping timeout: 250 seconds]
Everything has joined #commonlisp
notzmv has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
gxt has quit [Remote host closed the connection]
gxt_ has joined #commonlisp
s-liao has quit [Quit: Client closed]
attila_lendvai has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
xaltsc has joined #commonlisp
amb007 has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
orestarod has joined #commonlisp
s-liao has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 245 seconds]
pranavats has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
lisp123 has joined #commonlisp
Everything has quit [Quit: leaving]
lisp123 has quit [Ping timeout: 256 seconds]
s-liao has quit [Quit: Client closed]
Bike has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Ping timeout: 256 seconds]
cosimone has joined #commonlisp
lagash has quit [Ping timeout: 250 seconds]
jealousmonk has joined #commonlisp
morganw has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 256 seconds]
Cymew has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
Cymew has joined #commonlisp
bollu has quit [Quit: Ping timeout (120 seconds)]
bollu has joined #commonlisp
lisp123 has joined #commonlisp
aartaka has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
waleee has joined #commonlisp
brobot has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
v88m has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
mogan90 has quit [Ping timeout: 240 seconds]
McParen has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
lagash has joined #commonlisp
mogan90 has joined #commonlisp
hobo has quit [Ping timeout: 240 seconds]
euandreh has quit [Ping timeout: 240 seconds]
euandreh has joined #commonlisp
simendsjo has joined #commonlisp
euandreh has quit [Ping timeout: 252 seconds]
euandreh has joined #commonlisp
lisp123 has joined #commonlisp
euandreh has quit [Ping timeout: 240 seconds]
McParen has quit [Ping timeout: 250 seconds]
Maxc4m has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
hineios5 has joined #commonlisp
hineios has quit [Ping timeout: 256 seconds]
hineios5 is now known as hineios
citizenandrew has joined #commonlisp
tyson2 has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 252 seconds]
Lord_of_Life has quit [Ping timeout: 250 seconds]
Lord_of_Life has joined #commonlisp
Maxc4m has quit [Quit: Maxc4m]
euandreh has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
simendsjo has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
Inline has quit [Quit: Leaving]
eddof13 has joined #commonlisp
Inline has joined #commonlisp
jeosol has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has quit [Quit: ERC (IRC client for Emacs 27.1)]
Dynom has quit [Quit: WeeChat 3.4]
tyson2 has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
eddof13 has joined #commonlisp
wyrd has quit [Ping timeout: 240 seconds]
wyrd has joined #commonlisp
Cymew has quit [Ping timeout: 272 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 245 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hashfunc803 has joined #commonlisp
eddof13 has joined #commonlisp
aartaka has joined #commonlisp
<hashfunc803> is there a way to access the field of a currently-being-constructed object?
<hashfunc803> meaning, in pseudo-code: (make-person :name "hashfunc" :nickname (subseq (<-:name) 0 4))
aartaka has quit [Ping timeout: 256 seconds]
<hashfunc803> where :NICKNAME will evaluate to "hash"
aartaka has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pjb> hashfunc803: depends on what kind of object, and where?
<pjb> hashfunc803: in general, one uses LET.
<pjb> (let ((name "hashfunc")) (make-person :name name" :nickname (subseq name 0 4)))
<pjb> (let ((name "hashfunc")) (make-person :name name :nickname (subseq name 0 4)))
Oladon has joined #commonlisp
<pjb> hashfunc803: with defstruct: (defstruct (person (:constructor make-person (&key name (nickname (subseq name 0 4))))) name nickname) (make-person :name "hashfunc") #| --> #S(person :name "hashfunc" :nickname "hash") |#
<hashfunc803> pjb: ok thanks
<pjb> hashfunc803: or with boa constructors: (defstruct (person (:constructor make-person (name &aux (nickname (subseq name 0 4))))) name nickname) (make-person "hashfunc") #| --> #S(person :name "hashfunc" :nickname "hash") |# or use &optional instead of &aux if you want to be able to pass a nickname.
<pjb> hashfunc803: in the case of standard-object, you would do that in the initialize-instance or shared-instance method.
<hashfunc803> clhs &aux
amb007 has quit [Ping timeout: 240 seconds]
hashfunc803 has quit [Ping timeout: 240 seconds]
eddof13 has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 245 seconds]
waleee has joined #commonlisp
hashfuncadb has joined #commonlisp
eddof13 has joined #commonlisp