| 11 Oct 2022 |
k0kada (he/him) | In reply to @jamie-howlie:monero.social I do not have this issue if I use doom emacs directly (without nix-doom) This does not say much, for example, which commit of doomemacs are you using? | 20:29:02 |
k0kada (he/him) | I would say that there is a good change that the problem is our now kinda old pin of doomemacs | 20:29:31 |
k0kada (he/him) | However, the issue right now involves some expertise in Emacs that I don't really have to fix, and ckie (they/them) seems quite busy too | 20:30:09 |
hdzki ⚡️ | In reply to@jamie-howlie:monero.social I do not have this issue if I use doom emacs directly (without nix-doom) I'm kinda working on my end, it's not crashing at least | 21:13:10 |
hdzki ⚡️ | lsp-mode + rust-analyzer | 21:13:18 |
hdzki ⚡️ | although i'm just using lsp-rust-analyzer-inlay-hints-mode, it's not giving me useful hints but there are hints anyways | 21:13:47 |
| 12 Oct 2022 |
@jamie-howlie:monero.social | In reply to @hdzki:hdzki.kozow.com although i'm just using lsp-rust-analyzer-inlay-hints-mode, it's not giving me useful hints but there are hints anyways I'm now using doom without nix-doom and all inferenced types are shown to me in my code. | 08:23:21 |
mei 🌒& | Error processing message (wrong-type-argument stringp [#s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("value" "fn default" "location" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("uri" "file:///home/ckie/git/desk-fcobs/ledc/src/main.rs" "range" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("start" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 7)) "end" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 14))))))))]).
Lsp-Rust-Analyzer-Inlay-Hints mode disabled in current buffer
Lsp-Rust-Analyzer-Inlay-Hints mode enabled in current buffer
Error processing message (wrong-type-argument stringp [#s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("value" "fn default" "location" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("uri" "file:///home/ckie/git/desk-fcobs/ledc/src/main.rs" "range" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("start" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 7)) "end" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data ("line" 49 "character" 14))))))))]).
| 08:25:55 |
mei 🌒& | k0kada: a better straight stub would fix most of these issues | 08:28:29 |
mei 🌒& | but emacs is not an enjoyable thing for me | 08:28:46 |
mei 🌒& | lisp pile too big.. | 08:28:57 |
mei 🌒& | (and doom "helpfully" catches the stack trace and trims most of it, so that's a thing) | 08:31:23 |
| Josefine joined the room. | 11:27:11 |
@hab25:matrix.org | In reply to @qe7ftcyrpg:matrix.org If you make a minor change to config.el, nix has to rebuild a lot of things. For me it builds 30 minutes to 1 hour, if I remember correctly. could content-adressed nix be a big help regarding this? | 17:40:35 |
k0kada (he/him) | In reply to @ckie:ckie.dev lisp pile too big.. Nothing against Lisp, I programmed in Clojure for a time in my previous company and I would say that I love the language (probably still my favorite language, however Nix is a close second) | 19:39:13 |
k0kada (he/him) | But I hate Emacs Lisp | 19:39:21 |
k0kada (he/him) | Too much state | 19:39:30 |
k0kada (he/him) | In reply to @ckie:ckie.dev (and doom "helpfully" catches the stack trace and trims most of it, so that's a thing) Yeah, there is that
And to think that I would find something worse the Clojure stack traces.... | 19:40:09 |
mei 🌒& | i think i played with clojure or maybe racket a few times but no good library support like rust.. | 19:40:13 |
k0kada (he/him) | I need to try Rust again, but I much prefer dynamic languages | 19:41:11 |
k0kada (he/him) | Specially ones that are flexible enough to allow me typing when I want/need | 19:41:53 |
mei 🌒& | having to look up types in my head kind of breaks my flow | 19:42:35 |
mei 🌒& | rust-analyzer is great | 19:42:39 |
k0kada (he/him) | In reply to @ckie:ckie.dev having to look up types in my head kind of breaks my flow Yeah, I mean nowadays I like to have some kinda of typing
I just feel that most type systems are to restrictive | 19:43:30 |
mei 🌒& | rust takes an interesting direction with that | 19:43:45 |
k0kada (he/him) | I actually kinda like mypy for typing Python | 19:43:45 |
mei 🌒& | like from that pov it's very restrictive but it seems the more restrictive it is the freer it is in another way | 19:44:02 |
k0kada (he/him) | Or for Clojure I like spec/schema | 19:44:10 |
mei 🌒& | like it's more expressive because it doubles down on forcing you to use it | 19:44:23 |
mei 🌒& | still not there imo, but is a neat experience to have | 19:44:39 |