Our great sponsors
-
Then I saved that 18x image in a Digital Elevation Model format and used gdaldem to generate hillshaded and hypsorelief images from the DEM. Finally, I used ImageMagick to blend the two together using parameters originally derived from the hypsorelief generation in TopOSM.
-
The code is at the bottom of my day 9 source file, in Common Lisp. (The AdvMAME3x code was something I originally wrote for my 2020 day 20 visualization.)
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
This amazing visualization reveals a kind of a bug in the basin generation algorithm: _any_ point which is not '9' belongs to some basin. That observation was a hint for this very short solution: we could simply exclude nines and count the connected components of the rest (my [source code](https://github.com/kirienko/adventofcode/blob/master/2021/day_09.py)_without the answer_: python + `networkx`).
Related posts
- I sure love chasing an ungodly fast VGT that has a 25 second head start on me
- Q-Fin: NEW Extended Research - star count:109.0
- tensortrade: NEW Deep Learning And Reinforcement Learning - star count:3860.0
- robin_stocks: NEW Derivatives and Hedging - star count:1292.0
- Riskfolio-Lib: NEW Portfolio Selection and Optimisation - star count:1215.0