Better HN
topnewbestaskshowjobs
Log inSign up

MForster

632 karma · joined Aug 29, 2022 (4y ago) · 50 submissions

Submissions

comment 1w ago · link · parent

to complicate = to make more complex

If something is complex, you have to deal with it. But to complicate things is to be avoided.

comment 4mo ago · link · parent

I suspect it's more the tech companies themselves. For example, Google has a sizable office in Munich. I'm not sure if BMW would let most of their employees travel business class...

comment 4mo ago · link · parent

MUC -> SFO direct for 10 days in August: consistently 682$ in economy. Nothing under 5k$ in business, some days considerably more expensive.

comment 6mo ago · link · parent

He didn't say that.

comment 7mo ago · link · parent

The sentence that you quoted is more generic. The Zig issue is only one example of "some reason".

comment 7mo ago · link · parent

Or the GEZ... :-)

comment 8mo ago · link · parent

It also equals x with appropriate assumptions (x > 0).

comment 1y ago · link · parent

You are talking about spatial safety. There are a few other types of memory safety:

- temporal safety (e.g. no use after free) - initialization safety (no read of initialized memory) - thread safety (no data races) - type safety (accessing memory with the correct type)

comment 1y ago · link · parent

> The main things that drives me crazy about jj is that all changes are always staged implicitly.

That's one way to look at it, but I would encourage you to think about it a bit differently.

JJ does not have a concept of "staging", it only has changes and commits. Yes, it automatically snapshots the workspace commit, but I wouldn't use the workspace commit as your staging area. If you want to do explicit staging use the parent commit (@-) as your staging area. You can move changes from the workspace commit (@) to the staging area (@-) explicitly, just like in Git. And you can "commit" (Git terminology) your staging area by starting a new staging area.

The difference here really is "only" that the workspace, the index, and committed changes are modeled with the same concept. And that is very powerful. Admittedly you have to make an informed decision on how to map your workflows onto the model, but that is what comes with the powerful flexibility that it gives you.

comment 1y ago · link · parent

You don't even need to re-clone. You can add jj to an existing git repo.

comment 1y ago · link · parent

The CDU has moved from very right to less right, but still right-of-center under Merkel. After Merkel they have moved back right, maybe even more than they were to compete with the extremists.

comment 1y ago · link · parent

It's quite the opposite. This is intended for engineers to make good trade-off decisions as a rule of thumb without financial micromanaging.

comment 1y ago · link · parent

You can still use a similar workflow as with the index. The difference is that the staging area is modeled as a commit, so it's not another concept that will take a while to grok.

Same with the working copy.

comment 1y ago · link · parent

https://jj-vcs.github.io/jj/latest/sapling-comparison/

15.

Factorio 2.0 and Factorio Space Age DLC Release(factorio.com ↗)

17 points · by MForster · 2y ago · 1 comment

comment 2y ago · link · parent

And here I was expecting that I could edit the text and the app would change the audio file to say what I had typed...

comment 2y ago · link · parent

It's multiple locks, first up, then down. The middle section is at a higher altitude than the ocean on both sides

comment 2y ago · link · parent

Is it because of the enemies?

FWIW, you can turn them off. I always play with them disabled. Just not what I'm interested in. You might enjoy that, too.

I also enjoyed shapez, but it's no comparison to the depth of Factorio, especially with mods.

comment 2y ago · link · parent

This is not at all what Google does, though.

comment 2y ago · link · parent

This looks great.

Would be even better if it lived in VSCode, auto-syncing with my DDL files...

21.

Full Stack Rust with Leptos(benw.is ↗)

2 points · by MForster · 2y ago · discuss

comment 2y ago · link · parent

Rust by default doesn't do reference counting.

You can opt into reference counting with `std::rc::Rc`. (You can even opt into mark-and-sweep GC using the `gc` crate, but this isn't done much...).

23.

Map of the IPv4 Internet(map.bgp.tools ↗)

2 points · by MForster · 2y ago · 1 comment

comment 3y ago · link · parent

Yes, that's what I did (and said so in the top post)

comment 3y ago · link · parent

I get moderation of replies. But I choose myself who I follow. Nobody needs to moderate that.

comment 3y ago · link · parent

I think that's the wrong analogy. It's more: Why does a landlord not get a say in who their tenants invite to dinner?

comment 3y ago · link · parent

Why do admins get a say in who their users follow in the first place? As long as the content isn't illegal or challenges the stability of the instance this should be up to the users alone.

This issue alone made me set up my own instance, but many users don't have that option.

28.

Bjarne Stroustrup and others on C++ Safety [pdf](open-std.org ↗)

5 points · by MForster · 3y ago · discuss

12