Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
o11c
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
o11c
9mo ago
The hope for semantic HTML died the day they said "stop using <i>, use <em>", regardless of what the actual purpose of the italics was (it's usually not emphasis).
2.
▲
by
o11c
9mo ago
I'd take this a step further and say that the design flaws that motivated Perl6 were what really killed Perl. Perl6 just accelerated the timeline. I do imagine a saner migration could've been done - for example, declaring that r
3.
▲
by
o11c
9mo ago
Any statically-typed language has this. In pseudo-Java: class Parent {}; class Child extends Parent {}; class Wrapper { Parent foo; } w = new Wrapper(); w.foo = new Child(); evaluate w.foo; // static ty
4.
▲
by
o11c
10mo ago
... really? Many words came to mind when I saw this warning, but nothing really adds to the incredulity of this one word.
5.
▲
by
o11c
10mo ago
Hmm, the is `type` the static type or the dynamic type, for languages where both apply?
6.
▲
by
o11c
10mo ago
The author of the article is claiming it extends beyond ads. That does not appear to be what the court actually said, however. And I 100% believe that all advertisements should require review by a documented human before posting, so that
7.
▲
by
o11c
10mo ago
At a glance, that looks like worse than merely the negligence of using a new technology. The whole point of 3D printing is that the material is moldable when hot but rigid when it cools. And people really should be aware that engines get
8.
▲
by
o11c
10mo ago
Related: doctors will refuse to test you to see if what you're suffering from is a particular condition unless that condition actually has a known treatment.
9.
▲
by
o11c
10mo ago
Those are not unrelated. Both from my family and from looking at the research, there's a strong correlation between long/difficult births (sometimes explicitly hypoxia) and autism.
10.
▲
by
o11c
10mo ago
There's a reason I prefer "lots" over "infinity". For your "quicksort of 4 elements" example, I would note that the algorithm doesn't care - it still works - and the choice of when to switch to inse
11.
▲
by
o11c
10mo ago
For the "all zeros" case, my concern is that you said you're forcing a reset every 1024 words. This implies that if you have N kilowords of zero data, then it takes N times as much space as a single kiloword of data. Good com
12.
▲
by
o11c
10mo ago
This is missing a lot of context. What integer patterns does it do well on, and what patterns does it do poorly on? How many strategies does it support? It only mentions delta which is not compression. Huffman, RLE, variable-length enco
13.
▲
by
o11c
10mo ago
Better option: just wrap it in a unique struct. There are perhaps only 3 numbers: 0, 1, and lots. A fair argument might be made that 2 also exists, but for anything higher, you need to think about your abstraction.
14.
▲
by
o11c
10mo ago
Compiler speed matters. I will confess to not as much practical knowledge of -O3, but -O2 is usually reasonable fast to compile. For cases where -O2 is too slow to compile, dropping a single nasty TU down to -O1 is often beneficial. -O0 i
15.
▲
by
o11c
10mo ago
I would expect a little benefit from devirt (but maybe in-TU optimizations are getting that already?), but if a program is pessimized enough, LTO's improvements won't be measurable. And programs full of pointer-chasing are quite p
16.
▲
by
o11c
10mo ago
For laptops specifically, opening them up and blowing all the dust out can be a huge difference. After that, if the fan is making noise, it's not worth attempting recovery. If attempting this, consider whether your source is cheap enou
17.
▲
by
o11c
10mo ago
The amount of money the US Government pays just for that 40% should be enough to cover all 100%. We know this is possible because it happens in other countries, which have shorter waits and more coverage since that talking point keeps bei
18.
▲
by
o11c
10mo ago
I have no real knowledge of React from the developer side, but as an ordinary user who occasionally pokes around in dev tools to assign blame, React clearly is failing at Simplicity. There are so many React websites where I see weird upda
19.
▲
by
o11c
10mo ago
Hm, what about using `%` itself?
20.
▲
by
o11c
10mo ago
Since this is really confusing without any context, "1964" is a Nintendo 64 emulator for Windows.
21.
▲
by
o11c
10mo ago
> Healthcare costs [...] The only difference is with an employer intermediary, [...] That's missing the biggest problem, which is that the employer gets a free chance to extort the employee in all sorts of illegal ways lest they be
22.
▲
by
o11c
10mo ago
It would take someone who actually knows React writing an answer that explains how it is different. Usually newbies are not in a position to understand when version differences are relevant and when they aren't. On SO, it's often
23.
▲
by
o11c
10mo ago
It's claiming "questions on SO are deleted because people don't understand them", as opposed to the reality that moderation is done by the more experienced users (in this case the least-experienced close voter had 5K r
24.
▲
by
o11c
10mo ago
It uses a sandwich; see https://fil-c.org/runtime
25.
▲
by
o11c
10mo ago
Clippy really ... wasn't bad? It mostly stayed out of your way, occasionally showed a button to perform a useful task, and could interact with the help system without having to click through 3 menus. It wasn't a panacea but it was
26.
▲
by
o11c
10mo ago
I was reading the `fontconfig` source recently (to help me understand what, exactly, is the difference between the various `fc-*` tools and their options) and some of the code scared me. I thought, "for sure this is a use-after-free&qu
27.
▲
by
o11c
10mo ago
Let's suppose arithmetic is a solved problem and only consider manufacturing and distribution. The major barrier to self-managed dosing, even if you want to do it properly, is that there's a huge difference between one pill and tw
28.
▲
by
o11c
10mo ago
I'm not familiar with Zod, but one thing that is quite important on the user end is to produce multiple (but, per policy, not infinite) error messages before giving up. That is, list all environment variables that need to be set, not
29.
▲
by
o11c
10mo ago
That's okay since X11 is stable and not very crash prone for the last few decades. The WM and Shell are far more likely to crash, which is it's completely fucking retarded to move any of their logic into the display server.
30.
▲
by
o11c
10mo ago
Crashes of the now-merged display server / window manager / whatever. Why does everybody keep talking about "applications" like they're the problem people have with Wayland? Our problem is the Wayland server itself.
More ›