Uff debo estar entendiendo mal
Veo un rand(100) en Callback... Parece que generan una ID, pero si la ID no es única le suman un número aleatorio.
class Callbacks
def self.around_create(record)
now = Time.now.utc
if record.created_at.nil? || record.created_at >= now || record.created_at == record.updated_at || record.override_timestamps
yield
else
record.id = Mastodon::Snowflake.id_at(record.created_at)
tries = 0
begin
yield
rescue ActiveRecord::RecordNotUnique
raise if tries > 100
tries += 1
record.id += rand(100)
retry
end
end
end
end
#Mastodon #Ruby #Dev #Code #Cypherpunk #ActivityPub
Hooray #ActivityPub movies! 🎉 🎥🍿
https://movies.pub/movie/Q107105860
#ActivityPub #OSM #fedigeo #geosocial
Currently I am finishing the OpenStreetMap to ActivityPub / JSON LD module.
The `type`, `context`, ìcon`, `nameMap`, `url` and location parts are ready.
Now it is a giant puzzle to transform all the OSM tags and in particular to make a nice i18n `summaryMap` and `contentMap` text out of it.
So, if you know simmilar projects, please let me know
¯\_(ツ)_/¯
Which of the top 4 Fediverse server projects will be the first to implement the ActivityPub API?
#EvanPoll #poll #ActivityPub #ActivityPubAPI
I wonder how much space would it take to store a copy of all my toots + replies in an #SQLite. Or even of all my timeline. I don't need to cache the images. The goal would be to be able to search my past conversations locally. Unfortunately given that #Mastodon doesn't support #ActivityPub's C2S it would have to work against Mastodon's API
🚀 How to Deploy #Funkwhale on #Debian #VPS
This article provides a guide demonstrating how to deploy Funkwhale on Debian VPS.
What is Funkwhale?
Funkwhale is a self-hosted, federated audio platform for streaming and sharing music & podcasts. It uses #ActivityPub so libraries can follow/feature content across instances (like Mastodon), and it offers a web UI plus ...
Continued 👉 https://blog.radwebhosting.com/deploy-funkwhale-on-debian-vps/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.raddemo.host #selfhosting #letsencrypt #opensource #selfhosted #redis #python #certbot #postgresql

Two #ActivityPub fixes I submitted to #Misskey are in the latest release. I am so amped to see this happen; I cannot emphasize enough how important it is for established #Fediverse platforms to support the ActivityPub spec correctly. I love seeing this happen. Thank you Misskey for making the Fediverse a slightly easier place to write software!
https://github.com/misskey-dev/misskey/releases/tag/2026.5.0
Recently, the Court of Justice of the European Union (CJEU) delivered a new ruling, Russmedia, that has massive implications for how platform regulation and liability work in the EU...
One of the main outcomes of the ruling is that a Romanian online marketplace “is required to implement appropriate technical and organisational security measures in order to prevent advertisements published there and containing sensitive data, in terms of Article 9(1) of that regulation, from being copied and unlawfully published on other websites.” ...
...the problem here is two-fold: First, the ruling is written in a way that can be generalised beyond only Romanian online market places, and into pretty much all platforms that fall under GDPR and handle social data. Secondly, copying and publishing data on other websites is exactly what federation is. The function of open social networking protocols like ActivityPub and atproto at their core is to have social data be copied and published on other websites.
This is an uhhh, slight bit of a problem, when European legal rulings make it very unclear if federation itself is in compliance with GDPR. ...
Kleines Fediverse-Mysterium: Ich folge jemandem auf einer Pixelfed-Instanz, antworte über Mastodon, die Person sieht es auf Misskey – und alles funktioniert einfach so. ✨
Stell dir vor, du könntest einer Gmail-Adresse von Outlook aus schreiben. Ach warte, das geht ja auch. Nur bei sozialen Netzwerken haben wir das irgendwie 15 Jahre lang vergessen. 🤔
#Fediverse #ActivityPub #Dezentral
How to Install #Pleroma on #Ubuntu #VPS (5 Minute Quick-Start Guide)
This article provides a guide demonstrating how to install Pleroma on Ubuntu VPS.
What is Pleroma?
Pleroma is a free, open-source, self-hostable microblogging server that speaks the #ActivityPub federation protocol—so your users can interact with people on other #Fediverse platforms (e.g., Mastodon) while you keep full control over your server ...
Continued 👉 https://blog.radwebhosting.com/how-to-install-pleroma-on-ubuntu-vps/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.raddemo.host #selfhosting #letsencrypt #selfhosted

Federation Has a European Legal Problem
https://programming.dev/post/49704963
New from me: Federation Has a European Legal Problem
on what the recent Russmedia ruling means for open social protocols like #ActivityPub and #atproto
warning: do not read if you value your sanity
https://connectedplaces.online/federation-has-a-european-legal-problem/