Jerry's blog

2018 Summary and 2019 Goals

Events Sharon became a Christian Isabelle Janet Chen will be ready to come to the world Left wherewot and join Asdeqlabs For somehow gain weights => 77kg Skills used in last year Typescript Java Swift and Object C Python C Knowledge gained last y...
Click to read more ...

Spring Study Notes

Basic Concepts Spring >= Container DI: dependency injection Bean application context: loads bean definitions and wires them together AOP: aspect- oriented programming Spring modules CORE SPRING CONTAINER SPRING’S AOP MODULE DATA ACCESS AND INTEGRATION: abstracts away the boilerplate code WEB AND REMOTING: MVC and RMI...
Click to read more ...

2018 todos

Books Clean code Think in java Understand the JVM Java concurrency in practice Pro C# 33% Review C# Java C/C++ Gradle Learn Typescript Swift Object C Code Read and Wheel Reinvent JDK Collections Vue 10% React
Click to read more ...

Typescript Study notes

This is a collection of advanced javascript knowledge. Array map parameters ['1', '2', '3'].map(parseInt) // [1, NaN, NaN] ['1', '2', '3'].map((currentValue, index, array) => { console.log(currentValue) console.log(index) console.log(array) }) // parseInt(1, 0) == parseInt(1, 10) 1 // parseInt(2, 1) NaN // parseInt(3, 2) NaN ...
Click to read more ...

Java Review Note 1

primitive type number int : 4 byte short : 2 byte long : 8 byte byte: 1 byte -127 ~ 127 no unsigned type in java float float 4 byte double 8 byte float operation follow IEEE 754 Double.POSITIVE_INFINITY Double.NEGATIVE_INFINITY Double.N...
Click to read more ...

DotNet Study Note 3 - C# Class

This is third part of DotNet study notes – quick review for C# language - class. Class A class is a user-defined type that is composed of field data (often called member variables) and members that operate on this data (such as constructors, properties, methods, events, and so forth). Collectively, the set of field data represents the “state” ...
Click to read more ...

C# Study Note 2 - Entity Framework

This is second part of DotNet study notes – EF Core 2.0. Introduction As ORM framework, EF has three design approaches: Database First – Database –> EDM Model First – EDM –> Database Code First – Code –> Database I had spent most of my time in code first for the last two weeks. Here are the key notes of my study journey. Co...
Click to read more ...

Implement Promise In ES6

We had been using async / await for our project for a while, our new staff seemed to have not trouble with implementation of async programming as I did. But still, I believe Promise is essential for js programming, not only async function return Promise, but also cutting edge technique such WebAssembly highly replied on it. This is as simple jo...
Click to read more ...

DotNet Study Note 1 - C# language

This is first part of DotNet study notes – quick review for C# language. Concepts Component Object Model COM – .NET libraries are not registered into the system registry NOT LIKE COM Common Intermediate Language (CIL) just-in-time (JIT) compilation Common Language Runtime (CLR) to locate, load, and manage .NET objec...
Click to read more ...

Job Seek Development Journal - 2

Last week, I tried to fit this small job seek in DDD pattern. And this week, I am going to learn how to implement it. Project Setup // create DotNetJobSeek solution dotnet new sln -o DotNetJobSeek // src: source codes folder // test: test codes folder // documents: documents foler mkdir src test documents // README file touch README.md // add ...
Click to read more ...

Summary Of 2017

This is the first day of 2018. I want to review what I had gained last year so that I can review things I need to learn next. Last I tried some new techniques in production and reviewed some skills I had. New Things learned cordova One of my project manager mentioned required phone gap be implemented in one of our project as it was writt...
Click to read more ...

ToyOS Development Journal - 3

This is third part of ToyOS development journal. In the second part, we set up great descriptor table and load it to GDTR so that protect model is enabled. In this article, we are going to enable interrupts under protected model. Pre-knowledge According to Sakushi 20171, interrupt or exception is a condition that causes the microprocessor t...
Click to read more ...

Mixed C/C++ With Assemble

Recently, I was learning how to write a simple operation system in c++. There are many codes which mixed c/c++ withe assembles, either call c/c++ from in assemble codes or jump to assemble code piece in c/c++. This article records my finding in how to switch codes between them. GCC Compilation Process There are four steps for gcc to compile a ...
Click to read more ...

Ubuntu Development Set Up

This article show how to setup a ubuntu development with i3, oh-my-zsh and spaceVim. Preparation Download virtualbox if windows or mac Download Ubuntu and install it Set up oh my zsh install zsh and set as default sh sudo apt update && sudo apt install zsh # install zsh sudo chsh $USER -s `which zsh` # also works on aws ub...
Click to read more ...

ToyOS Development Journal - 2

This is second part of ToyOS development journal. In the first part, we successfully print “Hello World” in a naked i386 system. Now, let us move to memory management. Pre-knowledge Before we directly jump to memory management of 32 bit, we need to learn how memory was handled in 8086. In 8086 Registers we know 8086 is 16 bits cpu whose ALU an...
Click to read more ...

ToyOS Development Journal - 1

This development journal collects my study notes when I develop toyOS following Viktor Engelmann’s writting your own operation system tutorial series. ToyOS is a toy project for tutorial purpose. In this article, I will cover how to setup the environment and how to write a simple boot program. Development Environment Setup The first thing ...
Click to read more ...