freenode/#lisp - IRC Chatlog
Search
15:11:28
Bike
of course, if you don't know the type, this could cause problems. for example if you guess something is a null terminated string and it turns out to be a two megabyte array with no zeroes in it
18:16:29
jcowan
beach: I think that if you approach the relational model without assumptions and without a filter, you find that it has its own kind of consistency and in fact is quite beautiful in the mathematical sense.
18:17:02
jcowan
Granted, SQL databases have made serious compromises with the model like allowing users to depend on the order of columns and rows.
18:17:52
jcowan
Without meaning to offend, you sound to me like someone discovering Lisp and saying "My suspicions are confirmed; this is not like Java at all!"
18:21:14
jcowan
"Why would anyone give up the rigor of statically typed OOP for this big ball of mud that allows you to write just any old thing?"
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.