[GoLUG] Cunningham's Law
Ron / BCLUG
admin at bclug.ca
Sun Oct 20 16:58:44 EDT 2024
[...snip...]
Cunningham's Law was probably more a reflection on human behaviour than
advice, but it was pretty reliable.
Now, if one is seeking info, just ask ChatGPT, CoPilot, or something
similar and spare everyone the wasted time, bandwidth, and a wrong or
half-correct answer for someone who doesn't know better to encounter.
With tech questions, I find the LLMs (ChatGPT) extraordinarily helpful.
Today's success:
Me:
> How to insert href link into MUI label
ChatGPT:
> [answer wasn't quite what I was looking for, not even really a label,
per se]
Me:
> How to insert href link into MUI checkbox label
ChatGPT:
> To insert an href link into a Material-UI (MUI) Checkbox label, you
> can use the FormControlLabel component along with a Checkbox and an a
> tag or Link component. Here’s how to do it:
>
> Example using MUI v5
>
> ...
Well, MUI is at v6.something, but let's see:
Ah, perfect! Why didn't I think of that? It's now so obvious!
> label={
> <span>
> I agree to the {" "}
> <Link
> href="my URL"
> target="_blank"
> rel="noopener noreferrer"
> >
> terms and conditions
> </Link>
> </span>
> }
Total time: far less then crafting this email.
Effectiveness: 100%
More information about the GoLUG
mailing list