Recent submissions

Comment · 2 years ago
Fascinating how Cuba is still standing in spite of all embargoes.
Comment · 2 years ago
... the obligatory "historical context" nobody asked for.
Comment · 2 years ago
If you want to use this pattern, you'll probably end up with a lot of duplicated code e.g. for SQL query builders. I could imagine that Rust makes this kind of pattern easier due to traits and macros. A lot of languages do not have these features.

And then of course Rust people care about correctness more in general.

Comment · 2 years ago
It also seems to have the same concurrency issues as described in the article. At least from my experience the "database is locked" error appears quite often.
Comment · 2 years ago
Usually, I go with openapi-generator and pick the typescript-fetch template. You can use that with whatever js-based frontend framework you want.
Comment · 2 years ago
> writing a lot of boilerplate code to connect the frontend and backend.

OpenAPI. django-ninja supports it out of the box.

Comment · 2 years ago
> ... very low user adoption of Home Screen web apps.

Well, if nobody wants to play with our total clusterfuck of inconsistent APIs, we might as well drop support for them >:(

Comment · 2 years ago
so why is nobody implementing stuff in smalltalk?
Comment · 2 years ago
Well, that comment is definitely "masculine"
Comment · 2 years ago
As long as casinos are a thing, Bitcoin stays a thing.
Comment · 2 years ago
Well, I don't.
Comment · 3 years ago
`panic` has nothing to do with error handling though. If you use it, you know that your callers cannot recover from it.

Throwing an exception implicitly delegates error handling back to the caller, but they are not even notified about it. (talking about OCaml)

Comment · 3 years ago
People say that OCaml is like Rust, but unlike Rust, OCaml has Exceptions that could appear everywhere. How is that safe?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton