• 3 Posts
  • 80 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle


  • IsoKiero@sopuli.xyztoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    3
    ·
    6 days ago

    I have absolutely zero experience on pacman, but I could argue the very same with dpkg/apt with the same arguments. The Debian kind, not the abomination Ubuntu ships with today.

    as far as i know apt and dnf have no equivalent easy redo all

    It’s similarily possible (dpkg --get-selections, some sed/cut/awk wizardry to cut unnecessary stuff from the output, xargs to apt install --reinstall on that and you should be good to go, maybe there’s even a simpler way to achieve that) with Debian.

    But that’s just me. I’ve been with Debian for quite a while. Potato was released 2000, but I think I got my hands on it 2001/2002 and I’ve been a happy user since. And even if I’ve worked with pretty much any major distribution (RHEL, CentOS, SuSe, Ubuntu and even Slackware back in the day) around I still prefer Debian because that’s what I know and learned over the years on how to fix things if something goes sideways.



  • I’ve been writing a small powershell script at work lately and as vscode now offers their AI bundled in I just tried it out of curiosity. It does a half decent job. Nothing I couldn’t write on my own, but on a simple script it saved some time as I’m a long term linux guy and just getting my toes wet with powershell so I need to dig up proper functions and syntax pretty often.

    But it also created a script which would have broken syntax and errors in it, so it still needed manual tweaking, but as long as you know what you’re doing it can be useful. And also potentially dump your company data to some learning database.


  • Is my current set up secure, assuming strong passwords were used for everything?

    Network security is a complicated beast to manage. If general public can access your services over the internet, that’s a threat you need to mitigate. Strong passwords is a good start on that, but it doesn’t take into account if there’s a flaw or bug on the service you’re running. Also if you have external users, they might reuse their passwords and leak for those might cause a threat too, specially if there’s privilege escalation bugs on the software you’re running.

    And so on, it’s a too wide field to cover in a short comment here, but when you’re building your stuff, and what is maybe the most disticntive feature on a good professional between a not so good one, is to think ahead and prepare for every imaginable scenario where something goes wrong. Every time you add a way to access your network, no matter how minuscle, think what happens if that way gets compromised and what it might mean on the very worst case.

    Maybe you want to add another access point to your network since your terrace isn’t properly covered. That’s nice to have, but now everyone around 100 meters around your house/apartment might have access to your stuff if they can break your wifi security. Maybe you set up a reverse proxy or tailscale on the stack. Now the whole internet can at least probe your stuff and try to find vulnerabilities, try to use stolen credentials and even try to social engineer their way into your stuff. Or maybe you made an mistake and left something open that shouldn’t be.

    I’m not trying to scare you off out of anything. Go ahead and play with your stuff, break things, learn how to fix them, have fun while doing it. Just remember to think ahead about worst case scenarios, weigh their risks, think ahead and then go on. Learn about DNAT, reverse proxies, VPN and network layers and whatever you come across on your adventure but keep in mind that shit will hit the fan at some point. And learn to accept that, learn from your mistakes and do better next time.


  • In case you’re not aware: Back in the day Ubuntu took off because Debian was maybe a bit too strict on their approach on being stable and rock solid for quite a few of different architectures. There was a time when you could just edit few files and migrate a running system from Debian to Ubuntu, just with way more up-to-date software packages and that’s about the time frame I moved from Debian to Ubuntu too. For quite a few years it was pretty smooth, updates just worked, software versions were up to date and the general experience was more polished than what you could get from Debian at the time.

    But that ship has sailed. Ubuntu changes stuff so frequently that the package maintainers can just barely keep up, snapcraft is a steaming pile of shit in my opinion and the stability is faint ghost on what it used to be. Maybe becuse it’s not that compatible with Debian anymore and thus can’t benefit from the original source, maybe for some other reason.

    Whatever the case might be, running ubuntu gives you an ubuntu experience, which is very much not the same than debian experience. If you want more streamlined distribution I’d recommend Mint (Debian edition), if you want the rock solid system but with less refined experience where you might need to tweak thing or two manually then go with Debian.

    And, mostly for the nitpicking commenters, I know, I grossly simplified things around and cut some corners. I know it’s not as black and white comparison. This is just my generic experience over quite a few years with Linux on Desktop.




  • Without any expertise, I’m going to say that minuscule amounts of radioactive nickel from your CR2032 replacements compared to wasted lithium on pretty much every battery your all current devices have plus single use LiIon-cells on e-cigs, single use toys and whatever is a pretty good improvement. In 100 years or so all that nickel is converted to copper with small amounts of radiation and heat as byproducts, in today’s technology, is pretty good.

    And the radiation is beta-negative. I’m not an nuclear physicist, but if I’m not mistaken your common 3032 cell has enough metal to shield pretty much all of the radiation. Just don’t eat them and maybe stick with li-ion on your wrist watch.


  • Fair point, but basic physics has been a part of our education program for at least 60 years. Also for few years the ‘exchange priced’ or ‘market valued’ electricity has been somewhat popular and on the news, which adds up to the general understanding as if you know your stuff it means quite literal money as your bills are smaller. So, maybe ‘absolutely everyone’ is a bit of a stretch, but in general the majority of adult people understand the concept.

    And also a ton of common folk understand it at least a bit on a deeper level as basic physics is included to studies beyond elementary school regardless on what you study. Sure, not everyone understands (or cares) how 3 phase AC in here adds up to 400V or why you need to have 2,5mm² wires for 16A fuse, but it’s still pretty common that people, specially in a separate house, understand how you can only pull 2300W out of a 10A circuit or 3600W from a 16A one (10 and 16A being the most common fuses in a household in here).








  • Debian. I’ve had installations which went trough several major version upgrades, I’ve worked with ‘set and forget’ setups where someone originally installed Debian and I get my hands on it 3-5 years later to upgrade it and it just works. Sure, it might not be as fancy as some alternatives and some things may need manual tweaking here and there, but the thing just works and even on rare occasion something breaks you’ll still have options to fix it assuming you’re comfortable with plain old terminal.


    1. VM running on a proxmox host. Tips: make sure you know your backups are in a state you can restore data from them.
    2. Nightly backup via proxmox to Hetzner Storage box with 2 day retention. I’d like a local copy too but I don’t currently have hardware for it.
    3. Don’t know. Personally I have a DNAT rule on firewall and my instance is directly open to the internet. You might not want that and I might not recommend it, but right now, for me, it works. I’d need to look in a VPN solution for android I could replace the current ‘open for all’ situation.


  • How much RAM your system has? Zfs is pretty hungry for memory and if you don’t have enough it’ll have quite significant impact on performance. My proxmox had 7x4TB drives on zfs pool and with 32 gigs of RAM there was practically nothing left for the VMs under heavy i/o load.

    I switched the whole setup to software raid, but it’s not offically supported by proxmox and thus managing it is not quite trivial.