hhmx.de

Dieses Fediverse-Konto und seine Inhalte werden nicht von hhmx.de verwaltet. Die kontoführende Instanz ist comam.es - die originale Adresse ist https://comam.es/snac/grunfink.

grunfink@comam.es
grunfink@comam.es

The Real Grunfink

(@grunfink@comam.es)

Mi 19.10.2022

Beiträge: 626Folgt: 0Folgende: 43

Author of the instance server and other pieces of singular software. Not a real Grünfink.

comam.es · snac · 2025-05-12 09:52:35

Föderation · Mo 12.05.2025 19:14:52

leitete weiter:

· Föderation · Mo 12.05.2025 19:14:14

I submitted a Pull Request to update MacPorts' snac to 2.77 here:

https://github.com/macports/macports-ports/pull/28410

GitHub Actions Continuous Integration checks passed OK!

It's up to someone else with write access to merge it.

Thanks!

Föderation · Mo 12.05.2025 09:59:12

leitete weiter:

Föderation EN Mo 12.05.2025 09:04:41

Does anybody run a public server for users to join?

Föderation · Mo 12.05.2025 09:51:08

I announce the release of version 2.77 of , the simple, minimalistic instance server written in C. It just reverts a feature included in previous version; links in posts were also included as attachments, but, while harmless and on spec, it made posts look ugly in some platforms, and what the world doesn't need is more ugly things.

https://comam.es/what-is-snac

If you find useful, please consider buying grunfink a coffee or contributing via LiberaPay.



Föderation · Sa 10.05.2025 23:54:37

leitete weiter:

Föderation · Sa 10.05.2025 17:41:00

leitete weiter:

· Föderation · Sa 10.05.2025 05:22:11

@lizzy@social.vlhl.dev @ada@zoner.work snac deals with a lot of JSON strings, all data is stored in JSON files on disk, sent as JSON over network, etc. Handling the data as loosely typed strings most of the time is likely cheaper than marshaling everything into well-typed "objects" and then serializing them back again on I/O. I haven't delved much into the implementation of xs myself, but I used it when I wrote a few patches for snac, and it was acceptable to use. I've been using snac for a few months, and it's much better on resources than any other major AP software I've seen, so I don't have complaints about the performance of parsing doubles :)

I still see snac as "worse-is-better" software, which I don't like much, but at least it's simple enough to start doing meaningful patches within a couple of hours of diving into it, and definitely cheaper for me than having to write a whole AP server from scratch, which I was tempted to do before.

Föderation · Sa 10.05.2025 17:20:42

leitete weiter:

Föderation EN Sa 10.05.2025 10:28:02

@kimapr@ublog.kimapr.net

in fact it doesn't cause any issue: is likely the lightest and best performing server out there.

@rozenglass@fedi.dreamscape.link @lizzy@social.vlhl.dev @ada@zoner.work

Föderation · Sa 10.05.2025 17:19:50

leitete weiter:

Föderation · Sa 10.05.2025 11:11:54

I've just updated my instance to version 2.76 👍 🎉
You don't know Snac? But you should: https://codeberg.org/grunfink/snac2
A simple, minimalistic instance server written in C, no database needed, totally JavaScript-free, no cookies either, not much bullshit.

Föderation · Sa 10.05.2025 17:19:24

leitete weiter:

Föderation EN Sa 10.05.2025 14:25:59

Hopefully Phanpy works better now for folks on . Took me some time to investigate this issue codeberg.org/grunfink/snac2/is , found that `Access-Control-Expose-Headers: Link` header is needed for `Link` header to be read by the browser's `fetch`, used by Masto.js to paginate requests 🙇‍♂️

Related issue: github.com/cheeaun/phanpy/issu

comam.es/snac/grunfink/p/17467

Föderation · Sa 10.05.2025 08:21:58

leitete weiter:

Föderation EN Sa 10.05.2025 02:31:47

browsing the code makes me miss my old C books

Föderation · Sa 10.05.2025 08:21:07

You're welcome!