Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rudian
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
1.
▲
by
rudian
5y ago
Yeah but they’re not necessary for selection. Label elements actually need an input with ID to function. The other useful use for IDs is for deep-links in articles. But then again that doesn’t mean the id should be used for selection (in JS
2.
▲
by
rudian
5y ago
A few minification transforms actually kind of speed code up. If Babel hadn’t turned into a hydra this kind of transforms would have been right up its alley.
3.
▲
by
rudian
5y ago
I know, that's why it's misleading and it should not be considered. A quick reader will think that "using getElementById will save me 32ms", but it'd be off by several orders of magnitude.
4.
▲
by
rudian
5y ago
Please don't listen to this, it's misleading. querySelector *does not* take 62ms to run. Both of them take 0.01ms at most, try it yourself. This is the sort of micro optimization you should not concern yourself with. How often do
5.
▲
by
rudian
5y ago
> It's why we get things like Deno, which attempt to throw all this cruft away and start again Doubt. Your "something@v1.2.3" in Deno is no different than "something": "^1.2.3" in npm. The problems will
6.
▲
by
rudian
5y ago
Yes, that’s what doesn’t work on my computer.
7.
▲
by
rudian
5y ago
That's not true, I can replicate it in Chrome 96, macOS 11. It doesn't seem to work in Firefox though.
8.
▲
by
rudian
5y ago
This is an old article and I think designers kinda stopped doing this because its effect is not as pronounced on high-res displays. Either way, 100% agree. Stop trying to change a OS’s text rendering, if you still are.
9.
▲
by
rudian
5y ago
Most people are ignorant about Bitcoin and its risks; The fact that there are no protests should come as a surprise to no one. What people see is that they get free money from the government and maybe they’re lucky to see it go up. They don
10.
▲
by
rudian
5y ago
I’m a normal user and I can see their message. Has it been vouched for in the past 4 minutes? My settings are still the HN defaults.
11.
▲
by
rudian
5y ago
Sounds like you never used Vercel now AWS. I wouldn’t call AWS “super trivial” nor is Vercel equivalent.
12.
▲
by
rudian
5y ago
I’m confident it’s two reasons: - too many street names make for a noisy/busy/ugly map, and we all know maps must be beautiful and nothing else - streets don’t pay for ads, businesses do, so between the two they prefer showing t
13.
▲
by
rudian
5y ago
I remember some browser blocking that at some point, but I still occasionally see it. I can’t believe there’s no way to “go back to the previous website” in most browsers. Safari iOS for example just clips the history so you can’t even hold
14.
▲
by
rudian
5y ago
Have you tried turning it off and on again?
15.
▲
by
rudian
5y ago
Heh, that’s the damnation of the expert. The more I know about movies the less I enjoy them, for example. It’s easier when you don’t notice defects.
16.
▲
by
rudian
5y ago
Yeah, I get it, we have a lot to thank Tesla for the push towards EV, but that doesn't exempt them from bad reviews. Tesla is not the only EV maker anymore, so they can't hide behind "but it's an EV, so… that's whe
17.
▲
by
rudian
5y ago
You’re an idiot or a spy if you think Facebook’s blocking is in anyway similar to China’s censorship. Facebook does not block anything like “Winnie the Pooh” and you don’t risk disappearing by posting on Facebook.
18.
▲
by
rudian
5y ago
I think “companies” have run out of the “benefit of the doubt” as far as I’m concerned. Using the web has become a pain not because companies don’t care about UX, but because they think popup X will increase profits — and it often does. Cer
19.
▲
by
rudian
5y ago
My internet-first bank’s passwords are limited to 8 characters. I'd take password rules over this idiocy any day. I reported it maybe 5 years ago and of course radio silence. I bet they plaintext it. Oh and of course I also have litera
20.
▲
by
rudian
5y ago
Congrats on getting them to use a password manager, now everyone can see all of their password by typing in the master password they stuck to the side of the screen. I'm only half-joking sadly, people just don't understand why p
21.
▲
by
rudian
5y ago
(Misunderstood comment)
22.
▲
by
rudian
5y ago
The parent comment wrote “a bit of configuration” not “spend your waking hours configuring.”
23.
▲
by
rudian
5y ago
Sorry this isn’t the argument department.
24.
▲
by
rudian
5y ago
The surprising part is that we have a battery that lasts that long for tracking “in real time” and doesn’t weigh the bird down. How’s that possible? The article mentions that is solar-powered, but even then how much power could it generate?
25.
▲
by
rudian
5y ago
You can turn any piece of a YAML into a JSON object and it will be read just as well. This YAML: user: name: Ted is equivalent to this YAML: user: {"name": "Ted"} which is equivalent to this YAML&
26.
▲
by
rudian
5y ago
Many of these things are basically standard practice nowadays thanks to cross-site tracking and this is just one of the many companies that checks all the (modern shitty-company) boxes. It's good that they are exposed and people discus
27.
▲
by
rudian
5y ago
I really don’t get this. Apple does provide free updates for all. If you skip major versions, you’re shooting yourself in the foot and blaming Apple for allowing it. Apple is giving you the update: Install it and now it’s up to date. They
28.
▲
by
rudian
5y ago
Yeah right. As if this affected their sales at all. USB-C would only reduce accessory licensing fees.
29.
▲
by
rudian
5y ago
Lawyers contacting you in 3 2 1. Not a good idea to be named one-letter off the name of a huge disliked corporation.
30.
▲
by
rudian
5y ago
Canada sure learns a lot of tricks from their big brother.
More ›