Zellij, Fish Shell, and the Illusion of "The First Terminal"

Zellij, Fish Shell, and the Illusion of "The First Terminal"

Abstract

Zellij is often praised as a modern terminal multiplexer with a clean architecture and strong defaults.
However, when users attempt to automate Zellij—especially when integrating it with Fish shell—they frequently encounter confusing behavior: unexpected session sharing, nested Zellij instances, or race conditions during startup.

This article documents a real-world investigation into these issues and explains why certain intuitive solutions fail, what Zellij actually guarantees, and which design principles lead to a stable setup.

The goal is not to propose clever hacks, but to align automation with Zellij’s actual model.

Read more
When ClickHouse CPU Explodes: A Practical Lesson in OLAP vs OLTP Design

When ClickHouse CPU Explodes: A Practical Lesson in OLAP vs OLTP Design

Abstract

ClickHouse is an extremely fast analytical database—but it is not a key-value store.
This article walks through a real-world performance incident where a seemingly harmless query (LIMIT 1) caused massive CPU usage, explains why it happened, and presents a systemic fix using proper data-responsibility separation between OLAP and OLTP systems.

If you are using ClickHouse for event tracking, affiliate analytics, or high-volume logging, this will save you from a painful production outage.

Read more
Best New Zealand Credit Cards for 2025

Best New Zealand Credit Cards for 2025

Choosing the right credit card in 2025 can help New Zealanders maximize rewards and benefits while minimizing fees and interest. This report reviews top NZ credit cards across multiple categories, including cashback, travel perks, low interest rates, and other benefits. We compare cards on key factors like rewards (cashback or points), travel benefits (lounge access, travel insurance), annual fees, interest rates, balance transfer offers, foreign transaction fees, and extra perks (purchase protection, extended warranty, concierge, digital wallet compatibility). All data is sourced from reputable NZ banks and financial sites, and all major cards discussed are compatible with digital wallets (Apple Pay, Google Pay, etc.) (Canstar Awards BNZ: NZ’s Best Credit Cards - Canstar).

Read more
How to Set the Python Version Using asdf and Poetry on macOS?

How to Set the Python Version Using asdf and Poetry on macOS?

In the world of Python development, managing different Python versions for various projects can be a daunting task. Fortunately, tools like asdf and Poetry make this process much more manageable. In this guide, we will walk you through the steps to set up and use asdf and Poetry to manage Python versions on macOS.

Read more
Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - Latest Version

Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - Latest Version

Why

Recently, I studied a lot of knowledge about the Ethereum ecosystem.
I can’t wait to create something by myself.
But I searched for a long time without finding a basic tutorial for me to explain how the front-end and chain-end interact.
Some tutorials are old. Other tutorials don’t match my tech stack.
I know scaffold-eth can help most fresh developers begin Ethereum development. However, scaffold-eth has too much magic for me. It hides some basic things. And I want to know the full details.
So I reckon I could write some articles from web2 developer to web3 beginner DApp developer in 2022. It’s a cool thing.

Read more
Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - 6 Deploying DApp to the world
Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - 5 Building front-end then using it to call smart contract
Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - 4 Deploying the smart contract to a local chain
Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - 3 Setting up the local chain

Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - 3 Setting up the local chain

Setting up the local chain for development

Usually, We have three choose to run a chain on localhost.

  1. HardHat - HardHat Network
  2. Truffle - ganahce
  3. Foundry - anvil

Generally, we should have chosen anvil. It’s a part of Foundry.
Unfortunately, there were a lot of transitions pending when I used it. From my point of view anvil just is the 0.1.0 version. It will be need more time to develop.
And I want to keep pure in chain end’s project(Not more javascript or npm install).
Finally, we used the ganahce to run chain on localhost.

The ganahce is very easy to install and setting up. It’s a GUI application.

Read more
Zero to One Full-Stack DApp Ethereum Development based on Foundry, NextJS, Typescript - 2 Setting up the project