< 072019-02-08⋎09 >

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
03:31*JustTB has quit (Ping timeout: 246 seconds)
03:45*JustTB has joined
08:06*JustTB has quit (Quit: Leaving.)
10:55*longlifefarm[m] has joined
12:54*JustTB has joined
13:56*JustTB has quit (Quit: Leaving.)
13:57*JustTB has joined
15:41jgaehring[m]So mstenta I got that off-by-one error fixed, _finally_ (the JavaScript Date object is such a nightmare). I'm thinking I'm ready to bump us to version 0.3.0 and push it to PGB. What say ye? Anything else we need to consider first?
15:43mstenta[m]Great!
15:43mstenta[m]I think it's good to go!
15:43jgaehring[m]awesome!
15:44jgaehring[m]i also said heck with it and added two more simple features: deleting geofield location points, and making that "Use My Location" toggle switch work
15:44jgaehring[m]would have bugged me if we didn't have those in there
15:48mstenta[m]haha wow!!
15:48mstenta[m]nice! :-D
15:49mstenta[m]oh yea... so does that all work now? i haven't tried the gps stuff again recently
15:50jgaehring[m]it should
15:50mstenta[m]do i need the "share my location" setting?
15:51mstenta[m]for the "add my GPS location to the log" button to work?
15:51jgaehring[m]alex had a good thought on this, which is what i went with...
15:52jgaehring[m]if the use my location setting isn't turned on, the edit log form doesn't even show the geolocation stuff
15:52jgaehring[m]it just gives you a search field for looking up areas by name and that's it
15:54jgaehring[m]but we default the user to have it turned on, since we're not aggressively looking up their location anyways... that is, the user still has to request it before we trigger a location look up, by selecting "Use my Location" in the edit log form
15:55mstenta[m]oh ok great
15:55jgaehring[m]shoot, i just realized i forgot to do though
15:55mstenta[m]so right now... i just get a spinner when i click the "Add GPS to log" button
15:55mstenta[m]And the "Search nearby" doesn't find anything either
15:56mstenta[m]I have Location turned on in Android, though, and in Android settings it lists farmOS under "apps that recently requested location"
15:56mstenta[m]But it doesn't seem to be doing anything in the app
15:56jgaehring[m]hmm, that's weird
15:56jgaehring[m]it is working in my phone
15:56mstenta[m]It works for you?
15:56mstenta[m]Hmm
15:57jgaehring[m]except i don't have any areas i set up on test.farmos.net in my location, so i can't test that on my phone
15:58jgaehring[m]"add gps to log" works for me though
15:58jgaehring[m]and the areas feature works on my dev environment
15:59mstenta[m]Well we can get it out there - see if it works for others
16:01jgaehring[m]yea gps was kind of a bonus anyways, don't want it to slow down the release of the other features
16:02mstenta[m]yea definitely
16:02mstenta[m]i'll file a bug report and we can follow up on it
16:02mstenta[m]maybe it's something with my phone config
16:03mstenta[m]i generally turn off location everywhere i can... which is why i checked to make sure that wasn't the issue. but maybe there's another setting i'm missing...
16:03mstenta[m]i'll try again once you push the new release, just to be sure
16:04jgaehring[m]cool
16:08jgaehring[m]alright, it's up on PGB
16:08mstenta[m]great! i'll test it now
16:09mstenta[m]0.3.0, right?
16:09jgaehring[m]i realized i also forgot to persist the GPS preference in local storage
16:09jgaehring[m]yep!
16:10jgaehring[m]so it will go back to the default everytime the app restarts, whoops
16:10mstenta[m]oh yea ok - just noticing that too
16:12mstenta[m]OH! It worked!!! Got my GPS!
16:12mstenta[m]Seems like it was stuck spinning, and I let the screen go dark, then when I turned it back on - there it was!
16:13mstenta[m]And now when I remove and re-add, it happens instantly
16:14mstenta[m]Wahoo!
16:14jgaehring[m]oh yea, b/c it doesn't have to search again for the coordinates
16:14mstenta[m]Oh haha - the accuracy is pretty bad
16:14mstenta[m]It's showing me in my front yard ... off by about 150 ft
16:14mstenta[m]But that's not the app's fault
16:15mstenta[m]Oh maybe it's using wifi location, rather than GPS
16:15mstenta[m]So it's centered on my home address instead
16:15jgaehring[m]oh intersting
16:16mstenta[m]probably not something we can control...
16:16mstenta[m](maybe?)
16:16jgaehring[m]yea, that was partly what i was thinking when I pushed for being able to find "nearby" areas, not just the ones you were technically standing inside of
16:16mstenta[m]yea makes sense
16:17mstenta[m]oh man that works though! that's so cool!
16:17mstenta[m]it shows "Cottage Yard" as nearby... which is where the GPS point is
16:17mstenta[m]NEATO!!!
16:17mstenta[m]:-D
16:17jgaehring[m]oh cool, perhaps we can expand the range
16:18jgaehring[m]i forget what alex set it at
16:19mstenta[m]yea - i think having that as configurable will be really useful
16:19mstenta[m]because farms can vary so much in scale
16:19jgaehring[m]there are bound to be some hiccups with this release, but I'm real happy with it, having GPS, the nav/settings drawer, and especially the icon and splash screen (finally!), it's really starting to feel legit
16:19mstenta[m]YES
16:19jgaehring[m]that's true
16:20mstenta[m]it's awesome
16:20mstenta[m]> it's really starting to feel legit
16:20mstenta[m]agreed - this is great
16:27jgaehring[m]ok, submitted to Apple for TestFlight review!
16:29mstenta[m]Great!!!
16:30mstenta[m]So regarding the GPS... I think it just takes a long time to get the first coordinate
16:30jgaehring[m]ah
16:31mstenta[m]That's probably what you and Alex were talking about in GitHub, right? About "when" to get the location? To make it seem faster? eg: get it when the app is opened or something, but only add it to log when button is clicked
16:31mstenta[m]Or maybe that wasn't discussed....
16:32mstenta[m]Oh interesting... my second test put me in a slightly different location
16:32jgaehring[m]that conversation was a little befuddled... maybe that is what he was trying to discuss.... i was thinking of it in terms of UX, when the user decides to get location
16:33mstenta[m]Gotcha
16:33mstenta[m]Well maybe I'll file an issue specifically for that
16:33jgaehring[m]that's good
16:33mstenta[m]To think it through
16:33jgaehring[m]i think GPS is going to take a lot of fine tuning
16:33mstenta[m]Yea definitely
16:33mstenta[m]And ultimately we're pretty limited by the hardware
16:34jgaehring[m]right
16:34mstenta[m]Cell phone GPS is just not as accurate as the real professional GPS devices
16:34jgaehring[m]and Cordova's interface with the hardware
16:34mstenta[m]That's something I've heard from a lot of people - eg: folks in Ag Extension who work with it every day
16:35mstenta[m]And have special equipment for mapping fields that is more accurate
16:35jgaehring[m]perhaps a good appraoch would be to look at it as being strictly for convenience, rather than precision
16:35mstenta[m]But hey - it's a start!
16:35mstenta[m]Yea
16:35mstenta[m]And in the future, we can include some actual mapping features in the app itself
16:36mstenta[m]So you can touch your location specifically
16:36mstenta[m]That will ultimately be faster/easier I think
16:36jgaehring[m]"so i don't have to search".... "so i can remember where i was when i took that pic"... etc, etc
16:36mstenta[m]People know where they are, generally speaking :-)
16:36jgaehring[m]those kinds of user stories
16:36mstenta[m]yea
16:37mstenta[m]Question: what triggers the "Search nearby" to load a list of areas?
16:37mstenta[m]Because it seems that doesn't work until after I have added the GPS point to the log
16:37mstenta[m]But maybe it's just because it takes a long time to get the initial point either way?
16:40mstenta[m]Do you know where that other issue is? Where some of that stuff was discusses? I'll link to it from this new one...
16:41jgaehring[m]yea, it stores location once, so if you do one then the other, the first will always take longer
16:43jgaehring[m]github.com/farmOS/farmOS-client/issues/3
16:44mstenta[m]Created a new issue to discuss it: github.com/farmOS/farmOS-native/issues/8
16:45jgaehring[m]great!
18:53*JustTB has quit (Quit: Leaving.)
23:54*svenn has quit (Quit: The Lounge - https://thelounge.chat)
23:55*svenn has joined

< 072019-02-08⋏09 >