HamsterRage

joined 3 years ago
[–] HamsterRage@lemmy.ca 1 points 2 days ago

"I took him out!"

[–] HamsterRage@lemmy.ca 9 points 2 days ago

I think that as you move towards replacing cloud services with self-hosted ones you take on the responsibility of providing the same reliability as the cloud services.

Just installing a UPS will let you ride through 99% of all power failures because most of them are only a few seconds long. My UPS says that my entire HomeLab, including Internet modems runs at about 100W, and it will last for the better part of an hour.

The question then becomes about longer outages, that run the UPS dry. There are two issues.

The first issue is system shutdowns, if they just crash when the battery ends, then you run the risk of data corruption and disk buffers that haven't flushed. But in truth, this is probably a minor possibility. Your servers were up, but the rest of your house was already down. No feed from the cameras, no events in HomeAssistant, no WiFi, no nothing. This means virtually no activity on your servers for an extended period of time.

This doesn't eliminate the possibility of corruption, but it makes it less likely.

The second issue is getting the servers back up and running when the power returns. This can be a bit more complicated, what if the power is up and down a bit before the UPS has some charge built up?

Maybe your best just leaving them off for a bit until things have stabilized and the UPS has a charge.

NUTs deals with both of these issues in an automated fashion. It can shut your services down in a controlled manner so that they don't crash when the battery dies. It can bring your servers back on line when the power is restored and stable.

For me, my main concern is for when the power failure goes past he battery life when I'm on vacation. I won't be able to go and push power buttons on the server. NUTs can get a bit tricky if you are looking for 100% hands-free operation. I can deal with anything when I'm home, but away in problematic.

I've decided to leave NUTs out of the mix for now. All of my servers are configured to turn on when power is restored, and all of the services are configured to start up automatically when the server boots. I'm content to let the UPS drain dry, crash the mostly idle servers when that happens, and then reboot when power is restored.

There's a risk, but I think I understand it.

[–] HamsterRage@lemmy.ca 25 points 4 days ago (1 children)

Something about this question rankles me.

It feels like there's some underlying assumption of superiority of US law enforcement over that of the rest of the world. Even just by asking the question the way it is asked, "...flex a LAPD badge", like anyone outside the US would even know what it was.

Flip the question around, could a Romanian cop who didn't speak English, or one from the DRC maybe, "flex" his badge in Wyoming? It's laughable. The OP probably wouldn't ever consider the possibility that anyone in the US would ever care about a foreign police badge.

I dunno. The whole question smacks of, "Team America. World Police".

[–] HamsterRage@lemmy.ca 1 points 1 week ago (1 children)

The Cold War, the threat of "Mutually Assure Destruction" that hung over all of heads for decades until the USSR dissolved, was "fairly minor"??????

[–] HamsterRage@lemmy.ca 1 points 1 week ago

My objection centres around the wording, "Premier is essentially the same as a US Governor".

Not, "similar", or "somewhat the same responsibilities", "essentially the same".

Yes, lots of countries use the term "Governor" for the leaders of states and provinces. But specifying, "US Governor", adds a ton of baggage to the term that essentially makes the statement incorrect.

It's a Parliamentary system, a different form of government and the roles are not "essentially" the same.

[–] HamsterRage@lemmy.ca 8 points 1 week ago (1 children)

I didn't see the "at war" part in the full text of the speech, and I don't rememer hearing it when I watched it. Perhaps it was in response to one of the questions after the speech?

[–] HamsterRage@lemmy.ca 1 points 1 week ago

There's a fair number of lawyers in northern Ontario who also do a lot of work in Manitoba. Winnipeg to Kenora is something around a 2 hour drive.

[–] HamsterRage@lemmy.ca 1 points 1 week ago (3 children)

The Cold War. Transfer of Hong Kong to China. The collapse of the USSR. Arab/Israeli wars. Vietnam and the Peace Movement. The oil crisis. 9/11. End of Segregation in the US. Womens' Rights especially after the Pill Gay/Trans Rights The Korean War The Beatles

It's pretty much constant.

[–] HamsterRage@lemmy.ca 1 points 1 week ago (2 children)

The scope of the powers is virtually identical within their jurisdictions. Provinces are clearly not going to be negotiating international treaties, for instance, but they are going to be negotiating inter-provincial relations.

[–] HamsterRage@lemmy.ca 1 points 1 week ago (4 children)

Well, I object to the need to somehow relate everything to an American frame of reference. The two systems are fundamentally different, and the roles are not really analogous. Far better to say, "Like a Prime Minister, but for a province." What's hard about that?

[–] HamsterRage@lemmy.ca 1 points 1 week ago

Attack of the Killer Tomatoes 🍅

[–] HamsterRage@lemmy.ca 7 points 1 week ago

The Sun is the same, in a relative way, but you're older Shorter of breath and one day closer to death.

25
New Articles Dump! (www.pragmaticcoding.ca)
 

First off, I any of you have been waiting for me to get around to publishing parts 2 & 3 of my SnapCast series, I apologize for the delay. I've finally got my homelab to a state where I can start transitioning my wife over from some of the cloud services we've been using to my self-hosted alternatives. The final push on that was to get backups working properly. Anyways, time just disappeared on me.

So here's those two articles:

Part II

Part III

I've had a whole bunch of infrastructure type articles in progress for months now. I finally took the time to wrap a bunch of them up. Part of the issue is that so much of the content is inter-related that it feels wrong to publish a single article when a whole bunch of the information depends on understanding some other concept that is covered in a different article that hasn't been completed yet.

What am I trying to accomplish here?

As someone who has always considered himself primarily a programmer, I've also had to be "The IT Guy" for decades, and also "The Unix Guy". This meant that I ended up with a lot of practical experience with networking and data centre configuration and planning. I was in charge of configuring the rulebase on a CheckPoint FW1 firewall before some of you were born.

At the same, I never really wanted to do this stuff, but somebody had to, and it had to be done right. But it was all "hands-on", and I would have killed myself before I'd go through the misery of getting something like a Cisco certification.

On top of that, as a programmer I was quite a bit more involved with the business of the company than any of the networking guys we eventually ended hiring. This meant that my role morphed into being the guy that could help the network techies understand how their plumbing was going to be used by the business.

I look at what it takes me to build a homelab, and I realize just how much I lean on the things I learned over decades of being "The IT Guy", and I wonder how hard it must be for people without that kind of a background.

I've read through much of the FUTO article, and i can only think that even that is a hard slog for non-technical beginners. I thought that if I could share some of the things that I've learned about putting together a homelab over the past year or so, while trying to explain the underlying concepts involved, then it might help someone...and it keeps me busy and off the streets.

Back to the article dump...

Next is an article about DNS servers and, specifically, Technitium.

Going hand-in-hand with that, is an article about how You Need a Public Domain.

Finally, an article I've been sitting on forever that talks about the Lenovo M910Q Servers that I have been using in my Proxmox cluster.

In case you're interested, I'm also working on articles about systemd, a Proxmox introduction, resilency and recovery, network security, accessing services, VPN integration and linux basics.

As always, I'm interested in any feedback you may have, including stuff I got wrong or missed out, and whether there's any content you'd like to see. Thx.

66
submitted 3 months ago* (last edited 3 months ago) by HamsterRage@lemmy.ca to c/selfhosted@lemmy.world
 

For the past few years I’ve been building and maintaining website/blog at www.pragmaticcoding.ca. It has mostly about programming, and more specifically it’s ended up having a lot of content about JavaFX with Kotlin.

Lately, I’ve been spending all of my time building out my own homelab and self-hosting the services that I need. I’ve got a little stack of M910Q’s running in a Proxmox cluster with an HP T740 running OPNSense.

One of my big successes so far has been to replace my Google Home devices streaming music all over the house with a SnapCast network using RaspberryPi Zeros as the streaming clients. I've been working on documenting how to do this, and the result is a three part series that explains what SnapCast is, how it works and how to combine it with Mopidy to stream music around the house.

I have to admit that this one got away from me. It was all one article until I noticed that Jekyll was estimating it at oven 1/2 hour to read, which is way, way too long. So it became three parts, which also gives me the opportunity to release it over time, and make sure that each part is nice and clean before I post it live. Part I is an introduction to SnapCast and explains how it works and how to set up a SnapCast server in Proxmox.

If you're interested, take a read and let me know what you think.

 

For the past few years I've been building and maintaining website/blog at www.pragmaticcoding.ca. It's mostly about programming, and more specifically it's ended up having a lot of content about JavaFX with Kotlin.

Lately, I've been spending all of my time building out my own homelab and self-hosting the services that I need. I've got a little stack of M910Q's running in a Proxmox cluster with an HP T740 running OPNSense.

Since I've been spending all - and I do mean all - of my time futzing about with this self-hosted stuff, I thought I'd try to add some content to my website to help people doing the same thing. My idea was to make it more "bloggish", talking about the tricky things I've had to master along the way as I implement various services.

But I feel like there also needs to be some foundational content. Articles that explain concepts that a lot of people, especially people without professional networking experience, find difficult to grasp. So I've started working on those.

While I think of myself as mostly a programmer, my career (now, thankfully over) had me as an "IT Guy" more often than not. I spent 24 years at the same mid-sized company with a tiny IT department and simply had to get involved with infrastructure stuff because there was nobody else to do it. It was very hands-on at first, but as we grew I was able be limit my involvement to planning and technical strategy.

Since the mid 90's, we went from self-hosted physical servers, to colocated servers, to colocated virtual servers to cloud servers and services. So I feel like I have the insight to provide help.

Anyways, this is the first article in this new section. I've seen a lot of people posting questions about how VLAN's work and I know that it's mystifying to many. So I wanted to push it out before I have the supporting framework put together on the website, and it's just sitting there as the first post that's not about programming.

My goal is to provide practical, pragmatic advice. I'm not particularly worried if some particular facet of an article isn't 100% totally correct on some obscure technical level...as long as the article gives solid practical advice that readers can act on.

Anyways, take a look and let me know if you think this kind of article might me of use to yourself or other people getting started on self-hosting.

 

A friend of mine has come up with a new on-line word game that seems to me to be pretty fun. I'll give the you the description from the announcement he sent out a few days ago:


You start with a set of 7 letters. Make a word, ideally using some letters more than once. That’s how you score big: for example, COFFEE is worth 8 points, TEAMMATE is 12, but DONUT is just 5.

The letters you play will be replaced with new ones from today’s predetermined sequence, until it runs out. Here is a short video.

Your goal is to squeeze the highest score you can out of today’s challenge. You can also play it again, making different choices, to beat your earlier score.

It’s free, fresh every day, and just enough of a mental workout to leave you smiling (or muttering about that one word you should have seen).


I know, from the discussions that we've had as he was developing it, that he has spent a huge amount of time working on the algorithms to ensure that the letter sets that loaded up each day have a maximum amount of playability.

The game runs in two modes: one with a short list of 30 letters, and one with the "regular' list of 60 letters. Personally, I find the shorter game a good fit for my attention span. If you didn't pick up on it from the description, the letter lists are updated each day, so you get two games a day, one short and one long.

I think it's worth a try.

https://letteragegame.com/

 

For some reason, the wife decided to pull out all of the amigurumi critters that she's made since she started doing this at the beginning of the year.

So, here you go, the group shot:

 

She said that the pattern was awful and that she had fudge all kinds of stuff to make it work. The hat needed to be completely redesigned.

 

I'm beginning to think that this sub will never be ready. What's the hold-up????

 

The wife has started to make these amigurumi creatures. Here's her latest two.

She uses worsted weight wool (she tells me) which generally results in bigger creatures.

 

I wanted one of these back in 1980 when I was 16. I remember that they were $1,200, but they might as well have been $1,200,000 as far as I was concerned.

Many years later I had the $$$ to buy one, and this one is a beauty. Koa, with Bill Lawrence pickups.

Look at all the knobs and switches!!!

view more: next ›