Friday, April 17, 2015

Goodreads Giveaway of Void Contract Paperback

We already have 100 people signed up from the first day. I want to get as many people as possible for those five copies, especially those in Canada or Great Britain, which I added for this event. Click the enter button for your chance to win!

Goodreads Book Giveaway

Void Contract by Scott Rhine

Void Contract

by Scott Rhine

Giveaway ends May 16, 2015.
See the giveaway details at Goodreads.
Enter to Win

Wednesday, March 11, 2015

For my Daughter

I already wrote a blog post for my writing career today. This one is for my daughter.

As a programmer, I've noted for years the dearth of women in the STEM field. I vowed to shield my daughter from influences that block access to these male-dominated fields, but the interference is subtle and pervasive. My wife taught both our children to read before kindergarten, and both have IQs within three points of one another. However, Emily idolizes Pierce because he's "so much smarter." My kids play the same nerd games like Pokemon, read the same books, and watch the same geek shows. However, no one raised an eyebrow at my son skipping a year. My daughter on the other hand has been questioned from all quarters for the last six years. We have to constantly tell her that she belongs there. That bugs the crap out of me.

We do our best to balance the family reading list. For every story with a male lead, we try to find one with a female or at least a balanced cast (Sisters Grimm, Fablehaven, Percy Jackson). TV is more difficult without going fantasy (Wizards of Waverly, Mermaids, or RWBY). I always try to treat my wife with affection and respect around the kids, so they can see how to treat and be treated by members of the opposite gender. This demands constant vigilance, but all it takes is one peer to wreck it.

Two years ago, Emily had her picture hanging in McDonalds for a month because she had the highest scores in math. This year, some kid two years older than her (in the same grade) crushed her self worth with a casual comment. What can I do? Well, hours of dodge ball practice with my daughter helped the most. Seems this boy is considered a whiz at the game, and she can smoke him at it now. She feels powerful and capable now. That's what I can give her.

Most recently, I go to her volleyball games and cheer. At this age, there isn't much volleying. With encouragement and confidence born of her own hard work, I'm proud that Emily runs toward the ball instead of shying away like some of the "girlier" team members. At ten, we're lucky if the players on either side can get it over the net more than they miss. But beyond practicing, Emily has earned something critical--encourage the girls next to you at every opportunity, I think this will help turn the tide for her generation more than my math tutoring or endless setting the ball.

Let's face it, Emily isn't nearly the introvert I am and would likely be bored by number theory and programming combinatorics. She's much more social. The lesson I meant to teach her was that she can do anything she sets her mind to. Yet she shouldn't be a standout in this. If she's the only woman, however exceptional, she'll spend the rest of her career in the same battle she's faced in school. "You don't belong." I think she has the right idea in helping those around her. Life is a team sport. You can't win if you're the only player. She's learned to develop her own support network when I'm not there anymore. But that's hard to shout approval for from the sidelines.

Space Opera Begins with Void Contract

With help from my associates, I should have the first TWO novels in the Gigaparsec series out by mid April. I just started writing the third book. By May 1, I want to have a big give-away or sale of some sort. Normally, I interleave series novels with stand-alones, but I seem to be putting a lot of eggs in one basket because a) the beta readers liked them, b) the reading level is smoother and shorter than anything I've done before (average 6th grade reading level 80 K words versus my usual 120K and 7th or 8th grade), and c) I need to reconnect with my sci-fi fan base.

Book 1, Void Contract: A veteran of the Gigaparsec War, Dr. Max Culp hunts alien war criminals. Suddenly, his only surviving teammate is kidnapped. To free his friend, Max is forced to take a mob contract on a fugitive hiding at the borders of Human space. But Max is tired of wet work and alien conspiracies. Can he find a path back to civilian life without losing what’s left of his soul or those closest to him?

After all the work I did on star travel tech and the history of planets, Max takes this for granted, using whatever tools he finds to do his job. He tries to shake of injuries like John Wayne, even though his scars keep accumulating. Because he cares much more about the adventure than the tech, and this series has a sweeping galactic backdrop, I've categorized this novel as my first space opera.

The female engineer, Roz, takes over Point of View in the last chapter and retains it through her mission to the "Supergiant" system to complete the equation for a new Magi star drive that can go ten times faster. She delves deep into the tech, but personal relationships and ethics are equally as important to her. Most of the bombshells in this novel tend to be verbal. She plans everything mechanical in advance, but people still confound her. (Renee should start work on the cover tomorrow. I'll post when it's ready.)

In book three, "Union of Souls," the Goat side kick, Reuben comes into his own. During a race across the extremes of Human space, he is forced to give up his own childish desires for the good of his own people and another proto-intelligent species. This is rather like the time after college graduation where people choose to grow up and pay for the debts they've incurred over the last couple decades. I just finished the brainstorming phase and am on chapter two. I anticipate finishing the first draft about the time I'm having the give-away in May.

For the pictures to be readable in ereader format, I had to carve this master star chart down to contain only those systems mentioned in each novel. I present it here in its raw form. Note that all various of the color blue are refueling stations belonging to Blue Giant Fuel. Also notice that the name Laurelin was chosen from Tolkien Elvish to denote both the golden tree and to honor the matriarch of the clan, Laura Llewellyn, from the Jezebel series.

As a total aside, I've been giving several talks to high school kids about being a professional author. The positive response has encouraged me to investigate starting a writers' support group at the local community college. I'll look into the prospect when I give a talk there tomorrow.

Tuesday, January 13, 2015

Hobbit 3: the Mighty War Moose -- Canadian

As I watched the third installment of the Hobbit from a dangerously chilly theater in Minnesota, I recall complaining about the lack of physics in the film. Sir Isaac Newton would have been aghast. But when the Wood Elf, Tauriel (Evangeline Lilly), came on the screen, someone whispered, "Canadian." [film still from wikipedia] And she is. Just as Galadriel (Cate Blanchet) is Australian. [photo from IMDB]
EvangelineLillyAsTauriel.jpgCate Blanchett Picture
Suddenly, Mr. Jackson's instruction became clear. The entire series was illuminating the allegories buried in Tolkien.

You doubt? It's no coincidence that Tolkien was sending the stories to his son, Christopher, fighting the returning menace of Germany in the Middle East (Sauron in Middle Earth). I knew in middle school when I read the series originally that the dwarves represented the Jewish people -- twelve tribes, the last split into the two half tribes as twins. At the birth of the country of Israel, there were indeed five armies engaged around the Holy Land. In my youthful innocence, I assumed this was the extent of the metaphor, but Mr. Jackson opened my eyes.

When the mighty war moose of Thranduil [from the lotr.wikia] thundered onto the screen, I knew--the northern Wood Elves were indeed Canadian. Their armor was spotless, and I think I even saw them picking up trash from the street of Dale while they delivered their humanitarian supplies. Moreover, elves as a whole represented the immortal United Kingdom. Mighty in their magic but few in numbers, these colonists of the Holy Land are forced to give up their colonies after the second war and sail back across the waters to their original home, the gray and rainy havens. How could I have missed this?

The elvish men were pretty and slightly effeminate, indicating a high incidence of estrogen in their river, like London. Okay, that's taking it too far. I'm not jealous of Orlando Bloom, just repeating what a London resident told me on the train to Paris. Not wishing to offend any other ethnic group, I cannot speculate on who the orcs, goblins, and trolls allies of Hitler might have been. Nor can I speculate on the politician who may have inspired Gollum. My family did, however, take a vote. In this long battle film, the moose was the best and most realistic fighter. We all mourned his passing. He was, we all agreed, Canadian. We were proud to have him as one of our considerate neighbors of the north.

Monday, December 22, 2014

Why Math?

When I was teaching math and computers in college, some freshman would invariably ask: why do I have to learn this? Why math? One of my professors replied: "Why art? Why a baby?"
He was right. In its purist form, math is art. Anyone who has looked at fractals can tell you that. Zoom in on a Mandelbrot set and you'll find another one underneath. I'm sure the movie Frozen wouldn't have been the same without them.
Pythagoras, the discoverer of the formula for a triangle's hypotenuse and prime numbers, was considered a philosopher by the ancient Greeks. This is the realm of number theory, where you get to peek at the secret rules of the universe, but there is rarely any progress. It's still intoxicating to play with, though, because you find patterns. If you take two to a prime number and subtract one, that number will also be prime. There are numbers (like 6) Pythagoras called "Perfect" because when you add up all their factors, it makes the number itself. Some pairs of numbers form each other.
Pure math is concerned with topics like how do I find this animal, or how can I prove this general rule I came up with? Sadly, mathematicians spend so much time locked up with this ideal of beauty that they sometimes refer to short, elegant proofs as "sexy."

The moment math applies to the real world, it's soiled and most purists won't touch it anymore. For example, guys like Diffie and Hellman noticed that certain math problems easy to describe and generate but incredibly difficult to reverse to the solution. Such one-way behavior is ideal for cryptography. Their discovery forms the basis for your secure computer transactions when you type https. Applied math people ask questions related to the real world, like "how can I fly to every city on my route the cheapest way possible, visiting each exactly once?", which is known as the Traveling Salesman Problem. If there are ten cities, there are 10 choices for the first stop, 9 for the second, and so on. Before you know it, the number of combinations explodes into 3,628,800 routes. This unruly behavior is known as a Non-Polynomial equation (NP), and it appears in every aspect of life, from trash collection routes to odds in Poker or the best move in Chess. It's a very dangerous animal.

Polynomial equations (P), by contrast, are simple and tame. Problems such as sorting this list of students by score, or finding the amount of light on every surface in your computer simulation are based on the number of data points squared or cubed at worst. Engineers can find cheats to reduce the complexity to N log N or 6 N squared. Throw enough computing power at P problems and they go away. Most of computer science revolves around the proper understanding of and taming of combinatorics. Knuth wrote the definitive series of textbooks on this topic.
Why is NP so dangerous? Some NP problems have a flaw if you look at them the right way. You don't need to solve the perfect abstract problem, only the common case. For example, the costs to fly somewhere in the Traveling Salesman problem are primarily due to fuel costs and hours or crew time, both of which are dominated by the absolute distance between two points. For most cases, if you put a dot on each city on the map, a four-year-old could play connect the dots along the outer rim and get a solution that's close. These heuristics (greedy algorithm) are not a guarantee of the best solution, but are usually within an acceptable percent of perfect in almost no time. The Maps program on my wife's phone helped us find the best route to visit every quilt store in Minnesota.

In my job as an engineer, each time I could get "close enough" to an NP problem like the Knapsack Problem for scheduling computer resources, it was worth a patent. Each time I "knew" it could be simplified, it took me two months locked in solitary for a prototype and a year to build a safe version for the customer. They are deceptively simple, with the promise of big payoffs.

Numb3rs (2005) PosterThe problem comes when you can't find a hack. Mathematicians put these hard problems in a zoo and name them. They fill journals and books. To get into this hall of shame, they need be mapped with a few word changes and order P math steps into another NP complete problem. Thus, if you can solve ONE of these monsters in P time, all of them will fall to the same sword. In the TV series Numbers, the main character nearly has a breakdown when he spends a year trying to crack this problem. I can see how easy this would be, fixating on something that is just beyond your grasp and having faith that it just takes the right point of view and tenets. Math is still part philosophy. Through the use of neural nets we can model an NP problem with circuits and allow the current to settle to its natural solution state. In quantum computing, it should be possible to just "guess" the right answer. The computer will see all solutions simultaneously and collapse the waveform to the one we want. All of this could happen within our lifetime, and it will transform the economy and touch every science. "Give me a lever long enough and a place to stand and I can move the world." -- Archimedes, another dead Greek geek.

Why do I care? In 2008, I lost six months of spare time and sleep trying to conquer a simple puzzle called Eternity 2--a simple 256 piece puzzle so devious that to exhaust every possibility on existing computers would probably take until the sun burns out. But what if it has a weakness or I could get close enough? The solution was worth a couple million dollars, and would prove P=NP. I solved other puzzles to earn the placement of 4 of the pieces, but this didn't make the puzzle any easier. With the initial set of corner pieces and random guesses, I notices that in 200 attempts, one of the choices for upper-right corner went further than all the others. My working theory was that of fixed-point iteration or seeking the path of least resistance through repetition--like Newton's square-root technique or the Hailstone Seed Problem, the problem wanted to converge on a solution and would lead me to that end. Therefore, I would test each of the options for an added piece a few hundred times and measure successes. I only chose those additions with overwhelming success, or split the search when there were two close options. Most attempts with some wouldn't get past the halfway point. Indeed, some choices might make the problem unsolvable. By following success, I hoped to find increasingly better solutions.  I came closest with 211 sequential pieces and 22 edge mismatches in the overall attempt. I also suspect that the pieces with multiple triangle of the same color were a flaw to exploit. I stopped when I reached 19 edge mismatches and forced myself to quit cold turkey.

IQ is nothing without common sense. Here's the problem, like a lottery, I could EARN a million dollars in the time it took me to solve this one puzzle, with no general purpose solution. I also wanted to spend time with my children and wife. (I have a more normal definition of "sexy".) Though the siren song of NP calls from time to time, I spend my spare cycles writing fiction now, making other art that will hopefully last beyond me or improve the world today. That is how this discussion began after all. Math practiced properly is a life-changing philosophy.

Thursday, November 13, 2014

The Hidden Cost of Higher Book Prices

One of the hardest decisions to make as a self-published author is what price to put on your completed work. As quickly as possible, you want to pay for the editing, cover, and three months of electricity and health insurance you just incurred. However, you also know that lower prices can mean higher volume. With the advent of KDP Select, this decision got much easier. Earning 30 percent of 99 cents per book outside the program pales in comparison to the 70 percent of 2.99 inside the program. Sales go down by less than a factor of two and you earnings go up by a factor of seven! Given user psychology about the desirability of cheap books, you may actually see a slight increase in demand for a higher price point.

Now Amazon is sharing some of its incredible sales data with the author in a beta program. They offer this service at the touch of a button as step 9 of publishing your e-book.

9. Set Your Pricing and Royalty

KDP Pricing Support (Beta)

See the relationship between price and past sales and author earnings for KDP books like yours.
This sounds amazing. It shows you for books like yours (length, genre, your popularity as an author)  how much increasing the price should affect the demand for the produce. This is know as "elasticity of demand." Then they multiply the sales by volume for each price point to find the best spot on the profit curve. In terms of ECON 101, the example where adding more fertilizer on the field stops being profitable is called the point of diminishing returns. I can't show you the curve for one of my books because Amazon may view this as a breach of sales data, and for books that have a low sales history, the curve recommendation changes every hour. But the upshot is clear: for a strong book, you can take a hit of 30-45 percent on the volume, raise the price to 5 to 8 dollars a book, and make a lot more money. On my highest seller, if I sell 100 books a month today at $3 each, I earn $300. If I bumped the price to $8 and sold only 55, I could make $440. Why wouldn't I?

In my genres and experience, a series tends to attract ten times the readers of a stand-alone.  I like series because 70 percent of the buyers of book one spring for book two, and those loyal readers generally purchase all the books I have out in the series. I refer to this as "follow" or drag. That's a huge incentive for an author. However, the graph results from Amazon comes with an explicit warning that "You indicated this is the first book in a series. This case may be different." Because if you constrict the volume on book one by even a little, you hurt every book in your series.

While ever case is different, here is an illustration where doubling the price and profit of book one restricts volume of sales by x percent. Note that I've never seen a restriction of less than 30 percent on a recommended price increase. You can see by the chart that any decrease in volume costs you more as the length of the series increases. Even for a typical fantasy trilogy, the net effect is money out of your pocket if you follow the recommendation for book one. This drag effect is why some authors with a long series are willing to give away the first novel for 99 cents or free to hook people (the heroin model of marketing). For a short series, you can locate the acceptable audience loss level on their curve and try a partial increase. Be conservative, though. This is still a dark art, not an exact science.

% volume % earnings % follow Books in series
lost book one lost 2 3 4 5 6 7 8
5 190 3.5 186.5 183 179.5 176 172.5 169 165.5
10 180 7 173 166 159 152 145 138 131
15 170 10.5 159.5 149 138.5 128 117.5 107 96.5
20 160 14 146 132 118 104 90 76 62
25 150 17.5 132.5 115 97.5 80 62.5 45 27.5
30 140 21 119 98 77 56 35 14 -7
35 130 24.5 105.5 81 56.5 32 7.5 -17 -41.5
40 120 28 92 64 36 8 -20 -48 -76
45 110 31.5 78.5 47 15.5 -16 -47.5 -79 -110.5
50 100 35 65 30 -5 -40 -75 -110 -145

In conclusion, while an excellent resource for an author with a long, stable sales history and a stand-alone book, Indies who want to attract as many new customers as possible will have to modify Amazon's suggestions to balance our needs.

Thursday, November 6, 2014

Release of the Jezebel Series Finale

Senescence is the final stage of life, where cells can no longer regenerate--the fate that awaits us all when we stop growing and changing. The starship Sanctuary has returned home after twenty years to a strange and hostile world. Stewart is sent as an ambassador to see if Earth still has the capacity to change or whether the crew will let the world suffer the consequences of corporate policies. Billionaire geneticist Laura Zeiss holds his fate in her hands ... and thereby the planet's. Will she choose to become one of the rulers of a decaying world or risk everything to save a naive young man? When Stewart finds out her secrets, will he still want her help?

As the final book, this was the hardest to write. It took twice as many revisions as any book I've done before. I did a lot of research on the coming "singularity" in 2045. What impressed me most was not the new technology, which I include, but the projected increase in human suffering. Worse, most of that suffering seemed destined for women and children. Every time I'd listen to a news cast or pundit, or research another topic, I would become more appalled and angry at what women are enduring today. A lot of that anger made its way in to the story. I focused on the world's richest woman and what she tries to do within the system for decades, including a reality TV show called Ballbusters that brainstorms creative solutions to raise awareness. Then I bring in a man, from another world, who sees the injustices and objects. Because he's a man, it makes news. Science fiction, right?