Week 19 - 2022
The weeknote for 5/9 - 5/15.
Tech
CSS Sticky
- Learned a nice way to make footer stick to the bottom of the screen using
position: sticky
property of CSS from a PR to documentation web site for Deno. I realized I so much underestimated the potential ofposition: sticky
.
gray colors in Tailwind
- I found that Tailwind has 5 gray colors builtin:
gray
,zinc
,stone
,slate
, andneutral
. They all look almost gray, but they are very slightly different.slate
is more blue than others.stone
is more red.gray
is a little bit blue, but less blue thanslate
.zinc
is only a little less blue thangray
.neutral
is completely non saturated. They are a little excessive for the default colors. How do people use them?
Deno
- Deno turned 4 on May 13th. I had expected we'd release Deno 2.0 on the day, but it didn't happen mainly because (in my view) we couldn't decide on the design about how we provide Node.js compatibility. We keep releasing v1.x series for a while.
Reason
-
This week I found that Reason language has almost stopped being developed a few years ago. I also found that Meta also stopped developing ReScript. They seem competely to have stopped investing ML languages that is compiled to JavaScript.
Half surprised, half not surprsed by this. I'm a little surprised by this because Meta used to be boasting how Reason is effective in implementation of Facebook. They had significantly less bugs after partially migrating to Reason. However I'm also not surprised by that because almost all AltJS efforts were already failed. Reason and ReScript are typical in this area. They are so much different from JavaScript language, and almost 0% frontend developers prefer using functional programming language. So in my view they were destined to be failing.
RethinkDB
- Found an article from the RethinkDB founder, which is the post-mortem of the company they founded. They analyzed that one of the reasons they failed is that they stick to the correctness of the product, rather than the speed. Their competitor MongoDB was doing very wrong things on many edge cases, but they pleased the users by releasing many features the community wants in a timely manner. They see that the case when "Worse is better" principle works.