Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tpolzer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
tpolzer
8mo ago
Apple sends your searches to Google for money. I would call search queries data?
2.
▲
by
tpolzer
8mo ago
Apple, Samsung and Google all earn money from ads on your phone, just with different monetization pathways.
3.
▲
by
tpolzer
9mo ago
Indeed, but then I wouldn't call it a "big miss" (the title of the article, which doesn't mention regions either).
4.
▲
by
tpolzer
9mo ago
A moving GC would make it simple to move any remaining live objects back under normal GC control once the arena goes out of scope. You could probably also do it without moving actually, it just gets a little more complex.
5.
▲
by
tpolzer
9mo ago
I wonder whether it would be possible to retrofit Arena allocation transparently (and safely!) onto a language with a moving GC (which IIUC Go currently is not): You could ask the programmer to mark some callstack as arena allocated and red
6.
▲
by
tpolzer
11mo ago
Unlike opaquely financed and privately owned media companies, the Guardian is actually relatively clear and open in how it is financed and set up in a way to try to make them as independent as possible (see for example the Scott Trust'
7.
▲
by
tpolzer
1y ago
It's a question of energy density. Multiple joules into your big phone battery is nothing, multiple joules into a small SMD component means it evaporates immediately in a bright flash!
8.
▲
by
tpolzer
1y ago
Bad drivers could brick (parts of) your hardware permanently. While you should have a backup of your data anyway.
9.
▲
by
tpolzer
2y ago
One of the oldest (AFAIK) occurrences of this was AOL releasing a data set of "anonymized" search queries in 2006 and it took a about a day for the first person to be deanonymized. https://www.nytimes.com/2006/
10.
▲
by
tpolzer
2y ago
A std::monostate member will still have non zero size, because it needs a unique address. See https://en.cppreference.com/w/cpp/language/ebo
11.
▲
by
tpolzer
2y ago
If there was a std::unit_t and it was implicitly convertible to optional, tuple and pointer, I don't think that would be worse in terms of usability at all (maybe worse in readability for people who haven't heard of a 'unit&#
12.
▲
by
tpolzer
2y ago
What's really weird to me is not that C++ has a unit type and picked a weird name for it (that's just C++). The weird thing is how many unit types it has: - std::nullopt_t - std::nullptr_t - std::monostate - std::tuple<> And
13.
▲
by
tpolzer
3y ago
I find it annoying that (a) this seems to be a hardware feature that is almost universally permanently disabled in firmware and (b) it's almost impossible to find out whether it is supported by any given product (neither of the two pro
14.
▲
by
tpolzer
3y ago
The theoretical limit is 50% according to Wikipedia, but there's other factors being optimized for as well aside from efficiency: https://en.wikipedia.org/wiki/Engine_efficiency#:~:text=Mode... .
15.
▲
by
tpolzer
3y ago
SD Express is basically dead as far as I can tell. SD card users who care about speed have UHS-II equipment, but SD Express and UHS-II use mutually incompatible high speed signalling on the same pins (so cards and readers are only supportin
16.
▲
by
tpolzer
3y ago
Ideally with PPS, your device can actually just ask exactly for the regulated voltage it needs on USB-C. Most modern smartphones can use that to charge their batteries more efficiently/with less heating of the phone.
17.
▲
by
tpolzer
3y ago
Unless your 5 GHz spectrum is crowded by other WiFi, you really want to be on channel 36, because that way you do not have DFS at all, see the table on Wikipedia: https://en.wikipedia.org/wiki/List_of_WLAN_channels
18.
▲
by
tpolzer
3y ago
The AP still has to send regular beacons for each hidden SSID, taking up air time.
19.
▲
by
tpolzer
3y ago
Over all age groups? Definitely not, cardiovascular diseases and cancer get ~everybody in the end: https://ourworldindata.org/grapher/annual-number-of-deaths-b... You're right for 15-49 year olds, where drug overd
20.
▲
by
tpolzer
3y ago
Is this just a less polished/active version of https://github.com/mvp/uhubctl ?
21.
▲
by
tpolzer
3y ago
A decade is roughly the upper limit of specified battery shelf life for cheap batteries. Making the battery bigger doesn't really help much at that point where it's limited by shelf life, not capacity. There are longer life batter
22.
▲
by
tpolzer
3y ago
That doesn't help at all if your loop variable is a 32 bit int that your compiler decided to transform away into vectorized loads from a 64 bit pointer. But that's exactly one of the transformations that get enabled by assuming un
23.
▲
by
tpolzer
3y ago
There are SSDs on the market that use all of their TLC flash as SLC cache, so you can almost use them as SLC drives if you partition them to leave 2/3 empty. Eg the ADATA XPG SX8200. Look for whole drive fill speed benchmarks, if they
24.
▲
by
tpolzer
3y ago
If you assume that all three numbers are small integers, doing the division last minimizes precision loss (and doesn't have any loss if the accurate result is representable as a float). Otherwise you get loss from the division and then
25.
▲
by
tpolzer
4y ago
Some people try to spin this as a Google vs open standards, while it's mostly a Google devs vs. some other Google devs situation: If you look at https://github.com/libjxl/libjxl/graphs/contributors , ~eve
26.
▲
by
tpolzer
4y ago
Try with -ffreestanding. Otherwise clang is allowed to make assumptions about the behavior of "malloc". It then does the typical unsatisfying clang thing of unrolling and vectorizing a _lot_ with unclear benefits: https:/&#x
27.
▲
by
tpolzer
4y ago
Now if only https://github.com/openzfs/zfs/issues/10348 could be fixed. I'm using frequent zfs snapshots, but recovery is more annoying than I'd like.
28.
▲
by
tpolzer
4y ago
You can use ZFS as a root file system, and it actually has such a switch (called "utf8only").
29.
▲
by
tpolzer
4y ago
unique_ptr is nearly overhead free compared to a bare pointer (except for argument passing... because of ABI concerns). shared_ptr is expensive and easy to build leaks with, so a lot of code bases avoid it where possible. Though it's o
30.
▲
by
tpolzer
4y ago
I've had a similar experience, especially with skin tones. The out of camera jpegs can be a little aggressive in making skin and grass colors "pop", but they still beat Darktable (even with significant tinkering).
More ›