You'd be surprised at all the stuff you can get away with on a live computer. For example, did you know that AHCI (SATA) and PCIe (and thus NVMe) are both hot-pluggable and hot-swappable? ... and that you can hotswap RAM (with a cooperating motherboard and OS) and even CPUs (on multi-socket boards)?
as for ram I have tried it once and it freeze the pc, I forgot if I have another plugged in or not though.
Typically on hot swappable devices it’s been common to make the ground pins a little longer than the rest, ensuring that those will make contact first. The issue with hot swappable devices aside from a sharp initial draw is “grounding” the circuit to an IO pin before real ground is made. Most default low potential IO pins won’t enjoy taking the full load of the device while the ground plane is missing connection.
Oddly to me, many new PC BIOS ship with SATA hot swapping disabled. IDK why. You can plug the drive in it’ll spin up, but no data transfer will happen until you reboot. Safe, just ineffective. I recently had to learn this the hard way.
I think this is something the OS can override. If I remember correctly I could discover a hotplugged SATA device in Windows by using "Scan for new hardware" in the Device Manager.
That is to say, if hotplugging is disabled on your SATA controller, then the firmware won't see a new SATA drive if you plug it in while the machine is running. So, for example, you won't get a UEFI boot menu entry for it if you go to the boot override section that presents all of your storage devices.
Once the operating system takes over, that's all a moot point. Whether hot-plugging was disabled in your firmware settings or not, if the OS supports it, it will work. Both Microsoft's AHCI driver (msahci.sys) and the Linux "ahci" kernel module (or built-in) support hot-plugging.
On my Windows desktop with an Intel SATA chipset, hot-plugging a drive did cause Windows to briefly drop all other drives on that controller before re-enumerating all of them, which lead to a BSoD because one of those drives was the drive with Windows itself on it. However, this was solved by installing Intel's chipset-specific driver (Intel Rapid Storage Technology, iaStorV.sys) and tweaking the registry to have that one start at early boot instead of msahci.
(Note this will _not_ make a powersupply safe to open up)
On a dumb device where the power button is part of the actual circuit, let’s say an old radio this will work.
On a PC, the power button isn’t hooked to anything but the chipset or some micro or an upstream circuit that tries to start a micro. Which means to have any effect, that processor needs to be executing code, or needs to have enough power to start the chipset itself. Both of these are unlikely to have any effect on CPU capacitors or caps in the power supply.
I’m fairly certain this is placebo at best on a modern PC.
I have no idea if it discharges all the different voltage rails. I don't like having the fans try to spin up while I'm mucking about, and it stops that from happening.
Of course, from an equipment damage perspective, grounding yourself to the case ground is much more important than discharing the PSU capacitors.
I usually physically unplug the computer, push the power button, then open / touch the case (I'm in a humid climate).
I've never had an issue (ignorging fires, but those happened when the computers were intentionally energized).
Edit: Some PSUs have -12 +12 rails, I suppose if you were really unlucky and grabbed both at once the 24v differential could give you a zap.
Incidentally, does anyone know what the -12v rails are used for? Some kind of reference?
You can wet your fingers and get way lower, but I’ve never had anything much at 24V even when trying. At that low a voltage it may come down to frequency of the source.
Obviously your tongue gets way lower, as is 9V lickers know already.