ALL POSTS

Why Can't the Underworld Manage High Technology?

Galeev: Gangs excel in simple industries, struggle in complex sectors.

15 Jan, 2024
文史哲艺

The Event-Listening Implementation

This article explores the essence of event handlers as callback functions, relinquishing control to event initiators. Events are obtained through either polling or operating system-assisted methods like blocking calls. The operating system serves as an event callback system, handling interrupts, and integrating callbacks into event loops.

13 Jan, 2024
OS

TypeScript Type-Exercises-3

10 Jan, 2024
JS&TS

TypeScript Type-Exercises 2

There are some type exercise about string literal type.

4 Jan, 2024
JS&TS

TypeScript Type-Exercises 1

3 Jan, 2024
JS&TS

就任北京大学校长之演说

《就任北京大学校长之演说》是近代教育家蔡元培的演说作品,是蔡元培在 1917 年就任北京大学校长时发表的。这篇就任北京大学校长的就职演讲,开宗明义地对青年学子提出了三点要求:一是抱定宗旨;二是砥砺德行;三是敬爱师友。明确求学目的及办学宗旨,望学子们以身作则,匡正流俗,为天下人之道德楷模。

31 Dec, 2023
文史哲艺

The Master Theorem For Time Complexity

In this article, we will model the time complexity of divide and conquer using mathematical methods, analyze its asymptotic properties, and provide three methods of calculation.

18 Dec, 2023
ALGORITHMMATHEMATICSCOMPUTATION

The Bash Game

A pile of stones, two people take turns to take at least 1 stone and at most 2 stones. Whoever gets the last stone loses.

14 Dec, 2023
ALGORITHMGAME-THEORY

Fast Inverse Square Root

Magic Number - 0x5f3759df

The article introduces an algorithm called Fast Inverse Square Root, which is used to quickly calculate the inverse square root of a floating point number.

8 Dec, 2023
MATHEMATICSALGORITHM

送東陽馬生序

余朝京師,生以鄉人子謁余,譔長書以為贄,辭甚暢達;與之論辯,言和而色夷。自謂少時用心於學甚勞,是可謂善學者矣。其將歸見其親也,余故道為學之難以告之。謂余勉鄉人以學者,余之志也;詆我夸際遇之盛而驕鄉人者,豈知予者哉。

7 Dec, 2023
文史哲艺古文整理
/ 9