Yance Notes

Deep Dive into Pi Coding Agent: How Minimalism Is Winning Over Developers

In 2026's crowded Coding Agent landscape, Pi stands out with just four tools and a minimal prompt. Mario Zechner's 17 years of open-source experience reveals: developers don't want more features—they want control.

AI News Coding AgentAIDeveloper Tools

Is Day Trading Gambling? It Depends on How You Play

Is day trading gambling? The answer has nothing to do with trading itself—it all depends on the trader. This article explores the core difference between probability and hope, analyzes why most day traders lose money, reveals how emotional reactions turn manageable losses into catastrophic ones, and shares essential risk management principles and discipline from professional traders.

Finance & Trading day tradinggamblingprobabilityrisk managementtrading strategy

Veteran Trader's Hidden Gems | Risk Control, Strategy & Money Management Exposed (Q&A)

A veteran futures trader shares years of trading experience covering entry journey, trading strategies, risk and capital management, market outlook, and investment philosophy. From a 50% loss to making 3-4x returns, his lessons are invaluable for futures traders.

Finance & Trading futurestrading strategiesrisk managementcapital managementinvestment experience

From Hotpot to Backdoor Listing: Understanding M&A Basics

We often see 'M&A' in the news, but all those professional terms can be confusing. Today I'll explain the ins and outs of mergers and acquisitions through a simple story!

Finance & Trading M&AIPOBackdoor ListingEquity InvestmentStock TransferShare Swap

Monte Carlo Simulation: From Concept to Practice

Using Monte Carlo simulation as the central theme, this article walks through four practical cases: VaR calculation, portfolio optimization, option pricing, and strategy stress testing—mastering this methodology that traveled from the casino to Wall Street.

Finance & Trading Monte CarloPortfolio OptimizationQuantitative FinanceVaROptions Pricing

LLM Prompting Techniques

A systematic overview of prompt engineering techniques for large language models: from basic paradigms like zero-shot and few-shot, to cutting-edge approaches including Chain-of-Thought (CoT), Self-Consistency, Tree of Thoughts (ToT), ReAct, and Retrieval Augmented Generation (RAG).

AI News Large Language ModelPrompt EngineeringChain of ThoughtRetrieval Augmented GenerationAI

Network Protocol [2] - TCP Congestion Control

A systematic overview of TCP congestion control algorithms: from classic Tahoe/Reno/NewReno to SACK and HSTCP, through BIC and CUBIC for high-performance networks, and a deep dive into delay-based approaches like Vegas and BBR, with comprehensive comparisons.

Tech Articles TCPCongestion ControlWindowNetwork ProtocolSliding Window

Network Protocol [1] - TCP Retransmission Mechanism

An in-depth analysis of TCP's retransmission mechanisms: from classic RTO estimation algorithms (Karn and Jacobson) to the Linux kernel's practical implementation, and optimization techniques like fast retransmit and selective acknowledgment (SACK).

Tech Articles TCPNetwork ProtocolRetransmissionRTORTT

Implementation of a regular expression engine

Starting from formal language theory, this article explores the complete implementation of a regular expression engine: finite automata (NFA/DFA), Thompson's construction algorithm, subset construction, and Hopcroft's minimization algorithm — building an efficient regex engine from scratch.

Tech Articles Regular ExpressionFinite AutomataNFADFACompiler

Linux Series [1] - The magic of awk

A comprehensive guide to awk — a programming language hidden in the command line. Covers its working principle, built-in variables, pattern matching, control flow, and string functions with practical examples for text processing and data analysis.

Tech Articles LinuxawkText ProcessingCommand LineAutomation