How to Linear-Fit a Noisy Signal with Regular Discontinuities | Dark Hacker News