Skip to main content

If Technology is Magic, Where is the Curiosity?

Many of us have heard the Arthur C. Clark quote “Any sufficiently advanced technology is indistinguishable from magic.” Those of us who work in the computer industry for a living seem to have an immediate agreement with the quote. Push these buttons or click these boxes in this order and this other thing will happen. People who don’t spend a career or hobby in tech are sometimes lost when going beyond such explicit instructions. Under those actions exists layers upon layers of complexity and abstractions and the user has no idea how any one of them function. So…. magic.

Now, with traditional magic, there’s often a strong element of curiosity. Show anyone a simple card trick that they have not seen before and they will immediately want to know how you did it. They will be up front about their request and possibly resort to nagging if you don’t reveal the secret. There will be a strong tension built up inside the person that demands an answer. Even though knowing the secret ruins the magic, I’ve never seen anyone being perfectly comfortable just enjoying the magic and not wondering how it was done.

If technology then is magic, where is the strong curiosity? Maybe this is just where the metaphor ends, but I’ve never seen a non-techy person with the same drive and curiosity after being shown some new software or tech gadget even. To be fair, a card trick likely has a much simpler and understandable explanation than a pile of code. Also, people in the same tech field will often have that curiosity drive if it’s something they understand at large but were impressed at a particular part that they couldn’t explain. They will dive into the code base and tear it apart trying to figure it out.

Perhaps technology is magic only when the person observing knows mostly what’s going on and thus knows enough to ask the question “how did you do that?” To someone outside the field, a slightly better metaphor may be that a piece of technology is sorcery. Something that has no explanation in the physical realm and thus invokes no hunger for understanding. Someone chanted a spell and the lightning appeared, that’s just how it is.


Popular posts from this blog

IE Caches a Lot

Cross post from my employer's development blog:

In developing a page, I decided to do things a bit differently on the server. By doing an explicit check on the HTTP request headers, I can detect server-side if a request to the server is coming via XHR (Ajax) or a standard page load. I can then serve different content based on the request type. So, I can use the same URL for retrieving the initial HTML page and the raw JSON data associated with that page. Express makes this pretty easy:
if (req.xhr){      return res.json(await this.usersData());    }    else {      return res.view('users', await this.usersData());    }
I’m not sure if it’s technically more RESTful than having separate URL routes for data and HTML, but it felt like it made sense. The URL is referring to the same data, and based on a header, I want to determine how it is represented, but the data doesn’t change so why should the URL? This also makes it possible to d…

Atari E3 2004 PAL digital press kit

Making note of some old swag. The Atari E3 2004 PAL digital press kit. See video for details.

Changing Password Requirements with SailsJS and Passport

Cross post from my employer's development blog:

If you perform an installation of [Passport][passport] with [SailsJS][sails] using the [Sails Passport Auth Generator][sails-generate-auth] you get several files in your app already configured for you. If you then use passport-local, you will already have a complexity requirement on the password. It defaults to requiring 8 characters minimum, letters, numbers, and symbols.

What if you want to change this requirement? In the generated model file `Passport.js`, you should see a line that says `provider   : { type: 'alphanumericdashed' },` and `password    : { type: 'string', minLength: 6 }`. The minLength is an easy and obvious change. What about the complexity requirement though? This stumped me for a bit. There doesn’t seem to be any mention of these keywords or providers on the Passport official site, nor anything in the [Passport-local repository][passport…