Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
5Qn8mNbc2FNCiVV
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
5Qn8mNbc2FNCiVV
5mo ago
I wish there was a config to error when a inferred type is either Any or Unknown so we can spot these locations. The report has it, but seeing it in the IDE would be great
2.
▲
by
5Qn8mNbc2FNCiVV
5mo ago
Not trying to promote too much I don't even get anything out of it, but I've been using a slopfork for a while now and it's great. A few flaws obviously since slopped over the weekend, but it's good enough. https:/
3.
▲
by
5Qn8mNbc2FNCiVV
8mo ago
I mean, maybe he was a revolutionary. One could describe what Vercel is selling as some kind of "wget optimizer" as well
4.
▲
by
5Qn8mNbc2FNCiVV
9mo ago
Do you mind sharing the prompts? Would be greatly appreciated
5.
▲
by
5Qn8mNbc2FNCiVV
1y ago
I would 100% do it anytime because at some point enough is enough and you as the lead should have the backbone to put him into place. Best things is he shuts up forever, worst thing is he get's pissed off, goes to the manager and the m
6.
▲
by
5Qn8mNbc2FNCiVV
1y ago
I've had some PRs that would have required a ton of comments. There are usually two ways I handle this: If the PR went in a completely different direction and missed the goal by a lot, I take ownership of it (with a brief explanation)
7.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Next time tell him that if he isn't going to provide something constructive to the meeting, that he won't be allowed to join further ones. As long as you make it clear from your tone and wording, that this is not you being aggress
8.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Not sure couldn't it just have been multiple different tokens/sessions and based on the request, use the correct one? It obviously only solves the issue specifically for multi-tenancy, but if that meant being able to stay on RBAC
9.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Couldn't this be done in some way when validation exists, that the same validation is used to create a "better" placeholder value that may be able to be used with specific conditional functions? (eq(), includes(), etc.)
10.
▲
by
5Qn8mNbc2FNCiVV
1y ago
I'm wondering how history could have been if Hitler had access to nuclear weapons / empathy given by a super power. This is a step forward, but what's the way forward?
11.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Well, CloudnativePG exists and it works really really well. At some point if you can afford to have someone manage your databases separately from your applications, you can think about putting it outside the cluster but I'd wager at so
12.
▲
by
5Qn8mNbc2FNCiVV
1y ago
You'd have to reach the same instance for your next request. Easier to just tell clients that they get returned a header that they should attach to their requests so the backend can route their reads to the primary for some time until
13.
▲
by
5Qn8mNbc2FNCiVV
1y ago
The trick is to not worry about useMemo and useCallback because it's rarely an issue unless you have 800 line components or don't compose but rather treat everything as if it was inheritance. I've got pretty sizeable codebase
14.
▲
by
5Qn8mNbc2FNCiVV
1y ago
I'd rather break my hands than use Svelte instead of React again. It comes with so many problems of itself. Summarized in a single sentence though it would be: It's more common than you'd like it to be, that your UI doesn
15.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Too bad that the Supertokens docs became an absolute dumpster fire with their "recipes" and reading the source made me lose confidence in the product's quality to rely on. Not saying better-auth is strictly better, but at lea
16.
▲
by
5Qn8mNbc2FNCiVV
1y ago
This seems blown out of proportion. Anyone who knows how streaming in React works knows, that you can't stream your HTML line by line. And there was the need to not block first paint (HTML, not JS) just because of metadata. It's r
17.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Yeah ok guess I misremembered it a bit but I was curious too and found the previous one I've thought of: https://news.ycombinator.com/item?id=43795406
18.
▲
by
5Qn8mNbc2FNCiVV
1y ago
This feels eerily similar to a post I've read a within the last month. Either I'm having a deja vu, it's a coincidence that the same exact story is mentioned or theres something else going on
19.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Just press the button and get a coffee and press it again (after 5 minutes), the second time it'll be instantly revoked.
20.
▲
by
5Qn8mNbc2FNCiVV
1y ago
I enjoyed the hero section, made it clear to me. Checked the pricing, a different comment said raice the price, but I think I personally would be scared off if there was only a high price. I jumped back to the homepage and saw multi-account
21.
▲
by
5Qn8mNbc2FNCiVV
1y ago
But it doesn't matter because they are transitively being used by virtue of Vercel/Supabase being on them. They could definitely charge more, that's for sure, but it's not like they don't get a pretty penny from oth
22.
▲
by
5Qn8mNbc2FNCiVV
1y ago
It's just a client library, what's the alternative, put a proxy in front that drops 90% of the events
23.
▲
by
5Qn8mNbc2FNCiVV
1y ago
That's the thing, this brings the benefits of GraphQL without requiring GraphQL (+Relay). This was one of the main drivers of RSC (afaik). Obviously if you have a GraphQL backend, you could care less and the only benefit you'd get
24.
▲
by
5Qn8mNbc2FNCiVV
1y ago
Using it right now, the community feels non-existent and the documentation is as barebones as it gets. Luckily my requirements are easy since I only need schema-based sharding so from an operations perspective, it's "just" ma
25.
▲
by
5Qn8mNbc2FNCiVV
2y ago
Commented elsewhere, sorry should have clarified. Just a bit of text, mostly a bit of context of the requirements, potential edge cases and then an ordered list of steps
26.
▲
by
5Qn8mNbc2FNCiVV
2y ago
Text, just an ordered list of steps
27.
▲
by
5Qn8mNbc2FNCiVV
2y ago
From the post: All diagrams that look like the top image or the mermaid example after the complex one, could just be a list of steps. For the complex one, maybe yes, it makes sense to have an overview and I think maintaining that vs text is
28.
▲
by
5Qn8mNbc2FNCiVV
2y ago
Never seen a bigger waste of time than when my colleague (who was given more authority for some reason) tried establishing Mermaid as our go-to diagramming tool for the company. Had no real benefits, was way more cumbersome for almost every
29.
▲
by
5Qn8mNbc2FNCiVV
2y ago
I don't see the issue this attempts to solve. The one thing mentioned is caching, but you shouldn't mix caches of different users (or user groups) anyways if f.e. you encode a user's access privilege in the query. This howeve
30.
▲
by
5Qn8mNbc2FNCiVV
2y ago
The issue is, everyone uses middleware because Next.js doesn't provide a primitive for a middleware like how it's done for any other framework. Just something to execute before your endpoint, that's it. They haven't had
More ›