• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle




  • gornius@lemmy.worldtoLinux@lemmy.mlWhy do you use the terminal?
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    6 months ago

    If you know how to use git, you will know how to use docker (provided you know what you want to do). They are completely different programs, yet you can quickly grasp the other instinctively.

    Now, Photoshop and Blender - they are also different programs, but if you know Photoshop, you still need to relearn Blender’s interface completely.

    This is why I prefer terminal programs in general. Unless it’s more convenient to use GUi, i.e. Drag&Drop file manager, some git tools etc.


  • gornius@lemmy.worldtoSelfhosted@lemmy.worldShould I move to Docker?
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    7 months ago

    Learn it first.

    I almost exclusively use it with my own Dockerfiles, which gives me the same flexibility I would have by just using VM, with all the benefits of being containerized and reproducible. The exceptions are images of utility stuff, like databases, reverse proxy (I use caddy btw) etc.

    Without docker, hosting everything was a mess. After a month I would forget about important things I did, and if I had to do that again, I would need to basically relearn what I found out then.

    If you write a Dockerfile, every configuration you did is either reflected by the bash command or adding files from the project directory to the image. You can just look at the Dockerfile and see all the configurations made to base Debian image.

    Additionally with docker-compose you can use multiple containers per project with proper networking and DNS resolution between containers by their service names. Quite useful if your project sets up a few different services that communicate with each other.

    Thanks to that it’s trivial to host multiple projects using for example different PHP versions for each of them.

    And I haven’t even mentioned yet the best thing about docker - if you’re a developer, you can be sure that the app will run exactly the same on your machine and on the server. You can have development versions of images that extend the production image by using Dockerfile stages. You can develop a dev version with full debug/tooling support and then use a clean prod image on the server.







  • although I’m not a TWM user I like to just press super and type the first letters of the program I’m looking for to open it.

    It will never stop to amaze me how many people don’t know it’s a feature in every major DE and every Windows starting from Vista.

    Even on Windows 10/11, just tap windows key and start typing without clicking anywhere.

    My list of FOSS I use everywhere (these work in Win and Linux):

    • Open Tablet Driver - if you’ve got the drawing tablet it probably supports it. You can customize everything and has even built-in plugin manager.

    • Krita - GIMP alternative with non-destructive editing capabilities.

    • yt-dlp - download videos from almost any video sharing service, even TikTok, Instagram etc.

    • neovim - for quick file edits

    • vscode/vscodium with vim plugin - my IDE for everything

    • ffmpeg - forget handbrake - you can do even basic video editing here. Join two videos together? Done. Add audio to video? Done. Crop part of the video without reencoding it? Done. Loop a video to 10 hours without reencoding it? Done in matters of seconds.

    • kdenlive - an actual video editor that is 100% FOSS, doesn’t suck and works on Windows and Linux.

    • imagemagick - ffmpeg for images




  • You can just as easily have keylogger running in backround as clipboard sniffer.

    Browsers don’t have permission to read clipboard, just change them (unless you specifically give them permission to read it).

    As you can see no benefits not using PM. It’s in fact safer, because if databade with non-hashed passwords leaks, your password doesn’t because it’s different for every service.





  • Except age rating is a joke - especially 18+. I get that many games are violent, contain sex scenes, drugs etc., but in my eyes 18 is a barrier when you become responsible for your actions, which would imply playing 18+ games is dangerous like alcohol and cigarettes, while it’s just a PEGI’s way of saying “Somebody said fuck several times”.

    Like Witcher 3 obviously fits into 18+, but not because it’s should be 18+, but we got used to these games being 18+. At the age of 14 in school I was required to read Sapkowski’s novels, but god forbid you play Witcher 3.