| 01:14 | symbioquine[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:30 | mstenta[m] | Forum is back up it seems |
| 14:30 | mstenta[m] | Looks like they moved us to a different region |
| 14:31 | * | uploaded an image: (56KiB) < libera.ems.host/_matrix/media/v3/downloa > |
| 16:44 | symbioquine[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:45 | mstenta[m] | Not at all! Its a good question and I'm pretty sure it does NOT protect against that |
| 16:46 | mstenta[m] | I think there are other situations where it will be possible to end up with a circular relationship too |
| 16:46 | mstenta[m] | I plan to follow up on your comment next week |
| 16:47 | mstenta[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:01 | lordeddi[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:01 | lordeddi[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:01 | lordeddi[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:01 | lordeddi[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:01 | lordeddi[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:01 | lordeddi[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:01 | symbioquine[m] | Right now the formatting is bad enough with multiple items (and whitespace) to be basically broken |
| 18:02 | symbioquine[m] | Multiple values can be retrieved as their own rows via the quantities view. |
| 18:04 | symbioquine[m] | e.g. /quantities/standard |
| 18:05 | * | uploaded an image: (221KiB) < libera.ems.host/_matrix/media/v3/downloa > |
| 18:06 | symbioquine[m] | <symbioquine[m]> "Right now the formatting is..." <- In the CSV export that is. |
| 18:06 | lordeddi[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:06 | lordeddi[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:07 | lordeddi[m] | yes this 👆️ |
| 18:07 | symbioquine[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:07 | symbioquine[m] | > anyhow, don't want to stir up dust about neat pull requests just before a release 😅 |
| 18:07 | symbioquine[m] | No, it's a good question |
| 18:07 | lordeddi[m] | so what was the proposed solution? cutting out the newlines etc as in that preg_replace line in the pull requests |
| 18:08 | lordeddi[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:09 | lordeddi[m] | ah, i see |
| 18:10 | symbioquine[m] | There's also github.com/farmOS/farmOS/pull/619 which is the one that makes the logs view only show one value |
| 18:11 | lordeddi[m] | i missed that one! |
| 18:11 | lordeddi[m] | i just saw it hahah. |
| 18:12 | lordeddi[m] | so, then there are the 2 solutions |
| 18:12 | lordeddi[m] | 1. only showing one value |
| 18:12 | lordeddi[m] | 2. making sure that one value is shown without all that extra stuffs |
| 18:12 | symbioquine[m] | yep |
| 18:12 | lordeddi[m] | thanks for pointing it out symbioquine |
| 18:13 | symbioquine[m] | And obviously one can use the API and a script to create a CSV with any desired structure. |
| 18:13 | lordeddi[m] | yeah that #619 answers all my questions |
| 18:14 | lordeddi[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:15 | lordeddi[m] | somewhen after the release and when everyone has lots of free time :) |
| 18:37 | symbioquine[m] | <lordeddi[m]> "somewhen after the release and..." <- hah! |
| 19:21 | mstenta[m] | lordeddi: twitter.com/tunguz/status/16041016635176 |
| 19:27 | lordeddi[m] | 😅 yes something like that |
| 19:27 | lordeddi[m] | :) |