„Demnach will Polen bis 2043 an zwei Standorten insgesamt sechs Blöcke mit bis zu 9 GW Leistung bauen“
Quatsch mit Soße. Was soll man 2043 noch mit fummeligen 9GW überteuertem Strom, für den man Brennstoff braucht? Polen hat 2023 1,3GW Windstrom zugebaut. Selbst wenn man so lahmarschig bleibt, sind das 26GW bis 2043. Und die gehn dann auch … dauernd. Nicht wie Olkiluoto, dauernd Wartung. #akw#Energiewende
Would it make sense to let tree-sitter ask the language server for the ast?
No, it wouldn't.
Because then tree-sitter would actually be able to setup a compilation environment and know how to compile this one specific file. But maybe this one specific file is a C header file? Or compilation ois complicated because it xsn only happen in OpenEmbedded or a Docker container?
Also: the AST of GCC is different to the AST of clang is different to the one of Rust which is different to the one of Nim etc etc etc.
AST's aren't normed, they are an implementation detail of the compiler. Would a compiler change its AST, things would stop working.
@HaraldKi my experience with jvm language servers is they stink, particularly in emacs. I've tried a few times now to get kotlin and lsp to play nice and I can't get it to work well enough to use.
I gave up on #emacs#lsp-mode. I am an emacs fan, still. But this got out of hand. It was already hard to get 3 non-gradle/maven projects in, configure key bindings and non-intrusive #flycheck reporting, code suggestions/refactorings as provided by eclipse. Then I tried a small gradle project and got weird error messages: "...is not on the classpath of project , only syntax errors are reported". For fun see the extra-weirdo fixes proposed on the net. 🤦♀️ For now I am out.😢 ❓
For software development I use #linux.
For version control I use #git.
To control git I use #magit in #emacs.
To start magit out of a #bash for the current project I use:
% type magit
magit is a function
magit ()
{
emacsclient -e "(kill-all-magit-buffers)" -e "(magit-status "$PWD")"
}
where kill-all-magit-buffers is based on this: https://stackoverflow.com/a/44119606/2954288
#Naturkundler. Heute ist unsere Terrasse voll von weißen Häufchen, fast wie einzelne Schneeflocken. Bei näherem Hinsehen bestehen die aus weißen bis klaren Kügelchen von der Größe eines Stecknadelkopfes. Kratz man darin herum, wird es etwas schleimig und zieht Fäden.
Kennt das jemand? Gelegen von Schnecke, Insekt, Spinne? Pilz? Vogelschiss eher nicht. Komisch ist die regelmäßig-unregelmäßige Verteilung auf der Terrasse.
Yes, stupid. But this is Linux, not Windows. We can reinstall software while it is running for 20+ years. And when do you think I am working with the system without having at least one FF window open? 🤦♀️ 🤢 🤮
@HaraldKi, Snap, Flatpak and AppImage distribute programs from upstream developers with all dependencies vendored. If anything, they’re the closest thing to how software are distributed to Windows users (we use to joke that it’s what happened when they migrated over and brought their culture with them).
They also make patching security bugs system-wide virtually impossible as each program has its own dependencies. IMHO the only sustainable way of managing packages is to have them from your distro’s repository, even though some like Ubuntu are moving to Snap and ironically defeat the point of being a distribution.