freenode/lisp - IRC Chatlog
Search
5:01:45
no-defun-allowed
Probably not, you'd be trying to make an ice sculpture by melting ice with your breath.
5:03:42
fiddlerwoaroof
In theory, this would allow VSCode to have access to at least some of the information it needs to support common lisp
5:04:26
no-defun-allowed
I don't think LSP has the interactivity SLIME (or even a straight CL REPL) offers.
5:06:15
no-defun-allowed
The limitations exist in LSP itself to my knowledge; there are no commands for sending code to a language process.
5:06:59
djeis[m]
You need something like a debugger adapter if you want to send code to a process in VSCode.
5:07:36
no-defun-allowed
Admittedly, a larger particle such as the top quark would have been a better namesake.
5:07:40
fiddlerwoaroof
otherwise, unless you want to use emacs, your choices are lem (written in CL, but has an electron frontend, I believe) or vim
5:08:13
fiddlerwoaroof
There are at least two different vim plugins that I've heard that people use: slimv and vlime
5:08:40
no-defun-allowed
The difference between Atom and Emacs's memory consumption is comparable to the difference in electron and top quark sizes. Anyway, back to Lisp.
5:08:41
djeis[m]
Honestly Lisp is best used with very tight editor integration, and atom slime covers the basics but the best integration is with emacs.
5:09:40
fiddlerwoaroof
Also, lem looks like it might be better than either, if I could be bothered to learn a whole new editor without much of a community :)
5:09:45
djeis[m]
Imo they only lag behind slime/sly by a small bit, and sometimes have interesting unique features.
5:09:51
c4droid
fiddlerwoaroof: If i want to use emacs, i need a pretty good configuration, I wroted configuration is too simple, not modulized
5:10:56
fiddlerwoaroof
Although, both of those might be more for people that want a vim-like editing experience
5:11:21
c4droid
fiddlerwoaroof: I don't like that, that to heavy to me. I like lightweight development environment
5:11:29
djeis[m]
I've used both spacemacs and doom. Doom is a little less simple to set up, and catching up on features still, but it looks nice and is really snappy.
5:13:26
no-defun-allowed
Some of the greatest Lisp editors actually ran in the Lisp they were controlling.
5:13:56
no-defun-allowed
beach: there are more opinionated configurations for Emacs that come with a lot of packages preinstalled or managed.
5:13:58
djeis[m]
Emacs is already a really heavyweight editor, and much of spacemacs and doom is just defaults for other packages.
5:14:54
no-defun-allowed
For example, spacemacs comes with (optional) vim emulation and quite a fair bit of theming out of the box.
5:15:14
djeis[m]
But I understand the instinct to build your configuration yourself so you understand it.
5:15:23
beach
no-defun-allowed: But who cares if you don't use it? Is it the cost of the disk space?
5:16:13
c4droid
beach: yeah. I like myself to write configure code to change emacs let me can free to code.
5:16:19
aeth
I hope doom-emacs is a modification of the Doom source release to integrate GNU Emacs into Doom (the original, not the 2016 one, obviously)
5:16:30
no-defun-allowed
Well, I think Spacemacs is a good way to convert vim users, so it feels a bit like a vim replica more than an Emacs.
5:16:34
fiddlerwoaroof
personally, I found that alot of the fancy emacs configs were too much for me
5:16:45
verisimilitude
File storage space, RAM, speed, and other considerations are still important and likely always will be, so long as wasteful crap exists.
5:16:59
fiddlerwoaroof
And I could put together something decent with use-package + referring to my preferred vim setup for ideas
5:17:04
aeth
You don't really need fancy Emacs configs anymore now that Emacs has a package manager.
5:17:19
no-defun-allowed
The keybindings and chords in Spacemacs are often quite different to the classic *macs keys too.
5:18:34
c4droid
Only write `package-install' fuction wrapper, after that, you can install any package and to configure it.
5:20:01
no-defun-allowed
So, beach, my problem isn't that Spacemacs installs a lot of packages and utilities, it's that those utilities change Emacs in quite a way I wouldn't be comfortable using.
5:21:36
no-defun-allowed
Maybe if I had just picked up Emacs for the first time, it might be more appealing, though it'd also be harder to get support for.
5:27:35
beach
c4droid: I personally think there is a problem when the software is not behaving as it is documented to behave, and that you need to read unrelated documentation (that may or may not exist) in order to understand how to use your editor.
5:28:16
beach
c4droid: But I am lost now. If you don't mind using Emacs, why not just use the standard configuration, and SLIME to that, and off you go. No need for Visual Studio.
5:37:55
fiddlerwoaroof
beach: spacemacs is a bit different from other custom emacs configurations because I think the project conceives of itself as essentially a new editor that reuses a bunch of code from emacs
5:39:06
fiddlerwoaroof
And, they do a fairly good job of creating a coherent + documented user experience
5:39:36
fouric
unrelated: would it be accurate to say that conditions are messages passed up the stack and restarts are messages passed back down in response?
5:40:29
fouric
in general, i'm trying to understand conditions and restarts, and here i'm trying to make an analogy to message-passing, but i'm eager to receive any dispensed wisdom
5:40:50
fouric
doesn't higher-level code invoke a restart that actually gets executed by lower-level code though?
5:40:55
fiddlerwoaroof
as a rule the call to invoke-restart comes from the highest level, the restart is defined at an intermediate level and a condition is signealed at the lowest level
5:41:34
fiddlerwoaroof
so the restart goes "up the stack" to the toplevel and the toplevel gets to decide which restart to use, and passes that decision "down the stack"
5:42:07
fouric
wait, i thought that you could have intermediate-level code invoke restarts - is there no programatic way to do it?
5:42:55
fiddlerwoaroof
so the restart invocation goes down the stack, but the fact that a restart is invokable comes "up the stack"
5:46:19
fiddlerwoaroof
Seibel does a pretty good job of explaining this and showing it in a practical setting
6:42:25
fiddlerwoaroof
I'm not entirely a fan of its style, but the way it uses the language is fairly different from how I use it
7:13:34
fouric
i've read through the chapter at least twice, but wasn't able to parse it very well, unfortunately
8:32:17
mfiano
Is there anything that can help me to check that a form is in the correct shape, so I can emit a meaningful error message for the user in the DSL I am writing, before parsing it with destructuring-bind giving them a bad error?
8:33:15
beach
In general, you would have to write a parser for it, using one of the parser-generator libraries.
8:35:46
mfiano
The form is quite simple. I should just manually parse it. It looks like '(some-symbol (&key &allow-other-keys) &key &allow-other-keys)
8:38:47
verisimilitude
If you don't care to write a great error message and depending on what the expansion is, you could always just write it so rule violations cause the expansion to fail in compilation; this is what I like to do.
10:57:54
schweers
Depending on the order in which I have my test cases, one branch or the other is claimed to be taken only one way. So some data seems to be lost?
11:00:29
schweers
I’m off for lunch for now, so sorry for not following up on any answers which may come ;)
11:04:33
scymtym
schweers: are you looking at the coverage of the test code itself? some test frameworks compile the test code when running the tests instead of ahead of time
11:56:28
flip214
> pkhuong> | I should also commit my fix to make SB-COVER obey in-package roughly the same way as swank
11:57:05
schweers
I have no idea. I just stumbled upon the coverage tool a few days ago and really like it.
12:04:19
loke
and there are about 300 billion different OBJ formats. :-) Which one are you thinking of?
12:05:06
flip214
loke: No, a 3D file format (from Stereolithography) -- nowadays used for 3D printing
12:12:05
flip214
where can I see what the source location of https://quickref.common-lisp.net/stl.html is?
15:30:33
akr
Hi, once I'm at a breakpoint in the debugger and I see the call stack, how do I examine the arguments with which a call in the stack was performed?