JavaScript musician????? Building an open-source web-based rhythm game @bemusegame (please try it thx!). Amateur music composer (a.k.a. flicknote). Christian.
Race conditions are often not given the attention they deserve. @dtinth joined us from Bangkok for the 2nd time to share another insightful talk on coding practices, this time on managing these race conditions. https://t.co/kOYhneTan4
@mattpocockuk As the main review surface would be on GitHub (e.g. https://t.co/QnqBKD9pVY), adding burn-in subtitles would be useful.
An idea is expand from 16:9 to 16:10 with a subtitle bar at the bottom.
Not sure if a 4:3 aspect would be easier to watch on mobile.
@GergelyOrosz I use, but not the coding models.
I sometimes use MAI-Transcribe for ASR, which is among one of the best (at least when it comes to my English with Thai accent).
@cooperx86 From my testing, a 10-note chord takes ~11ms to prepare all the hammer strikes.
It is well within my latency tolerance, but my MacBook gets considerably warmer while playing 😅
@cooperx86 My agent also found that precalculation takes 15 seconds, so it delegated hammer contact simulation to a pool of Web Workers which runs on-demand.
So, the audio thread stays responsive, at the expense of a slightly (few ms) delayed note sometimes.
https://t.co/zc6tj5wnLp
@lydiahallie Would love it if Claude is automatically given chance to save things to memory before compacting.
I built a "polite-compaction" mod that asks agent to flush to memory at 300k, then /compact. This reduced my usage by 57% with no noticable perf drop despite a lot of compaction.
@mattpocockuk Loved the retro skill! I set up my cloud agents to automatically do a retro when its PR is merged and leave a comment on the PR before session ends.
Then I do a separate sweep to grep PR comments for "Agent session retro" to address the popular complaints.
@eatpraydiehard@lydiahallie Put the setup script in a shell script, inside a branch. Claude can spawn cloud sessions for you, so you can have it autonomously iterate on that branch.
@mattpocockuk@dexhorthy@dctanner Have agents generate PDF slides pitching its own PR. Asked it to include "annotated screenshots" and diagrams as applicable. (It has tools to upload PDFs and get a sharable link.)
(I asked Gemini to generate an English version of the Thai slides.)
@GergelyOrosz Still doing but mostly skimming now, not running them live locally.
- I have my agents produce PDF slides "pitching" the PR with annotated screenshots before/after+diagrams.
- Complexity caps keep code skimmable and bad design choices stand out more.
@mattpocockuk I set max cyclomatic complexity to 8 and set up Git hook to gate on this linter.
Did this after listening to @kentcdodds's podcast episode with @unclebobmartin. (His threshold is 4 for humans, 6 for AI agents.)
Reviews are easier and questionable design becomes more obvious.
@jasonfried This is quite common in Thailand for free events.
・ We return the deposit in cash too.
・ Some attendees forfeit the deposit (as donation to fund future events).
・ By keeping account we can determine the exact no-show rate.
・ We had to absorb card fees but it’s planned.
whenever i post about voice prompting people always say it's too much work to speak properly so the agent understands
i don't think you get it, you don't have to speak properly at all
@ferrants@mattpocockuk Also curious where you heard it from.
IIUC, language requests should affect a model's response, not its internal thought process.
Example: When I talk to Claude in Thai, it always think in English before responding in Thai.
@ferrants@mattpocockuk I heard the opposite - in this case the ASD-STE100 rule caused Opus to notice a bug while trying to articulate something in simplified English
https://t.co/LwSGqF0Wba
adopted ASD-STE100 in my project upon a coworker’s recommendation.
Asking Opus 5 to write comments/commit messages etc in plain English has more benefits than just helping with readability.
It discovers bugs. Critical bugs.😱
I was absolutely gobsmacked after seeing this. Wtf!
you now have the ability to
- play with every possible solution to a problem
- refactor everything when you think of better patterns
so many people complaining about the code the LLMs produce, if you're not producing the best software of your life right now something is wrong