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
    31 Beiträge
    52 Aufrufe
    julian@community.nodebb.orgJ
    @eeeee it is likely due to audience. So, what happens on your end is you make a topic and mention the Lemmy community. When NodeBB federates that post out, the Lemmy community is included in the mentions, but it also specifies your category 18, World Chat, in audience. If Lemmy sees that, and it doesn't know about that community already, it will drop the activity immediately. If it does, then it will likely slot the post into the "World Chat on isurg.com" community on that Lemmy instance. Lemmy removed audience checking, so this might be a non-issue. Once that Lemmy instance updates to the latest version, it'll hopefully post to the correct community. That's a tricky one, though, because which community should it post to? "Medicine" on mander.xyz, or "World Chat" on isurg.com?
  • 0 Stimmen
    2 Beiträge
    18 Aufrufe
    julian@community.nodebb.orgJ
    @openrisk@mastodon.social not a bad idea. NodeBB actually already does this. We have a configurable max on hashtag usage, and so if a post comes in with > 5 (the default) we just remove everything after the fifth hashtag. They're still in the post content, but only the first five count in indexing, etc.
  • How to subscribe to a thread?

    Uncategorized activitypub fep
    2
    0 Stimmen
    2 Beiträge
    19 Aufrufe
    julian@community.nodebb.orgJ
    @silverpill@mitra.social I think given the addressing limitations of collections, this by-proxy method of determining who to send an as:Follow to makes sense as a stopgap measure until ActivityPub's next version...
  • 0 Stimmen
    2 Beiträge
    13 Aufrufe
    julian@community.nodebb.orgJ
    @wjmaggos@liberal.city that's true for Mastodon, but not for other servers with more of a community focused aspect, like NodeBB.
  • 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
  • 0 Stimmen
    3 Beiträge
    16 Aufrufe
    julian@community.nodebb.orgJ
    agreed, use syncthing (which I think @nutomic@lemmy.ml also works on!) and call it a day. @mariusor@metalhead.club @reiver@mastodon.social
  • 1b12 vs Guppe groups

    Uncategorized activitypub 1b12 guppe
    23
    0 Stimmen
    23 Beiträge
    58 Aufrufe
    julian@community.nodebb.orgJ
    > Doesn't this mean Mastodon users et al will no longer get boost notifications when their posts are reshared into a topic? Correct, only OP will be shared. Unless I am mistaken this is how Lemmy implemented it. Announce-ing activities only, and one single Announce(Note) for compatibility with Mastodon.