6 ms·
The more data you save on a flash drive, the lighter it gets?
- strathmeyer 7y ago"This means that an empty USB drive (which mostly holds zeros)" ...maybe?
- kosma 7y agoDefault erase state for NAND memory is ones.
- segfaultbuserr 7y agoIt's also true for most NOR memory and most earlier EEPROM and EPROM chips. This convention came from the original OTP memory - a "0" is created by burning the fuse to physically destroy an electrical link [0] on the chip, you can only change "1" to "0", not vice versa. [0] In physical implementation details, however, an antifuse is actually more common than a fuse, i.e. breaking the link (e.g. by a high voltage pulse) creates a short, not an open.
- fortran77 7y agoIt's not clear what the default erase state is. It could be all 1s or some other pattern used during testing.
- monocasa 7y agoYeah, as shipped they tend to have random looking patterns from procedures in the factory searching for bad blocks. Edit: it might be hard to see in a dd of the disk, because all ones or all zeros for blocks tend to be special cases in the FTL to not even have blocks associated and just mark that it was all zeros/ones to avoid wear.
- kens 7y agoIsn't that complete nonsense? Although the gate gets more charge, that's going to be balanced out by less charge elsewhere. The USB drive as a whole isn't gaining electrons, or else it would have a negative static charge, which would be dissipated as soon as it is connected to ground.
- monocasa 7y agoIt's not a closed system, USB devices need to be plugged in to change state like that. Also, GND isn't neutral charge.
- kens 7y agoYes, that's the point. The USB device will lose as many electrons as it gains.
- monocasa 7y agoIt doesn't though, that's not how flash works. The floating gate traps electrons in a pool of insulation (that they only got in there in the first place due to quantum tunneling).
- segfaultbuserr 7y agoThe question can be reduced to the following: Where does the electric charge that jumps through the insulator to the floating gate come from? Does it come from somewhere inside the chip, or does it come from the external power source? I'm not sure, so I'll just make a guess here: I fail to see the power source we used here has any special property, or how does the chip affect the power source in an unusual way, so I assume our power source obeys KVL and KCL as usual, which means its charge is conserved from the perspective of the power source, and there's an equal number of charge leaving and arriving at both electrodes of the power supply. Thus, the electric charge received by the floating gate is of internal origin, and no charge is gained or lost if we count the chip as a whole. Correct me if I'm wrong.
- williesleg 7y agoTotally fake. Electrons just move. How does this kind of shit make it on a web site? And then to "hacker news." That's like when you "charge" a battery you "add electrons" to it. Fake again. You just move them from one side to the other. Generators don't create energy either, they just move it. Water pumps don't create water, they just move it. People are so stupid.
- kerrto 7y agoThe question can be simplified to: does a charged capacitor weight more? As a first approximation, the answer is No: each electron on the negative plate is balanced by a missing electron on the positive plate.
- nomel 7y agoThe mass comes from the potential energy. Same as a spinning disk has more mass than a disk at rest. It’s absolutely negligible, but it’s real.
- DougN7 7y agoPotential energy has mass? Is that true? It means a rock at the top of a mountain has more mass than it does at the bottom of the mountain. And a stretched rubber band has more mass than a relaxed rubber band. It’s been a looong time but I don’t recall learning this in physics.
- nomel 7y agoYou surely did, but the literal reality of the mass-energy equivalence maybe wasn't apparent: E = mc^2 A system with more potential energy will have more mass. See: https://physics.stackexchange.com/questions/274329/does-potential-energy-of-an-object-increases-its-relativistic-mass/274680 https://physics.stackexchange.com/questions/274329/does-pote...
- williesleg 7y agoIt looks like this is the 2nd time this fake story has been posted on "hacker news" I wonder why that doctor still has his doctor status. I wonder who else he's bamboozling. For shame.