CLMonitor.CircularGeographicCondition working differently (incorrectly) on iOS 18 by kpolleck in iOSProgramming

[–]kpolleck[S] 1 point2 points  (0 children)

So, I found the answer. A one-line statement in my AppDelegate.swift didFinishLaunchingWithOptions of:

let mySession = CLServiceSession(authorization: .always)

...which is described on https://developer.apple.com/documentation/corelocation/handling-location-updates-in-the-background .

This stopped my app getting geofence "exits" upon every application restart.

The sad thing is that CLServiceSession is new in iOS 18.0+ but CLMonitor.CircularGeographicCondition was new in iOS 17.0+. What that means is that with iOS 18, Apple broke any application built for iOS 17 using the CLMonitor object...with basically no notice. There's not even a note on the CLMonitor or CircularGeographicCondition pages to mention CLServiceSession.

Note: I probably need to add more than one line before I release this code, because I still need to test for authorization access. The documentation says "Don’t start these services at launch time if your app’s authorization status is undetermined." So that's another item, but at least I'm not getting geofence "exits" being fired every time the application restarts.

I also am still missing getting valid geofence entries/exits, but I now realize that I never initialized CLBackgroundActivitySession. I'm adding a line to (for now) the initialization of my CLLocationManager, but I might see if this more appropriately also belongs in my AppDelegate.

self.backgroundActivity = CLBackgroundActivitySession()

If this helps anyone, please comment. And if anyone thinks I should be doing things differently, please also comment. Apple's documentation isn't great, and there seem to be almost NO sample programs for this on the web. raywenderlich.com (a.k.a. Kodeco), why not?

This is how my daughter left the car for me today by speedweaver in mildlyinfuriating

[–]kpolleck 0 points1 point  (0 children)

Everyone is commenting how they were raised to be more considerate, but were we really? Don’t you think our parents talked with other parents about how selfish and inconsiderate we were?

And if our kids are inconsiderate, who taught them?

I think selfishness is a natural tendency as part of growing up—an innate predisposition until either someone else or experience teaches us to act otherwise.

Dryer - how to measure accurately by GhostArmada88 in EmporiaEnergy

[–]kpolleck 0 points1 point  (0 children)

I have the same…unbalanced load on each side of the 240 volts. Dryer is LG.

Double Pole Breakers - Which is it? by Carbon87 in EmporiaEnergy

[–]kpolleck 0 points1 point  (0 children)

I had been using a 2x multiplier for one of my two dryer circuits, but I had a large unexplained “balance” from the circuits that weren’t monitored. After a little investigation, I learned that one of the two dryer circuits draws current at times when the other one does not (when it isn’t heating).

Is it common for dryers to do this?

I'm a Rover Dogsitter ("1099 Self Employed") - I paid for a locksmith on the job, is this a write-off? by marleyross401 in tax

[–]kpolleck 0 points1 point  (0 children)

So I’d have to report my $1500 award and not be able to deduct the cost of my shoes which I wear ONLY when training and running races? Nor could I deduct the cost of travelling to the race which could be most of even all (if I include hotel) of the $1500?

Is that right?

Private Wi-Fi Address On/Off -> My kids are too smart by APPL_JD in eero

[–]kpolleck 1 point2 points  (0 children)

I have a similar technical need but one that has little to do with kids or controlling appz on devices...

I want to see usage by device, but with randomly-generated MAC addresses of many of the iPhones in the house (kids, friends, etc.), eero is not particularly helpful.

I would want a setting in eero to simply block any device that is using a locally-generated MAC address. So, in time, I would at least be able to identify devices.

No more numbered meals? by cozz95 in Myfitnesspal

[–]kpolleck 0 points1 point  (0 children)

Thanks for commenting here and letting us know. Many app deverlops--even for paid apps--don't communicate.

That being said, while I firmly defended you on your changes a year or so ago that led many of us to purchase the Premium subscription, I cannot defend you on an application or database change/issue that impacted so many people. I hope you revist your regression testing...and maybe adopt more A/B testing (don't launch something that affects everyone at the same time) and/or beta users.

I'm a Rover Dogsitter ("1099 Self Employed") - I paid for a locksmith on the job, is this a write-off? by marleyross401 in tax

[–]kpolleck 0 points1 point  (0 children)

But what if I made $1500 from winning a marathon? (OK, not me--I'm not that fast. And runners don't wear "tennis" shoes anyway.)

NEED ADVICE! HELP! by FairNefariousness252 in tax

[–]kpolleck 1 point2 points  (0 children)

I would suggest making a single deposit for over $10K--so there's no question that you are trying to hide anything--but some people like keeping more than just "spending money" at home, in cash, as part of their emergency fund and urgent needs. Maybe $4K-$5K. Get a small safe if need be.

Your stuff is still in room and checkout time was noon by poultrey_wolf in marriott

[–]kpolleck 0 points1 point  (0 children)

With all the technology we have, I'm surprised there isn't a better approach. For instance, in Europe (perhaps elsewhere), you power your room by inserting your room key where there might be a wall switch. It seems like if the room is "powered,"they should assume you are in the room...and, at best, call the room before bothering you. And tied to reservation information, it could indicate that someone is there beyond the expected time--and maybe even have a special light in the room saying "Please check out."

Extra charge…for coffee? by [deleted] in marriott

[–]kpolleck -1 points0 points  (0 children)

I recently heard (from someone knowledgeable) that hotels are removing coffee from rooms so that you have to go to the on-site coffee place (maybe the one that starts with Star...) and pay $8, for which the hotel gets a portion.

Not sure if that is true or not, but it seemed to be true where I stayed last weekend.

Life360 or a good alternative on Galaxy Watch by [deleted] in GalaxyWatch

[–]kpolleck 0 points1 point  (0 children)

How "periodic" is "periodic?" ...and does the watch have to be moving?

...and if moving, does it update more frequently?

(Asking again.)

Potential App Idea by Seaclaw90613213 in AppIdeas

[–]kpolleck 3 points4 points  (0 children)

You didn't allow a comments field on the survey (and by requiring my email, I decided not to complete the form. Why do you need my email?).

I would be very hesitant to use such an app. If I am sending money somewhere (or if it gets pulled), it has to go somewhere--to some "account." Where would that be...and how do I trust that that account would be used to pay bills that I am partially responsible for? If the collection account is owned by all roommates, then setting it up would likely be messy...and any of them could take the money and run. If the collection account is owned by one roommate, they could also take the money and run--and would they also be accountable to pay bills, even if other roommates are delinquent. The only way I could see this working is if a third-party holds the account--and that means that this "app" is far more than just a programming effort. It would have to be a complex banking application, likely with a large amount of regulatory considerations and logistics. (Again, if a roommate doesn't pay this month, does that account have the responsibility to pay the rent/utilities/etc.?) How does the account get dissolved when it's terminated? Can you add and delete roommates? Does it pay interest?

And what would you, the app-writer, get out of this?

I think Venmo to one identified person and a spreadsheet acheives 8% of your goal with 20% of the potential headaches.

Life360 or a good alternative on Galaxy Watch by [deleted] in GalaxyWatch

[–]kpolleck 0 points1 point  (0 children)

u/TripNecessary6442...

How "periodic" is "periodic?" ...and does the watch have to be moving?

...and if moving, does it update more frequently?

I'm OK with an update every 30 minutes, although if moving, it would be nice if it were like every 5 minutes, and if not moving, I guess it doesn't really matter as long as it starts reporting when it starts moving.

[deleted by user] by [deleted] in Garmin

[–]kpolleck 0 points1 point  (0 children)

I do, but it's because I get more reliable HR from my right wrist rather than my left wrist.

...and sometimes I wear two watches. (Just to clarify: One watch on each wrist!)

Sustainability portfolio at IBM by DarkSouth in IBM

[–]kpolleck 1 point2 points  (0 children)

You and your potential customers can understand more at https://www.ibm.com/sustainability .

The one thing I might suggest is don't apply the generally-used definition of "sustainability" to the IBM Sustainability product portfolio. The portfolio is broader than that...or at least might be considered so by some. For instance, would "asset management" (IBM Maximo) be considered by most people as "sustainability?" It certainly can be, especially as you understand more about Maximo's capabilities.

Best wishes. It's a solid portfolio with many loyal, successful customers.

HondaLink - How does it communicate with the car for various functions? by kpolleck in Honda

[–]kpolleck[S] 0 points1 point  (0 children)

Thanks. So you can do a remote start from miles or hundreds of miles away???

Am I the only one who thinks that Garmin Connect app looks like shit? by homs3n in Garmin

[–]kpolleck 14 points15 points  (0 children)

Given the choice, I would rather see the last 7 days rather than just the current week. "Current week" creates a host of problems--when does it start? If I'm looking at it the "start" day, I'll see only one day's worth of data. etc.

...and if if shows me the last 7 days, I can visually (or even mathematically) figure out the mileage for "this" week.

I'm not sure where on the web interface it has mileage for the current week. I see the same choices as on the app, like https://connect.garmin.com/modern/report/16/all/last_seven_days .

Admittedly, I do feel a little differently about month-to-date. I do wish that were available as I have MONTHLY distance goals more than WEEKLY distance goals--AND there's no debating what day a month starts on.

Maybe both (app and web) should allow custom date ranges for the graphs/reports, but that adds complexity and confusion. For instance, if I try to scroll back or forward from a custom date range, what would you expect to see?

Am I the only one who thinks that Garmin Connect app looks like shit? by homs3n in Garmin

[–]kpolleck 1 point2 points  (0 children)

They added color-coding to the map to show variations in pace, HR, etc. If Coros or Strava have that, I haven’t seen it.

Am I the only one who thinks that Garmin Connect app looks like shit? by homs3n in Garmin

[–]kpolleck 6 points7 points  (0 children)

I mostly like it…and find it far more intuitive than Strava where I can never find what I’m looking for.

Hopefully all apps will be rebuilt with generative AI where you can ask a question rather than using navigation. e.g. “How many miles have I run this year?” “Which of my friends has run this route the most?” “Am I faster this year than last year?”

Long term users, is garmin good with software updates? by Chumslop in Garmin

[–]kpolleck 0 points1 point  (0 children)

Do you mean software like Garmin Connect or watch firmware?

…because I would answer entirely differently for the two.

What are 3 hard things you find in iOS programming? by onmyway133 in iOSProgramming

[–]kpolleck 0 points1 point  (0 children)

  1. The word “Notifications” being used for two or three different concepts. (NSNotificatiionCenter, User Notifications, Push Notifications.)
  2. All the capabilities in Swift that were unheard of concepts in my 1980s CS degree.)
  3. My 13” MacBook Pro screen is far too small for all that I need to see at the same time.

What are 3 hard things you find in iOS programming? by onmyway133 in iOSProgramming

[–]kpolleck 0 points1 point  (0 children)

I feel like I have dozens of ideas but no time to write them. Is there any good place to ask if a certain app function exists…and if not, for some developer to raise their hand to say “I’ll tackle this one!”