Xiao
banner
xiaom.io
Xiao
@xiaom.io
Data & Infra

github.com/xiaom
Finally optimized my zshrc with Claude Code after years of procrastination😅 Reduced startup time from 1.2s to 0.1s!

The trick is lazy loading.

Instead of:

```sh
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
```
August 17, 2025 at 4:44 AM
The kube-rs testing docs are great! Packed with details you can borrow for k8s related projects.

kube.rs/controllers/...
Testing - kube
kube.rs
August 9, 2025 at 2:03 AM
spent a full day troubleshooting rust CI 🫠

Lesson Learned

- always use `--locked` flag to get reproducible build [1]
- leaky tests [2] could happen with testcontainers. use RAII pattern to exit
- LLM is good at adding debugging logs with emoji 😜
July 31, 2025 at 9:15 PM
Yet another day being impressed by datafusion's extension design :)

> Extensions can be used to attach extra data to the session config – e.g. tracing information or caches. Extensions are opaque and the types are unknown to DataFusion itself, which makes them extremely flexible.
SessionConfig in datafusion::execution::context - Rust
Configuration options for `SessionContext`.
docs.rs
June 12, 2025 at 8:05 PM
Great DuckLake demo using Marimo notebook. Having the metadata layer as a standard SQL database is a quality of life improvement❤️

www.youtube.com/watch?v=x6Yt...
Giving DuckLake a first spin
YouTube video by marimo
www.youtube.com
May 29, 2025 at 5:39 PM
Learning Rust in 2025: 🦀 Rustlings + Zed😎
Ask all silly questions in Zed Assistant Panel🤖
Next: customize prompt based on personal background.
April 16, 2025 at 4:37 PM
TIL, many data systems support wasm UDF. Server side wasm is very interesting. dylibso.com/blog/wasm-udf/
How WebAssembly is Eating the Database, One UDF At a Time
User-Defined Functions: powered by WebAssembly
dylibso.com
April 13, 2025 at 2:10 PM
Just read OpenAI's Dec 11 outage postmortem [1] -- perfect example of k8s control plane metastability:) Great pairing with Marc Brooker's reinvent talk [2].

[1] status.openai.com/incidents/ct...
[2] www.youtube.com/watch?v=rvHd...
December 18, 2024 at 4:12 AM
Exciting roadmap item from Fluss:

> Fluss will support the Kafka network protocol to enable users to use Fluss as a drop-in replacement for Kafka.

Long lives Kafka!

alibaba.github.io/fluss-docs/r...
Fluss Roadmap | Fluss
This roadmap means to provide users and contributors with a high-level summary of ongoing efforts in the Fluss community.
alibaba.github.io
November 29, 2024 at 6:04 PM
Hello 🦋
November 8, 2024 at 5:11 PM