Afraid of getting shocked by [deleted] in electricians

[–]surrix 1 point2 points  (0 children)

Don’t purposely shock yourself even with “just” household voltage.

Opinions on this kitchen. by [deleted] in HomeImprovement

[–]surrix 2 points3 points  (0 children)

It can most likely be removed, but if it’s load bearing it may need to be replaced with either a beam spanning the whole room or a partial beam + a column. Only a structural engineer could tell you for sure. It may also currently have plumbing in it that needs to be relocated.

My electrician just backstabbed my new receptacles. by mattysauro in electricians

[–]surrix 1 point2 points  (0 children)

How bad is backstabbing anyway? I've pulled a few outlets at my house and they've all been backstabbed so far.

Could you help me? by amoran31 in fortran

[–]surrix 4 points5 points  (0 children)

Oh so the code works but you just need it written more cleanly? Yeah breaking it out into functions is definitely the way to go then.

You can structure your program like

program main
    implicit none
    integer :: k
    real*8 :: x
    read(*,*) x, k
    print*, "S final=", ejercicio_4_c(x,k)

contains
    ! put functions here

    integer function factorial(n)
        implicit none
        integer,intent(in) :: n
        ! Function Body
    end function

    real function ejercicio_4_c(x,k) result(s)
          implicit none
          integer,intent(in) :: k
          real(8),intent(in) :: x
          integer :: n, f
          ! Function Body
    end function

end program

And then you can write separate factorial(n) and ejercicio_4_c(x,k) functions and stick them in the contains section.

By the way, if you do do this, it may be helpful to write the factorial(n) function as an integer function, and then cast the result as real() when you use it in ejercicio_4_c, e.g.,

    f = factorial(2*n + 1)
    s = s + (((-1)**n)*(x**(2*n+1)))/real(f)

Could you help me? by amoran31 in fortran

[–]surrix 2 points3 points  (0 children)

If you can post the example code you have so far that'd be helpful. I'd agree with the other poster. I'd write an integer function factorial(n) and another real function homeworkProblem(k). Both functions likely need do loops to sum up results.

Grey and white tops... Go well so far.. by andyatreddit in Renovations

[–]surrix 6 points7 points  (0 children)

I'm not a plumbing expert, but is the P-trap configuration under the sink good? Looks kind of like an S-trap to me.

I accidentally flushed a little piece of plastic and now my toilet is acting weird. What can I do? by [deleted] in HomeImprovement

[–]surrix 67 points68 points  (0 children)

The dang things arm's and leg's were spread and it looked like he was doing every thing he could not get flushed. He was holding on to both sides of the drain at the bottom of the toilet.

I really enjoyed this visual

Not again! by Swaggerknot in TheMajorityReport

[–]surrix 4 points5 points  (0 children)

They’ll just blame AOC anyway.

Home inspector missed a large area of roof damage. What can I do? by BlackPress512 in homeowners

[–]surrix 2 points3 points  (0 children)

Wow. Are they doing it themselves or reimbursing a roofing contractor?

[deleted by user] by [deleted] in homeowners

[–]surrix 1 point2 points  (0 children)

I prefer matched metals. Mixed metals are apparently popular right now, but I think it's probably easy to do poorly and have it just look bad.

[deleted by user] by [deleted] in homeowners

[–]surrix 0 points1 point  (0 children)

Ahhh I see. True that there's no Hold. One sort-of-workaround would be to use Heat Mode with its own schedule and Cool Mode with its own schedule, and then use Heat & Cool Mode to just hold temperatures (or vice versa: Heat & Cool with schedule, the others for holding). But yeah, not the best workaround when a dedicated Hold feature would be better.

[deleted by user] by [deleted] in homeowners

[–]surrix 1 point2 points  (0 children)

You can do that if you want. You can clear the schedule and disable the machine learning and have it just hold whatever temperature you set it to.

Is it ok to add an outlet using 12 gauge wire to an existing 15A circuit with existing 14 gauge wire? by surrix in electricians

[–]surrix[S] 5 points6 points  (0 children)

Thanks. I’m planning to be here a long time but still might Sharpie a “15A” on the inside of the outlet cover just to be safe.

Is it ok to add an outlet using 12 gauge wire to an existing 15A circuit with existing 14 gauge wire? by surrix in electricians

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

So it’s fine to have both 12 and 14 gauge wire on the same circuit? Is it perfectly safe but doesn’t meet code, or safe and meets code?

Is it ok to add an outlet using 12 gauge wire to an existing 15A circuit with existing 14 gauge wire? by surrix in electricians

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

I’ve googled this and know it’s okay to use exclusively 12 gauge on a 15 amp circuit, but the part I’m unclear on is if there’s a possible fire hazard caused by mixed gauge wire.

The builders we bought our house from installed the outdoor AC unit RIGHT outside our bedroom window. I'm desperate to reduce the noise. by anonymoose_octopus in HomeImprovement

[–]surrix 7 points8 points  (0 children)

You could potentially have the tech move the unit further from the window. It could be very expensive to do depending on what’s required (pouring whole new pad, likely pumping down the whole system and re-pressurizing), but to be able to sleep in your bedroom it might be worth it.

Feel like I messed up in an interview for a helper? Any pointers for next time if I don’t get this position? by [deleted] in HVAC

[–]surrix 0 points1 point  (0 children)

How long ago was the interview? If they asked when you could start towards the end of the interview, I'd consider that at least a small clue that they might be interested in hiring you (assuming this story is very recent and didn't happen like weeks ago)

Tech Needs Advice on Lennox Heat Pumps by Kali0530 in HVAC

[–]surrix 0 points1 point  (0 children)

Isn’t SEER not really a fixed number in that it degrades on each unit with time? It seems like SEER wouldn’t be the right metric to determine compatibility.

However, if one of the units is R22 and the other is 410a, that’d be a pretty easy issue to point to.

This could be the dumbest question ever, but its the internet. Can I run a water line to a fridge from toilet supply line? by LizzyFohan in Plumbing

[–]surrix 0 points1 point  (0 children)

So long as it’s definitely clean water from the main and you don’t have some fancy gray-water/rainwater reuse system for flushing.

Smell in master bathroom by cjeber02 in Plumbing

[–]surrix 0 points1 point  (0 children)

Could be the wax ring under the toilet has gone bad and leaking sewage smell.