
AI/ML eng | MSc Math & AI. Local LLMs on M5 Max 128GB: hybrid GGUF quants, long-context, Metal. Building agents & MCP tooling. Numbers over vibes.
Washington DC
Joined June 2026
- Tweets1.6K
- Following986
- Followers620
- Likes1.1K
Pinned Tweet
Verdict runs Jev-style decisions locally on your Mac.
One 16 GB Mac mini, ~45 ms per short check, the same Decisions API and 12 MCP tools your agents already call. Your diffs and prompts stay on your machine. No per-call bill.
verdict.pymodel.com
1
1
104
After along session with agent try : “ list all issues, bugs and all possible optimization chances you found “
10
Gemini app on Mac is a hidden gem.
Nobody's talking about it.
If you're on Google AI Pro or Ultra, it's already included, and its usage limits are separate from Gemini CLI and Antigravity.
So it's extra capacity at no extra cost.
gemini.google.com/app/downlo…
1
125
Zero data retention (ZDR) with Enterprise Frontier Safeguards (EFS) is now in public beta for eligible businesses. It looks for misuse across many requests while remaining compatible with ZDR.
We developed it with over 100 customers.
Read more: claude.com/resources/article…
Two reminders this week that you don't control what runs behind a hosted model endpoint.
@hdmoore at @DragosInc sent ~2M prompts seeded with canary keys and URLs to AI providers from July to November. Attackers were inside at least 3 providers, and some of the stolen requests were flagged ZDR. OpenRouter has since off-boarded 3 providers and pulled 125 endpoints from ZDR eligibility.
Separately, @PrimeIntellect says its DeepSeek V4.1 Flash endpoint served abliterated weights for about 53 hours (Nov 8 to 10). The chat template, tokenizer and capability scores didn't change. JailbreakBench refusals dropped from 98 of 100 to 1.
1
43
V4.1 Flash is the model I run on my own Mac. Sensitive work stays local, which is also first on Dragos's list of fixes.
For hosted calls: pick the upstream provider yourself, put a fake credential in your agent context and treat any use of it as an incident, and keep safety checks in your own code instead of relying on refusals.
dragos.com/blog/ai-supply-ch…
primeintellect.ai/security/a…
10
make your ci faster and truthful stop wasting time and effort github.com/PyModel/ci-optimi…
npx skills add pymodel/ci-optimiser
45
Typing a config as Record<string, Route> lets routes.hoem.path compile.
const routes: Record<string, Route> = {
home: { path: "/", auth: false },
billing: { path: "/billing", auth: true },
};
routes.hoem.path; // no error, throws at runtime
The annotation replaces the object's type with the Record, so TypeScript forgets which keys exist. satisfies, added in TS 4.9, checks the value against the type and keeps the inferred one:
const routes = {
home: { path: "/", auth: false },
billing: { path: "/billing", auth: true },
} satisfies Record<string, Route>;
routes.hoem.path; // TS2339: Property 'hoem' does not exist
You keep the check too. auth: "no" fails with TS2322.
Checked with tsc 7.0.2 under strict.
1
1
131
TypeScript 4.9 release notes, the satisfies operator: typescriptlang.org/docs/hand…
1
13
You switch from Alice's chat to Bob's, and Bob's input still holds the message you were typing to Alice.
<Chat contactId={id} />
React keeps a component's state as long as the same component renders at the same position in the tree. A new prop doesn't change that, so the draft in useState stays.
The common patch is a useEffect that clears the draft when contactId changes. react.dev calls that inefficient: it renders once with the stale value, then again. Give React a key:
<Chat key={id} contactId={id} />
A different key is a different component to React, so it drops the old state and mounts a fresh one.
Tested on React 19.3 in jsdom. Typed a draft for alice, switched to bob. Without key the screen read "bob: hey alice, about the invoice". With key it read "bob: (empty)".
2
2
155
react.dev, resetting all state when a prop changes: react.dev/learn/you-might-no…
1
8
Your eval split changed between two runs, and both called np.random.seed(0).
np.random.seed seeds one global RNG for the whole process. Any code that draws from np.random between your seed and your split shifts the stream. In my test, one np.random.rand() call from a stand-in "library" changed 2 of the first 5 indices.
Give the split its own generator:
def split(n, rng):
return rng.permutation(n)[:5]
idx = split(100, np.random.default_rng(0))
Same seed, same indices, whatever else touched np.random. NumPy's docs discourage the np.random functions because they run on a global RandomState, and tell you to create a Generator with default_rng instead.
Pass rng explicitly through loading and sampling code. Then the randomness each function uses is in its signature.
1
2
121
NumPy random, Generator and default_rng: numpy.org/doc/stable/referen…
Why the global functions are discouraged: numpy.org/doc/stable/referen…
1
10
You fan out 200 prompts with a TaskGroup and get a wall of 429s back.
A TaskGroup starts every task right away. asyncio has no built-in cap on how many requests are in flight, so you add one. A Semaphore is the smallest way:
sem = asyncio.Semaphore(8)
async def bounded(p):
async with sem:
return await call_llm(p)
async with asyncio.TaskGroup() as tg:
tasks = [tg.create_task(bounded(p)) for p in prompts]
results = [t.result() for t in tasks]
I counted in-flight calls with a fake 50 ms call_llm: 200 at peak without the semaphore, 8 with it. Results still come back in prompt order because you read them from tasks, not in completion order.
Pick the number from your provider's concurrency or rate limit, not from what feels fast.
1
23
asyncio.Semaphore: docs.python.org/3/library/as…
TaskGroup: docs.python.org/3/library/as…
6
Your Postgres job queue has 8 workers and they still take jobs one at a time.
SELECT id FROM jobs
WHERE status = 'queued'
ORDER BY id LIMIT 1
FOR UPDATE;
FOR UPDATE stops two workers from claiming the same row. Worker B doesn't skip A's row though. It blocks on the lock until A commits. Add SKIP LOCKED and B takes the next free row:
UPDATE jobs SET status = 'running'
WHERE id = (
SELECT id FROM jobs
WHERE status = 'queued'
ORDER BY id LIMIT 1
FOR UPDATE SKIP LOCKED
)
RETURNING id;
On PostgreSQL 19.0, with A holding its lock for 2 s: plain FOR UPDATE made B wait 1.5 s. With SKIP LOCKED, B got the next id in 27 ms. 4 workers making 25 claims each against 100 jobs got 100 distinct ids, no duplicates.
The docs warn that skipping locked rows gives an inconsistent view of the data. That's fine for a queue table and wrong for reports.
1
17
errors.Is(err, ErrNotFound) returns false, and the message plainly says "not found".
Someone wrapped it with %v:
return fmt.Errorf("load %s: %v", id, ErrNotFound)
%v turns the error into text. The message survives but the chain is gone, so errors.Is and errors.As have nothing to walk. Use %w:
return fmt.Errorf("load %s: %w", id, ErrNotFound)
Since Go 1.20 you can use %w more than once in a single Errorf, and errors.Is matches each wrapped error. One catch: errors.Unwrap returns nil on that error. It only calls Unwrap() error, and a multi-wrap error has Unwrap() []error.
Checked on go1.27.3: %v gave false, %w gave true, two %w gave true for both, errors.Unwrap gave nil.
42


