Show HN: Ambient light sensor control of keyboard and screen brightness in Linux
Show HN (score: 9)Description
I enjoy low-level programming a lot. I delved into writing this program in C. It came out well and worked seamlessly on my device. Currently, it only works for keyboard lights. I designed it in a way that the support for LCD will come in seamlessly in the future.
But, in the real world, people have different kinds of devices. And I made sure to follow the iio implementation on the kernel through sysfs. I would like feedback. :)
More from Show
Show HN: OctoDNS, Tools for managing DNS across multiple providers
Show HN: OctoDNS, Tools for managing DNS across multiple providers After the major outages from AWS and Cloudflare, I began wondering how to make my own services more resilient.<p>Using nameservers from different providers is doable but a bit tricky to manage. OctoDNS helps automate keeping the zones synced so AWS, Cloudflare, etc. are all serving the same information.<p>In an age of centralized infrastructure, we can exploit the capabilities from the origins of the decentralized internet.
Show HN: Oblivious HTTP for Go
Show HN: Oblivious HTTP for Go I couldn't find a suitable go implementation for Oblivious HTTP Client & Gateway (RFC 9458). So, I'm open sourcing ours.<p>Some background: OHTTP is a protocol that hides who you are from the data you send - if you've ever used products of Apple, Mozilla, Fastly, or Cloudflare (to name a few) you probably used OHTTP.<p>Key Features:<p>- implemented as http.RoundTripper<p>- supports chunked transfer encoding<p>- customizable HPKE (e.g., for custom hardware-based encryption)<p>- built on top of twoway and bhttp libraries<p>Repo: <a href="https://github.com/confidentsecurity/ohttp" rel="nofollow">https://github.com/confidentsecurity/ohttp</a><p>Detail: <a href="https://blog.confident.security/ohttp/" rel="nofollow">https://blog.confident.security/ohttp/</a><p>Explainer: <a href="https://support.mozilla.org/en-US/kb/ohttp-explained" rel="nofollow">https://support.mozilla.org/en-US/kb/ohttp-explained</a><p>Specs: <a href="https://datatracker.ietf.org/doc/rfc9458/" rel="nofollow">https://datatracker.ietf.org/doc/rfc9458/</a> , <a href="https://datatracker.ietf.org/doc/draft-ietf-ohai-chunked-ohttp/" rel="nofollow">https://datatracker.ietf.org/doc/draft-ietf-ohai-chunked-oht...</a><p>Feedback welcome!
Show HN: Write Go code in JavaScript files
Show HN: Write Go code in JavaScript files I built a Vite plugin that lets you write Go code directly in .js files using a "use golang" directive. It compiles to WebAssembly automatically.
Show HN: Inspec – Specification scheduling software for interior designers
Show HN: Inspec – Specification scheduling software for interior designers Hi HN, I'm Nick and I built Inspec with my partner Caitlin (she's the interior designer, I'm the developer).<p>Inspec lets interior designers create and manage FF&E schedules - basically spec sheets listing everything that goes in a room before the furniture: flooring, paint, countertops, lighting, fixtures, etc.<p>This process is currently exclusively done using Excel, and while this works to some degree, it comes with a lot of manual work and clunkiness. When Caitlin started working remotely, I watched her deal with these issues daily. So I spent the past 9 months building a better solution.<p>Key Features:<p>- Realtime collaboration<p>- Revision control (versioning)<p>- Professional PDF exports<p>- QR codes to print out on-site for contractors, builders etc. to always have the latest version<p>- Completely customisable fields and a familiar workflow to Excel to keep learning curve small<p>When we first started building this we thought it was completely unique, but turns out there are 2 competitors. I think our positioning is quite different though as we seek to only replace this document creation, rather than overhaul the entire project management and try to be a complete solution. So that’s helped to guide our focus, but also validated that interior designers are looking to modernise their software.<p>Tech stack:<p>I used my SaaS boilerplate which is just a modified T3 stack template with everything set up just how I like it. So Next.js with the pages router, TS, Trpc, Prisma + PostgreSQL, and TailwindCSS. I’ve also got Pusher for realtime collaboration, Redis and BullMQ for keeping a seperate background worker for PDF and web scraping jobs.<p>I can’t imagine many interior designers are on HN, but figured I would share this for anyone who wants to take a look :) feedback always welcome! The landing page is at <a href="https://inspec.design" rel="nofollow">https://inspec.design</a>
No other tools from this source yet.