The relationship between code debugging and sewer repair

Original link: https://codechina.org/2022/10/code-debug-and-fix-sink-pipe/

Today was a normal day in a gated community. Early in the morning, I did nucleic acid tests and then bought pancakes and fruits for my wife and me. After eating, when I went to the kitchen to put the dishes, I found that the kitchen floor was full of water.

My kitchen was actually remodeled from the balcony, and the same type of apartment here has been remodeled. When I bought it, it had already been remodeled. I usually open several windows on the balcony for ventilation, and only the screen windows block mosquitoes and some dust. So, I take it for granted that it should be the rain outside, and it’s not that it hasn’t happened.

So I struggled to use old towels, mops, and brooms to sweep, absorb, and clean. After a while, the floor was finally clean. Then in a flash, I found that the floor was covered with water again. It’s just a light rain today, a drizzle.

After a closer look, it turned out that there was a lot of water seeping out of the cabinet under the kitchen sink. I tore off the water pipe under the sink and found that the sewer could not enter the water, and the water was flowing upwards. Looks like the sewer is clogged.

I quickly went to my parents’ house to borrow a bucket, and called my dad down to analyze what went wrong with me.

He can do almost everything, and I have good hands-on skills. If it’s not a big problem, we usually do it ourselves without having to hire a plumber. But it is particularly troublesome, especially when special equipment is required, and we will still ask for help.

We tried various methods, but the sewers kept turning back. It suddenly occurred to me that if it was the backwater, it should not be the sewer of our house that was blocked but the main pipe or the downstairs (my house is on the second floor). But I don’t know the specifics of this sewer.

So I went downstairs, and when I got to the room, I checked under the balcony. It turned out that everyone in our doorway has changed the balcony to the kitchen, and there is a sewer pipe extending from the balcony, which is connected to a general manager, and the first floor is not connected. That is to say, it stands to reason that if any one is blocked alone, it should have little impact on others. Then there must be a blockage under the main pipe.

I used the cover on the mains access opening and a lot of water spewed out, and the mains were really clogged under. When I got home, I saw that the water in my house was completely unblocked.

This process is actually very similar to code debugging.

In fact, I have been talking, whether you are writing programs, or doing engineering or doing something else. Logic is the most important. The first is to isolate the problem and find the problem point. Find it and solve it. This is analytical power.

There was a partial power outage in my house, one room had electricity and another room had no electricity, but the neighbors were all normal, so I called an electrician. When he helped me diagnose, the method was similar. In fact, it is to test the situation of each point, and then exclude one point by one. In the end, it was found that it was the route of a certain socket. When the wiring was connected in the past, it was relatively rough, and then the power may be too large, and the connection point burned out. Cut a piece of the wire, rewire it, and everything is fine at home.

If I roughly know the wiring relationship of this house, I can actually make such a diagnosis. But I didn’t even buy a pen at the time. It’s good to find a professional to do it.

I also heard today that in Canada, even if you know how to repair the circuit, you can’t touch the circuit at home, or repair it, you must have an electrician’s license.

In fact, although high school and college physics teach a lot of electrical knowledge, on the one hand, our education is too little attention to practice, many people actually have no practical ability at all, on the other hand, some basic safety regulations and common sense, many people I don’t know either. I still understand, because my father worked as an electrician, and I watched him do all kinds of repairs and maintenance of electric vehicles when I was very young. My electrician knowledge is very rich, and I have played with basic tools. But it’s good to find a professional for this kind of thing, even if it costs a little money.

===========

Talk about something else:

When I was walking around the community last night, I walked to one of the gates, and someone looked at it tightly. An old man called the police angrily. It turned out that a resident of our community wanted to go out to pick up the child from his grandmother’s house, but he would not let him. But when a car and a lady drove into the community, she said that she was from the Public Security Bureau and entered unimpeded. It is said that she would go out after a while. The old man was very angry, and he didn’t look at the documents. He felt that the security guard did something wrong.

I originally wanted to see what to do when Lively 110 came, but the old man made two calls and received three calls, all talking about details, but the police kept saying they were coming, but I didn’t come. Later, I walked home. . I don’t know what happened after that.

In addition, in the afternoon, I found that the community has set up a convenient grocery shopping point, right next to my building. I feel that grocery shopping is convenient, but it will take a long time, Khan. This time, there are no cases in our community during the screening. What is the logic behind the closure? To sell vegetables? Check back to see what the price is.

It is estimated that he will be locked in the community for a long time.

In fact, I usually don’t go downstairs, I just stay at home, often 10-20 days without going downstairs at all, but I can go out for a walk if I want, but now it’s not the case, I can only go around in the community. Freedom is really valuable, whether you really need it or not, but it will be very painful if you don’t have it.

Another pain is that it is not impossible to order take-out now. Although there are few restaurants to choose from, it is too troublesome to go to the gate of the community to get take-out. I now cook by myself. My cooking skills are very good. As long as I eat what I make, my blood sugar is very well controlled, and my weight has also dropped steadily, and I eat very full and comfortable. But I’m really too lazy to cook. I’ve been forced to cook all the time recently, but it’s a good thing.

This article is reprinted from: https://codechina.org/2022/10/code-debug-and-fix-sink-pipe/
This site is for inclusion only, and the copyright belongs to the original author.