Wednesday, August 31, 2022

08 simple solutions adopted by psychiatrists to get rid of mental stress

Psychologists are a group of experts who help us solve problems, overcome fears, and sort out our emotions so that we can keep calm and have healthy minds. However, remember that they are ordinary people just like us. Like us, they also have mental stress when they are busy working. Today we are bringing you 8 simple solutions that even professional psychologists follow to get rid of their mental stress.

01. Writing things that come to mind on a piece of paper

According to John Duffy, a clinical psychologist, the method he uses to get rid of stress is to write down everything that comes to his mind on a piece of paper. Her thoughts, relationships with people and certain situations, etc. should be written. As he says, by writing it down, our mind forgets our problems and the mind is relaxed. He further says that after doing this, he got the ability to look at things from a different point of view.


02. Choosing ingredients for food takes a lot of time

Psychiatrist Geoffrey Sumber, when she feels stressed, goes to the market and spends a lot of time choosing ingredients to prepare an unprepared meal. After that, the meal is decorated very beautifully and takes a long time to eat.


03. Tighten your muscles

American psychiatrist Kevin Chapman uses the muscle relaxation method developed in 1920 to relieve stress. How to do it: This is very simple, any tight tension is followed by a big stretch. Tighten your muscles and hold for 10 seconds. Then slowly relax them. Focus on this relaxation and hold for about 20 seconds. In this way, there are exercises for 200 separate muscles.


04. Respond correctly, otherwise don't respond

Psychiatrist Susan Krause Whitebone says she doesn't fight stress. She says that when an event that causes stress happens, we have no ability to change that event, so we have to change our attitude towards it. She says that when a stressful event occurs, you can reduce the stress by responding positively to it.


05. Stop thought chains

Psychiatrist Martin Seligman suggests a very effective way to relax the mind. As soon as a painful or stressful thought crosses your mind, clap your hands and say 'stop, I'll think about this later'. Or, imagine that you have the ability to push back such thoughts and tie a belt. Whenever the chain of thoughts occurs, put a strap on the belt and get rid of that thought by doing an exercise or using your mind on some other strange task.


06. Engage in an activity you like for an hour a day

Psychiatrist Amy Prezowski suggests that everyone spends at least an hour a day doing something they enjoy. Choose what you want to do, whether you like to exercise, cook, or draw, and spend an hour doing it. Forget your other problems at that time. Forget about negative thoughts, problems, responsibilities, and regrets at that moment.


07. Stimulate the nerves

Tom Bernhard suggests a slightly unusual but very practical method of calming yourself down, based on physiology. When you feel nervous, gently massage your lips with your index finger. By stimulating the parasympathetic nervous system located in the lips, you will be able to relax easily.


08. Use different traditional methods

What are these traditional methods? There are things you know to do when you're nervous, but you've forgotten where and how you learned them. Clinical psychologist Deborah Cerany says that when you feel uncomfortable, do whatever you think will calm you down. Listen to a song, take a bath, color a picture, or whatever.


Live Strong! 

How to increase the battery life of your mobile phone

The mobile phone has become a communication device that is used by everyone big and small. But all of you use the mobile phone as you wish. Charge whenever you want, full charge, or even charge from the moment the phone turns off. If you go to charge in this way, the life of your phone will decrease. And it can have a big impact on the home electricity bill. So, stop making these mistakes while charging the phone.


Unplugging the charger from the socket

Many people leave the charger in the socket even when they are not using the phone. It can actually be dangerous. Because even when the phone is not connected, the charger continues to draw electricity. This can cause danger to you or someone else. Also, keep in mind that the higher the electricity bill and the longer it is, the higher its temperature, the more it will catch fire and ignite something nearby, or if the humidity in the room is high, it may even short out. That's why after you finish charging the phone, unplug it from the socket and remove it.

Charging the battery until 100%

Some people try to keep the phone 100% charged at all times. But that reduces the life of the phone battery. Generally, any battery has a certain number of rounds that can be charged, so if you charge it frequently to the maximum capacity, that number of rounds will quickly run out. Therefore, maintain the maximum phone charge between 70%, 80%, or 90%.

Charge the phone after the battery dead

There are some people who only charge the phone when the battery is at zero. It is bad for the phone. It greatly affects the life of the phone. Get used to charging when the battery is about 20%.

Charging the phone until dawn

Because it is easy to use in the morning, and because it is fully charged, I leave the phone on charge at night and go to sleep. It causes the phone to charge beyond the number of hours it should be charged. Sometimes the phone may be hot in the morning. It helps to shorten the life of the phone. So charge your phone before going to bed at night. If possible, turn it off and sleep.

Using it while charging

Never use the phone while it is charging. Thus, electricity is supplied to the battery and removed from it at the same time. Having to engage in two actions at the same time, it damages the battery and can create dangerous situations for you. If you want to make an urgent call, unplug the phone from the charger at that moment and charge it after the call is over.

Charge while having a back cover

Another thing that affects the life of the phone is the high temperature. Therefore, avoid charging with its back cover. Or the temperature produced there is trapped inside the back cover itself. It affects not only the battery but also the other devices inside the phone.

Using another charger

Every phone comes with its own charger. But instead, by using a charger of another brand or a charger of the same brand but made for a different model, there are cases where the battery supplies less or more electricity than the required amount. Then the phone may charge very slowly or overheat. Therefore, use a charger suitable for your phone.

Connecting to the laptop and charging

Many people connect the cable to the laptop and charge the phone while working. It takes time to charge the phone and it is bad for the phone and laptop. Because of that, over a period of time, the charging of the phone is stolen and the charger becomes inactive. Always charge the phone through a wall socket.

Stay Safe!!!


Why do IT People Eat More Eggs and Don't Store Eggs in Refrigerators?

Many people around the world strongly prefer to add eggs to their diet. Eggs are very nutritious and delicious food. Not only that but eggs can be prepared faster than any other food. Eggs are bought by busy people because if they want to prepare a quick meal, they can do it even by doing their own work. No need to consider adding condiments, just very simple and easy. But even though eggs are added to food, many people do not have knowledge about the proper order of packing them.

Although we do not pay much attention to the place where the eggs are packed, if they are not packed in the right place, there is a possibility of being harmful to health. North America, Australia, Japan, etc. countries mostly use refrigerators to store eggs. But some countries keep eggs packed under normal room temperature. 

As we all know, the main threat in adding eggs to food is caused by the bacteria called Salmonella. Some medical researchers have expressed the opinion that if the salmonella bacteria is deposited around the eggshell, it grows better in a refrigerated environment than in a non-refrigerated environment. But in American countries, it is believed that during the transport of eggs from the supplier to the market, they are removed from the eggs through cleaning processes against the Salmonella bacteria. It is further pointed out that there is no need to be afraid because of the program of vaccination of chickens against salmonella bacteria when Europeans get eggs.

However, it is your responsibility to decide where to store your eggs depending on where you buy them. Also, they think that most of the eggs bought from the market will be packed in the refrigerator and brought back to normal room temperature, which will further increase the number of bacteria. However, there is no problem if you pack eggs a day and eat fresh eggs. Also, when packing eggs in the refrigerator, it is advisable to put them in containers and pack them. Many people store eggs in the refrigerator door. It is not the right way.

Now you may have a question that is not answered so far regarding the subject topic; Why do IT people eat more eggs and don't store eggs in refrigerators? The answer is simple, most of the time in a business environment, busy IT people have no time to have a delicious meal, so they eat all the eggs. :)

Cheers! 

Friday, August 26, 2022

Doing it Easy: Network Fundamental Summary Notes

OSI Model 

1. Physical Layer: Any media or device that carries 1 & 0s between two nodes. 1 & 0s are bits. Cables/Hub/Repeater.

2. Data Link Layer: Responsible for putting and pulling 1 & 0s  (bits) from the wire to the next source. NIC/MAC. Likewise, it is delivering packets from one NIC to another NIC, hop-to-hop transfer. Frames.

3. Network Layer: Packets delivery from end to end. IP address/Routers. Facilitate communication between networks. 

Packet {DATA + IP + MAC}: 

The computer encapsulates it in an IP header which includes the source/destination IP of the two ends. 

IP header and data are further encapsulated in the MAC address header which includes the source/destination MAC of the current hop. 


Encapsulation and Decapsulation (sending top to bottom and receiving bottom to top)

4. Transport Layer: Responsible for distinguished network streams. The user requested a web address and that web server sends the data to the user. Final point; the user gets that information by 1 and 0s to the user NIC. 

A new user has to identify those 1 & 0s. Layer 4 does this by port numbers. TCP/UDP; 65,536

Layer2 (hop-to-hop) >> Layer3 (end-end) >> Layer4 (service-service)

<---------------------------- delivery -------------------------------------------->

Layer5/6/7: Session/Presentation/ Application Layer;

TCP/IP {Apllication/Transport/Internet/Network interface /Hardware}

Host to Host communication via Switch

Switch (Layer2):  Data Link Layer: Responsible for putting and pulling 1 & 0s  (bits) from the wire to the next source. NIC/MAC. Likewise, it is delivering packets from one NIC to another NIC, hop-to-hop transfer. Frames.

Use source/destination MAC address to make forwarding decisions.

Facilitates communication within networks. 

Learning > Flooding > Forwarding > Filtering 

  • Learning: learn the L2 header and user SRC/DST MAC to make forwarding decisions.
  • Flooding: if the switch receives a frame and it doesn't know about the port, then the switch duplicates the frame and sends it to all ports.
  • Forwarding: switch has a proper MAC address table. Here switch can forward frames via;
    • Store & forward: Store nothing, read the DST MAC and forward the frame. (fastest method). But no error detection. Nowadays switch copied the entire frame into the memory buffer, and checks for errors before forwarding, (slowest). but can prioritize the traffic to move fast.
    • at through
    • fragment free: prior two. inspect only the first 64 bits of the frame. good for error detection while storing the full frame and inspecting it before forwarding the frame. 

Host to Host communication via Switch: Operation

  • Host A wants to send something to host B. L2 header SRC/DST MAC. when the frame is received to switch, it will try to find the host B MAC address. then the switch is duplicated and floods the frame to all its ports except port 1 (filtering). 
  • switch recived the hostA from and then the switch flooded the frame to other ports. Thus host B and C get the frame.
  • hostB accepted the frame and generate a response.
  • when response arrive another MAC table learned, the switch forward the frame to host A.

Broadcast: between the switch flooding behavior, there end result is the same, but there ia a distiction.

Broadcast frame: address to everyone on the LAN done by using same ethernet header except the DST MAC address field is populated with a special address ffff:ffff:ffff. the all F's purpose is for broadcasting. if a switch received a fram with f:, switch cannot find a map. so switch will flood the frame. 

Broadcast is a frame address to everyone on LAN and flooding is an action a switch can take.

What is a Switch? the primary purpose is to facilitate communication within the networks. (hop-to-hop) L2 OSI. SRC/DST MAC, MAC address table. Map MAC --> Switch port. Frame {Data+MAC}

when data comes to a switch, it looks for the DST MAC address and the port. if the destination MAC doesn't know, the switch floods the frame to each port. 

The router? the primary purpose is to facilitate communication between the networks. L3. 

PC A wants to send a packet to PC B. 
PC A sends it to R1 and then R1 to R2 and finally, R2 sends it to PC B. (routing table).

ARP {L2 MAC| L3 IP} ARP uses known IP to discover unknown MAC address. 
PC-A: serverA same network while serverB is in another network. 

PC-A knows serverA IP address. PC-A issues an ARP request for the host's MAC address. ARP supports completing the L2 header. 

If PC-A wants to reach server-B, it sends the request to the nearest router as it is in a separate network, otherwise aka PC-A's default gateway. 



ARP's role is to create a proper L2 header that allows us to find the destination NIC and send the 1 and 0s. 

Host to Host Coummication 
  1. A sends data to B. A knows B's IP.
  2. A creates an L3 header (src/dst IP)
  3. L2 must be created because L2's primary job is to perform the communication within the network.
  4. L2 header (abc=SRC and xyz=DST), here A doesn't know the B MAC address yet.
  5. Hence, A cannot create a proper L2 header to deliver the packet to B's NIC. So A sends the ARP request to find B's MAC. 

6. A asking, if anyone who has 11's IP address, please send me your MAC. Here is my MAC=abc. ARP REQUEST
7. ARP request sends as a broadcast because A doesn't know about host B yet.
8. ARP response: Unicast; directly address to host A). 

Router Function is to facilitate communication between networks. ARP table bridge between L2 -> L3. 
  1. HostA packet --> R1 (a packet deliver to the R1 default gateway)
  2. hostA creates L3 header {SRC|DST hostA IP address}
  3. L3 header is not enough to deliver the packet to hostB.
  4. hostA encapsulate L3 header in L2 header which includes {SRC MAC host A, DST MAC R1)
  5. now R1 has the packet, now DST will be host B. this destination exist on R1 routing table. 
  6. R1 has L3 header and create L2 header to find the DST (host B MAC)
    1. R1 host A and DST host B IP adress.
    2. SRC: R1 int MAC = L3 header
    3. DST: host B MAC = L2 header
  7. L3 header is not changed which created by hostA. 
If you have any questions, please don't hesitate to comment below. Follow us for the latest news, new articles, doing-it-easy tutorials, labs, software, free exam vouchers, dumps, and many more. Cheers! 

Wednesday, August 24, 2022

iPhone 14 launch day

Apple has announced that the iPhone 14 will be released on September 7. However, it is said that it can be bought from the market from September 16. There are reports that Apple Watch will be launched along with the iPhone 14.