Avatar 😃

Shane's Personal Blog

Gain wisdom at dawn; die with no regret at dusk. 朝闻道,夕死可矣

  1. About Me
  2. Home
  3. Search
  4. Archives
  5. Think Different
    1. Dark Mode

Archives

2025 35
2024 5

Categories

Python Concurrency Philosophy Web Development Personal Development Psychology JavaScript Machine Learning Personal Growth Artificial Intelligence

Tags

Asyncio Concurrency Python Confucius Debugging FastAPI JavaScript Relationships Ancient Wisdom Chinese Philosophy
Featured image of post When Python's Top-to-Bottom Execution Bites Back: A Deep Dive into Forward Reference Mysteries
Python Debugging Software Development

When Python's Top-to-Bottom Execution Bites Back: A Deep Dive into Forward Reference Mysteries

How I spent hours debugging a seemingly simple Python error, only to discover it all came down to the order I defined my classes. A tale of forward references, runtime type inspection, and why sometimes the simplest fixes are the hardest to find.

Jun 04, 2025
9 minute read
简体中文
Featured image of post Why AI Can't Write the Story That Change Us
Technology Philosophy

Why AI Can't Write the Story That Change Us

As knowledge becomes free and infinite, we'll hunger even more for stories only humans can tell—stories written in suffering, joy, and the messy truth of being alive.

Jun 04, 2025
5 minute read
Featured image of post Teaching AI to Clarify: Handling Assumptions and Ambiguity in Language Models
AI Language Models Research

Teaching AI to Clarify: Handling Assumptions and Ambiguity in Language Models

A deep dive into recent research on teaching large language models to identify hidden assumptions, ask clarifying questions, and improve critical thinking.

May 28, 2025
26 minute read
简体中文
Featured image of post Unified RAM and the Future of AI: Why NVIDIA DGX Spark Matters
AI Hardware Future Computing

Unified RAM and the Future of AI: Why NVIDIA DGX Spark Matters

Exploring how NVIDIA's DGX Spark highlights the crucial shift toward unified RAM systems, and why large AI models depend heavily on memory.

May 17, 2025
4 minute read
简体中文
Featured image of post Exploring AGI and the integration of System 1 and System 2: JEPA, Transformers, and Dynamic Memory
Artificial Intelligence Machine Learning Cognitive Science

Exploring AGI and the integration of System 1 and System 2: JEPA, Transformers, and Dynamic Memory

An in-depth exploration inspired by Yann LeCun and Bill Dally's GTC 2025 discussion, detailing my thinking process on integrating JEPA with transformer models and developing dynamic learning and memory management in AGI.

May 05, 2025
4 minute read
简体中文
Featured image of post The Machiavellian Paradox: Why Incompetence Often Trumps Intelligence in Power Games
Psychology Leadership Philosophy

The Machiavellian Paradox: Why Incompetence Often Trumps Intelligence in Power Games

Exploring why the least qualified often rise to power and how to navigate this paradox in your personal and professional life using insights from both Machiavellian philosophy and modern psychology

May 03, 2025
15 minute read
简体中文
Featured image of post Why JEPA Might Just Be the Missing 'System 2' in AI
Artificial Intelligence Psychology Technology

Why JEPA Might Just Be the Missing 'System 2' in AI

A casual yet insightful exploration into JEPA, system 1 vs. system 2 thinking, and how AI might finally learn to stop hallucinating.

May 03, 2025
4 minute read
简体中文
Featured image of post Understanding Graph-Based AI Agents: From Concept to Code
AI Development Agent Architecture Python

Understanding Graph-Based AI Agents: From Concept to Code

How graph-based approaches make AI agent workflows more manageable, resumable, and understandable - explained with kitchen analogies and practical PydanticAI examples

Apr 27, 2025
9 minute read
简体中文
Featured image of post Wait, Even SELECT Starts a Transaction?—A Curious Tour of DB Locks, MVCC, and SQLAlchemy's 'Magic' Sessions
Databases Python FastAPI

Wait, Even SELECT Starts a Transaction?—A Curious Tour of DB Locks, MVCC, and SQLAlchemy's 'Magic' Sessions

A step‑by‑step journey from 'I have no idea what a transaction really does' to 'I can reason about row‑level locks and auto‑begin like a pro,' using simple code, real‑life analogies, and plenty of aha‑moments.

Apr 21, 2025
4 minute read
简体中文
Featured image of post Async SQLAlchemy Journey: From Confusion to Clarity
Python FastAPI SQLAlchemy

Async SQLAlchemy Journey: From Confusion to Clarity

Exploring the pitfalls and revelations of migrating from synchronous to async SQLAlchemy with FastAPI

Apr 12, 2025
8 minute read
简体中文
1 2 … 4
© 2022 - 2025 Shane Zhang (张欣耕)