Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nightcracker
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
nightcracker
5y ago
Yes, I am aware it has been 'superseded' but in my experience for lossless compression it's still usually better.
2.
▲
by
nightcracker
5y ago
QOI_DIFF24 { u8 tag : 4; // b1110 u8 dr : 5; // 5-bit red channel difference: -15..16 u8 dg : 5; // 5-bit green channel difference: -15..16 u8 db : 5;
3.
▲
by
nightcracker
5y ago
You could still stream the pixels, you'd just have to stream them in Z order. This may seem pedantic, but this applies to any mismatch between the order in which you store pixels and the order in which the format stores pixels. E.g. so
4.
▲
by
nightcracker
5y ago
Copying the question text verbatim certainly is copyright infringement (and I would guess unlikely to be fair use, but I'm not a lawyer). If you give the problem in your own words, it won't be, just like your solution isn't
5.
▲
by
nightcracker
5y ago
I don't know, only have some theories. 1. The name isn't particularly catchy or descriptive. It is the correct name for the data structure, but not too many people know the data structure. 2. People don't even know what they&
6.
▲
by
nightcracker
5y ago
SlotMap literally cannot, because it must keep track of versions of the used slots, and the slots include the memory space for the data. DenseSlotMap sort of can. It still can't reclaim the memory used by empty slots for the same reaso
7.
▲
by
nightcracker
5y ago
There is no fragmentation whatsoever in the traditional sense (unusable gaps left due to size mismatches), because a slotmap only stores a single type of value. Thus every slot is interchangeable and memory can always be reused. For iterati
8.
▲
by
nightcracker
5y ago
> It's not hard being faster than zip if you are not compressing/uncompressing Actually, since CPUs are so fast and disk IO is so slow, it is essentially impossible to beat a properly tuned program that reads data from disk and
9.
▲
by
nightcracker
5y ago
If a significant amount of your new customers find your physical shop through Google maps, what can you do? If someone wants to find a hardware store near them, good chance they'll just write "hardware store" on Google maps.
10.
▲
by
nightcracker
5y ago
I did miss that, oops. That said, it's again unclear if that curve is pre- or post- biased sampling. If it is on the original data it is quite good, but with a heavy biased sample fairly meaningless.
11.
▲
by
nightcracker
5y ago
Very sloppy statistics. A lot of explanatory analysis on the model is done but the model is hardly justified in being predictive in the first place. The paper ( https://journals.plos.org/plosone/article?id=10.1371/j
12.
▲
by
nightcracker
5y ago
No, it is a Pokémon reference to the very similarly named Excadrill.
13.
▲
by
nightcracker
5y ago
Softball is a bigger ball, yes. But it's not lower velocity, at least if you consider the relevant metric: time from pitcher to plate. Because softball also pitches a lot closer to the plate.
14.
▲
by
nightcracker
5y ago
See my other comment, it would also immediately be constructive: https://news.ycombinator.com/item?id=29022963
15.
▲
by
nightcracker
5y ago
From what I have read (I don't do 3D modeling myself) Blender has overhauled its UI significantly over the past couple of years to great praise of a lot of people.
16.
▲
by
nightcracker
5y ago
I would guess that India is too large to meaningfully include in such a statistic. On average in the country English literacy could be quite poor while in the relevant tech hubs it is quite good. But that's just a hypothesis.
17.
▲
by
nightcracker
5y ago
Rust sidesteps issues like this entirely through its Editions. Code from different editions can all each other, but editions can introduce breaking changes. For example, in Rust 2018 and earlier calling arr.into_iter() on an array type woul
18.
▲
by
nightcracker
5y ago
> I can zoom in and see lots of different colors If you zoom in further, you'd soon realize your screen is nothing but pure red, green and blue subpixels at varying intensities.
19.
▲
by
nightcracker
5y ago
PNG is lossless, so it really does.
20.
▲
by
nightcracker
5y ago
See also https://allrgb.com/ .
21.
▲
by
nightcracker
5y ago
Here in the Netherlands it's the exact opposite. We have infinite water, just not a lot of space.
22.
▲
by
nightcracker
5y ago
> and proving that a very simple physical machine can perform any computation (Turing completeness) Not proving, conjecturing. It's not proven until this day: https://en.wikipedia.org/wiki/Church%E2%80%93Turing_
23.
▲
by
nightcracker
5y ago
You are completely wrong about ? in my opinion. Between it, built-in load carrying tagged enums (also known as sum types) and the built-in Result and Option types, they essentially solve the exception problem while still being entirely expl
24.
▲
by
nightcracker
5y ago
Which begs the question: without the fifty-move rule (only threefold repetition), what is the longest legal chess game?
25.
▲
by
nightcracker
5y ago
Experimental science is all based around ruling out the null hypothesis. For that it needs to be falsifiable . The hypothesis 'the dog can differentiate between A and B' is very hard to falsify. Because the dog could differenti
26.
▲
by
nightcracker
5y ago
One thing that is very hard if not impossible for the human mind is to 'unsee' stuff. Once you have learned a certain method or theory it becomes almost impossible to think creatively about a problem and attack it from different a
27.
▲
by
nightcracker
5y ago
It's a bit of a catch 22. On a surface level one might say that they are faking having Tourette's, and that they are completely healthy. But look a bit deeper and you realize that a mentally sane person would not copy the tics fro
28.
▲
by
nightcracker
5y ago
Other slurs include "man", "woman", "israel", "socialism" and "communist".
29.
▲
by
nightcracker
5y ago
80% of the time if I want to change something in the Windows 10 settings all my time is spent trying to find out which magic words I need to recite and which buttons I need to click to get to the old Windows 7 / XP style configuration
30.
▲
by
nightcracker
5y ago
I think the idea behind Nuitka is to compile Python into an executable, rather than interpret a script using a fully generic interpreter, but without (or with minimal) limitations, falling back to libpython's implementation if necess
More ›