• 0 Posts
  • 31 Comments
Joined 11 months ago
cake
Cake day: August 12th, 2023

help-circle







  • I have never seen banding before, the image seems specifically picked to show the effect. I know it’s common when converting to less than 256 but color, e.g. if you turn images into svgs for some reason, or gifs (actual gifs, not video)

    Also dithering exists.

    Anyway, it’ll surely be standard at some point in the future, but it’s very much a small quality improvement and not something one definitely needs.


  • Turun@feddit.detoSelfhosted@lemmy.worldTarallo - selfhostable FOSS Trello alternative
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    3 months ago

    A basic image is really easy. It’s basically just

    Dockerfile

    FROM debian  # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). 
    RUN apt install dependencies  # do what ever you need to get your app running. 
    RUN echo "options and stuff" >> /etc/a/config/file  # you can also edit system files
    COPY . /app  # copy your project into the docker container.
    EXPOSE 8080  # doesn't actually do anything, but documents where the app will be listening
    CMD server-binary run /app/main.php  # I have actually no idea how php server stuff works
    

    (Docs https://docs.docker.com/reference/dockerfile/)

    Then people can run your project with docker.

    Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.









  • It depends if underpowered means “too slow” for you, or “slow”. I would consider the meaning more similar to “too slow”, i.e. I think the reference point matters. Therefore for me the pi is not underpowered, just low powered. [Edit: to keep the discussion on track, I would therefore consider the pi “good enough”, which was the original claim in the second level comment]

    Of course in terms of absolute numbers the pi has not a lot of processing power.




  • I have a pi4, 4GB. And running off of an SSD (connected via SATA to usb adapter). Sorry, forgot to specify.

    Even slower would still be worth it IMO, digital document management is just so much better than keeping multiple folders of paper organized. Also I can access all my paperwork from anywhere, because the pi and my phone are both in my wireguard VPN network.