mobile wallpaper 1mobile wallpaper 2mobile wallpaper 3mobile wallpaper 4
Getting Started with Redis
2023-08-08
1788 words
Redis is an in-memory key-value NoSQL database with low latency and rich data structure support. Compared with traditional relational databases, Redis does not strictly constrain data formats and supports horizontal scaling. Common commands include key-value operations, hash operations, list operations, and set operations. Jedis and Spring Data Redis are the main Java clients for interacting with Redis, providing convenient APIs and connection pool management. Data serialization can be optimized with custom strategies to reduce memory usage.
Cover Image of the Post
CSAPP Chapter 1: A Tour of Computer Systems
2023-01-15
2022 words
A computer system consists of hardware and system software and runs applications through a program life cycle of creation, execution, output, and termination. Information is made of bits and context, and programs are transformed into executables by the compilation system. The processor reads and executes instructions, using caches to improve performance. The operating system manages hardware and provides abstractions such as processes and virtual memory to support concurrency and parallelism. Abstraction is a core concept in computer science, and virtual machines provide an abstraction of an entire computer.
Cover Image of the Post
missing-semester-class01
2023-01-11
384 words
This article introduces the basic features and usage of the shell, including how to run programs, navigate paths, manage file permissions, redirect input/output streams, and manage root user privileges. It provides multiple bash command examples and after-class exercises to reinforce learning.
Cover Image of the Post
Dreams and Hope Overflowing, Self-Forgiveness and Reverie — Sakura, Moyu.
2022-09-18
806 words
My experience with Sakura, Moyu. followed a long arc from excitement to giving up and then rekindled passion. The release of the Chinese localization patch helped me finally finish it. This post is about that process, the dreams and hope carried by the song "さくら、もゆ", and the emotional impact the characters and story left on me.
Cover Image of the Post
Algorithm Study: Bitwise Operations, Discretization, and Interval Merging
2022-07-16
206 words
This article introduces algorithms for bitwise operations, discretization, and interval merging. Bitwise operations are used to process binary numbers, discretization is used to optimize storage and queries for sparse data, and interval merging uses sorting and overlap checks to efficiently merge multiple intervals. Related examples and reference code are provided to help understand their applications.
Cover Image of the Post
Algorithm Study: Prefix Sum, Difference Array, and Two Pointers
2022-07-16
538 words
This article introduces the principles and applications of prefix sums, difference arrays, and the two-pointer technique. Prefix sums are used to quickly compute subarray sums, difference arrays are used to efficiently handle range updates, and the two-pointer method optimizes query efficiency by maintaining pointers. Related examples and reference code are provided to help understand and apply these algorithms.
Cover Image of the Post
Learning HTML
2022-07-15
544 words
Learning HTML covers basic concepts such as document structure, text tags, images, audio and video, hyperlinks, forms, lists, tables, semantic tags, and special symbols. Important elements include <html>, <head>, <body>, <div>, <span>, <img>, <audio>, <video>, and <form>, providing foundational knowledge and example code for building web pages.
Cover Image of the Post
Core Java Study Day 02
2022-07-14
550 words
This article mainly discusses core Java topics including the basic concepts of object-oriented programming, class definition and usage, operations on predefined classes such as LocalDate, construction and encapsulation of custom classes, static methods and fields, package management, creation and use of JAR files, and techniques for writing documentation comments. It emphasizes important design practices such as data encapsulation, initialization, and class design principles.
Cover Image of the Post

Table of Contents