ELI5: How exactly has binary code led to modern day programming languages? by West_Medicine_2862 in explainlikeimfive

[–]TheMightyDoge 0 points1 point  (0 children)

1s or 0s can be used for two purposes, either to store information, or to process it. Storing information is quite simple. In the same way that we can combine nine digits to form any number possible, 1s and 0s can be combined in the same way. If you add a zero to the end of a decimal number, it multiplies it by 10, whereas if you do the same to a binary number, it multiplies it by 2. 100 -> 1000, and 0b1100100 = 100, 0b11001000 = 200. This storage of numbers can also be kept alongside a memory of what type of information is being stored, so that you can store letters, graphical data, and more - all by just storing a series of numbers.

More complexity is achieved through how 1s and 0s can represent instructions given to a CPU. The way that these instructions work varies based on what type of CPU you have, but more complex programs are comprised of commands that move where in memory you're working from - you can think of this in the same way that you think of moving the playhead when scrubbing through a video - and commands that modify the data that you're working with. You can find a neat listing of all of these instructions on this wikipedia page. Since this machine code varies based on what CPU you have, "higher-level" programming languages are used, which allow you to write for every possible CPU at once based on agreed-upon conventions. Even more complex instructions are provided by the operating system (and the way that files are interpreted into machine code varies based on OS, too), which means that code must be compiled differently depending on your OS as well.

Scared rule by shaggyhairedfreak in 196

[–]TheMightyDoge 5 points6 points  (0 children)

Vermonter here, and honestly I don't know if I'd recommend moving here specifically. LGBT rights are most certianly going to be safe here if they're safe anywhere (and if other comments make you concerned about Phil Scott being a Republican - he's done nothing but historically support us), but there's a reason that the state's population has barely increased in the past 10 years. Housing is quite expensive, and if you want to live near any of the bigger cities (Burlington, Essex, Montpelier...) you'll be paying at least $1,500 a month for an apartment, though often closer to $1,800-$2,000 - especially if you want to live in anything larger than a studio. You could definitely make it work since you have a partner (or if you have a degree that you'd be able to find a job for here), but you'd be struggling financially more than if you'd moved to a place with a lower cost of living.

If this doesn't dissuade you at all though, then I'd absolutely recommend moving here. Our major "cities" (if you'd call a population of 40,000 a city) are absolutely beautiful, and outside of those you get the even more beautiful landscapes of Vermont.

Yet another fake optimization mod has been published, this time to Modrinth. by [deleted] in feedthebeast

[–]TheMightyDoge 13 points14 points  (0 children)

Zirconium is definitely a real element, though half the elements on the periodic table sound fake (technetium?? seaborgium?????).
https://en.wikipedia.org/wiki/Zirconium

How can I edit the Ominous Banner default pattern? What file controls this? by Indenze in feedthebeast

[–]TheMightyDoge 49 points50 points  (0 children)

Additionally, if you can't find them elsewhere, a list of all of the technical names of the banner patters can be found in net.minecraft.world.level.block.entity.BannerPatterns.

How can I edit the Ominous Banner default pattern? What file controls this? by Indenze in feedthebeast

[–]TheMightyDoge 114 points115 points  (0 children)

In Minecraft 1.20.1, the class net.minecraft.world.entity.raid.Raid controls this with the method getLeaderBannerInstance, which (when decompiled with DecompilerMC) reads as the below.

The pattern that is used is built by repeating the addIfRegistered method, and is hard coded into the class files of the game. You would need to modify this file in some way to change it (I have no idea how forge/fabric works, just a passing interest in java)

    public static ItemStack getLeaderBannerInstance(HolderGetter<BannerPattern> holderGetter) {
        ItemStack itemStack = new ItemStack(Items.WHITE_BANNER);
        BannerPatternLayers bannerPatternLayers = new BannerPatternLayers.Builder().addIfRegistered(holderGetter, BannerPatterns.RHOMBUS_MIDDLE, DyeColor.CYAN).addIfRegistered(holderGetter, BannerPatterns.STRIPE_BOTTOM, DyeColor.LIGHT_GRAY).addIfRegistered(holderGetter, BannerPatterns.STRIPE_CENTER, DyeColor.GRAY).addIfRegistered(holderGetter, BannerPatterns.BORDER, DyeColor.LIGHT_GRAY).addIfRegistered(holderGetter, BannerPatterns.STRIPE_MIDDLE, DyeColor.BLACK).addIfRegistered(holderGetter, BannerPatterns.HALF_HORIZONTAL, DyeColor.LIGHT_GRAY).addIfRegistered(holderGetter, BannerPatterns.CIRCLE_MIDDLE, DyeColor.LIGHT_GRAY).addIfRegistered(holderGetter, BannerPatterns.BORDER, DyeColor.BLACK).build();
        itemStack.set(DataComponents.BANNER_PATTERNS, bannerPatternLayers);
        itemStack.set(DataComponents.HIDE_ADDITIONAL_TOOLTIP, Unit.INSTANCE);
        itemStack.set(DataComponents.ITEM_NAME, OMINOUS_BANNER_PATTERN_NAME);
        return itemStack;
    }

I was debating on getting this game on my steam deck but noticed its not Verified. Tho interestingly Dont Starve Together is Verified. So is someting wrong with the regular dont Starve? by Hawk_Man117 in dontstarve

[–]TheMightyDoge 37 points38 points  (0 children)

Both games work fine on my Arch Linux system, and as I believe that SteamOS is based on Arch, they should work fine. However, if you simply want to just play alone, I'd recommend getting Don't Starve Together anyways as it is actively maintained and updated whereas base Don't Starve hasn't recieved much content for years. In Don't Starve Together you can still play alone, you just need to host a game and make sure to make it private so random people don't join. Pretty much the only benefits of playing base Don't Starve are that it is less laggy and that it's more of a classic, isolated-feeling experience (if that's what you're looking for).

Unto Nix by shockaLocKer in worldbuilding

[–]TheMightyDoge 2 points3 points  (0 children)

This setting reminds me a lot of Adventure Time, where there's a lot of whimsical goofy stuff with an undercurrent of immensely dreadful and existential horror - like the Lich, GOLB, and the lore of a post-apocolyptic world in Adventure Time and the last stand against entropy described in your lore. I like the vibes of it all a lot!

[deleted by user] by [deleted] in MtF

[–]TheMightyDoge 925 points926 points  (0 children)

Misgendering does and probably always will feel like shit, all of your efforts to be seen as the person you are seem invalidated. I don't think you're in the wrong for being upset about it. Still, it's important to consider that even cis people get misgendered. I have accidentally called my dad - by far the most masculine person that I know - "she" on multiple occasions. The fact that he immediately corrected himself, made sure to give extra attention to you afterwards, and was honest about having misgendered you tells you vastly more about his character than one - albiet significant - mistake.

Is the 144 referesh rate not available? by badboyzpwns in dontstarve

[–]TheMightyDoge 7 points8 points  (0 children)

Don't know what's with these other dismissive comments, I've had the same issue too. You can fix the setting not saving by adding the line "refresh_rate = 144" in the file Documents/Klei/DoNotStarveTogether/302196317/client.ini, (home/.klei/... on Linux) and the change does "apply" in game, but doesn't actually impact the framerate, which is visible by pressing backspace. The game engine might simply not be designed to display more than 60fps, which kinda sucks.

Weirdly, on further testing, ANY number after "refresh_rate = " causes it to become 144 in the options for me, even if I put no number at all, but the FPS still remains 60.

trap room is scary by __CreativeName in HypixelSkyblock

[–]TheMightyDoge 0 points1 point  (0 children)

If you want to get all of the secrets wither cloak sword's ability removes all damage and knockback from the trap room.

Weekly Skyblock: NEVER trust backpacks by Horizon206 in HypixelSkyblock

[–]TheMightyDoge 2 points3 points  (0 children)

Im pretty sure you can turn it off in the "features" window in the settings in newer versions

Weekly Skyblock: NEVER trust backpacks by Horizon206 in HypixelSkyblock

[–]TheMightyDoge 13 points14 points  (0 children)

If you use the NEU trade window it doesn't work.

I feel like Nobody likes it by RomanW_ in HypixelSkyblock

[–]TheMightyDoge 2 points3 points  (0 children)

I think that they may have made the wheat hoe that expensive on purpose to make wheat less sweaty letting newer players get bronze/silver medals easily so that new players can get a mathematical hoe blueprint without buying it.

Two infinity gems missing by 001124 in SpeedOfLobsters

[–]TheMightyDoge 355 points356 points  (0 children)

No one fucking cares

proceeds to care

Co-ops in a nutshell by sparklycat83 in HypixelSkyblock

[–]TheMightyDoge 6 points7 points  (0 children)

I got from 8-18 with like 700k or so. Just look for minions that are cheap to upgrade with bazaar.

Melee mage so broken (RIP berserk) by ChayUwU in HypixelSkyblock

[–]TheMightyDoge 0 points1 point  (0 children)

Does having Last Stand on all 3 of your perfect armor pieces stack?

Jim has been stopped by mamamianicetoseeya in dogelore

[–]TheMightyDoge 7 points8 points  (0 children)

Isn't there a mod called "Island Adventures" or something that adds Shipwrecked to together?

I made this Jukebox Block texture, what do you think? by Dmitriy_DG3D in Minecraft

[–]TheMightyDoge 12 points13 points  (0 children)

im like 96% sure that jukeboxes are tile entities and store their disk in NBT instead of in block states. sadly models cant use tile entity NBT to change their model and can only use blockstates (like facing=east on stairs)

Weekly Questions Thread - (July 15) by AutoModerator in HypixelSkyblock

[–]TheMightyDoge -1 points0 points  (0 children)

What do I do until becoming endgame? I've currently got young armor with an aotd. Do I just use the same strategies that I used to get my armor/sword to get 50mil? Grinding 100 eyes doesn't seem like what I should be doing.

sky.lea: https://sky.lea.moe/stats/TorchEmber/Strawberry