@mortier_martin The caches are stored by city names. City names are used for the weather API calls. Location coordinate are only used for obtaining user current location which is sent to the reverse geo-coding APIs to obtain the user city name.
Weather data is stored and reused for up to 10 minutes. When the cache expires, the system fetches fresh data and updates the stored result.
It's a small implementation detail, but it makes a difference in how efficiently an application handles data.
Fetching fresh weather data every time a user requests the same location would mean unnecessary API calls and network traffic.
So I implemented a location-based caching system.
A good-looking website is only one part of good software.
Performance, reliability, usability and maintainability matter just as much.
Building software is about creating solutions that work well, not just interfaces that look good.
#WebDevelopment#SoftwareEngineering#geeneehq
Building https://t.co/m0Kn4jLSQC
Part 2: The Dashboard
The goal was to bring current weather conditions, key weather metrics, location information and forecasts together in one accessible interface. I call this project WeatherAI (get used to it)
#SoftwareEngineering#geeneehq
Building https://t.co/m0Kn4jLSQC
Part 2: The Dashboard
The goal was to bring current weather conditions, key weather metrics, location information and forecasts together in one accessible interface. I call this project WeatherAI (get used to it)
#SoftwareEngineering#geeneehq
One lesson in software development is learning to understand existing code before trying to change it.
Not every problem requires a complete rewrite. Sometimes, understanding the root cause is all you need to do.
#WisdomWednesday#SoftwareDevelopment#Programming#geeneehq
One lesson in software development is learning to understand existing code before trying to change it.
Not every problem requires a complete rewrite. Sometimes, understanding the root cause is all you need to do.
#WisdomWednesday#SoftwareDevelopment#Programming#geeneehq
Building WeatherAI: a weather risk prediction system that combines weather data, location services, and machine learning to predict rain events.
I'll be sharing how I built it, the technologies and challenges.
Part 1 of the build-in-public series.
#BuildInPublic#MachineLearning
Building WeatherAI: a weather risk prediction system that combines weather data, location services, and machine learning to predict rain events.
I'll be sharing how I built it, the technologies and challenges.
Part 1 of the build-in-public series.
#BuildInPublic#MachineLearning