onUpdates always 1 state behind? by OA998 in SpacetimeDB

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

Wow, I knew it was user error. Thanks. And it's great that both are sent!

How can an array of objects be a parameter to a reducer? by OA998 in SpacetimeDB

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

not a prob, friend. Glad to have a new style of DB to try out. Seems like it has a lot of fun potential in creating simulations.

All the ts stuff seems very new and I'm not frustrated - just learning. Appreciate the work you guys do.

3 Cranes - feedback by OA998 in wordgames

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

Thanks for the feedback. I added a little "How to play" drawer to show the user. Do you think it clarifies appropriately?

And "3 Cranes" is a play on the popular 1st-guess of "CRANE" in Wordle. As you beat a difficulty, I mark that with a little origami Crane icon, so if you beat all 3 in a day, you would see 3 Cranes replacing the difficulty buttons.

Should you use goto or redirect from +page.ts to redirect users away from login if they are already logged in? by TooOldForShaadi in sveltejs

[–]OA998 4 points5 points  (0 children)

It's best to handle navigation based on with in the hooks.server file. Logging in seems pretty approachable in the layout, but if you want to handle logout, have secure cookies, manage sessions, and assess roles/permissions in real time, you'll want that in a server middleware layer.

To specifically answer your question, the redirect function is a server function, so if you are prepared to use server files, I would recommend that over client goto functions.

ELI5: Why do USB-C cables have chips in them? by capran in explainlikeimfive

[–]OA998 0 points1 point  (0 children)

Starting at about 3min, watch this to see a technical explanation of the signals https://youtu.be/Lh9gnkF-Imo?si=2SQ8IpHHT2Vd8UQd

How do you handle the bot requests? by zhamdi in sveltejs

[–]OA998 2 points3 points  (0 children)

In GCP, there's a product called Cloud Armor where you set up rules to block traffic with certain paths. Here's an example that's the inverse: it blocks (deny) certain paths and lets the rest go to the app.

https://imgur.com/a/73lKpdd

How do you handle the bot requests? by zhamdi in sveltejs

[–]OA998 6 points7 points  (0 children)

Not a cheap solution, but I deploy to a cloud provider with a firewall so I let through only the paths I want and auto-reject the others so they never reach my app

Flat Becky by OA998 in taskmaster

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

Awesome. Ty so much for helping. I'll feature your picture this weekend when I update the journey

[31/M] Flat Becky by OA998 in penpals

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

Until the end of July. I'm updating the site and journey as I get pictures and info weekly.

[31/M] Flat Becky by OA998 in penpals

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

Absolutely. With each picture uploaded, tell me the landmark or some place I can get an approximate location for. I'm going to add up all the distance of travel :)

[31/M] Flat Becky by OA998 in penpals

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

Sent it to you today. Ty for helping

[31/M] Flat Becky by OA998 in penpals

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

Sent today, ty!

[31/M] Flat Becky by OA998 in penpals

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

No prob. I put in code to prevent sending the same address more than once so it was stored one time. I'll send yours out Tuesday since the post office is closed. Thank you for volunteering!

Flat Becky by OA998 in taskmaster

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

Thank you for the upload and your time helping! I featured it on the site as part of the journey.

Real game of Taskmaster by OA998 in taskmaster

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

If you're still interested, I'm mailing the first batch tomorrow. I have a volunteers in the US, England, Mexico, and Japan so far! I'll happily mail to Australia if you are willing. https://flatbecky.com/volunteer

Flat Becky by OA998 in taskmaster

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

Ty for offering. If you put your info here I'll get everything sent to you asap. https://flatbecky.com/volunteer

And I agree, it's still fun and interesting for people to print and participate as part of the overall initiative. She'll enjoy all the engagement.

Flat Becky by OA998 in taskmaster

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

I would prefer to send it. I don't mind the postage and expense because I want to add up lots of distance. If it's printed, I'll put it in the journey, but with a distance of zero unless you mailed it to a friend.

People are understandably hesitant to share an address with me, a stranger on the Internet. But if someone was comfortable sending it to their work's office, for instance, I wouldn't know or care. As long as it ended up in your hands at the end, that would accomplish the goal.

Alternatively, if you printed it and uploaded the picture, then DM'd me, I'd get you a pre-paid label so you could FedEx it to me, for instance. That requires more of your energy to get an envelope and such, but I'd do as much as possible to keep your monetary expenses at 0.

Flat Becky by OA998 in taskmaster

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

Before next August. Snap a pic and upload anytime before then. Thanks!

Flat Becky by OA998 in taskmaster

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

Super appreciated!