Recent submissions

Comment · 1 year ago
You should take a look at something called Case-based reasoning. Seems to perfectly fit into the road you are currently walking, as you basically just rediscovered the CBR-cycle.
Comment · 3 years ago
Amazon's game engine is also open source under the name O3DE.
Comment · 3 years ago
I have done typescript successfully. It has another install folder than the default, as the repo has tree-sitter for both tsx and typescript. C/C++ could be a similar situation. The installer should prompt you for it during the setup.
Comment · 3 years ago
While it doesn't properly understand the structure, you can move around pretty well with Imenu or (configured) org-goto. I assume it's also possible to make something for it so that it take nesting into consideration like it does for some programming languages. My org files are only a couple 1000 lines though, so don't know how they perform when it gets larger than that.
Comment · 3 years ago
And the finetuned models seems to be CC-BY-4.0 (note there are no NC). IBM actually not lying it seems unlike most of the other "open source" models.
Comment · 3 years ago
You should check out Scheme with SRFI-119 or similar. It is a really elegant and noise-free way of writing S-expressions, unsure if it works with Racket or not though.

I also did a similar challenge this year, though I had to drop some of the more exotic languages that you kept in. Nice work.

Comment · 3 years ago
> You can type ‘M-x butterfly C-M-c’ to run it. This is a permuted variation of ‘C-x M-c M-butterfly’ from url ‘https://xkcd.com/378/’.

From the documentation. I don't know why they didn't make it the same, but this is how it is, though maybe because M-butterfly is rather hard to press.

Comment · 3 years ago
M-x butterfly C-M-c(or RET), made in reference to the xkcd. Been in there since version 23.
Comment · 3 years ago
Emacs 29 can download packages straight from their source too, so time to move back I guess.
Comment · 3 years ago
In my experience it depends a bit on the LSP server itself (as well as it just being horribly slow in Emacs 27 and older). Omnisharp is for instance way slower than clangd and rust-analyzer. Also helps to make sure all the various mingw dependencies are there if you use Windows (json and native compile in particular). If you used LSP-mode it would be worth checking out if you can disable some of the information it renders to improve performance in general.

Other than that, Company can be a bit slow compared to Corfu, which is a bit more lightweight completion framework, built more around the emacs internals.

Comment · 3 years ago
It was my comment you replied to. I meant for running scripts locally, before pushing/pulling/commiting etc. The distribution part is just those scripts being by default in a folder that is not tracked by git (.git/hooks), but you can change it in your config file. Hooks should be able to run any executable script file, so there isn't really any limits outside of convenience to what you can make it do.

You probably could use server-side git hooks just fine as an alternative if you self host the repo though, but I would assume if you are using github, or another hosting service, their tools are probably best/easiest/most convenient for their own platform.

Comment · 4 years ago
The post is about running github actions locally though. The built in ones also support running server-side too, though I imagine github doesn't have the same level of interface over that as their own services.
Comment · 4 years ago
Git also has built in support for automated stuff (git hooks). By default it is only local to each machine, but it is possible to set it up to distribute the hooks too.
Comment · 4 years ago
Common Lisp is idd pretty nice.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton