IRC logs for #farmOS, 2022-02-03 (GMT)

2022-02-02
2022-02-04
TimeNickMessage
[02:26:11]* FreshiesFarmsLLC has quit (*.net *.split)
[02:26:11]* Anonymous[m]1234 has quit (*.net *.split)
[02:26:11]* oliverp44[m] has quit (*.net *.split)
[02:26:11]* postmanpat[m] has quit (*.net *.split)
[02:26:12]* goldi[m] has quit (*.net *.split)
[02:26:12]* OmkarEkbote[m] has quit (*.net *.split)
[02:26:12]* hra38192639[m] has quit (*.net *.split)
[02:26:12]* mindcls[m] has quit (*.net *.split)
[02:26:16]* SpencerOnazi[m] has quit (*.net *.split)
[02:26:16]* jgaehring[m] has quit (*.net *.split)
[02:26:16]* davd[m] has quit (*.net *.split)
[02:26:16]* olaf[m] has quit (*.net *.split)
[02:26:16]* jonasbits has quit (*.net *.split)
[02:26:18]* aislinnpearson[m has quit (*.net *.split)
[02:26:18]* sgoodall[m] has quit (*.net *.split)
[02:26:18]* harry[m]12 has quit (*.net *.split)
[02:26:18]* gretel[m] has quit (*.net *.split)
[02:26:18]* frederike[m] has quit (*.net *.split)
[02:26:18]* symbioquine[m] has quit (*.net *.split)
[02:26:18]* munjoma[m] has quit (*.net *.split)
[02:26:19]* AllanMacGregor[m has quit (*.net *.split)
[02:26:19]* iuresearcherpw[m has quit (*.net *.split)
[02:26:19]* MarcosCarballal[ has quit (*.net *.split)
[02:26:19]* steinfarm[m] has quit (*.net *.split)
[02:26:19]* and712[m] has quit (*.net *.split)
[02:26:19]* qoyyuum[m] has quit (*.net *.split)
[02:26:21]* matrixtrix[m] has quit (*.net *.split)
[02:26:21]* paul121[m] has quit (*.net *.split)
[02:26:21]* Noaht[m] has quit (*.net *.split)
[02:26:21]* mstenta[m] has quit (*.net *.split)
[02:26:21]* shane_aldrich[m] has quit (*.net *.split)
[02:26:22]* cosine has quit (*.net *.split)
[02:26:24]* ludwa6[m] has quit (*.net *.split)
[02:26:24]* med65[m] has quit (*.net *.split)
[02:26:24]* ChristophWolfes[ has quit (*.net *.split)
[02:26:24]* kunigunde[m] has quit (*.net *.split)
[02:26:26]* ChuckWinter[m] has quit (*.net *.split)
[02:26:26]* JanSonntag[m] has quit (*.net *.split)
[02:26:26]* farmtech[m] has quit (*.net *.split)
[02:26:26]* gunter[m] has quit (*.net *.split)
[02:26:31]* phantomse[m] has quit (*.net *.split)
[02:26:31]* skipper_is[m] has quit (*.net *.split)
[02:26:31]* lordeddi[m] has quit (*.net *.split)
[02:26:31]* IyarkaiTechLab[m has quit (*.net *.split)
[02:28:12]* matrixtrix[m] has joined #farmos
[02:28:12]* ChuckWinter[m] has joined #farmos
[02:28:12]* goldi[m] has joined #farmos
[02:28:12]* phantomse[m] has joined #farmos
[02:28:12]* sgoodall[m] has joined #farmos
[02:28:12]* aislinnpearson[m has joined #farmos
[02:28:12]* iuresearcherpw[m has joined #farmos
[02:28:12]* AllanMacGregor[m has joined #farmos
[02:28:12]* harry[m]12 has joined #farmos
[02:28:12]* JanSonntag[m] has joined #farmos
[02:28:12]* ludwa6[m] has joined #farmos
[02:28:12]* OmkarEkbote[m] has joined #farmos
[02:28:12]* paul121[m] has joined #farmos
[02:28:12]* farmtech[m] has joined #farmos
[02:28:12]* skipper_is[m] has joined #farmos
[02:28:12]* SpencerOnazi[m] has joined #farmos
[02:28:12]* med65[m] has joined #farmos
[02:28:12]* ChristophWolfes[ has joined #farmos
[02:28:12]* FreshiesFarmsLLC has joined #farmos
[02:28:12]* MarcosCarballal[ has joined #farmos
[02:28:12]* kunigunde[m] has joined #farmos
[02:28:12]* hra38192639[m] has joined #farmos
[02:28:12]* mstenta[m] has joined #farmos
[02:28:12]* Noaht[m] has joined #farmos
[02:28:12]* steinfarm[m] has joined #farmos
[02:28:12]* jgaehring[m] has joined #farmos
[02:28:12]* mindcls[m] has joined #farmos
[02:28:12]* lordeddi[m] has joined #farmos
[02:28:12]* Anonymous[m]1234 has joined #farmos
[02:28:12]* and712[m] has joined #farmos
[02:28:12]* davd[m] has joined #farmos
[02:28:12]* olaf[m] has joined #farmos
[02:28:12]* postmanpat[m] has joined #farmos
[02:28:12]* oliverp44[m] has joined #farmos
[02:28:12]* gretel[m] has joined #farmos
[02:28:12]* qoyyuum[m] has joined #farmos
[02:28:12]* symbioquine[m] has joined #farmos
[02:28:12]* frederike[m] has joined #farmos
[02:28:12]* shane_aldrich[m] has joined #farmos
[02:28:12]* munjoma[m] has joined #farmos
[02:28:12]* IyarkaiTechLab[m has joined #farmos
[02:28:12]* gunter[m] has joined #farmos
[02:28:12]* jonasbits has joined #farmos
[02:28:12]* cosine has joined #farmos
[02:28:39]* farmBOT has quit (Excess Flood)
[02:29:02]* farmBOT has joined #farmos
[04:00:13]* IyarkaiTechLab[m has quit (Quit: You have been kicked for being idle)
[04:00:13]* frederike[m] has quit (Quit: You have been kicked for being idle)
[04:00:14]* gunter[m] has quit (Quit: You have been kicked for being idle)
[08:01:17]* farmBOT has joined #farmos
[10:56:45]* justgav[m] has joined #farmos
[10:56:56]<justgav[m]>Afternoon :) took a while to find this chat, signed up to freenode and there was 1 other person :)
[10:57:25]<justgav[m]>Question I have... has anybody thought of integrating with something like mycodo (sensor, etc)
[11:00:08]* postmanpat[m] has quit (Quit: You have been kicked for being idle)
[11:00:08]* oliverp44[m] has quit (Quit: You have been kicked for being idle)
[11:00:08]* gretel[m] has quit (Quit: You have been kicked for being idle)
[11:00:11]* olaf[m] has quit (Quit: You have been kicked for being idle)
[11:00:12]* davd[m] has quit (Quit: You have been kicked for being idle)
[11:00:12]* and712[m] has quit (Quit: You have been kicked for being idle)
[11:00:15]* Anonymous[m]1234 has quit (Quit: You have been kicked for being idle)
[11:00:15]* lordeddi[m] has quit (Quit: You have been kicked for being idle)
[11:00:16]* steinfarm[m] has quit (Quit: You have been kicked for being idle)
[11:00:16]* mindcls[m] has quit (Quit: You have been kicked for being idle)
[11:00:53]<justgav[m]>Spinning up a dev env and will look at the integration options via the API
[11:02:24]<paul121[m]>Welcome justgav ! I haven't heard of mycodo, but there have been various sensor integrations using Data Streams: https://farmos.org/model/type/data_stream/
[11:02:39]<justgav[m]>paul121: Thank you for that, will look into that
[11:02:49]<justgav[m]>https://kizniche.github.io/Mycodo/
[11:03:01]<paul121[m]>Just went to search our forum for "mycodo" but it seems that the forum is down.. (maybe it's just me?)..
[11:03:01]<paul121[m]>https://farmos.discourse.group/
[11:03:24]<justgav[m]>Yeah, I got stuck there, tried 3 different browsers in case it was broken HTML :P turns out it wasn't
[11:04:27]<paul121[m]>Rats, yea, not sure what is going on. It is on a free hosting plan so 🤷
[11:05:31]<justgav[m]>I'm not a drupal guy but will find my way round the code base and let's see :) Am liking the work done though
[11:07:08]<paul121[m]>Cool! Yeah, so farmOS comes with a `basic` data stream type which allows you to POST data directly to farmOS. that's the easiest to integrate with
[11:07:46]<paul121[m]>You may be interested in some of the NodeRed things FarmerEd has been sharing on the forum (once that is back up)
[11:09:12]<justgav[m]>Oooh, I am a fan of nodered, so that has my attention!
[11:10:58]<justgav[m]>And last question before I deep dive, is there a mobile app for upload in-the-field photos etc? if not that is something I look at as well
[11:11:12]<justgav[m]>I did see there is observational stuff
[11:12:44]<paul121[m]>That will be provided with farmOS Field Kit! Still in development for farmOS 2.0: https://github.com/farmos/farmos-client
[11:13:15]<paul121[m]>Field Kit v1 if you are curious: https://farmos.app
[11:13:47]<paul121[m]>we also have a weekly development call starting in 45 minutes if you are interested in joining :-)
[11:14:04]<justgav[m]>Yeah, go on, I'll listen in
[11:14:28]<paul121[m]>Seems the forum is back up!
[11:14:30]<paul121[m]>https://farmos.discourse.group/t/farmos-community-calls/972/4
[11:14:40]<paul121[m]> * https://farmos.discourse.group/t/farmos-community-calls/972/
[11:30:56]* justgav1976[m] has joined #farmos
[11:31:20]* justgav1976[m] is now known as justgav1976[m]1
[11:40:23]<symbioquine[m]>It looks like JSON:API results do not have stable sorting by default, which means that you get very surprising behavior if you do pagination without also providing a sorting criteria. What ends up happening is that some results appear multiple times and others do not appear at all.
[11:42:46]<symbioquine[m]>Seems similar to https://www.drupal.org/project/drupal/issues/2856572
[11:43:31]<symbioquine[m]>I'm wondering if farmOS should sort by created/id/tid (or something similar) by default...
[11:43:48]<symbioquine[m]>Seems like a lot of subtle bugs waiting to happen when folks try to use the farmOS API.
[11:44:10]<symbioquine[m]>(bugs in client software that is)
[11:49:13]<paul121[m]>huh.. does there seem to be a default sort anyways?
[11:49:27]<paul121[m]>by `id` ?
[11:50:49]<symbioquine[m]>I don't think so
[11:52:42]<paul121[m]>related I think: https://www.drupal.org/project/drupal/issues/3098419
[11:55:05]<symbioquine[m]>Seems surprising that it was closed as "cannot reproduce"
[11:55:35]<paul121[m]>yea.. well no more info was provided
[11:55:57]<paul121[m]>if you could re-produce in a test you would get some attention :-)
[11:56:15]<mstenta[m]>looks like they were referring to the *duplicate* issue reported, not the *sorting* issue as "cannot reproduce"
[11:56:26]<mstenta[m]>did you see duplicates symbioquine ?
[11:57:11]<mstenta[m]>as for sorting, Wim Leers said:
[11:57:11]<mstenta[m]>> We can't add default sorting without incurring a performance cost and without it adding confusion WRT https://jsonapi.org/format/#fetching-sorting.
[11:57:11]<mstenta[m]>>
[11:57:11]<mstenta[m]>>If you want sorting, you need to specify a sort!
[11:58:02]<mstenta[m]>on our end, we could add some documentation at the very least to recommend adding sorts to queries
[11:58:31]<symbioquine[m]>Both duplicates and missing entries (as you'd expect if the sorting is non-deterministic on a request by request basis)
[11:58:50]<symbioquine[m]>It shouldn't allow pagination if it's going to have that behavior
[11:59:20]<symbioquine[m]>i.e. the "next page" links should exist, but should return a 400 error with a helpful message saying that the results will be broken without a sorting param
[12:00:08]<FreshiesFarmsLLC>Guys can you send me the link to the developer call?
[12:00:15]<mstenta[m]>that would be nice, i agree - it should be done upstream in drupal core though - i'd rather not add any hacks in our code
[12:00:15]<justgav1976[m]1>I think discourse has gone down again, do you have the link for the call?
[12:00:35]<mstenta[m]>https://meet.jit.si/farmos-dev
[12:00:39]<mstenta[m]>i'll be there in a few...
[12:05:14]* med65[m] is now known as m035[m]
[12:08:06]<symbioquine[m]><mstenta[m]> "that would be nice, i agree - it..." <- I'm going to guess they wouldn't go with that strategy at the core level since it would, by definition, be a breaking change. (albeit breaking only code that is arguably already broken)
[12:09:31]<symbioquine[m]>Do you think there's precedent for doing that at the core level?
[12:37:23]<mstenta[m]>Mm true - introducing a 400 error would be breaking for anyone who is not sorting, and depending on pagination
[12:37:32]<mstenta[m]>But in those cases they would also be experiencing this issue :-)
[12:46:11]<symbioquine[m]>Yeah, it's tricky.
[12:46:48]<symbioquine[m]>I'm happy to pursue an issue if you think there's much chance of it having an impact, but I'm a little skeptical. Seems more viable to at least fix it for farmOS...
[12:47:00]<symbioquine[m]>* an issue with Core if you
[12:48:02]<symbioquine[m]>I guess I should try anyway. Good for there to be a bit more evidence that it's a pain-point.
[12:48:41]<symbioquine[m]>And if it's closed with "won't fix" we can maybe revisit whether it should be fixed at the farmOS level?
[12:49:02]<symbioquine[m]>* a pain-point at the Core level.
[13:06:29]<mstenta[m]>Sounds good! Yea might as well start a core issue and see what they say
[15:58:37]* farmBOT has quit (Ping timeout: 256 seconds)
[15:59:00]* farmBOT has joined #farmos