Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Been thinking about [fediverse wiki] after @2chanhaeng@hackers.pub mentioned it today.

Technical Discussion
7 6 3

Gli ultimi otto messaggi ricevuti dalla Federazione
  • If we're going to be publishing activities regarding resolvable context collections then it may be time to introduce a new object type.

    It would be backwards compatible with f228 OrderedCollections... using the new type would signify support for the various activity types perhaps...?

    Edit: if this is what you were proposing with client managed collections, then my apologies 😅 the naming threw me off

    read more

  • Another solution: introduce a new object class, client-managed collections. These collections should have a property that differentiates them from server-managed collections, e.g. isClientManaged: true. And they shouldn't be paginated.

    I think this would be compatible with client-side signing.

    But companion object solution seems to be cleaner.

    read more

  • @julian that might be it, yeah. languages outside of javascript generally don't make a distinction between null and undefined, and even in javascript these are used inconsistently. for example localStorage.getItem will return null for a missing key. practically speaking, the "intentionally" distinction is a distinction without a difference in most processing contexts.

    read more

  • trwnh@mastodon.social undefined and perhaps that's why we're disagreeing on our interpretations of how these values should be handled.

    null in JavaScript is very explicitly a declaration that there is no value or "intentionally empty".

    null and undefined are two separate things here at least.

    read more

  • @julian what does js return instead? in most cases i'm familiar with, programming languages use null or nil or None for anything that doesn't have a value, or any reference which doesn't point anywhere. hence a null pointer exception when you try to dereference a null. if you try to get a value for a key that isn't in the dictionary, you get null by default because there is no value for a missing key. how would you consume a null value? if you have nothing to say, why say anything?

    read more

  • trwnh@mastodon.social I'm coding in js, which has all sorts of footguns, but even that won't return null when I attempt to access the non-existent property of an object... 😛

    read more

  • @julian this wouldn't be your AP lib, it would be your programming language itself

    read more

  • trwnh@mastodon.social as someone working on the consuming side, that is not correct.

    If my AP lib automatically assumed null when requesting an object property that didn't exist I'd consider that a bug.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    4 Views
    Vacations are wonderful. It is a privilege to be able to travel without worry. It's also wonderful to be home, and to have the time to work on projects I care about. With those thoughts in mind, I present release v3.1.1 of Ktistec, an ActivityPub server written in the Crystal programming language!This release is a mixed bag of small features and improvements:AddedAuto-link URLs in posts. (fixes #24)Support searching by actor username. (fixes #102)Support hourly granularity in metrics charts.FixedMark actor as down if refresh fails.Remove draft posts from the everything collection.Ignore charts with no points in the date range.Ensure HTTP::Client instances are closed.I added support for multiple users at the beginning of the month. I'm very interested in feedback on how that's working out for anyone using it.#ktistec #fediverse #activitypub #crystallang
  • 0 Votes
    1 Posts
    5 Views
    PeerTube Co-op Initiative: Week 2 Update Two weeks ago, this was just an idea. Now, it’s becoming an organization. Since launching the call for a PeerTube co-op, momentum has turned into structure. Over 35 people have expressed interest in becoming founding member-owners, and the Steering Committee has now been formalized. We’re in the orientation phase, preparing to define the co-op’s mission, vision, and bylaws before incorporation in BC. We’re also working closely with GIA Consulting Co-op, who will join our first Steering Committee meeting to help orient the group and guide early governance discussions. Beyond that, conversations are expanding. I’ve been in touch with CoSocial.ca (a Canadian Mastodon co-op) about collaboration, BT Free (a Fediverse non-profit PeerTube host) about resource-sharing, and @damon@social.wedistribute.org from We Distribute about the initiative more broadly. Next step: Steering Committee orientation, followed by our first working session on Vision & Mission. If you’d like to stay informed or get involved, DM me your email address and I’ll make sure you’re included in future updates. #PeerTubeCoop #Cooperative #PeerTube #Fediverse #DigitalCommons
  • 0 Votes
    1 Posts
    7 Views
    For those coming over to mastodon from Bluesky, here are a couple of tools to try to enhance your experience here on the Fedi:First up is Phanpy, a minimalistic web client for Mastodon https://phanpy.socialNeed more than 500 characters? Splinter helps turn a long form post into a Mastodon thread. https://splinter.hastily.cc#Mastodon #Bluesky #Fediverse #Phanpy #Splinter
  • 0 Votes
    1 Posts
    4 Views
    Transparency update: Web framework integration progress We're sharing a public project board to track our progress on web framework integrations for #Fedify, work commissioned by the Sovereign Tech Fund (@sovtechfund@mastodon.social). You can follow along at: https://github.com/orgs/fedify-dev/projects/1 About this work The Sovereign Tech Fund invested in Fedify to expand its ecosystem through official integrations with popular web frameworks. This investment enables developers to add federation capabilities to their existing applications without changing their technology stack. Notably, some of these integrations were completed between our initial application submission and the official kickoff of the #STF investment. This demonstrates both our commitment to the project and the community's active development momentum. Current status Already completed: Next.js integration supporting both App Router and Pages Router (completed before STF kickoff) Elysia integration optimized for the Bun ecosystem (completed before STF kickoff) In progress: Fastify integration (PR currently under review) Upcoming: Koa integration Comprehensive documentation for all integrations Why this matters These integrations make Fedify accessible to developers across different JavaScript ecosystems and runtime environments. Each integration follows established patterns from our Express and h3 integrations, ensuring consistency and ease of adoption. Investment details Fedify has been awarded a service agreement by the Sovereign Tech Fund for this work, with a budget of €‎32,000 and completion target of November 30, 2025. The Sovereign Tech Agency supports the development, improvement, and maintenance of open digital infrastructure through investments like this. We believe in transparent development and welcome community input and contributions. #ActivityPub #SovereignTechFund #opensource