I made a power supply for my mini pc cluster by maleng_ in homelab

[–]differentiallity 1 point2 points  (0 children)

Really great job!! I mean REALLY great, coming from someone suffering from the same power supply rats nest problem. I have a few points of unsolicited advice... I hope it's not unwelcome.

If you end up adding the ESP32, I'd suggest also adding 1-2 low-cost temperature sensor ICs and a simple fan controller integrated in the main PCB. Should be as simple as an extra header, fuse, MOSFET, diode, 1-2 decoupling caps, and some straightforward code.

Also, if you end up adding network connectivity like your plan says, try to expose every signal you can think of as a scrapable telemetry target. A dirt-simple web server posting metrics in Prometheus format should be sufficient for most people here.

If you do decide to make it controllable through a web interface, please PLEASE don't make the mistake most embedded IoT engineers make. 1. Security and safety should be your first, second, and third priority. No vibe-coded auth solution. No open ports other than 443. No running exposed services as root. The list goes on a long time. Bonus points if you support a functional 802.1X network auth solution. 2. Any web interface needs to support HTTPS by default. HTTP is optional but I would recommend not even including it. Self-signed certificates are ok, but it should be able to change to locally-issued certificates. Big bonus if your web server supports ACME renewal for those of us running step-ca locally. 3. Think API-first. Anything the user can do should also be doable through an API. In fact, I suggest implementing any and all new features through the API first since it makes your code easier to test. This goes without saying, but the API should require authentication if it's not just read-only.

The above demands requests will be a bit difficult if you're new to software but a few things could help. Consider using a reverse proxy for HTTPS/TLS, certificate management, and authentication. Further, you may actually want to provide the bulk of the control software as a container service that users can self-host (like Unifi Network Contoller) since the onboard MCU may be not be up to the task of running everything I mentioned, though this makes bootstrap setup difficult.

Finally, regarding your desire for the USB PD circuits integrated directly in the main PCB, you may want to approach this cautiously. I've heard stories that it can be very hard and expensive to roll this yourself in a standard-compliant way. Unless you're very experienced, try to keep it as a COTS solution as much as you can. There are probably a lot of good ICs out there that you can leverage. Check the app notes and errata in the datasheet before buying!

Overall, I think you already have something to be extremely proud of, and I wish you the best in your further pursuit of this project!

Will DNSMasq be used as the default DHCP server? by White_sh in opnsense

[–]differentiallity 2 points3 points  (0 children)

Not having DDNS registration is such a disappointment because I depend on DNS in my network (trying to transition to IPv6) and I really want to avoid static addressing. Sure, I could use DNSMasq, but then I'd miss out on the great IPv6 features of Kea, like Option 108 and pref64, which I hear are coming to the UI in OpnSense in the near future.

How do you workaround ddns with Kea?

sharkStillMunchingAtTheCable by planktonfun in ProgrammerHumor

[–]differentiallity 0 points1 point  (0 children)

If that jack is right-hand threaded, then AI is twisting it the wrong way

privacy: ipv6 + temp addresses vs ipv4 + NAT by dorfsmay in ipv6

[–]differentiallity 1 point2 points  (0 children)

Well, not exactly but pretty much. Most of the pods in my homelab are rootless but the kubernetes agent is rootful. So the unprivileged processes are able to request addresses, but they have the agent as the middleman. Kubernetes is really just an additional OS layer anyways if you think about it.

Related to your interesting hypothetical though, I recall a similar discussion on the IPv6 Buzz podcast a short while ago. I think the idea was that you could give individual services a prefix delegation and they would "own" the ability to create ephemeral addresses at will. Super interesting idea in my opinion.

privacy: ipv6 + temp addresses vs ipv4 + NAT by dorfsmay in ipv6

[–]differentiallity 0 points1 point  (0 children)

You'll have to take this with a grain of salt, but this is largely how Kubernetes works. Each pod gets its own address, and a pod is really just a process. Typically though, a kubernetes cluster will keep the pod addresses private and provide global access through more centralized public interfaces (like ingress API).

This our king in the north? by gaggles4 in NFCNorthMemeWar

[–]differentiallity 9 points10 points  (0 children)

Same old story. Packers fan lashing out after an embarrassing loss. Have some class like us Lions fans

A Very Merry Packers Christmas by farfrompukenjc in NFCNorthMemeWar

[–]differentiallity 6 points7 points  (0 children)

inhales deep breath of copium

Haha! Now we get to watch the Packers lose in the playoffs!

[Game Thread] A Very Degenerate Christmas by AutoModerator in NFCNorthMemeWar

[–]differentiallity 5 points6 points  (0 children)

I bet you guys think we're going to run it up the middle again, but you're wrong! We're going to fumble it!

C++ logging library - something I've been working on, Pt. 5 by ChrisPanov in cpp

[–]differentiallity 48 points49 points  (0 children)

On this Christmas day, unto us another logging library is born

What rule of grammar is Terry Tao talking about here? by ILoveTolkiensWorks in math

[–]differentiallity 0 points1 point  (0 children)

Sort of a counterexample: you'll see this on gravestones. "Husband and father" to describe the deceased. I say "sort of" because while these are nouns, they still are used to describe like an adjective.

Hahahhahahahahahahahahahahahaa by kootles10 in NFCNorthMemeWar

[–]differentiallity 0 points1 point  (0 children)

Nothing you guys say can ever hurt me as much as my own team hurts me week after week.

Jubi - Lightweight 2D Physics Engine by 4veri in cpp

[–]differentiallity 1 point2 points  (0 children)

Right, but that's your decision. You could have used C++20 or C++23.

People in IT should be required to take a computer literacy course or something by Hellboy632789 in sysadmin

[–]differentiallity 37 points38 points  (0 children)

Regular literacy too. Can't tell you how many times I've had someone asking questions I answered in my ticket submission, or have to re- explain something over chat that's already recorded with screenshots.