Week 19 - 2021
The weeknote for 5/10 - 5/16.
OSS
denoland/deno
-
Deno 1.10 was out this week 🎉 Lots of improvement in testing function. Addition of localStorage, this is very interesting feature. By using localStorage, for example, a CLI tool can store some small configuration data based on localStorage, and no need of handling "config files". And it also added structured clone feature.
Deno v1.10 has been released
— Deno (@deno_land) May 12, 2021
- Improvements to the test runner
- Structured clone supported in Web Workers
- Web Storage API added
- Support for remote import maps
Read more in the release notes: https://t.co/g0iAzxriTR
facebook/hermes
Hermes is a JS engine built by facebook optimized for running React Native
-
I haven't paid that much attention to Hermes engine because it doesn't have JIT optimization. The usage of it looked very limited. But this news surprised me a lot.
We just landed support for TypeScript in the Hermes parser! (We can already parse Flow.) The rest of the compiler can't handle the annotations yet (that will come later), but tools that need to analyze JS source extremely fast can use the parser.https://t.co/l46tJFIBmC
— Tzvetan Mikov (@tmikov) May 7, 2021Hermes now strips the type annotation of typescript, which means the engine can execute typescript directly. I think this move is interesting in sereval ways. Striping type annotation is not difficult task. So it must be easy for implementors of engines to do that, and now TypeScript is totally ubiquitas. So the benefit of this addition is absolutely obvious, and therefore I guess other engines could follow this move. And if more than one or most of engines implement the stripping of type annotations, then it will be time to restart the proposal of typing in JavaScript. The proposal was once dead long time ago, but now the typescript is absolute standard in JavaScript ecosystem. So now we have ground for starting that again based on TypeScript syntax. If that happens, most of JavaScript toolings will be old, and everything need to be rewritten.
Life
Flow
-
These days I've been very much inspired by Flow concept by Mihaly Csikszentmihalyi. I've seen this concept several places, but most recently I paid attention to this concept because of this (Japanese) article. This article is about the game designing. The author describes how to design a good game. The argument basically goes like this. The game is a luxurization of "learning". The player feel "joy" from games because the humans feels joy when they learn somethings. Humans work like this because they are incentivized for learning by nature to higher the probablility of survival by learning new skills. So the core of game consists of learning, and Mihaly's Flow describes the state of good learning. The author says inducing Flow in the users' mind is the key of good game design.
The author's theory itself sounded interesting to me, but when I read the article again and again, I got more interested in Mihaly's Flow itself. When I read carefully about the description of Flow, I felt that state is the state when I'm working on software in a very good way. So I felt Flow is something exactly I need in my every work. So I bought the book of Flow by Mihaly and also Bhagavad Gita, which according to Mihaly describes the same as Flow in very ancient age.
Bought books pic.twitter.com/rqglMDnX3M
— Yoshiya Hinosawa (@kt3k) May 15, 2021
DisneySea
-
Iyo-chan and I went to Tokyo DisneySea on Sunday. Iyo-chan is a huge fan of Disney theme parks. So she knew everything about it, and on the other hand it was my first time to be there. So she guided me aroung the park and it was a wonderful time.
38 にして初ディズニーシー pic.twitter.com/fh2UowDROE
— Yoshiya Hinosawa (@kt3k) May 16, 2021テディ🧸 pic.twitter.com/w4s59mbxvC
— あずき (@okomekirai) May 16, 2021