HackerTrans
TopNewTrendsCommentsPastAskShowJobs

frodowtf

no profile record

comments

frodowtf
·2 lata temu·discuss
[flagged]
frodowtf
·2 lata temu·discuss
Fascinating how Cuba is still standing in spite of all embargoes.
frodowtf
·2 lata temu·discuss
... the obligatory "historical context" nobody asked for.
frodowtf
·2 lata temu·discuss
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.
frodowtf
·2 lata temu·discuss
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.
frodowtf
·2 lata temu·discuss
Usually, I go with openapi-generator and pick the typescript-fetch template. You can use that with whatever js-based frontend framework you want.
frodowtf
·2 lata temu·discuss
> writing a lot of boilerplate code to connect the frontend and backend.

OpenAPI. django-ninja supports it out of the box.
frodowtf
·2 lata temu·discuss
> ... 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 >:(
frodowtf
·3 lata temu·discuss
so why is nobody implementing stuff in smalltalk?
frodowtf
·3 lata temu·discuss
Well, that comment is definitely "masculine"
frodowtf
·3 lata temu·discuss
As long as casinos are a thing, Bitcoin stays a thing.
frodowtf
·3 lata temu·discuss
Well, I don't.
frodowtf
·3 lata temu·discuss
`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)
frodowtf
·3 lata temu·discuss
People say that OCaml is like Rust, but unlike Rust, OCaml has Exceptions that could appear everywhere. How is that safe?
frodowtf
·3 lata temu·discuss
> food is painfully bland

You mean like... not invested with tons of sugar? What kind of bland are we talking about?
frodowtf
·3 lata temu·discuss
It's time to stop.
frodowtf
·3 lata temu·discuss
Kysely looks like the thing most people would want. It's not a full ORM though - just a well-typed query builder.

https://kysely.dev/
frodowtf
·3 lata temu·discuss
Pretty sure the maintainer is also a Discord mod.
frodowtf
·3 lata temu·discuss
DRY is by far the most overrated software engineering principle and constantly pushing for it only leads more developers down the way of creating wrong, irreversible abstractions.
frodowtf
·3 lata temu·discuss
"Can't" as in "don't want to"