Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
frodowtf
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
frodowtf
2y ago
Fascinating how Cuba is still standing in spite of all embargoes.
2.
▲
by
frodowtf
2y ago
... the obligatory "historical context" nobody asked for.
3.
▲
by
frodowtf
2y 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 the
4.
▲
by
frodowtf
2y 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.
5.
▲
by
frodowtf
2y 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.
6.
▲
by
frodowtf
2y ago
> writing a lot of boilerplate code to connect the frontend and backend. OpenAPI. django-ninja supports it out of the box.
7.
▲
by
frodowtf
3y 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 >:(
8.
▲
by
frodowtf
3y ago
so why is nobody implementing stuff in smalltalk?
9.
▲
by
frodowtf
3y ago
Well, that comment is definitely "masculine"
10.
▲
by
frodowtf
3y ago
As long as casinos are a thing, Bitcoin stays a thing.
11.
▲
by
frodowtf
3y ago
Well, I don't.
12.
▲
by
frodowtf
3y 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. (
13.
▲
by
frodowtf
3y ago
People say that OCaml is like Rust, but unlike Rust, OCaml has Exceptions that could appear everywhere. How is that safe?
14.
▲
by
frodowtf
3y ago
> food is painfully bland You mean like... not invested with tons of sugar? What kind of bland are we talking about?
15.
▲
by
frodowtf
3y ago
It's time to stop.
16.
▲
by
frodowtf
3y ago
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/
17.
▲
by
frodowtf
3y ago
Pretty sure the maintainer is also a Discord mod.
18.
▲
by
frodowtf
3y ago
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.
19.
▲
by
frodowtf
3y ago
"Can't" as in "don't want to"
20.
▲
by
frodowtf
3y ago
Sir, watch out! Your monocle is about to drop into the scotch!
21.
▲
by
frodowtf
3y ago
Date guys. Problem solved.
22.
▲
by
frodowtf
3y ago
I don't get why GitHub doesn't adopt it and make it a standard. Especially the lack of caches is annoying.
23.
▲
by
frodowtf
3y ago
Funny, I also thought of Vue immediately.
24.
▲
by
frodowtf
3y ago
Can we agree on not posting anything directly from twitter? It's absolutely useless without an account.
25.
▲
by
frodowtf
3y ago
Or you use the correct types and avoid these "problems" alltogether. It's not possible to bake in a cold oven. Why does your type allow it then? Why don't you encode the state directly? oven := ColdOven.heat() bake
26.
▲
by
frodowtf
3y ago
As a 13 year old, I can confirm that we always mention our age before anyone asks.
27.
▲
by
frodowtf
3y ago
> ... it's not intuitive how deep I am within nested scopes The ONLY piece of information that is available to you regardless of how deep you are into a function is INDENTATION. Your curly braces won't help you. Besides that,
28.
▲
by
frodowtf
3y ago
Indentation provides visual structure. Matching braces hardly add value to it.
29.
▲
by
frodowtf
3y ago
It will always stay "Twitter" simply because you cannot use a search engine with "X"
30.
▲
by
frodowtf
3y ago
why?
More ›