social.giorgiocomai.eu
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • People

Conversation

Notices

  1. Jacky Alciné (jalcine)'s status on Friday, 25-Jan-2019 12:19:05 CET Jacky Alciné Jacky Alciné

    I forgot that I started writing a ActivityPub implementation in #C++. I'm looking at it now and frowning at how I was taking the manual approach to these types. Thinking more in #Elixir is making me realize that protocols (contracts) are regal.

    Going to delete ~40 files to be replaced with "ActivityStream::Unit" that reads in a 'definition' file that allows for extension and then makes a "type" based on that. Extensible (esp for remote adaptions that build on it).

    Friday, 25-Jan-2019 12:19:05 CET from playvicious.social permalink
    • Jacky Alciné (jalcine)'s status on Friday, 25-Jan-2019 12:24:44 CET Jacky Alciné Jacky Alciné
      in reply to

      This breaks a notion in the spec that Link and Object types are disjoint (have nothing in common). They do - they're both in JSON and definable with a context/schema.

      Friday, 25-Jan-2019 12:24:44 CET permalink
    • Jacky Alciné (jalcine)'s status on Friday, 25-Jan-2019 12:32:07 CET Jacky Alciné Jacky Alciné
      in reply to

      This breaks a notion in the #ActivityPub spec that Link and Object types are disjoint (have nothing in common). They do - they're both in JSON and definable with a context/schema.

      Friday, 25-Jan-2019 12:32:07 CET permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

social.giorgiocomai.eu is a social network, courtesy of Giorgio Comai. It runs on GNU social, version 1.2.0-beta4, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All social.giorgiocomai.eu content and data are available under the Creative Commons Attribution 3.0 license.