avatar

Coderek's blog

Loneliness is the gift of life

Recently I revamped my website by making a number of overdue improvements. One of the improvements was to add animation to the top bar since moderate amount of animation makes a website look more pol…

Read more ››

Service Worker has been around for a while. As of now, Edge, Firefox, Safari and Chrome all have 100% support of service worker features1. So it's good time to add it to my website. The biggest use c…

Read more ››

In real world Java programming, it is always important to emphasize on thread safety. Corrupt data occurs when multiple threads write and read the shared data in an uncontrolled fashion. The key pa…

Read more ››

I encountered a problem with docker recently. The project I've created is run entirely using docker. The vue client and node server are in different folder. For the vue client, I'm building the stat…

Read more ››

Modern JavaScript projects are distinct from traditional ones. The use of NPM system for client side projects enables JavaScript developers to easily use shared libraries at the expense of exploded s…

Read more ››

所谓知行合一也就是理论与实践相结合。其实不用说也知道这个在科技发展中的作用是至关重要的。 可以做到实践并不是一件容易的事情,有些情况不是想想办法就可以解决的。比如,AI 需要大数据来验证模型。这些数据可能需要从数以百万千万的人的身上收集。这么大的用户基础世界上只有屈指可数的几家公司可以做到。 再比如说想做大规模项目比如说高速铁路。光有技术是不够的,还需要有大量生产经验和运维经验来证实技术。一个国…

Read more ››

其实ruby真的不容易学,因为它有太多非主流的东西了。今天我就来说说 ruby module. ruby module 的主要用途无非就是给function 分类,给其一个命名空间。

Read more ››

Background material. Terminology - heads, branches, refs, and revisions Resetting Merging 2-way merging 1-way merging Special merges - already up to date, and fast-forward Deleted files during merg…

Read more ››

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 ››

1 2 3 4 5 6 7 8