• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 9th, 2023

help-circle
  • Oddly? This is not odd at all.

    It’s been a while sincce I wrote code, but I’ll try to remember. Basically disk size and ram size have no connection. Disk size is for already generated assets (maybe you need to remember how the planes look like, so you create assets for all the planes. Or you want to have textures for the scenery, or for the Lincoln monument, or whatever).

    But then you need to load those resources into RAM to access them faster, because if you try to load them directly from disk, it’s a lot slower. So some part of those 64GB of RAM is because you are loading some premade assets.

    But aside from this, there’s also dynamically generated data that you have no way of knowing about at the beginning of the program, so you can’t prepare in advance and generate assets for it. Like say for example the player wants to begin flying the plane - he’s gonna have some different inputs than any other player. Maybe he drives slower at the beginning, or goes a little to the right when he takes off. Or his destination will be completely different. You now need to remember his velocity, his position on the map, the direction of his flight, his altitude, his plane’s weight and who knows what else, I’m not a pilot. All of this, you allocate memory dynamically, based on user changes, and this uses the RAM as well.

    Not to mention - you can make a 1kb program that takes 64 GB of RAM. You just ask the operating system for that much memory. You don’t even need to fully use it. It’ll take you one line of code.

    All this to say - nothing odd about the program being smaller than the RAM requirements. It can mean it’s not optimized, but it can also mean it has a lot of dynamic calculations that it’s doing and a lot of stuff it needs to remember (and in the case of a flight Sim this wouldn’t surprise me).


  • They’re* literally fucked.

    It’s a lot harder to pass laws that discriminate vs exactly one business, than it is to sanction one particular country. With shell corporations, hiding accounts etc, there’s no way you can make a law that says “apple has to do X”. But you can pass sanctions against, eg: Russia.

    First corpo to buy a country is gonna quickly find out politics is harder than business, and greasing politicians’ pockets is harder when you have literally hundreds of countries you’re negotiating with.

    Also, armies. Try getting on the wrong side of country x, might get yourself a nice invasion pretty soon.



  • Some WiFi routers can be configured to not advertise their network; annoying because you’ll have to manually enter the network information on every device, but it might keep you from getting caught.

    Just name the network something like Samsung S20 Personal Hotspot. They’re not gonna look into why a student created a Hotspot with their phone.

    Or, shit - lock the fucking door.


  • Ah, but what you don’t know is that my TOS for when I watch a video is that if the video is bound by TOS, those employed by the company establishing the TOS are pedophiles and child abusers and I reserve the right to shoot them on sight.

    This is clearly printed on my router, the megabytes can read it when they enter my room. I also have it somewhere in a doc file on my laptop that’s been uploaded to my Google drive, as well as on this lemmy post that is unrestricted to the public. Google and any other entity have access to read this whenever they want.

    Time to go shoot some child molesters, yeah?

    Sidenote: I fucking hate people bringing up TOS. Any contract signed by one party is applicable to exactly that one single party, and my signature is vastly different from a mouse click.



  • /c/fuckcars is that way, thanks for stopping by

    Cars will never be dethroned. Yes, trains are cool - choo choo motherfucker. Yes, bikes are environmentally friendly. Yes, the car is a truly fucking horible answer to the question “how to get from A to B”.

    But that’s because cars are the answer to the question “how to get from A to B comfortably”. I don’t want my baby and my in-law to get on the back of my bike when we’re going camping. I don’t want to take the train and then walk 2 miles from the station every single fucking day with 20kg of tools in my hand, because shit, the train doesn’t stop next to my house, and it doesn’t stop next to my work. I want to be able to have acces to comfortable transportation.

    So the answer will still be the car. Even with everyone crying about it. Cause the cat’s out of the bag with cars, we made them efficient and cheap enough to not be considered luxury items anymore. And some countries (see: US) have their entire infrastructure built with cars in mind. You’re never putting the lid back on this, even if it’s a decent idea.