The hashes not being there isn’t particularly relevant within a hash function outputting a specific size. If your hash function is always 64 bits for example, the fact that you have 3/4th of them not exist means you should be operating as if its a 16 bit hash, not a 64 bit hash. If you still do this math based on the 64 bits outputted (2^64 boxes) you’d arrive at very inaccurate numbers.
- 0 Posts
- 13 Comments
The2b@lemmy.vgto Programming@programming.dev•The probability of a hash collisionEnglish6·23 hours agoThis is valid on a single unlisted assumption: The hash function has equal distribution. If your has function ends by multipliying the has value by 4, for example, your number of possible boxes is 1/4th the otherwise expected value based on the size of the hash output
The2b@lemmy.vgto politics @lemmy.world•Suspect in Minnesota Shooting Linked to Security Company, Evangelical MinistryEnglish2·21 days agoI just put it in reader mode and the refresh. Worked here.
The2b@lemmy.vgto Political Discussion and Commentary@lemmy.world•This shits exhaustingEnglish4·2 months agoLeft/Center/Right media
The2b@lemmy.vgto Linux@lemmy.ml•TIL Kitty terminal can show a dock panel on Linux desktops!English20·3 months agoI have literally never had any issue with Kitty on any of my servers or local machines
The2b@lemmy.vgto politics @lemmy.world•Judge orders Elon Musk and DOGE to produce records about cost-cutting operationsEnglish12·4 months agoHey, it’s not doiing nothing. The banks are loaning it out and collecting sweet, sweet interest on those billions.
The2b@lemmy.vgto politics @lemmy.world•Attorney general threatens to sue Maine, Minnesota and California over transgender sports policiesEnglish20·4 months agoSurely the states rights people will have something to say about this
The2b@lemmy.vgto World News@lemmy.ml•Elon Musk accuses Zelenskyy of killing Gonzalo Lira, slams Vogue photoshoot: 'Did this while kids were dying' | The Express TribuneEnglish47·4 months agoThis is the same dude openly supporting the ethnic cleansing of Palestine. Forgive me if i don’t believe he is being genuine.
The2b@lemmy.vgto politics @lemmy.world•AOC dares Trump border czar to have DOJ investigate herEnglish1·5 months ago“aliens who have once passed through our gates, even illegally, may be expelled only after proceedings conforming to traditional standards of fairness encompassed in due process of law.”
From a Supreme Court decision in 1952, even undocumented immigrants are subject to the due process clauzes of the Constitution: https://tile.loc.gov/storage-services/service/ll/usrep/usrep345/usrep345206/usrep345206.pdf
Per Evenwel v. Abbott (2016), even those who cannot vote have a say in policy “Nonvoters have an important stake in many policy debates and in receiving constituent services. By ensuring that each representative is subject to requests and suggestions from the same number of constituents, total-population apportionment promotes equitable and effective representation.”
Undocumented immigrants are also counted im the census, and thus are represented in Congress and the Electoral College. And since they are represented in congress, they are constituents of their congresspeople just the same as citizens or documented immigrants.
The2b@lemmy.vgto politics @lemmy.world•AOC dares Trump border czar to have DOJ investigate herEnglish107·5 months agoYes and yes. This is a long-settled matter, legally speaking.
The2b@lemmy.vgto Mildly Infuriating@lemmy.world•Liquid Death Quietly Adds Stevia to Tea DrinksEnglish10·5 months agoDo you have any actual data showing that reasonable amounts of erythritol is worse for you than any alternatives?
The2b@lemmy.vgto Mildly Infuriating@lemmy.world•If you save, we will charge you moreEnglish13·6 months agoAt least in Illinois, there is no option to go off grid. You’re legally required to maintain a grid connection even if you are generating all power locally.
Not only is md5sum not proven to have equal dostribution, it is specifically known to not have equal distribution, only nearly equal distribution.
A hash function is any function that converts an arbitrary input size into a specific output size deterministically. No other requirements are there. A hash for a simple job could be just adding the ascii values together and give the output. Needless to say, that would not have an even distribution.