farmOS Monthly Call, 12 April 2023

farmOS Monthly Call, 12 April 2023

Ongoing notes may be kept in the comments. For general information about these monthly calls see farmos.org/community/monthly-call.

farmos.org/community/monthly-call/join - Call Link

Agenda

  1. Community Q&A, Show & Tell, etc [5-10min]
  2. Convention schemas (w/ Greg+Octavio from Our Sci)
  3. Create new wiki topic for next month from template.

Attendees

3 Likes
mstenta: mstenta says:
https://farmos.discourse.group/t/farmos-monthly-call-12-april-2023/1572
 
mstenta: mstenta says:
https://farmos.discourse.group/t/farmos-monthly-call-12-april-2023/1572
 
Jamie (mobile): Jamie (mobile) says:
So overlays are more or less the same as the constraints we discussed long ago? 
Octavio: Octavio says:
I don't know if they fulfill the needs of that concept, but we might still improve them to reach there if needed, I guess. 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
thanks! 
@BuddysBestFarm: @BuddysBestFarm says:
Can you send me that github link? 
Octavio: Octavio says:
https://gitlab.com/our-sci/software/json_schema_distribution
 
@BuddysBestFarm: @BuddysBestFarm says:
For the schemas that were shared 
@BuddysBestFarm: @BuddysBestFarm says:
For the schemas that were shared 
mstenta: mstenta says:
https://farmos.discourse.group/t/wiki-conventions-quick-links/1518
 
@BuddysBestFarm: @BuddysBestFarm says:
@Octavio - that subfolder json_schema_distribution may not be public. I can see the rest of the repo. Thanks 
@BuddysBestFarm: @BuddysBestFarm says:
@Octavio - that subfolder json_schema_distribution may not be public. I can see the rest of the repo. Thanks 
Greg: Greg says:
screen is frozen for me... can other ssee his screen? 
Paul: Paul says:
I can see 
@BuddysBestFarm: @BuddysBestFarm says:
Screen looks ok from my side 
Greg: Greg says:
kk 
@BuddysBestFarm: @BuddysBestFarm says:
Great practical demonstration, @Octavio. 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
I'm curious about the rationale of packaging the convention as a JavaScript function, does that perform any additional validation that the schema itself could not perform, if paired with AJV or another validation library? Or is it mostly a convenience so you don't have to bring your own validator, plus with some nicer error reporting etc? 
Greg: Greg says:
you mean the validation function that comes out of the process? 
Greg: Greg says:
you mean the validation function that comes out of the process? 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
yes 
Paul: Paul says:
Similarly, I'm wondering would this would like using the Python Pydantic validation framework. I believe it can import/export JSON Schema and create models in Python.


https://docs.pydantic.dev/
 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
and is that packaged with anything else? 
Paul: Paul says:
*what would this look like 
Greg: Greg says:
I think it's a good point - you certainly can just copy into the most recent (or a version) of the published Collection. 
mstenta: mstenta says:
We have 10 minutes left, should we stop here for Q&A and discussion? 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
yea, also curious what is being done currently w/  publication/versioning/etc 
Paul: Paul says:
is this one? 
https://gitlab.com/our-sci/software/json_schema_distribution/-/blob/main/collection/conventions/log--activity--tillage_script/schema.json
 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
should we do a hackathon to see who can make the fastest/prettiest SPA or other GUI (in Python or JavaScript) that takes a schema URL, a data file, and validates it? 
Octavio: Octavio says:
I can only compete if the target is to make the ugliest one, but overall I like the idea. 
mstenta: mstenta says:
Hahaha 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
oh! I'd love to see the markdown generator 
Paul: Paul says:
👍 
Jamie Gaehring (he/him): Jamie Gaehring (he/him) says:
haha, like putting text back and forth through Google Translate 
Paul: Paul says:
I think I'll stop the recording here soon 😃 
G: G says:
Thank you everyone! 
@BuddysBestFarm: @BuddysBestFarm says:
Link to dev calls please? Still getting my bearings 
mstenta: mstenta says:
https://meet.jit.si/farmos-dev
 
@BuddysBestFarm: @BuddysBestFarm says:
Preesh 
mstenta: mstenta says:
https://farmos.discourse.group/t/farmos-community-calls/972
 

(Sorry some of these might be duplicated or out of order since Jitsi’s markup seems to have changed and I had to hack up the script I was using to download it last minute… :sweat_smile:)

2 Likes