Week 13 - 2020
The weekly report from 3/23 to 3/29. You can edit this page (on github) if you find any error.
Deno finally has
--inspectoption! We can debug deno applications from chrome devtools!
This also opens the path for implementing the coverage support of deno #106.
- Continued working on Tententen. Started crafting domain logic of the app. This week I made preview modal of the editted Tententen object. Next week I'm going to make save and delete features.
The testing of this library was a little hard to write. First I imagined I could test this in a integration test style if I could launch karma inside the webview inside the react-native app in the iOS and Android simulators. However after a while I figured out that nobody was doing it and the karma-launcher of such stack was very very hard to write. So I gave up that path and swithed to thinking about mocking the environment. After several trials and errors, it appeared that mocking was not bad, and I was able to write good tests for both react-native side and browser side code bases using simple mock objects 👍 This was a nice first step for expanding lepont ecosystem.
The CEO of PEZY computing was verdicted 5 years in prison. He was a so brilliant engineer and businessman. PEZY was doing so well on producing energy efficient super computers which were listed in GREEN500 list. The reason of verdict says that he used the invented money for private usage. I'm a little skeptical about that reason because the amount of (allegedly) abused money is only a little part of the money they have been invested and what PEZY produced actually achieved sufficiently what they promised to produce. So there seems only a little (or 0) problem on their activity.
What will he learn from this inprisonment? Who gets what benefit from this? This seems only slowing down the innovation of super computers in this country. What's the motivation behind the sentence behind this?
- Webkit announced they make 7-day cap on all script-writable data on browser, which includes localStorage, Indexed DB, and ServiceWorker. After reading the specs carefully, expiring indexed DB is no problem because the spec seems saying it's ok to expire it to prevent 3rd party tracking. However the spec of Web Storage says localStorage will never expire except when the user explicitly want it or for security reason. So in my opinion, this breaks the spec and probably it will actually break the real world applications which depend on localStorage. As for service workers, there seems no way to abuse it for 3rd party tracking because the authors seem very carefully drafting the spec to avoid such abuses. So in this point webkit seems failing to describe the reason for disabling the persistence of it.
I created acrylic key holders of Deno using two companies Pixiv and Otaclub.
The qualities of the products were almost the same. Otaclub ships faster and cheaper, but the process of submitting the data was tedious. Pixiv provides far better user experience in the process of submission of data. You can only need web browser and base image file for creating data for pixiv. I was really surprised by the quality of the user interfaces of the design editor of pixiv. So I recommend pixiv for prototyping the material and otaclub for mass production. By the way, both services probably only operate in Japan! I guess there are similar local services in most countries.
See any mistakes? Please fix!