I’ve always wanted to understand what is actually meant by this. I have wanted to get into programming for years, did some basic python and c, but could never really progress. Not necessarily a linux question but I know since most distros come with libraries already, it’s popular to use for programming.

I have trouble understanding what people are actually programming if it isn’t their job. Like, you go to your computer and start working on…what? I don’t know enough to make an entire program or debug a game, so im just unsure what people do especially when starting out.

Also I don’t really want to learn it for a job. I just want to learn it to know it. But im not sure how to apply it to anything realistic.

  • altkey@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    16 hours ago

    Linux lets\makes you interact with a terminal (and just OS tinkering) more, so you become a bit more comfortable with writing simple commands and then code.

    One of the things for basic Python and default libs is sorting your Downloads folder into a more logical filestructure that doesn’t need reshuffling and searching for long. Move pictures into Pictures and sort them accordingly to the year\month you saved them for example. Make the script run once a week. Make it write a log file as it runs.

    I did this one for the sake of it, but then I needed a piece of code to bruteforce the PDF file password protection, so I used a lib to access and resave this file without a password. On every attempt to open it, it inserted another password from either freely availiable databases of simple passes or well-known leaks (rockyou). It worked nice for PDFs I needed to crack to, actually, just print on paper, but also worked when I tested it with combinations of random words and symbols I came up with. I needed a lib to open a pdf, a list of passwords to try (althought, a bit pre-formatted), and a couple of victims to test on.