Better HN
topnewbestaskshowjobs
Log inSign up

zhala

24 karma · joined Jul 2, 2022 (4y ago) · 13 submissions

Submissions

comment 1y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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...

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

You could use something like cloudflare tunnels which wouldn't expose your IP, but would still route the traffic back to you machine.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

How does this differ from something like Loki + Thanos/Mimir?

comment 4y ago · link · parent

In AWS you can view your specific emissions under billing > cost & usage reports.

comment 4y ago · link · parent

> "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.

comment 4y ago · link · parent

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.