Aliii (@drunk_vibecoder) profile picture

Building AI products in public. Real bugs, failed experiments, fixes & code. Building https://nitter.cf/t.co/Jjr6vvN6OA and Tokenproof. Senior Software Engineer @atlanhq.

Joined April 2014
Open Mercy is on iPhone. Draw cards stack to +10. Hold 25 cards and you're out. A 7 swaps hands; a 0 passes everyone's hand along. Play a bot, join a public table, or make a private room for up to 20 friends. Free, no ads, and you can start as a guest. I'm building this in public. Version 0.1.1 is live—if you try a round, tell me the first thing that feels confusing. apps.apple.com/app/open-merc…
1
1,205
A sort button can break Undo if the saved list points to the same array. I checked in Node: after `const saved = items`, sorting `items` turned both lists from [3,1,2] into [1,2,3]. `toSorted()` gives you a sorted copy and keeps the saved order.
7
Aliii retweeted
Emil Kowalski (prev @linear) on why your UI feels cheap
7
35
1
1,203
63,775
In an Open Mercy playtest, the rules were tucked under the gear menu. We added a help button to the bot-game table. It opens the rules over the game, so a new player can check them mid-turn.
4
The Back button can show a green build badge after your latest run failed. Test it on a CI dashboard. Follow a link, fail a build in a second tab, then go Back in the first. In `pageshow`, refetch the latest run status when `event.persisted` is true.
21
A customer with no orders can show up with 1 order in a report. I ran a LEFT JOIN in SQLite. COUNT(*) returned 1 because the join kept the customer row with NULL order fields. Counting the non-NULL order IDs returned 0. Keep a zero-order customer in your test data.
1
59
the sdk-ts quota story has a second lesson: the environment your agent runs in is part of your bill. a label the SDK sets for you decided 1.8x faster burn on the same tokens. audit the env like you audit the prompt: print it, diff it, question every variable you didn't write.
27
In an Open Mercy playtest, the draw stack showed a number and left the player guessing what to tap. Now the bot game spells out the choice. With 21 cards, a +4 stack and a legal draw card, it says “STACK A DRAW CARD OR YOU’RE OUT.”
52
Open Mercy used to show “0 / 250 to Scrapper” before you'd played a single game. On desktop that rank card took up a whole column. We hid it for profiles with zero games and moved Play a Game under the player’s name.
1
1
116
A blank quantity field can pass a numeric check as zero. I checked in Node: Number('') // 0 Number.isFinite(Number('')) // true Trim the input and check for an empty string before parsing. That keeps a blank field distinct from someone typing 0.
21
If you save drafts in a JavaScript Map, refreshing can wipe the whole list. I checked in Node: JSON.stringify(new Map([["draft-42", "in progress"]])) returns "{}". Save JSON.stringify([...drafts]) instead. Load it with new Map(JSON.parse(saved)).
35
Same Settings button, two Vite builds. The first JS file went from 58.2 KiB gzipped to 1.1 KiB when I moved the import into the click handler. Total emitted JS actually grew by 1.3 KiB. If CI only checks the build total, that change looks worse.
13
the worst safeguard failure isn't the refusal, it's the silent downgrade. opus 5.5 trips a cyber guard on a node version question, the session drops to 4.8, and you find out from the quality of the next diff, not from any notice. a guard that swaps your model mid-task should leave a line in the transcript.
24
100 followers, starting with 3 digits now.
7
7
128
A quiet network log from a viewer session tells you nothing about the admin page you never opened. Overfetch now lists which routes the capture exercised and which it only found in code. If the admin page is on the second list, rerun the audit with that role.
1
22
An Overfetch test dialog never opened. The click handler read data-agent-id from the row. No row set it. We added the ID to the rows so the click could identify what to open. My profile has another Overfetch example on refetches.
44
A settings form can warn “unsaved changes” when you changed nothing. JSON.stringify({min: 0, max: 10}) JSON.stringify({max: 10, min: 0}) I ran both in Node. Same values, different strings. For a form with known fields, compare those fields before blocking navigation.
31
Everything starts small; you just need to get out and show it to the world. Try now: open-mercy.com
26
One of the best investments you can make to improve your agentic workflow, if you are pushing 100+ PRs a day. Create a good, context-aware review skill for your repo and make it compulsory for the agents to use it for self-review and to do peer reviews using that skill. This is a game changer. I can't stress this enough how much of headache it saves me everyday.
14
a day of watching people debug their agents, and none of the bugs were the model's: 72 shell errors per 1,000 commands on zsh (7 on bash). /rewind blind to anything bash changed. a .env deny list that python -c walks around. 18 parallel sessions, cpu at 20%, disk at 100%. same model in every story. the harness is what failed. the agent strategy is boring infrastructure
54