this post was submitted on 05 May 2024
130 points (99.2% liked)
Climate - truthful information about climate, related activism and politics.
5285 readers
780 users here now
Discussion of climate, how it is changing, activism around that, the politics, and the energy systems change we need in order to stabilize things.
As a starting point, the burning of fossil fuels, and to a lesser extent deforestation and release of methane are responsible for the warming in recent decades:
How much each change to the atmosphere has warmed the world:
Recommended actions to cut greenhouse gas emissions in the near future:
Anti-science, inactivism, and unsupported conspiracy theories are not ok here.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Two questions. I'm running a c# kestrel based Web API behind an nginx reverse proxy and alongside a reactive frontend. Why is CORS such a pain in my membrane.
Secondly. Is there a good way to figure out what all is on which breaker in my new breaker panel that has zero labeling because the old one was just straight up wrong? I really don't want to have to flip one off, walk through house, see what's off, go back, flip on, flip next off, etc.
Question one: way over my pay grade. I’m closer to a CCNA than a software developer.
Question two: flipping breakers on and off is really the best way to figure out how your house is wired. It is MUCH easier if you have someone who can help you. Lights will be easy and obvious. Things like wall receps will take some time. Especially if you have an older house where past owners have made modifications. There are circuit tracers for this but they don’t work that well. You’re better off using a voltage tester or outlet tester that will beep when it has power. Any breaker that is a double or two pole breaker will have a specific purpose. If it’s 40 amps there’s a good chance it’s an electric oven or drier, if it’s 60 amps it almost certainly your HVAC.
Well, the CORS thing is just your browser protecting you from an XSS attack. So the API just needs to advertise the origins that are permitted. Like writing "stolen from xyz" on your tools.
The tricky part with electrical will be which things get missed. Like finding out the microwave has its own circuit that's shared with the bathroom fan or something. What you could do is buy 50 IoT devices and record which ones connect to your wifi after you start flipping breakers. You might be able to do some clever bracket to determine which outlets are on which circuit, but hardwired appliances will be more manual.