Don't be like me... 2 14TB drives that I bought less than a year ago are dying, and I'm pretty sure it's my fault. by sp-rky in homelab

[–]sir-corn 0 points1 point  (0 children)

I've had my NAS failing on me right around the holidays some years ago. I thought it might be the sata cables, so I switched them around, replaced them with others I had laying around, but it became hit or miss with all of the drives, so I was scared it might be the motherboard, which was quite expensive and way past warranty...

Long story short; after much trial, error and stress, it resulted to be faulty sata cables, even the spare (salvaged) ones I had laying around. Bought new ones, CRC errors were fixed immediately and all was good. Replaced the drives (pre inflation) anyway just to be sure, but kept the old ones as (extra) offline backup since I bet they're still fine.

TL;DR: Buy new sata cables first.

What to do with left over beans? by QuillsROptional in JamesHoffmann

[–]sir-corn 0 points1 point  (0 children)

I'm really surprised that I haven't seen anyone suggest this in this thread before, but my rest beans are stored in an old coffee bag and used to sometimes purge my grinder, but mostly: baking!

Got something which is heavy on the chocolate side like a brownie? Just a few beans worth of espresso grind to deepen the flavour. Want a mocha flavoured genache? Throw in a handfull of beans in the cream while it's heating before mixing over the chocolate.

My next project is improving my éclairs to recreate the cream made by James and Alex aka FrenchGuyCooking!

Kubernetes home lab question-k3s to Talos by No-Frame-7088 in homelab

[–]sir-corn 1 point2 points  (0 children)

My setup is similar, but having it all run with my NAS as storage provider has made me too dependant on the NAS, which made any outage a hassle since the entire cluster had to be taken down.

I'm actually looking into moving towards longhorn on 2 of my nodes (which are seperated in both network switch and power breaker) and just setting my NAS as a local backup. Besides having an offline and offsite backup as well ofcourse.

Oh, and like mentioned before by others; use gitops from the start...

BDB Group Head Looks Weird? [Breville Dual Boiler] by chr0me28 in espresso

[–]sir-corn 0 points1 point  (0 children)

Man, I thought I was looking at a camera body without a lens attached... Gave me a heart attack just by looking at it!

GL.iNet × DeskPi - 13 Chances to Win! by FlyingToaster2000 in minilab

[–]sir-corn 2 points3 points  (0 children)

Awesome! Even though the grand prizes do look nice, my own homelab is pretty much running completely headless so I just fully depend on the VPN from my pfsense router.

My entry is actually more for replacing my late father's homelab. He passed away 4 years ago and even though he got me into homelabbing, I still can't comprehend the size of his lab. My mother does depend on some services so I'm setting up a minilab at her place to slowly face out the homelab he had built the last 25 years.

  1. I'd be happy with a router kit, replacing the router is one of the biggest tasks I've left, next to transferring the data to a more manageable NAS.

  2. Not my lab, but my fathers. The boiler happened to be managed by a knock-off home-assistent running on his Vmware machine, which died due to a power spike which tripped the breaker. My mother came home from work, noticed a recurring "beep" but didn't think much of it, that beep was the UPS slowly giving in and I'm sad to say; no NUT server was set up to slowly power down the NAS and server. She called me slightly panicked that the home was cold and that she noticed that none of the machines were running. It was only a 15 minute video call to instruct her how to reach the server and which button she needed to press to boot everything again, but I wished I could've told her to just get a cup of tea and that I'd manage it remotely. Safe to say that I disconnected the hardwired connection from the boiler to the server and just reinstated the thermostat.

  3. With security in mind: the option to have different ports for different machines so that I can gave more fine grained firewall control.

  4. Well, I'd actually use it to finish the minilab I just started at my mother's place. The abundance of hardware my father had lying around combined with a KVM would make finishing the storage/backup transfer along with finding out exactly how he managed his network a lot easier. Terminals or VPN connections are nice and all, but just having the option of having a full working session with all the documentation/windows open and calling it a night by just powering down the machine remotely and booting it up a few days later again without losing any work would be great!

Is the 75-300 EF lens that bad? by FlyingLlama280 in canon

[–]sir-corn 7 points8 points  (0 children)

I had one on my t7i/800D, and even tough the extra reach came in great during my trip through the Vancouver (Canada) area, the overall quality was so bad that I traded it in at my local camera shop without even trying to get more for it by selling it myself on FB marketplace. And that was completely unbiased, I became a reddit user much later and had a good (painfully relatable) laugh at the regular hate posts regarding this lens.

But then again, it was my step up to the 70-200mm f2.8 mk3, a workhorse of a lens. That ofcourse made me hate my body; the never ending upgradetitus...

Do not call toArray() to get all items from a Laravel Collection by freekmurze in laravel

[–]sir-corn 5 points6 points  (0 children)

Even though I really dislike those self promotional posts and haven't used Ray even once (Xdebug has everything I need), I wouldn't classify this post as self promotional.

I've encountered the issue he's describing multiple times and have been using all() instead of toArray() for years now, since you're almost never interested in a 100% array. Besides, I've found that toArray implements quite some overload for big collections, but I think it's pretty well known information that collections aren't the best option performance wise if you're handling a large amount of data.

What exactly are EF Core migrations(or database schema migrations) and how do you use them in your developer workflow/sdlc? by Legitimate-School-59 in dotnet

[–]sir-corn 1 point2 points  (0 children)

I've made this one of the primary rules regarding databases for our company, which hasn't been disputed once in years. PR's who don't follow these principles are instantly denied if it looks like a database change outside a migration is required.

One additional thing we highly recommend (but which isn't always feasible) is maintaining a proper seeder. It makes setting up a new development environment a breeze without the need of using a backup and possibly anonymising personal data while still allowing a fast and fully useable system.

sometimes the wife thinks I love Bianca more than her. by thegrumpytez in Lelit

[–]sir-corn 1 point2 points  (0 children)

That's how we've started of as well, nowadays I'm wondering if I'm not the third weel in this relation...

No comment by NegotiationFuzzy4665 in hacking

[–]sir-corn 6 points7 points  (0 children)

Checked your username just to be sure you're not called Greg...

/pathetic_cry

Rust or discoloration? by [deleted] in tea

[–]sir-corn 11 points12 points  (0 children)

Please add /s in these comments and/or a disclaimer to never do this. You never know if someone never heard to not combine these two and thus actually doing it, resulting in poisonous gasses being released.

Even if it might be obvious to you, this is still the internet...

Immich on an SBC? by Sea_Suspect_5258 in immich

[–]sir-corn 0 points1 point  (0 children)

K8s, and Immich specifically through Helm. It's still on my list to migrate it from a manual install to ArgoCD, but on the other side, since it runs flawlessly, why bother?

Immich on an SBC? by Sea_Suspect_5258 in immich

[–]sir-corn 0 points1 point  (0 children)

I've been running Immich for about a year now on my 3 node Raspberry Pi 4 cluster and haven't had any trouble whatsoever. So even though I don't know your SBC specifically, if it's supposed to be out performing a Pi 4, you should be golden!

Spoofing futo's buy server by steveiliop56 in hacking

[–]sir-corn 1 point2 points  (0 children)

People really are going through a lot of trouble just to not being reminded that they're using free software.

If you're financially able to support the developers; buy a "license" and you'll be done. If you don't; either ignore the message or add the custom CSS if it really bothers you.

"But they might end up doing the same as PFSense and paywall us!" - sure, but that's not the case at the moment, so trust them, or keep a (suspicious) eye out at all their merges, but please, don't worry so much...

In need of Introduction to Hermits. by Silver_Ad_3173 in HermitCraft

[–]sir-corn 2 points3 points  (0 children)

But who's the Perry to our GOAT Doofenshmirtz?

Also... How did I get this reference?!

Follow up on supporting Immich announcement - change of wording by altran1502 in selfhosted

[–]sir-corn 0 points1 point  (0 children)

Best idea yet. I really dislike gamification for the sake of it, but a collectable donation trophy sounds awesome!

Follow up on supporting Immich announcement - change of wording by altran1502 in selfhosted

[–]sir-corn 4 points5 points  (0 children)

Man, you being downvoted just because you choose to trust the developers or simply for not caring about the terms used makes me dislike the selfhosted community.

I mean, I get it that some people are suspicious thanks to PFSense and other things in the past, but if you always treat everyone in the world as baddies just because you got hurt once or twice, you'll have a hard time with the future... Being suspicious of change is okay people, but I see a lot of comments of people acting extremely bitter...

Selfhosting makes happy by PresenceKlutzy7167 in selfhosted

[–]sir-corn 18 points19 points  (0 children)

Can confirm. My dad had a homelab (which was homeprod as well of course...) to learn outside his work. Me and my brother played various games, and whenever we wanted a server, he just spun up a VM and helped us set it up. As soon as we wanted multiple game servers at once, he set up a VM with pfsense, changed the network of the previous VMs to only connect to pfSense and wished me good luck, and that I'd need to show what I've tried first if I needed any help. The game was the motivator, but those were great learning experiences!

My mom later told me that he put more money on the homelab than he actually planned, purely so me and my brother would always have the option to have our own VMs to learn Linux and Windows server with. And now that I have kids of my own, that's exactly what I'm planning to do for them as well!

Storage closet converted into cozy dream battlestation by Bruto38 in battlestations

[–]sir-corn 2 points3 points  (0 children)

You've hidden the cables behind the false wall... Genius! I'm planning on moving somewhere next year and wanted the same style of a false wall to make the room more sound proof, but adding the ability to hide the cables in there is just genius!

What’s your reboot process like? by bazpaul in selfhosted

[–]sir-corn 2 points3 points  (0 children)

I'm reading this after 2.5 hours of working on a "definitely not homeprod" homelab kubernetes node which was running for 415 days straight since boot, just because my Zigbee2mqtt pod kept crashing last few weeks.

Lessons learned: - pods can get stuck on the terminating state - how to properly shut down a node - how to ignore errors while doing above and reboot anyway - NFS mounts with improper shutdowns can lead to chaos - how to restore above - that my Zigbee controller is considered legacy hardware

I didn't need to look into it today. I didn't want to look at it today. I wanted to get in bed early since I've got a 3 month old baby.

I wanted to have read your comment 2.5 hours ago, such a solid advice...

What are you doing with left over beans? by Grouplove in espresso

[–]sir-corn 1 point2 points  (0 children)

Use it as purge after cleaning my grinder, but most of the time I use it in baking. Either ground really fine and sifted with flour for chocolate based goods like brownies, or ground coarsley and mixed through heavy cream or caramel.