arran 🇦🇺

  • 0 Posts
  • 18 Comments
Joined 10 months ago
cake
Cake day: September 23rd, 2023

help-circle

  • This. However from about the release of knoppix and ubuntu things started looking and feeling a lot more like they are today. – I credit that to Knoppix for X & filesystem work and Ubuntu for setup and everything desktop.

    So even though late 90s it was tough, it was nothing like mid 90s. But by around 2004-2005ish the install and setup was substantially easier however the reputational damage still exists to today.

    I remember spending a lot of time in XFree86 config files, re-configuring it trying to figure out what works best on my monitor, and then the migration to XOrg. All good times.

    There was however a substantial amount of hype around Linux. It wasn’t quite what it is with AI. But you couldn’t read a magazine without encountering it in some way, but it was the type of hype were everyone knew of it but few people had anything to do with it.

    Another thing that hadn’t been mentioned is that there was a new distribution cropping up every day or so. (It felt like at least.) But this seems to back up that statement: https://en.m.wikipedia.org/wiki/File:Linux_Distribution_Timeline.svg




  • Most of the reasons mentioned, and also they are a bit out of the way to install and setup, you don’t get much feedback as per users using them. As they integrated with the OS you have to search for them as a user, and you have advertise them as a someone packaging. Every extra step creates friction which ads up. It feels like a solution based in the concept of maintaining SEP. – Plus people aren’t exactly paid to do this.










  • The busybox one seems great as it comes with shells. php looks like it would add some issues.

    Personally since I use go, I would create a go embedded app, which I would make a deb, rpm, and a dockerfile using “goreleaser”

    package main
    
    import (
    	"embed"
    	"net/http"
    )
    
    //go:embed static/*
    var content embed.FS
    
    func main() {
    	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    		// Serve index.html as the default page
    		http.ServeContent(w, r, "index.html", nil, content)
    	})
    
    	// Serve static files
    	http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.FS(content))))
    
    	// Start the server
    	http.ListenAndServe(":8080", nil)
    }
    

    Would be all the code but allows for expansion later. However the image goreleaser builds doesn’t come with busybox on it so you can’t docker exec into it. https://goreleaser.com/customization/docker/

    Most of the other options including the PHP one seem to include a scripting language or a bunch of other system tools etc. I think that’s overkill