Eno (@Phantomstone2) header
Eno (@Phantomstone2) profile picture

I build things & share what I learn. AI · Cloud · Systems Engineering Helping people around the world learn Chinese 🇨🇳 Life with my cat 🐈

Joined June 2018
Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)Photo by Eno (@Phantomstone2)
I'm Eno. I like building things, figuring out how they work, and sharing what I learn along the way. Around here, you'll find: • Real engineering experiments — including the ones that don't go as planned. • Behind-the-scenes stories from building my own products, including saiyia.com and vrent.sshipanoo.com. • AI, cloud infrastructure, virtualization, and the occasional deep dive into how things actually work. • Little moments from everyday life, usually involving my cat. 🐈 I don't have everything figured out, but that's part of the fun. If you're building something too, I'd love to hear what you're working on.
31
7
137
3,091
Dev note of the day 🛠️ name tools as verbs with a clear object, like `search_issues` or `create_invoice`, not `issues` or `helper`. The model picks tools by name more than by description.
3
Good morning, America! 🇺🇸 Let's connect and swap notes 🗒️ If these are your topics: • AI agents & MCP • Python • Software engineering • Open source • Developer tools • Tech careers I'm a software engineer who builds AI apps and spends a lot of time on the cloud side of things. What are you building or learning right now? #LetsConnect #DevCommunity #AI
1
1
35
Something worth knowing if you build with LLMs: `list.append` in a loop is fine, but `''.join(parts)` beats `s += x` for building strings. String concatenation in a loop reallocates every time; join collects once.
29
Quick tip for anyone building with AI: keep a small "final answer" tool separate from chat text. It forces the model to stop calling tools and commit, which trims runaway loops.
1
1
50
Builders, a quick one for you: version your tool names or schemas when behavior changes. A silent schema edit makes old agent prompts call tools with fields that no longer exist.
1
2
76
Eno's Chinese class, today's topic: 越…越… = "the more…the more…" and both halves move together (越想越生气, the more I think the angrier I get). 越 alone can also mean "increasingly."
1
4
71
Dev note of the day 🛠️ `logging.exception` inside an `except` block captures the traceback for free. Bare `print(e)` loses the stack and the cause chain, which is what you need at 2 a.m.
1
3
138
Today's engineering tip 💡 cap tool output by token budget, not character count. Truncating at 4k chars cuts differently in Chinese and English, so budget tokens and mark where you cut.
4
4
163
Good morning, builders! ☀️ Tech people of X, let's connect! 💡 Especially if you enjoy: • AI & Python • Coding challenges • Cloud computing • Open source • Building in public • Indie hacking I share what I build and learn, and I'm always looking for new perspectives. What are you building or learning right now? #TechCommunity #LetsConnect
15
13
383
Something worth knowing if you build with LLMs: `dict.get(k, [])` creates a fresh list each call, but `defaultdict(list)` creates one lazily per key. For grouping, `defaultdict` reads cleaner and avoids `setdefault` noise.
3
2
190
Eno's Chinese mini class is back 📚 难道 marks a rhetorical question, "could it really be that…?" It expects the listener to agree (难道你不知道吗, don't you actually know?). 到底 asks; 难道 challenges.
1
109
Eno's dev notes 📝 bound every loop with an explicit budget, steps or tokens, and a graceful exit message. Without a ceiling, one bad tool response can spin until the context window dies.
3
6
201
Builders, a quick one for you: dedupe at ingest, not at query time. Near-identical pages inflate the index and crowd out real results; hash normalized text and drop repeats before embedding.
1
1
77
Dev note of the day 🛠️ assert on tool-call sequences, not just final text. For agents, record which tools fired and in what order, then check the plan held, e.g. search before write, no duplicate calls.
4
6
248
Time for Eno's tiny Chinese lesson ✍️ 明明 = "clearly, obviously," used to point out a fact that clashes with the situation (明明是他错了, he's clearly the one who's wrong). It often pairs with 却 or 为什么 to voice complaint.
2
80
Something worth knowing if you build with LLMs: Prompt design: ask for reasoning only where it changes the answer. "Think step by step" on a simple extraction task adds tokens and can invite invented steps; skip it for lookups, keep it for math and multi-hop.
7
7
253
Today's engineering tip 💡 cap tool output size before it reaches the model, not after. Truncate in the server with a clear marker like "[truncated, 4 more results]" so the agent knows it's seeing a partial view and can ask for more.
2
2
115
Quick Chinese lesson before you scroll on 👀 幸亏 vs 好在. 幸亏 = "luckily," thanking a lucky break that saved you (幸亏你提醒我, lucky you reminded me). 好在 = "fortunately," softer, noting a redeeming fact (好在还来得及, fortunately there's still time).
1
37
Quick tip for anyone building with AI: `dataclasses.asdict` is a deep copy and slow on hot paths. For serialization, write a small `to_dict()` or use `attrs` with `asdict(recurse=False)` when nested fields don't change.
3
1
6
265
Good evening, X! 🌙 Let's connect and build together 🧱 I'm into: • AI & machine learning • Software engineering • Cloud & DevOps • Developer productivity • Startups If that sounds like you, say hello. I'd love to hear your story. What's your favorite part of building? #LetsConnect #BuildInPublic
19
14
366