Some tricks about reading files in node.js.
In node.js, it is common to use the fs module to manipulate files. However, when dealing with high throughput scenarios, any IO-related operations should be handled with caution.
In node.js, it is common to use the fs module to manipulate files. However, when dealing with high throughput scenarios, any IO-related operations should be handled with caution.
Originally, I planned to organize and share what I have done, but after finishing the organization, I realized that there isn't much to talk about. So, I'll just record it in a chronological manner.
The course seems to cover a wide range of topics, including data science, climate change modeling, Ray Tracing, partial differential equations, statistics, image processing.
I have always been curious about one thing. My friends around me usually don't comment on things on the internet, such as leaving comments under a post or expressing their opinions on Twitter. However, if they ask a question in a private group, they usually receive good advice. What I have realized is that people actually enjoy giving advice and opinions, so why don't most of us comment frequently on the internet?
There are two males and one female student in first grade who are sharing infinite alerts.
Many websites now incorporate the process of measuring Web Vitals to identify areas for improvement through quantifiable metrics. However, what fewer people know is that Sentry actually introduced statistical functionality for Web Vitals earlier, which allows developers to track various indicators such as LCP, FP, and CLS. This enables developers to view relevant charts in the backend, and even includes average values, which is quite thoughtful.
Today in the Japanese software development community, the hottest news should be the "Coinhive incident". This lawsuit is due to website operators placing mining scripts on their websites, which start mining when users access the web page. This behavior has been charged with "unauthorized electromagnetic record (obstruction of computer use crime)", initiating a series of legal proceedings.
After switching to the HHKB keyboard, I no longer have arrow keys. When editing text, I naturally try to minimize the use of arrow keys. Influenced by various external factors, I started learning Vim and found it to be quite useful, especially when paired with VSCode. Here, I would like to share some insights and tips with those who are interested.
From a UI perspective, the challenges faced in frontend and mobile development are similar, despite the differences in languages or development approaches used. We all need to create a user-friendly interface. As such, we will encounter similar problems such as component-based development, state management, data flow, and managing side effects (API or IO), which I find to be a great area for mutual learning.
可能是經驗也累積多了,看事情的角度好像也變得寬廣了一些了。在 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.