• 0 Posts
  • 49 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle

  • The actual amount of centrifugal force is also tiny. Sure, it’s a relatively fast linear speed compared to something like a merry-go-round, but a merry-go-round’s angular velocity is much higher, and that’s the one you use when calculating the force trying to fling you off.

    Also, centripetal force is the inward force observed by an external non-rotating reference frame which deflects motion into a curve. You’ve conflated it with centrifugal force, which is the outward “fictitious” force experienced in a rotating reference frame.






  • I’m not depressed, at least I don’t think I am. I don’t really feel sad.

    Society equating depression with sadness is a great disservice to the condition. It’s quite common for it to present as just … nothing. An emotional void where you might expect emotions to be. Things that would be expected to make you happy just don’t. Things that would make you sad, the same. Your feelings are depressed in the sense that their impact is just muted across the board.

    A lack of motivation is also a very common indicator. You’re just missing the drive to do something because the emotional rewards that you expect to happen when you accomplish your goals just aren’t there.






  • For those of you who’ve never experienced the joy of PowerBuilder, this could often happen in their IDE due to debug mode actually altering the state of some variables.

    More specifically, if you watched a variable or property then it would be initialised to a default value by the debugger if it didn’t already exist, so any errors that were happening due to null values/references would just magically stop.

    Another fun one that made debugging difficult, “local” scoping is shared between multiple instances of the same event. So if you had, say, a mouse move event that fired ten times as the cursor transited a row and in that event you set something like integer li_current_x = xpos the most recent assignment would quash the value of li_current_x in every instance of that event that was currently executing.



  • vithigar@lemmy.catoMemes@lemmy.mlAmd fan
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 months ago

    There is analogous functionality for most of it, though it’s generally not quite as good across the board.

    FSR is AMD’s answer to DLSS, but the quality isn’t quite as good. However the implementation is hardware agnostic so everyone can use it, which is pretty nice. Even Nvidia’s users with older GPUs like a 1080 who are locked out of using DLSS can still use FSR in supported games. If you have an AMD card then you also get the option in the driver settings of enabling it globally for every game, whether it has support built in or not.

    Ray tracing is present and works just fine, though their performance is about a generation behind. It’s perfectly usable if you keep your expectations in line with that though. Especially in well optimized games like DOOM Eternal or light ray tracing like in Guardians of the Galaxy. Fully path traced lighting like in Cyberpunk 2077 is completely off the table though.

    Obviously AMD has hardware video encoders. People like to point out that the visual quality of then is lower than Nvidia’s but I always found them perfectly serviceable. AMD’s background recording stuff is also built directly into their driver suite, no need to install anything extra.

    While they do have their own GPU-powered microphone noise removal, a la RTX Voice, AMD does lack the full set of tools found in Nvidia Broadcast, e.g. video background removal and whatnot. There is also no equivalent to RTX HDR.

    Finally, if you’ve an interest in locally running any LLM or diffusion models they’re more of a pain to get working well on AMD as the majority of implementations are CUDA based.



  • A docstring is a comment that is used to annotate types/methods/classes/whatever and can be parsed by the IDE and used to provide various hints/assistance when writing code. Tooltips, parameter type suggestions, intellisense, etc. for things that aren’t native parts of the language all usually come from or can be supplemented by docstrings.

    The specific format of a docstring varies by language, but many of them prefix meaningful tokens with an @, like @type or @param.

    However, if your project is using GitHub it’s also quite common to mention users in comments by prefixing their username with an @, so several vscode GitHub extensions will make any “@{real username}” in a comment into a link to that user, which will show a small user tooltip when hovered.

    Edit: I appear to have conflated docstrings and docblocks, but then so has the initial post. I guess at some point “docstring” has just taken over to colloquially refer to all of it.