IRC logs for #farmOS, 2019-02-08 (GMT)

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