| 07:20 | * | JustTB has quit (Quit: Leaving.) |
| 07:27 | * | JustTB has joined |
| 07:51 | * | JustTB has quit (Quit: Leaving.) |
| 08:19 | * | donblair[m] has quit (Ping timeout: 256 seconds) |
| 08:19 | * | donblair[m]1 has joined |
| 08:35 | * | calbasi_matrix has quit (*.net *.split) |
| 08:36 | * | calbasi_matrix has joined |
| 12:02 | * | JustTB has joined |
| 14:57 | skipper_is[m] | The most useful way to look at the daily liveweight gains would be to calculate the daily liveweight gain for each animal - then average it. So, Animal 1: 5kg on day 1 (01/05/2020), on day 10 (10/05/2020) he weighed 15kg, so his daily liveweight gain is 1kg/day, Animal 2: 3kg on Day 1 (was born later on the 10/05/2020), and on Day 4 (14/05/2020) he weighed 5kg, so his daily liveweight gain would be 0.5kg/day. The |
| 14:57 | skipper_is[m] | average to display would be 0.75kg/day. |
| 14:58 | skipper_is[m] | For the latest record in the graph - take the last weight for the animal, and subtract the 2nd last from it. Divide that by the days between |
| 14:59 | skipper_is[m] | and average for all animals |
| 15:00 | skipper_is[m] | Also.... |
| 15:00 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 15:44 | skipper_is[m] | * > |
| 15:44 | skipper_is[m] | PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), ('farm_asset', '147', '147', 'planting', 'rdf_mapping', 'und', 'Array', 'Arra' at line 1: INSERT INTO {field_data_field_farm_season} (entity_type, entity_id, revision_id, bundle, delta, language, |
| 15:44 | skipper_is[m] | ...(truncated) |
| 15:45 | skipper_is[m] | * ``` |
| 15:45 | skipper_is[m] | PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), ('farm_asset', '147', '147', 'planting', 'rdf_mapping', 'und', 'Array', 'Arra' at line 1: INSERT INTO {field_data_field_farm_season} (entity_type, entity_id, revision_id, bundle, delta, language, |
| 15:45 | skipper_is[m] | ...(truncated) |
| 15:47 | mstenta[m] | github.com/farmOS/farmOS/pull/297 |
| 15:47 | mstenta[m] | Thanks for posting the weight report details to an issue skipper_is ! |
| 15:47 | skipper_is[m] | Ah sweet, I'll clone that |
| 15:48 | skipper_is[m] | I hope it makes sense... |
| 16:27 | paul121[m] | Yea that makes sense @skipper_is:matrix.org ! |
| 16:28 | paul121[m] | I'm curious if we might need some different "modes". I think there still is a use case where a random sampling of animals are weighed. So individual assets might not be tracked |
| 16:31 | paul121[m] | I'll try and put more thoughts in that issue later this week |
| 16:32 | paul121[m] | I'm curious, have you seen the "Weight" tab that is added to individual animal assets? Any thoughts or feedback on that? |
| 16:33 | paul121[m] | Pretty basic right now - only displays a graph of weights. But it might be easy to add daily gain on that graph |
| 16:38 | skipper_is[m] | If they are all of the same age/stage and you do random sampling, then yes it may work, but personally actual daily live weight gain would be better, oherwise you get a graph like this, which is, quite frankly, useless |
| 16:38 | * | uploaded an image: image.png (36KB) < matrix.org/_matrix/media/r0/download/mat > |
| 16:40 | skipper_is[m] | For the individual weight pages, it would look quite good with daily liveweight gain, but whether that'd make sense on the chart, or as a separate table - It is only really the latest one that is of much use really... |
| 16:51 | paul121[m] | Yeah, the average sampling is a rather specific use case. I agree tracking of individuals is needed |
| 16:52 | paul121[m] | Should have included some description text about that |
| 16:53 | paul121[m] | Ah interesting! I think there is a `Weight: value` that gets added to the asset description |
| 16:54 | paul121[m] | Maybe it would make sense to add something like: `Weight Gain: 10kg since 5/1/2020` |
| 17:33 | skipper_is[m] | Yea, possibly - I'm having a little play with the weight report on the asset page at the moment, seeing whether I can put something in there - mainly as it is a simple page and easy to edit.. |
| 17:34 | skipper_is[m] | One question though - is there a reverse function of format_date? That gets the formatted date and put it back to a timestamp? Or should I modify the base array to keep timestamp separate? |
| 17:36 | skipper_is[m] | nvm, there is a second array created with quantity and timestamp |
| 17:52 | * | uploaded an image: image.png (60KB) < matrix.org/_matrix/media/r0/download/mat > |
| 17:52 | skipper_is[m] | Well, it works, but it isn't quite where I wanted it |
| 17:54 | skipper_is[m] | It is also the least elegant solution |
| 17:54 | * | uploaded an image: image.png (19KB) < matrix.org/_matrix/media/r0/download/mat > |
| 18:17 | skipper_is[m] | Also, is there an even shorter format_date? With just the date, not the time? |
| 20:08 | * | calbasi_matrix has quit (Ping timeout: 256 seconds) |
| 20:08 | * | calbasi_matrix has joined |
| 20:49 | * | JustTB has quit (Ping timeout: 246 seconds) |
| 21:03 | * | JustTB has joined |
| 21:29 | * | JustTB has quit (Ping timeout: 246 seconds) |
| 21:44 | * | JustTB has joined |
| 21:53 | * | ddsh[m] has quit (*.net *.split) |
| 21:53 | * | jonathan[m] has quit (*.net *.split) |
| 21:53 | * | andifi[m] has quit (*.net *.split) |
| 21:53 | * | dazinism has quit (*.net *.split) |
| 21:53 | * | dazinism has joined |
| 21:53 | * | ddsh[m] has joined |
| 21:53 | * | jonathan[m] has joined |
| 21:53 | * | andifi[m] has joined |
| 21:53 | * | pllagn[m] has quit (*.net *.split) |
| 21:53 | * | skipper_is[m] has quit (*.net *.split) |
| 21:53 | * | mstenta[m] has quit (*.net *.split) |
| 21:53 | * | farmtech[m] has quit (*.net *.split) |
| 21:53 | * | mindcls[m] has quit (*.net *.split) |
| 21:53 | * | Dorn[m] has quit (*.net *.split) |
| 21:53 | * | zedrckr[m] has quit (*.net *.split) |
| 21:53 | * | younes__auto[m] has quit (*.net *.split) |
| 21:53 | * | frederike[m] has quit (*.net *.split) |
| 21:53 | * | mmn has quit (*.net *.split) |
| 21:53 | * | calbasi_matrix has quit (*.net *.split) |
| 21:53 | * | joshua[m]2 has quit (*.net *.split) |
| 21:53 | * | ddsh[m] has quit (*.net *.split) |
| 21:53 | * | jonathan[m] has quit (*.net *.split) |
| 21:53 | * | andifi[m] has quit (*.net *.split) |
| 21:53 | * | dazinism has quit (*.net *.split) |
| 21:53 | * | svenn has quit (*.net *.split) |
| 21:53 | * | JustTB has quit (*.net *.split) |
| 21:53 | * | donblair[m]1 has quit (*.net *.split) |
| 21:53 | * | martha[m] has quit (*.net *.split) |
| 21:53 | * | canadrian[m] has quit (*.net *.split) |
| 21:53 | * | tcmah[m] has quit (*.net *.split) |
| 21:53 | * | symbioquine[m] has quit (*.net *.split) |
| 21:53 | * | paul121[m] has quit (*.net *.split) |
| 21:54 | * | scrdcow[m] has quit (*.net *.split) |
| 21:54 | * | rsteup[m] has quit (*.net *.split) |
| 21:54 | * | janjan[m] has quit (*.net *.split) |
| 21:54 | * | stefanie[m] has quit (*.net *.split) |
| 21:54 | * | andifi[m] has joined |
| 21:54 | * | jonathan[m] has joined |
| 21:54 | * | ddsh[m] has joined |
| 21:54 | * | dazinism has joined |
| 21:54 | * | JustTB has joined |
| 21:54 | * | calbasi_matrix has joined |
| 21:54 | * | donblair[m]1 has joined |
| 21:54 | * | joshua[m]2 has joined |
| 21:54 | * | Dorn[m] has joined |
| 21:54 | * | martha[m] has joined |
| 21:54 | * | canadrian[m] has joined |
| 21:54 | * | zedrckr[m] has joined |
| 21:54 | * | scrdcow[m] has joined |
| 21:54 | * | svenn has joined |
| 21:54 | * | pllagn[m] has joined |
| 21:54 | * | younes__auto[m] has joined |
| 21:54 | * | paul121[m] has joined |
| 21:54 | * | symbioquine[m] has joined |
| 21:54 | * | tcmah[m] has joined |
| 21:54 | * | rsteup[m] has joined |
| 21:54 | * | skipper_is[m] has joined |
| 21:54 | * | janjan[m] has joined |
| 21:54 | * | farmtech[m] has joined |
| 21:54 | * | mstenta[m] has joined |
| 21:54 | * | stefanie[m] has joined |
| 21:54 | * | mindcls[m] has joined |
| 21:54 | * | frederike[m] has joined |
| 21:54 | * | mmn has joined |
| 21:55 | * | pllagn[m] has quit (*.net *.split) |
| 21:55 | * | skipper_is[m] has quit (*.net *.split) |
| 21:55 | * | mstenta[m] has quit (*.net *.split) |
| 21:55 | * | farmtech[m] has quit (*.net *.split) |
| 21:55 | * | mindcls[m] has quit (*.net *.split) |
| 21:56 | * | pllagn[m] has joined |
| 21:56 | * | skipper_is[m] has joined |
| 21:56 | * | farmtech[m] has joined |
| 21:56 | * | mstenta[m] has joined |
| 21:56 | * | mindcls[m] has joined |
| 21:56 | * | Dorn[m] has quit (Ping timeout: 240 seconds) |
| 21:56 | * | zedrckr[m] has quit (Ping timeout: 240 seconds) |
| 21:56 | * | younes__auto[m] has quit (Ping timeout: 240 seconds) |
| 21:56 | * | frederike[m] has quit (Ping timeout: 240 seconds) |
| 21:56 | * | donblair[m]1 has quit (Ping timeout: 244 seconds) |
| 21:56 | * | martha[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | canadrian[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | tcmah[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | symbioquine[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | paul121[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | ddsh[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | jonathan[m] has quit (Ping timeout: 244 seconds) |
| 21:56 | * | pllagn[m] has quit (Ping timeout: 252 seconds) |
| 21:56 | * | farmtech[m] has quit (Ping timeout: 252 seconds) |
| 21:56 | * | mindcls[m] has quit (Ping timeout: 252 seconds) |
| 21:57 | * | scrdcow[m] has quit (Ping timeout: 260 seconds) |
| 21:57 | * | rsteup[m] has quit (Ping timeout: 260 seconds) |
| 21:57 | * | janjan[m] has quit (Ping timeout: 260 seconds) |
| 21:57 | * | stefanie[m] has quit (Ping timeout: 260 seconds) |
| 21:57 | * | dazinism has quit (Ping timeout: 244 seconds) |
| 21:57 | * | calbasi_matrix has quit (*.net *.split) |
| 21:57 | * | joshua[m]2 has quit (*.net *.split) |
| 21:58 | * | calbasi_matrix has joined |
| 21:58 | * | joshua[m]2 has joined |
| 21:58 | * | mmn has quit (*.net *.split) |
| 21:59 | * | mmn has joined |
| 22:00 | * | calbasi_matrix has quit (Ping timeout: 243 seconds) |
| 22:00 | * | joshua[m]2 has quit (Ping timeout: 243 seconds) |
| 22:00 | * | andifi[m] has quit (Ping timeout: 244 seconds) |
| 22:01 | * | skipper_is[m] has quit (Ping timeout: 252 seconds) |
| 22:01 | * | mstenta[m] has quit (Ping timeout: 252 seconds) |
| 22:06 | * | donblair[m]1 has joined |
| 22:06 | * | symbioquine[m] has joined |
| 22:06 | * | paul121[m] has joined |
| 22:06 | * | canadrian[m] has joined |
| 22:06 | * | tcmah[m] has joined |
| 22:07 | * | janjan[m] has joined |
| 22:07 | * | rsteup[m] has joined |
| 22:07 | * | Dorn[m] has joined |
| 22:07 | * | younes__auto[m] has joined |
| 22:07 | * | zedrckr[m] has joined |
| 22:07 | * | ddsh[m] has joined |
| 22:14 | * | calbasi_matrix has joined |
| 22:15 | * | andifi[m] has joined |
| 22:16 | * | mstenta[m] has joined |
| 22:16 | * | skipper_is[m] has joined |
| 22:16 | * | farmtech[m] has joined |
| 22:16 | * | pllagn[m] has joined |
| 22:17 | * | scrdcow[m] has joined |
| 22:20 | * | dazinism has joined |
| 22:21 | * | joshua[m]2 has joined |
| 22:21 | * | frederike[m] has joined |
| 22:21 | * | stefanie[m] has joined |
| 22:30 | * | jonathan[m] has joined |
| 22:30 | * | mindcls[m] has joined |
| 22:33 | * | martha[m] has joined |