avatar

Coderek's blog

Loneliness is the gift of life
Archived Posts for year 2017

I've been thinking about this for quite some time. The very meaning of stopping time is to stop the movement of everything. Time and movement are two highly related concepts. If you want to slow dow…

Read more ››

I have written about VueJs's change detection before. Recently, I created a simplified version here. In my opinion, it's an exemplary usage of observer/observable pattern in the frontend. In this ar…

Read more ››

One task I finished recently was to optimize the loading time of table of content(ToC). ToC is the most important API we are using. Currently, it loads the entire table of content before the initiali…

Read more ››

An interesting task I was assigned recently was to fix the app in RTL mode. Our app is an react app built using webpack. When it's working in the RTL mode, the react app will be under <body dir='…

Read more ››

This is a study note about Python basics. (based on python 3.6) itertools Helper functions returns iterator. import itertools as it Infinite sequence count, cycle, repeat c = it.count(10) print(n…

Read more ››

This is a review on https://github.com/DDFE/DDFE-blog/issues/7 based on vue 2.0. (Courtesy of https://vuejs.org) In the original article, the author did talk about different participants of 2 way bi…

Read more ››

Having a proper way to manage complexity is crucially important in software development. It leads an established way of adding featurs and fixing bugs, so the software can grow as big as you wish wh…

Read more ››

We know that Angular uses component based architecture. Each component is an independent piece of UI that consists of its own state management, styles and templates. A component can be composed of …

Read more ››

Rxjs is a popular library now. I used it when working on my Radio Player project. The Angular uses it as a way to pass data between components. Because the data passed can be async and continuous, it…

Read more ››

After I switched to ubuntu, I discovered quite a few useful commandline utilities. Top is one of them that I underestimated for a long time. In the past, whenever I want to check system resource usag…

Read more ››

1 2