If you know more than others, that's great! but in that case please share some of what you know so the rest of us can learn. Here, for example, it could be possible to add related facts about networking, other ways of connecting computers, obscure details, war stories, bits of history - who knows? All such things could make the discussion more interesting and fun.
"It's possible to just connect two computers together with Ethernet" - on the front page of hackernews. Incredible. Ethernet over USB4 interdomain protocol at least had some novelty, but this...
It does seem to be a surprisingly common blindspot of programmers in general. I strongly recommend programmers learn it, it can save a lot of headaches in system architecture.
Especially since most machines will just WORK with auto-assigned magic weird IPs and you'll actually be able to share files directly via the OS if you do this, no need for Linux netcat tricks at all.
Now I still remember when target disk mode over ethernet was being talked about.
Programmers have very little understanding of computers, in general.
They'll think hard about a beautiful unrealistic idealisation of the problem, and/or treat a software abstraction as if it's the underlying reality, e.g. (of the latter) thinking networking starts with HTTP and languages start with JavaScript.
Just read the contract from the other side! If focusing on idealistic software abstractions instead of the problem is bad, the implication is that focusing on the problem is good. If treating a software abstraction as the underlying reality is bad, the implication is that looking below it to the actual underlying reality is good.
Back in the day you needed a modified cable for this with RX/TX swapped on one end but nowadays probably all nic chips have auto-detect so you can take a normal patch cable and do it.
I bought bunch of ready made 10 meter cables for lan party dunno 15 or 20 years ago... Used with switch... Grey with nice paper label at end with "Cross over"...
Haven't had any issues with them ever in regular use... So pointless even back then...
When I hacked a USB2-GigE adapter into my old Toughbook CF-m34 to replace the stock 10/100 adapter, it wasn't for the speed. I didn't need the speed, and of course USB2 wouldn't let me use the whole gig anyway.
But GigE uses all four pairs, so the hardware has transceivers behind all four pairs, which means even when they're running at 10 or 100, the chipset can choose which pairs to transmit and receive on. Thus all GigE adapters are Auto-MDIX, and it meant I no longer needed to carry a crossover cable, no matter what other device I was talking to.
It's funny how 10/100 cards with Auto-MDIX capability were exotic and expensive, but once GigE had it by default, it became ubiquitous, cheap, and quickly forgotten.
Exactly. No need to get cynical about this being news. Maybe not news to you (or me, I'm old) but it could be really interesting news to others. See also: https://xkcd.com/1053/
On related news, you can talk point to point with just a pair of copper wires that physically connects with a device on the other side!
Wait there's more: a couple of simple plastic glasses joined with a string under tension also does the trick.
However more seriously, while being snarky about "obvious" things can be fun, we should all remember to acknowledge the xkcd's "Ten Thousand" effect as a very real law of life.