It took Hermione two months to figure out how to make a computer cast runes-magic without damaging itself. The trick turned out to be creating a runes-sequence shield-bubble inside the computer, before the computer did any other magical work.