[-] snowe@programming.dev 6 points 2 years ago

Server is back up and user profiles should now be visible. Hidden communities have not been fixed yet.

[-] snowe@programming.dev 6 points 2 years ago

I can’t speak for C, as I don’t follow it that much, but for C++, this is just not fair. It has been proven repeatedly that it can be done better, and much better. Each iteration has made so many things simpler, more productive, and also safer. Now, there are two problems with what I just said:

That comment was not talking about programming languages, it was talking about human's inability to write perfect code. Humans are unable to solve problems correctly 100% of the time. So if the language doesn't do it for them then it will not happen. See Java for a great example of this. Java has Null Pointer Exceptions absolutely everywhere. So a bunch of different groups created annotations that would give you warnings, and even fail to compile if something was mismatched or a null check was missed. But if you miss a single @NotNull annotation anywhere in the code, then suddenly you can get null errors again. It's not enforced by the type system and as a result humans can forget. Kotlin came along and 'solved it' at the type level, where types are nullable or non-nullable. But, hilariously enough, you can still get NPEs in Kotlin because it's commonly used to interop with Java.

My point is that C/C++ can't solve this at a fundamental level, the same way Kotlin and Java cannot solve this. Programmers are the problem, so you have to have a system that was built from the ground up to solve the problem. That's what we are getting in modern day languages. You can't just tack the system on after the fact, unless it completely removes any need for the programmer to do literally anything, because the programmer is the problem.

Surely not for everything. Of course I see great value if I can stop depending on OpenSSL, and move to a better library written in a better language. Seriously looking forward for the day when I see dynamic libraries written in Rust in my package manager. But I’d like to see what’s the plan for moving a large stack of C and C++ code, like a Linux distribution, to some “better language”. I work everyday on such a stack (e.g. KDE Neon in my case, but applicable to any other typical distro with KDE or GNOME), and deploy to customers on such a stack (on Linux embedded like Yocto). Will the D-Bus daemon be written in Rust? Perhaps. Systemd? Maybe. NetworkManager, Udisks, etc.? Who knows. All the plethora of C and C++ applications that we use everyday? Doubtful.

I'm not talking about whole scale rewrites. I'm talking about what Linux is already doing with writing new code in Rust, or small portions of performance critical code in a memory safe language. I'm not talking about like what Fish Shell did and rewrote the whole codebase in one go, because that's not realistic. But slowly converting an entire codebase over? That's incredibly realistic. I've done so with several 250k+ line Java codebases, converting them to Kotlin. When languages are built to be easy to move to (Rust, Kotlin, etc), then migrating to them slowly over time where it matters is easily attainable.

[-] snowe@programming.dev 5 points 2 years ago

Your grocery store has cell service? I lose all service the second I step inside mine

[-] snowe@programming.dev 6 points 2 years ago

I’m glad I could help (I think?). I just think it’s funny, because imagine your doctor told you to stop eating so much meat because it was making your blood pressure high. Would you wait months to do so or start immediately? New Year’s resolutions haven’t really made any sense to me at all, and I think that’s a good way of thinking of it.

[-] snowe@programming.dev 5 points 2 years ago

No one I know uses WhatsApp either (thank fuck). No one wants to download another app that now they have to juggle between different sets of people. I’m a software dev and even I hate all this nonsense of ten different messaging apps. On any given day I might use slack, discord, Zulip, Google messages, imessage, and matrix. Two is too many, this is just ridiculous. Absolutely no one in America wants to be using this many apps to communicate. Which is why most people just use the default.

[-] snowe@programming.dev 5 points 2 years ago

Solenoids hooked up to an esp8266 should be able to do all you’re asking for.

[-] snowe@programming.dev 5 points 2 years ago

doesn't really need to be brand specific... We just don't go for the generic versions of any of these items. Like energizer or duracell, doesn't matter, but cheap ones included with a remote absolutely not. same for tampons. the generic versions all use cardboard, not plastic, so they're painful. toilet paper and paper towels, once again, the generic versions are all bad, none of the name brand ones are bad.

[-] snowe@programming.dev 5 points 2 years ago

Lemmy will mark your instance as forgotten in 3 days if I remember correctly

[-] snowe@programming.dev 5 points 2 years ago

Especially when they state it like it’s fact in the title and then can’t back it up at all.

[-] snowe@programming.dev 5 points 2 years ago

Giving access to CSAM hashes means anyone wanting to avoid detection simply has to check what they’re about to upload against the db. If it matches then they simply modify the image until it doesn’t. It’s literally guaranteed to make the problem worse, not better.

[-] snowe@programming.dev 5 points 3 years ago

@ruud@lemmy.world is this docker container y'all are using available on a registry? We'd like to use it. And do you have a load balancer in front of your lemmy-ui image to allow two containers to run? or is that built in and I just never noticed it?

[-] snowe@programming.dev 5 points 3 years ago

I had tried to comment (left a really long comment yesterday), but I think it was removed because it had a link in it. I just gave up lol.

view more: ‹ prev next ›

snowe

0 post score
0 comment score
joined 3 years ago
MODERATOR OF