HackerTrans
TopNewTrendsCommentsPastAskShowJobs

frodowtf

no profile record

comments

frodowtf
·2 ปีที่แล้ว·discuss
[flagged]
frodowtf
·2 ปีที่แล้ว·discuss
Fascinating how Cuba is still standing in spite of all embargoes.
frodowtf
·2 ปีที่แล้ว·discuss
... the obligatory "historical context" nobody asked for.
frodowtf
·2 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·discuss
> writing a lot of boilerplate code to connect the frontend and backend.

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

You mean like... not invested with tons of sugar? What kind of bland are we talking about?
frodowtf
·3 ปีที่แล้ว·discuss
It's time to stop.
frodowtf
·3 ปีที่แล้ว·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 ปีที่แล้ว·discuss
Do you need to do aggregations/scans on the table as well or is it mostly direct row accesses?
frodowtf
·3 ปีที่แล้ว·discuss
Wow. Great progress! Recently, I was wondering why gitea does not have a GitHub Actions alternative. What a timing.

BTW, a colleague of mine told me that GitHub Actions wasn't supposed to be a CI/CD alternative at the time when it was released. I couldn't find any note on that online. Is it true?