We've been promised driverless technology for over 10 years now. If you can't do it with cars, then why does anyone think we would have it with delivery trucks?
Please use critical thinking for one second. I beg you HN. This is just another tech company scam that will get dumped as soon as they get the investor money.
And it still can't create images correctly, as in actual image creation, not woven pixels with tons of artifacts.
OP is doing a basic analysis on what kind of solutions exist for a typical UX edge-case. They even provide the simple solution that most people use (margin-bottom).
And for fun they go on to see if they can solve it without the minor drawback of the simple solution.
We've got to stop acting like it's a badge of honor to avoid UX consideration. We might not be people who implement UIs, we use UIs all day and should be able to muster up a few opinions about how a UX interaction should work.
UX is in the gutter with extra clicks and terrible workflows in almost every website. UI is a catastrophe of mobile first, but not really, but sort of kind of we want power users but we need regular users, and all our UI kits look like total ass that is incompatible with so many other things.
This website is a great example. The webpage doesn't load instantly and instead forces the user to wait for text to appear. Great UX engineering guys, make the user wait!