< 252020-11-26⋎27 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
11:34*dazinism has quit (Quit: Bridge terminating on SIGTERM)
11:34*pllagn[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*farmtech[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*calbasi_matrix has quit (Quit: Bridge terminating on SIGTERM)
11:34*kunigunde[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*pcambra[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*mstenta[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*paul121[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*holz[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*zedrickr11[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*munjoma[m] has quit (Quit: Bridge terminating on SIGTERM)
11:34*JulianF has quit (Quit: Bridge terminating on SIGTERM)
11:35*skalakm[m] has quit (Quit: Bridge terminating on SIGTERM)
11:35*wombat83[m] has quit (Quit: Bridge terminating on SIGTERM)
11:35*symbioquine[m] has quit (Quit: Bridge terminating on SIGTERM)
11:35*jolau[m] has quit (Quit: Bridge terminating on SIGTERM)
11:35*jgaehring[m] has quit (Quit: Bridge terminating on SIGTERM)
11:35*maroci[m] has quit (Quit: Bridge terminating on SIGTERM)
11:35*skipper_is[m] has quit (Quit: Bridge terminating on SIGTERM)
11:44*farmtech[m] has joined
11:45*kunigunde[m] has joined
12:11*dazinism has joined
12:33*pllagn[m] has joined
12:33*JulianF has joined
12:33*calbasi_matrix has joined
12:33*pcambra[m] has joined
12:33*munjoma[m] has joined
12:33*wombat83[m] has joined
12:33*maroci[m] has joined
12:33*skipper_is[m] has joined
12:33*paul121[m] has joined
12:33*jolau[m] has joined
12:33*holz[m] has joined
12:33*skalakm[m] has joined
12:33*zedrickr11[m] has joined
12:33*jgaehring[m] has joined
12:33*mstenta[m] has joined
12:33*symbioquine[m] has joined
16:04symbioquine[m]<mstenta[m] "Just looking at `docker-compose."> > Could figure it out by digging into git blame and finding the original issue, but a comment would be quicker :-)
16:05mstenta[m]🙌
16:53paul121[m]symbioquine: I was going to comment on that PostGIS forum post but didn't want to add noise :-)
16:53paul121[m]I found this the other day: pygeoapi.io/
16:54paul121[m]its supports the latest WFS 3 protocol (but unfortunately the protocol only defines GET requests right now)
16:54paul121[m]It has a cool plugin system for data "providers"
16:55paul121[m]docs.pygeoapi.io/en/stable/plugins.html#
16:55paul121[m]Pretty easy to create a simple plugin that used farmOS.py
16:56symbioquine[m]I think I looked at that before, but it didn't seem super compelling since I'd already gone pretty far down the non-blocking path.
16:57symbioquine[m]Doing everything non-blocking in a single Python process has significant caching advantages for farm-os-area-feature-proxy
16:58symbioquine[m]i.e. it can use asyncio non-blocking semaphore semantics to deduplicate and serve many concurrent requests from the same farmOS request
16:59symbioquine[m]Which would be hard to orchestrate across processes with a typical WSGI hosting setup.
17:00paul121[m]gotcha. well... it can be run as either a WSGI app (Flask) or ASGI (starlette) ! Maybe that was recently added
17:00symbioquine[m]huh, maybe I'd better look again...
17:00paul121[m]I'm not sure about caching
17:01symbioquine[m]Anyway, it's sounding more like WFS would be a good capability to build directly into farmOS so any project that took that on would probably supercede farm-os-area-feature-proxy...
17:02paul121[m]I agree. unfortunately I didn't see any existing php implementations :-/
17:03symbioquine[m]The other nice thing about building WFS into farmOS is that farmOS-map could call it directly.
17:04symbioquine[m]Which would enable loading background layer features to be based on extent among other benefits
17:05paul121[m]yea interesting!
17:08symbioquine[m]Incidentally, the queries to power that are ones which would really benefit from the progressive enhancement that might be afforded by enabling PostGIS internally :)
17:09symbioquine[m]Otherwise loading features by extent would mostly only be a client-bandwidth-saving mechanism, not a query latency/size improvement.
17:16paul121[m]yea... and require more processing from the server w/o PostGIS
17:16paul121[m]are there other notable query options for WFS?
17:23paul121[m]kinda interesting, with WFS3 you can define "queryables": demo.pygeoapi.io/stable/collections/lake
17:24paul121[m]but seems like `bbox` and `datetime` are the only other supported options
17:26symbioquine[m]I'd be surprised if it doesn't provide similar query/filtering capabilities to 2.0...
17:26symbioquine[m]In 2.0 you can filter features by their attributes also.
17:26*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
17:28paul121[m]hmm maybe that is the queryables?
17:29paul121[m]the openapi aspect of the spec is kinda confusing to me. seems like some of this has to be statically defined
17:30mstenta[m]> but seems like `bbox` and `datetime` are the only other supported options
17:30mstenta[m]github.com/farmOS/farmOS-map/issues/53 🤩
17:32paul121[m]there ya go!
17:40mstenta[m]I bet it would be pretty straightforward to make a WFS plugin for Views
17:41mstenta[m]www.drupal.org/project/wfs
17:42mstenta[m]I bet we could take over maintaining that module, and update it to D9
17:43mstenta[m]Right now we're basically doing the same thing to produce the feature layers in farmOS... Just in GeoJSON
17:46mstenta[m]The advanced filtering stuff would be the trickiest part... But if they can be translated into SQL queries (that optionally leverage PostGIS) then Views can do it
17:47symbioquine[m]Yeah, some of the attribute filtering could be trivially translated to SQL queries, but the spatial/bbox queries would either need PostGIS or would need to happen in the application layer.
17:47mstenta[m]Yea
17:48mstenta[m]Worth noting: Geofield stores bbox extents for all geometries
17:48symbioquine[m]Oh, right!
17:48symbioquine[m]That should allow reasonably efficient bbox filtering even without PostGIS :)
17:49mstenta[m]Yea in theory!
17:49symbioquine[m]albeit, somewhat complex if the bbox "wraps around" :)
17:49mstenta[m]Ah yea that's always the tricky part
17:50symbioquine[m]As far as I recall, WFS is allowed to return a superset of the requested features for bbox queries though. So that could be a mode of graceful degradation if PostGIS isn't available.
17:50mstenta[m]But luckily not many farms on the meridian :-)
17:50symbioquine[m]It hypothetically could just return all the features in the layer if the spatial filtering features aren't available at the DB layer.
17:56symbioquine[m]That's what farm-os-area-feature-proxy does. It doesn't advertise support for bbox filtering and thus just always returns all the features in the layer.
17:58*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
17:59symbioquine[m]That's from WFS 1.0
17:59symbioquine[m] * That's from WFS 1.1
18:00mstenta[m]I think I see a `farm_wfs` module in our future :-)
19:35symbioquine[m]github.com/symbioquine/farmOS/commit/ddb <-- cuts ~15s unnecessary waiting out of the build :)
19:35symbioquine[m]github.com/symbioquine/farmOS/runs/14606
19:37symbioquine[m]Compare to builds like [1](github.com/symbioquine/farmOS/runs/14599) or [2](github.com/symbioquine/farmOS/runs/14515) which used the `sleep 15` strategy.
19:43skipper_is[m]Ooh, FarmOS update! Thank you for all your work (everyone!)
19:46skipper_is[m](Oh and I like the addition of the dates and the log links in the "observed between" part of the DLWG!
19:46skipper_is[m]) close bracket
19:46skipper_is[m]; semi-colon
19:56skipper_is[m]O: I think this is the first update on my isntance that hasn't broken something
19:56mstenta[m]🎉
19:56skipper_is[m]My install held together with bits of baling twine and duck tape seems to be getting there!
19:56skipper_is[m](Probably because I stopped using Postgresql......)
20:00mstenta[m]Just you wait skipper_is ! The migration to PostgreSQL in farmOS 2.x will be fully automated ;-)
20:00skipper_is[m]I feel a little bit sad that my stream of weird and hard to pin down bugs has stopped though
20:13mstenta[m]Haha that's just how it goes sometimes
20:13mstenta[m]I will make it a point to avoid those same issues
21:59symbioquine[m]Happy Thanksgiving everyone!! 🦃🥧
22:31mstenta[m]Happy Thanksgiving!

< 252020-11-26⋏27 >