Avatar
Gao
  • C
  • C#

see more about me on my Github profile.


Probability

Expectations The average value of some function $f(x)$ under a probability distribution $p(x)$ is called the expectation of $f(x)$. For a discrete...


RaspberryPi Odoo

Configure Prestashop Install Docker Engine Install Docker Compose Since Docker Compose stable release doesn't provide binary for armv7, you need to...


Remote Access Via TightVNC To Windows Machine

Install VNC Server on Windows Machine Download TightVNC which is free VNC server that support Windows 11 and then install TightVNC on Windows...


How to Create a Windows7 Vagrant Base Box

How to Create a Windows 7 Vagrant Base Box? Introduction Since Vagrant 1.6 release, Vagrant add support for Windows VMs. We will go through the...


Diagonalization

What is diagonalization? For a $n \times n$ matrix $A$ the diagonalization is the process to find a diagonal matrix $D$ and a invertible $n \times...


The Process Behind Compiling and Executing C Code

Introduction Compiling and executing a C program is a multi-stage process. In this post I’ll walk through each stages of compiling and executing the...


Java Concurrent Programming

Introduction At the beginning, a program ran from start to finish, it had access to all resources on the system. Nowadays with operating systems we...


Client-Centric Consistency Models

Eventual consistency There is a special class of distributed data stores that characterized by the lack of simultaneous updates, most of the...


STP

Motivation The Spanning Tree Protocol (STP) is a layer 2 protocol that runs on bridges and switches. The main purpose of STP is to ensure that you...


Testing

Testing Unit Test The purpose of unit test is to validate that each unit of the software code performs as expected. A unit may be an individual...