But in the grandscheme of things, consumer cpu is cheap, disk is cheap
Bold is my edit.
I've got a colleague who after 15 years still can't get his head around that fact that 1GB of disk space in a data centre is considerably more expensive than desktop.
I also had a recent "shat my self" moment when I found out that our test servers are on enterprise level storage... which means backup service, UPS etc all the sorts of things you don't give a toss about at Test or even UAT level. But that's not my side of things...
Worrying about the unnecessary size of text files in 2021 is poor programming practice.
Not really, if we were talking about old school servers where you paid for the server with a set capacity then fair enough, but cloud changes that.
You can make significant financial savings on cloud by writing code to use services charged at usage level rather than provisioning level, the cost of a SQL server on Azure is considerably more for a small database for example than using Azure DB which is charged by what you're doing in it.
That should be encouraging high efficiency at developer level, but we're pretty much conditioned to the concept of moores law and CD distribution, not where things have gone.
Platform providers are profiting off us not being efficient in what we do.
Which very much includes worrying about inefficiency in text files, because scale it up massively and you're doing a KLF.
But the OP isn't working massively...
If I was looking to optimise the transfer of GPS tracks I would not be using XML, I probably wouldn't even be using JSON either, too many curly brackets, I'd probably do what HL7 does and use a pipe delimited string.
I'd make the browser do the work of converting from GPX to my custom format, including reducing the values to sensible scales and probably turn on transport compression.
Why? Well why would I pay more for CPU, Bandwidth and Storage space when you can put that load on the clients electricity bill and pc/phone life instead?
From the Garmin website:
ABOUT US
Built to last.
Three simple words that describe our products, our company, our culture, our future. As a leading, worldwide provider of navigation, we are committed to making superior products for automotive, aviation, marine, outdoor and sports. For more information about our company, see the about us section.
I don't think so. My (four year-old) Edge Touring Plus doesn't boot up past the start-up screen
(despite me carrying out the suggested reboot). I'll contact Garmin UK tomorrow, to see if they
can help me.
More like it, I had 2 510s and a Fenix 2 and intend to avoid Garmin consumer devices.
I've seen their nautical kit on a RIB on the way out to StKilda quite impressive and didn't crash once... mean while my Fenix2 had a fit about timezones.