| 04:21 | * | svenn_ has quit (Read error: Connection reset by peer) |
| 04:22 | * | svenn_ has joined |
| 04:37 | * | svenn_ has quit (*.net *.split) |
| 04:42 | * | svenn_ has joined |
| 04:45 | * | JulianF has quit (Ping timeout: 246 seconds) |
| 04:45 | * | linus0[m] has quit (Ping timeout: 268 seconds) |
| 04:45 | * | ramses[m] has quit (Ping timeout: 240 seconds) |
| 04:45 | * | rocoroc[m] has quit (Ping timeout: 246 seconds) |
| 04:45 | * | symbioquine[m] has quit (Ping timeout: 246 seconds) |
| 04:45 | * | calbasi_matrix has quit (Ping timeout: 260 seconds) |
| 04:45 | * | jolau[m] has quit (Ping timeout: 246 seconds) |
| 04:45 | * | spiffyman[m] has quit (Ping timeout: 240 seconds) |
| 04:45 | * | mstenta[m] has quit (Ping timeout: 246 seconds) |
| 04:45 | * | jcalonso[m] has quit (Ping timeout: 246 seconds) |
| 04:45 | * | generalredneck[m has quit (Ping timeout: 246 seconds) |
| 04:46 | * | abinash[m] has quit (Ping timeout: 240 seconds) |
| 04:46 | * | abugida[m] has quit (Ping timeout: 260 seconds) |
| 04:46 | * | paul121[m] has quit (Ping timeout: 260 seconds) |
| 04:46 | * | todrobbins[m] has quit (Ping timeout: 260 seconds) |
| 04:46 | * | kunigunde[m] has quit (Ping timeout: 260 seconds) |
| 04:46 | * | gabriel_renoir[m has quit (Ping timeout: 265 seconds) |
| 04:46 | * | zedrckr[m] has quit (Ping timeout: 265 seconds) |
| 04:46 | * | munjoma[m] has quit (Ping timeout: 265 seconds) |
| 04:46 | * | wombat83[m] has quit (Ping timeout: 272 seconds) |
| 04:46 | * | dazinism has quit (Ping timeout: 240 seconds) |
| 04:46 | * | trishlatalera[m] has quit (Ping timeout: 240 seconds) |
| 04:46 | * | dge[m] has quit (Ping timeout: 260 seconds) |
| 04:49 | * | jgaehring[m] has quit (Ping timeout: 240 seconds) |
| 04:56 | * | linus0[m] has joined |
| 05:06 | * | dge[m] has joined |
| 05:07 | * | kunigunde[m] has joined |
| 05:09 | * | paul121[m] has joined |
| 05:09 | * | todrobbins[m] has joined |
| 05:09 | * | abugida[m] has joined |
| 05:09 | * | calbasi_matrix has joined |
| 05:09 | * | wombat83[m] has joined |
| 05:10 | * | JulianF has joined |
| 05:11 | * | rocoroc[m] has joined |
| 05:11 | * | ramses[m] has joined |
| 05:15 | * | dazinism has joined |
| 05:15 | * | symbioquine[m] has joined |
| 05:16 | * | zedrckr[m] has joined |
| 05:16 | * | munjoma[m] has joined |
| 05:16 | * | gabriel_renoir[m has joined |
| 05:17 | * | jolau[m] has joined |
| 05:17 | * | mstenta[m] has joined |
| 05:17 | * | jcalonso[m] has joined |
| 05:17 | * | generalredneck[m has joined |
| 05:17 | * | spiffyman[m] has joined |
| 05:18 | * | abinash[m] has joined |
| 05:19 | * | trishlatalera[m] has joined |
| 05:19 | * | jgaehring[m] has joined |
| 07:33 | * | DirtyGiraffe has joined |
| 12:32 | * | xouskO has joined |
| 12:32 | * | xouskO has quit (Connection closed) |
| 12:55 | * | funnel has joined |
| 12:55 | * | funnel has quit (Connection closed) |
| 12:59 | * | Chew has joined |
| 12:59 | * | Chew has quit (Connection closed) |
| 13:08 | * | robotrollYk has joined |
| 13:08 | * | robotrollYk has quit (Read error: Connection reset by peer) |
| 13:11 | * | Razielxp has joined |
| 13:11 | * | Razielxp has quit (Remote host closed the connection) |
| 13:12 | * | floogulinc has joined |
| 13:13 | * | floogulinc has quit (Remote host closed the connection) |
| 13:16 | * | promotevG has joined |
| 13:18 | * | promotevG has quit (Remote host closed the connection) |
| 16:34 | * | farmBOT has joined |
| 16:42 | * | naveenls[m] has joined |
| 16:42 | naveenls[m] | How to setup and use Oauth2.0 for making rest api calls |
| 16:44 | paul121[m] | Try these docs: farmos.org/development/api/#oauth2-detai |
| 16:44 | paul121[m] | Specifically the Password credentials authorization flow: farmos.org/development/api/#password-cre |
| 17:09 | * | DirtyGiraffe has quit (Ping timeout: 264 seconds) |
| 17:36 | * | botlfarm[m] has joined |
| 17:41 | * | DirtyGiraffe has joined |
| 18:58 | generalredneck[m | skipping this month. I'm pretty behind on billibles and can really use the time to catch up. |
| 19:01 | mstenta[m] | My internet cut out at exactly 2 haha |
| 19:02 | mstenta[m] | Be right there... |
| 19:56 | jgaehring[m] | oh I meant to ask symbioquine more about the seed asset too... is that module in a public repo somewhere? |
| 20:05 | symbioquine[m] | Not yet, I was preparing to publish it a while back with my PR github.com/farmOS/farmOS/pull/285 but didn't go farther once that didn't pan out. |
| 20:05 | mstenta[m] | Oh yea I've been thinking about the trait idea again recently... |
| 20:05 | symbioquine[m] | My hope now is to build/share a seed asset for 2.x |
| 20:07 | paul121[m] | Interested in the traits too! |
| 20:08 | symbioquine[m] | Internally, I'm using code very similar to what's in that PR as part of building a seed asset - but I relaxed some of my constraints when I realized it wasn't going to be as straight-forward to share it as-is. e.g. there's some code in the view for transforming "externalIds" matching 'PI \d+' into links to USDA GRIN |
| 20:09 | symbioquine[m] | Ideally, there'd be extensible and not part of the core seed asset if i were maintaining a contrib version. |
| 20:09 | symbioquine[m] | * Ideally, that'd be extensible and not part of the core seed asset if i were maintaining a contrib version. |
| 20:12 | symbioquine[m] | jgaehring: I'd be happy to publish a rough copy of the current seed asset code I'm using if it would be helpful as an example - with the caveat that I haven't really been maintaining it for external consumption :) |
| 20:47 | paul121[m] | the ability for users to create these pseudo-fields on assets would just be soo cool. |
| 20:48 | paul121[m] | wrapping them in a "trait" system supported by core would be great |
| 20:49 | paul121[m] | basically a controlled & supported alternative to opening up the Field UI module to users & allowing them to create fields as they please... |
| 20:49 | symbioquine[m] | Yeah, for our use-case having a way to store arbitrary characteristics in a structured way is pretty important. e.g. Whether wheat is Winter/Spring/Facultative or whether beans are bush/pole/intermediate |
| 20:50 | symbioquine[m] | In my opinion the structure of those fields should be such that it doesn't wreck the UI for them to be very sparsely populated. |
| 20:51 | paul121[m] | ah yea - and thats a benefit of a "trait" system, right? |
| 20:52 | symbioquine[m] | yeah |
| 20:52 | paul121[m] | that alternative being that fields are created on ALL assets, no matter what |
| 20:52 | symbioquine[m] | <paul121[m] "ah yea - and thats a benefit of "> Yeah. Though, there's lots of ways to achieve something similar... |
| 20:52 | symbioquine[m] | <paul121[m] "that alternative being that fiel"> At least at the UI layer it works that way. |
| 20:54 | symbioquine[m] | It's also kind of clunky to create so many new tables/joins by modeling such things as Drupal fields. |
| 20:56 | paul121[m] | yeah |
| 20:57 | paul121[m] | Drupal fields just get a lot for "free" too - like API integration, revisions, etc |
| 20:57 | paul121[m] | but doesn't mean it doesn't come without baggage! |
| 20:57 | mstenta[m] | I wonder if something like the key value module would be worth considering |
| 20:58 | mstenta[m] | www.drupal.org/project/key_value_field |
| 20:59 | mstenta[m] | I've never tried it... |
| 20:59 | symbioquine[m] | Yeah, that looks pretty promising |
| 21:00 | mstenta[m] | Maybe a `trait` field on all asset types by default, as a key value field? |
| 21:00 | mstenta[m] | Worth dropping it in and playing around perhaps |
| 21:00 | symbioquine[m] | Yeah |
| 21:01 | mstenta[m] | Might serve the egg module needs to "this asset lays eggs" |
| 21:01 | mstenta[m] | * Might serve the egg module needs too "this asset lays eggs" |
| 21:02 | mstenta[m] | Can we migrate the "castrated" field to it? 😅 |
| 21:02 | paul121[m] | a way to standardize the keys... such as taxonomy terms |
| 21:02 | mstenta[m] | Yea that's the trade-off |
| 21:03 | paul121[m] | maybe the keys could have logic to determine if they apply to certain assets (like an animal) |
| 21:06 | paul121[m] | and different value types... so you could store a "string" trait, "number" trait, perhaps an entity reference trait.. |
| 21:06 | paul121[m] | similar to the quantity type |
| 21:07 | paul121[m] | traits that are derived from logs... like location or group membership |
| 21:08 | paul121[m] | not sure if these are sufficiently related :) |
| 21:09 | paul121[m] | but some kind of "trait" feature & abstracting out the "asset property derived from logs" would be great to chalk up for 2.1 maybe?? |
| 21:10 | mstenta[m] | > traits that are derived from logs... like location or group membership |
| 21:10 | mstenta[m] | I was just going to bring that up |
| 21:11 | mstenta[m] | Are traits a field on the asset? Or will they need to change via logs? |
| 21:11 | mstenta[m] | Will you need to track the change itself (beyond asset revisions) |
| 21:13 | paul121[m] | hmm yea. maybe these should be separate |
| 21:13 | paul121[m] | thinking in terms of JSONAPI... its almost "intrinsic_attributes" and "derived_attributes" |
| 21:14 | paul121[m] | both under the `resource.attributes` umbrella |
| 21:16 | symbioquine[m] | At least for my use-case, I believe asset revisions are sufficient tracking for traits. |
| 21:17 | symbioquine[m] | <paul121[m] "a way to standardize the keys..."> This could just be handled on the input side via a field validator and maybe a custom form input... |
| 21:17 | mstenta[m] | > Can we migrate the "castrated" field to it? 😅 |
| 21:17 | mstenta[m] | this is one that would benefit from log tracking |
| 21:18 | symbioquine[m] | yeah, that makes sense |
| 21:18 | mstenta[m] | i could imagine a `trait` field on logs, which basically means "set these traits on referenced assets" |
| 21:18 | symbioquine[m] | <paul121[m] "but some kind of "trait" feature"> Seems like unnecessary abstraction... |
| 21:19 | symbioquine[m] | <mstenta[m] "i could imagine a `trait` field "> That would be nice :) |
| 21:19 | mstenta[m] | or `asset_trait` (to be more specific) |
| 21:19 | mstenta[m] | would that fit your use-cases too symbioquine and paul121 ? |
| 21:20 | mstenta[m] | (i saw you said revisions would fit your symbioquine - but would logs work as well?) |
| 21:21 | mstenta[m] | and then maybe a `trait` computed field on the assets themselves? |
| 21:21 | mstenta[m] | (like `location`) |
| 21:21 | paul121[m] | <symbioquine[m] "Seems like unnecessary abstracti"> maybe. I might be thinking more like "utilities" for creating other fields computed by logs. For example the "Destroyed harvest" use case... maybe a "total harvest" computed field could help with this? |
| 21:22 | mstenta[m] | oh you mean from the "Loss of Product" forum topic? |
| 21:22 | mstenta[m] | cool yea that could be a way to handle it |
| 21:22 | mstenta[m] | (as a convention anyway) |
| 21:23 | symbioquine[m] | <mstenta[m] "(i saw you said revisions would "> Yeah, either way can work |
| 21:23 | mstenta[m] | so... this also makes me think about the "asset life cycle/growth stage stuff" |
| 21:23 | mstenta[m] | are those just traits as well? |
| 21:23 | mstenta[m] | * are those just `trait`s as well? |
| 21:23 | paul121[m] | requiring a log to assign the traits seems like a bummer. like a UX/DX thing |
| 21:24 | paul121[m] | basically the same argument for not requiring movement logs |
| 21:24 | mstenta[m] | yea that's certainly a drawback |
| 21:24 | mstenta[m] | `intrinsic_trait` ;-) |
| 21:25 | mstenta[m] | (not suggesting that haha) |
| 21:25 | paul121[m] | if its "intrinsic", and I have 200 assets that need the same thing, it gets annoying. although one log that can assign multiple would help |
| 21:25 | mstenta[m] | right |
| 21:25 | mstenta[m] | that's where logs are useful... same with movements and group membership (and weight) |
| 21:25 | paul121[m] | > thinking in terms of JSONAPI... its almost "intrinsic_attributes" and "derived_attributes" |
| 21:25 | paul121[m] | I already did suggest it - ha! |
| 21:25 | mstenta[m] | so weight...... |
| 21:26 | mstenta[m] | related? |
| 21:26 | mstenta[m] | (should weight be a trait (hey that rhymes) |
| 21:26 | mstenta[m] | * (should weight be a trait (hey that rhymes)) |
| 21:28 | paul121[m] | hmm |
| 21:28 | mstenta[m] | (also not necessarily suggesting it... but all these things feel very similar) |
| 21:28 | paul121[m] | thinking about quantities in general. a trait's value could be a quantity |
| 21:29 | mstenta[m] | we might want to open a forum topic or issue to map out all the various pieces here... i'm really hesitant to add another subsystem without giving it holistic thought |
| 21:30 | mstenta[m] | (and unless we come up with some elegant and simple answer in the next month or two, it'll probably have to be 2.1+) |
| 21:30 | mstenta[m] | (which means also writing migrations, for eg: castrated, weights, etc) |
| 21:31 | paul121[m] | yeah |
| 21:32 | mstenta[m] | migrating weights off of quantities will be tricky either way |
| 21:32 | mstenta[m] | hmmmmmm |
| 21:32 | mstenta[m] | what about: a `trait` quantity type? |
| 21:32 | mstenta[m] | 🤔 |
| 21:33 | mstenta[m] | (maybe not... that would imply traits are always numbers) |
| 21:34 | paul121[m] | it does seem similar, where a trait entity + trait bundles would be useful |
| 21:38 | mstenta[m] | ah hmm |
| 22:03 | symbioquine[m] | Even finer than the bundle level, it would be nice to have some traits only appear in the UI for certain cross-sections of varieties. e.g. "awed-ness" should only apply to grains... 😁 |
| 22:03 | symbioquine[m] | * Even finer than the bundle level, it would be nice to have some traits only appear in the UI for certain cross-sections of varieties. e.g. "awned-ness" should only apply to grains... 😁 |