one_knight_scripting
@one_knight_scripting@lemmy.world
- Comment on Home renovations 3 days ago:
Nope, you are right, I was not familiar with the resistance of the human body and I was wrong.
- Comment on Home renovations 3 days ago:
Hahaha. Ok, I thought you were a young child because you spelled battery differently and your take on everything I said the first time seemed childish. I told you not to touch a car battery because I thought you were a child. I still wouldn’t personally touch it, but that’s not what’s funny. You are NOT an electrical engineer. YOU ARE A STUDENT, lmao, I thought you might be a child and I wasn’t far off.
Your German, correct? I fixed aircraft in Germany, and you are only a student. Ever work on 115 VAC @ 400Hz 3 Phase? Ever work on C-130 avionic systems? What about B-1’s?
There is actually a lot of stuff I miss about Germany, too. Döner Kabob… God I miss those, they were my favorite. Oh and the German ice cream. Also the beer… I miss a good Dunkel. Keep studying you’ll be an electrical engineer soon.
o7
- Comment on Home renovations 4 days ago:
-
Do yourself a favor, don’t ever touch a car battery. It will hurt and you will feel it. They show that in movies as torture for a reason. It’s not the voltage in this case, it’s the current. Those batteries are capable of 550 CCA (cold cranking amps). Warm that battery is 685 CA. In fact I think I would consider the car battery more dangerous.
-
In alternating current the electrons move back and forth across the material similar to a wave striking the shore of a tropical beach… No one said anything about reflecting. Have you never been shocked by an outlet? Shoot, I grew up in a trailer with a short on the front door. If you touched the metal, it wouldn’t even hurt, but you’d certainly know.
-
- Comment on Home renovations 4 days ago:
Theoretically, the building is ground and you only need to connect one cable.
- Comment on Home renovations 4 days ago:
Disagree. DC current will seek the path of least resistance, and will not go down the pole.
I’m unsure if this is an apartment, but I would start by reaching out to the landlord and say your lights have been acting up whenever they are using it. Maybe say your electric bill has been higher, maybe stage that a little bit by simply leaving a light on for a month. Have them inspect the floor damage too.
Once they leave, I would install cannibalize a power cable, plug it into the wall and hook the hot wire up to one of the screws.
The benefit of using AC, is that it is less likely to take the path of least resistance and travels as waves back and forth, doesn’t necessarily matter if they are grounded or not, they will feel it, likely marginally lower since it is also going into everything their 8ft pole is touching.
…I don’t know why I’m on a villain arc this morning.
- Comment on Give your Matrix account a Discord UI with Commet 6 days ago:
Saved for later, will probably try once it publishes to flathub.
- Comment on To demonstrate that people will argue about anything, here's a picture of a ladybug. 1 week ago:
Ugliest ladybug I’ve ever seen.
- Comment on Self-hosting paradox: Windows for specifically MS word 2 weeks ago:
Side note, you could run it as a VM on proxmox and still get it to work… I think… But again network connection.
- Comment on Self-hosting paradox: Windows for specifically MS word 2 weeks ago:
So this is a difficult question. Yes, you could use a VM if you have the hardware. The only downside is needing network connection in order to connect to it. If you are away from home that may require opening a port, or preferably a VPN.
Alternatively, I have winapps installed on my Linux laptop. Now, that is designed to run Windows as a VM within docker, podman, or libvirt. The reason I like it is that it doesn’t just use a full rdp session. Do you remember remote apps from back in the day? It is not a full rdp session, it only connects to the app you’ve launched and it appears on your Linux machine as just another window.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
I simply didn’t see it that way. Sure, the Linux community doesn’t necessarily agree on which version is the best for new users. But we tend to agree on reliable distros which are good to get started on.
Brand New user? Unless they have a specific task that the PC needs to do, then first priority is reliability. Off the top of my head, Debian is reliable as hell, Ubuntu is about the same and fine but not my preference (very dislike snap proprietary bs that almost no one uses anyways), Fedora is a common use case and while I haven’t used their desktop in a while, I rather like the rhel based distros they are reliable but keep things a little newer than say Debian.
The point is that I disagree with you entirely. You see the choice of distributions as daunting and a scary thing. I don’t. I see the choice as freeing.
It has never mattered to me personally what version of Linux someone is using, or what path they think I should go down, I do my own research for my own purposes and come back with my own options(maybe my 90s rebel inner child still exists). Admittedly, perhaps someone needs more guidance when running away from Microslop and I could help as long as I know what package manager the distro is using.
Now, you also say that Linux isn’t mainstream already? There are entire career fields built on it, why the hell is it not considered mainstream. DevOps typically uses Linux heavily, might be as simple as an install script, or a full k8s deployment. And shoot running docker servers for backing up your files via VPN? What about 25 TB of jellyfin movies/shows. Sorry, but even if not used as a desktop, a Linux server can go a long way and do a ton of good.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
Straight up, I got it confused with Pop!_OS. Although I’m too lazy to look it up, my buddy who has been using it for years mentioned looking at other options because of that reason.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
Honestly, I’m with you on that one. Debian is reliable, so it send like the safest option. Personally, I use it for my seed box, and I’ve helped others set their own up to. Fedora, on the other hand, introduces package updates a little more frequently and in the long run, I think it’s more enjoyable to work on in a desktop environment.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
Interesting, I would love to understand the tooling behind that.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
Fair. Technically I’m running Windows in a container… But technically that is also a vm.
That is for this neat remote app fella: github.com/winapps-org/winapps
Makes it look like Windows applications run on Linux without using full rdp.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
Actually I want to delete my comment… 22.04 is actually Pop!_OS not Mint. So I’m really dumb there, admittedly, Ubuntu spinoffs get me a little mixed up.
And the work bit, in truth, I think he could fix it by using a btrfs partition, snapper, and grub-btrfs. Build the machine to automatically take snapshots so if someone breaks it, you can fix it faster.
And yeah, ease of use is important, that was not meant as a criticism instead I pointed out a logical reason why Mint made sense.
Long story short, comment stupid, my bad.
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
I suggest you check out this: github.com/ChrisTitusTech/winutil
It is a script to remove a bunch of Microslop… I’m betting on Microsoft re-enabling it unannounced after an update though.
But I’m with you on the Linux bit…
…I use Arch btw…
- Comment on Windows 11 just lost 5% market share in two months despite Windows 10 losing support. 2 weeks ago:
Mint? Based on Ubuntu 22.04? Seems a hint dated.
No offense, I swear. But I have a buddy who has to support Mint installs for work and it honestly sounds horrible.
Then again, the ease of use is probably worth the time saved setting up Arch.
- Comment on As Microsoft Forces Users to Ditch Windows 10, It Announces That It’s Also Turning Windows 11 into an AI-Controlled Monstrosity 2 months ago:
I think that if someone (even ai) is analyzing my documents, then they are bypassing my permissions and looking despite the fact that it is supposed to be private. Basically if ai is looking at my files, I don’t care if it isn’t running locally, it is bypassing my permissions to my automated stock trading algorithms. I know security isn’t exactly Windows strength anyways, but accessing my files without my consent or knowledge is a nail in the coffin for me. Granted, you can disable it, I might point you in the direction of winutil by Chris Titus, but I would bet money that a Windows update will re enable it without consent or permission.
- Comment on As Microsoft Forces Users to Ditch Windows 10, It Announces That It’s Also Turning Windows 11 into an AI-Controlled Monstrosity 3 months ago:
With an Nvidia GPU, I would recommend Nobara over Bazzite becomes it comes with the various drivers.
- Comment on As Microsoft Forces Users to Ditch Windows 10, It Announces That It’s Also Turning Windows 11 into an AI-Controlled Monstrosity 3 months ago:
Ok, guys. I’m reading some of these replies which are saying the amount of outrage is out of proportion. I have to disagree with that. I don’t want an AI running on my PC that is monitoring and learning about my shit. I didn’t want that data saved even locally, let alone the monetization of that data. I don’t want to be paying for power of a device that is turning me into someone else’s paycheck.
Can you turn it off? I believe you can. But I also believe that doing it manually would be incredibly annoying since that does go with a lot of past practice. I also get it would reactivate itself after major updates, like how Edge keeps reinstalling.
Are there other solutions to my Microsoft issues, yes. Chris Titus Tech comes to mind.
But overall, the Windows ecosystem does not feel right to me anymore. Could other people still use it, yes. Am I going to stop them, not intentionally. But my Arch gaming PC runs games better than the same machine running Windows. I’ve always entertained the idea of a full switch, still have a Windows 11 dual boot and haven’t officially done it yet, but with this the moment feels right. At least for me, hopefully you can understand that.
- Comment on Microsoft still can't convince folks to upgrade to Windows 11 5 months ago:
Not if you need custom error bars on a scatter plot in Excel.
- Comment on Microsoft still can't convince folks to upgrade to Windows 11 5 months ago:
IOT Enterprise LTSC fully works for running Windows games. It just doesn’t have a lot of the bloatware. I’ve tried it and I’m dual booting with Arch.
If it is just meant as a steam machine, I recommend looking at Nobara for Nvidia GPU and Bazzite for AMD GPU. I will admit that I haven’t tested vr games yet.
Personally, I’m maining Arch and it plays most games in HDR at 4k 120Hz. My Windows is so I have access to Microsoft Office.
- Comment on I'm "use NFS forfilesharing old." what's the current optimal solution for shared drives if I have like 3 linux machines in the house? 5 months ago:
So, I understand this is Ian only, I will leave out NextCloud.
I would personally say Ceph. This is a storage solution meant to be spread among a bunch of different hosts. Basically, it operates on RAID 5 principles AND replicated storage.
Personal setup: single host 12 ea. 10TB HDDs.
To start, it does go ahead and generates the parity data for the storage bucket. On top of that, I am running a X2 replicated bucket. Now since I am running a single host, this data is replicated amongst OSDs(read HDDs), but in a multiple host cluster it would be replicated amongst multiple hosts instead.
One of the benefits to an array like this is that other types of services are easily implemented. NFS overall is pretty good, and it is possible to implement that through the UI or command line. I understand that Samba is not your favorite, but that is also possible. Personally, I am using Rados to connect my Apache Cloudstack hypervisor.
I will admit, it is not the easiest to set up, but using docker containers to manage storage is an interesting concept. On top of that, you can designate different HDDs to different pools, perhaps you want your solid state storage to be shared separately. Ceph is also capable of monitoring your HDDs with smartctl.
Proper installation does give you a web UI to manage it, if some one of your skill even needs it. ;)
- Comment on Your favourite piece of selfhosting - Part 1 - Operating System 6 months ago:
Hypervisor Gotta say, I personally like a rather niche product. I love Apache Cloudstack.
Apache Cloudstack is actually meant for companies providing VMs and K8S clusters to other companies. However, I’ve set it up for myself in my lab accessible only over VPN.
What I like best about it is that it is meant to be deployed via Terraform and cloud init. Since I’m actively pushing myself into that area and seeking a role in DevOps, it fits me quite well.
Standing up a K8S cluster on it is incredibly easy. Basically it is all done with cloud init, though that process is quite automated. In fact, it took me 15m to stand up a 25 node cluster with 5 control nodes and 20 worker nodes.
Let’s compare it to other hypervisors though. Well, Cloudstack is meant to handle global operations. Typically, Cloudstack is split into regions, then into zones, then into pods, then into clusters, and finally into hosts. Let’s just say that it gets very very large if you need it to. Only it’s free. Basically, if you have your own hardware, it is more similar to Azure or AWS, then to VMWare. And none of that even costs any licensing.
Technically speaking, Cloudstack Management is capable of handling a number of different hypervisors if you would like it to. I believe that includes VMWare, KVM, Hyperv, Ovm, lxc, and XenServer. I think it is interesting because even if you choose to use another hypervisor that you prefer, it will still work. This is mostly meant as a transition to KVM, but should still work though I haven’t tested it.
I have however tested it with Ceph for storage and it does work. Perhaps doing that is slightly more annoying than with proxmox. But you can actually create a number of different types of storage if you wanted to take the cloud provider route, HDD vs SSD.
Overall, I like it because it works well for IaaS. I have 2000 vlans primed for use with its virtual networking. I have 1 host currently joined, but a second host in line for setup.
Here is the article I used to get it initially setup, though I will admit that I personally used a different vlan for the management ip and the public ip vlan. rohityadav.cloud/blog/cloudstack-kvm/
- Comment on preferences 6 months ago:
This is not a programming language, this is bash.
Does not right-shift bits, it appends to a file.
- Comment on how did he do that? 7 months ago:
Just hit Ctrl+Alt+Del.
- Comment on Vitamins are good but idk.... 7 months ago:
Showers are for oranges or IPAs.
- Comment on Fresh Proxmox install w/ full disk encryption—so install Debian first, then Proxmox on top? 8 months ago:
Here is a note it less automated install for root on zfs. Need at least three hdds preferably in an hba and can withstand the loss of at least one drive.
github.com/Reddimes/…/debian-raidz1
There is also an Ubuntu ZFS RAID 10 branch.
- Comment on Launcher Recomendtion for media center 8 months ago:
I gotta give LibreElec a 👍. I’d your to can do HDMI control, then using the remote to control Kodi works by default.
Jellyfish plugin works incredibly easily too. YouTube, not so much.
I would like to put it something that over heard about the pi5, it apparently can run Android tv. Which would solve all your requirements.
- Comment on Questions regarind k8s ingress 8 months ago:
Heads up, this is going to be an incredibly detailed comment, sorry. So, at the time I stood up that cluster, it was not in Ceph. I had setup the host to run Ubuntu 24.04 with Root on ZFS and the host was simply connected to itself via NFS.
Here is the Github I created for the Root on ZFS installation, I’m not sure if you are familiar with ZFS but it is an incredibly feature rich filesystem. Similar to BTRFS, you can take snapshots of the server so basically if your host goes down you have a backup at least. On top of that, you get L2ARC caching. Basically, any time it reads or writes to my zpool, that is handled in the background by my NVMe SSD. It also caches the most frequently used files so that it doesn’t have to read from a HDD everytime. I will admit that ZFS does use a lot of memory, but the L2ARC kinda saved me from that on this server.
Ultimately that cluster was not connected to CEPH, but simply NFS. Still, I created a Github repository which is basically just one command to get Ubuntu 24.04 installed with Root on ZFS. Its not prefect, if it seems like it is frozen, just hit enter a couple times, I don’t know where it is getting hung up and I’m too lazy to figure it out. After that, I followed this guide for turning it into a Cloudstack Host: rohityadav.cloud/blog/cloudstack-kvm/.
That was my initial setup. But now I have it setup significantly differently. I rebuilt my host, installed Ubuntu 24.04 to my NVMe drive this time. Did some fairly basic setup with Cephadm to deploy the osds. After the OSD’s were deployed, I followed this guide for getting it setup with cloudstack: www.shapeblue.com/ceph-and-cloudstack-part-1/. The only other issue is that you do need a secondary storage server as well. I’ve personally decided to use NFS for that similar to my original setup. Now Ceph does use a LOT of memory. It is currently the only thing running on my host and I’ve attached a screenshot. Image 77GB!!! OoooWeee… A bit high. Admittedly, this is likely because I am not running just the Rados image store, but also an *arr stack in cephfs on it.
I do potentially see some issues, with ceph, the data is supposed to be redundant, but I’ve only provided one ip for it for the moment until I figure out the issues I’m having with my other server. That is some exploration that I’ve not done yet.
Finally takes a breath Anyways, the reason I choose Cloudstack was to delve into the DevOps space a little bit except home built and self-hosted. It is meant to be quite large, and be used by actual cloud providers. Not only can you set up linux servers with cloud-init user data, but Terraform works by default.
The thing that is interesting about K8S deployments is that it is just the click of a single button. Sure, first you have to download the iso, or build your own with the built-in script, but Cloudstack manipulates the cloud-init user data of each node in the cluster to set it up automatically whether it is a control node, or a worker node.