Week 44 - 2020
The weeknote for 10/26 - 11/1.
OSS
denoland/deno
-
Contributions
-
https://github.com/denoland/deno/pull/8092
I tried to fix URLSearchParams constructor with the case of invalid escape sequenses.
decodeURIComponent('a=%xy')
throws an Error because '%xy' is invalid escape sequense, but new URLSearchParams('a=%xy')doesn't throw and it works like the value of key
ais
%xy'. URLSearchParams are more tolerant with malformed URLs. Deno's parser of query string usesdecodeURIComponet
but that was impossible because of this difference of these 2 APIs. In the above PR, I changed the parsing of it, and allowed such malformed cases. -
https://github.com/denoland/deno/pull/8133
There is a plan for releasing nightly build of deno (See #6974), and the issue is blocked by another issue #6037. So I tried to solve it. It's still in review.
-
https://github.com/denoland/deno/pull/8199
Tried to fix the new API
prompt
which had a bug with printing non-ascii characters on windows.To fix this issue, I needed to set up EC2 instance of Windows Server 2019, and as a side effect I finally created a powershell script which prepares all of necessary dependecies for building deno with one single command. https://github.com/kt3k/setup.ps1
-
MyProject
Tententen
- This week I improved the storybook of Tententen which now includes Toast and ConfirmDialog components. First I replaced default babel-loader with ts-loader because capsid's decorators need to be transpiled by typescript. Second I added mutation observer to document.body which calls
capsid.prep()
for each dom element addition, which was necessary for capsid components correctly initialized on each page transition inside storybook. Third I rewrite the story with very declarative manner by utilizing the simple dom helper method create. The result of these refactoring was like this. It's totally declarative and very readable and maintainable. I'm very satisfied with this result.
Life
Iyo's study of web
- This week Iyo tried to mimic Japanese old-fashioned SNS "前略プロフィール" with her html skill. It resulted as https://iyochan.love/. It was a good job.
Iyo's kitchen
-
This week she cooked an apple pie and it was a great job 👍
アップルパイできました⭐️ pic.twitter.com/M0Df07hWZf
— あずき (@okomekirai) October 28, 2020
Tokyo Train Museum
-
This week Iyo and I went to Tokyo Metro Museum.
エッチ!!!!!!! pic.twitter.com/yWprvhDQzg
— あずき (@okomekirai) October 30, 2020鉄道に興味ないタイプのエンジニアの方です(早くカフェに行ってプログラム書き隊の隊員さん!) pic.twitter.com/m4RW5FcYvy
— あずき (@okomekirai) October 30, 2020鉄道大好きっ子 pic.twitter.com/CUpENTmvb4
— Yoshiya Hinosawa 𓆈 (@kt3k) October 30, 2020
Iyo's photo
-
This week's best photo of Iyo!
飛んだ! pic.twitter.com/WDWVMF27KD
— あずき (@okomekirai) October 31, 2020
Nino's walk
-
She tries to enter many shops (but failed)!
わかる pic.twitter.com/h41YmfJyUz
— あずき (@okomekirai) October 29, 2020