The Happy Path (@The_HappyPath) header
The Happy Path (@The_HappyPath) profile picture

Quick software engineering explainers for things you should've googled by now

Join the newsletter →
Joined December 2025
Replying to @CyberRacheal
C. 192.168.10.127
1
5
72
Private IP ranges (RFC 1918): 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Routers on the public internet don't forward them. That's why every home and office network can reuse the same addresses.
5
275
Replying to @CyberRacheal
Salting. The server generates a random salt for each user and hashes salt + password.
1
8
723
Replying to @nikks_techie
Change the invalidation strategy.
A 90% hit rate also counts the hits that return outdated answers. A longer TTL keeps those answers in the cache even longer.
Cached answers need to be deleted when the data they were built from changes.
1
8
241
JavaScript Quiz: what's the output of this code? A) [1, 2, 3] B) [NaN, NaN, NaN] C) [1, NaN, NaN] D) ["1", "2", "3"]
2
11
1,244
Replying to @CyberRacheal
C. 127.0.0.1 is the loopback address
1
8
432
Replying to @tanujDE3180
It's a homograph. One of them has a Cyrillic а (U+0430) and other the Latin a. Before the DNS lookup, the browser converts the Cyrillic version to xn--exmple-4nf.com, a different domain registered separately.
2
346
Replying to @tanujDE3180
A URL is one kind of URI. A URI identifies a resource. A URL also says how to fetch it: a scheme like https plus a host. A URN like urn:isbn:9780131103627 is a URI too. It names a book but doesn't say where to get it.
2
28
6,759
Replying to @Sumits_X
GROUP BY Score, then STRING_AGG to combines the names. HAVING COUNT(*) > 1 to keep only the scores shared by two or more students.
1
1
7
415
Replying to @tanujDE3180
Line 3 is missing an await.
2
68
DNS record types: A DNS lookup doesn't always return an IP address. A and AAAA records do, but a CNAME points to another name, MX names the mail server, TXT carries text for checks like SPF, and NS names the servers that store the domain's official records.
2
13
518
Replying to @yourclouddude
D. SYN_RECEIVED.
The server sent its SYN-ACK and is waiting for the final ACK.
If the ACK doesn't arrive, it resends the SYN-ACK with a doubling timeout, then deletes the half-open connection.
1
3
535