Recent submissions

Comment · 1 year ago
When not per tenant you still have this problem, and typically resolve by releasing database migrations separately to the code that uses changes (ensuring backwards compatibility).

I guess per-tenant you would handle similarly but build some tooling to monitor the state of migrations. It might even be easier in some ways, as you might be more able to take table locks when migrating per-tenant.

Comment · 2 years ago
Confessionalism is probably just as large a confounder as communism in this context though..
Comment · 3 years ago
Comment · 3 years ago
I could see a combination of this approach and one of the audit approaches like `cargo crev` working well in the unsafe case:

- Require audit if there is new unsafe code

- Otherwise, rely on cackle to enforce no use of fs/net etc in safe Rust

This could provide the best of both worlds, automating most of the audit burden while still providing strong guarantees.

Comment · 3 years ago
The lenders will come out alright. Even if the utilities end up being renationalised their debt will be converted into government bonds. The mugs here are the public, which end up paying to service the debt that has been used to issue dividends.
Comment · 4 years ago
https://ourworldindata.org/grapher/carbon-intensity-electric...

With an ageing nuclear fleet built mostly in the 70s and 80s France has the cleanest electricity of any country in Europe (except those with abundant hydro).

Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Comment · 5 years ago
Comment · 5 years ago
Comment · 6 years ago
Comment · 6 years ago
This isn't quite the same, because it's just an alias - you can pass a UserID to a function accepting a PostID: https://play.golang.org/p/nSOgcJs_66y

It still provides a documentation benefit of course.

EDIT: Whoops, yes, as lentil points out, they are indeed distinct types not aliases. So it does provide the benefit of the Rust solution.

Comment · 6 years ago
We have to register to vote in the UK: https://www.gov.uk/electoral-register

The same sort of dogwhistles about 'voter fraud' have been getting airtime in the media as well so I'm sure it won't be long before we have widespread disenfranchisement, just like in the US.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton