Chay Choong's Avatar

Chay Choong

@chay.dev

Platform Engineer. Working at bifrost.ai

32
Followers
50
Following
19
Posts
16.11.2024
Joined
Posts Following

Latest posts by Chay Choong @chay.dev

Preview
pi_ex Elixir client for the Pi coding agent RPC protocol.

I just published hex.pm/packages/pi_ex, an #ElixirLang library for interacting with pi.dev agents (the thing that powers #OpenClaw).

I included some example apps to demonstrate how it can be used. Try it out!

28.02.2026 12:21 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
No more excuses to not go one level deeper My favourite thing about LLMs

Another one of my favourite things about AI: the barrier to diving in and understanding problems one level deeper, is lower than ever.

blog.chay.dev/no-more-excu...

29.01.2026 14:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
The brown M&Ms trick One simple trick to figure out if your LLM is on the verge of misbehaving

First blog post of the year: a fun trick to check if Claude is paying attention

blog.chay.dev/the-brown-mm...

17.01.2026 01:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Hong Kong’s Famous Bamboo Scaffolding Hangs On (for Now)

And also this article from nytimes: www.nytimes.com/2025/05/24/w...

30.11.2025 03:35 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Why Hong Kong uses bamboo scaffolding: visual explainer An ancient practice, suitable only for people with nerves of steel, remains alive and well in a modern city full of skyscrapers.

The recent news reminded me of this amazing interactive article from 2022: multimedia.scmp.com/infographics...

30.11.2025 03:34 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I tried Kagi for a year, went back to Google for a few months to make sure I wasn't hallucinating the improvements, and now I'm back. Kagi is great!

10.07.2025 14:51 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Send me an invite please! πŸ₯Ή

09.07.2025 00:22 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Apparently ThePrimeagen will be writing an app in Elixir (live on Twitch), then inviting @josevalim.bsky.social to the broadcast to rewrite it together. That seems like a pretty dope approach for learning a language. And sharing the gospel of #elixir of course.

04.07.2025 01:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Comment by Workaccount2, 9 hours ago:

They poison their own context. Maybe you can call it context rot, where as context grows and especially if it grows with lots of distractions and dead ends, the output quality falls off rapidly. Even with good context the rot will start to become apparent around 100k tokens (with Gemini 2.5).

They really need to figure out a way to delete or "forget" prior context, so the user or even the model can go back and prune poisonous tokens.

Right now I work around it by regularly making summaries of instances, and then spinning up a new instance with fresh context and feed in the summary of the previous instance.

Comment by Workaccount2, 9 hours ago: They poison their own context. Maybe you can call it context rot, where as context grows and especially if it grows with lots of distractions and dead ends, the output quality falls off rapidly. Even with good context the rot will start to become apparent around 100k tokens (with Gemini 2.5). They really need to figure out a way to delete or "forget" prior context, so the user or even the model can go back and prune poisonous tokens. Right now I work around it by regularly making summaries of instances, and then spinning up a new instance with fresh context and feed in the summary of the previous instance.

Workaccount2 on Hacker News just coined the term "context rot" to describe the thing where the quality of an LLM conversation drops as the context fills up with accumulated distractions and dead ends news.ycombinator.com/item?id=4430...

18.06.2025 23:22 πŸ‘ 237 πŸ” 29 πŸ’¬ 18 πŸ“Œ 8
Preview
Your Phoenix application, directly on your Tailnet Your Phoenix application, directly on your Tailnet - 2025_06_08_libtailscale_elixir.md

Philip Munksgaard created an Elixir wrapper for libtailscale, so it's now possible to run a Phoenix application that is automatically connected to your tailnet.

Amazing work.

gist.github.com/Munksgaard/9...

#elixir #tailscale

10.06.2025 01:10 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I use the "Chat with Copilot" button (at the top right corner of any Github repo) pretty often, to quickly understand how a codebase works. Where the entrypoints are, how certain functions are used, what core libraries it depends on etc.

27.05.2025 02:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
TIL: Bash caches the paths of commands .. to speed things up. Obviously.

This TIL gave me the motivation to create a TIL blog finally

30.04.2025 06:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Tidewave

Introducing Tidewave: tidewave.ai

While working on our web apps, we run code, query the database, read logs, search docs… but our AI tools are limited to reading code.

Tidewave closes this gap by introducing Runtime Intelligence, for Phoenix and Rails. More coming soon, check out the website!

29.04.2025 20:20 πŸ‘ 178 πŸ” 60 πŸ’¬ 5 πŸ“Œ 2

+1. This is the painful side of the dual edged sword of Phoenix's usage of codegen rather than an abstraction layer. If the new things are part of the generated code, you are expected to maintain them, so you gotta apply the patches manually.

I hope I'm wrong. Does anyone know a better approach?

19.04.2025 16:56 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Is it open source? πŸ˜‡

13.04.2025 03:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Excerpt from the rules: Canadian residents must correctly answer a mathematical skill-testing question to win.

Hmm

10.04.2025 11:10 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

πŸŽ‰We're celebrating 5 years of Tailscale! Read on for key lessons learned from half a decade of simplifying secure networking + enter to win one of five lifetime Personal Plus plans! Repost to win
πŸ‘‰ Read more tailscale.com/blog/5-thing...
πŸ—’οΈ Full rules here - tailscale.com/blog/5-thing...

03.04.2025 13:10 πŸ‘ 85 πŸ” 67 πŸ’¬ 126 πŸ“Œ 48
Preview
lv_session_example.exs GitHub Gist: instantly share code, notes, and snippets.

I finally found the 2025 way of interacting with cookies from a LiveView. Much thanks to @steffend.me!

Pretty elegant, hope it gets merged into LiveView soon.

gist.github.com/SteffenDE/38...

#Elixir

07.04.2025 13:58 πŸ‘ 15 πŸ” 5 πŸ’¬ 1 πŸ“Œ 0

The link goes to a "this video is unavailable" page!

01.04.2025 00:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Thanks for the shoutout! What's the software you use at the 1:44 mark? I'll fix the bad paths asap!

26.01.2025 07:48 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
I made a font A quick look into the process of creating a font.

I'm excited to share that I created a font!

It is monospaced, and designed to be used in code editors and terminals. Fellow programmers, do try it out and give me some feedback!

More details here: blog.chay.dev/i-made-a-font

#programming #typography

20.01.2025 05:39 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
localdev.me Hosts files love this one simple trick!

First post (skeet?) here!

I was looking through the ingress-nginx documentation when this magic URL localdev(dot)me caught my eye.

Wrote a short blog post about it here:
blog.chay.dev/localdevme/

#dev #webdev

13.12.2024 14:21 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0