Better HN
topnewbestaskshowjobs
Log inSign up

sunshowers

3,104 karma · joined Oct 10, 2023 (3y ago) · 1,123 submissions

Rust person, eng @ Oxide, nextest maintainer, they/she. former vcs dev (you should use jj!)

hn at <username>.io

Submissions

comment 4h ago · link · parent

I agree that the focus on results over understanding is not good (here in math, or in software for that matter; see vibecoding). But they are not right, and we have a formal artifact showing RH is true.

comment 4h ago · link · parent

> It looks to have major issues such as statements that simply evaluate as 'TRUE' under any circumstance.

No. That is not a major issue. All it means in the worst case is that you have established that "RH && true" holds. That is equivalent to establishing that RH holds.

Please spend some time understanding how Lean and other formal methods work before spreading misinformation. This is not particularly hard material if you're already a software person.

comment 1d ago · link · parent

I'm using a Framework 13 Pro right now which has haptics?

comment 2d ago · link · parent

I just meant in terms of the magnitude of the problem. I agree that RH was assumed to be true and P vs NP is a somewhat open question with a variety of plausible resolutions.

comment 2d ago · link · parent

True — thanks!

comment 2d ago · link · parent

The core set of things that, if you assume they are correct, the proof holds.

For a non-Lean example, a memory-safe language like Rust has unsafe code that forms its TCB. Assuming that the unsafe code is correct, safe Rust can't cause undefined behavior.

comment 2d ago · link · parent

Sure, and aliens could show up tomorrow as well.

comment 3d ago · link · parent

They can't — any kind of formal verification is always with respect to a TCB — but you can get pretty high assurance through making the TCBs smaller and smaller, and making multiple independent TCBs. The Lean community has done both. I think at this point the chance of there being an error is smaller than the chance that aliens show up in the next year or similar.

comment 4d ago · link · parent

The problem is the idea of getting credit for publishing the first proof, no?

comment 4d ago · link · parent

If you know how big a deal P = NP is, this is like that except for all of math. There are many things in math (in many different areas) that have proofs assuming RH is true.

The statement itself is relatively easy to understand, but it was generally assumed a proof would take centuries.

comment 1w ago · link · parent

A poorly designed one, maybe. My understanding is that the Temporal model is a very recent invention.

comment 1w ago · link · parent

I feel like I've had success aiming for something a lot higher than average!

comment 2w ago · link · parent

In general, literary fiction has a certain artistic prestige associated with it. Sometimes that is because it focuses more on prose and character than on plot, and at other times because it plays with the novel form in some kind of exciting or challenging way. This is as opposed to genre fiction, which might be more of a comfort plot-driven read which isn't aspiring to the highest prose.

Overall I don't really subscribe to this binary between literary and genre fiction -- I think there's a fair bit of speculative fiction that is serious character-driven art, such as the works of Ursula Le Guin and the Fifth Season trilogy by NK Jemisin. I'd also recommend Cloud Atlas by David Mitchell (made into a movie by the Wachowski sisters) as a lovely work of form-bending fiction that's hard to classify as one to the exclusion of the other.

comment 2w ago · link · parent

> I think the best way to proselytize Rust is to finish and deliver good software with it.

I think you might want to look up my body of work, and also lay off on the baseless accusations of sockpuppetry.

comment 2w ago · link · parent

From the post:

> You can very well write a Rust function that returns "*" if the password is too long. But the big difference between C and Rust in this regard is that the norms of the Rust community do not allow that.

comment 2w ago · link · parent

There are two big differences between norms and habits: habits are usually individual while norms apply to a community, and norms have a great deal of social pressure behind them.

comment 2w ago · link · parent

I think if you read the post you will find the answer to your question.

comment 3w ago · link · parent

> Its also faster than Redis for KV

No. Wrong. False. All performance numbers are plainly invalid. As my coworker says, performance numbers don't count if the code is broken.

comment 3w ago · link · parent

I would highly recommend leaving the industry. You are not at the caliber required for this kind of work, and you are not aware that you are not at the caliber required for this kind of work. You bring shame to our profession.

comment 4w ago · link · parent

> jj is in practice a wrapper around Git

No, git-branchless is a wrapper around Git. jj is an independent source control system with git compatibility. jj can, and does, function entirely without git.

> I'm not sure where you're getting two production backends from. I guess you're referring to the Google internal one that nobody can use?

Lots of people within Google use it!

comment 1mo ago · link · parent

It is more powerful and easier to use, for both humans and agents.

comment 1mo ago · link · parent

No, jj is not a wrapper around git. It is a source control system of its own that has git as one of at least two production backends. This distinction matters because git wrappers don't tend to have fundamental concepts of their own like the operation and evolution logs.

comment 1mo ago · link · parent

(I left Meta in September 2022, so I haven't worked there in four years. My current coworkers can attest to the fact that I'm not proud of working at Meta, but I am proud of the world-class nature of what our teams built. In any case, I don't believe my personal feelings about Meta have any bearing on the matter.)

comment 1mo ago · link · parent

This is very similar to the way SCMQuery existed before Mononoke and eventually became served by it. The source control team at Meta was, and is, quite familiar with hybrid deployments of the kind you describe, though of course at longer timescales.

comment 1mo ago · link · parent

I'm not aware of anything published, but the code is open source, and if you're so inclined you can probably point a clanker at it. The second one is called "redaction" in Mononoke, I believe (obliteration is a different term for it, as is censorship).

You are correct that integer sequence numbers and redaction are both reasonable things to want -- we just believed (for a variety of reasons) that the core should be Merkle and that these things should be built on top.

comment 1mo ago · link · parent

These were both solved as part of the data model via globalrevs and obliteration respectively. But that is besides the point here? The next time you're designing a source control system you're welcome to pick your favorite points in the design space.

comment 1mo ago · link · parent

Thanks for the comment. To the best of my knowledge, Piper is not Merkle DAG based, and instead uses a (completely linear?) sequence number similar to Subversion. I believe they ended up faking those hashes for Fig. I'm not actually sure what they do for Jujutsu compatibility, maybe they've added a Merkle layer since.

We were compelled to model things as a DAG to be able to handle the occasional merge commit (this makes the algorithms a lot harder), and we wanted the Merkleness for its desirable properties such as being easily cacheable and straightforward to do integrity checks on. We wrote a bidirectional conversion layer between the Mercurial and Bonsai data models, with great attention paid to complete reversibility. (That's how I got into property-based testing, by the way! My coworker also used Alloy to formally verify the data model.)

The closest equivalent is probably Monotone, actually, though it only had one tree/manifest format which was baked into the changeset, while Mononoke got rid of that and _only_ relied on the changes, flipped the pointer directions, and generalized that to arbitrary kinds of derived data. (This was at the cost of having to maintain mapping layers in a database.)

comment 1mo ago · link · parent

Thanks for the response, Durham. I hope you're doing well. I've always appreciated your magnanimity, but I want to note that this belief is not unanimous among the current source control team at Meta.

comment 1mo ago · link · parent

Thank you for responding. With the new footnote [1], I now believe the attribution is sufficient. I've added a link to it, as well as to your response, as an update to my blog post.

[1] https://www.anthropic.com/engineering/redesigning-source-con...

30.

More on Anthropic's Scion ripping off Mononoke(sunshowers.io ↗)

257 points · by sunshowers · 1mo ago · 91 comments

12345
38