Remix.run Logo
Decayfmt – a file format that corrupts itself a little every time you open it(github.com)
25 points by unprovable 3 hours ago | 8 comments
jasonpeacock 3 minutes ago | parent | next [-]

Reminds me of Tie::Hash::Cannabinol:

  Tie::Hash::Cannabinol is a completely useless demonstration of how to use Tie::StdHash to 
  pervert the behaviour of Perl hashes. Once a hash has been tied to Tie::Hash::Cannabinol, 
  there is a 25% chance that it will forget anything that you tell it immediately and a 
  further 25% chance that it won't be able to retrieve any information you ask it for. Any 
  information that it does return will be pulled at random from its keys.
  
  Oh, and the return value from exists isn't to be trusted either :)
[1] https://metacpan.org/pod/Tie::Hash::Cannabinol
m3047 6 minutes ago | parent | prev | next [-]

You might look into (Norbert) Weiner functions.

jolmg 44 minutes ago | parent | prev | next [-]

> This is a social contract

What's the other side of the contract? Why would a reader oblige to corrupt?

angeldimitrov94 an hour ago | parent | prev | next [-]

Seems like there is no mechanism to allow non-corrupting reads from authorized processes? Begs the question then of what the point of this is. Pure novelty, or truly something that could be used in practice?

dang an hour ago | parent | prev | next [-]

Kind of like how human memory works, if I understand correctly.

NDlurker an hour ago | parent | prev | next [-]

Should have patented it and licensed it to Snap

m3kw9 an hour ago | parent | prev | next [-]

I thought something like this should be part of the file system to make it even more laborious to by pass

M95D 18 minutes ago | parent | prev [-]

Would you please stop inventing more ways to enshittify the world?