HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jncraton

no profile record

Submissions

How dangerous is Mythos, Anthropic's new AI model?

economist.com
3 points·by jncraton·قبل 3 أشهر·0 comments

comments

jncraton
·قبل 5 أشهر·discuss
You are right that the concept of "safe" is nebulous, but the goal here is specifically to be XSS-safe [1]. Elements or properties that could allow scripts to execute are removed. This functionality lives in the user agent and prevents adding unsafe elements to the DOM itself, so it should be easier to get correct than a string-to-string sanitizer. The logic of "is the element currently being added to the DOM a <script>" is fundamentally easier to get right than "does this HTML string include a script tag".

[1] https://developer.mozilla.org/en-US/docs/Web/API/Element/set...
jncraton
·قبل 5 أشهر·discuss
2 and 3 bit is where quality typically starts to really drop off. MXFP4 or another 4-bit quantization is often the sweet spot.
jncraton
·قبل 6 أشهر·discuss
That's great. Here's "me" implementing a JS version of that library in one shot using Github Copilot and a 1 sentence prompt:

> Implement when.js as a simple, zero-dependency js library following SPEC.md exactly.

https://github.com/jncraton/whenwords/pulls
jncraton
·قبل 7 أشهر·discuss
I've adjusted or removed those sentences in the article.