FFMPEG is an excellent piece of software. I used it last weekend to build an automatic video editor / titler and it only took about 10 hours to make it work. I was going to use moviepy but the rendering time was extreme and the memory consumption was horrible. My 300 line python script with imagemagick and FFMPEG produced a 30 minute long video in under 5 minutes.
Excellent once things work, yes, but elegant? It always takes me hours to search the forums if something doesn't work as expected
Ask HN: What are your favorite examples of elegant software?
391–400 of 422 posts
Re: Ask HN: What are your favorite examples of elegant software?
#392Earlier quoted context omitted.
any examples?
Mercedes has a system on the S-class that uses the sensors to detect a potential impact (e.g. an rapidly approaching vehicle while the car is stationary) and uses the active suspension to "jump" raising the car a few inches just at the moment of impact, apparently slightly reducing the potential for injury. Many cars and especially planes & spaceships are have tons of systems like this. I worked on a system that did…
I wonder if the occupants of the other car benefit in any way...
Re: Ask HN: What are your favorite examples of elegant software?
#393Re: Ask HN: What are your favorite examples of elegant software?
#394Earlier quoted context omitted.
Mercedes has a system on the S-class that uses the sensors to detect a potential impact (e.g. an rapidly approaching vehicle while the car is stationary) and uses the active suspension to "jump" raising the car a few inches just at the moment of impact, apparently slightly reducing the potential for injury. Many cars and especially planes & spaceships are have tons of systems like this. I worked on a system that did…
> raising the car a few inches just at the moment of impact, apparently slightly reducing the potential for injury I wonder if the occupants of the other car benefit in any way...
Now if they had only bought a Mercedes as well, they could have chosen the self-breaking option to avoid the collision in the first place.
Re: Ask HN: What are your favorite examples of elegant software?
#395Earlier quoted context omitted.
> raising the car a few inches just at the moment of impact, apparently slightly reducing the potential for injury I wonder if the occupants of the other car benefit in any way...
Haha, maybe not? Since their car would tend to go underneath, although the footage I've seen always shows the other vehicle hitting from the side with the hood sliding slightly beneath the Mercedes...it does seem from watching that would give other vehicle slightly more space to dissipate the impact energy. Now if they had only bought a Mercedes as well, they could have chosen the self-breaking option to avoid the co…
Re: Ask HN: What are your favorite examples of elegant software?
#396I'd say Linux Mint. It combines everything that's good about Ubuntu while removing things like snap. Also the design is so much better but I feel that's a personal choice. But everything in linux just works so well now. I run 4 monitors on 2560 resolution on two separate amd cards and everything runs flawlessly. I have all the software for free and most OSS is just as good if not better for my work (except games and…
Hmm. I was kicking the wheels on cinnamon the other day - but because it's not on Wayland it won't do mixed resolution displays out of the box, so it's not really viable for me. A pity, as I dislike snaps and the generally dumbed down direction of recent Gnome, so it would otherwise have been a good fit for me. For now I'm (still) on Ubuntu though.
Re: Ask HN: What are your favorite examples of elegant software?
#397Earlier quoted context omitted.
The CLI is so confusing that Stackoverflow has a bunch of questions for things that should be easy or trivial by default. Last thing I would call git is "elegant". https://stackoverflow.com/questions/tagged/git?tab=Votes
I knew there would be people commenting on this. But I don't think something has to be intuitive for newcomers to be elegant. There are also posts here mentioning vim, which to most people is weird and useless at first. Some tools takes effort to understand, but once you put in the effort, they become tremendously powerful. I would say that they are elegant in that they allow you to do something otherwise difficult i…
Re: Ask HN: What are your favorite examples of elegant software?
#398Sublime Text introduced multiple cursors to the world. A single incredibly versatile and elegant feature. That feature has empowered my ability to use other pieces of software faster, and programming languages I was unfamiliar with... Better. I've used it to: - batch edit columns copied from excel files. - wget/rename/run cli commands on dozens of inputs without having to worry about how for loops are written in bash…
Re: Ask HN: What are your favorite examples of elegant software?
#399After 50 years it doesn't seem like it, but C has managed to survive this long because it's a solid all-round player from the bare metal to web servers. It's simple enough that you could probably implement a fairly capable C compiler in assembler.
C has managed to survive this long because of: - Unix and its inertia - Licensing of Unix allowing it to proliferate to the masses and being used for education - because it is simple enough that a compiler can be quickly brought up for any new ISA that appears, as long as it looks enough like a 70's-80's CPU architecture enough for pointers to work. Elegant? No. - Making pointers and arrays synonymous is elegant only…
Pffffffft... bahahah. No. You can write unreadable turds in ANY language.
Re: Ask HN: What are your favorite examples of elegant software?
#400Norton Commander - https://en.wikipedia.org/wiki/Norton_Commander . Not sure how elegant on the inside, but it comes from the era when software development was not so fast paced. And the fact that it inspired so many spin-offs (just to mention few that I personally used: Volkov Commander, Midnight Commander, FAR Manager, and my favourite - DOS Navigator (it had spreadsheet!)).
Pretty much everything I can think of as elegant either runs in the shell (k9s, nano) or is the shell (fish).