News for hackers. Stuff that matters.
Re:Boring Avatars – React library to generate custom avatars by pindab0ter on Friday May 28, 2021 @02:05PM (#27318606)
This is something I really appreciate about Faker[1], a library that generates random data to seed your development DB with. It will throw you about as many curveballs than obvious 'happy path' names, addresses, phone numbers and whatnot.

[1]: https://fakerphp.github.com/

Re:Boring Avatars – React library to generate custom avatars by nickjj on Friday May 28, 2021 @06:42PM (#27321383)
I love that library, I use it for Python all the time.

In fact, it has a function to generate random hex colors too, and you can even filter it to only generate darker colors so you can create nice looking random avatar circles with a white text color to ensure you get good contrast ratios without having to worry about doing a YIQ based contrast calculation.