Programatically understanding dynamic time warping (DTW) | Dark Hacker News