“What is the most complex program, application or game you have created on Linux? What programming language did you use?”

  • SteveTech@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    It’s not strictly Linux anymore, but I wrote a library (or userspace driver?) in Python that interacts with a ChromeOS Embedded Controller found in Framework Laptops and Chromebooks. The driver part of it interacts with the EC directly over the IO ports, which was originally written for Linux but later ported to FreeBSD and Windows since IO ports aren’t at all OS specific. It can also talk to the cros_ec_dev driver on Linux if it’s loaded.

    https://github.com/Steve-Tech/CrOS_EC_Python

    I wrote a GUI utility for Framework Laptops too, which also serves as the example for CrOS_EC_Python: https://github.com/Steve-Tech/YAFI

  • juliebean@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    i wrote a fairly complex script in perl for scraping fanfiction off the internet, extracting data from it, and formatting that data into beautifully and consistently formatted epubs to read on my ereader.

      • juliebean@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        12 hours ago

        because i’d previously been scraping by hand and i’ve never heard of that tool before right now. i regret nothing; i learned a ton. i’m curious how they got around the cloudflare captcha issue.

  • Dran@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 days ago

    I wrote and maintain a zero-to-working SAP HANA/S4 installer in pure bash.

    It takes a redhat compatible from base install to a working, production-ready SAP system in about 5 hours.

    It’s like ~9,000 lines of bash

      • Dran@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 day ago

        Building a fully functional SAP system just takes that long in raw install time when your process also includes a sufficiently large system copy, and your hardware isn’t bleeding-edge.

        It’s a massive application stack

          • Dran@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            1 day ago

            I copy the install media locally. Although there is probably a noticable performance hot to running my main VM disk over the network.

            • I worked at a place once that had a system that was all bash that would take hours to run. I rewrote it in Ruby and got the run down to about 10 minutes.

              This was 2000; I don’t recall anymore how much of that was the runtime and got much was just refactoring and hindsight - god knows how old that jumble of bash scripts were. A lot must have been the interpreter; even just looping is far slower in bash than probably anything else.

              Not a comment on your script; just remembering that win.

              • Dran@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                edit-2
                1 day ago

                99% of the waiting time in my case is either waiting for file copies or waiting on SAP programs to run.

                I wish I had low hanging fruit like that to go after.