News for hackers. Stuff that matters.
Re:Ask HN: Building a User-Agent parsing/detection API by dev-bre on Friday October 30, 2020 @10:48PM (#24948769)
Thanks for the feedback.

The downside of having a local library, would be that the actual user agents db and any data used to generate the results would be stored locally.

I would say that providing a fast, cloud based API, would simplify the developer experience.

Re:Ask HN: Building a User-Agent parsing/detection API by verdverm on Wednesday November 04, 2020 @09:55PM (#24995271)
You can't build something fast enough It's not about the code, it's about having to make a remote call for every request.

This is for something that really doesn't change that much and is sufficiently narrow in possibilities that a library makes a lot of sense. I believe they already exist.

Think about how an API service like this relates to GDPR.