Have you ever found yourself feeling anxious and spending countless hours researching an electronic product? I know the feeling all too well. The emergence of new technology and marketing strategies can make it challenging to determine what we really need in a product. However, it’s important to ask ourselves, “What do I truly want from this product?” to help limit our options.
For instance, when selecting a monitor, I require a size that’s big enough to enable me to code on one side and browse the web on the other to search for solutions. Additionally, I prefer a high enough resolution that prevents me from seeing pixelation. Lastly, I prefer having HDMI ports instead of older ports such as DVI or VGA.
Read more
A few days ago, I wrote a note detailing how to set up a simple TCP client and server using netcat. Today, I have taken things a step further by capturing packets in Wireshark and providing a step-by-step explanation of how the TCP flow works. In the table below, you can find a general overview of this process.
Read more
Many of us have heard about decibel unit in our daily lives, as it can be used to describe the loudness of our speakers, the strength of our antennas, or the signal strength from a transceiver. But what exactly are decibels (dB) and dBm? In this discussion, let’s explore these concepts and expand our understanding.
Explanation
Deci-bel is ten time of a Bel (10 x Bel)
Bel is named after an inventor Alexander Graham Bell, in Bell Lab.
It is an unit of a ratio on base 10 logarithm scale
Bel is defined as \(X = \log\frac{P2}{P1}\)
- P1: Reference Power
- P2: Measured Power
Now we have
\(Decibel = 10 Bel = 10\log\frac{P2}{P1}\)
So what is the difference between dB and dBm?
dBm stands for decibel in miliwat. That means, our Reference Power will be 1 mW
\[Y = 10 \log\frac{P2}{P1} = 10 \log\frac{P2}{1 mW}\]
We can find Y by raise them to the power of 10
\[10^{\frac{Y}{10}} = 10^{\log\frac{P2}{1 mW}} => P2 = 10^{\frac{Y}{10}} 1 mW\]
So in communication, we usually use dBm because we know the reference power which is 1 mW.
Read more
During many of my interviews, I have been asked whether I understood TCP and UDP, and how they differed from each other. While I knew that TCP had an error-checking procedure that made the protocol more reliable but slower than UDP, my understanding was limited. Although I had learned about the detailed structure of these protocols in school, I didn’t have a chance to get hands-on experience with them. However, I later discovered an easy way to explore TCP and UDP packets using Windows Subsystem for Linux (WSL) and WireShark. As a result, I would like to share what I have learned today.
Read more
A few days ago, while browsing on MS Edge, my laptop suddenly shut down. I didn’t notice anything out of the ordinary except that the fan was running loudly and the room temperature was over 85 degrees Fahrenheit.
After rebooting my laptop and checking the hard drive and RAM, everything seemed to be fine. I opened MS Edge again and restored the tabs that were open. However, I quickly realized that the fan was running faster and the laptop shut down again suddenly.
I suspected there was an issue with MS Edge, so I conducted some research and found a solution by following these steps:
Read more
In this tutorial, I will introduce a few steps to access and edit elements in JavaScript. Mastering and understanding these steps can help you make a simple form, handling submission, and change the outlook of your website.
Read more
Most web browsers are based on WebKit. When we type in a website URL such as www.google.com
and hit enter, the browser acts as a middleman or a browser engine. It communicates with the Google server and requests the HTML-CSS files necessary for displaying the webpage.
Read more