“What is the most complex program, application or game you have created on Linux? What programming language did you use?”
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
Why are there so many down votes. This seems like an interesting thread idea.
I think the photo gives the wrong impression. Its completely unrelated to the question.
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.
Is there a reason you wrote your own instead of using FanFicFare? Just curious
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.
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
Why does it take 5 hours?
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
Does that include network latency? Is it faster with install media?
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.
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.