@grunfink@comam.es avatar

grunfink

@grunfink@comam.es

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

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tetra, to random

@grunfink Is there an undocumented way to limit notification entries (like max_timeline_entries)?
My notification list is long enough that it takes a good amount of time to load on just about any client

grunfink,
@grunfink@comam.es avatar

No, sorry, there's not; I'm aware that the notification page can grow very big in certain times. I think that it should show the post only one time, prefixed by the list of people that liked or boosted or mentioned you.

I'll work on it.

tetra, to random

@grunfink Is the SNAC OAuth page supposed to copy the instance styling?

grunfink,
@grunfink@comam.es avatar

No, being a totally transient page, I don't think it's worth the effort.

grunfink, to fediverse
@grunfink@comam.es avatar

I'm glad to announce the release of version 2.46 of , the simple, minimalistic instance server written in C. It includes the following changes:

Added support for Peertube videos.

Mastodon API: Tweaks to support the Subway Tooter app (contributed by pswilde), added support for editing posts, fixed an error related to the edit date of a post, fixed some crashes.

Added a handshake emoji next to a user name if it's a mutual relation (follower and followed), because friendship is bliss.

Tweaked some retry timeout values for better behaviour in larger instances (thanks to me@mysmallinstance.homelinux.org for their help).

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

If you find useful, please consider buying grunfink a coffee: https://ko-fi.com/grunfink

This release has been inspired by the album Duality by .

grunfink,
@grunfink@comam.es avatar

Thanks 🙂

I've been programming in C for a very long time. Once you know the intrinsics, memory management is not that hard to get right (though, I agree, it's easier to make mistakes that in other languages).

grunfink,
@grunfink@comam.es avatar

I totally understand; programming languages are there to help us. One must choose the best one.

grunfink,
@grunfink@comam.es avatar

😆 😆 😆

grunfink,
@grunfink@comam.es avatar

Hi. No voting; just usual interactions, you can follow a user, like, boost and add comments to a video. But given that it's a special type of ActivityPub object and the convoluted way the URL to the actual video is returned, it needed special code.

grunfink,
@grunfink@comam.es avatar

I first tried to implement the following of channels, but couldn't make it work. Following users did work with not much hassle, though. On my opinion, it's suboptimal, as one may be interested in specific user channels and not in others. I may give another try in the future.

tochu_cha, to random Japanese

@grunfink Hello, Mr. (Ms.?) Hacker. I'm making AP instance, me too.
By the way...

"https://coman.es/.well-known/webfinger?resource=acct:grunfink@coman.es"
=>
"Not Found"

... How do you make it come true !? Where is your webfinger ?
When I boot snac2, I can see my webfinger by
"https://my-domain/.well-known/webfinger?resource=acct:my-account@my-domain" ...

grunfink,
@grunfink@comam.es avatar

Hi. It's not 'coman.es', but 'comam.es'.

me, (edited ) to fediverse
@me@mysmallinstance.homelinux.org avatar

I want to publicly thank @grunfink for creating the amazing snac2, which powers my instance.
They've read everything I noted, suggested changes, and adapted the code to make it work optimally even on my slow VM. If all open source developers were as kind and helpful as they have been with me, the world would be an idyllic place.
A shoutout to @stefano too - using snac2 was his idea, and he's responsible for the technical implementation of the instance.
And thanks to everyone who makes my timeline interesting and complete - without you, all of this would be utterly pointless.

#Fediverse #Snac2 #ThankYou

grunfink,
@grunfink@comam.es avatar

Thank you very much for the nice words. I'm feeling a bit overwhelmed right now 🙂

The feeling that my humble work is helping people is warming ❤️

CC: @stefano @gyptazy

tetra, to random

@grunfink Is it possible to run the cache and queue for SNAC in the ramdisk in order to alleviate the strain on specific sectors on my SSD?

grunfink,
@grunfink@comam.es avatar

I've never tried, but in theory the global queue directory could be on a ramdisk.

jamesoff, to random
@jamesoff@snac.jamesoff.net avatar

Hacking around trying to make the IceCubes (iOS/Mac client) work with snac.

Current status: learning Swift so I can debug the app

grunfink,
@grunfink@comam.es avatar

Well, that's not a big problem. Which POST is it?

grunfink, to fediverse
@grunfink@comam.es avatar

I've just released version 2.45 of , the simple, minimalistic instance server written in C. This one includes fixes to some nasty bugs and some interesting contributions:

Fixed a collision in webfinger caching. This may affect federation with some software, so I recommend an upgrade.

Fixed crashes in some command-line options.

New command-line option state, that dumps some information about the running server and the state of each thread (note: this feature uses shared memory blocks and you may need an argument to the make call in older Linux distributions; please see the README file for details).

Fixed a bug that may leave an inconsistent state for a followed actor in a special case of repeated messages.

Mastodon API: added some fixes for integration with the Mona iOS app (contributed by jamesoff).

Added support for ntfy notifications, both using a self-hosted server or the official ntfy.sh (contributed by Stefano Marinelli).

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

If you find snac useful, please consider buying grunfink a coffee: https://ko-fi.com/grunfink

grunfink,
@grunfink@comam.es avatar

Morons will eventually appear sooner or later, so we better be prepared with the best tools available 😉

grunfink,
@grunfink@comam.es avatar

You can just call make with the argument LDFLAGS=-lrt without having to manually edit the Makefile (I've documented it in the README file).

Some older (LTS) Linux distributions seem to define the shared memory functions in the rt library.

grunfink,
@grunfink@comam.es avatar

You're probably one of the reasons people are starting to hear about snac 🙂

Thanks!

tetra, to random

@grunfink What do I do here (first command run was awk -F, 'NR > 1 { print $1 }' friends.csv to demonstrate correct output)

grunfink,
@grunfink@comam.es avatar

It's a know bug; please, pull the latest git code, rebuild and try again.

stefano, to fediverse
@stefano@bsd.cafe avatar

Evening thoughts: Since I started talking about , some BSD Cafe users have set up their own instances and begun using them.
Maybe I shouldn't have mentioned it.

Haha, of course, I'm just kidding! 😅

Long live the plurality and the federation!

grunfink,
@grunfink@comam.es avatar

Thank you very much!

CC: @stefano

gyptazy, to fediverse
@gyptazy@gyptazy.ch avatar

Link and resource verification is (IMHO) an important part in the - especially when everyone can create and use the same name on any other federated instance to fake your profile. Therefore, I really want to see this also in / .

We could use the same approach like , fetch the resource added by the user, write the date in a file and use this for the validated_at field of the resource. @grunfink - do you have already any plans? Maybe I can provide a PR…

Btw: what about the follower/followed by counter on the mastodon API - I heard this is intentionally not provided?

grunfink,
@grunfink@comam.es avatar

Hi. Thanks for the suggestion, I had not considered it until now. I'll work on how to implement it, but if you provide a PR, I'll love to accept it.

Yes, follower / following counts are intentionally hidden by design. I consider these metrics somewhat toxic, related to the 'like' craving and success comparison and such, so much seen in other social media.

tetra, to random

@grunfink I'm wondering how difficult it would be to add classes to certain SNAC UI elements, because, as it currently stands, it's a tad bit difficult to select certain stuff like mentions without accidentally also selecting other stuff
There's also a lot of stuff like .snac-origin > a that has to be done to style and it's a bit annoying
(Btw, I'm sorry if this comes off as harsh; this is mostly just inquiry, I actually really like the software!)

grunfink,
@grunfink@comam.es avatar

Hi. Not harsh at all; any suggestion is always welcome.

Could you more precise on what classes would like to be added?

grunfink,
@grunfink@comam.es avatar

.snac-origin types (can't differentiate between boosts and replies), .snac-origin > author link specification (currently have to just use the first link), .snac-post-with-desc type specification and author classes (currently have to use .snac-post-with-desc > p >b > a`)
.snac-score differentiation between favourites and boosts

I'll write these request in the TODO file, will work on it as soon as possible.

Yes, a link to your work will appear in the README file (if that is what you want, of course).

stefano, to fediverse
@stefano@bsd.cafe avatar

Just submitted the PR to the dev with notifications support, both self-hosted or using the official ntfy.sh server. This brings enhanced privacy when utilizing a self-hosted server, eliminating the need for external services.
Token authentication is also supported.

https://codeberg.org/grunfink/snac2/pulls/102

CC: @ntfy @grunfink

grunfink,
@grunfink@comam.es avatar

This sounds fantastic! Thank you so much!

I'm unable to take a look at it right now, but will check your PR as soon as possible.

CC: @ntfy

grunfink,
@grunfink@comam.es avatar

I've just merged your PR. Looks very good! Thank you very much.

I still have to test it myself; these hours have been hectic for me due to some real-life issues, the debugging of the data corruption problems some users are experimenting and the DDoS codeberg is suffering since yesterday.

Cheers!

CC: @ntfy

jamesoff, to random
@jamesoff@snac.jamesoff.net avatar

@grunfink seem to be encountering a crash, spotted because Mona complains it can’t load notifications. Not happening every time, though. I have a core if it’s any use; I don’t know what I’m doing with one beyond this (image) tbh.

The request which fails is: GET /api/v1/notifications?types%5B%5D=mention&types%5B%5D=reblog&types%5B%5D=favourite&types%5
B%5D=follow&types%5B%5D=poll&types%5B%5D=status&types%5B%5D=update&limit=40

Is this something corrupted from the webfinger cache stuff?

grunfink,
@grunfink@comam.es avatar

I've just pushed a fix for this... would you be so kind to test it?

It seems codeberg is responding very slowly, at least from my side.

CC: @jamesoff

grunfink,
@grunfink@comam.es avatar

Bummer.

Can you send me a gdb bt screenshot, like the one you sent before? I need to know where it's crashing.

Thanks.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • thenastyranch
  • magazineikmin
  • mdbf
  • GTA5RPClips
  • everett
  • rosin
  • Youngstown
  • tacticalgear
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • khanakhh
  • megavids
  • tester
  • ethstaker
  • cubers
  • osvaldo12
  • cisconetworking
  • Durango
  • InstantRegret
  • normalnudes
  • Leos
  • modclub
  • anitta
  • provamag3
  • lostlight
  • All magazines