Back to <til> Today I learned

W3c Activitypub Protocol

ActivityPub protocol

The protocol describes a decentralized “social network”; it relies heavily on JSON+LD schemes to describe activities performed by actors. The protocol comprises a set of interfaces for server-to-server and client-to-server connections. You can find more information in the W3C ActivityPub page

How does it works?

In the following diagram, you can see Alice and Bob interacting with the AcitityPub protocol. Alice wants to post something that could be a Tweet-like message, a video, or a note; Bob should be able to read it.

ActivityPub sequence diagram

A service discovery protocol is the base of ActivityPub. The representation of all actors, Alice and Bob, and the messages have URLs in the attributes pointing to the counterpart server. The service discovery definition uses JSON+LD as the default format.

Those URLs tell where a server or a client must fulfill an activity such as Publish or Like. In the previous example, Alice wants to publish a post. She already knows the Outbox URL to create a Post; in this case, the action is “Create.”

My take on this proposal

I used to be a PropTech entrepreneur. I implemented the Real Estate Transaction Standards (RETS) for the web application. The Multiple Listing Services (MLS) uses RETS to describe properties and actions performed over it. Those standards or, better, a new version may benefit from this kind of protocol.

Back to <til> Today I learned

Posts by me

Los datos de los clientes de Panamericana estuvieron expuestos

El pasado 5 de abril fuí a Panamericana a comprar un libro, al momento de pagar, la cajera me hizo la invitación a actualizar mis datos para que me envien la factura electrónicamente.

A guy monitoring weather

Found this blog post in HN, pretty interesting, I’m doing something similar, but the level of sophictication in his project could be used as inspiration for mine. Monitoring My Weather At Home 🌩️

A GPT From Scratch

A nice post explaining how to build a GPT model from scratch GPT from scratch