< 022022-02-03⋎04 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
07:26*FreshiesFarmsLLC has quit (*.net *.split)
07:26*Anonymous[m]1234 has quit (*.net *.split)
07:26*oliverp44[m] has quit (*.net *.split)
07:26*postmanpat[m] has quit (*.net *.split)
07:26*goldi[m] has quit (*.net *.split)
07:26*OmkarEkbote[m] has quit (*.net *.split)
07:26*hra38192639[m] has quit (*.net *.split)
07:26*mindcls[m] has quit (*.net *.split)
07:26*SpencerOnazi[m] has quit (*.net *.split)
07:26*jgaehring[m] has quit (*.net *.split)
07:26*davd[m] has quit (*.net *.split)
07:26*olaf[m] has quit (*.net *.split)
07:26*jonasbits has quit (*.net *.split)
07:26*aislinnpearson[m has quit (*.net *.split)
07:26*sgoodall[m] has quit (*.net *.split)
07:26*harry[m]12 has quit (*.net *.split)
07:26*gretel[m] has quit (*.net *.split)
07:26*frederike[m] has quit (*.net *.split)
07:26*symbioquine[m] has quit (*.net *.split)
07:26*munjoma[m] has quit (*.net *.split)
07:26*AllanMacGregor[m has quit (*.net *.split)
07:26*iuresearcherpw[m has quit (*.net *.split)
07:26*MarcosCarballal[ has quit (*.net *.split)
07:26*steinfarm[m] has quit (*.net *.split)
07:26*and712[m] has quit (*.net *.split)
07:26*qoyyuum[m] has quit (*.net *.split)
07:26*matrixtrix[m] has quit (*.net *.split)
07:26*paul121[m] has quit (*.net *.split)
07:26*Noaht[m] has quit (*.net *.split)
07:26*mstenta[m] has quit (*.net *.split)
07:26*shane_aldrich[m] has quit (*.net *.split)
07:26*cosine has quit (*.net *.split)
07:26*ludwa6[m] has quit (*.net *.split)
07:26*med65[m] has quit (*.net *.split)
07:26*ChristophWolfes[ has quit (*.net *.split)
07:26*kunigunde[m] has quit (*.net *.split)
07:26*ChuckWinter[m] has quit (*.net *.split)
07:26*JanSonntag[m] has quit (*.net *.split)
07:26*farmtech[m] has quit (*.net *.split)
07:26*gunter[m] has quit (*.net *.split)
07:26*phantomse[m] has quit (*.net *.split)
07:26*skipper_is[m] has quit (*.net *.split)
07:26*lordeddi[m] has quit (*.net *.split)
07:26*IyarkaiTechLab[m has quit (*.net *.split)
07:28*matrixtrix[m] has joined
07:28*ChuckWinter[m] has joined
07:28*goldi[m] has joined
07:28*phantomse[m] has joined
07:28*sgoodall[m] has joined
07:28*aislinnpearson[m has joined
07:28*iuresearcherpw[m has joined
07:28*AllanMacGregor[m has joined
07:28*harry[m]12 has joined
07:28*JanSonntag[m] has joined
07:28*ludwa6[m] has joined
07:28*OmkarEkbote[m] has joined
07:28*paul121[m] has joined
07:28*farmtech[m] has joined
07:28*skipper_is[m] has joined
07:28*SpencerOnazi[m] has joined
07:28*med65[m] has joined
07:28*ChristophWolfes[ has joined
07:28*FreshiesFarmsLLC has joined
07:28*MarcosCarballal[ has joined
07:28*kunigunde[m] has joined
07:28*hra38192639[m] has joined
07:28*mstenta[m] has joined
07:28*Noaht[m] has joined
07:28*steinfarm[m] has joined
07:28*jgaehring[m] has joined
07:28*mindcls[m] has joined
07:28*lordeddi[m] has joined
07:28*Anonymous[m]1234 has joined
07:28*and712[m] has joined
07:28*davd[m] has joined
07:28*olaf[m] has joined
07:28*postmanpat[m] has joined
07:28*oliverp44[m] has joined
07:28*gretel[m] has joined
07:28*qoyyuum[m] has joined
07:28*symbioquine[m] has joined
07:28*frederike[m] has joined
07:28*shane_aldrich[m] has joined
07:28*munjoma[m] has joined
07:28*IyarkaiTechLab[m has joined
07:28*gunter[m] has joined
07:28*jonasbits has joined
07:28*cosine has joined
07:28*farmBOT has quit (Excess Flood)
07:29*farmBOT has joined
09:00*IyarkaiTechLab[m has quit (Quit: You have been kicked for being idle)
09:00*frederike[m] has quit (Quit: You have been kicked for being idle)
09:00*gunter[m] has quit (Quit: You have been kicked for being idle)
13:01*farmBOT has joined
15:56*justgav[m] has joined
15:56justgav[m]Afternoon :) took a while to find this chat, signed up to freenode and there was 1 other person :)
15:57justgav[m]Question I have... has anybody thought of integrating with something like mycodo (sensor, etc)
16:00*postmanpat[m] has quit (Quit: You have been kicked for being idle)
16:00*oliverp44[m] has quit (Quit: You have been kicked for being idle)
16:00*gretel[m] has quit (Quit: You have been kicked for being idle)
16:00*olaf[m] has quit (Quit: You have been kicked for being idle)
16:00*davd[m] has quit (Quit: You have been kicked for being idle)
16:00*and712[m] has quit (Quit: You have been kicked for being idle)
16:00*Anonymous[m]1234 has quit (Quit: You have been kicked for being idle)
16:00*lordeddi[m] has quit (Quit: You have been kicked for being idle)
16:00*steinfarm[m] has quit (Quit: You have been kicked for being idle)
16:00*mindcls[m] has quit (Quit: You have been kicked for being idle)
16:00justgav[m]Spinning up a dev env and will look at the integration options via the API
16:02paul121[m]Welcome justgav ! I haven't heard of mycodo, but there have been various sensor integrations using Data Streams: farmos.org/model/type/data_stream/
16:02justgav[m]paul121: Thank you for that, will look into that
16:02justgav[m]kizniche.github.io/Mycodo/
16:03paul121[m]Just went to search our forum for "mycodo" but it seems that the forum is down.. (maybe it's just me?)..
16:03paul121[m]farmos.discourse.group/
16:03justgav[m]Yeah, I got stuck there, tried 3 different browsers in case it was broken HTML :P turns out it wasn't
16:04paul121[m]Rats, yea, not sure what is going on. It is on a free hosting plan so 🤷
16:05justgav[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
16:07paul121[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
16:07paul121[m]You may be interested in some of the NodeRed things FarmerEd has been sharing on the forum (once that is back up)
16:09justgav[m]Oooh, I am a fan of nodered, so that has my attention!
16:10justgav[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
16:11justgav[m]I did see there is observational stuff
16:12paul121[m]That will be provided with farmOS Field Kit! Still in development for farmOS 2.0: github.com/farmos/farmos-client
16:13paul121[m]Field Kit v1 if you are curious: farmos.app
16:13paul121[m]we also have a weekly development call starting in 45 minutes if you are interested in joining :-)
16:14justgav[m]Yeah, go on, I'll listen in
16:14paul121[m]Seems the forum is back up!
16:14paul121[m]farmos.discourse.group/t/farmos-communit
16:14paul121[m] * farmos.discourse.group/t/farmos-communit
16:30*justgav1976[m] has joined
16:31*justgav1976[m] is now known as justgav1976[m]
16:40symbioquine[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.
16:42symbioquine[m]Seems similar to www.drupal.org/project/drupal/issues/285
16:43symbioquine[m]I'm wondering if farmOS should sort by created/id/tid (or something similar) by default...
16:43symbioquine[m]Seems like a lot of subtle bugs waiting to happen when folks try to use the farmOS API.
16:44symbioquine[m](bugs in client software that is)
16:49paul121[m]huh.. does there seem to be a default sort anyways?
16:49paul121[m]by `id` ?
16:50symbioquine[m]I don't think so
16:52paul121[m]related I think: www.drupal.org/project/drupal/issues/309
16:55symbioquine[m]Seems surprising that it was closed as "cannot reproduce"
16:55paul121[m]yea.. well no more info was provided
16:55paul121[m]if you could re-produce in a test you would get some attention :-)
16:56mstenta[m]looks like they were referring to the *duplicate* issue reported, not the *sorting* issue as "cannot reproduce"
16:56mstenta[m]did you see duplicates symbioquine ?
16:57mstenta[m]as for sorting, Wim Leers said:
16:57mstenta[m]> We can't add default sorting without incurring a performance cost and without it adding confusion WRT jsonapi.org/format/#fetching-sorting.
16:57mstenta[m]>
16:57mstenta[m]>If you want sorting, you need to specify a sort!
16:58mstenta[m]on our end, we could add some documentation at the very least to recommend adding sorts to queries
16:58symbioquine[m]Both duplicates and missing entries (as you'd expect if the sorting is non-deterministic on a request by request basis)
16:58symbioquine[m]It shouldn't allow pagination if it's going to have that behavior
16:59symbioquine[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
17:00FreshiesFarmsLLCGuys can you send me the link to the developer call?
17:00mstenta[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
17:00justgav1976[m]1I think discourse has gone down again, do you have the link for the call?
17:00mstenta[m]meet.jit.si/farmos-dev
17:00mstenta[m]i'll be there in a few...
17:05*med65[m] is now known as med65[m]
17:08symbioquine[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)
17:09symbioquine[m]Do you think there's precedent for doing that at the core level?
17:37mstenta[m]Mm true - introducing a 400 error would be breaking for anyone who is not sorting, and depending on pagination
17:37mstenta[m]But in those cases they would also be experiencing this issue :-)
17:46symbioquine[m]Yeah, it's tricky.
17:46symbioquine[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...
17:47symbioquine[m]* an issue with Core if you
17:48symbioquine[m]I guess I should try anyway. Good for there to be a bit more evidence that it's a pain-point.
17:48symbioquine[m]And if it's closed with "won't fix" we can maybe revisit whether it should be fixed at the farmOS level?
17:49symbioquine[m]* a pain-point at the Core level.
18:06mstenta[m]Sounds good! Yea might as well start a core issue and see what they say
20:58*farmBOT has quit (Ping timeout: 256 seconds)
20:59*farmBOT has joined

< 022022-02-03⋏04 >