Decisions Decisions
  • Zangoose Zangoose Now 100%

    Have you had issues setting hotkeys in KDE? I'm using NixOS on my laptop and for some reason the shortcuts I add all reset on logouts/shutdowns

    1
  • It's a me. FBI open up.
  • Zangoose Zangoose Now 100%

    Didn't it get revealed that anyone who used a certain Linux forum got automatically added to an FBI surveillance list? Everyone here is definitely already on a list lol

    Edit: it was the NSA, not the FBI: https://arstechnica.com/information-technology/2014/07/the-nsa-thinks-linux-journal-is-an-extremist-forum/

    Edit 2: for clarity, that article is from 2014 so it isn't exactly recent but if they were doing it in 2014 they probably still do something similar now.

    22
  • Why did Nintendo Switch emulator Ryujinx shut down and what are the alternatives?
  • Zangoose Zangoose Now 88%

    Suyu is technically still being developed but whether or not anything comes out of that is a completely different story. The few devs left are unfamiliar with the code (all the yuzu contributers left out of legal fear) and have super ambitious goals (they want to do a rewrite because the original code was allegedly based off of a leaked Nintendo SDK) so it's unlikely it's going to get anywhere.

    I'm hoping Ryujinx forks that pop up after this have more success. I am glad that Citra survived the Yuzu crossfire though, Lime3DS seems to be doing well.

    7
  • Only 5 years out of date now 🙃
  • Zangoose Zangoose Now 100%

    There are a few libraries we're using that stopped being developed after Angular ~9-10 and one we use extensively with breaking changes between 10-12. Updating to 8 wasn't too bad but for some reason Angular's update tool didn't actually do anything so I had to update the package.json manually and fix stuff by hand (luckily the only change was fixed with a bulk find/replace)

    1
  • Only 5 years out of date now 🙃
  • Zangoose Zangoose Now 66%

    To me at least angular makes a bit more sense than React's way of doing things does. React tries to be functional with its components and yet it seems like they end up basically trying to mimic classes with useState and useEffect. To me Angular's class-based approach makes a bit more sense (though I am primarily interested in backend development more than frontend so that could be why)

    It does kind of fall into a lot of the traps of Object-Oriented programming though so I can see why a lot of people don't like it

    1
  • Only 5 years out of date now 🙃
  • Zangoose Zangoose Now 100%

    Don't come at me like that 😭

    7
  • Nintendo would "rather go in a different direction" than follow AI trend, says Miyamoto
  • Zangoose Zangoose Now 100%

    I was trying to look more into game dev crunch at Nintendo and the most recent articles I could find were about Mario 64, Ocarina of Time, Majora's Mask (all for the Nintendo 64) and Metroid Prime (for the GameCube). From what I can tell all of their recent games have been delayed instead of forcing crunch.

    That being said the difference in work culture means they probably still have longer hours but they aren't giving their developers actual PTSD like EA and Activision. It is really sad that the bar for AAA game devs is not having devs hospitalized from overworking. Hopefully more game dev and software dev companies can meaningfully unionize to combat that.

    10
  • C++ try not to add footguns challenge (impossible)
  • Zangoose Zangoose Now 100%

    My bad, that's on me, it looks like the C++ libraries I found use either templates or boost's reflection. There might be a way to do it with macros/metaprogramming but I'm not good enough at C/C++ to know.

    I'm learning rust and C at the same time and was mixing up rust's features with C's. Rust's answer to reflection is largely compile-time macros/attributes and I mistakenly assumed C's attributes worked similarly since they have the same name.

    1
  • C++ try not to add footguns challenge (impossible)
  • Zangoose Zangoose Now 100%

    See my other comment for more detials but it kind of destroys the type safety of the language. In Java for example, it lets you modify private/protected fields and call private/protected methods.

    It's also slower than accessing a field normally since you need to do a string lookup (but slightly faster than a hashmap/dictionary) so if you use it over a large enough list it'll cause slowdowns.

    Most use cases for it in Java/C# revolve around testing, serialization, and dynamic filtering/sorting. And most of those cases can be handled more safely using macros/attributes (EDIT: and templates as well, though those are also pretty painful to deal with) because that gets handled at compile-time in C/C++.

    2
  • C++ try not to add footguns challenge (impossible)
  • Zangoose Zangoose Now 100%

    It's pretty cool when you use it right but it's also really easy to shoot yourself in the foot with, even by C++ standards. For example, in other languages (I'm coming from Java/C# which both have it) it lets you access private/protected fields and methods when you normally wouldn't be able to.

    There's also a noticeable performance penalty over large lists because you're searching for the field with a string instead of directly accessing it.

    For the times it is necessary (usually serialization-adjacent or dynamic filtering/sorting in a table) to use reflection, it's faster at runtime than converting an object to a dictionary/hashmap. However, 99% of time it's a bad call.

    8
  • C++ try not to add footguns challenge (impossible)
  • Zangoose Zangoose Now 87%

    There's a pretty big difference though. To my understanding enable_if happens at compile time, while reflection typically happens at runtime. Using the latter would cause a pretty big performance impact over a (large) list of data.

    6
  • [Source](https://www.modernescpp.com/index.php/reflection-in-c26/) ::: spoiler Alt text: A screenshot from the linked article titled "Reflection in C++26", showing reflection as one of the bullet points listed in the "Core Language" section :::

    118
    31
    What comes to mind?
  • Zangoose Zangoose Now 100%

    The dev who owned the branding for forge (LexManos) is infamously abrasive and rude to others to the point where the forge community was slowly falling apart because new people didn't want to be involved with him. The rest of the team decided to rebrand to NeoForge and continue without him.

    6
  • Three Mile Island nuclear plant set for restart on Microsoft AI power deal
  • Zangoose Zangoose Now 100%

    Given that it was running until 2019 when it closed because it wasn't profitable enough, I think it's probably fine

    4
  • What comes to mind?
  • Zangoose Zangoose Now 100%

    That's definitely true but at the same time why do people have to cause fights in the first place, they're all part of a community for a game they enjoy playing :(

    I also agree with you on the sodium license change, it's definitely the most reasonable of the ones I listed since the dev seemed to be getting maintainer burn-out and had some bad experiences with other people in the MC modding community. I don't really like the idea of it not being OSS though because the key strength of that is not being tied to a single maintainer or group.

    4
  • What comes to mind?
  • Zangoose Zangoose Now 100%

    Modpacks still have attribution but they likely have attribution to the fork. The fork will have attribution in the source code somewhere but most MC players aren't likely to actually look at the GitHub repo, so they'll only see the fork's name.

    3
  • What comes to mind?
  • Zangoose Zangoose Now 100%

    The lead developer changed the license to a much less permissive one because of drama surrounding being credited in modpacks. The dev thinks there are forks that exist solely to sidestep crediting the original mod, I'm not up to date enough on Minecraft modding lore to know if this is true or not.

    I'm pretty sure there's also a fork that branches off of the last GPL commit but I forget what it's called.

    14
  • mf'ing 8K banana PNGs
  • Zangoose Zangoose Now 100%

    I mean assuming you have nothing else except the OS on it fair enough I guess

    2
  • Constellation Energy plans to invest $1.6B to revive the Three Mile Island nuclear power plant in Pennsylvania and sell all the output to Microsoft for AI energy demands.
  • Zangoose Zangoose Now 100%

    Not entirely sure if this video covers costs but the short answer is that there are ways to safely store nuclear waste that won't impact the surrounding environment.

    https://youtu.be/4aUODXeAM-k

    5
  • Not really sure if there is a better place to put this, but is bytes.programming.dev having issues for anyone else? I can log in but my timeline doesn't load at all.

    8
    3

    Credit to https://lemmy.world/post/18689927 for the original post Alt text: >Me: mom can we have (Linux penguin)? >The rest of the meme is scribbled out and over it is one word, "Yes"

    387
    14

    I'm trying out NixOS on my laptop right now and I'm loving it so far, but I was thinking of setting up distro box for ubuntu (mostly for a few developer environments dependent on it) and arch (for packages that aren't on nixpkgs yet). I was wondering about the battery life hit on a laptop and I couldn't find anything definitive on google/ddg. Has anyone here noticed a difference?

    22
    1

    ::: spoiler Alt text: Twitter post by Daniel Feldman (@d_feldman): Linux is the only major operating system to support diagonal mode (credit [Twitter] @xssfox). Image shows an untrawide monitor rotated about 45 degrees, with a horizontal IDE window taking up a bottom triangle. A web browser and settings menu above it are organized creating a window shape almost like a stepped pyramid. ::: Edit: alt text

    1.4K
    159

    ::: spoiler Alt Text A screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system :::

    430
    142
    Zangoose Now
    8 200

    Zangoose

    lemmy.world