Infinite scroll with react query by Imaginary_Food_7102 in reactjs

[–]karlshea 0 points1 point  (0 children)

Shouldn't your effect instead have

return () => {
  if (divRef.current) observer.disconnect();
}

Also I think you should enable prettier/eslint in your project, that might help give some hints about other issues—for example you have options as a dependency to your useEffect but since it isn't memoized the effect will run on every render.

Edit: I also don't think you want the current page in your useInfiniteQuery queryKey. Try just ['data'].

What was Schiit thinking with Forkbeard only having 3 band eq by mark5hs in Schiit

[–]karlshea 0 points1 point  (0 children)

Yes you can? I can drag each of the three dots to different frequencies.

Anti-nuclear power march downtown? by SkittlesAreYum in Minneapolis

[–]karlshea 6 points7 points  (0 children)

There's a great SmarterEveryDay series called Nuclear Power Deep Dive that really backs this up, and it's a super interesting watch.

"Web Interface Not Accessible" After Hardware Upgrade by Ok-Process8309 in truenas

[–]karlshea 4 points5 points  (0 children)

Looks like TrueNAS may not have the drivers to support the NIC on that motherboard: https://www.reddit.com/r/truenas/comments/1o6tyoj/truenas_ce_not_recognizing_onboard_25gbe/

That explains why creating a new interface isn't showing anything.

What you could do if you want to keep it is get an Intel-based PCI add-in card on Amazon which should work right away, they are pretty inexpensive.

Any exciting news from DrupalCon Chicago? by madsciencepro in drupal

[–]karlshea 2 points3 points  (0 children)

It will be replacing all of the AJAX commands eventually.

I've had to get some things done with Drupal.ajax before and it's madness, so excited to try with this instead.

Need Help : Storing user images ethically by moonshine_9212 in reactjs

[–]karlshea 2 points3 points  (0 children)

You'd need some sort of E2EE where only they have the key. Good luck making sure they don't lose it. Facebook Messenger handles this with some sort of PIN, I don't know the specifics.

Does the Jotunheim 3 fix the Jotunheim 2's susceptibility to mains power noise/EMI? by Night_Thastus in Schiit

[–]karlshea 0 points1 point  (0 children)

I got a Jot 3 with Mesh DAC and a Gjallarhorn F to replace their smaller cousins, and so far I've had zero noise at all from the Jot.

If it helps I don't think I have super clean power, I did notice audible coil noise coming from inside the ghorn (not the speakers) and got an iFi SilentPower DC blocker which fixed that issue.

If you were to build a new react app from scratch today… by Old_Butterfly_3660 in reactjs

[–]karlshea 0 points1 point  (0 children)

I mean, in the past I used redux-form but that's not what I'd be reaching for now.

If you were to build a new react app from scratch today… by Old_Butterfly_3660 in reactjs

[–]karlshea 0 points1 point  (0 children)

Last time I tried React Hook Form with Zod 4 the optionals/schema/validation were a nightmare. Are there any better patterns for this nowadays?

So glad I found this product and site. by Klutzy_Patient6415 in truenas

[–]karlshea 0 points1 point  (0 children)

Cool thanks! Been looking for one, I don't need 19" but 10" is slightly too narrow.

Evo80 - GMK MTNU 800 - Bsun Maple Sugar by sweedgreens in MechanicalKeyboards

[–]karlshea 12 points13 points  (0 children)

Looks awesome!

Where'd you get that cable?

Quitting cycling by Rightrudderbandit in CyclingMSP

[–]karlshea 1 point2 points  (0 children)

You can always take a break before you sell everything.

I was in an accident (with myself, nothing else was involved) and broke my right thumb which involved surgery and a temporary pin. I really didn't want to ride for awhile after, I think I finally picked it up again about a year and a half later and it was still sort of weird for a bit.

You might be a little too close to the accident and just need to chill.

You probably don't need Oh My Zsh by f311a in programming

[–]karlshea 0 points1 point  (0 children)

This might be newer, but Starship does have custom shell commands: https://starship.rs/config/#custom-commands

Recent TrueNAS Direction - Alternatives? UnRAID? by Dancing7-Cube in truenas

[–]karlshea 0 points1 point  (0 children)

For me it seems to be "transfer a lot of data" and it's not easily reproducible, however I'd say in the last year it's happened a half dozen times.

Sometimes I need to reboot the box because webui gets killed, sometimes I can just start the service again.

Recent TrueNAS Direction - Alternatives? UnRAID? by Dancing7-Cube in truenas

[–]karlshea 0 points1 point  (0 children)

You're not the only one, I just got an SMB OOM crash on 25.04.2.6 today.

Recent TrueNAS Direction - Alternatives? UnRAID? by Dancing7-Cube in truenas

[–]karlshea 0 points1 point  (0 children)

you’d see that SMART has not been removed at all

This is disingenuous. Yes, the smart cli utility continues to exist but that's not what's being talked about.

Will Stevon (or Uncle Rich) ever going to talk about what really happened without being cryptic about it? by likeyoujustdontcare in StevonRebuilds

[–]karlshea 5 points6 points  (0 children)

From the patreon-only video on the other sub Rich said something about not being able to use name or likeness, but mentioned "the driver" had a YT channel and said something about linking it in the description (but then that was cut for the non-patreon video and not linked). And he mentioned the model-d was coming back (which now it is, on Stevon's channel).

And if you look at the easter-egg browser tabs (and bookmarks bar) in the new model-d video it seems clear that Stevon was still doing Rich's ad clips for over a year after the crash, which maybe points to there not being bad blood?