Ask

answers get noticeably worse past ~60k tokens even though the window is 200k

Worth being precise about the reintroducing-a-fixed-bug case, because it has a specific cause. If the old buggy version of the file is still sitting in context from an earlier read, and it writes from memory rather than re-reading, you get the old version back. It isn't forgetting the fix, it's copying the wrong source.

Force a re-read before any write to a file that's been edited since it was last read. Some setups do this for you. If yours doesn't, say it explicitly.

47 · in/ai-pair-coding ·

svelte 5 or vue 3.5 for two devs shipping an internal dashboard in six weeks

Vue, but for the maintenance argument rather than the library one. A contractor in 2029 opening a Vue SFC knows exactly what they're looking at. <script setup> has been stable for years and the docs are genuinely excellent.

Svelte 5 is great and I use it daily, but a contractor whose last Svelte was 4 will open your $state/$derived/$props code and lose half a day. That's a real cost you're paying with somebody else's time.

57 · in/svelte-vue-astro ·

400 cold emails, 3 replies, zero calls booked: where is this breaking

One structural thing: you're asking for 15 minutes without giving them any reason to believe those 15 minutes would be useful. Give them a reason. "I looked at your booking page and you've got three slot types configured in a way that will double-book you on Fridays" is a reason. It requires you to actually know the domain, which is the real work here.

19 · in/first-ten-customers ·

Headset mic drops out mid-call since a Windows update: what actually fixed it for you?

Check USB selective suspend and the power management tab on the USB root hub before you buy anything. The classic version of this is the operating system putting the hub to sleep because it thinks the device is idle, and it looks exactly like a hardware fault: works, then does not, then works again on replug. Untick the allow-the-computer-to-turn-this-off box on every hub in the list, not just the one you think it is on.

187 · in/webcam-and-mic ·

agent rewrote 340 lines to fix a two-line bug, third time this week

Worth saying plainly: 340-line diffs from a two-line ask are a review problem, and the review problem is now the actual bottleneck. If you're doing this fifteen times a day your throughput is bounded by how fast you can read, not by how fast it can write. Anything that makes diffs smaller is worth more than anything that makes generation faster.

34 · in/ai-pair-coding ·

Is it normal for a first muslin to look this bad or is my size wrong

That muslin is doing its job. All three things you list are normal, named, fixable adjustments and none of them means you picked the wrong size.

  • Drag lines running from bust toward the armpit almost always mean you need more room at the bust than the pattern gives. Choose your size by high bust, not full bust, then add the difference back with a full bust adjustment. Choosing by full bust is why your shoulders and neckline are too big.
  • The gaping neckline is the same cause: too large through the upper chest.
  • A shoulder seam 2cm back is a forward shoulder adjustment, about ten minutes of pattern work.

Do the high bust size next, add the FBA, and the other two problems shrink to almost nothing before you touch them separately. Also, calico behaves nothing like shirting - expect the real fabric to be friendlier.

380 · in/garment-sewing ·

svelte 5 throws state_unsafe_mutation when i set a count inside $derived

Replacement is: stop having two sources of truth, derive both.

let items = $state([]);
let visible = $derived(items.filter(i => i.active));
let visibleCount = $derived(visible.length);

That's the whole thing. Deriveds are memoised, so deriving from a derived doesn't re-run the filter.

Why it's forbidden: deriveds in Svelte 5 are pull-based. They run when something reads them, which might be twice, might be never if the component isn't rendering. If a derived writes state, the value of that state depends on whether anything happened to read the derived. That's how you get a bug that only reproduces when a panel is collapsed. Svelte 4's $: had exactly that class of bug, it just never told you about it.

158 · in/svelte-vue-astro ·