News for hackers. Stuff that matters.
Re:Ask HN: Is anyone else glad the crypto market is crashing? by FabHK on Thursday May 12, 2022 @04:04PM (#31359529)
Look at the CAPM for the financial content, and mean-variance optimisation for the maths. It's basically minimising a quadratic function, but in many dimensions, with two constraints - the efficient frontier. You use Lagrange multipliers and arrive at a neat linear system.

Lots of fun parabolas and hyperbolas :-)

Re:Ask HN: Is anyone else glad the crypto market is crashing? by UnpossibleJim on Thursday May 12, 2022 @04:45PM (#31359958)
Awesome! Thank you!