HNHacker News
TopNewBestAskShowJobs

veblen

12 karma · joined June 5, 2024

submissionscomments
veblen··on Microsoft is introducing hidden APIs to VS Code only enabled for Copilot?
Has VS Code dominated the code editor market? If not, is this a prerequisite for discussing anti-competitive issues?
veblen··on Why TCP needs 3 handshakes
Imagine two blind people who want to have a conversation. Before they start, each person needs to ensure that the other can both speak and hear. Typically, one person begins by asking, 'Can you hear me?' to check if the other can hear them. The second person responds with 'Yes,' confirming that they can hear. Then, the second person asks, 'Can you hear me?' and the first person replies, 'Yes,' completing the process.

In total, there are four exchanges (two questions and two answers). However, if you look closely, the second person's reply of 'Yes' already confirms that they can both hear and speak. Therefore, the second 'Can you hear me?' is unnecessary. With just three exchanges (one question and two answers), both people know that they can send and receive messages.