render() {
if (this.dontNeedToRender) {
return null
}
}
Now, because hooks can't be skipped, react developers jump through many hoops to use an if statement during rendering.883 karma · joined May 19, 2013
render() {
if (this.dontNeedToRender) {
return null
}
}
Now, because hooks can't be skipped, react developers jump through many hoops to use an if statement during rendering.I don’t get this at all.
I’d much prefer a team of highly empowered and highly responsible engineers than impotent engineers who need hand holding in case they make a mistake.
For example having all routes under `/admin/*` automatically return an error if the user is not an admin, and then the individual routes don't need to be concerns with access control.
There’s also folks that pair because they’re a crutch for one or two other engineers. The other engineers never improve or are let go, but softly slow down the team.
There’s also the folks that pair because their code doesn’t make sense on its own. Or they have some config files they’ve refused to check into the repo, etc.
Pairing makes them feel valuable.
I think junior devs often don’t realize they should be reading the source of the libraries they use.
Early models were censored, making uncensored releases have bad optics.
If the first models had been uncensored, no one would care if another was added.
> If you want to prompt with more than one image, you must include a <start_of_image> tag for each image included in your prompt.
From here: https://github.com/google/generative-ai-docs/blob/78688755db...
It might be hard to understand the value prop because it seems like a commodity… but that’s exactly the value prop: a commodity that works well, is priced right, and you don’t need to worry about using some weird toolset or rolling your own infrastructure.
I have a chronic disease, not fatal, and totally manageable. But the most annoying thing is when someone finds out and suddenly pretends to be the expert.
Of course my doctors and I investigating it for years were completely wrong! I should’ve ate more apricots!
Please just check with them if they want their limited time spent like that.
Encapsulated and managed state is just fine.
In one camp is ineffective philanthropy pretending to be effective. In the other camp is actually effective philanthropy.
What makes is problematic is when the ineffective philanthropist is using the philanthropy to line their own pockets.
For my last project I chose hono over trpc and ts-rest because I couldn’t figure out how to get the trpc and ts-rest type system to play nice with my other libraries.
I’m happy to see more frameworks have a “works out of the box with no config” philosophy, like bun.