• 0 Posts
  • 208 Comments
Joined 2 years ago
cake
Cake day: May 31st, 2023

help-circle



  • You’re absolutely right, you could take any binary that runs under an OS and set up a bootloader to execute it directly without an OS.

    The problem is that all programs, even ones in C, rely invisibly and enormously on the OS abstracting away hardware for them. The python interpreter doesn’t know the first thing about how to parse the raw bytes on a hard drive to find the location of the bytes that belong to a given file path. Files and filesystems are ‘fake’ when you get down to it, and the OS creates that fiction so each program doesn’t have to be customized per PC setup.

    So, ironically, to be able to truly kernel hack in python like you want would require writing tons of C to replace all OS hooks (like fopen to interact with a file, e.g.) with code that knows how to directly manipulate your hardware (speaking PCIe/NVMe to get to the disk, speaking GPT to find the partition on the disk, speaking ext4 to find the file in the partition, e.g.).

    OSes are complex as hell for a reason, and by retrofitting python to run on bare metal like that would require recreating that complexity in the interpreter.




  • zagaberoo@beehaw.orgtoLefty Memes@lemmy.dbzer0.comrebels with a cause
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    22 days ago

    I just can’t see how you aren’t describing feudalism once anarchist communities become large and widespread enough to create resource competition between them. Some people are just always going to accumulate some foothold of power and then it’s all downhill from there.

    I want to love anarchism and communism, but I can never escape the fact that they require consistent, universal altruism in a way that just seems utopian to me. It comes across as maybe the ultimate example of perfect-is-the-enemy-of-good.


  • The networking aspect will likely be the trickiest, but if you’re already interested in administrating a VPS you can absolutely do it.

    1. Have an ISP that doesn’t block inbound connections. So far both Comcast and Verizon have been cool to me in that regard.
    2. Configure your router to always give your host machine the same internal-network IP address.
    3. Configure your router to forward any relevant ports (TCP/80 for insecure HTTP, e.g.) to the internal address you assigned to your host.
    4. Go to ifconfig.me or similar to ascertain your public Internet IP address.
    5. Buy a domain (Namecheap has been good to me for a decade) and change its A record to point to that address!

    Not hard, but not exactly uncomplicated either.










  • Binary speed is really the least reason to do it. Whether it’s worth it or not is up to the individual, but there are a lot of little reasons Gentoo is uniquely powerful.

    Benefits specific to compiling:

    • fine-grained control of features and dependencies with USE flags
    • very easy package maintenance (writing ebuilds)
      • much simpler to add your own custom local packages when you need them
      • less workload on the gentoo team which is good for repository health and breadth
    • control of compile flags (yes speed, but more practically hardening for secure systems)
    • the same gentoo is available on way more platforms and architectures than any binary distro

  • Who said anything about capitalism? I’m talking about centralization. Expecting countless individuals to be able to do something as well as specialists can do it just doesn’t make sense to me.

    “Personal responsibility” is a red herring used by those in power to try and shift the blame off of institutions with real power. We need institutional change first and foremost.

    Off-gridders are primarily dilettantes who have the money to pretend they’re disconnected from the system.


  • I see what you’re saying. I find it hard to believe vanlifers and offgridders are the vanguard of a more sustainable future though.

    I don’t see how all the world’s people individually handling waste can work better than centralized expert processing, especially in more dense areas.