Elie Baier

Elie Baier

CS Student @ EPFL, Entrepreneur

Badges

Tastemaker
Tastemaker
Gone streaking
Gone streaking

Maker History

  • Swingback
    SwingbackTurn user feedback into GitHub and Linear issues
    Nov 2026
  • 🎉
    Joined Product HuntNovember 18th, 2026

Forums

🤖 How do I build Swingback alone with AI agents?

I started Swingback about 2 months ago, and most of the code is written with AI agents (mostly Claude Code). But it only works because of 3 things:

  1. A plan before any code. Every part of the product is written down first and split in phases, and the agent stops at the end of each phase so I can review it.

  2. One file of rules the agent reads before it starts. For example: every query has to filter by workspace, and internal notes must never reach your users.

  3. Tests that check those rules. One test goes through everything your users' portal can show and fails if an internal note appears. Another one fails if the AI features can ever send an email or touch GitHub. So even if the agent forgets a rule, the tests catch it.

🤯 How do I ship 5 SDKs on my own?

How do I ship 5 SDKs on my own?

⚙️ Why did Postgres get 100x slower on the 6th run?

Why did Postgres get 100x slower on the 6th run?
This one took me a while to figure out. After a load test on staging (10,000 workspaces), one query stood out: the trending list took 155 ms a page instead of 1.3 ms, and it was using 60% of the database's time.
Here is what was happening:

  1. The driver I use (pgx) prepares every query, and PostgreSQL plans a prepared query with its real values for the first 5 runs.

  2. On the 6th run, it can switch to a "generic" plan, made without the values, if that plan doesn't look more expensive.

  3. My lists have optional filters (board, status, tags...). Without the values, Postgres expected to find a single post, so it went through every post of the workspace and sorted them all.

The fix was one setting: plan_cache_mode = force_custom_plan. Every query is now planned with its real values, and it costs a fraction of a millisecond.
Have you ever been bitten by this one?

View more