ALL POSTS
函数依赖与数据库设计的范式
介绍函数依赖,以及数据库范式中的 1NF,2NF,3NF,BCNF 和 4NF。并且使用例子来解释它们的概念和联系。
Taylor Formula, Taylor Theorem, Taylor Series, Taylor Expansion
This article mainly introduces the content and connection between the four concepts of Taylor's formula, Taylor's theorem, Taylor series and Taylor's expansion.
Proof of Faulhaber's Formula
Faulhaber's Formula, which provides a method to compute the sum of the p-th powers of the first n positive integers.
The Catalan Series
The article discusses Catalan numbers, a sequence used in combinatorial problems. It covers their recurrence relation, closed form, and applications in path counting. It provides insights into problem-solving using Catalan numbers.
Some Definitions for Time Complexity.
Give five symbolic and mathematical definitions related to time complexity.
Some Classical Ciphers and Implementations
This article explores classical ciphers historically used. In the past, amid low productivity and primitive computing, these ciphers offered protection.
How to Explain The Halting Problem
How to explains the Halting Problem's unsolvability in computing, referencing Alan Turing's work. Let’s start with a simple Java login function and a example.
The Await-to-Js
Handling asynchronous function errors and result more elegantly.
The Usages and Traps of useEffect in React
The article discusses the challenges and pitfalls of using useEffect in React, emphasizing its proper application for idempotent view initialization and refresh, cautioning against non-idempotent operations to avoid inconsistencies between data and UI.
React 中的 useEffect 用途和一些坑
文章讨论了在 React 中使用 useEffect 的挑战和陷阱,强调其在幂等视图初始化和刷新方面的正确应用,并警告不要进行非幂等操作,以避免数据和 UI 之间的不一致。