avatar

Coderek's blog

Loneliness is the gift of life

说到加班就不得不提996。最近有人搞了个996.ICU的github repo,竟然聚集了25万颗星星,可见这个话题在程序员群体里面是多么的敏感。 但是我在国外生活这么久,也在好几个国家工作过,996这个问题说真的只是在国内显得这么尖锐。 我觉得这有好几方面的深层次的原因。 首先,为什么要996?最直接的回答可能是大家都这样,是这样的氛围,所以没有办法啊。当然这个氛围不是公司主动搞出来的。公司本…

Read more ››

React test util function `act` enables us to test tree rendering. This post examine how it is implemented and how it works with hooks.

Read more ››

A deep-dive into React scheduler. I will walk through the workings of React most fundamental building block. It will help in understanding the concepts like, concurrent rendering and performance impr…

Read more ››

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 分类,给其一个命名空间。 比如 module M def self.hello puts 'world' end end module N def self.hello puts '世界&…

Read more ››

1 2 3 4 5 6 7