• 5 Posts
  • 77 Comments
Joined 1 year ago
cake
Cake day: August 8th, 2023

help-circle




  • I assume the “kill it” comment was a little tongue-in-cheek. On small SBCs, like a Pi, or old hardware, it could be a problem. I’ve seen people with flatpaks taking up 30GB of space, which is significant. I’m not sure how much RAM it wastes. I assume running 6 different applications that have loaded 6 different versions of Qt libraries would also use significantly more RAM than just loading the system’s shared Qt libraries once.






  • It’s neither okay nor sustainable

    Source?

    You realize mass deportations would decimate the economy? Some cities are 10% undocumented immigrants; Florida is 5% undocumented immigrants. Undocumented immigrants are a significant part of the U.S. economy and culture.

    It would also be a horrific endeavor. Police going door-to-door demanding documentation. Probably social surveillance similar to Nazi Germany (along with all the false accusations). 4 million child U.S. citizens would have their parents hauled away. There will need to be concentration camps to hold all those people before travel (if they would actually get around to doing that).

    “Law breakers,” isn’t a very good argument. Everybody breaks the law (speeding, jay-walking, etc). The system is currently working as intended, and encouraging people to break the law to acquire an easily exploitable workforce. Incidentally, undocumented immigrants commit far less crime than citizens.






  • I (probably unreasonably) despise using web front-ends for desktop applications.

    GTK is OK. QT is very feature rich, but that adds complexity. Both can be cross-compiled to most systems and shipped with all the required libraries pretty easily.

    I haven’t used it in a long while, but I remember liking Java Swing for some reason. Java should be “write once, run anywhere.” But, cross-compiling isn’t usually too hard, so not sure how much that matters. There’s more modern frameworks for JVM-based languages now, but I haven’t tried them.

    I’ve noticed Gradio is popular in the ML community (web-tech based, and mostly used for quick demos/prototypes).

    Edit: For web applications, I prefer Angular’s more traditional architecture over React’s hook architecture.






  • Python is quite slow, so will use more CPU cycles than many other languages. If you’re doing data-heavy stuff, it’ll probably also use more RAM than, say C, where you can control types and memory layout of structs.

    That being said, for services, I typically use FastAPI, because it’s just so quick to develop stuff in Python. I don’t do heavy stuff in Python; that’s done by packages that wrap binaries complied from C, C++, Fortran, or CUDA. If I need tight-loops, I either entirely switch to a different language (Rust, lately), or I write a library and interact with it with ctypes.