Better HN
topnewbestaskshowjobs
Log inSign up

csande17

4,528 karma · joined Mar 23, 2015 (11y ago) · 931 submissions

Opinions expressed here do not reflect the views of my employer or its customers, partners, or minions. I'm not a lawyer.
Submissions

comment 4d ago · link · parent

> They're claiming better performance per watt, not better absolute performance

I shouldn't have to read this far into the tea leaves to figure out what performance claims a company is making, but these facts combined sound like they're claiming much better absolute performance, too?

> Each Frostbite quad (a two-by-two grid of tiles) paired with four L3 nodes is 0.792 mm².

> This TCPU [the one they benchmarked against] is 0.895 mm² at the same process.

> Across all the workloads, we average an 8.77x performance-per-area

It got 8.77x performance per area, and was 88% of the area, so that's 7.76x actual performance, right?

Not that "a parallel processor outperformed a single-core processor on parallelizable tasks" is the most earth-shattering relevation in the world, especially when they won't say which single-core processor "for legal reasons".

comment 1w ago · link · parent

On the bright side, the article claims Lean has built-in tools to do 2-4 as long as you have enough RAM. In particular, there's a formally verified alternative implementation of Lean's checker that would theoretically rule out 4.

That implementation seems to be vibe-coded/vibe-proven in Lean itself (assuming the "con-leche" that my quick Google search turned up is the one he's talking about), so it's kind of turtles all the way down, but it does decrease the chance that a program could be exploiting both a Lean bug and a con-leche bug.

comment 1w ago · link · parent

The problem isn't that Rust doesn't have bugs in it. The problem is when people try to say that Rust is an "implementation" of some thing that does not have bugs. This is only true because it's not possible for there to be bugs in a standard which does not exist. It creates the impression that the Rust team did design work that they have not actually done yet.

"But my mental model of Rust is not detailed enough to notice the bugs!" That's great, but that's also true of every bug, including the ones that are caused by major design defects, so it's not really saying much.

comment 1w ago · link · parent

I am referring to the one that exists in material reality, and not just the collective imagination of the people making this dishonest argument.

comment 1w ago · link · parent

If your intuitive understanding of Rust is that its type system "obviously works", then you have developed an incorrect understanding! There are many documented cases where it does not work, and there is an active project to change its design so it works in more cases.

I don't think we should accept this kind of vibes-based reasoning from C programmers who are confident their programs don't have any memory bugs, and we shouldn't accept it from people trying to sell us programming languages either.

I think it's reasonable to say that Rust successfully prevents a lot of memory issues, and that it's it's a good choice for lots of projects. But it frustrates me when people try to dishonestly argue that it's perfect and then retreat to arguing that the implementation is flawed but the design is perfect, because neither statement is true but they take a lot of oxygen away from efforts to improve the situation.

comment 1w ago · link · parent

> the fundamental model that the Rust compiler and standard library attempt to implement is safe and correct by construction

This comes up a lot as a defensive argument too, but it's also pretty frustrating, because Rust's "fundamental model" is not a thing that really exists. There are project proposals to create one (such as https://goals.rust-lang.org/2026/roadmap-project-zero.html#), but at the moment it's just a vague set of vibes people gesture towards to dismiss all the problems with Rust-as-actually-implemented.

comment 1mo ago · link · parent

Is this the new normal, or just, uh, normal?

Big embarrassing network-exploitable bugs in major open-source projects happen sometimes, and network-scanning attack botnets have been around forever. Small shady CAs mess things up sometimes. People upload malware to PyPI and NPM all the time, and "move fast and break things" software-deployment startups get breached all the time, to the point where it doesn't even really feel like news to me when those things happen again.

It's unfortunate that a few of those events all happened at around the same time. But, like, even if that's not a coincidence and these events are actually happening more frequently, you should have been preparing for them anyway!

comment 1mo ago · link · parent

For what it's worth, the actual search backend seems to be implemented in the separate "GeoData" extension: https://www.mediawiki.org/wiki/Extension:GeoData

That extension exposes a public API that allows setting any search radius up to 10 km ( https://en.wikipedia.org/w/api.php?action=help&modules=query... ), so presumably there's no barrier to making the search radius smaller, but maybe there'd be performance issues if you allowed making it larger.

(NearbyPages just embeds a Vue app into the page that makes a client-side fetch() call to invoke that API with a hard-coded radius.)

comment 1mo ago · link · parent

Traditionally, the Gentoo package manager didn't actually compile the Linux kernel at all. Instead it just extracted the source code to a folder on your hard drive and you were supposed to go configure, build, and install it yourself. Gentoo Wiki pages would list out the options you had to go set in the `make menuconfig` menu to get specific software to work.

These days there is a package that builds the kernel for you, but it relies on the "savedconfig" system to just save/load the entire kernel config file instead of using USE flags. So you still have to root around in the config menu yourself to change things.

In my experience Linux is very good at correctly declaring dependencies between options, and still working with options disabled, so this isn't as much of a problem as it seems to be for Chromium.

comment 1mo ago · link · parent

The main reason to use libraries like this is because you can't put media queries or pseudoclasses like :hover inline in a style="" attribute.

(I mean, this particular library seems to be one of those AI-generated ghost town projects that has stuff like a big fancy GOVERNANCE.md but no actual user or contributor community, but that's the strongest reason I've heard to use things like Tailwind.)

comment 1mo ago · link · parent

Sure, but in Rust's case the social understanding is "there exists some type system that guarantees perfect memory safety, and has the general aesthetic features associated with rustc's type system, and 'Rust' is defined to be whatever that type system ends up being".

This is a nice ideal, but it doesn't actually exist in concrete terms as a design. It can never have flaws because the definition of it is just "rustc without all the flaws".

comment 1mo ago · link · parent

The true specification was inside our hearts all along!

comment 1mo ago · link · parent

I'm not an expert on the Java specification, but my understanding is that Java as a language is well-defined enough that we can say things like "Java's type system is unsound", independently from any specific implementation of Java.

You can't do that with Rust because "Rust's type system" is literally just the vague concept of "a type system that is safe". The implementation of this ideal in rustc can have flaws, but Rust itself cannot, because Rust itself has no flaws by definition.

comment 1mo ago · link · parent

Yes. When people describe Rust as "a memory-safe programming language" they are describing an aspirational vision, and not a programming language that has actually been designed with sufficient rigor to guarantee memory safety. Any failure of rustc to actually guarantee this is just a bug in rustc itself, a failure to properly implement the Rust spec, because the closest thing Rust has to a spec is literally just the vague ideal that the compiler should guarantee safety somehow.

Rust cannot fail, it can only be failed.

comment 1mo ago · link · parent

If that's the definition you're using, then C is also a safe programming language. In fact, C is even safer, because it actually does have a specification that lists all the invariants that the programmer has to uphold themselves because the compiler doesn't check them.

comment 1mo ago · link · parent

Simple: when data is added to S3, immediately bill the full cost of storing that data until the end of the month (or fail the upload request if there's not enough quota left). If the data is deleted before the end of the month, refund the remaining storage time.

To prevent cases where users can upload an excessive amount of data on March 31 that they then can't afford the April bill for, AWS should also maintain a "next month's balance" limit that gets handled in the same way.

It would take a bit more work to correctly handle things like ephemeral data and tiered storage classes, but it's not insurmountable.

You could apply the same kind of billing to most other long-lived resources, including VMs that run business-critical services.

comment 1mo ago · link · parent

In the old versions of Alexa and Google Assistant (before LLMs), you could memorize a couple of voice commands that they'd reliably recognize to do a really basic task. If you need an oven timer but you've got meat juice on your hands, you yell, "Alexa, set a 30-minute timer!" If you want to turn your bedroom lights on without fumbling in the dark, you yell, "Hey Google, turn on my lights!". That was, like, the main thing they were sold for.

But then Google changed the default voice assistant on Android to use Gemini. So instead of relying on hard-coded "if the user says this exact phrase, do the thing we said would happen" conditions, people now have to hope the model's smart enough to figure what "turn on my lights" means from first principles every single time.

comment 1mo ago · link · parent

I think GP was talking about backup apps that run on the iPhone/iPad itself.

It's still possible to back up an iPhone to a jailbroken computer, using roughly the same iTunes sync system that was available on iPods. For now.

comment 1mo ago · link · parent

He sees the value of using LLMs... only after performing NASA-level verification and fully comprehensive fuzzing using traditional tools. Since Zig has not done those things, LLM-generated bugs are still banned.

comment 2mo ago · link · parent

You're not really trading a future, you're just pre-ordering onions.

comment 2mo ago · link · parent

Even if you take that website at face value, the ELO scores shown are relative to the other AI models tested, and not comparable to the ELO scores of humans who play against other humans.

comment 2mo ago · link · parent

FWIW, I also got a bit of an LLM vibe skimming the changelog. In particular, the section about Linux sandboxing jumped out at me:

> Status in 7.0.0: kernels without Landlock continue working without Linux sandboxing in the less secure pre-6.0.0 configuration; brew doctor reports missing protection as an advisory.

> No replacement opt-out; unavailable Landlock remains advisory.

With that being said, I can kind of see why "eliminate all traces of AI writing styles" wouldn't be a goal of the review/editing process. I've been out of the Apple ecosystem for a while, but I imagine Homebrew has enthusiastically adopted LLMs for a lot of tasks. If the public communications reflect that, then people who don't like LLMs can bounce immediately, rather than getting invested in the project and feeling betrayed later.

comment 2mo ago · link · parent

If you say "AI tools", some vibe-coders try to equivocate between tools that generate the whole program for you and, like, an editor that uses an scoring algorithm to decide which method to show at the top of an autocomplete list. But if you say "vibe coding", some vibe-coders try to claim that what they're doing technically isn't vibe coding because they applied some non-zero amount of testing or review during the process.

If you ask "did you build this using Codex or Claude", it removes most of the wiggle room. And it's worded pretty neutrally, so it will often get vibe-coders who aren't technically using either of those tools to say something like, "Actually, I've built a custom harness for DeepSeek..." instead of an outright denial.

comment 2mo ago · link · parent

You're absolutely right! Let's delve deeper...

comment 2mo ago · link · parent

There were too many meetings, so they got rid of the people whose jobs were to create lots of meetings.

comment 2mo ago · link · parent

The devlog is the very first place changes get written about when they land in Zig's master branch (and sometimes even before!), so presumably zig.guide will mention this change once it actually makes it into a release.
12345
32