• 35 Posts
  • 1.2K Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle



  • Generally I think “I agree with *.hexbear.net” is a pretty telling sign for the opinion that’s about to come next

    The reason people say stuff like this though is because while you can try to force it into behaving like windows, you’re going to get a much better experience if you let go of that and embrace the differences

    Tiling window managers, package managers and command line tools are all examples that you just don’t really get properly using windows and they provide a lot of the reasons people want to daily drive linux



  • Check protondb instead of winehq, it’s normally accurate and something like 95% of games are playable now

    Though no games outside of steam, personally I don’t have many games on anything other than steam that I want to play so I don’t know how other launchers fare (though heroic is a thing for epic and gog)

    Notepad++ I couldn’t say because I only really use terminal based stuff now with the aforementioned million shortcuts, but I think kde’s built in one (Kate) does exactly what you want

    Nvidia drivers aren’t that much of a problem anymore, last big issue for me was explicit sync which they fixed a couple months ago (though some distros make it a bit of a pain to install them)

    Rdp not an issue unless the machine you’re rdping into is using strict AD settings that only allow connections from other AD machines, you should use Remmina imo it’s very good

    Xbox one controllers should work fine, I don’t own one but I’ve used controllers that present themselves as Xbox one controllers

    Only controller that hasn’t just worked perfectly straight away is PS5 and that was because of a Bluetooth setting

    As for distro, bazzite is probably a pretty good one to look at, it’s immutable so there’s a limit to the amount you can break it though sometimes it can make more technical things difficult to do

    MPV is a frontend by itsself, just set it as your default in your file browser and it’ll play video files if you open them

    Depending on the game modding can be a challenge. If mod organizer supports it you can usually get it to work fine, anything that supports mods by default will generally be fine and Minecraft is pretty much the exact same modding experience as windows

    While you can do a lot on Linux without the terminal now you shouldn’t be afraid of it as it can often be the quickest and easiest way to do things. It’s one of the big advantages of Linux in general that the terminal experience is so good




  • flashgnash@lemm.eetoProgrammer Humor@lemmy.mlComenting code
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    1 day ago

    “tells the user the current time” would be an excellent comment for a clock

    I’m not the best at commenting my code, but generally I just try to think of what information I’d want to know if looking at this 10 years from now

    Imo comments are best used sparingly, don’t bother commenting something that anyone with a basic understanding of programming would understand straight away by reading the code

    Functions should generally be commented with what parameters are and what they’re for, plus what they output

    use reqwest::Client;
    
    // create a http client class that all other files can import 
    // so as to only create one instance globally 
    
    pub struct HttpClient {
        client: Client,
    
    }
    impl HttpClient {
            pub fn new() -> Self {
                HttpClient {
                    client: Client::new(),
                }
            }
    
            pub fn client(&self) -> &Client {
                &self.client
    
            }
    
    }
    

    Here’s an example where if I were to stumble onto this file 10 years from now, I might think wtf is this looking at it out of context, the comment explains why it exists and what it’s used for

    (we’ll ignore the fact I totally didn’t just add this comment because I suck at commenting personal projects)








  • Does seem that way

    I’m not sure real people can be compared to fictional in that way, as your friend has infinitely more character because he’s a real person

    If you were to ask your friend what his favourite food is, or what his opinion on pineapple on pizza is, or what he has for a desktop wallpaper he’d have answers for all of those questions or a reason he doesn’t have an answer

    If you were to take one of these hollow characters I’m talking about and ask them that question the answer would just be made up on the spot

    If your friend showed up in a TV show for 5 minutes just as himself in a situation he would realistically be in I can guarantee he’d feel real and natural because he is a real person with a history



  • The issue is the intention behind it, if the intention is comic relief they might not add much to the plot, but generally are still relevant in some way and make the film more entertaining

    I’m not a huge fan of poorly fleshed out characters in general if they’ve got any amount of screen time

    If they haven’t got much screen time and aren’t fleshed out it’s even worse if the one defining character trait they have is that they’re gay, black, trans, etc etc

    Imagine if some adventurers go into a tavern, they talk to the generic hooded loner on their own in the corner, they give the adventurers the quest as usual and then for some reason mention that they’re vegan or something, no relevance to the story and it becomes kinda obvious to the viewer that they were only given that character trait to check a box

    Kaos is one of the good examples I’ve seen recently sorry if I already mentioned it, there’s a trans character in the underworld who was part of a female only Amazon tribe and was thrown out and eventually killed for transitioning to male, but they don’t even mention any of that until he’s already been well established for a couple of episodes and they do it in enough detail that it doesn’t feel forced

    I’m all for representation in media I should clarify I just want it to be done well, there are a fair few good examples but also a good number of bad ones



  • It only feels shoe horned when they don’t write the character well.

    There are a lot of cases where the person isn’t allowed to have any flaws or character development because they’re too scared to make them look bad in any way, which also means none of their achievements feel earned. Ohers where they just don’t care enough to waste screen time on things that aren’t highlighting whatever group they’re a part of

    Have been a fair few shows I’ve seen where they’ve done it right, recently Kaos had a trans character who actually felt like a human being instead of a token “hey look we have a trans person”

    The recent doctor who special is one of the bad examples, most of the time the woman in a wheelchair is onscreen it’s because they’re drawing attention to the wheelchair (oh no, a ladder, oh no a set of stairs etc etc) and not to develop her character in any way besides that