Better HN
topnewbestaskshowjobs
Log inSign up

lasserafn

98 karma · joined Oct 7, 2017 (9y ago) · 51 submissions

just building random stuff for free
Submissions

1.

You're measuring code coverage wrong(getotterwise.com ↗)

3 points · by lasserafn · 7mo ago · discuss

2.

Code Quality vs. Development Speed: Finding Balance(getotterwise.com ↗)

2 points · by lasserafn · 2y ago · discuss

comment 2y ago · link · parent

loving this, and we should all do more stuff because 'its funny' - would make the world a better place

comment 2y ago · link · parent

Localstorage-based flashcard maker hosted on Cloudflare Pages for $0, no server rendering etc.

5.

Flashcard maker hosted on CF Pages, no server no database(freeflashcards.net ↗)

1 points · by lasserafn · 2y ago · 1 comment

6.

Pest 3.0 Released: Mutation Testing and Other Great News(getotterwise.com ↗)

1 points · by lasserafn · 2y ago · discuss

7.

The Difference Between Code Coverage and Test Coverage (and Why It Matters)(otterwi.se ↗)

1 points · by lasserafn · 2y ago · discuss

8.

Track Laravel Code Coverage with ChipperCI(otterwi.se ↗)

1 points · by lasserafn · 2y ago · discuss

9.

Generate avatars from names – online API(ui-avatars.com ↗)

1 points · by lasserafn · 7y ago · discuss

comment 9y ago · link · parent

It’s transparent to me, weird.. I’ll have to look into this. Thanks for feedback :)

comment 9y ago · link · parent

I’m so glad to hear such feedback! Thanks!

comment 9y ago · link · parent

Ouch, Yeah appears pretty obvious. Will add some rounding to the sizes or similar

comment 9y ago · link · parent

Absolutely, but it’s not that simpel, it’s made to be flexible and handle different logic. Not that it’s magic by any means, it’s fairly simple but you’d want to generate the initials on the server anyway, to acomplish similar results

For example, it takes first letter of first name, and 2 letters from last name if only two names supplied and desired length is 3.

However if 3 names are supplied, it uses a letter from each name.

It’s not magic, but doing it in CSS wouldn’t be easy, I imagine

comment 9y ago · link · parent

It’s made to be a gravatar fallback :)

The reason its not CSS is because this api generates the initials for you.

CSS is way faster, so I’d recommend that

comment 9y ago · link · parent

Thanks! :) hoping to support everything possible

comment 9y ago · link · parent

Product Hunt: https://www.producthunt.com/posts/ui-avatars

comment 9y ago · link · parent

Thanks for letting me know! I will stuff different languages over the coming months to better manage such things :) didn’t know that

comment 9y ago · link · parent

However interest is subjective, and it’s obviously interesting to some, considering the traction it’s gotten.

comment 9y ago · link · parent

I dont get it either :) Yes, that’s basically all it does.

I don’t think theres anything to it

comment 9y ago · link · parent

Thanks of adding this!:D

https://ui-avatars.com/api/?name=马云马云&length=4 Maybe this works?

Anyway, actually one could add &no-cache and it would ignore cache, I forgot that part

comment 9y ago · link · parent

also, Remarkbox looks nice

comment 9y ago · link · parent

Super cool! I like the SVG support part

comment 9y ago · link · parent

Absolutely, I've played around with this. There are tons of open source libraries to determine gender from name. Obviously it cannot be 100% correct, but it can provide a guess

comment 9y ago · link · parent

Thank you! :)

comment 9y ago · link · parent

Haha, they're so great!

There's also this one: http://avatars.adorable.io

12