75 Followers
108 Following
266 Posts

In (neo)vim you can make macros by just typing the comands into a text buffer and than yanking them into a register. For example if you wanted to make a macro to save and compile a go project you could type the vim commands like so:
:w
:!go run .

and than select the whole thing and press "rd to copy it into register r ant than run it with @r.

#vim #neovim

I did some experimenting with #avif image format and it's awesome. For example in the pictures bellow the original JPEG was 5.4MB, one of the resulting pictures is 100kB (54 times smaller) and the other one is 540kB (10 times smaller). The difference in quality is definitely huge but it's good enough for some use-cases (I am thinking of for example profile pictures, preview in search, etc...).
Instant runoff is working now. I made it yesterday day and now I am doing Single transferable vote
It almost works. I am working on a program to simulate different voting stems and right now it has First-past-the-post and approval voting and it works surprisingly well. I need to do some UI tho.
The thing that brought me to this thought is this thread. https://hypixel.net/threads/do-you-spell-it-color-or-colour.5817225/page-2
Also this one user sums up my thoughts perfectly.
I know the pictures aren't good but for my defense, the sun wasn't in a great position and my phone isn't great for photography.
It works! I managed to do it thanks to this github repo https://github.com/keygenqt/skill-qemu-alpine. It needed some fixing but I managed to get it work. Thank you the person who made it.
GitHub - keygenqt/skill-qemu-alpine: Installation and launch Alpine Linux scripts for armv7 and aarch64 on x86_64

Installation and launch Alpine Linux scripts for armv7 and aarch64 on x86_64 - keygenqt/skill-qemu-alpine

GitHub