libera/#commonlisp - IRC Chatlog
Search
3:09:03
hayley
prokhor: Indeed a parallel garbage collector for SBCL. I have to implement some compaction, and then it should be ready for...well, I wouldn't run it in production then, but it should be usable enough.
3:12:42
pony
hello. https://bpa.st/O6S2K when I change ast on line 30 to (), it seems the setf on line 34 doesn't work. I expected it to work like (let ((a ())) (setf a (append a (list 1 2 3))) a).
3:20:43
hayley
The empty list is NIL, so that could go wrong if you use NIL to mean that a function couldn't find anything to parse.
3:22:39
hayley
(trace parse-expr parse-atom parse-list parse-elems) might also help you spot any oddities too.
3:23:27
beach
pony: You need to work on the layout of your code if you are going to submit it for us to read.
3:31:38
hayley
beach: Hopefully this document <https://gist.github.com/no-defun-allowed/f79ea6e211b5f078e349c53937b5be74> is more successful at explaining how to adapt the "partial read barrier" idea for Common Lisp.
5:09:14
seok
I've been trying openai asking it to code some common lisp. Sometimes it makes mistakes but performs quite well
5:09:57
hayley
I have to convince the first years at university that ChatGPT is getting their logic homework wrong, and not the first years.
5:11:19
seok
I haven't tried it with other programming languages but there may not be enough samples for common lisp to learn yet
5:11:38
hayley
They've yet to learn to get the computer to do it. Well, I guess ChatGPT is "getting the computer to do it", but I mean to write programs.
5:13:47
hayley
One student asked something like "What is P(P(P({1, 2})))" (where P is the power-set function) and ChatGPT got it all wrong. Maybe asking ChatGPT for code to compute the power-set would work better though.
5:14:15
hayley
In general I hear asking it to "show working out" works better, but it did show its working out for that prompt question, and the working out was all wrong.
5:16:35
seok
ChatGPT indeed makes mistakes on various kinds of problems, and rectifies them if you point it out, but I cannot be sure if the rectification is correct
5:51:36
White_Flame
but yeah, I think many people end up with a defclass* that has all their various specific needs anyway
8:53:35
beach
I think this library: https://github.com/robert-strandh/Constrictor is close to being complete.
8:53:44
beach
This is what I have done so far: https://github.com/robert-strandh/Constrictor/blob/master/Code/TODO.text
10:49:33
jackdaniel
making ChatGPT do things being like '“You’re saying it wrong,” Harry heard Hermione snap. “It’s Wing-gar-dium Levi-o-sa, make the ‘gar’ nice and long.”'