Skip to content

I've been playing with the experimental GitHub Copilot agent mode in vscode.

Uncategorized
  • I've been playing with the experimental GitHub Copilot agent mode in vscode. I've asked it to start from an empty directory and create an server in C++, directed only by prompts (no human coding). So far, it has created a C++ project and implemented WebFinger, resource persistence, resource retrieval and a decent set of unit tests. At this point, Mastodon is able to discover our actors. The AI is currently implementing Follow processing. I'm curious to learn how far I can push this.

  • I've been playing with the experimental GitHub Copilot agent mode in vscode. I've asked it to start from an empty directory and create an server in C++, directed only by prompts (no human coding). So far, it has created a C++ project and implemented WebFinger, resource persistence, resource retrieval and a decent set of unit tests. At this point, Mastodon is able to discover our actors. The AI is currently implementing Follow processing. I'm curious to learn how far I can push this.

    I picked C++ because it's a relatively complex language that's not commonly used to implement AP servers (if any?).
    I've learned that Claude 3.7 Sonnet is a much better coding agent than OpenAI 4o.

  • I've been playing with the experimental GitHub Copilot agent mode in vscode. I've asked it to start from an empty directory and create an server in C++, directed only by prompts (no human coding). So far, it has created a C++ project and implemented WebFinger, resource persistence, resource retrieval and a decent set of unit tests. At this point, Mastodon is able to discover our actors. The AI is currently implementing Follow processing. I'm curious to learn how far I can push this.

    @steve interesting! Curious to see how this goes for you. And I have found Claude to be the best of the AIs I’ve poked at for coding, too.

  • I've been playing with the experimental GitHub Copilot agent mode in vscode. I've asked it to start from an empty directory and create an server in C++, directed only by prompts (no human coding). So far, it has created a C++ project and implemented WebFinger, resource persistence, resource retrieval and a decent set of unit tests. At this point, Mastodon is able to discover our actors. The AI is currently implementing Follow processing. I'm curious to learn how far I can push this.

    @steve nothing that you mentioned so far is actually related to ActivityPub.

    Personally I doubt there's a large enough corpus of ActivityPub server code out there for a code LLM to be able to generate anything workable. Please keep us updated if you actually get something. 🙂

  • @steve nothing that you mentioned so far is actually related to ActivityPub.

    Personally I doubt there's a large enough corpus of ActivityPub server code out there for a code LLM to be able to generate anything workable. Please keep us updated if you actually get something. 🙂

    @mariusor Sure it is, dereferencing AP objects is part of AP. WebFinger is not AP per se, but it's part of the actual Fediverse protocol that is commonly referred to as ActivityPub. However, I agree it's in the early stages. The Follow processing and content federation will be more interesting. Like I said in another post, there's very little, if any, C++ AP server code out there, so any LLM "knowledge" based on existing implementations will at least require prog language/idiom translation.

  • I've been playing with the experimental GitHub Copilot agent mode in vscode. I've asked it to start from an empty directory and create an server in C++, directed only by prompts (no human coding). So far, it has created a C++ project and implemented WebFinger, resource persistence, resource retrieval and a decent set of unit tests. At this point, Mastodon is able to discover our actors. The AI is currently implementing Follow processing. I'm curious to learn how far I can push this.

    @steve@social.technoetic.com is vibe coding ActivityPub in C++ and this is making me feel unsettled 🤣

    When will Claude join the Forum and Threaded Discussions Task force? Eagerly awaiting...

Diese Artikel könnten Dich auch interessieren.

  • Forum specific UX for remote categories

    Uncategorized activitypub forums
    4
    0 Stimmen
    4 Beiträge
    0 Aufrufe
    K
    @eeeee @julian There are topic-specific Lemmy-based websites. startrek.website, ttrpg.network, etc. exist, and function much more like a traditional forum than a catch-all "general purpose" social networking or social media aggregation site, like Facebook or Reddit. And I personally have argued, and continue to argue, that the Reddit model doesn't really work on the Fediverse. That the desire to create a simulacrum of large scale, centralized social media doesn't really scale well once you have multiple websites, and that focusing on a local-first framework is the more logical and more sustainable model long term. I don't think modeling Lemmy communities as being the equivalent of an entire nodeBB website will stand the test of time. The idea that the hosting website matters continues to seep into the thinking of many Lemmy users, and so it should matter to non-Lemmy websites, too. People on Lemmy sometimes ask if there's a way to view communities by hosting site. This is a view that the Reddit-like UI has no natural way of supporting, but forums do. I would love to be able to see remote groups listed as categories in sub-forums ('sections' seems to be the nodeBB jargon?) I've brought up elsewhere, too, about being able to create my own categories-style layout in /world; assigning remote groups to my own pseudo-sections would be amazing. Having the option to have these personalized pseudo-sections show up in the main categories view would be even better. I've also mentioned in the past having a way for regular forum users to 'boost' posts from /world into official forum categories. There are a couple of ways to imagine this, with the most straightforward being just moving/copying the topic into the category, just as admins can currently do. But there's also the cross-post feature from Reddit/Lemmy, where there's a back-link to the original post, and the content displayed in a block quote. I see value in both of those options, though I can't imagine any given forum would want to support both. User pseudo-categories could even be shareable. There's no reason they need to be strictly private (though, of course, users should be able to choose to make them so, if they were shareable). They'd functionally be like lists on Twitter, or custom feeds on Reddit, but with a section/category UI. Or not, I guess -- they could be treated as feeds, too, but I'm kinda sorta very, very over "feeds", personally.
  • 0 Stimmen
    1 Beiträge
    0 Aufrufe
    Niemand hat geantwortet
  • Recommend object URL should 301 to AP resource

    Uncategorized activitypub ghost discourse
    15
    0 Stimmen
    15 Beiträge
    6 Aufrufe
    julian@community.nodebb.orgJ
    @johnonolan@mastodon.xyz no worries, and thanks! Will do.
  • 0 Stimmen
    1 Beiträge
    4 Aufrufe
    Niemand hat geantwortet
  • New federated testing instance for NodeBB

    Uncategorized activitypub testing nodebbactivityp
    8
    0 Stimmen
    8 Beiträge
    31 Aufrufe
    julian@community.nodebb.orgJ
    @shoppingtonz@mastodon.social if edits from PieFed aren't reflected here that may be a bug.
  • FEP 7888 serving up an OrderedCollection

    Uncategorized 7888 activitypub backfill
    34
    0 Stimmen
    34 Beiträge
    54 Aufrufe
    julian@community.nodebb.orgJ
    @trwnh@mastodon.social given that one way a context collection is discovered is via reference via a collection member itself, that's one way to define it. Admittedly, direct access to a context collection is also a legitimate use case (e.g. a NodeBB topic URL itself is the context collection), so something more explicit might be required.
  • It's somehow too confusing for me, 90 FEPs.

    Uncategorized activitypubdev activitypub
    3
    0 Stimmen
    3 Beiträge
    17 Aufrufe
    julian@community.nodebb.orgJ
    @naturzukunft@mastodon.social that's what I plan to do at least at a smaller scale with FEPs that deal with threaded conversations
  • 1 Stimmen
    111 Beiträge
    175 Aufrufe
    julian@community.nodebb.orgJ
    @Jakub-Urbanowicz can you please: create a test account on ActivityPub.academy Run your NodeBB in dev mode (./nodebb dev) mention your account on your forum? Have your forum account reply back. See if there are any errors logged. ActivityPub errors are only logged to console in dev mode.