blockprotocol
PyLD
Our great sponsors
blockprotocol | PyLD | |
---|---|---|
3 | 28 | |
1,330 | 580 | |
1.3% | 1.7% | |
8.2 | 5.2 | |
13 days ago | 2 months ago | |
TypeScript | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
blockprotocol
-
Learning HTML was too hard so I made a compiler instead
Relevant to this conversation, I saw Joel Spolsky giving a talk about his new big project/stab at addressing this problem The Block Protocol.
-
The Block Protocol
1) The spec says that a block package includes its source code, and the block hub seems to be a browser of block packages, but it doesn't give me the full view into said block packages. Is there a reason for this? Is it on the to-do list?
It's on the to-list indeed - we are going to add links to the source of blocks. The package for distribution will typically be minified and less illuminating, although we can look to expose that too (as well as making it available for request via the API).
2) What's going on with the type signatures here?
The type signatures on functions in the spec definitely need cleaning up to be consistent and more helpful. They are pseudo-code. There are TypeScript types for them (https://github.com/blockprotocol/blockprotocol/blob/main/pac...) which won't be much use to you, but I am including in case they are of someone else.
The schema you mention in the Hub is autogenerated from the TypeScript interface for the block, which can lead to weird artefacts of the sort you identify. We need to add custom codegen to better handle this. It should valid JSON Schema.
PyLD
- I Wrote an Activitypub Server in OCaml: Lessons Learnt, Weekends Lost
- JSON for Linking Data
-
I'm currently in the interview process for a Jr. Full Stack Developer position, and I was given this take-home test that has me on the verge of pulling my hair out.
3) Things I would need to refresh: JSON-LD (This is actually really useful): https://json-ld.org/
-
The need for a more semantic web
Some documentation for you OP: - RDFa. - JSON-LD doesn't have to be in HTML. It's just a specification built on JSON to represent RDF data. Also, from experience, Turtle) is more popular - If you want to dig into what defining semantic vocabularies (ontologies) entails, read on RDF, RDFS, and OWL2.
- Making SEO better for blog posts with Structured Data
-
Beginners Guide to Yoast SEO 2023
Schema markup can be added to a web page using the JSON-LD format, which is a structured data format that is supported by Yoast SEO.
-
Getting Started with ActivityPub
It's a big long, so the response is at the bottom in Appendix A. The format is JSON for Linking Data, or JSON-LD.
-
schema-org-java: Java library for working with Schema.org data in JSON-LD format
So it can be tedious to create all the entities needed for your project and then serialize / deserialize the data in JSON-LD format.