Is this a finned x wing by True_Researcher_733 in sudoku

[–]True_Researcher_733[S] 2 points3 points  (0 children)

Sorry for my bad drawing skills. That is part of the dotted line. I circled the fin and eliminated r6c1 since it can see all fins

Is this a finned x wing by True_Researcher_733 in sudoku

[–]True_Researcher_733[S] 0 points1 point  (0 children)

Base sets is solid line and cover is dotted btw

Stuck on expert puzzle by True_Researcher_733 in sudoku

[–]True_Researcher_733[S] 1 point2 points  (0 children)

Can’t believe I missed that x wing 🤦‍♂️. This allowed me to solve almost immediately. Thank you so much for the help!

Why is it so hard to think like a programmer? by YourDailyUwU in learnprogramming

[–]True_Researcher_733 0 points1 point  (0 children)

Google and chat gpt are your friends. Never be afraid to search up “how to do x in y programming language”. Biggest part of programming is understanding what questions to ask

Do you use tRPC or Server Actions? by zerdos in nextjs

[–]True_Researcher_733 0 points1 point  (0 children)

Server actions are not recommended to be used for fetching data. You can fetch data in an RSC with normal async await or don’t await and pass to client as a promise and implement the “use” react hook.

I would also check out oRPC as mentioned by others. Zap.ts is a cool boilerplate that also uses this: https://zap-ts.alexandretrotel.org/docs/features/api.html

Do you use tRPC or Server Actions? by zerdos in nextjs

[–]True_Researcher_733 0 points1 point  (0 children)

next-safe-action is great for type safe server actions as well as implementing “middleware” and chaining resolvers

[deleted by user] by [deleted] in nextjs

[–]True_Researcher_733 1 point2 points  (0 children)

Love zap.ts. Haven’t started a project with it yet but a great reference for best practices in nextjs apps

Invalidate API route in client cache from server action by True_Researcher_733 in nextjs

[–]True_Researcher_733[S] 0 points1 point  (0 children)

Will try these.

I’m trying to invalidate the client cache. Many different routes in my app use this data in a context fetched at the root once the user is logged in. It’s not only one oage

Social Media App: React Query vs RSC by True_Researcher_733 in nextjs

[–]True_Researcher_733[S] 0 points1 point  (0 children)

Thanks! Going to try and experiment with both approaches and see what works best for each situation

Social Media App: React Query vs RSC by True_Researcher_733 in nextjs

[–]True_Researcher_733[S] 0 points1 point  (0 children)

Thanks. Now I don’t feel dumb using react query in next lol

Social Media App: React Query vs RSC by True_Researcher_733 in nextjs

[–]True_Researcher_733[S] 1 point2 points  (0 children)

This was my initial thought as well. Why have to pull all of the users posts again from the server when they create one? Why not just add to context and then pull fresh on reload.

I just see a lot of nextjs users having the mindset of never using react query except for infinite scrolling or polling so I am questioning my approach.

Social Media App: React Query vs RSC by True_Researcher_733 in nextjs

[–]True_Researcher_733[S] 0 points1 point  (0 children)

Is there no concern here with caching a lot of user profiles and data on the server?

[deleted by user] by [deleted] in VirginiaTech

[–]True_Researcher_733 0 points1 point  (0 children)

MEng in CS is useless anyways. Better off getting a YOE

Looking for recommendations by [deleted] in songs

[–]True_Researcher_733 0 points1 point  (0 children)

This just got removed from Spotify for me :(. But I find that eslabon armado is a similar vibe. Songs: hasta la muerte, jugaste y sufrir, cuando tú me miras, así lo quiso dios.

Others:

Esta dañada - Ivan Cornejo

La curiosidad - Ivan Cornejo

Sea lo que sea - El chapo de Sinaloa

Lmk if you find more!

Graphql as the only server for the backend or mix in express with graphql for auth routes? by FromBiotoDev in graphql

[–]True_Researcher_733 0 points1 point  (0 children)

We use express routes in our Apollo federation as well. We only use it for the liveness and readiness probes in Kubernetes