HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jaffathecake

no profile record

Submissions

The Goldilocks customizable height

jakearchibald.com
2 points·by jaffathecake·16 gün önce·0 comments

Mozilla's opposition to Chrome's Prompt API

github.com
663 points·by jaffathecake·3 ay önce·231 comments

Importing vs. Fetching JSON in JavaScript

jakearchibald.com
5 points·by jaffathecake·9 ay önce·0 comments

Give footnotes the boot – alternatives to footnotes on the web

jakearchibald.com
41 points·by jaffathecake·geçen yıl·33 comments

Animating zooming using CSS: transform order is important sometimes

jakearchibald.com
2 points·by jaffathecake·geçen yıl·0 comments

How should the new element work?

jakearchibald.com
65 points·by jaffathecake·2 yıl önce·48 comments

Video with Alpha Transparency on the Web

jakearchibald.com
4 points·by jaffathecake·2 yıl önce·0 comments

JavaScript garbage collection and closures

jakearchibald.com
138 points·by jaffathecake·2 yıl önce·69 comments

Handling aspect ratio changes in CSS view transitions

jakearchibald.com
2 points·by jaffathecake·2 yıl önce·0 comments

The case against self-closing tags in HTML

jakearchibald.com
133 points·by jaffathecake·3 yıl önce·158 comments

comments

jaffathecake
·23 gün önce·discuss
> So websites can now nag users to allow access to the root of their local disk

No, Chrome doesn't allow this.

Here's a simple demo: https://output.jsbin.com/kekekac/quiet - note that you can't select root, Downloads etc.
jaffathecake
·2 ay önce·discuss
> The user agent is the proper channel for the agency Jake is seeking here. Theres nothing preventing the user & their user agent from negotiating what model they use.

This isn't how it works. As the developer, you use the system prompt to set a particular personality for the chat bot. Eg, when you use an LLM in VSCode, it comes with a system prompt to make it an effective code assistant.

Now, in VSCode, you can select a different model, which is maybe where your misconception comes from. But when you select a different model, it will also use a different system prompt, designed to achieve the same personality, but tailored for that particular model.

Once you figure out why they do that, you'll understand why your position here doesn't make sense.
jaffathecake
·3 ay önce·discuss
Yes! It might lie or hallucinate. But also, all browsers claim to be "Mozilla/5.0" in their user agent string. It's a very similar problem.
jaffathecake
·3 ay önce·discuss
It's fun that I get to be called both "anti-AI" and an "AI shill" by people on the internet depending on the day of the week.
jaffathecake
·3 ay önce·discuss
Thank you for posting this.

On interoperability, time will tell I guess. I've only been working on Firefox for a few months, but general interop issues are way worse than I realised when we worked together at Chrome. Firefox frequently gets bug reports for not behaving like Chrome, even when Firefox is complying with the spec, and Chrome is not. We end up having to just behave like Chrome.

On developer signals… I'm sure there's better evidence of positive sentiment than Chrome provided, but there's a lot of negative sentiment too. I think it would be fair to call the developer signal "mixed", or maybe even "polarised".
jaffathecake
·3 ay önce·discuss
Aww thanks for saying that! I've been doing little videos on https://www.youtube.com/@FirefoxWebDevs (and accounts of the same name, pretty much everywhere). Although they're designed to be short, so they're pretty different to HTTP203.
jaffathecake
·3 ay önce·discuss
Agreed. Maybe Google will propose a CSS text formatting property that cannot be used on paragraphs that are critical of the US administration.

Like, that sounds daft, but it's not really far from what they're doing here.
jaffathecake
·3 ay önce·discuss
I think the objection here is unrelated to the love or hate of LLMs. It's about the viability of this particular proposed open web API.

I personally use LLMs for coding assistance, and some home automation stuff, but I do not think this particular API is good for the web.
jaffathecake
·3 ay önce·discuss
Aww thanks! To be fair I didn't toe the party line when I was at Google (imo). Although, that caused me increasing amount of grief internally, until I left. From what I hear, things have gotten exponentially worse in that regard for folks still on the team.
jaffathecake
·3 ay önce·discuss
Sigh, when I posted this, I linked to https://github.com/mozilla/standards-positions/issues/1213#i... (which was posted 11 hours ago). Unfortunately someone changed the link.
jaffathecake
·3 ay önce·discuss
When I posted this, I linked to the latest statement https://github.com/mozilla/standards-positions/issues/1213#i..., which is the content relevant to the title (the details of our opposition to the API). Unfortunately someone removed the link to the specific post.
jaffathecake
·3 ay önce·discuss
The Chrome model requires either "16 GB of RAM or more and 4 CPU cores or more" or "Strictly more than 4 GB of VRAM", and "22 GB of free space" (it uses around 4.4GB but it doesn't want to use the remaining free space).

The model is pretty slow on my M4 Pro mac.

The API allows the browser to use a cloud service instead, but then privacy is lower. So, more privacy for the rich.
jaffathecake
·3 ay önce·discuss
The rate of model development is an issue here. Once there are many cross-origin models, it becomes a fingerprinting vector. Also even the small models are many GBs.
jaffathecake
·4 ay önce·discuss
A lot. My scores:

- 0.0028 on my MacBook pro screen

- 0.0045 on my Dell monitor

- 0.0033 on my Pixel 10 pro

And those scores are pretty consistent.
jaffathecake
·4 ay önce·discuss
The associated deep-dive article is great https://www.keithcirkel.co.uk/too-much-color/
jaffathecake
·5 ay önce·discuss
fwiw, if you serve your page with:

Content-Security-Policy: require-trusted-types-for 'script'

…then it blocks you from passing regular strings to the methods that don't sanitize.
jaffathecake
·8 ay önce·discuss
Fwiw, JPEG XL takes around 2.5x the time to decode as an equivalent AVIF, and has worse compression https://jakearchibald.com/2025/present-and-future-of-progres...
jaffathecake
·9 ay önce·discuss
I know this isn't quite what you mean, but when you first hit the page, the list is in a random order, but it's then stable across reloads.

I considered the 'vs' approach, but I worried that there might be a lot of iterations where one or two of the options would be things that the person didn't understand, or didn't care about.

How do you feel about something like this: The user goes through the long list, picking what they understand and don't dislike, then the 'vs' system is there for helping determine the order of those items. Then the user gets the ranking which they can tweak.
jaffathecake
·9 ay önce·discuss
Author of the app here. This was quickly thrown together, and something we'd like to improve on next year. Any & all feedback is welcome.

We've already been looking at the results, and it has influenced the direction of multiple vendors in the process, but of course it isn't the only thing we look at.

We're going to continue to look at this throughout the process, so it's still worth getting a list together.

Whether we can release the raw results of this (and to what degree), will involve discussion between browser vendors, so it isn't something we can commit to right now. I know that's not… great… but it's a delicate process (one that I'm still personally getting used to - it's my first year 'on the inside').
jaffathecake
·9 ay önce·discuss
Author of the app here. This was quickly thrown together, and something we'd like to improve on next year. Any & all feedback is welcome.