Email or username:

Password:

Forgot your password?
41 posts total
marius

Ceux-ci ne sont pas des tomates.

marius

interaction policies generally seem to work quite well, but there's still a few cases where unapproved reply chains can slip through, and there's still an issue with replies getting lost from instances that aren't interaction policy aware

not too bad considering!

marius

For the past couple of days I've kept being frustrated by building the TUI elements for the vocabulary module of the #GoActivitypub library.

I reached the point where I need to take a break from it, and to keep me busy I just found a way to include #bandcamp player embeds in the posts of the metal release bot.

Currently it looks like this, but just imagine it with embeds instead of "Band - Album title". :D

marius

This is for the version 2 of the rattlehead project, which also runs under the @releasebot account.

This one will most likely never include embeds as Mastodon does not support them.

marius

It doesn't look great yet, but here are some embeds.

Next step, convert them into Web Components so they'll be easier to style and separate from text only entries.

marius

The first iteration of having #BandCamp embedded albums in a #RattleHead post as attachments.

releases.bruta.link/outbox/172

Mind you, all of that is achieved with vanilla #ActivityPub 🥳

marius
Between FediForum and now the Social Web Foundation I'm very tired of seeing these intensely corporate initiatives in this space where the majority of projects are entirely volunteer (or grant supported) efforts
marius

Man, I enjoy the API of #Charm but sometimes bending one's UI to its paradigm is a pain in the butt.

#golang #cli #tui

marius

there, wrote some code for pending replies so that when you have a reply waiting for your approval, it gives you a nice little note about it, and lets you know you can implicitly accept it by interacting back

this will make things a bit easier for people using client apps that don't yet support interaction policies (ie., every single client app currently); this way folks can at least approve interaction requests without leaving their app of choice

(and and in the image the host is only showing as "localhost:8080" because I'm using the test rig right now)

#GoToSocial

there, wrote some code for pending replies so that when you have a reply waiting for your approval, it gives you a nice little note about it, and lets you know you can implicitly accept it by interacting back

this will make things a bit easier for people using client apps that don't yet support interaction policies (ie., every single client app currently); this way folks can at least approve interaction requests without leaving their app of choice

marius

I'm working on a Rust library for building ActivityPub apps:

https://codeberg.org/silverpill/mitra/src/branch/main/apx_sdk

This code was originally a part of Mitra, but over time I moved re-usable functions into independent packages and then started using them in other projects, Activity Connect and fep-ae97-client. Compared to activitypub-federation-rust, it is a low-level library with fewer dependencies, suitable for both servers and clients. The key feature is support for nomadic identity.

Currently there's no documentation and API is not well designed, but I will be improving it. The license is AGPL-3.0

#fedidev #fep_ef61

I'm working on a Rust library for building ActivityPub apps:

https://codeberg.org/silverpill/mitra/src/branch/main/apx_sdk

This code was originally a part of Mitra, but over time I moved re-usable functions into independent packages and then started using them in other projects, Activity Connect and fep-ae97-client. Compared to activitypub-federation-rust, it is a low-level library with fewer dependencies, suitable for both servers and clients. The key feature is support for nomadic identity.

marius

Psssssst, Bubble Tea v2 alpha is here!! :scremcat: 🌟 Check it out and share your thoughts in the discussion

github.com/charmbracelet/bubbl

marius

@charmcli everything went pretty smooth with updating my custom tree model:

github.com/mariusor/bubbles-tr

I left some impressions in the PR description.

marius

#BandcampDaily has a slot for The New Wave of Swedish Thrash Metal, and some of the bands are pretty good. Or maybe it's just the nostalgia. :D

daily.bandcamp.com/scene-repor

#np #nowplaying

marius

FYI: grid columns don't have to be equal‼️

I keep seeing ppl extracting ratios, ending up with 10+ columns. Then every single damn item on the grid needs to have explicitly set how many columns it spans. 🙄

When 3 unequal columns means not having to set that on half the items‼️

#CSS #grid #gridLayout #cssGrid #code #coding #frontend #webDev #web #dev #webDevelopment

marius

As an excellent example of positive interaction on the internet between complete strangers to the common goal of sharing their passion with other people, I got into contact with the site operators of #MetalArchives and they graciously allowed the @releasebot to continue fetching data from their servers.

Special thanx to @RandomMusickMayhem that prompted me into starting this exchange.

Being old (in internet years) and cynical I had no real hope of a site operator answering, not to mention be helpful, on a simple email request. Thank you MetalArchives!

metalhead.club/@releasebot/113

#metal #releases #metalhead

As an excellent example of positive interaction on the internet between complete strangers to the common goal of sharing their passion with other people, I got into contact with the site operators of #MetalArchives and they graciously allowed the @releasebot to continue fetching data from their servers.

marius

👀 Today only! AMMONITE on sale for $1.99, all US ebook platforms. Curious about why a scrappy mass market paperback original is #25 on Esquire's best SF of all time? Why I was recently inducted into the SFF Hall of Fame? It all began here...

nicolagriffith.com/2024/09/15/

Bill Stilwell

@Nicolaz So fortuitous! Just had to return copy to library half way through as I hadn’t had enough time to finish, and now I can!

Sami Juvonen

@Nicolaz Bought. I haven’t read any of your books yet but Stross’ word is good.

marius

I wrote a small, easy to use #golang lib for signing HTTP requests so that #Mastodon would accept them and also to verify requests originating from Mastodon and other #ActivityPub servers, useful if you're implementing your own.

Check it out at github.com/MatejLach/httpsigve

marius

I see discussions sometimes about developing recipe applications for #ActivityPub/AS2. In that spirit, I wrote a blog post describing how to use the schema.org Recipe type in an AS2 conformant manner. It's mostly a thought exercise about possibilities since most AP implementations won't render an AS2 conformant recipe correctly, if at all.
stevebate.net/extending-activi

marius

I greatly hate doing UI work. I wonder if I generally suck at it or I just need to persevere and it'll get better.

Tom Tailor :damnified:

@mariusor I hate UI stuff. Backend? Nice. REST APIs? Nice.

Making nice UIs? I hate it.

marius

@helge did you stop working on ActivityPub stuff all together? I feel like I haven't seen you post in quite a while. Is everything OK?

marius

People describe ATProto as federated, and that has always bugged me. And I think I figured out why. It's not NOT federated. But that's deceptively incomplete. It's much more complete to say that ATProto is brokered.

I get why they do it. ATP describes itself as federated, after all. But there's a broker, and everything is mediated by the broker, which they name a "relay" (and used to call a big graph server, which was actually more honest).

Jenniferplusplus

You can't realistically run your own broker. It's enormously expensive, and also no one would trust it, or even know it exists. You have to connect to the bsky broker. Which means bluesky controls the network, and you have to have their permission to join it.

This breaks one of the core, but often unstated assumptions people have about federated networks: that they are permission-less.

marius

When I'm writing libraries based on an RFC, I usually try to retain as much as possible of the structure and data types of the document. Usually this manifests by incorporating as much relevant documentation as possible from the RFC as comments for various data types, methods, functions, etc. Also this is accompanied by links to the original doc.

However I have rarely seen this type of pseudo-literate code in the wild.

Is this something that you think it would help you as a developer, or do you find it a strange idiom?

As an example I can give my #ActivityPub library for #golang: pkg.go.dev/github.com/go-ap/pr

#opensource #developers #programming

When I'm writing libraries based on an RFC, I usually try to retain as much as possible of the structure and data types of the document. Usually this manifests by incorporating as much relevant documentation as possible from the RFC as comments for various data types, methods, functions, etc. Also this is accompanied by links to the original doc.

Mike P

@mariusor I find this very helpful, and I often try to do it myself.

bhaugen

@mariusor I don't code in Go, but I like the idiom and would use your library if I did.

Tobias Klausmann

@mariusor I like it when it is done properly, and I have done it myself on occasion: codeberg.org/klausman/pngrep/s

Go Up