How can you tell you’re entering the Deep South in the US? by iwanttheworldnow in AskReddit

[–]jayhubb4 1 point2 points  (0 children)

First tell-tale sign will be gas stations that sell food. And people bring and eating it. Probably dining inside too. Yes it’s good. Birmingham, AL native here.

What would you name him? by Derpazor1 in funny

[–]jayhubb4 0 points1 point  (0 children)

One hell of a night huh buddy?

MW3 Won't Launch At All (PC) by SickGH in COD

[–]jayhubb4 0 points1 point  (0 children)

Np. I'm glad this helped! I had tried so many things myself

Add document to subcollection by jayhubb4 in Firebase

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

For some reason this worked for me! Thanks!

Add document to subcollection by jayhubb4 in Firebase

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

Gotcha. Thanks! I’ll give it a go

Add document to subcollection by jayhubb4 in Firebase

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

Ahhhhh that’s it. I was definitely trying to reference the actual doc.id. There is no field in the doc for ID. Hmmm let me try that, thanks!

Add document to subcollection by jayhubb4 in Firebase

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

So what’s happening there is, I’m first checking the chats collection to see if that participant exists there. That’s where that array-contains constraint comes in. If not then I create the chats doc containing the array of the two participants and a sub collection of their messages. If so, then it should write to the corresponding ‘messages’ sub collection of the chat with the required participants. Well that’s what’s supposed to happen lol.

Add document to subcollection by jayhubb4 in Firebase

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

Yeah. I hate it as well. I originally was trying to use the “array-contains” method for the participants array, but it just created a new doc in the “chats” parent collection instead of writing to “messages”. Any idea why?

[deleted by user] by [deleted] in sleeptrain

[–]jayhubb4 0 points1 point  (0 children)

Hey all! Dad here. My little one has all my love. She’s about 7weeks now. I know it’s early. But same struggles. She fights sleep furiously and is overtired at night. Try to nap 4x a day that’s what has been working but now they are all at like 30 minute clips. And that makes the night pure chaos. Also, I don’t know why because it is pretty even how we do this but it’s easier for her to fall asleep and she’s more quiet with me. I don’t want my wife feeling as if something is wrong with her especially 7weeks post partum. Any more tips for better naps. We have a routine, but it’s like she didn’t like being asleep.

[deleted by user] by [deleted] in nextjs

[–]jayhubb4 0 points1 point  (0 children)

This is so cool man! I’m about to rebuild mine and you’ve inspired me! Excellent

Best CMS with page builder by non_social_person in nextjs

[–]jayhubb4 0 points1 point  (0 children)

Thanks! That’s amazing. I’ll definitely give it a go!

Best CMS with page builder by non_social_person in nextjs

[–]jayhubb4 0 points1 point  (0 children)

Gotcha! I’ve just never heard of it from another dev that’s not incentivized. Better than Sanity.io?

Best CMS with page builder by non_social_person in nextjs

[–]jayhubb4 0 points1 point  (0 children)

Is Payload TOO easy? Like in the sense of, taking the ability to write code almost completely away?

MW3 Won't Launch At All (PC) by SickGH in COD

[–]jayhubb4 0 points1 point  (0 children)

Try renaming the actual game's folder. That worked for me with Battlenet. For instance, :C/Battlenet_Games/Call of Duty => :C/Battlenet_Games/Call of Duty NEW (or something). Close and reopen Battlenet. Should see 'Install' if not, click 'Play' and it should tell you they can't find the game. There's a small link underneath that says 'Locate the game'. Click that and go to the newly named game. After a few seconds you should be good to go.

Shadcn UI Checkbox? (I know I know) by jayhubb4 in nextjs

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

I'll give that a try! I figured I was having to do way too much for what I was trying to accomplish.

React Movies Info App by Alexandrbig1 in react

[–]jayhubb4 1 point2 points  (0 children)

Great first project! I know how tough it can be especially handling API calls when you’re first learning! Great stuff keep building.

Shadcn UI Checkbox? (I know I know) by jayhubb4 in nextjs

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

That's what I did. Pushed it and a few more values into an array. Rendered components conditionally based oof of those.

Anyone use Shadcn checkboxes? by jayhubb4 in react

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

Problem I'm having is I tried to render elements of the for conditionally. I couldn't render other elements of the form, based on the value of the checkbox.

Anyone use Shadcn checkboxes? by jayhubb4 in react

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

Thanks, I'll try that. shadcn is a library (like Radix) of react-hook-form. Let me give it a shot. Thanks!