freenode/#lisp - IRC Chatlog
Search
12:05:06
mfiano
Is anyone familiar with Common Lisp development on NixOS? It's slightly weird, because CFFI cannot find foreign libraries, given that they are not located in the standard locations.
12:37:26
ecraven
so if you uninstall that exact version, your binary won't work, even if there is a slightly different library version installed (which is on purpose)
12:41:48
mfiano
I'm probably going back to Arch for my dev box. I spent the last 2 weeks migrating 10 machines over to NixOS and was hoping to get back to coding this weekend
12:42:46
mfiano
ldconfig: Can't open cache file /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/etc/ld.so.cache
13:27:31
hairydeathtrap
Hi. Is European Lisp Symposium registration down? Can't register, it says "Missing fields: Credit card transaction, Type of attendance, Name, Email". Feels like Java enterprise.
13:30:46
hairydeathtrap
Shinmera: I don't think I have JS disabled. I've tried in 4 browsers, mobile Safari included
13:31:10
Shinmera
Hm. I tested it on all platforms and browsers available to me and it worked fine on all.
13:31:25
Shinmera
That error sounds like it's not submitting the fields to the server script properly.
13:35:08
beach
Speaking of which, both me and my (admittedly small) family are coming. Must we register twice?
13:37:08
hairydeathtrap
Shimera: https://european-lisp-symposium.org/static/register.php returns 400, request body: item=ELS-2018-early-regular&item=ELS-2018-banquet&payment=stripe
13:38:30
Shinmera
hairydeathtrap: Okey, right, so the fields are indeed missing from the body, meaning something's going wrong on the JS side.
13:41:30
Shinmera
hairydeathtrap: It looks like your browser is just submitting the form, instead of letting JS do it
13:55:01
Shinmera
He probably regenerated the page on a system that didn't have the secrets configured properly. Sorry about that.
14:01:21
Shinmera
Done. https://github.com/european-lisp-symposium/els-web/commit/4ac333b4ebfa1d798921f64b3b0c8f0adeb34a29
14:09:54
hajovonta
It turned out I can't attend the conference. We've just bought a house and there is a lot to arrange.
14:54:43
jmercouris
So, I am at the point in my program where I have to start defining the transport language and API that will be supported between my lisp core and foreign program
14:54:55
jmercouris
For this reason I was thinking about some way to convert sexpr to XML or something like that
14:55:08
jmercouris
I took a look here: https://www.cliki.net/XML and I came across https://common-lisp.net/project/s-xml-rpc/
14:55:51
jmercouris
Can anyone tell me if it is a smart or stupid idea to try to convert sexpr to XML for execution in my other environment?
14:56:33
jmercouris
I'm imagining something like this (remote-execute '(set-minibuffer-height 80)) which will produce some html like <set-minibuffer-height>80</set-minibuffer-height> and send that out to my foreign code client
15:01:09
jmercouris
so let's say I make a function call that doesn't provide a literal value, but instead a symbol
15:01:42
jmercouris
but what if I want somethings to remain as symbols for the purposes of callbacks
15:02:15
jmercouris
the foreing code needs to be able to send a message to the lisp side and know to invoke call-back-to-invoke
15:09:36
beach
What Emacs does to indent DEFCLASS is really not very good. I am suggesting this way instead: https://pastebin.com/ThBGvF3v Opinions?
15:15:57
Shinmera
beach: How do you feel about inline indenting? As in, providing spacing between items in a line.
15:19:29
jcowan
so it is just a matter of giving the value of a keyword (pseudo-)argument an extra indent when it is fat
15:20:54
beach
Shinmera: I would have to think about that. I assume you mean aligning things in columns, right?
15:22:31
beach
jcowan: Indenting the slot options with respect to the slot name, and the value of the slot option with respect to the name of the slot option.
15:23:26
beach
Pierpa: In that case, nothing will change. But when the slot name has many characters in it, and when the initform is complicated, then something better could be done than what Emacs does.
15:25:53
Shinmera
beach: I generally avoid doing it, but only because the cost of fixing the indentation on a change is too high. If the editor could automate it, then that would fall away.
15:26:11
jmercouris
Shinmera: yeah, but anyone who doesn't have that editor has that same pain point
15:26:21
beach
Shinmera: It gets complicated then, because you may have one line that says `x very-long-value-for-that-very-short-name' and one line that says `very-long-name-for-a-really-short-value y'
15:27:50
Shinmera
beach: The column aligning would also be helpful for things like a series of let bindings or defvars, etc.
15:30:21
beach
Shinmera: Oh, I agree. But again, because of the risk of significantly longer lines when columns are aligned, it has to be a choice.
15:31:28
beach
jmercouris: If we do nothing better than the lowest common denominator, we won't make any progress.
15:37:14
beach
Shinmera: I think an indentation command like that would have to be applied to a region containing lines with the same number of "things" in each one, except possibly for terminating comments.
15:38:46
jmercouris
I get that it is still kind of catering to the lowest common denominator, but it will help ease the transition, assuming climacs may one day be the dominant ediitor
15:40:43
beach
jmercouris: Writing two or more editors in one would be too hard for me. So I don't think I will try any compatibility mode, neither for Emacs, for VIM, or for gedit.
15:41:50
beach
jmercouris: Again, I don't care if I am the only person using it. Therefore, making it easier for others to adopt is not a priority.
15:45:39
jdz
beach: Sorry, I have not read all of the backlog here, just looked at your paste link. Not sure what you mean by "use something like this"?
15:51:11
beach
jmercouris: Thanks. But my effort is compensated by papers that explain the innovative parts of what I write.
15:51:52
jdz
I don't remember having multiline or long initforms, but I'd still initform code on the same line as the :initform keyword.
15:52:46
jcowan
I also am writing an editor primarily for personal use, though perhaps some other people will like it
15:53:27
beach
jcowan: What technique does it use in order to indent Common Lisp code, and what information does it present the Common Lisp programmer with? :)
15:53:28
jcowan
It will have many non-features, such as syntax coloring, full-screen editing, single-keystroke commands, and so on.
15:53:58
jcowan
I am currently working out the command set, and haven't decided on an implementation language yet
15:54:54
beach
jcowan: I was talking about the user being a Common Lisp programmer who would want to see the editor help with information about the program.
15:55:47
jcowan
The most interesting thing will be how to do parenthesis-bouncing in the context of CLI editing
15:57:07
jcowan
I currently use the ex mode of vim, and will stay fairly close to that, but I also intend to add the structural regular expressions of sam, and I do drop into vi mode when I want to do paren-bouncing, so I want a replacement for that
16:22:42
jmercouris
when I run the following in a standalone sbcl it works https://gist.github.com/8210dad39133fa1f45cb981969cfb3de
16:23:15
jmercouris
this is obviously unacceptable, as I need to be able to test in slime, any idea why this might be?
16:25:34
flip214
jmercouris: can you get a thread list at that point, and look where they're hanging?
16:38:25
_death
I liked the s-libraries when I started writing lisp.. apparently he writes smalltalk now
17:49:35
whoman
jmercouris: btw, i wanted to ask you for a week or two, what project you were working on? i cant remember what you said about it exactly but it sounded very cool
18:33:34
jmercouris
right now I am making a very deep changing removing the FFI by implementing a server/client interface between a lisp core and a "dumb" gui frontend
23:22:14
fouric
Is there a way to get a bit more detail about *what* is taking up all that space in a SBCL (or any other implementation, really) core?