nik282000

joined 2 years ago
[–] nik282000@lemmy.ca 1 points 1 day ago

Unerpaid essential employee? No strikes! Your usefulness defines you as a slave, you know, unless you want to quit the industry that you have trained for and worked in.

[–] nik282000@lemmy.ca 3 points 1 day ago (2 children)

There needs to be a new class of crime covering imported conflicts. It doesn't matter if your neighbour is from the wrong half of Ireland or was in a lower caste, that shis should end at the border.

[–] nik282000@lemmy.ca 3 points 4 days ago

shocked_pikachu.png

[–] nik282000@lemmy.ca 11 points 2 weeks ago

Cut the 30B that subsidizes oil and gas.

[–] nik282000@lemmy.ca 8 points 2 weeks ago

Hey, would you look at that, Canada has no liberal party! That thing that no one believes until it happens evey time.

[–] nik282000@lemmy.ca 4 points 2 weeks ago

If only we didn't have to subsidize the petro industry $29B, I wonder how many doctors and nurses that could pay for.

[–] nik282000@lemmy.ca 4 points 2 weeks ago (3 children)

The camera or the film? The camera is just an icon I use everywhere, the film is a DIY pallophotophone recording of my voice.

My big issue with healthcare in Canada (Ontario specifically) is that providers who do not cut corners go out of business, because they are a business. A hospital is a private entity that not only has to provide care, it has to make enough of a profit that they can keep the the lights on, pay medical staff, pay non-medical staff, buy 3 to 5 houses per board member. It incentivizes cutting corners because anywhere that there can be profit there has to be maximum profits. If healthcare was run as a service where it is expected to be a total financial loss, all funding ends up going into healthcare or the people who support the health care staff, equipment and facilities.

[–] nik282000@lemmy.ca 6 points 2 weeks ago (5 children)

We need healthcare to be treated like the army. It is a service, not a profit generation industry.

[–] nik282000@lemmy.ca 6 points 2 weeks ago (1 children)

Motor, frame, and prop production can all be spun up overnight. The money part of drones is the flight controller and radio gear, all of that comes from china and would take several years for Canada to start production.

[–] nik282000@lemmy.ca 15 points 3 weeks ago (2 children)

Middle management blows their load over an employee that can't be sexually harassed and always tells you that you're right.

[–] nik282000@lemmy.ca 16 points 4 weeks ago (1 children)

Who didn't know that the US was the Mecca of bigotry, racism, homophobia, and corporate greed? Seriously, I can't be the only person who saw this coming as soon as Trump's name went on the ballot in 2016.

-1
submitted 1 year ago* (last edited 1 year ago) by nik282000@lemmy.ca to c/selfhosted@lemmy.world
 

Warning there are some tall-ass images in this post.

A few years ago I got mad enough at the temperature gradient in my town house that I designed and build a bunch of ESP8266 sensors to feed data into an RRD so that I could have some pretty graphs to be angry about as well. (As of this week I have also started logging stats from my UPS and server.) Using the minimum of HTML and CSS I threw those graphs, a map of the previous day's incoming network traffic, and some convenient links onto a homepage that I use on all of my devices. At a glance this tells me if the furnace/AC is working, if my server is having a fit for unknown reasons, and if the local power grid is playing it fast and loose with the voltage and frequency (which I suspect they do).

collapsed inline media

Clicking the temperature/humidity data leads to a long term data page covering 2 years of data in varying resolution. The gap last fall was when the garage sensor failed and I was waiting for Aliexpress.

collapsed inline media

There are also long term trends for the server load and UPS but they have only been logging for a few days so there is not much to look at.

Clicking the map on the home page leads to a text file containing a summary of all incoming traffic to apache and ssh. The ssh server is on a high port number and doesn't see much traffic but occasionally a persistent bot will find it.

collapsed inline media

Everything but my landing page (this animation in p5.js https://old.reddit.com/r/cellular_automata/comments/1djwjbu/waves_processingorg/ with the text "Hey this isn't where I parked my car" overlayed) is behind basic auth or better and I have push notifications set up for every ssh login (even my own), in 5 years I have never had a successful login from an attacker, this is not an invitation, have mercy.

All the data is gathered with python scripts and stored in RoundRobinDatabases or, in the case of network data, digested down into a CSV. The climate sensors respond to requests on port 80 with the temperature and humidity separated by a comma to allow for easy polling. The map is generated by looking up the IPs' information on Shodan then plotting the location data if it was present.

Absolutely none of this is the ideal solution, there are existing projects that cover literally every aspect plus a dozen extra features I could never hope to implement. I wrote as much as I could from scratch just to see if I could, it's more fun to drive a shitty car that you built than one you bought from the dealer.

Aaaand I accidentally made the UPS database only 24hrs instead of the 10years I had intended. Lucky for me rrdtool has a function to expand an rrd without wiping out the data!

view more: next ›