The linear data structure highly constrains the performance of blockchain. Let’s forget about the Bitcoin bottlenecks like its 1MiB/10min constraint for now. Imagine we’re designing a high-performance payment system. If users are only allowed to append transactions/blocks when they have the latest whole ledger, plenty of time would be wasted in communicating and ensuring their ledger synchronised, and therefore can’t reach a throughput as...
Most programmers would agree that coding is preferable over WYSIWYG editing, no matter it’s a webpage or printed matter. When I write a software document, I usually use LaTeX. But when it comes to the diagrams in that document, especially the UML diagrams, I had to use a WYSIWYG editors such as Microsoft Visio. Finally, I had to make the diagrams in a graphic...
This is a lecture note about regularization.
This is a lecture note about logistic regression.
This is a lecture note about linear regression.
This is a lecture note about matroid, greedy algorithm, and graph theory.
I’m posting these code here because I can not find a briefer solution.