HNHacker News
TopNewBestAskShowJobs

zhala

24 karma · joined July 2, 2022

submissionscomments
zhala··on Things you can do with a Software Defined Radio (2024)
A few years ago I used an RTL-SDR to determine if I had a water leak since my meter is one that broadcasts over 900mhz (iirc). I wrote a small program to parse RTL-AMR output into Prometheus metrics (real life gauges are just like Prometheus gauges, who would've thought) and tracked it over a week while I was away on vacation. No leak luckily.

RTL-AMR: https://github.com/bemasher/rtlamr

zhala··on In Praise of Alpine and APK
We do this regularly in production. We do biweekly container rebuilds, many running alpine and installing version unpinned packages. So far very few (if any) actual issues with that. We do of course do smoketests prior to promoting to production.
zhala··on Commercial 3D printers emit traces of toxic fumes, study finds (2019)
I've seen these studies before and done some testing of my own and found this to be true to some degree. I've used PMSA003I and BME688 sensors to check for particulate and VOC's. I didn't notice any significant increase in PM1 or PM2.5 (which is probably to be expected since the particles emitted are probably <1um and lower than I can detect). I did see some increase in VOC's but nothing alarmingly high from baseline. Roughly equivalent to lighting a candle.
zhala··on Retrieve a scheduled report of your Grafana dashboards via mail
Iirc grafana ~v8 had the ability to send pictures of graphs with alerts natively which was pretty nice, seems like v9 doesn't have that built in anymore.
zhala··on Ask HN: What is your go to idiot-filter question in interviews?
We've found that asking them to write a function to average a list of integers. That's filtered out a surprising number of "senior level" applicants.
zhala··on OpenEnergyMonitor – open-source monitoring for energy
I've had great success using home assistant's built in energy monitor dashboard and a ESP32 based power monitor from CircuitSetup. Home assistant supports exporting metrics via Prometheus which I then graph using grafana for fancier dashboarding.

https://www.home-assistant.io/

https://circuitsetup.us/product/expandable-6-channel-esp32-e...

zhala··on MacBook sound balance changes on its own
Iirc this has been an issue with Mac os/osx for many years. Seems like a very tricky bug to hunt down, I only encounter it maybe twice a month.
zhala··on I wish my web server were in the corner of my room
You could use something like cloudflare tunnels which wouldn't expose your IP, but would still route the traffic back to you machine.
zhala··on How mechanics keep 50-year-old BART trains running: Windows 98, eBay, and scraps
As someone who did IT at a public transit agency for a medium sized city briefly, this is all pretty accurate and similar at most public transit agencies. Even brand new busses are still using old hardware under the hood that requires special deutsch to serial cables that require windows 7 machines to interface.

Likewise all the software that runs transit agencies is extremely dated and heavy.

zhala··on Think Prometheus, but for logs (not metrics). Simple, efficient, fast log store
How does this differ from something like Loki + Thanos/Mimir?
zhala··on Ask HN: How can I calculate CO2 emission of servers/VPS?
In AWS you can view your specific emissions under billing > cost & usage reports.
zhala··on Questions to ask a prospective employer during a job interview
> "Anything under 10 minutes is good" for running the CI pipeline (not true anywhere I've been at Google) or "The steps should be 'do a git clone...'" (also not true at Google).

Are these both true/common in the industry? At least where I work CI takes at most a couple minutes (depending on what all you're doing in your docker file) and likewise you can just pull and run CI locally on your machine for nearly any repo.

zhala··on Why your next home computer should be an old Xeon workstation (2019)
I think most people would be better suited getting micro form factor PC's like the Dell 7050's or Lenovo M920q. Can be had for ~200 on eBay with a 6th or 7th gen i5/i7 and only draw 10-20w in use.