Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

A wizard then should have a spellbook, one filled with all sorts of spells written out for immediate use. Maintainable hacks if you will. Those are probably just scripts though I suppose?


sort by: page size:

You won't get very far poking randomly in a command prompt though - at least a few memorized spells are required to perform magic

Real wizards code in Reality.

A real open source Magic Spell Book 'Sorcerer Linux':

A new "grimoire", which is a catalog of software supported for immediate installation, is made available daily. When new sources are available, the spells in the grimoire are updated. A user's desktop is updated by first installing a current grimoire. If necessary, the installed Sorcery is updated. Finally, installed software can be updated according to the user's decision. Users can also add new spells to the grimoire on their local machine and submit the new spell for inclusion in the general distribution.

Fun metaphors and a decent (old) Linux distro with it's infrastructure written in Shell Script for purity.

And to install software you would 'cast' a 'spell'.

Source: https://en.wikipedia.org/wiki/Sorcerer_(Linux_distribution)


in the software world powerful spell books are definitely real : http://www.lisperati.com/casting.html

This is a great idea. The feeling of being able to do anything combined with reasonable limitations (ideally invisible) to focus the player's energy is extremely engaging--perfect for teaching.

And I've always thought of magic spells in fantasy as a kind of hack using a secret, natural programming language. :-)


As long as we're recommending things, I'm tossing "Off To Be The Wizard" into the pool. Magic is done by modifying a secret file that modifies the world; you can create macros that modify it for you, etc., etc. Shenanigans ensue.

https://www.amazon.com/dp/B00EF8Z32I/ref=dp-kindle-redirect?...


Is this project's name a pun on "gnusto"? That's the spell in the Infocom game "Enchanter", which copies a spell into your spellbook.

last time I looked there was exactly such a wizard with the override functionality

This together with export LC_ALL=Latin.UTF-8 will do nicely to bring to life the metaphor that programmers are really wizards doing spells!

Computers are literally (literally) magic. Take a rock, use light to inscribe it with arcane runes, then infuse it with lightning and recite the proper incantation to complete the spell.

Any sufficiently advanced technology is indistinguishable from magic.

It's magic. Functional programmers are witches/warlocks. What else is the turbofish other than an arcane rune for magical purposes?


May I ask you what kind of "magic" functions you have in mind ?

I also really loved the episode of "In Another World With My Smartphone" where the character aquires the spell "program" which lets a caster enchant a physical object with a command.

The regular wizards use it to, let's say, make a door open when someone says "open" or other minor one-step commands.

The protagonist, a modern human stuck in a magical world, uses it differently. He creates sequences with it. He scripts complex programs.

[Minor Spoiler] As an example, he ends up creating a magical pistol. When the users speak "reload", the pistol (which the character imbued with a few spells using "enchant") casts a detection spell to finds the closest bullets. If bullets are found, the pistol then casts the spell "aports" on it. The bullets are teleported into the chamber of the pistol. He uses the same concept but with transmogrification enchantments to add voice commands such as "sword mode" or "pistol mode" that transform the pistol into a sword and vice-versa.


Tht old wiki magic :)

When you're 5 everything novel in your environment is basically like magic. So being as the command line pretty much is the closest thing we have to actual magic spells anyway, it's going to be useful for them to encounter this fact early on, while they still find it easy to accept.

Very cool, thanks. How does one become aware of this class of magic? It seems completely undiscoverable, not being in the FAQ, nor in the present "List of Hacker News's undocumented features..."

Maybe you could use Magic+ to audit the legal practices of Magic.

You have a spell object

Me and my friends have a funny habit calling these Spellbooks and pretending to be magicians. This leads to all sorts of hilarious interactions.
next

Legal | privacy