• 0 Posts
  • 20 Comments
Joined 3 months ago
cake
Cake day: August 15th, 2024

help-circle


  • I guess, in a very liberal definition of the term, “cloud gaming”. Specifically the old LodgeNet systems in hotels where you could rent Nintendo games by the hour to be streamed to your room from a physical console somewhere behind the front desk. Every room had a special controller with oodles of extra buttons on it hardwired to the television that also functioned as television remotes.

    The service was objectively awful, of course, when factoring in how much the hotel charged compared to what little you got for it. But I’ve always found it fascinating.





  • The more egalitarian principle would be to not assume. I won’t deny that. People from more minority locales have every right to be upset at being marginalized.

    But at the same time, whenever I read passive aggressive comments on socials from residents of crown countries or from EAASL people around the world bitching about US defaultism as if people are doing it just to be ignorant dicks, I can only think to myself, “Uhh, hello? What do you think the demographics of this space were? What did you expect?”

    Americans are hardly the majority of the world’s English speakers, but for all the reasons you listed, they tend to remain a massive plurality, if not an outright overwhelming majority, of any mainstream online English language platform. No, that’s not a license to perpetuate US defaultism. But like… read the room, people. Your good fight is far more uphill than you seem to think it is.



  • pixelscript@lemm.eetoProgrammer Humor@lemmy.mlComenting code
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    2 months ago

    I recognize three kinds of comments that have different purposes.

    The first kind are doc block comments. These are the ones that appear above functions, classes, class properties, methods. They usually have a distinct syntax with tags, like:

    /*
     * A one-line description of this function's job.
     *
     * Extra details that get more specific about how to use this function correctly, if needed.
     *
     * @param {Type} param1
     * @param {Type} param2
     * returns {Type}
     */
    function aFunctionThatDoesAThing(param1, param2) {
        // ...
    }
    

    The primary thing this is used for is automatic documentation generators. You run a program that scans your codebase, looks for these special comments, and automatically builds a set of documentation that you could, say, publish directly to a website. IDEs can also use them for tooltip popups. Generally, you want to write these like the reader won’t have the actual code to read. Because they might not!

    The second kind is standalone comments. They take up one or more lines all to themselves. I look at these like warning signs. When there’s something about the upcoming chunk of code that doesn’t tell the whole story obviously by itself. Perhaps something like:

    /* The following code is written in a weird way on purpose.
    I tried doing <obvious way>, but it causes a weird bug.
    Please do not refactor it, it will break. */
    

    Sometimes it’s tempting to use a standalone comment to explain what dense, hard-to-read code is doing. But ideally, you’d want to shunt it off to a function named what it does instead, with a descriptive doc comment if you can’t cram it all into a short name. Alternatively, rewrite the code to be less confusing. If you literally need the chunk of code to be in its confusing form, because a less confusing way doesn’t exist or doesn’t work, then this kind of comment explaining why is warranted.

    The last kind are inline comments. More or less the same use case as above, the only difference being they appear on the same line as code, usually at the very end of the line:

    dozen = 12 + 1; // one extra for the baker!
    

    In my opinion, these comments have the least reason to exist. Needing one tends to be a signal of a code smell, where the real answer is just rewriting the code to be clearer. They’re also a bit harder to spot, being shoved at the ends of lines. Especially true if you don’t enforce maximum line length rules in your codebase. But that’s mostly personal preference.

    There’s technically a fourth kind of comment: commented-out code. Where you select a chunk of code and convert it to a comment to “soft-delete” it, just in case you may want it later. I highly recommend against this. This is what version control software like Git is for. If you need it again, just roll back to it. Don’t leave it to rot in your codebase taking up space in your editor and being an eyesore.



  • pixelscript@lemm.eetoLemmy Shitpost@lemmy.worldEmpires fall
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    I still won’t forgive Shopko for consuming Pamida and ultimately taking the remnants of Pamida down with it.

    I’m surprised to see on Wikipedia that Shopko actually owned Pamida basically the entire time I was growing up, they just ran it independently. They even broke up breifly before re-merging later. The second merger sent it all to shit, though. “Shopko Hometown” my ass.


  • pixelscript@lemm.eetoGaming@lemmy.mlNintendo files lawsuit against Palworld
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    7
    ·
    edit-2
    2 months ago

    It’s speculated that the patent in question (or one of) is one that essentially protects the gameplay loop of Pokémon Legends Arceus.

    https://ipforce.jp/patent-jp-P_B1-7545191

    Running the first claim of the invention through Google Translate yields this massive run-on sentence description:

    The computer causes a player character in a virtual space to take a stance to release a capture item when a first category group including a plurality of types of capture items for capturing a field character placed on a field in a virtual space is selected based on an operation input of pressing an operation button, and causes a player character in the virtual space to take a stance to release the capture item when a second category group including a plurality of types of combat characters that engage in combat is selected, and determines an aiming direction in the virtual space based on a directional input, and further selects the capture item included in the first category group when the first category group is selected, and the combat character included in the second category group when the second category group is selected, based on an operation input using an operation button different from the operation button , and causes the player character in the virtual space to take a stance to release the capture item when a first category group including a plurality of types of capture items for capturing a field character placed on a field in a virtual space is selected, and determines an aiming direction in the virtual space based on an operation input using an operation button different from the operation button, A game program which, based on an operation input of releasing the operation button pressed when having the player character perform an action, has the player character perform an action of releasing the selected capture item in the aiming direction if the capture item is selected, and has the player character perform an action of releasing the selected combat character in the aiming direction if the combat character is selected, and when the capture item is released and hits the field character, makes a capture success determination as to whether the capture is successful, and when the capture success determination is judged to be positive, sets the field character hit by the capture item to a state where it is owned by the player, and when the combat character is released to a location where it can fight with the field character, starts a fight on the field between the combat character and the field character.

    Essentially, Nintendo has a patent on video games that involve throwing a capsule device at characters in a virtual space to capture them and initiate battle with them. In other words, they have a patent on the concept of Poké Balls (as they appear and function in Legends Arceus, specifically).

    Palworld has “Pal Spheres”, which are basically just Poké Balls with barely legally distinct naming.

    If this sounds like an unfairly broad thing for Nintendo to have a patent on, I’m not so sure I agree. It’s not like they’re trying to enforce a blanket patent on all creature collectors. Just the concept of characters physically throwing capsule devices at creatures.

    If you think about it, that’s kind of the one thing that sets Pokémon apart from others in the genre. If there’s anything to be protected, that’s it. It’s literally what Pokémon is named after–you put the monster in your pocket, using the capsule you threw at it.

    Palworld could have easily dodged this bullet. They claim they aren’t inspired by Pokémon, and that they’re instead inspired by Ark: Survival Evolved. Funny, then, that Ark doesn’t have throwable capsules, yet Palworld decided to add them. I’m not sure I buy their statement. And if this is indeed the patent being violated, I don’t think a court will buy it either.

    I’m not trying to be a Pokémon apologist here. I want Palworld to succeed and give Pokémon a run for its money. But looking at the evidence, it’s clear to me Pocketpair flew a little too close to the sun here. And they’re kind of idiots for it.

    I’m just surprised they aren’t getting nailed for the alleged blatant asset theft.




  • Either:

    • continuing to languish in obscurity with its rough-around-the-edges UX that fails to draw in anyone except self-sufficient computer savvy types who smugly proclaim they like it that way while impatiently tapping their feet and glancing at their wristwatches waiting for mainstream socials to collapse already, or
    • wildly thriving, but dominated by an oligopoly of major breakout platforms that dominate the rest of the ecosystem, subtly altering it over the course of many small, tolerable nudges to the point that it hardly resemble what anyone who is currently here liked about it in the first place.

    My money is on the former.


  • I would say the defining characteristic that sets Breath of the Wild apart from its contemporaries is its “chemistry engine”, as they call it. That meticulously programmed system of interactions where absolutely everything in the world affects everything else in ways that are intuitive. Wooden objects burn, lightning strikes metal things, fire will melt ice, electrified objects will conduct through metal and water, etc. That, in tandem with its cel-shaded artstyle, minimalist piano flourish soundtrack, and general lonely, somber vibe in a mechanically lush but socially empty world. That’s the identity of BotW.

    I haven’t played Genshin Impact so I don’t know how deep the similarities are. It sure superficially resembles BotW if you squint and look at it from a distance. Big open world, vibrant cel-shaded graphics, live in-overworld combat, you can climb walls and soar with glider physics, they got the high fantasy plus inexplicably advanced magitech thing going on… definitely some marks on the bingo card, but not really things particularly unique to BotW, either. I have no idea how much Genshin Impact actually resembles BotW up close.




  • Kind of a lame example that depending on who you are may make you go, “Uhh… yeah? Duh?” but…

    Y’know how Hollywood has been using the same library of stock sounds for like half a century? Wilhelm scream tier stuff? Like, if I had a nickel for every time I’ve heard one of those stock baby noises, or that ape screeching, you know the ones, I’d have a good chunk of change by now.

    And if you ever encounter real world examples of some of these things, they never sound quite like those recordings. This is in large part because Hollywood loves pairing sounds of specific creatures or objects with footage of completely different creatures or objects that in reality sound nothing like that (e.g. no, bald eagles do not make that noise at all). So these sounds become reified in your head as “the sounds fake shit in movies make”. The acoustic equivalent of what fruit flavored candies are to actual fruits. Does that make sense?

    All this to say, it’s really disorienting when you encounter things in the real world that actually make these noises. Particularly if you aren’t regularly used to being around them.

    For me in particular, it’s roosters and horses. My mind is conditioned to assume that the stock noises for these creatures I hear in films and the like are, I dunno, extremely cherry-picked noises from some specific breed or species of the animal that aren’t the ones I’d commonly find around me. Not the case! They really do sound like that! To a spookily accurate degree, too. Being around them feels like someone is pranking me with a soundboard, I almost can’t believe it’s real.

    It’s a bit depressing that sound design of film has disillusioned me to the point I’m shocked to hear that roosters in real life actually sound like roosters in movies and on TV, but nonetheless here we are.


  • pixelscript@lemm.eetoMemes@lemmy.mlZen Z
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    3 months ago

    An analog clock is just three sets of loading bars with their ends glued together. You can tell geometrically what proportion of each division of time (day, hour, and minute) are spent and what proportion remains. You don’t even need the numbers.

    If you need stopwatch-level precision, sure, a digital display is superior. But how often do you need that? Most of what I need clocks for is, “Oh, it’s about a quarter to noon, I have a lunch appointment to get to”.

    It is my personal preference to visually intuit that the clock hands are roughly separating the hour into 3/4 spent and 1/4 remaining and use that to know how much time I have left to the hour, rather than read the symbols “42” on the display and manually do the mental gymnastics of “well that’s basically 45, which is three quarters of the way to 60 minutes”.

    I’ll admit this benefit is marginal.