Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tills13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
361.
▲
by
tills13
5y ago
yeah imo simply changing the variable name of the ref would go a long way, here.
362.
▲
by
tills13
5y ago
Ah, right. It's very obvious in hindsight. Thank you for clarifying.
363.
▲
by
tills13
5y ago
hm, interesting. I didn't know that -- I knew about custom tags / variable tags but never knew it _required_ them to be PascalCased. I feel like if I saw code like this come from one of my team members I'd ask them to change
364.
▲
by
tills13
5y ago
To clarify, I'm not talking about the ref _prop_, I'm talking about them using the ref as the element.
365.
▲
by
tills13
5y ago
I think I blame JavaScript for this mess, not the other way around.
366.
▲
by
tills13
5y ago
Ah, if they're using a custom JSX Pragma it might make sense. Still a little too bespoke for me.
367.
▲
by
tills13
5y ago
Oops, I guess it's not undefined, but it'll attempt to render a ref object. const mesh = useRef() <mesh /> The underlying JavaScript (i.e. not JSX) on the first render , is React.createElement(mesh /* { current: un
368.
▲
by
tills13
5y ago
The ref isn't used in an effect, though, at least not in the provided code.
369.
▲
by
tills13
5y ago
Is there an error in the examples? You have const mesh = useRef() ... <mesh ref={mesh} ... You'll be rendering an undefined element (before the ref has a chance to attach). Also, the TypeScript example makes me h
370.
▲
by
tills13
5y ago
I feel like the author doesn't understand the point of games... Sorry! Your villagers all died by a plague. Game over!
371.
▲
by
tills13
5y ago
Yeesh. This is probably the most pedantic comment I've read on HN. Contributes absolutely nothing to the conversation, here.
372.
▲
by
tills13
5y ago
> does society cut the mooching rich more slack than the mooching poor I think about this constantly. My parents and grandparents are so concerned about a situation where a single undeserving "poor" person is given support that
373.
▲
by
tills13
5y ago
The article mentions he gets his coffee from a local food kitchen. > And don't forget about all the rich people that your tax monies subsidize This is What-about-ism. I can be upset about both.
374.
▲
by
tills13
5y ago
He's not living off _his_ money. He's living off my money -- literally, being a tax-payer in Victoria. Additionally, he's actively using resources designed to help people who are in situations where they cannot work or cannot
375.
▲
by
tills13
5y ago
It's a tax write-off.
376.
▲
by
tills13
5y ago
The issue imo is that it shouldn't require philanthropy from a billionaire to fund these programs, it should be built into the support system provided by a functioning and compassionate society.
377.
▲
by
tills13
5y ago
How the hell is it "revolutionary" to offer a life-saving product for $70. It's free here in Canada. This is nothing more than a PR play -- if they weren't also able to turn a profit on it, they wouldn't have done i
378.
▲
by
tills13
5y ago
I agree with you but don't all the actions you mention turn Twitter into an even larger, more strict echo chamber?
379.
▲
by
tills13
5y ago
So Google taking data from sites and putting it on theirs is "stealing" but Brave doing that is different and Brave taking results from Google is considered "learning" or "training"? Hmm... I'm beginning t
380.
▲
by
tills13
5y ago
> Brave can anonymously check our search results against third-party results Why are we OK with these free services literally stealing Google results? Could you imagine the backlash if it was discovered that Google was doing the same for
381.
▲
by
tills13
5y ago
TBH your personal experience has no bearing on mine. I can't help but feel like people with _opinions_ like yours are going to ruin it for the rest of us who are orders of magnitude more productive at home. "But I can't socia
382.
▲
by
tills13
5y ago
Yes that is what I was referring to. Do you know if the Chrome User Experience report will use this windowing?
383.
▲
by
tills13
5y ago
It sounds like you have a shitty manager. You should more clearly lay out your work / life balance to him/her.
384.
▲
by
tills13
5y ago
Is CLS still broken for single page apps?
385.
▲
by
tills13
5y ago
If I typically work in an office and an emergency comes up I have to address it anyways... historically, if you were not provided a laptop, this involved driving into the office. If you personally struggle with keeping your work and persona
386.
▲
by
tills13
5y ago
This doesn't have anything to do with Google?
387.
▲
by
tills13
5y ago
Is this just the Edge version? I currently use the Chrome version -- not sure if they are the same or different. edit: just checked and the Chrome version doesn't seem to be affected.
388.
▲
by
tills13
5y ago
That's my point. Why isn't there a PDI for Tesla? As I said in my original comment, I'm guessing that's just the price we pay as consumers for Tesla's decision to not hold inventory and make cars to order. imo, thou
389.
▲
by
tills13
5y ago
Yeah I feel like a lot of the FUD about the buying and delivery process come from people who have never gone through the process themselves. Yes: it is absolutely unacceptable that Tesla's quality standards are lacking to the point whe
390.
▲
by
tills13
6y ago
I want that hoodie but $100 is a little steep for me...
More ›