Settings

Theme

Show HN: Everything you ever wanted to know about smoke detectors

fireball.xyz

4 points by gurgeous a year ago · 0 comments · 1 min read

Reader

I find smoke detectors pretty interesting, especially after debugging many false alarms in the middle of the night. There isn't much detail out there due to the ongoing enshittification of the internet. Maybe this will help? Feedback pls!

Surprising quantity of tech used, definitely overkill. Vite/Vue/Tailwind/Daisyui hosted on Vercel behind Cloudflare. We used Markdown-it for the content with simple custom stuff to mixin Vue components. On the data side, some Amazon crawling along with a lot of grunt work and proofreading. Httpdisk for crawl caching. Rembg for image background removal. Oh, and we also use Asdf+Just+Direnv on the dev side. Really love Just and use it heavily all the time now.

A bit of interesting math for the CSS animation at the top. I learned you could combine two translateX() animations inside a single transform, which is key for that thing.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection