Building aliens – Evolution

Whether life is made from DNA, some sort of odd molecule, or binary data, it will be subject to evolution. That’s inherent in the definition of life. Everything living reproduces, and reproduction is the reason why evolution takes place. Knowing the how and the why of evolution can help you delve deeper into the creation of alien life.

How it happens

For life as we know it, evolution is the result of, basically, copying errors. DNA doesn’t replicate perfectly; there are always some bits that get flipped, or segments that are omitted or repeated. In that, our cells are a bit like an old record or CD player, skipping at the slightest bump. Sometimes, it knocks playback ahead, and you don’t get to hear a few seconds of your favorite song. Other times, it goes back, replaying the same snippet again. It’s the same for a strand of DNA.

Mutations, as these genetic alterations are called, happen for a variety of reasons. Maybe there was a glitch in the chemical reaction that produces the DNA replication. Perhaps a stray bit of radiation hit a base molecule at just the right time. (Digital organisms would not be immune to that one. Programs can crash due to bad memory, but also from cosmic rays—interstellar radiation—hitting the components. And as our processors and memory chips get ever smaller, the risk only increases.) Anything that can interrupt the reproduction process can be at fault, and there’s almost no way to predict what will happen on the base level.

Most of the time, these errors are harmless. A single base being swapped usually doesn’t do much by itself, although there are cases where they do. Our genetic code has builtin redundancy and error correction mechanisms to prevent this “drift” from causing too much harm. Single-celled organisms have a little more trouble, as they don’t have billions of copies of their genes lying around. They tend to bear the brunt of evolution, but it can be in their best interest, as anyone who knows about MRSA can attest.

A few larger errors (or a compounding of many smaller ones) can cause a greater change in an organism. That’s where natural selection comes in. Species adapt to their environments. All else being equal, those that are better adapted tend to reproduce more, thus ensuring their genes have a higher likelihood of passing on to further generations. Thus, evolution acts as a sort of feedback loop: beneficial mutations ensure their own survival, while harmful ones are stopped before they can get a foothold. Neutral mutations, however, can linger on, as they have little outward effect; its these that can give a species its variety, such as human hair and eye color.

How you can use it

Assuming current theories are anywhere close to correct, all life on Earth derives from some microbial organism that lived three or four billion years ago. Through evolution, everything from dogs to sharks to apple trees to, well, us came to be. There are a few open questions (What was that primordial organism? Is there a “shadow” biosphere? Etc.), but that’s the gist of it. And that tells us something important about alien life. If it exists, it’s probably going to work the same way. The Grays of Planet X, for example, would be related to everything native to their homeworld, but not to the aquatic beings of Planet Y. (Unless you count panspermia, but that’s another story.)

That does not mean that all life on a planet will look the same. How could it? A quick glance out your window should show you anywhere from ten to a thousand species, none of which are visibly alike, and that’s not counting the untold millions that we can’t see. Gut bacteria are necessary for life, and their also our ten-billionth cousins. Nobody would mistake a dog for a dogwood, but they both ultimately come from the same stock. So try to avoid the tired trope of “everything on this planet looks that same”.

On the other hand, the vagaries of evolution also mean that life on one planet probably won’t look like life on another. Sure, there may be broad similarities (physiology will be the subject of the next part of this series), but it’s highly unlikely that an alien world will have, say, lions or bears. (However, this doesn’t necessarily apply at microscopic scales, as there are fewer permutations.)

Classification

For worldbuilding, you’ll likely be most interested in the species level. That’s how we define humans, as well as many of the “higher” animals. We’re Homo sapiens, our faithful pets are Canis familiaris or Felis catus, and that nasty bug we picked up is Escherichia coli.

But closely related species share a genus, and this might be something to keep in mind, especially if you’re creating a…less-realistic race. Unfortunately for us, genus Homo doesn’t have any other (surviving) members; the Neanderthals, Homo erectus, and the “hobbits” of Flores Island were all wiped out millennia ago. But that doesn’t mean your world can’t have multiple intelligent species that are closely related. They can even interbreed.

Higher levels of classification (family, order, etc.) are less useful to the builder of worlds. The traits that members of these share are more broad, like mammals’ method of live birth or the social patterns of the hominids. Really, everything above the genus is an implementation detail, as far as we’re concerned.

Adaptation

Now, back to natural selection. Species, as I’ve already said, adapt to their environments over time. We can see that in animals, plants, and any other organism you care to name. Fur changes color to provide camouflage, beaks alter their shape to better fit in nooks and crannies. Blood cells change to protect against malaria—but that leaves them more susceptible to sickle-cell anemia.

If an organism’s environment shifts, then that can render the adaptations useless. The most dramatic instances of this are impact events such as the one that killed the dinosaurs, but ice ages, “super” El Niños, and other climate change can destroy those species that find themselves no longer suited to their surroundings. And species are interconnected, so the loss of population in one can trigger the same in another that depends on it, and so on.

Apex

Much of this is background material for most aliens. The ones that are most interesting to the public at large are those that are intelligent, civilized. Like us, in other words.

We are not immune to natural selection. Far from it. But we have managed to short-circuit it to a degree. People with debilitating disorders can live long lives, potentially even reproducing and thus furthering their genetic lines. Adding to this is artificial selection, as we have performed on hundreds of plant and animal species. That’s how domestication works, as much for a wolf as for a grapevine. We take those individuals with the most desirable qualities and work things out so those are the ones that get to reproduce. It works, as attested by the vast array of dog breeds.

So aliens like us—in the sense of having civilization and technology—won’t be as beholden to their environment as their “lesser” relations. They won’t be bound to a specific climate, and they’ll be largely immune to the small shifts. Does that mean evolution stops?

Nope. We’re still evolving. It’s just that the effects haven’t really shown themselves that much. We’re taller than our ancestors, for example, because taller men and women are generally seen as more attractive. (A personal data point: I’m 6 feet tall, a full 12 inches taller than my mother, and my father was 5’8″. Not that that seems to make me any more attractive.) We live longer, but that’s more a function of medicine, hygiene, and diet, not so much genetics. Parts of us that have evolved relatively recently include Caucasian skin and adult lactose tolerance.

If our species continues to thrive, it will continue to evolve. One sci-fi favorite is space colonization, and that’s a case where evolution will make a difference. It won’t take too many generations before denizens of Mars have adapted to lower gravity, for instance. People living on rotating stations might learn to cope with the Coriolis forces they would constantly feel. It’s possible that there may come a time when there are living humans that cannot survive on their original homeworld.

And the same may be true for aliens. As an example, take Mass Effect‘s quarians. In the third installment of the series, they can (if you play things right) return to their homeworld of Rannoch. But centuries of living as space nomads spoil the homecoming, as they find themselves poorly adapted to their species’ original environment. A race of many worlds will discover the same truth: evolution is unceasing.

On alliteration and assonance

When most people think about verse, they tend to think of rhyme first and foremost. Understandable, since that’s the defining quality of so much poetry. But there’s a whole other side of the word to explore, a front-end counterpart to the back-end rhyme.

Alliteration

Alliteration is the repetition of a sound at the beginning of a word, a mirror image to rhyming. It’s not quite as obvious these days, as rhyme and rhythm have won our hearts and minds, but it has an illustrious history. Some of the earliest Anglo-Saxon verse was composed using alliteration, as were epics from around the Western world. Classics such as “The Raven” and “Rime of the Ancient Mariner” have sections of alliterative verse, as do children’s nursery rhymes. Peter Piper probably needed something to catch the spit from all those P sounds. And who can forget all those old cartoons with hilariously alliterative newspaper headlines? Those were a thing, and they still are in places.

Echoes of alliteration are all around us. Like rhyme, the reason borders on the psychological. In oration, the beginning of the word tends to be more forceful than the end, more evocative. So punctuating your point with purpose (see what I did there?) helps to get your message stuck in the minds of your listeners. They can “latch on” to the repetition. Wikipedia’s article on alliteration uses King’s “I Have a Dream” speech as an example: “not by the color of their skin but by the content of their character.” Notice how the hard K sounds beginning each of the “core” words grab your attention.

To be alliterative, you don’t have to use the same sound at the beginning of every word. The rules of English simply can’t accommodate that. (Newspapers cheated by removing extraneous words such as “a” and “the”.) It’s the content words that are most important, especially the adjectives and nouns. However, alliteration tends to be stricter than rhyme in what’s considered the “same” sound. Voicing differences change the quality of the sound, so they’re out. Clusters are in the same boat. On the other hand, sometimes an unstressed syllable (like un- or a-) can be ignored for the purposes of alliteration.

Assonance

Alliteration is concerned with consonant sounds. (I did it again!) Assonance is different; it’s all about the vowels. What’s more, it’s not limited to the beginnings of words. Rather, it’s a vowel sound repeated throughout a phrase or line of verse. Vowel rhyming can be considered a form of assonance, but it’s so much more than that.

Assonance pops up everywhere there are vowels, which means everywhere. It’s very well suited to small utterances, such as a single line of a song or a proverb. As with alliteration, it’s not an absolute requirement for all the vowels to be the same, but those that are need to be essentially identical. And it’s the content words that are most important. Schwas, ineffectual as they are, don’t even appear on the radar; a and the aren’t going to mess up assonance. But any other vowel is fair game, in English or whatever language you’re using.

In conlangs

Alliteration and assonance are perfectly usable in any context, and they can be made to fit any language. They might not be quite as permissive as rhyme, but they can have a greater lyrical effect when used properly. (And sparingly. Don’t overdo it.)

These literary devices work best in languages with patterns of stress. That stress can be fixed, but that narrows your options slightly. Inflectional languages with fixed final stress are probably the worst for alliteration, while initial stress gives the most “punch”. For assonance, it’s not so vital, but you want to make sure your vowels aren’t being forced to a fit a pattern.

Both alliteration and assonance are easiest to accomplish in languages with smaller phonemic inventories. That shouldn’t be surprising. It’s far less work to find two words that both begin with a P if your only other options are B, D, K, and S. With these smaller sound sets (are you kidding me?), you can even create more complex styles of alliterative verse. Imagine a CV-type language with interwoven alliteration patterns, where the first and third words of a line start with one sound, while the second and fourth begin with a different one.

The other end of the spectrum holds English and most European languages, and it’s less amenable. You need lots of words, or you’ll have to get some help from stress and syllabics. That’s how we can have alliterative English: by ignoring those tiny, unstressed prefixes that pop up everywhere. It’s possible to make it work, but you have to try harder. But trying is what this is all about.

On game jams

This post is going up in August, and that’s the month for the summer version of everyone’s favorite game jam, Ludum Dare. But I’m writing this at the end of June, when there’s still a bit of drama regarding whether the competition will even take place. If it does, then that’s great. If not, well, that’s too bad. Neither outcome affects the substance of this text.

Ludum Dare isn’t the only game jam on the market, anyway. It’s just the most popular. But all of them have a few things in common. They’re competitive programming, in the sense of writing a program that follows certain rules (such as a theme) in a certain time—two or three days, for example, or a week—with the results being judged and winners declared. In this, it’s a little more serious than something like NaNoWriMo.

And it’s not for me. Now, that’s just my opinion. I’m not saying game jams are a bad thing in general, nor am I casting aspersions at LD in particular. I simply don’t feel that something like this fits my coding style. It’s the same thing with NaNoWriMo, actually. I’ve never truly “competed” in it, though I have followed along with the “write 50,000 words in November” guideline. Again, that’s because it’s not my style.

One reason is shyness. I don’t want people to see my unfinished work. I’m afraid of what they’d say. Another reason is the schedule, and that’s far more of a factor for a three-day game jam than a month-long writing exercise. I don’t think I could stand to code for the better part of 48 or 72 hours. Call it flightiness or a poor attention span, but I can’t code (or write) for hours on end. I have to take a break and do something else for a while.

Finally, there are the rules themselves. I don’t like rules intruding on my creative expression. In my view, trying to direct art of any kind is a waste of time. I have my own ideas and themes, thank you very much. All I need from you is the gentle nudge to get me to put them into action. That’s why I do a kind of “shadow” NaNoWriMo, instead of participating in the “real thing”. It seems antisocial, but I feel it’s a better use of my time and effort. What’s important is the goal you set for yourself. Climbing into a straitjacket to achieve it just doesn’t appeal to me.

But I do see why others look at game jams differently. They are that nudge, that impetus that helps us overcome our writing (or coding) inertia. And that is a noble enough purpose. I doubt I’ll join the next Ludum Dare or whatever, but I won’t begrudge the existence of the game jam. It does what it needs to do: it gets people to express themselves. It gets them to write code when they otherwise wouldn’t dare. There’s nothing bad about that, even if it isn’t my thing.

Summer Reading List 2016: halfway home

We’re halfway through the official summer, about two-thirds of the way done with the unofficial season we’re using for our Summer Reading List. I don’t know about you, but I’ve got two out of three.

Fiction

  • Title: Shadows of Self
  • Author: Brandon Sanderson
  • Genre: Fantasy
  • Year: 2015

This is the fifth book in Brandon Sanderson’s Mistborn series, the second of the second trilogy. It’s a pretty good one, though I feel it’s a bit weaker than some of the previous four. Compared to its predecessor, The Alloy of Law, it’s a bit lighter on the action, but far heavier on the worldbuilding. That’s fine by me. If you haven’t noticed, I love worldbuilding, and Sanderson is one of the best there is when it comes to it. I’ll definitely give this one high marks, and I can’t wait to read the trilogy’s finale, The Bands of Mourning. (It’s already out, by the way.)

Nonfiction

  • Title: A Million Years in a Day: A Curious History of Everyday Life
  • Author: Greg Jenner
  • Genre: History
  • Year: 2016

I found this one not too long ago (somewhere…), and I’m glad I did. It’s a fun look back through the history of everyday things and activities, following and relating to one modern man’s Saturday. I love history, and I especially love those smaller, less popular bits of it. History is not all about wars and religion and politics and race. It’s about people living their lives, and those lives never really change that much. And that’s the message of this book. Definitely worth a look, especially from a worldbuilding perspective. (Funny how that works out, huh?)

And one more…

I haven’t decided what the final book on the list will be, but I’ve got another month, so I should be okay. I hope you’re playing along at home, and that you’re having fun doing it.

Conlangs as passwords

Keeping our information secure is a high priority these days. We hear a lot about “two-factor authentication”, which usually boils down to “give us your mobile number so we can sell it”, but the first line of defense for most accounts remains the humble password.

The problem, as eloquently stated by XKCD #936, is that we’ve trained ourselves to create passwords that are all but impossible to remember. And the arcane rules required by some services—banks are the worst offenders—can actually serve to make passwords less secure than they otherwise could be. There are two reasons for that. One, the rules of what’s an “acceptable” password restrict the options available to us. An eight-character password where one of those characters must be a capital letter, one must be a number, and a third must be a “special” character (but not those that might interfere with the site’s code, like the semicolon) really only gives you five characters of leeway.

The obvious solution is to make passwords even longer, but that brings into play the second problem. A password like eX24!mpR is hard to remember, and that’s only eight characters. Extend that to twelve (Ty93M@tsD14k) or sixteen (AsN3P45.tVK23hU!) and you’ve created a monster. Yes, muscle memory can help here, but the easiest way to “remember” a password like that is to write it down, which defeats the whole purpose.

The XKCD comic linked above outlines a way to solve this mess. By taking a few common English words and smashing them together, we can create passwords that are easy to remember yet hard to crack by brute force. It’s ingenious, and a few sites already claim to be “XKCD-936 compliant”.

But I had a different idea. I’ve made my own languages, and I’m still making them. What if, I thought, I could use those for passwords? So I tried it, and it works. In the last year or so, I’ve created a few of these “conlang passwords”. And here’s how I did it, and how you can use the same method.

Rather than a few unrelated words, a conlang password is a translation of a simple phrase. Usually, I try to use something closely related to the function of the site. For example, my account on GOG.com is the phrase “good old games”—the site’s original name—translated into one of my older (and unpublished) conlangs. Similarly, my start page/feed reader has a passphrase that means “first page”. My password on Voat translates as “free speech”. All very easy to guess, except for the fact that you don’t know the language. Only I do, so only I can do the necessary translation.

Going this way gives you a couple of extra benefits. Case is up to you, so you could use a phrase in title case for those sites which require a capital letter. Or you can use a language like Klingon, with capital letters already in the orthography. Special characters work about the same way; add them if you need to, but in a more natural way than the line-noise style we’re used to. And since our password is a full phrase, it’s likely going to be near the upper end of the length range, making brute-forcing an impossible task. If it’s allowed, you can even add proper spacing between words, further lengthening the password and frustrating hackers. Also, if the site requires a “security question” (a misnomer if I’ve ever heard one), and it lets you use a custom one, then you never have to worry about forgetting the password, as long as you remember the language.

There are, of course, downsides to this method. Numbers are…difficult; the best option I’ve found for places that make you put one in is a kind of checksum. At the end of the password, simply put the number of letters you used. As an example, let’s say we want to use our example conlang Isian to make a password at Amazon.com. (By the way, that’s a bad idea, as information on Isian is open to all, even if no one’s really looking.) In my opinion, a good phrase to describe Amazon is “they sell everything”. In Isian, that translates to is dule lichacal. Thus, our password could be something like IsDuleLichacal. Fourteen characters, three of them capital letters. And we can take on a 14 at the end to up the strength a little more, or satisfy overly strict systems. As long as you’re consistent, memorization is less of a problem. And you don’t need to write down the password itself; just the key phrase is enough.

Now, not every language works for this. For very good reasons, passwords using Unicode characters are not recommended, even in those rare cases where they’re supported. The ideal conlang for password use is something more like Isian: no diacritics, no funky letters like ə, just basic ASCII. Letters, numbers, and a few symbols—in other words, the same set of characters that passwords can use.

The best conlangs are probably the most English-like in style. Somewhat isolating, but not too much. Relatively short words. A reasonably uncomplicated grammar, so you don’t have to sort through all the rules. Oh, and you’ll definitely need a sizable vocabulary to cover all the concepts you might want to use in your passwords. Just a grammar sketch and the Swadesh List won’t cut it.

Not everybody will want to go through the effort needed for this scheme. But, if you’ve got an extra little conlang around, one you’re not using for anything else, you might want to give it a shot. It can hardly be less secure than the sticky note on your monitor, right?

Software internals: Trees

We’ve talked quite a bit about data structures in this series, although not as much in recent entries. We’ve seen lists and arrays, two of the most important structures around, but they both have a severe limitation: they’re linear. While that’s great for a lot of data that computer programs manipulate, there comes a time when you need to represent both the data and its organization, and that calls for something more substantial.

The tree is a data structure that represents a hierarchy. Like a real tree, it has a root. It has branches and leaves. And a collection of data trees is also called a “forest”. But those similarities are a bit artificial; the terms were chosen for the analogy. What these trees do isn’t much like the natural ones. To a programmer, however, they’re far more useful.

In the abstract

A tree starts with a root. This is a data node, like one in a linked list, and it can hold one value of any type. If you’ll recall, nodes in linked lists also carry along a pointer to the following node (and the preceding one, for a doubly-linked list). Well, trees do something like that, too. The root node, in addition to its data value, also contains a list of pointers to its children.

These children are root nodes, and thus trees in their own right. Each will have its own data and list of children, and those, in turn, will have the same. If the child list is empty, then that node is at the “end” of one branch; it’s a leaf node. (If there are children, you might be wondering, are there parents? Yes. A node having another node in its child list is that second node’s parent. But data trees are asexual: each child only has one parent.)

Trees are a perfect example of recursion. A tree’s children are also trees—empty ones, if they’re leaf nodes—and they can be treated as such. The most used algorithms lend themselves naturally to a recursive style even in imperative languages. So that’s how we’ll be looking at them here.

Growing a tree

Trees consist of nodes, and each node has two main parts: a value and a list of children. Thus, a simple way of representing a tree is as an object (or similar structure) with two fields, like so. (This example uses TypeScript for illustration purposes.)

class TreeNode {
    value: any;
    children: TreeNode[];
}

Not that hard, huh? It’s nothing more than putting our words into code. A TreeNode‘s value could be anything, though you’d probably restrict it in a real application, and its children are more TreeNodes. Adding, removing, and altering children works in almost the same way as with linked lists, at least with this “basic” tree setup.

Traversing the tree (sometimes called walking it) is a different matter. Here, we want to go through each of the root’s children, then their children, and so on, until we’ve visited every node in the tree. There are two main ways to do this, but the depth-first method is more common and easier to explain. In code, it looks about like this:

function traverse(tree, callback) {
    for (var child of tree.children) {
        traverse(child, callback);
        callback(child);
    }
}

This algorithm is “depth-first” because it visits each of a node’s children before moving to its siblings. This is where the recursion comes into play. We loop through each of the children of the root node. They, in turn, become the roots of a new depth-first traversal. Only when we’ve exhausted the “depth” of the tree—when we reach a leaf node—do we start doing anything. (We’re assuming here that our tree doesn’t have any cycles, child nodes that point to higher levels of the tree. Those make things much more difficult.)

Now, there are a lot of things you can do with this function, but I’ve limited it to a simple, nebulous callback that is run for each node. In the abstract, that’s all there is to it. That simple block of code effectively describes the operation of some code generators, AI systems, and many other complex actions.

Special kinds of trees

The general tree described above suffices for a great many applications. Sometimes, though, it’s more efficient to be more restricted. Computer scientists have therefore developed a number of specializations of the tree for different uses.

The binary tree is probably the most well-known of these. It’s called “binary” because each node has exactly two children: left and right. These children are themselves trees, of course, but empty trees are often represented as null values. Here’s what it looks like in code, once again using TypeScript:

class BinaryTree {
    data: any;
    left: BinaryTree;
    right: BinaryTree;
}

Binary trees add an extra wrinkle to the depth-first traversal we say earlier. Now, we have three possible ways to do things: pre-order, in-order, and post-order traversal. The only thing that changes is when we process the “current” node.

function preOrder(node, callback) {
    if (node == null) return;

    callback(node.data);
    preOrder(node.left, callback);
    preOrder(node.right, callback);
}

function inOrder(node, callback) {
    if (node == null) return;

    inOrder(node.left, callback);
    callback(node.data);
    inOrder(node.right, callback);
}

function postOrder(node, callback) {
    if (node == null) return;

    postOrder(node.left, callback);
    postOrder(node.right, callback);
    callback(node.data);
}

Each approach has its pros and cons. Pre-order works for copying trees, and it’s essentially how expressions are represented in abstract syntax trees or ASTs, an important part of compilers and interpreters. In-order traversal is best for sorted trees, where an extra “key” value is added to each node, arranged so that it’s greater than all the keys in its left subtree but smaller than all those in the right; these binary search trees are used for set structures, lookup tables, and the like. (Maybe we’ll look at them in more detail later in the series.) Finally, post-order is the option of choice for deleting a node’s children and for making RPN expressions.

The binary tree also has a few of its own alterations. The red-black tree uses a “color bit” to keep the tree balanced. This is helpful because most algorithms working on binary trees work best when there the total numbers of left and right nodes are about equal. (In the worst case, all of a tree’s valid descendants are on one “side”. Then, you’re left with just a more expensive linked list.) The AVL tree is a similar variation that has its own pluses and minuses.

B-trees are a special case that sits between binary trees and the general category of trees. They’re allowed to have more than two children, but only up to a certain number. The trick is that each node is given a number of sort keys (like the one in a binary search tree), one for every child past the first. These are calculated so they fit “between” the children, allowing them to serve as index values, speeding up traversal. B-trees are mostly used in databases and filesystems—the two are practically the same thing these days—including the Windows filesystem of choice, NTFS, Apple’s HFS+, and Ext4 and Btrfs on Linux.

Seeing the forest

Trees are everywhere in programming. Whenever you have a set of data with obvious parent-child relationships, it’s probably going to be represented in tree form. Programming languages often don’t offer direct access to the trees, but they’re in there. Sets, maps, and hash tables all use them under the hood. Any kind of parsing, such as XML or a game’s custom scripting language, is going to be tree-based. Even if you never see them, you’ll be using them somewhere.

Fortunately, if you’re not dealing with the innards of the structures themselves, there’s not much you need to worry about. All the hard work has been taken care of. No one needs to manually balance a binary search tree, for instance. But if you work with them directly, it helps to know how they work.

The axioms

Let us consider the following statements as axiomatic:

  1. Principle of Necessity: Government, in some form, is a construct necessary for the creation and function of any collection of people larger than the tribe or village.

  2. Principle of Purpose: A government exists solely to protect the liberty, health, safety, and well-being of its constituents.

  3. Principle of Evolution: A form of government is not cast in stone, but it must have the potential for change.

  4. Principle of Equality: A system of rule that classifies, based on intrinsic factors, some people as greater or lesser in rights or in being is untenable.

  5. Principle of Cooperation: A society of any size is able to achieve greater feats by working in concert rather than in competition.

  6. Principle of Initial Conditions: The Constitution of the United States is not a perfect document, but it is the best available starting point for enumerating the rights of the people and the responsibilities of government.

This set of axioms should be considered a framework, a definition of the boundaries of a space. With logic and deductive reasoning—two qualities sadly lacking in modern politics—it is possible to derive a system of political thought and a model for governance, one which upholds the principles above while remaining rooted in the practicalities of the modern world.

Let’s make a language, part 17c: The body (Ardari)

Ardari, like Isian, is a human language. That makes our lives easier, because we don’t have to worry about alien anatomy, and that’s a big help with Ardari. The phonology and grammar are enough trouble by themselves!

The body

The Ardari body, or apsa, has seven main sections, and that’s a bit of a cross between physiology and philosophy. But that’s how they see it, so who are we to argue?

The first is the chäf “head”. That’s where the mouth (mim) is, so we need it to eat (tum-) and drink (kabus-). The head also has our zhajëlad “hair”, another important part of being human…unless you’re bald.

The head also physically contains the sense organs, but Ardari counts them as part of the brain, sènga. The agya “eye” lets us see (ivit-). To smell (aws-), we use the khun “nose”. The mèka “ear” is how we hear (ablon-). In addition to helping us eat, one part of the mouth, the lèta “tongue”, is used to taste (aty-). Touching (tejv-) is perceived by the brain, too, though the skin (prall) covers the entire body.

The head connects via the ghaf “neck” to the next part of the body: the chest, or ghall. It contains a number of important bones (singular: oqa) and muscles (singular: zuna).

But the chest’s most vital purpose is housing another section of the body: the rocha, or “heart”. The heart, to Ardari speakers, controls the chonga “blood”, one of the essences of life.

Sticking out of either side of the upper body is a kyem “arm”. Bending at the krin “elbow”, it ends at a hand, or kyur. Five fingers (singular: inda) are on that hand, one of which is the special kyu “thumb”.

Farther down the body is the lubrall, the abdomen. It has quite a few interesting bits, but the most pertinent for this post are the legs (singular: khära). Like arms, these have a bending joint, the knee or kubya. And at the end of each is one allga “foot”, complete with five toes (singular: alyinda). Put together, they’re how we walk (brin-).

Bodily functions

People live (derva-) and die (lo-). They sleep (rhèch-) and wake (äske-). And they do so much more.

Lovers will kiss (alym-) and perhaps dance (tatyer-), friends will laugh (jejs-) and smile (miwe-). Those who are sad can cry (ajn-), but someone will often be there to hold (yfily-) them. And that’s only a taste (atyëndasö) of what’s out there.

Word list

As with Isian, this is a larger list of words that contains those mentioned in this post and a number of others created for this topic.

Body parts
  • abdomen: lubrall
  • arm: kyem
  • back (rear): sur
  • blood: chonga
  • body: apsa
  • bone: oqa
  • brain: sènga
  • chest: ghall
  • ear: mèka
  • elbow: krin
  • eye: agya
  • face: sòl
  • finger: inda
  • flesh: tyaza
  • forehead: nèchäf
  • foot: allga
  • hair (single): zhaj
  • hair (collective): zhajëlad
  • hand: kyur
  • head: chäf
  • heart: rocha
  • knee: kubya
  • leg: khära
  • mouth: mim
  • muscle: zuna
  • neck: ghaf
  • nose: khun
  • skeleton: lejoqa
  • skin: prall
  • spine: oqoza
  • stomach: cheld
  • sweat: kwèd
  • tear (drop): osi
  • thumb: kyu (neuter, declined as kyuw-)
  • toe: alyinda
  • tongue: lèta
  • tooth: käga
Bodily terms
  • alive: dervant
  • awake: äskent
  • dead: lont
  • dream: omi
  • fat: vukh
  • sick: blòkh
  • skinny: tris
  • tired: zorant
  • to die: lo-
  • to kill: dyèg-
  • to live: derva-
  • to sleep: rhèch-
  • to wake: äske-
Bodily actions
  • to breathe: dèrèlo-
  • to catch: kòp-
  • to cry: ajn-
  • to dance: tatyer-
  • to drink: kabus-
  • to eat: tum-
  • to hold: yfily-
  • to kick: algèlo-
  • to kiss: alym-
  • to laugh: jejs-
  • to lie (down): dwe-
  • to run: okhyn-
  • to shout: eja-
  • to smile: miwe-
  • to sit: bun-
  • to stand: minla-
  • to swim: tso-
  • to throw: ghur-
  • to walk: brin-
The senses
  • sense: llad
  • smell: awsönda
  • taste: atyënda
  • to feel: luch-
  • to hear: ablon-
  • to listen for: èkhlyd-
  • to look at: tojs-
  • to see: ivit-
  • to smell: aws-
  • to sniff: nyaz-
  • to taste: aty-
  • to touch: tejv-

Indie genres

Being a game developer is hard. Going at it as an indie is that much harder. You don’t have the budget that the big guys have, which means that you can’t afford flashy, state-of-the-art graphics, A-list voice actors, or a soundtrack full of 80s hits. That doesn’t mean that indie games can’t be great. They can, as the past few years have shown. (After I finish writing this post, I’ll probably go back to Sunless Sea, one of those great indie games.)

But the lack of money, and the lack of assets, technology, and infrastructure that it creates, that does have an impact on what an indie dev can do. That’s starting to change, but we’re not quite there yet. For the time being, entire swaths of gaming’s concept space are blocked off for those of us not backed by the AAA guys.

It’s for this reason that some gaming genres are far more common for indies. Those that are the easiest to write, those using the least amount of “expensive” bits, and those that fit within the capabilities of indie-available tools are best represented. Others are rarer, because they’re so much more difficult for a small studio or lone developer.

So let’s see what we can do. I’ve taken the most popular game genres and divided them into three broad categories: those that are very indie-friendly, the ones that indies probably can’t make, and a few that are on the bubble.

The good

  • Puzzles: Puzzle games are some of the first that budding game developers learn how to make, and they’re still highly popular. They’re easy to make, they don’t require a lot of high-quality assets, and people know they won’t be very fancy. Yet puzzle games can be incredibly addictive, even for casual players. These are always a good choice for an indie project, particularly a solo one.

  • Platformers: Another popular genre that perfectly fits the indie mold. Most of the low-cost and free engines have special support baked in for platformers, almost like the creators are steering you towards the genre. And it’s good that they are, as platformers have brought success to quite a few developers over the years. People thought they were dead when the 3D revolution hit, but time has only proven them wrong.

  • Adventure: Adventure gaming is another genre left for dead in decades past. But it also found resurgence in recent years. Point-and-click adventures, survival horror, visual novels, and even interactive fiction have grown in popularity. For indies, adventure is a good genre because it rewards great writing over eye-candy. Art is hard for most programmers, but there are a lot of free assets you can use here.

  • Shooters: First-person or third-person, shooters are popular everywhere. Most of the major engines are tuned for them, and for a while it seemed like that was all the big guys knew how to make. Now, indies aren’t going to make the next blockbuster franchise, but that’s no reason to give up on the shooter genre. Plenty of niche gamers have a favorite shooter. The hardest parts are the assets (but Unity, for instance, has a lot of them available at a decent price) and the multiplayer backend. Get those straight, and you’re golden.

  • Retro: I’m using “retro” as a catchall term for a number of smaller genres that have been around for a long time and are still popular today…in their original forms. Think shoot-em-ups, for example. A lot of people seem to like the retro feel. Pixel art, 8-bit sounds, garish color schemes, and frustratingly difficult gameplay are the rule here, and a subset of gamers will eat that up. In other words, retro gaming is a perfect fit for indies: assets are easy to create, nobody expects them to be good, and you don’t have to worry much about game balance.

  • Sandbox: Ah, Minecraft. The open-world sandbox might be the defining genre of the 2010s, and it’s one that the bigger studios haven’t really tackled very much. Some of the best sandbox games, according to the gamers I’ve talked to, are the indie ones. The genre does have an allure to it. No story needed, AI is only for enemies, the world is made by code, and players will swoon over the “emergent” gameplay. What’s not to love? (Of course, it’s never that simple, but that hasn’t stopped indies from taking over the sandbox space.)

The bad

These next few genres are the ones that don’t seem indie-friendly, but a dedicated developer could make something out of them.

  • Turn-based strategy: Of the strategy variants, I prefer this one for its laid-back nature. But it’s a hard one for an indie. You’ve got two real choices. You can focus on single-player, but then you need a good handle on AI. Or you can make a multiplayer-centric game, with all the problems that entails. Still, it can be done, even as a volunteer effort. Freeciv and Battle for Wesnoth are two examples of free strategy games that have won hearts and minds.

  • Simulation: Sims are another tantalizing genre. They’re a little more complex than their sandbox cousins, often because they have restrictions and goals and such, but most of the same arguments apply. Simulation games also tend to be better focused, and focus is a powerful tool ignored by many devs on either side of the money line. But they’re a lot of work, and it’s a different kind of work. Simulations need to be researched, then written in such a way that they (mostly) reflect reality. Can indies do it? Kerbal Space Program proves they can, but it’s not going to be easy.

  • Role-playing: RPGs, in my opinion, are right on the line of what’s doable for a solo developer. They’re well within the reach of an indie studio, however. It’s not the code that’s the problem—RPG Maker takes care of most of that—but the combination of gameplay, artwork, and writing that makes an RPG hard. That shouldn’t stop you from trying. When done right, this genre is one of the best. Free or cheap assets help a lot here, although you still have to do the storyline yourself.

The ugly

Some genres are mostly beyond indie capabilities. Not that they haven’t given them a shot. Sometimes, it even pays off.

  • Sports: With one exception, sports games are very unfriendly to smaller studios. You’re competing against juggernauts who’ve been at this for decades, and they have all the licenses, endorsements, and publicity. But if you’re willing to invent a new sport, you just might be able to slip into the picture. If you have a bigger budget, that is. It worked for Rocket League.

  • MMO: Just no. MMOs combine all the problems of RPGs with all the hassle of multiplayer shooters, and the whole is much greater, in terms of trouble, than the sum of its parts. Indies have tried, but few have really succeeded. It’s a combination of content and infrastructure that tends to doom them. The general lack of dedicated tooling (MMO-specific engines, etc.) doesn’t help matters.

  • Real-time strategy: The RTS genre is almost dead unless your game is named StarCraft, all but replaced by the MOBA. Either way, it’s a tall order for indies. Strong AI, good artwork, racks of servers to host the multiplayer matches, and the list only grows from there. To top it off, the real-time genres seem to attract more cheaters than just about anything else, so you have to be watchful. But monitoring games for cheating means taking your eyes off the code or hiring moderators. Neither is a good option for a dev on a tiny budget. If you somehow manage it, the payoff can be enormous, because of one recently coined word: esports.

  • Console: This is a platform, not a genre, but it’s worth mentioning here. Thanks to the closed nature of consoles, indie development usually isn’t worth pursuing. Yes, Sony and Microsoft have become more open in the last few years (Nintendo is, if anything, becoming even worse), but there are still too many barriers in the way to make console games a good use of your valuable time. Stick to the three PC platforms (Windows, Linux, and Mac) and the two mobile ones (Android, iOS) at the start.

Magic and tech: construction

Building things isn’t necessarily a sign of civilization and higher thought—birds build nests, for instance, while ants and bees have some seriously elaborate dwellings—but we’ve definitely taken it to another level. Our planet’s surface is covered by billions of buildings, from straw huts to skyscrapers, and many are constructed on the remains of earlier settlements. And that’s only the housing. Add in all those other things we build every single day, from phones to cars, and it’s clear: humans are builders. We always have been.

Beneath the steel rebar and plastic and composite and the other myriad materials, the art of construction hasn’t changed too much over the ages. We’ve developed machinery to automate nearly every aspect of it, but it still boils down to putting pieces together. In general, the addition of magic won’t change that. As we’ll see, it can function as a sort of replacement for the advanced tools available to us but beyond the imagination of our ancestors.

Because this is such a huge topic (even covering only a small corner of it, as we’ll do here), I’m going to break this up into a few smaller sections, each focusing on one aspect of construction and how magic affects it. We’ll start with the first step in building anything: gathering the materials.

Materials

Look around you, and you’ll likely see lots of modern inventions. Computers, phones, televisions—in other words, tech. But take a closer look. Think about the building you’re in, its walls and doors. Things like that. It all had to be built from something, right?

Nowadays, we’ve got a huge variety of materials, especially synthetic ones. Plastic, in the colloquial sense of the word, is a comparatively recent invention, dating back to the 1800s. Aluminum, though found all around us, only started to be used as a component of construction around the same time. Silicone is 20th-century stuff, as are the silicon-based transistors in your computer’s CPU.

In older days, your choice of materials was far more limited. You’ve got metals and alloys, but only those accessible to earlier technology, such as iron, copper, tin, and lead. Wood, clay, and stone are natural and abundant, and they come in lots of styles, each with its own pros and cons. Plants provide fibers, best known for their role as cloth, while animals offer hide, bone, horn, and ivory. Added to these are a small assortment of classical “synthetics”, such as concrete (known to the Romans, among others), glass (at least five thousand years old, not counting natural obsidian), and rubber (derived from plants native to Central and South America).

What can magic add to that? The same thing that technological advances did. We can’t quite get to nylon or graphene, but we can make some advancements. The easiest way to do that is by adding fire: some of the better materials require higher temperatures than early medieval forges can achieve. That’s what it takes to melt tougher metals, for example. (Colder conditions aren’t nearly as helpful, however.)

Most synthetic materials, on the other hand, are created by some sort of chemical process. For that, you need the chemical (or even alchemical) knowledge that comes naturally from the growth of science. Since we’ve already established that the study of magic in our fictional world will increase experimentation and theory, it’s not a great leap to push that same outlook into metallurgy and the study of materials.

Steel, to take one notable example, was notoriously difficult for our predecessors, but magical tech could allow it to be common enough that any old adventurer could wield it. Better control over heat sources and impurities are the reason why, and they give us a number of other advances. Cheaper glass—especially clear plate glass—and ceramics are another good illustration. And if you posit a magical source of electricity (and the understanding of it), then electrolysis nets you aluminum and a number of other niceties.

For our magical society, we won’t go quite that far. They’ve got a good handle on steel, though, to the point where it’s not necessarily the mark of a rich man to have a lot of it. Similarly, quality iron is cheap, and good glass is available. And that’s in addition to the natural set above. (We’ll follow the typical fantasy tropes and say that concrete belongs to an earlier age, its secrets forgotten.) Chemistry is a growing art, but its byproducts aren’t available on an industrial scale…yet. So not too much changes, or so it seems.

Tools

The tools of the carpenter’s trade have changed dramatically in the two thousand or so years since history’s most famous practitioner of the craft. My stepdad builds houses for a living, and while he does have a set of manual hammers, saws, and the like, he won’t be using them on the job under normal circumstances. Today, it’s all about nail guns, automatic drills, compressors, generators, and an assortment of saws and sanders and similar implements.

Tools for working with materials reflect the work done, whether in modern, automated form or as the old-fashioned hand tools of yore. Saws are meant to cut, but not in the same way as, say, a knife; teeth work better than a smooth blade for breaking the thick fibrous bonds of wood in a back-and-forth motion. But splitting logs is best done with a wedge, and axes make excellent wedges. Hammering is all about applying force, and a heavy weight does wonders there. And so on.

For most of history, all these things were hand-operated. Most of the time, anyway. There have always been attempts at power tools. Hydraulic (from water) and pneumatic (from air) pressure have always been favorites; compressed air still works well today, assuming my stepdad’s compressor is in the mood to cooperate, which is never a guarantee. Only in recent times have we been able to convert electricity into the motive force necessary for tools, though heavy machinery has been able to use steam for a couple hundred years.

And that may be one of the best parallels for magical tools. We’ve already seen the application of magical force for such uses as transportation, so it’s no stretch to see how it could be incorporated into mundane tools. Our fictional realm can create magic-powered jackhammers, drills, and nail guns, all of which work far better than their hand-operated cousins, if not as well as modern gadgets. Saws? No problem. Cranes? Sure. How about a nice belt sander? We can do that, too.

But wait, as they say, there’s more. Tools aren’t just about force. What about a blowtorch that uses magical fire? That’s also possible, and probably safer than a tank of acetylene, if properly designed. Soldering and welding both benefit from that, as well, making everything from piping to stained glass cheaper and more widespread. And that’s not even counting what a full-fledged mage could do on the job.

Labor

Old tools were mostly human-powered, and that obviously means you’ve got to have humans to power them. Construction, especially from the house level on up, requires a lot of labor. Traditionally, that meant companies of hired laborers (or, in less-friendly areas, slaves) working tirelessly on the project du jour. With most tasks being done by hand, there wasn’t much choice.

Magic brings something like automation, and we know how automation affects the labor market. You only have to turn on the news to find out. (I’m writing this a couple of days after the “Brexit” vote, and from a state in the US that is seeing a resurgence in manufacturing…but one that doesn’t benefit unskilled labor. That’s all robots, or it will be soon.) As the use of self-powered tools grows, the need for massive numbers of low-wage laborers declines. The Industrial Revolution would have killed slavery without the abolitionist movement, just as the Robotics Revolution is killing the blue-collar job market today. (How that changes the economy is worthy of its own series of posts.)

So our magical society will be slave-free, both out of a concern for our fellow man and a lack of need for slaves as laborers. That doesn’t mean there won’t be any builders, however. Somebody has to work those tools, and somebody has to make them. But it’ll be a bit more like the year 2000 than 1000. Machines won’t be too widespread, but powered tools will be common enough that most have seen them in action, if not used them.

Under construction

I could go on forever, and with a much more informed opinion than usual, thanks to my family situation. But I won’t, because I think you get the picture. Our magical realm will be building in a way that should be fairly recognizable: small to medium teams of workers with semi-automatic tools. With magic, they are more efficient than their real-life counterparts, so the work gets done sooner. That implies more building, whether upward or outward, and the better materials will certainly help the former. Towers, pyramids, and other magnificent works were accomplished without magic, but this realm might be more prone to creating such masterpieces. They’ll have the means, and the time will come when there’s nothing better to do.

css.php