Danny Siu's Personal Blog

Written by Danny Siu who lives in Hong Kong. You should follow him on Twitter

Pseudoinverse and the shortest solution to least squares

May 03, 2020 | 2 min read

This posts show the relationship between pseudoinverse and the shortest solution to least squares.

When the modulus m is a product of distinct primes, the decryption will always work

April 25, 2020 | 2 min read

This post is about the RSA decryption. As long as the modulus m is a product of distinct primes, the decryption will always work even the message a and m are not relatively prime.

How to build multiple counters using React and Redux

April 22, 2020 | 6 min read

This post shows you how to build multiple counters using React and Redux.

Using Fermat Number to prove the infinity of primes

April 19, 2020 | 2 min read

This post is about how to use Fermat Number to prove the infinity of primes.

SVD and basis

April 19, 2020 | 3 min read

This post is about the left and right singular vectors of Singular Value Decomposition of a matrix A can be the basis to the column space and row space of A respectively.