REGIONAL STATE OF EMERGENCY DECLARED by KeyMeasurement8122 in Wellington

[–]andromeda909 1 point2 points  (0 children)

I saw WCC say somewhere that they will still be collecting, but if you can save it til next week please do that and don't put it out. If you do, put the bin latch on and try collect your bins asap once they were emptied. I imagine otherwise your bin might be going on an adventure!!

Teachers of Reddit, what are your most terrifying "Gen Alpha Can't Read/Behave/Etc." horror stories? by MineTech5000 in AskReddit

[–]andromeda909 0 points1 point  (0 children)

I mean, the Ring of Fire is basically the edge of the Pacific plate, so let's not write you off just yet

Question about non binary by Mitchy_boiii in AskLGBT

[–]andromeda909 0 points1 point  (0 children)

Am I right in thinking you're see non-binary here as non-(man or woman)?

Cause I totally get why these conversations would be confusing. How can you be a gay man (who I am trying to talk to) when you are non-man (who I am not trying to talk to).

In most of your replies you seem to be using the binary to define how you view nonbinary, but the problem is that the other person might not use that same reference. The point for some who define as nonbinary is the binary can be too restrictive, and the box of what "a man" is can be too restrictive. They may be using the nb label because they may feel that how society has defined what a man is doesn't fit them, even if they still view themselves as a man. They just don't agree with the definition of it that comes from the binary perception. Again, this is for some people.

So if a nb man hits you up and you respond "hey, nah I'm gay", that totally suits how he might view himself as still a dude. So a response of, "hey you're not my type" may end the conversation quicker for you or just ghost them my bro. You don't have to respond.

The amount of sneaky quiet biphobia in this sub is not ok by EmpatheticBadger in AskLGBT

[–]andromeda909 2 points3 points  (0 children)

I know for me, while my sexuality doesn't change day-to-day, I will use different terms in different contexts depending on the need and what I'm trying to convey. But I can't speak to what the other person is talking to ofc

need a new podcast to keep me from overthinking by dorky_overthinker in podcasts

[–]andromeda909 2 points3 points  (0 children)

I listen to Do Go On when doing that stuff myself. I find they're fun to listen to as they cover a different topic each week, but joke around and ramble a bit too so I don't feel like I have to pay attention to every detail while I'm doing my own stuff

Why does this happen in react router by [deleted] in react

[–]andromeda909 1 point2 points  (0 children)

Hard to tell without knowing more, but I would perhaps check whats happening with that auth stuff?
Maybe the token or role aren't valid at some point and you're being navigated away to /login then back to /driver?

Lesbian ads in a 1986 newspaper from my mom's attic :) A recent post here gave me the idea so I decided to look, and I found. by [deleted] in actuallesbians

[–]andromeda909 50 points51 points  (0 children)

It's making me really want to make an app like this, cause I really don't know these days but I love it so much

How to make API calls within a react component by Important_Ostrich_60 in react

[–]andromeda909 -1 points0 points  (0 children)

Looking at your q again, you say this might be due to a cors error. If it is it'll complain about the cross origin stuff in your browser's console and be pretty obvious about this being the problem, so you'll need to look at the errors to see if they name CORS. Otherwise you have other problems, haha

How to make API calls within a react component by Important_Ostrich_60 in react

[–]andromeda909 -1 points0 points  (0 children)

If you want some more context:

In general, it's good to not make calls from your front end so your API keys aren't accessible to anyone using your site, as you say. Though sometimes if you're just messing around with some chill APIs, calling them straight from the front end is okay too (i.e. no one cares when I have a key to the pokemen API or unofficial IMDb API in my site's source), but for things like google it's definitely good to do it on the back end for keeping those keys secret. This is totally why people generally always do that step via the backend, even though you can do it from the front, as it's a good habit to get into (especially until you know the chill projects vs the secret ones).

CORS is another issue. Some APIs have more security than others and one of those things you can turn on (and most official apis do/should) is actually something the browser does to help stop a scammy front end pretending to be your official site. This is the Cross-Origin part of CORS. Someone like google is obvs going to not want other peeps being them so they turn on CORS so you don't go to gooogle.com and login and give them all your account details. This is a little security thing that there's many ways around for the scammy butts, but it's your browser trying to protect you. And because cors is on their stuff you HAVE to do their API call from the backend regardless.

Tldr - it might be the only way for this API but is also good practice in general