Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Technetium_Hat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
Technetium_Hat
8y ago
progressive lenses are expensive.
32.
▲
by
Technetium_Hat
8y ago
this seems to require a log in for me.
33.
▲
by
Technetium_Hat
8y ago
Ikea still uses such a landing page if you go directly to ikea.com .
34.
▲
by
Technetium_Hat
8y ago
Yeah, all that really happens is that it shows your profile picture, and autofills passwords, when it detects the google login cookie. Nothing that other browsers couldn't implement themselves.
35.
▲
by
Technetium_Hat
8y ago
All components, expressions, etc are in template curlies `${}` so type checking works out of the box. If you mean type checking on HTML properties, no it does not. Lit HTML seems very extensible, so it should be possible to add support for
36.
▲
by
Technetium_Hat
8y ago
So you're really wishing that we had sensible default css, instead of the terrible user agent styles that we are forced to keep for compatibility.
37.
▲
by
Technetium_Hat
8y ago
It is OffScreenCanvas, the variant that works in web workers, that has poor browser support.
38.
▲
by
Technetium_Hat
8y ago
Yes, my school used to do this.
39.
▲
by
Technetium_Hat
8y ago
You can add the tabindex attribute to non-form elements
40.
▲
by
Technetium_Hat
8y ago
Please do not use code blocks for quotes. They are very hard to read on mobile.
41.
▲
by
Technetium_Hat
8y ago
I think the parent poster was talking about both being messy in the past, but recently having a major version upgrade that deprecated old features. PHP 7 could be compared to ES6 (as well as ES5's strict mode)
42.
▲
by
Technetium_Hat
8y ago
Do the material web components count? They are being rewritten using lit-(HTML|Element)
43.
▲
by
Technetium_Hat
8y ago
If you are in a module context, you could add "export" in front of the whole thing.
44.
▲
by
Technetium_Hat
8y ago
This exists already. Modern JS build tools are actually pretty sophisticated.
45.
▲
by
Technetium_Hat
8y ago
In this case, the JavaScript is the image. It's all just bytes, they can be decided as pixels or code.
46.
▲
by
Technetium_Hat
8y ago
Tables are also extremely performant in internet explorer, where table rendering is gpu accelerated.
47.
▲
by
Technetium_Hat
8y ago
Constants are not deeply immutable in other languages either.
48.
▲
by
Technetium_Hat
8y ago
YouTube red distributes money according to watch time per month.
49.
▲
by
Technetium_Hat
8y ago
looks pretty close to the web components api. specifically "customized built-in elements" which use the `is` attribute on a regular element to add custom beavior.
50.
▲
by
Technetium_Hat
8y ago
A sea of divs is not a problem if you use role=presentational correctly.
51.
▲
by
Technetium_Hat
8y ago
...but it couldn't interact with the DOM or do anything else without JavaScript.
52.
▲
by
Technetium_Hat
8y ago
Apple seemingly refuses to implement modern web APIs, especially those required for SPA's, in Mobile Safari. The popular theory is that this is to avoid SPAs threatening their App Store.
53.
▲
by
Technetium_Hat
8y ago
Why not just go all the way to 3:2 like the surface laptop? It's better for anything but full screen video.
54.
▲
by
Technetium_Hat
8y ago
So the thing that makes a site a PWA in your eyes is the "add $app to your homescreen" prompt? Because I would view any site that works offline, beyond http/s caching, to be a PWA.
55.
▲
by
Technetium_Hat
8y ago
...m8
56.
▲
by
Technetium_Hat
8y ago
There might be a way for users to rate the quality of the result, or at least report it if it is very wrong.
57.
▲
by
Technetium_Hat
8y ago
Unfortunately, those are much more expensive than .com domains.
58.
▲
by
Technetium_Hat
8y ago
Now I want a browser extension that adds Wikipedia-style link previews on all pages.
59.
▲
by
Technetium_Hat
8y ago
This reminds me of the opening to The Hitchhikers Guide to the Galaxy : >Many were increasingly of the opinion that they'd all made a big mistake coming down from the trees in the first place, and some said that even the trees had
60.
▲
by
Technetium_Hat
8y ago
>waffels Your German-ness is showing in this misspelling here.
More ›