Lin is Dream
Author

Lin is Dream

Sharing Java developer knowledge, practical articles, and continuous insights into computer engineering.

95
Articles
0
Likes
143
Views
0
Comments
Recent Articles

Latest from Lin is Dream

95 recent articles
Lin is Dream
Lin is Dream
Mar 26, 2026 · Information Security

Detect and Fix the Critical Apifox Remote Code Execution Vulnerability

This article explains the high‑severity remote code execution and data‑theft flaw discovered in Apifox, outlines how malicious scripts can steal SSH keys, Git credentials and shell history, and provides step‑by‑step Mac and Windows commands for self‑inspection and comprehensive remediation.

ApifoxGitInformation Security
0 likes · 7 min read
Detect and Fix the Critical Apifox Remote Code Execution Vulnerability
Lin is Dream
Lin is Dream
Mar 16, 2026 · Artificial Intelligence

From AI Agents to Enterprise Automation: Building a Scalable AI Platform with Java

This article analyzes the evolution of AI agents, compares multi‑agent and single‑agent frameworks, introduces the concept of an AI Tool Platform, and presents a five‑layer enterprise AI architecture with a step‑by‑step Java implementation roadmap for real‑world automation.

AI AgentArchitectureEnterprise AI
0 likes · 20 min read
From AI Agents to Enterprise Automation: Building a Scalable AI Platform with Java
Lin is Dream
Lin is Dream
Oct 22, 2025 · Backend Development

Designing High‑Performance Coupon Codes with Bit‑Level Encoding

This article explains how to design scalable, collision‑free coupon codes by using a custom binary layout, bit‑field allocation, checksum validation, obfuscation, Base62 encoding, and provides complete Java‑style algorithms and database schema for production use.

Couponbit encodingcode generation
0 likes · 15 min read
Designing High‑Performance Coupon Codes with Bit‑Level Encoding
Lin is Dream
Lin is Dream
Oct 20, 2025 · Fundamentals

From Philosophy to Bits: A Minimalist Computer History and Bitwise Operator Mastery

This article traces the evolution of computers from philosophical logic to modern digital circuits, explains how logical gates enable computation, introduces bitwise operators with practical code examples, and analyzes a coupon‑code generation algorithm that combines masking, shifting, and XOR operations for secure identifier creation.

algorithm analysisbitwise-operatorscomputer history
0 likes · 12 min read
From Philosophy to Bits: A Minimalist Computer History and Bitwise Operator Mastery
Lin is Dream
Lin is Dream
Oct 14, 2025 · Backend Development

Designing a Scalable Short‑Link System: From Base62 Encoding to Security

This article explains how to build a production‑grade short‑link service, covering the background of SMS short URLs, Base62 encoding principles, database schema design, request routing, security measures such as custom alphabets, rate limiting, and signed links, and additional management features for operation and monitoring.

backend architecturebase62database design
0 likes · 16 min read
Designing a Scalable Short‑Link System: From Base62 Encoding to Security
Lin is Dream
Lin is Dream
Oct 11, 2025 · Backend Development

Why Your Spring Boot File Upload Fails: Async Reading, Temp Files, and Encoding Gotchas

This article explains common pitfalls when handling file uploads in Spring Boot, including temporary file lifecycle causing FileNotFound errors in asynchronous processing, and character encoding mismatches that lead to garbled text, and provides practical solutions such as size limits, main‑thread parsing, and BOM‑based charset detection.

BOMMultipartFileencoding
0 likes · 7 min read
Why Your Spring Boot File Upload Fails: Async Reading, Temp Files, and Encoding Gotchas
Lin is Dream
Lin is Dream
Aug 29, 2025 · Backend Development

How I Built a Mini‑Netty from Scratch: Lessons in Java NIO Design

This article concludes the "From Zero Hand‑write Mini Netty" series, walking through the evolution from a simple single‑thread NIO program to a multi‑threaded, pluggable Mini‑Netty framework with heartbeat, decoding, and responsibility‑chain processing, and outlines future plans for a full‑featured Netty chat application.

JavaMini FrameworkNIO
0 likes · 7 min read
How I Built a Mini‑Netty from Scratch: Lessons in Java NIO Design
Lin is Dream
Lin is Dream
Aug 25, 2025 · Backend Development

How to Build a Mini‑Netty Pipeline that Decouples Decoding from Business Logic

This article explains how to redesign a Java NIO server by introducing a Netty‑style pipeline that separates decoding, logging, authentication, and business handling into independent handlers, improving extensibility, maintainability, and performance while providing complete sample code and initialization steps.

HandlerJavaNetty
0 likes · 15 min read
How to Build a Mini‑Netty Pipeline that Decouples Decoding from Business Logic
Lin is Dream
Lin is Dream
Aug 22, 2025 · Backend Development

Mastering Asynchronous Writes in Java NIO: Build a Reliable Write Queue

This article explains why direct writes to a Java NIO channel fail for large messages, introduces a write‑queue and OP_WRITE listener to handle partial writes, and provides a complete PacketWriter implementation that transforms synchronous writes into efficient asynchronous operations.

Java NIONettyNon‑Blocking IO
0 likes · 9 min read
Mastering Asynchronous Writes in Java NIO: Build a Reliable Write Queue