RetroDECK
We are using: python, bash and Godot.
It's a All-In-One Retro Gaming platform in a flatpak.
RetroDECK
We are using: python, bash and Godot.
It's a All-In-One Retro Gaming platform in a flatpak.
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 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.
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.
Nothing wrong with that of course. There are advantages to making your own things.
FanFicFare isn't perfect either. For cloudflare it supports using FlareSolverr, but from what I heard it doesn't always work well. Alternatively it can open the pages in your browser and grab the content from the browser cache.
I mainly like that it's available as a Calibre plugin and that it supports just about any fan fiction site.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0