Laughter and death as a combined concept has been present since Ancient Greece, where it is held that Zeuxis died from laughing at a portrait of an ugly woman he was painting. Ded stems from a folk etymology for dead reckoning. Emerged on the internet in the early 1990s as a representation for regional speech.
The definition for “ded” is bespoke: