< 162022-12-17⋎18 >

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
01:14symbioquine[m]<symbioquine[m]> "Anybody else getting timeouts..." <- status.discourse.org/
01:15*uploaded an image: (256KiB) < libera.ems.host/_matrix/media/v3/downloa >
09:00*riotmiked[m] has quit (Quit: You have been kicked for being idle)
14:30mstenta[m]Forum is back up it seems
14:30mstenta[m]Looks like they moved us to a different region
14:31*uploaded an image: (56KiB) < libera.ems.host/_matrix/media/v3/downloa >
16:44symbioquine[m]<symbioquine[m]> "Left two questions on the..." <- mstenta: I hope I wasn't too pushy with my comment that there might be a race condition in those constraint checks. I don't think it's worse than it was, even if the race condition is there - it just informs whether the change makes circular relationships impossible or just really unlikely.
16:45mstenta[m]Not at all! Its a good question and I'm pretty sure it does NOT protect against that
16:46mstenta[m]I think there are other situations where it will be possible to end up with a circular relationship too
16:46mstenta[m]I plan to follow up on your comment next week
16:47mstenta[m]I think this change will prevent the most likely scenario, so its probably worth starting here and maybe opening a followup up for tracking the hypothetical scenarios
18:01lordeddi[m]just out of curiosity: that CSV bug #497 (github.com/farmOS/farmOS/pull/622). If i understand correctly, the column containing multiple quantities has newlines etc....
18:01lordeddi[m]and the solution for now would be to only have the 1st quantity outputted in the csv? or only that line `preg_replace` which strips tabs, newlines, extra spaces etc... ?
18:01lordeddi[m]i find this interesting, since there is the need of outputting more than 1 thing in a CSV field/column.. and it triggers database-normalization warnings in my brain :)
18:01lordeddi[m] * just out of curiosity: that CSV bug #497 (github.com/farmOS/farmOS/pull/622). If i understand correctly, the column containing multiple quantities has newlines etc....
18:01lordeddi[m]and the solution for now would be to only have the 1st quantity outputted in the csv? or only that line `preg_replace` which strips tabs, newlines, extra spaces etc... ?
18:01lordeddi[m]i find this interesting, since there is the need of outputting more than 1 thing/value in a CSV field/column.. and it triggers database-normalization warnings in my brain :)
18:01symbioquine[m]Right now the formatting is bad enough with multiple items (and whitespace) to be basically broken
18:02symbioquine[m]Multiple values can be retrieved as their own rows via the quantities view.
18:04symbioquine[m]e.g. /quantities/standard
18:05*uploaded an image: (221KiB) < libera.ems.host/_matrix/media/v3/downloa >
18:06symbioquine[m]<symbioquine[m]> "Right now the formatting is..." <- In the CSV export that is.
18:06lordeddi[m]yes, i see what you mean. but that bug was mostly about exporting CSV, no? and for CSV i found it interesting: it makes total sense to export some logs which contain multiple values.
18:06lordeddi[m]anyhow, don't want to stir up dust about neat pull requests just before a release 😅
18:06*uploaded an image: (20KiB) < libera.ems.host/_matrix/media/v3/downloa >
18:07lordeddi[m]yes this 👆️
18:07symbioquine[m]> <@lordeddi:oblak.be> yes, i see what you mean. but that bug was mostly about exporting CSV, no? and for CSV i found it interesting: it makes total sense to export some logs which contain multiple values.
18:07symbioquine[m]> anyhow, don't want to stir up dust about neat pull requests just before a release 😅
18:07symbioquine[m]No, it's a good question
18:07lordeddi[m]so what was the proposed solution? cutting out the newlines etc as in that preg_replace line in the pull requests
18:08lordeddi[m]so it would be many values with spaces between them, but still all the values? -> which would keep the value of that log
18:08*uploaded an image: (8KiB) < libera.ems.host/_matrix/media/v3/downloa >
18:09lordeddi[m]ah, i see
18:10symbioquine[m]There's also github.com/farmOS/farmOS/pull/619 which is the one that makes the logs view only show one value
18:11lordeddi[m]i missed that one!
18:11lordeddi[m]i just saw it hahah.
18:12lordeddi[m]so, then there are the 2 solutions
18:12lordeddi[m]1. only showing one value
18:12lordeddi[m]2. making sure that one value is shown without all that extra stuffs
18:12symbioquine[m]yep
18:12lordeddi[m]thanks for pointing it out symbioquine
18:13symbioquine[m]And obviously one can use the API and a script to create a CSV with any desired structure.
18:13lordeddi[m]yeah that #619 answers all my questions
18:14lordeddi[m]its an interesting problem i think, next time this is discussed i would love to eavesdrop and or discuss along with y'all :)
18:15lordeddi[m]somewhen after the release and when everyone has lots of free time :)
18:37symbioquine[m]<lordeddi[m]> "somewhen after the release and..." <- hah!
19:21mstenta[m]lordeddi: twitter.com/tunguz/status/16041016635176
19:27lordeddi[m]😅 yes something like that
19:27lordeddi[m]:)

< 162022-12-17⋏18 >