Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Keithamus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
Keithamus
3mo ago
It’s unfortunate that this name was used. There is a W3C community group called OpenUI ( https://open-ui.org/ ) which has been around for close to a decade, working on improving UI standards for the web.
2.
▲
by
Keithamus
6mo ago
I will get around to fixing this. An oversight. Apologies.
3.
▲
by
Keithamus
6mo ago
Right. The average score is under different test conditions. Obviously this game is a little silly version with very little accuracy to the lab testing, but hopefully it gets people thinking about this stuff a bit more! Which given your inv
4.
▲
by
Keithamus
6mo ago
JND is an average. A lot of people will do a lot worse. The measure, as I understand it, is also under different test conditions, while this is a game where people are on their own and able to - for example - tilt their head trying to find
5.
▲
Too Much Color
(keithcirkel.co.uk)
10 points
by
Keithamus
6mo ago
|
1 comments
6.
▲
Show HN: What's my JND? – a colour guessing game
(keithcirkel.co.uk)
56 points
by
Keithamus
6mo ago
|
56 comments
7.
▲
by
Keithamus
2y ago
It’s not executing JS. The names map to JS methods but both the HTML and JS call into C++ (or rust or swift whatever the browser is written in). Arbitrary JS code execution cannot occur. Of course if you’re ingesting user generated content
8.
▲
by
Keithamus
2y ago
Author here. I am not affiliated with Google. My current employer is GitHub, and this was incubated in the OpenUI working group. Open source & the open Web are still very much alive!
9.
▲
by
Keithamus
2y ago
BroadcastChannel is a better solution for a couple of reasons. Service Workers are better at intercepting network requests and returning items from a cache, there’s some amount of additional effort to do work outside of that. The other thin
10.
▲
by
Keithamus
2y ago
Thank you for providing the detail I was scant on.
11.
▲
by
Keithamus
2y ago
While it hasn't been expressly resolved by the HTML working group to not propose new attributes with dashes, and while I don't speak for everyone in the HTML working group, I would assert that many members would object to a propos
12.
▲
by
Keithamus
2y ago
They key difference is that an attribute can only appear once on an element, and consequently only have one of its variants present. Classes can present multiple variants at once. At a surface level `<div class="Card" data-size
13.
▲
by
Keithamus
4y ago
React 19 is likely to ship with Web Components support. https://github.com/facebook/react/issues/11347
14.
▲
by
Keithamus
4y ago
Thanks for the feedback! If you have the time, I'd love for you to contribute and improve the marketing copy: https://github.com/WebComponentsGuide/webcomponents.guide
15.
▲
by
Keithamus
4y ago
I’ve been working on https://webcomponents.guide/ with some fellow experts in order to improve the documentation side of things. Hoping to offer guidelines and best practices to limit the amount of searching and experimenta
16.
▲
by
Keithamus
4y ago
That’s what CSS parts and slots are for. Your component can style its own boundaries, provide parts to allow customisation, and use slots to inject components that are styled from outside (be it another ShadowDOM or the light DOM)
17.
▲
by
Keithamus
4y ago
There's hope for React yet: https://github.com/facebook/react/issues/11347
18.
▲
Web Components Guide
(webcomponents.guide)
50 points
by
Keithamus
4y ago
|
7 comments
19.
▲
by
Keithamus
4y ago
Was a poor attempt at a joke that perhaps didn’t carry :p
20.
▲
by
Keithamus
4y ago
I don’t recall saying old technology is bad. I was more trying to say it served its purpose at the time but as websites have gotten more complex we’re still relying on this one single primitive. It’s true that as systems scale often templat
21.
▲
by
Keithamus
4y ago
For large applications with many thousands of pages, or many thousands of engineers working on the same system, name collisions happen. It’s not just throwing “random css” into the mix, it’s that many disjointed parts of the same applicatio
22.
▲
by
Keithamus
4y ago
I felt the “considered harmful” style of titles have been overused that no one would reasonably consider it anything but click bait; and so used it as ironic-click-bait.
23.
▲
by
Keithamus
4y ago
Naming collisions are a pretty real problem when you get to building large systems. They’re a big enough problem for something like CSS Modules to exist (explained further down in the post).
24.
▲
by
Keithamus
4y ago
I considered exploring it but css selector performance just doesn’t matter with todays engines. There are far greater issues, and far better performance wins than “optimising your selectors”.
25.
▲
CSS Classes Considered Harmful
(keithcirkel.co.uk)
12 points
by
Keithamus
4y ago
|
24 comments
26.
▲
by
Keithamus
5y ago
Just to update everyone: the domain has been renewed and is being transferred over to my account (as the current lead maintainer). We’ll use some funds to ensure it stays active for a long time and this won’t happen again.
27.
▲
by
Keithamus
5y ago
Failed expectations always throw an AssertionError, and they always have a stack. It might be the test runner you have which is breaking or hiding the stack?
28.
▲
by
Keithamus
5y ago
Sorry to hear that Andrew. If you'd like to point me to issues or PRs where you've contributed and don't feel like you had a good response, I'd be happy to follow up on them.
29.
▲
by
Keithamus
5y ago
Hi, I'm the current lead maintainer of Chai. We don't own the domain name, the previous maintainer/author does. It seems to have lapsed. There's not much I can do about that other than attempt to contact the previous mai
30.
▲
by
Keithamus
5y ago
Deno uses uint8array (pretty much Nodes Buffers (Node Buffers subclass UInt8Array these days)) for almost all methods. For example Deno comes with `Deno.readFile` which returns a Promise<UInt8Array>, but they include the special case
More ›