Week 27 - 2023
The weeknote for 7/3 - 7/9.
Tech
Threads
- This week Threads has been released from Meta. It was a very interesting timing for a big new SNS to be released as twitter had awful operation this week. Threads got 100 million registration in the first week.
JSON
-
I was randomly pondering about the spec of JSON. JSON looks nearly perfect in a sense that it's easy to parse, portable to any language. It's actually the infrastructure for data transfer between systems now. One thing I feel it's very unfortunate about JSON is the spec of
number
s. It doesn't have any restriction to its resulting value. As a result, the parse result of number value in JSON can be arbitrarily large integer, arbitrarily large or small float, etc. This kind of absense of restriction is very inconvenient to handle in usual languages. No language actually can handle such huge range of various numbers. This results in some ambiguity in parse result of number types of JSON.On the other hand, messagepack spec has explicit rules about parsed number values. This is very good and sane.
OSS
denoland/deno
https://github.com/denoland/deno
- Deno released v1.35 this week.
Deno.serve
has been finally stabilized. Before this, Deno hasDeno.serveHttp
which works on existingDeno.listener
object, which was good enough to show the better HTTP throughput than Node.js, but it wasn't enough to be better than the HTTP performance of Bun. We need to handle the entire HTTP stack on Rust side, and it requires Deno to expose simpleDeno.serve
API, which processes the entire HTTP stack on Rust.
Hobby
minblog
- I'm planning to build my own micro blogging software, code named minblog. It has a UI like twitter. You post things in short text, sometime with attached photos. OG images are expanded. Each post has unique permalink. You don't get any likes, replies, etc. No quick interactions. If someone would like to interact with it, they can quote posts using permalinks.