[23:57:17] | * farmBOT has joined #farmos |
[11:16:45] | <paul121[m]> | > <@symbioquine:matrix.org> TL;DR; You can't filter multi-value fields by two values inside the same AND condition. So instead of;... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/a94d5c4e9d...) |
[11:18:01] | <symbioquine[m]> | IN is sometimes an option, but if you check out the issues, the main point is those cases like finding children of two specific parents or movies that contain both specified actors. |
[11:20:54] | <paul121[m]> | Ah I see |
[12:17:28] | <symbioquine[m]> | Thanks for the quick reviews paul121 / mstenta ! We're live: https://farmos.org/blog/2023/quick-intro-to-python-scripting 😁 |
[12:17:42] | <mstenta[m]> | Woo hoo! |
[12:17:45] | <mstenta[m]> | I'll microblog it! :-D |
[12:18:14] | <symbioquine[m]> | mstenta[m]: Maybe combine it with an announcement of the stable farmOS.py release? |
[12:18:31] | <mstenta[m]> | I thought about that too! Or two separate ones perhaps? |
[12:18:41] | <mstenta[m]> | Was gonna ask paul121 about that today |
[12:18:47] | <symbioquine[m]> | Yeah ^ |
[12:23:08] | <symbioquine[m]> | https://github.com/symbioquine/farmOS_asset_link/commit/908fa12182d4e8e5... <- Adding support for complex filter groups in both online and offline Asset Link entity queries 🤓 |
[12:25:14] | <symbioquine[m]> | (previously it only supported flat query filters without AND/OR filter groups) |
[12:25:31] | <symbioquine[m]> | * (previously it (via Orbit.js) only supported flat query filters without AND/OR filter groups) |
[12:26:33] | <mstenta[m]> | cool! |
[12:28:01] | <mstenta[m]> | paul121 symbioquine how does this sound: |
[12:28:01] | <mstenta[m]> | > Version 1.0.0 of the #farmOS Python library has just been released. This library makes it easier to connect to a farmOS database via the API for pushing/pulling data with Python. pip install farmOS! https://pypi.org/project/farmOS/1.0.0/ |
[12:29:04] | <mstenta[m]> | followed by: |
[12:29:04] | <mstenta[m]> | > Introduction to Python Scripting with farmOS: https://farmos.org/blog/2023/quick-intro-to-python-scripting |
[12:29:05] | <symbioquine[m]> | Is there a reasonable way to wrap "pip install farmOS" in some sort of quotes/fence to make it more obvious it is a command? |
[12:29:47] | <mstenta[m]> | I don't think Twitter supports that, not sure about Mastodon... I figure it's just a fun phrase that python devs will recognize/appreciate :-) |
[12:30:13] | <symbioquine[m]> | Just single quotes maybe? |
[12:30:15] | <mstenta[m]> | (and I know it should probably have a version constraint... but again this is just for the fun of it... not reference haha) |
[12:30:18] | <mstenta[m]> | Maybe? |
[12:30:26] | <symbioquine[m]> | Also I wonder if both of these should be written in a call to action sort of format? |
[12:30:28] | <mstenta[m]> | I could put it in backticks! |
[12:30:53] | <mstenta[m]> | Open to suggestions! I just copied previous tweet formats |
[12:31:15] | <mstenta[m]> | eg: https://github.com/farmOS/farmOS-microblog/commit/b041fe5f842137a59ef0ac... |
[12:31:51] | <mstenta[m]> | and: https://github.com/farmOS/farmOS-microblog/commit/9464d1ff43c0a3a0d42791... |
[12:31:53] | <symbioquine[m]> | mstenta[m]: I don't think so. Without the version should be good as long as we confirm it does pick up the newly released one. (I think I observed that myself) This is similar to the oft-given example `python import antigravity` |
[12:32:44] | <symbioquine[m]> | mstenta[m]: I'm going to try searching a bit and see what other Python(-enabled) projects do when posting to Twitter... |
[12:34:52] | <symbioquine[m]> | Looks like backticks or quotes are pretty common along with just plain inline like you did. |
[12:39:27] | <symbioquine[m]> | How about; |
[12:39:28] | <symbioquine[m]> | > Version 1.0.0 of farmOS.py, the #farmOS Python library has just been released. Connect to your farmOS data with Python: `pip install farmOS` https://pypi.org/project/farmOS/1.0.0/ |
[12:41:13] | <mstenta[m]> | Sounds good to me. I might still add an exclamation point after pip install farmOS 😄 🙌 |
[12:41:44] | <symbioquine[m]> | > Learn how to use Python scripting and farmOS.py to work with #farmOS data: https://farmos.org/blog/2023/quick-intro-to-python-scripting |
[12:41:49] | <mstenta[m]> | great |
[12:42:10] | <mstenta[m]> | question: should we drip them out? like do the farmOS.py one today and the blog tomorrow? |
[12:42:16] | <mstenta[m]> | or just go back-to-back at the same time |
[12:42:47] | <symbioquine[m]> | Seems good to space them out. |
[12:43:00] | <mstenta[m]> | Cool I'll do the farmOS.py one right now |
[12:43:05] | <symbioquine[m]> | Also still waiting on 👍️ from paul121 |
[12:43:14] | <mstenta[m]> | yes. |
[12:43:21] | <mstenta[m]> | true dat. i'll wait for that :-) |
[12:43:28] | <mstenta[m]> | he's busy this morning, so might not hear back until this afternoon |
[12:45:26] | <symbioquine[m]> | Looks like peak python searches are around noon PST: https://trends.google.com/trends/explore?date=now%207-d&geo=US&q=python&... |
[15:59:43] | <paul121[m]> | <symbioquine[m]> "Also still waiting on 👍️ from..." <- oh this is great! |
[16:00:11] | <paul121[m]> | sounds like is a good time :P |
[16:00:58] | <paul121[m]> | * sounds like now is a |
[16:02:36] | <mstenta[m]> | sent! |
[17:53:51] | <paul121[m]> | Drupal/gin 3.0-rc2 came out today! https://www.drupal.org/project/gin/releases/8.x-3.0-rc2 |
[17:58:43] | <paul121[m]> | I know of two nice fixes that relate to us. First, the map's focus highlight is back. I recently noticed this was gone but didn't investigate much. I've found myself "scrolling" the page when I actually want to zoom the map. The focus border is small but important! (maybe we should try and add tests??) |
[17:59:45] | <paul121[m]> | Second, now all Table views will have the same background styling. Currently the people page looks quite different than the assets/log tables. This was basically a bug where the background was only applied to tables with Bulk Operations checkboxes |
[18:36:13] | <mstenta[m]> | Cool! |
[18:36:56] | <mstenta[m]> | Interesting about the map focus! I also found myself scrolling recently and getting annoyed but didn't notice the lack of focus! |