GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by marius (mariusor@metalhead.club)

  1. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 23-Dec-2025 02:11:36 JST marius marius
    • Emelia 👸🏻

    > I don't know why you'd do since they're very different resources

    @thisismissem I feel like we had this discussion before.

    As long as I reconstitute both, the ActivityPub Actor and the OAuth2 Client Metadata, from the same underlying data they are the same to me and I want them under the same URL.

    So, as a developer, I would expect that any ontology that we make use of for building this thing we call "the Fediverse", and which need to ultimately be based on HTTP, has to respect its basic tenets: URLs represent resources and, in order to get distinct representations you use Content-Types. Spec'ing something that violates this is questionable to me.

    In conversation about 6 days ago from metalhead.club permalink

    Attachments


  2. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 16-Dec-2025 06:19:48 JST marius marius
    in reply to
    • Evan Prodromou

    @evan I lived in Burssels for some years, you won't tempt me with beer. 😈

    In conversation about 13 days ago from metalhead.club permalink
  3. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 16-Dec-2025 04:02:05 JST marius marius
    in reply to
    • Evan Prodromou

    @evan as of now I don't plan to come.

    But I have no other obligations for February, maybe a last minute change of heart. :D

    In conversation about 13 days ago from metalhead.club permalink
  4. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 16-Dec-2025 03:34:54 JST marius marius
    in reply to
    • Evan Prodromou

    @evan yes, yes, of course. :D They go hand in hand...

    I remember seeing on the SWICG mailing list a comment where this mechanism is no longer considered secure, but I don't recall the details.

    In conversation about 13 days ago from metalhead.club permalink
  5. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 16-Dec-2025 00:14:02 JST marius marius

    For people interested in #ActivityPub #C2S (client to server), the #GoActivityPub services have gained the ability to dynamically register OAuth2 clients based on RFC7591.

    The easiest to test is the ONI project that can be directly run without much setup: https://git.sr.ht/~mariusor/oni

    In conversation about 13 days ago from metalhead.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: git.sr.ht
      ~mariusor/oni - Single user ActivityPub instance - sourcehut git
  6. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 25-Nov-2025 21:37:24 JST marius marius
    in reply to
    • silverpill

    @silverpill yes, I was thinking of the nomadic identity aspect when I said that.

    So, for GoAP: a user wants to upload an image, it can specify recipients, the client builds an Image AP object out of that (including a reply collection) and wraps it in a Create collection, sends it to the server (C2S).

    Server saves Image locally, creates all collections for the Image that are not empty in the Image (like replies, likes, shares, etc) adds it to outbox of user's Actor, adds it to local follower's Inbox or sends it to remote followers Inbox (S2S). If it's in reply to something(s) loads the object(s) and disseminates it to the recipients.

    In conversation about a month ago from metalhead.club permalink

    Attachments


  7. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 25-Nov-2025 07:39:40 JST marius marius
    in reply to
    • silverpill

    @silverpill only an actor that owns the collection can operate on it, and only the server that resides on the same host can operate on collections with that host. Ie, all the logic I'm describing refers to client to server, collections that reside on other servers are not really relevant.

    And I don't know if I mentioned it before, mostly GoActivityPub focuses on the vanilla specification, the fancy use-cases in FEPs, like nomadic identity, are outside the scope until we can make use dynamic object types - which is not the case at the moment, we're limited to plain Activity vocabulary.

    In conversation about a month ago from metalhead.club permalink
  8. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 24-Nov-2025 07:15:41 JST marius marius
    in reply to
    • silverpill

    @silverpill yes to first question, and no to second question because collection pages are indeed dynamic. When a collection gets retrieved from storage, if there are filters on it, they get applied and the resulting object becomes a collection page where first, next, previous are computed dynamically based on the filters.

    I haven't found a good method to do away with this conceit yet.

    In conversation about a month ago from metalhead.club permalink
  9. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 24-Nov-2025 07:15:40 JST marius marius
    in reply to
    • silverpill

    @silverpill collections for GoActivityPub are not really special. A collection is an object which can be operated on with most of the Activity vocabulary to various degrees of success (based on what's in the spec, or based on what felt sensible at the time).

    The only way in which they are *special* is that when processing activities the collection ID gets extracted from the actor it belongs to, and gets operated on (for example to add an activity to an outbox or inbox).

    In conversation about a month ago from metalhead.club permalink
  10. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 24-Nov-2025 07:15:39 JST marius marius
    in reply to
    • silverpill

    @silverpill basically a storage to be able to work with GoActivityPub needs only 4 operations (the docs have 5 including Create, but that will go away soon):

    Load (IRI, Filters),
    Save (Object)
    AddTo (Collection, Object)
    RemoveFrom (Collection, Object)

    https://pkg.go.dev/github.com/go-ap/processing#Store

    In conversation about a month ago from metalhead.club permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      processing package - github.com/go-ap/processing - Go Packages
  11. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 24-Nov-2025 05:53:55 JST marius marius
    in reply to
    • silverpill

    @silverpill I allow all collections' properties to be modified with Update activities with the exception of the items property itself. For those I allow Add/Remove/Move, etc.

    I don't see a reason to make a distinction between what you call views and containers.

    If there would be a distinction to make, I would consider views as random object arrays that are accesible at a certain URL (and I would add them in the Streams property of an Actor). Instead of a generated CollectionPage, you would only get its items.

    pro@dansup@mastodon.social

    In conversation about a month ago from metalhead.club permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      http://items.pro/
  12. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 17-Nov-2025 07:39:31 JST marius marius
    in reply to
    • silverpill

    @silverpill there are protocols that people complain about, and protocols that nobody uses. From a couple of months ago: https://metalhead.club/@mariusor/114912833075947072

    In conversation about a month ago from metalhead.club permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      marius (@mariusor@metalhead.club)
      from marius
      When people complain about #ActivityPub being an incomplete specification, I think it might be worth pointing them at what people that are working with other RFCs are feeling: https://yorickpeterse.com/articles/three-http-versions-later-forms-are-still-a-mess/
  13. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 06-Nov-2025 06:11:35 JST marius marius
    in reply to
    • silverpill
    • Marius

    @silverpill I feel like validating that if they exist, they should both point to the same actor is a better strategy. (Which I think is what I've been doing in GoActivityPub)

    @marius

    In conversation about 2 months ago from metalhead.club permalink
  14. Embed this notice
    marius (mariusor@metalhead.club)'s status on Wednesday, 05-Nov-2025 04:58:15 JST marius marius
    in reply to
    • silverpill
    • Marius

    @silverpill there's no particular reason, that's how they came out of the random object generator.

    It's not really against spec to have attributedTo on an activity. Why do you reject them?

    I'll probably streamline it to just the actor, to keep the tests to minimal relevant details, so thanx. :)

    @marius

    In conversation about 2 months ago from metalhead.club permalink
  15. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 16-Oct-2025 21:44:25 JST marius marius

    Well, after an initial failure, my #NLNet grant application for #GoActivityPub has been accepted under the NGI0 Commons Fund. 💪

    This means that for the next months my main focus will be fully on making #ActivityPub in the #Go programming language easier for other developers.

    If you're one of them, reach out, I want to know what you struggle with and how I can help with that.

    https://nlnet.nl/thema/NGI0CommonsFund.html#:~:text=GoActivityPub%20%E2%80%94%20Help%20people%20develop%20Fediverse%20software%20in%20Go

    In conversation about 2 months ago from metalhead.club permalink
  16. Embed this notice
    marius (mariusor@metalhead.club)'s status on Tuesday, 23-Sep-2025 04:24:18 JST marius marius

    For #ONI the no fuss single user #ActivityPub service, I wanted to migrate from my custom hodge-podge of JavaScript logic for building CSS themes from images, to something a little more credentialed and battle tested.

    Then I looked over what the Material library would generate and I begun to reconsider.

    Material is so unsipired, it defaults to such samey, generic norm-core color palettes that it's difficult to see any changes even between vastly different images.

    I think I'll just improve my own algorithm because, frankly, I want more GeoCities and less Enterprise.

    https://material-foundation.github.io/material-theme-builder/

    In conversation about 3 months ago from metalhead.club permalink
  17. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 22-Sep-2025 02:40:34 JST marius marius
    in reply to
    • Gregory
    • silverpill

    > - Recipient: trust embedded object only if the wrapping object has the same owner.

    @silverpill no, dereference object and use that instead. The canonical version of an object is the one retrieved from the originating service.

    Mastodon has popularised this behaviour where embedding collections (like your replies) is done by servers in the name of "optimizing" for request counts. But this introduces issues and personally I think it's a "code smell" for ActivityPub. Embedding should be restricted to anonymous objects. When an ID exists it should be used most of the time.

    @technical-discussion @julian @grishka

    In conversation about 3 months ago from metalhead.club permalink
  18. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 21-Sep-2025 21:49:44 JST marius marius
    in reply to
    • Gregory
    • silverpill

    @silverpill do you mean that the "malicious" attachment is not a facsimile of an actual note produced by that actor, but a forgery?

    In these cases, I'll agree with
    @grishka that some validation based on the ID should be necessary.

    For embedded object attachments on the other hand (like mastodon produces), probably the validation needs to check that attributedTo corresponds to the one of the parent object or missing.

    Interesting corner case.

    @technical-discussion

    In conversation about 3 months ago from metalhead.club permalink
  19. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 08-Sep-2025 04:41:20 JST marius marius
    in reply to
    • just small circles 🕊
    • silverpill

    @silverpill yet it does. The grouping of the activity types by domain is quite useful and gives a good indication about what/how they can/should be used.

    @smallcircles

    In conversation about 4 months ago from metalhead.club permalink
  20. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 08-Sep-2025 04:34:59 JST marius marius
    in reply to
    • just small circles 🕊
    • silverpill

    @silverpill do you have a citation for that? I always interpreted them that they're parallel, but maybe I missed something.

    @smallcircles

    In conversation about 4 months ago from metalhead.club permalink
  • Before

User actions

    marius

    marius

    Mostly a programmer.Implementing #ActivityPub in the #Go programming language.Current projects: * #GoActivityPub - a library to use ActivityPub in Go. * #FedBOX - a generic ActivityPub service supporting the client to server API. * #brutalinks - a link aggregator inspired by (old) reddit, hacker news and lobste.rs built on top of FedBOX. * #oni - a single user ActivityPub server with minimal fuss.My posts are mostly related to ActivityPub and web development.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          7165
          Member since
          25 Aug 2022
          Notices
          148
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.