freenode/#lisp - IRC Chatlog
Search
18:29:19
jmercouris
So we could have the same function redefined with different argument counts like in Java
18:31:49
Gnuxie[m]
not sure there's much need for that as none of CL (the language) needs them, so would make sense for it to be a portable library
18:33:30
Gnuxie[m]
like, there's nothing that special that is required for their implementation and i don't know how much you'll really lose in performance to dispatch either, it doesn't seem to be that complicated at a first look
18:33:34
beach
jcowan: I know the beauty of it. I took a graduate-level course at Hopkins. And it makes a lot of sense as long as you consider only numbers and strings, but it gets more complicated when you want to preserve identity.
18:52:23
jmercouris
Alfr: I believe you are correct ambiguity in that case would make some dispatch unsolvable
20:16:42
Bike
you could think of those java and C++ functions as being multiple functions with different types that happen to have the same name. the compiler can unambiguously figure out which definition a particular call will use. lisp has apply so in general it can't. of course you could still make it mostly free with some pretty basic compiler macroing
21:56:13
Shinmera
And the award for Longest Symbol Name Ever Devised goes tooooo.... ASDF (of course), with ASDF/BACKWARD-INTERFACE::*DEPRECATED-FUNCTION-STYLE-WARNING-ENABLE-ASDF-BINARY-LOCATIONS-COMPATIBILITY-NOTIFIED-P*
22:15:09
jcowan
beach: That was a very old version of the model. The latest version allows arbitrary objects (in the Lisp sense) as primitives.
22:17:09
gabc
Hi! I'm trying to understand conditions, and I keep getting an "Unbound condition slot" error. I reproduced it here, can anybody can see the issue? Thanks! https://plaster.tymoon.eu/view/2369#2369
0:20:02
MrtnDk[m]
I got my common lisp system up and running with emacs, slime et all on my raspberry pi, thanks to some of your guys. Now I am trying to get it running on my laptop. I installed sbcl, slime (from both ubuntu and melpa), but I can't seem to get the repl running. I'm sure I'm forgetting something basic.
0:24:14
MrtnDk[m]
Searching for program: Ingen sådan fil eller filkatalog, lisp (No such file or directory, lisp)
0:34:12
johnjay
iirc don't you have to issue two commands, one to start hte repl and one to start slime-mode?
0:35:04
MrtnDk[m]
johnjay: I evaluated the spell I got from Xach, and then did "M-x slime" in the lisp buffer, i guess.
0:39:52
MrtnDk[m]
Xach: Yeah, but my system doesn't ... which is why I translated the error in parens. 😀
0:40:43
MrtnDk[m]
johnjay: Strange. Slime is enough for me, but I have to C-x C-o back to the lispy buffer.
0:41:26
MrtnDk[m]
johnjay: Yeah, "filkatalog" is "file catalog" in danish, which now a days is known as "directory" in English.
0:42:13
MrtnDk[m]
johnjay: Oh ... my program is very small .. maybe it is compatible with Emacs-lisp and didn't realise .. .let me test.
0:44:47
johnjay
if you open a file test.lisp and just put (+ 2 2) in it and do M-x slime what happens if you do C-x C-e? the same?
0:45:25
MrtnDk[m]
I wonder if I did something else. I put the (setq ...) thingy in my init file, so I will try and restart emacs, and do that. ... I will save test.lisp first though.
0:46:03
johnjay
i'm not as concerned because it seems the lisp process in the repl is the same one it's using for C-x C-e and such
0:46:58
MrtnDk[m]
Yes .. it works .. but maybe because I have swank (or what it is called) running already?
0:50:05
MrtnDk[m]
It still works. I do have some slime in my initfile, although I don't remember putting it there.
0:51:48
MrtnDk[m]
Hmmm .. it just seems to be amount a list of packagenames sent to "package-selected-packages".
1:09:38
MrtnDk[m]
johnjay: I installed both as Ubuntu package and using "M-x package-list-package", locate slime and install it. That requires you to have configured Melpa in your init file though.
2:08:51
fiddlerwoaroof
jcowan: yeah, at this point I've learned half a dozen different ways of writing programs, and I've generally noticed that each style has people who say it's "only good in theory", people who wonder why anyone would use anything else and people running large systems on the style.
2:10:17
fiddlerwoaroof
SQL, in particular, isn't my favorite language, but once I understood the relational model somewhat, it can be really productive to learn how to model and solve certain sorts of problems in that paradigm
3:19:42
beach
For the record, I am totally convinced both about the beauty and the usefulness of the relational model. I don't think I have said anything else.
6:09:44
beach
I just watched a talk on YouTube entitled "Soldiers and Scouts: Why our minds weren't built for truth" by Julia Galef. I think her research might provide insight into the reason for the dismal state of the software industry, and software development in general.
6:09:46
beach
In particular, she reiterates a result that I have seen before, namely that a high degree of education in a domain makes people MORE LIKELY to misinterpret information so as to support their existing point of view.
6:12:06
beach
I am sure this research has some interesting implications with respect to the use of Common Lisp, both in industry and in academia, but I am not yet sure what those implications are.