logoalt Hacker News

dugganlast Sunday at 7:15 PM5 repliesview on HN

Search “centre a div” in Google

Wade through ads

Skim a treatise on the history of centering content

Skim over the “this question is off topic / duplicate” noise if Stack Overflow

Find some code on the page

Try to map how that code will work in the context of your other layout

Realize it’s plain CSS and you’re looking for Tailwind

Keep searching

Try some stuff until it works

Or…

Ask LLM. Wait 20-30 seconds. Move on to the next thing.


Replies

duskdozerlast Wednesday at 10:46 AM

Half the reason search engines are so miserable to use anymore is that they've been laden down with so much low quality LLM-generated content.

SchemaLoadlast Sunday at 10:46 PM

The middle step is asking an LLM how it's done and making the change yourself. You skip the web junk and learn how it's done for next time.

show 1 reply
Izkatalast Monday at 2:11 AM

> Search “centre a div” in Google

Aaand done. Very first result was a blog post showing all the different ways to do it, old and new, without any preamble.

stephenrlast Monday at 12:56 AM

Or, given that OP is presumably a developer who just doesn't focus fully on front end code they could skip straight to checking MDN for "center div" and get a How To article (https://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layo...) as the first result without relying on spicy autocomplete.

Given how often people acknowledge that ai slop needs to be verified, it seems like a shitty way to achieve something like this vs just checking it yourself with well known good reference material.

show 1 reply
bitwizelast Sunday at 7:29 PM

Wait till the VC tap gets shut off.

You: Hey ChatGPT, help me center a div.

ChatGPT: Certainly, I'd be glad to help! But first you must drink a verification can to proceed.

Or:

ChatGPT: I'm sorry, you appear to be asking a development-related question, which your current plan does not support. Would you like me to enable "Dev Mode" for an additional $200/month? Drink a verification can to accept charges.

show 6 replies