• 0 Posts
  • 442 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • Cethin@lemmy.ziptoMinecraft@lemmy.worldSynchronizing two pistons
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    22 hours ago

    I haven’t done much MC Redstone in a long time (not in any significant way since some time observers were added). Couldn’t you take the inverse signal for piston 2 and put it in an and gate to piston 1 (or vice versa). Basically make your circuit (p1/2 is piston 1/2) : p1= observer && !p2. p2 = delayed observer.

    Edit: Actually, the delay might fuck this up. I don’t know if I can help. It’s been far too long. I don’t have the intuition for it anymore.





  • I would argue they don’t know what that means really. Assembly is pretty much a mapping of words to machine code. It’s just a way to make machine code easier to read. It doesn’t actually change how it works.

    A compiler re-arranges and modifies things so what you write isn’t the same as the final program that is created. With assembly it is. It’s not really an abstraction, but a translation. It doesn’t move you further from the machine, it only makes it so you’re speaking the same language.


  • If you want some modern day fun with this, try the Zachtronics programming games; TIS-100, Shenzhen I/O, and Exapunks.

    Or, my personal favorite I only discovered somewhat recently, try Turing Complete. You start by designing all your logic gates from just a negate gate IIRC. You eventually build up an ALU and everything else you need and then create your own computer. Then you define your own assembly language and have to write programs in your assembly language that run on the computer you’ve designed to complete different tasks. It’s a highly underrated game, although it takes a certain type of person to enjoy.


  • This is pedantic, but assembly languages get “assembled” to machine code. This is somewhat similar to higher level languages being “compiled,” which eventually becomes assembly which gets assembled. The major reason why these are different is because a compiler changes the structure of the code. Assembly is a direct mapping to instructions. It just converts the text into machine code directly, which is why it’s easy to go from machine code to assembly but decompiling doesn’t give you identical results to the original source code.

    Also, binary and hexadecimal are just different ways to view the same binary data and aren’t different things. There is only “machine code” which is a type of binary data but you can view binary with any arbitrary base, though obviously powers of 2 work better.


  • A function will be called by code and go to that point in code. To implement functions, you store necessary things to memory and goto the function definition. To implement that with comefrom you’d have to have a list of all the places that need to call the function as comefroms before the function definition. It’d be a mess to read. We almost never care where we are coming from. We care where we’re going to. We want to say “call function foo” not “foo takes control at line x.”






  • The art style was “what if we target the uncanny valley specifically?” It was the strangest thing that seemed to target realism but without the technology that actually makes it look reasonable. I didn’t really care about what it looked like though. Just having some game competing with Maxis would have been nice. Cities: Skylines brought the city builder out of the pit it had been festering in with no competition. I was hoping this would do the same. Hopefully the other projects can do that still.



  • While true, I think Paradox does it better than Maxis. First, you almost always get some stuff for free. Second, it’s usually more substantial (or it’s art packs or whatever, which you don’t need but are fairly cheap). Would this game do it well? Who knows. Just having them competition would force them and Maxis to do better though.

    All this said, I pirate most of the DLCs for Paradox games. I’ll buy the first few near release, but when I want to revisit a game after a few years, likely just for one playthrough or less, I don’t feel like spending $100+ to catch up, and I’d like to see where the new content went. I’ve given them plenty of money where I feel no moral issue with doing so.



  • Yeah, both have pros and cons. I have Steam installed through pacman and flatpak also. For me I have the Flatpak version because it contains its own version of glibc. This mostly doesn’t matter, except I play Squad and it’s doing something with it’s anti-cheat that isn’t supported in the most recent versions of glibc, so I use the Flatpak version for Squad only.

    Flatpak is essentially a more controlled environment. It will contain everything it needs to work, which is good for ensuring it works but bad because you’ll have duplicates. It mostly doesn’t matter which you use, but occasionally it does.



  • I love these comments. If you need to use the command line (the largest argument people have against Linux) why are people still arguing to stay on Windows? Hell, Linux you don’t even need the terminal if you don’t want to use it and choose the right distro.

    (I recognize that for schools and offices, people don’t have a choice. These students were probably on a personal laptop though, so they could have a choice. The issue is Windows comes as default and no one actually makes a choice. They don’t choose Windows. They just have Windows.)