Better HN
topnewbestaskshowjobs
Log inSign up

swazzles0

7 karma · joined Apr 6, 2022 (4y ago) · 3 submissions

https://github.com/swazzles
Submissions

comment 3y ago · link · parent

We used Lit for a project a while ago and I definitely vouch for it.

We were embedding the component into a legacy application and needed to use a build tool for older browser compatibility but it was a breeze to work with even with the extra complication our build setup added.

Getting back to basics and targeting what most modern browsers support out of the box is a huge plus.

comment 3y ago · link · parent

Cool little project, cheers for the link. Definitely a neat concept, would be interested to see it applied like that.

comment 3y ago · link · parent

That's an interesting point. You could use this to hash values with infinitely scaling difficulty by providing an offset to n where n = difficulty + n. The only issues is collision since the output is always 0-9 but if your POW check is against multiple digits then it might work? Again you could still have potentially infinite repetitions of sequences of digits with different inputs.