HNHacker News
TopNewBestAskShowJobs

kllrnohj

12,963 karma · joined March 7, 2013

submissionscomments
kllrnohj··on Linus Torvalds's first LLM-assisted patch series
I don't see anything in those criticisms that are remotely unique to C++.

Linux also built up inefficient abstractions in C that are used simply because they are easy to use. Linked lists being a go-to default choice being an obvious example.

kllrnohj··on New Apple TV 4K
> Fair, but I just wasn't willing to put up with Android TV.

When I bought my Shield TV's I actually liked Android TV. Very nearly every update since then has just slowly made it worse and worse.

Now it's absolutely disgusting as it shows straight up advertisements (not "recommended shows", like literally ads for car insurance or whatever).

So I guess there's really just not much to choose between regardless. It's spyware + adware regardless of price vs. Apple's lack of local backup support :/

kllrnohj··on New Apple TV 4K
The appeal of the Shield Pro is you don't have to deal with custom flashing a "no-name" device and you don't have to dual box to keep streaming services happy.

It's frustrating that nobody else seems to care about attempting to be the all-in-one box given how much Shield is showing its age now. It's really sluggish

I don't get why Apple just refuses to allow audio pass through or DV Profile 7. They're clearly on board with DV in general and don't hesitate to play Dolby's branding games, so why not profile 7 support???

kllrnohj··on I guess I'm using WebP now?
You have that backwards. HEIF is the container format. HEIC is a HEIF file using HEVC.
kllrnohj··on I guess I'm using WebP now?
HEIF is a container not a codec. HEIC is HEIF + HEVC.

AVIF and HEIC both use HEIF

kllrnohj··on I guess I'm using WebP now?
RIFF itself is fine, but in the context of webp it's pointless. WebP doesn't make any use of being in a riff container. Like it still internally has its own chunk system anyway. So you end up with a single RIFF chunk for the webp file that itself then can contain multiple, non-RIFF chunks
kllrnohj··on I guess I'm using WebP now?
well that depends on the size of the image. But a modern cell phone is shooting 50mp+, and at that size you're talking 50-200ms for a jpeg vs. a couple seconds for HEIC. Which is borderline instant-feeling vs. extremely not instant.
kllrnohj··on I guess I'm using WebP now?
hardware-decoded HEIC is around 10x slower than JPEG.

software-decoded HEIC is around 100x slower than JPEG.

WebP is something like 20-50% slower than JPEG, so still solidly an order of magnitude faster than best case hardware-accelerated HEIC decoding.

kllrnohj··on I guess I'm using WebP now?
Only for HEIC realistically, and that only still causes it to struggle to match jpeg or webp performance anyway
kllrnohj··on I guess I'm using WebP now?
Yes, it's important to distinguish annoyances of the codec from annoyances of the ecosystem.

Ecosystem being slow to adopt it is something that can be fixed or improved, but also more importantly (given jpegxl & avif comparisons) are things that will impact any new image format.

Meanwhile annoyances of the codec tend to be things that are dramatically harder to deal with. Like HEIC being a license minefield and also slow as shit. Or that many of these newer image codecs do not have ways to work with them in a memory efficient manner like jpeg does (see eg libjpeg-turbo's sample size & skip scanline options). Or WebP insisted on being in a RIFF container for... uh... absolutely no fucking reason whatsoever afaict. Fortunately RIFF is so trivial that this overhead doesn't actually matter in practice, but then HEIC & AVIF dials up the annoying container bullshit to 11 thanks to their video heritage with ISOBMFF

kllrnohj··on Git 3.0's upcoming SHA-256 default will be a costly mistake
> Yes us Hacker News users have plenty of use cases for IPv6, like self-hosting

Funnily enough, self hosting is why I can't use IPv6. I want vlan isolation, but only get a /64 from my ISP.

Fortunately the lack of IPv6 also isn't a meaningful loss anyway so whatever

kllrnohj··on Linux support is coming to Snapdragon X2 series
The Snapdragon X2 laptops are typically not fanless, either. Fanless just results in thermal throttling if you ever do push on it.

Fanless just means slower.

kllrnohj··on Linux support is coming to Snapdragon X2 Series
So get a newer, better, and cooler CPU? That really has nothing to do with ARM or x86.
kllrnohj··on Linux support is coming to Snapdragon X2 series
> Needing the kernel to be changed for each device is an Androidism

It's an Armish not an Androidism. It's an embedded legacy that really doesn't make sense anymore. But inertia is powerful enough that even Apple is still using device trees, even on their M series SoCs ( https://asahilinux.org/docs/fw/adt/ )

kllrnohj··on What Zig felt like, coming from Rust
> Zig is aiming to be lower level than Rust.

Zig and Rust are equivalently "low level". Zig isn't any closer to the hardware than Rust is.

> but I believe its advantage over Rust for that specific application is that you have tighter control over exactly when memory is allocated and deallocated, and how data is laid out in it.

Rust gives you all this, too.

Zig's primary (possibly only) advantage over Rust is that it has much faster compilation times.

kllrnohj··on What Zig felt like, coming from Rust
Zig is exciting to people that still actually like C. Is that a rationale choice? Not very often. Is it a wrong choice? Also again not very often. At least, not for anything in scope of a solo dev.

The industry where it seems strongest positioned is embedded. Will it actually break into that domain? No idea.

kllrnohj··on What Zig felt like, coming from Rust
std::allocator was so painful to use it was almost always easier to just reimplement the container instead (especially for trivial ones like vector).

I haven't used the relatively new C++17 polymorphic_allocator, though, maybe it fixes this.

kllrnohj··on What Zig felt like, coming from Rust
And those games do so in a language (C++) where allocators is not a headline feature, and is barely even supported at all in the standard library.

The important part is a language where the standard library isn't special, and Rust has this property, too. So in domains where things like per-frame allocators are useful, you can still have them. That capability just isn't cluttering up the more common path where that isn't useful.

kllrnohj··on Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
the trillion dollar AI companies will be the chip designers for the hyperscalers, and probably not worth a trillion dollars as a result
kllrnohj··on Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
The labs still have performance as a differentiator for coding usages and similar, and for other things there's still all the same reasons people switched cloud hosted stuff in the first place. AWS & friends didn't get popular because the hardware was out of reach, after all.
kllrnohj··on Java 27
> There's only a platform version,

And of the 4 non-preview JSRs in the Java 27 release, only 1 of them is actually part of the "platform version".

The other 3 are strictly changes to Hotspot internals with no platform involvement at all. They did not change any aspect of any Java platform in any way whatsoever. That is what I'm referring to. I'm not referring to the fact that the core library, language syntax, and runtime specs are all part of the same version. I'm referring to the fact that Hotspot specific behaviors and adjustments are also branded as being part of the platform release.

Like there's no Java 27 platform spec that says that G1 is the default garbage collector. That would of course be an absurd platform spec change. But that is still somehow a "feature" of the Java 27 release according to Oracle.

kllrnohj··on Java 27 Released
Fair, although even there I don't know if I'd call that "lots" at just 23 added or modified methods that aren't in preview
kllrnohj··on Java 27
When you think a garbage collected language is a good fit for whatever you're building?
kllrnohj··on Java 27
> First off, Oracle are doing versions at approximately twice the cadence

Is that actually a good thing?

But Oracle started playing a game, for better or worse, where they decided to couple the "language version" with a single specific runtime's release schedule. For example, in "Java 27" there are exactly 0 language changes and 1 minor feature addition to the TLS library.

Everything else is OpenJDK runtime internals which don't impact the language or how you use it. So if you don't use OpenJDK (such as if you use Oracle's other runtime, GraalVM), then Java 27 basically doesn't even exist at all. Skimming the past couple of C# releases, it doesn't look like Microsoft is playing that game, so the release cadence will of course be different.

kllrnohj··on StarCraft returns in 2030 as an open-world shooter
> GTA 6 preorders beat that in like a week and the game isn't even out and no gameplay footage was even show.

Really? That's going to be your measuring stick? So anything that isn't as successful as GTA 6 is a failure that shouldn't ever exist again? In fact any genre that isn't as successful as GTA 6 should just be wholesale cancelled?

A game is successful if it makes a profit. Other games making more profit doesn't suddenly make them failures. This isn't a zero-sum game.

> A lot of that player based has aged out of the game

What does this even mean? Gamers don't "age out". We're long past the era of pretending Nintendo is a children's toy...

kllrnohj··on StarCraft returns in 2030 as an open-world shooter
Starcraft 2 was over 6 million sales before its final expansion even came out.

That seems like the obvious player base for a Starcraft 3, and it seems more than large enough for a major release.

kllrnohj··on StarCraft returns in 2030 as an open-world shooter
I don't really get why people just assume RTS means it's going to fail? Like what major RTS games have come out since Starcraft 2 (which was not a critical or commercial flop) that resulted in cementing the genre as being dead & guaranteed to be a commercial failure? Starcraft 2 and it's 2 expansions all broke 1 million sales in less than 24 hours. SC2 was at 6 million sales after 2 years. Yet we're all supposed to just take it as obvious that a SC3 would be a commercial flop? Why the fuck should we assume that?

Meanwhile how many AAA hero shooters and extraction shooters have we watched get released and been massive commercial flops? Yet we don't consider those to be dead genres?

kllrnohj··on JetKVM Mini
it doesn't seem like Windows makes it easy, but it's not really required that mirror'd displays must have the same resolution. Sure can throw fancier and more powerful hardware at it, but this is something software could rather easily do
kllrnohj··on JetKVM Mini
why not just configure Windows to mirror the displays? That seems a lot cheaper and more flexible than pass through. And you wouldn't need to worry about matching resolutions and refresh rates
kllrnohj··on iPhone 18 Pro and iPhone 18 Pro Max
Yes, which is why this doesn't really do much. Readers still have to primarily rely on trust for whether or not they believe the news and who is reporting it.
← PreviousPage 2 of 34Next →