Live data from Hacker News

Smoking a turkey with Prometheus, Home Assistant, and Grafana

blockloop.io

21–30 of 74 posts

Re: Smoking a turkey with Prometheus, Home Assistant, and Grafana

#21

(off-topic): Could the link be fixed to point to: https://www.blockloop.io/smoking-a-turkey-with-prometheus-ho...

Fixed. Thanks!

The submitted URL was correct but, as detaro points out, the canonical URL wasn't, and our software now uses canonical URLs when it finds one.

Re: Smoking a turkey with Prometheus, Home Assistant, and Grafana

#23
post #11

Earlier quoted context omitted.

I have no idea why it has the root URL. I pasted the direct URL but it looks like HN didn't like it. I can't modify the URL unfortunately. If a moderator could update it that would be great.

You can fix your website: the post has a https://www.blockloop.io/ " /> in it, which tells the HN software that the main URL for your post is your homepage.

TIL. This is extremely handy.

Re: Smoking a turkey with Prometheus, Home Assistant, and Grafana

#25

Do we really need to genocide turkeys every year to celebrate a pockmarked holiday? I'd say a thankful person would be eating something a bit more sustainable than a turkey that's been growth-pumped like a lab animal to epic proportions. Where's the thanks in needless slaughter of sentient beings? Are we so daft that we express our thanks for our fortunate circumstances by causing suffering of others?

This is an interesting place to bring up the ethics of Thanksgiving given the demographic. However, given my primary avocation is philosophy, I'm interested in how you arrived at the ethical ideology that turkeys are indeed sentient and that they deserve a life devoid of human consumption. I am not a moral relativist and I prefer justified beliefs so I'll give you some context that you missed in your original comment.

My wife and I purchase local, farm-raised, organic (free of hormones), free-range poultry and we eat turkey _once per year_. It could be argued that our abstinence of industrial turkey consumption is the ethical way to justify the one I eat on Thanksgiving.

The standard treatment of animals is _arguably_ immoral in a lot of cases (certainly not all), but it depends on your view of animal consciousness, the role they play in the advancement of human life, and whether or not we have a moral and ethical duty to protect them. I'm not opposed to having ethical debates, but this seems hardly the place for it if you're interested in _authentic_ and _educated_ dialogue. Your appeal to emotion using (incorrect) words like "genocide" and "needless slaughter" suggest a strong ideology and lack of objectivity, which suggests a disinterest in philosophical pursuit of knowledge.

Genocide implies the targeted extinction of a human demographic. Thanksgiving turkeys are raised _to be food_ from the beginning. I don't believe large amounts of people are hunting around for wild turkeys a few days before Thanksgiving. Also, given their role in the US economy, I think that extermination would be bad for capitalism. Bioethics considers the immorality of raising animals for food, but I have not heard of it referred to as genocide by any reputable author. One could argue that since carnivores are not unique to humans it is "natural" and therefore not unethical. Remember, just because you consider something "icky" [doesn't make it immoral](https://www.philosophyetc.net/2004/09/moral-emotions-yuk-fac...). The opposite argument here is that humans are aware of their actions and therefore held to a higher standard. There is nothing objective about this claim since we have no access to the [qualia](https://plato.stanford.edu/entries/qualia/) and consciousness of animals.

Re: Smoking a turkey with Prometheus, Home Assistant, and Grafana

#28

Do we really need to genocide turkeys every year to celebrate a pockmarked holiday? I'd say a thankful person would be eating something a bit more sustainable than a turkey that's been growth-pumped like a lab animal to epic proportions. Where's the thanks in needless slaughter of sentient beings? Are we so daft that we express our thanks for our fortunate circumstances by causing suffering of others?

This is an interesting place to bring up the ethics of Thanksgiving given the demographic. However, given my primary avocation is philosophy, I'm interested in how you arrived at the ethical ideology that turkeys are indeed sentient and that they deserve a life devoid of human consumption. I am not a moral relativist and I prefer justified beliefs so I'll give you some context that you missed in your original comment…

Let's suppose that in a country far, far away, there is a holiday called Givingthanks where instead of turkeys, dogs are eaten. Your alter ego in that country could then write the exact same comment than you did, replacing 'turkey' with 'dog'. We would read things like: 'It could be argued that our abstinence of industrial dog consumption is the ethical way to justify the one I eat on Givingthanks' or 'Givingthanks dogs are raised _to be food_ from the beginning'. You don't see anything problematic with that?

Re: Smoking a turkey with Prometheus, Home Assistant, and Grafana

#29

At first I thought it was a parody about overdesign and CV-driven development. This kind of feedback loop can be done in hardware without even an IC. Or an 8266 microcontroller (2 euros on aliexpress) if you really need WiFi.

I don't think OP's goal was to get this done in the most efficient way possible, but rather to solve a problem using the tools that they were already familiar with and have access to.

Re: Smoking a turkey with Prometheus, Home Assistant, and Grafana

#30

At first I thought it was a parody about overdesign and CV-driven development. This kind of feedback loop can be done in hardware without even an IC. Or an 8266 microcontroller (2 euros on aliexpress) if you really need WiFi.

What he did "cost me about $25 for the USB Dongle and roughly 30 minutes of time". How long would you estimate it would take a person unfamiliar with hardware to build the setup you had in mind?

I wanted a medication reminder with a blinking light for my partner so that it would come on at the right time and turn off when she took the meds. Could I have done it in pure hardware? Sure. But I bought a Raspberry Pi and we wrote the code together in Ruby because that was faster an easier. It in some sense was an egregious waste of computational capacity, and the parts cost could have been way lower. But it was also 50 bucks and it was using stuff we already knew. Even if I valued my time at minimum wage, "overdesign" was the optimal choice. And I definitely charge clients more than minimum wage.

Post reply on HN