HackerTrans
トップ新着トレンドコメント過去質問紹介求人

jncraton

no profile record

投稿

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

economist.com
3 ポイント·投稿者 jncraton·3 か月前·0 コメント

コメント

jncraton
·5 か月前·議論
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 か月前·議論
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 か月前·議論
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 か月前·議論
I've adjusted or removed those sentences in the article.