[-] TheTrueLinuxDev@programming.dev 2 points 10 months ago

Not necessarily, you still need backups or snapshots especially on home directory in case software have a nasty bug like deleting your data.

[-] TheTrueLinuxDev@programming.dev 16 points 10 months ago

Yup and I am getting sick of hearing this even on Arch Linux. Like, mofo, you could literally run a snapshot or backup before upgrading, don't blame us if you're yoloing your god damn computer. Windows have exactly the same problem too and this is why we have backups. Christ.

On my Arch Linux Install, I literally have a Pacman Hook that would forcibly run backup and verify the said backup before doing a system-wide update.

[-] TheTrueLinuxDev@programming.dev 1 points 10 months ago

That one was an old documentation that some of the Chinese folks actually document a lot of quirks related to X11 protocol. I paid about $6000 for translator to work on translating that doc to English and I use it to build my own GUI Toolkit on Linux that I still use to this day.

[-] TheTrueLinuxDev@programming.dev 16 points 10 months ago* (last edited 10 months ago)

How it really works:

mpf_t temperature;

If confused...It's arbitrary sized floating precision number provided in LibGMP and you can find more information about mpf_t here.

[-] TheTrueLinuxDev@programming.dev 5 points 10 months ago

Yep, and if open source licensing could be revoked on a whim, you can imagine the chaos that ensued. That would be my understanding as well, old version that have MPL license is perfectly fine to fork off, newer version might not be as it is under a different license. One of the reason why I liked Apache License is that it have make it explicitly clear that it's irrevocable whereas MPL it is operating on an assumption that it's not revocable. The most fundamental problem with the legal system in USA is that no law is "set in stone" and leaving things to assumption is open to reinterpretation by the judge who may have sided against you. (Hell, Google vs Oracle on Copyrighted API is still on case-to-case basis, so take it as you will.)

Disclaimer: I am not a lawyer. I just share what I learned from Legal Eagle youtube and few other sources.

[-] TheTrueLinuxDev@programming.dev 1 points 10 months ago

I concur, there was a few problems that might come up on various platforms like Windows not implementing C11 standard threads and other stuff, you would instead use TinyCThread library that works like a polyfill.

All problems and challenges are workable, if the problem with Debian is out of date library, you could set up CI/CD for release build that rebuild your software when update occurs and static link the updated dependencies.

Back to your point, if they didn't design their code and architecture to be multiplatform like in C, they need to re-evaluate their design decisions.

[-] TheTrueLinuxDev@programming.dev 2 points 11 months ago

I would spend it on language translation basically, paying someone to translate international documentations on things that aren't documented in USA no matter where you look.

[-] TheTrueLinuxDev@programming.dev 1 points 11 months ago

I don't think so on the extensibility aspect alone, some of the Rust syntax/trait does not map well to other languages when other languages attempts to extend Rust library. I write C code in a way that it would be extensible from any languages.

[-] TheTrueLinuxDev@programming.dev 3 points 11 months ago

Yep, biggest reason why I chose C language is Foreign Function Interface. Code you write for C is more than likely to be usable in just about any other languages.

[-] TheTrueLinuxDev@programming.dev 5 points 11 months ago* (last edited 11 months ago)

I would most likely be using C11 for threads.h and stdatomic.h for foreseeable future, the problem with using the latest and greatest standard is the risk of compiler not supporting it, so I would likely wait at least 5 years before switching to C23 sometime in 2028 or 2029. There was a bit of a controversy around optional bound checking in C11 that they end up removing/deprecating it, I am sure C23 would have something going on.

I don't plan on using #embed or constexpr in favor of maintaining common C programming practices, language familiarity is still an important factor to thriving project as much as people nag on me to rewrite everything in Rust or C++.

view more: next ›

TheTrueLinuxDev

joined 1 year ago