Re:Trello clone with Phoenix and React – 5-part tutorial
by papa_bear on Saturday January 23, 2016 @02:40AM
(#10957579)
I'd really love to see a JavaScript implementations of this if you're willing to share
[ Parent
| on HN ]
Re:Trello clone with Phoenix and React – 5-part tutorial
by strmpnk on Saturday January 23, 2016 @10:12AM
(#10958590)
I'll wrap up a new version of the library that's independent of what I have it hooked up to and upload it to npm and hex.pm respectively.
When I first wrote it, I started with midpoints but it doesn't take long to see that it gets messy to optimize. I eventually stumbled on the b-tree representation of all positive rational numbers (Stern-Brocot) and the optimization became obvious.