by nemo1618 · 4y ago · 0 comments
It's still mostly a toy at this point, but I'd like to add more knobs and data so that I can narrow down the best place to live (and hopefully help other people do the same). If you want to contribute, the code is open source: https://github.com/lukechampine/goldilocks
The site weighs about 1.6 MB (gzipped -- the full climate data is ~35 MB uncompressed!) and is hosted on a Linode, which seems to be holding up pretty well.
Also, a big thank you to those in the comments who shared links to similar projects! The "pleasant places" map is super close to what I want. Ideally this project would look something like that, but with the ability to select your own preferences for what constitutes a "perfect" day.
I thought about making something like this too, years ago. I wanted to converge data from tornados, fault lines, flooding, and hurricaine probabilities. But then I got sucked into EVERY parameter I might want to consider, like air traffic (vortac lines), distance to power grid, UPS coverage, internet coverage, cellular coverage... and eventually the amount of data crushed my brain and the project never even made it to a NextJS boilerplate. :) So if you want to add more data... hint hint hint. :)
How did you "bend" those hexagons? What's going on there as I go from coast to coast? Is that to map them to a sphere?
But the risk from earthquakes is much harder to quantify since they are so rare, hard to predict except in broad generalities, and the damage suffered is also hard to predict. You can try to reduce your risk by following good earthquake practices, but it's hard to quantify the risk reduction.
In my area, the earthquake risk is: “We estimate the probability of having a magnitude 9 earthquake in the next 50 years is about 10 to 14 percent”, but no one can say exactly where the earthquake will strike or what areas will suffer the most damage.
The MVP site took >1 second to rerender when you dragged the slider. I got it down to a few dozen ms, which makes it a lot more fun to use. Pretty proud of that :)
Thank you for not making it a typical CRUD app that queries an overloaded 35MB database for a couple round trips every time you want to move a slider....
I went through scraping weather averages and graphing them in elk, then finding https://weatherspark.com/map and now this. Best option yet.
One knob I'd love to have is the ability to tune the # of days ranges - "above 200" is a pretty large bucket depending on how you tune the other numbers. It looks this is changeable in the code, but maybe it's tied tightly to the available data?