• 1 Post
  • 4.57K Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle

  • The language actually only consists of a relatively small number of verbs. Operations that perform various mathematical and logical actions (such as adding, multiplying, dividing, and, or, xor, bit operations, and comparisons), assignments/reads (put the result of this string of operations in this container for future use or read one back to use it now), conditionals (check if this condition is true, if it is do something), and jumps (instead of going to the next instruction, go somewhere else).

    Everything else is just variations or combinations of those four basic things. Don’t worry if you don’t know what anything is in the following paragraph, it’s just explaining how everything else is built on those basic pieces.

    Loops are all four put together, functions are assignments and jumps, objects are a way to organize functions and data, polymorphism is a modification that allows replacing function code in variations of the objects. Even IO is just assignments and reads to and from specific memory addresses. Programming language primitives and APIs will simplify doing these (you aren’t likely to do IO as those memory mapped operations directly unless you’re working on drivers or embedded apps). Sometimes the CPU itself implements special cases, like atomic operations or having multiple cores so you can have multiple threads of execution running in parallel.

    When I realized this, it made learning new programming languages much easier. And the internet puts all of the more specific information at your fingertips, especially when you consider all of the free university courses available that go into specializations of the above, plus the other important meta aspect of programming: algorithms.

    I suggest you pick a language and just try diving in. The early exercises will seem overly simple, but they’ll build a foundation that you can then build more on. For easy to pick up languages, try BASIC, python or lua. Scratch might also help, though it’s purely gui based, so might be harder to jump to another language from there (which you’ll likely want to do to develop an app).





  • Silly human, reddit was just the platform. All of the behaviours were human. Lemmy is just better because it’s decentralized, so if the admins go authoritarian or corrupt, you can just move to another instance where they don’t have power.

    I wonder if early reddit had people replying similarly about it not being digg.


  • Where I am, they had popped up all over the place at first but have mostly disappeared since then and the ones that remain barely have any flavour customizations anymore.

    My guess would be that they came with predatory subscription fees or some shit like that that resulted in them costing more than they brought in and most businesses cancelled their subscription or downgraded to the basic version that just acts as a shitty version of the old style.

    Either that or they are difficult to keep clean and result in a lot of flavour syrup going to waste when the less popular flavours expire. Or a combination of the two, maybe with HP-style machine-enforced expiry dates on the syrups that are tuned for profit rather than safety/quality.









  • Buddahriffic@lemmy.worldtoScience Memes@mander.xyzChocobo
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    The whole “dinosaurs having feathers makes them less scary” line of thought is kinda silly.

    If you stick a pink bow and glitter on a knife, it doesn’t become any leas deadly, plus good luck getting that glitter out of your wounds if you do make it to the “I need to get that glitter out of my wounds” stage.



  • I’m so glad that I looked up some cheat codes for Turok 64 back in the day. It had two powerful weapons that were meant to be used sparingly after finding a rare inatance, in one case, or searching the entire game for pieces, after which you only got 3 shots with it. I used those two weapons until I got bored of them.

    Then I tried to play the game again without the cheats and realized it was ruined for me. Why would I care to spend time searching for each piece of that weapon, knowing it only has 3 shots, when I was already bored with it?

    And then later on, after I had been raiding in WoW, very focused on getting my loot upgrades, I noticed the loop of raiding to get better gear to get better at raiding to get better gear and realized it only had a point if I enjoyed the raiding, otherwise the gear didn’t matter, regardless of what stats or graphics it had.

    Those two things together have made it easy to never spend any money on game progression. It’s basically spending money to either get bored of the game quicker by trivializing the powerful things (monetized cheat codes or powerups), or to avoid playing the game in the first place (getting the gear without the raid, when the whole point of the gear is to help with the raid).

    And yeah, often the game isn’t worth going through the loop, but they design the early stages to give fast progression to build up an expectation but tune it so that it’s a slog grind if you don’t buy anything, hoping for a few bucks from people as they learn this, or a lot of bucks from those who set strong habits and never do learn.

    And when progression is pinned to an exponential curve while upgrades are non-exponential but tuned to be ahead of the curve when you first get them, it doesn’t matter how much money you spend, eventually you’ll always be back at a curve that looks more vertical than anything else and you’ll need to spend money or wait a crazy amount of time.



  • Yeah, if someone can’t help but destroy objects around them or punch holes in walls, I wonder how many bad days or situation escalations they are from targeting a person instead of an object. Rage isn’t a pressure vessel that needs pressure to be released in the form of violence, rather your mind is something you train habits into, meaning you’re training yourself to react to frustration with violence.

    Not to mention it never helps anything. You mentioned the feelings of shame, but there’s also more direct consequences of destroying things that happen to be in reach. There was a bash quote from someone who had to print a school paper or something and got so frustrated when they couldn’t access the file that they threw their printer (or something essential to what they needed to do) out of their high storey window in frustration. They were lucky they didn’t accidentally kill someone in the process, and then had a new real problem of not having equipment they needed once they realized the disc or whatever the file was on was sitting on their desk instead of inserted for reading. Or videos of kids getting gamer rage and destroying their keyboards or monitors. That will just make it harder to stop being pissed off because now they need to spend money to get back to where they just were (and were already unhappy about).

    Though I do feel differently about object destruction not done in the heat of the moment. Like the printer scene from Office Space or getting enjoyment from demolishing a room before renovating it. It’s a deliberate choice, which doesn’t imply they might fly off the handle and do who knows what.