Hacker Newsnew | past | comments | ask | show | jobs | submit | nottorp's commentslogin

Are they sure it's because Rust? Perhaps if they rewrite Protobuf in Rust it will be as slow as the current implementation.

They changed the persistence system completely. Looks like from a generic solution to something specific to what they're carrying across the wire.

They could have done it in Lua and it would have been 3x faster.


If they made the headline something on the line of "replacing protobuf with a native, optimized implementation" would not get the same attention as putting rust in the title to attract the everything-in-rust-is-better crowd.

That never happens. Instead, it always attracts the opposite group, the Rust complainers, where they go and complain about how "the everything-in-rust-is-better crowd created yet another fake headline to pretend that Rust is the panacea". Which results in a lot of engagement. Old ragebait trick.

At the very least it gets more upvotes.

Well it is keyword for RSS feeds.

"never" huh?

It's devbait, not many of us can resist bikeshedding about the title which obviously doesn't accurately reflect the article contents. And the article contents are self-aware enough to admit this to itself too, yet the title remains.

I was equally confused by the headline.

I wonder if it's just poorly worded and they meant to say something like "Replacing Protobuf with some native calls [in Rust]".


Correct, this has very little to do with Rust. But it wouldn't have made the front page without it.

Bingo

The title would suggest that it was already written in Rust; that it was the rewrite in Go that brought five times faster.

Yes you are absolutely right. The article even outright admits that Rust had nothing to do with it. From the article:

> Protobuf is fast, but not using Protobuf is faster.

The blog post reads like an unserious attempt to repeat a Rust meme.


Never let realism get in the way of game play :)

Incidentally, when I last played Banished there was a loophole in its simulation and you could just build a few modules consisting of like 3 or 4 basic buildings and that solved all your survival problems with no need for later intervention.

Gamers gonna optimize.


> Maybe he means British or French peasants?

He's a professional historian who ... unthinkable i know ... cites his sources in every article.


Medical? What's the point? I'm happy with 98% of doctors being able to handle known conditions and only the few percent that are really interested to do research.

It makes the university look better if they do a lot of 'research' even if it's fake. There's not a real reason a doctor needs to do research for an MD.

You don't sound like a LLM :)

If you needed 8 hour overlap you were micromanaging?

Was that because of the above cultural differences?


He didn't need 8 hours, but zero didn't work. The us and india are about 12 hours apart (there are 4 times zones in the us, day light savings time, and india is offset half an hour, but it rounds out to 12 hours for discussion)

> If you needed 8 hour overlap you were micromanaging?

...ok. I didn't need 8 hours of overlap.

As I mentioned in my first comment, I've also now done US/EU and EU/IN. Both of which have only partial overlap and things have gone well.

With US West Coast and India, I was often doing meetings at 7AM and my devs were doing meetings at 9 or 10PM. That was challenging, irrespective of any cultural differences.


Wouldn't it be more useful if you made it play all those "free" IAP fests?

Leave Claude grind smurf tokens on your phone while you sleep.


I always wondered why. Now I finally know that it auto runs code in that folder.

Who thought this is a good idea and why wasn't it specified in ALL CAPS in that dialog?

Is it even documented anywhere?

Very infrequent vscode user here, beginning to think it's some kind of Eclipse.


I mean it's not in caps, but it's literally the first line in the dialog after the header:

https://code.visualstudio.com/docs/editing/workspaces/worksp...

I'm big on user first, if that dialog had sirens blaring, a gif and ten arrows pointing that "THIS MAY EXECUTE CODE" and people still didn't get the idea, I'd say it needs fixing. It can't be said that they didn't try or that they hid it though.


>"THIS MAY EXECUTE CODE"

So at the end of the day its still unclear whether it executes code or not? Just say "this WILL execute code" and specify exactly which code it tries to execute by default.


I don't know about you people, but I always read this as "it may execute code if you run a build step".

Not "I will execute autorun.inf like an idiot."

And NO. I do not want my IDE to execute code when i open files for editing. I want it to execute code only as part of an explicit step that I initiate.


> with a single and simple set of rules that will apply seamlessly all over our Union

For one, I'm worried about what simple means. Likely something that will not make it as cheap to operate in every EU country, but make it as expensive to do that.

Also, whatever the EU commission/council/whatever they call themselves in order to not call themselves government decides has to be translated into local legislation by all member countries. So it will get twisted in 27 different ways, some of them incompatible. Also 9 of the 27 will take years to finish the process.


Maybe the implementation will be challenging in one aspect or another but are there any reasons why you would you rather keep the current patchwork?

> For one, I'm worried about what simple means. Likely something that will not make it as cheap to operate in every EU country, but make it as expensive to do that.

I mean, if that's the case, no-one will use that structure.

In general, having a single set of rules makes things cheaper. That is the whole basis of standardisation.

> Also 9 of the 27 will take years to finish the process.

You're thinking of directives. I'd assume this will be a regulation (quick guide to the differences here: https://european-union.europa.eu/institutions-law-budget/law... )


> quick guide to the differences here

They're trying so hard to not call themselves a government that they renamed everything so it doesn't sound like what a government does. Maybe they should start with fixing that...

For the record i am in the EU and I think the EU is generally a good thing. Doesn't mean the "commisioners/ministers/whatever" couldn't use a few kicks to bring them more down to earth.


Remember the attempted EU constitution? They discovered at that point that looking too much like a government made the nationalists _very_ upset, so it was recast as the Lisbon treaty (not a constitution, we promise!). A lot of the can't-believe-it's-not-a-government stuff stems from that debacle.

Why deleted_at?

We have soft_deleted as boolean which excludes data from all queries and last_updated which a particular query can use if it needs to.

If over 50% of your data is soft deleted then it's more like historical data for archiving purposes and yes, you need to move it somewhere else. But then maybe you shouldn't use soft delete for it but a separate "archive" procedure?


Are you asking why we wouldn’t use 'last_updated' to store when the record was deleted?

One reason is that you might want to know when it was last updated before it was deleted.


No, more like why you'd use a more expensive filter to hide soft deleted data, instead of just a flag.

Checking whether `deleted_at is null` should be extremely cheap, and it avoids the duplication and desynchronisation of having both “deleted” and “deleted_at”.

Yes, if your database has null. I know this is about postgres, but a lot of stuff is nosql now.

Even in MongoDB, you can can index `null` values, so I don't understand in what database system this would be a problem.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: