2021 年度回顧
可能是經驗也累積多了,看事情的角度好像也變得寬廣了一些了。在 2020 年與 2021 年開始多方探索各個領域,像是 Arduino、玩樹莓派、跑去看 AVR、買 STM32 開發板來玩、學習 PCB 跟 3D 列印,希望自己除了在前端之外,也可以和其他領域整合,做更多自己想做的事。今年是 2022 年,在去年及前年的探索後,希望今年可以變成開創的一年,讓自己做出一些成果來。
This morning I saw this article called "Leaving MySQL". If there is one key point in this article, it would probably be what the author wrote: MySQL is a pretty poor database, and you should strongly consider using Postgres instead.
Polly is one of the services on the Amazon cloud platform that can convert text into speech. Although text-to-speech is not uncommon, Polly can generate natural-sounding voices based on sentence structures, which is a great boon for language learners. In addition, it has a wide range of applications, such as converting subtitles into speech, scripts, narrations, dialogues, and even the possibility of using Polly to record podcasts directly.
To me, the invention of the radio is quite miraculous. Through wireless transmission, sound can actually travel to such distant places and be played back through a radio. This article attempts to create a simple radio circuit to understand the underlying principles.
Recently, the new anime "Blue Period" on Netflix is very good. The story is about a high school student who falls in love with drawing and enters Tokyo University of the Arts.
The key point of using AVR for USB is whether the chip itself has built-in USB support. Currently, only ATmega32u4 is still in production, but it may also be difficult to obtain due to semiconductor supply shortages.
In early 2021, Raspberry Pi released the pico microcontroller, which is quite affordable at just over 100 Taiwanese dollars. One interesting feature of it is PIO, which allows the implementation of different communication protocols using specialized assembly language and architecture without consuming the resources of the main processor.
WebGL does not support lines with a lineWidth greater than 1. Even Three.js does not have support for adjustable line widths. Therefore, I started working on my own implementation for lines.
This book feels like it will eventually be translated into Chinese. While there is currently only a Japanese version, I want to share my reading experience with everyone. This book is thick, with over 700 pages, and is even referred to as the "#BluntInstrument" in Japan. It has also made it onto the bestseller list. The content inside is very substantial and is suitable for beginners who want to learn a subject thoroughly but don't know where to start.
When browsing the web, we often use subdomains to differentiate the content of services. However, determining whether a website is a subdomain or if two websites are SameSite is not as straightforward as it may seem.
shiki is a package that provides syntax highlighting for code. It is relatively newer and less well-known compared to other packages like highlightjs and prismjs. The main reason is that it supports a wider range of languages and is easier to configure. It also comes with a good variety of built-in themes, making it convenient to replace prismjs.
In frontend applications, it is common to encounter a situation where the displayed value is calculated by combining other values or undergoes some calculation before being inserted into the UI. Usually, this type of processing can be simplified using `useMemo` to reduce code complexity.
I have always been accustomed to using the terminal by directly switching tabs through the tab feature of iTerm2. There is nothing wrong with doing so, but ever since I discovered the advantages of `tmux`, I have moved all my terminal operations to tmux.
Before the advent of technological singularity, it is feared that the Earth will soon be unable to sustain the global economic system. Perhaps we are able to maintain our current way of life simply because we live in more advanced countries and are positioned at the top of the supply chain. However, upon closer examination of various signs, it becomes increasingly worrisome.
From NAND logic gates to Turing completeness, everything is self-assembled by pulling circuits and assembling components. This game turns the writing of code into drag-and-drop logic gates through visualization, making it easier for players to observe the changes in truth tables in real-time.
Recently, the term NFT has become a trend, and everyone is rushing to "collect" them. However, there are often misunderstandings, so here are some common misconceptions.
Linear output is the foundation of the functioning of an economic system; exponential output can change human lifestyles.
This article is only intended to express personal opinions and thoughts and has no intention of criticizing industry peers. I believe that the frontend field (referring to web development) is gradually maturing, with frontend frameworks adopting a component-based approach and responsive mechanisms, combined with framework-specific syntax, development practices, and philosophies, which can handle most usage scenarios.
A group of engineers is researching how to reverse engineer running a native Linux kernel on Apple M1.
Ignoring these factors, developers who write code using monospace fonts still make up the majority. This article aims to share some of the monospace fonts that have been used in recent years.