Hacker News new | ask | show | jobs
by alana314 992 days ago
That's amazing. One of my favorite things to do with copilot is to comment something like "//white arrow pointing right" and then start "<svg" and have it complete it. If it doesn't get it right the first time I update my comment. Saves me time searching for the right SVG and digging through free but really paid image sites.
3 comments

> Saves me time searching for the right SVG and digging through free but really paid image sites.

FWIW, Google's Material Design Icons and The Noun Project are decent sources of high quality, actually-free SVG icons:

* https://fonts.google.com/icons (Apache license)

* https://thenounproject.com/ (CC-BY)

And it saves you having to credit anyone, win-win!
Awful lot of sites have icons on them. I can't recall ever seeing icon credit. Copilot is like a year old.
That's not a good argument, I'm sorry. A lot of people spent time and effort designing and creating something; credit, or reference is the least one could do.

If it's not done, even in a comment inside the HTML... well, it would be nice if it were :)

Not a good argument for what?
For dismissing crediting someone for their work based on an appeal for the majority
I never said we should not credit people. In fact nowhere in the thread have I expressed a single should or ought style opinion on anything.

Rather I'm pointing out that this is some weird "back in my day things used to be X" where we're still in that day and I can clearly see with my own two eyes that things aren't X. Whatever other ills can be laid at llm code generations feet, icons not getting credited isn't one of them.

Why would you have to credit anyone? Do artists credit the brushes that they use in photoshop?
This is such a good idea. Not sure why svg code escaped my mind as something copilot would be good at.
In general, copilots are a massive boon to "boilerplatey", simple syntax languages from XML/HTML to Go.