I worked on enterprise data storage operating systems, and I wanted to work on a personal phone application in my off hours.
And what even is the significance of 500 miles when it comes to software?
Re significance of 500 miles, state courts generally ruled that was a reasonable distance for non compete at the time, and so your company's lawyers would put together the most conservative contract that was borderline.
I'm very glad to have left that employment market, it was clear why startups never seemed to start in RTP unless they came out of Universities, specifically because of these huge liabilities for any investor. It's a shame, because the area now just waits for the next globo corp to open a remote office, rather than anything starting locally.
But I'm not a lawyer and I'm sure the lawyer you hired knows better than me.
(FWIW I think this is fair. You shouldn't be allowed to compete with your employer while still employed by them, as this creates a massive conflict of interest. Though if your employer is claiming that any and all software you write "competes" with them then that is obviously BS...)