Epona's Tech & Life

Latest Posts

1 min read
2025 年终总结:关于选择和放手

2025 年在日本买房、切换技术栈、升职到 Engineering Manager、调整写作节奏。这一年做了很多选择,每个选择都意味着放弃某些东西。这是我的年终总结和对 2026 年的思考。

1 min read
一个开发者即将成为 Manager 的碎碎念

"下半年要不要试试做 Manager?" CTO 午饭后的一句话,开启了我新的职业篇章。上次做 Team Leader 被批评过,这次我能做得更好吗?这篇文章记录了转变前夕的准备、担忧和期待。

1 min read
欲速则不达

在重构一个从 Phoenix 迁移到 Rails 的项目时,我发现——很多混乱的代码并非写得不好,而是想得不够。与其边写边改,不如在动手前多想一步。正如《JOJO》的那句名言:绕远路,才是最短的捷径。

8 min read
Automating Your AI Coding Workflow with Claude Code Hooks

Discover how Claude Code Hooks can automate your development workflow with precision triggers. Learn to use PostToolUse, PreToolUse, and other hook types to automatically format code, run linting, and streamline your AI coding experience. A beginner-friendly guide with practical Elixir examples.

2 min read
Using hotwire-combobox with prefixed_ids

Customizing Hotwire Combobox with Prefixed IDs: A practical guide to integrating prefixed_ids gem with Hotwire Combobox in Rails, showing how to return custom ID formats instead of raw database IDs. Perfect for developers looking to enhance their form components with more user-friendly identifiers.

1 min read
京都游记

漫步京都三日,寻访游戏王国的起源。在任天堂博物馆重温童年记忆, 从百年前扑克牌到如今的游戏帝国;徜徉宇治川畔,品味抹茶老街的悠闲时光; 漫步清水寺,感受古都气息。 一场与游戏、美食、人文交织的京都之旅,带你看见不一样的关西风情。

2 min read
Passing block arguments in Ruby

Elegant Code Block Passing in Ruby: A deep dive into the & operator, from Symbol's to_proc to method objects. Learn how to transform verbose block syntax into concise, readable code through practical examples.

2 min read
Rails 8 released

Rails 8 Arrives: Game-changing deployment with Kamal 2 + Thruster, database-backed Solid suite replacing Redis dependencies, and streamlined asset handling with Propshaft. Discover the major updates reshaping the Rails ecosystem for simpler, more efficient web development.