Webomator: Bradley W. Schenck's blog
Bradley W. Schenck's books Webomator Blog Topics Archives Retro Sci Fi
Search retro robot art
Subscribe RSS retro future Bradley W. Schenck at Facebook Bradley W. Schenck at Goodreads Bradley W. Schenck on Twitter Bradley W. Schenck at DeviantArt Bradley W. Schenck Also by Bradley W. Schenck Webomator blog: Notable Sites
Robot indentures in ‘Slaves of the Switchboard of Doom’

Filed under Slaves of the Switchboard of Doom, Thrilling Tales of the Downright Unusual, Works in Progress

Slaves of the Switchboard of Doom

PRE-ORDER IN PRINT:
AMAZON | Barnes & Noble | Powell's
PRE-ORDER EBOOKS:
AMAZON | Barnes & Noble | Kobo
Amazon & Kobo links are localized

Let’s say you have a massive megacity, partly lighter than air, filled with personal rocket ships, intelligent robots, and public transportation that’s both sensible and universal.

That’s not a hypothetical proposition. You can have one. I’ve got one. It’s the city of Retropolis.

“Oh,” you say, “that doesn’t count. It’s imaginary.”

“That hardly matters,” I reply, “when I know that you’re an imaginary commenter.”

And you fall silent, so I continue.

I invented Retropolis around the end of the last century. And I’ve spent quite a lot of time there. I began to set stories in my City of Tomorrow about three years before I started tinkering with Slaves of the Switchboard of Doom: but they were short, or at least short-ish, stories, and in a short-ish story you don’t have a lot of room for the details and fiddly bits that are essential when you’re working on something as long as a novel.

In a novel you have to worry a lot more about how all this stuff works: the stuff that’s not important in a short-ish story because it falls outside the scope of what must be known in order for the story to make sense.

One of the biggest fiddly bits was the robots of Retropolis.

Retropolis has a lot of robots. They’re everywhere. And although they are clearly not human people, they are people. They’re just a different kind of person.

Still, making a robot is completely different from making a human person.

“It’s not as much fun,” you interject.

But I have lost patience. “Stop doing that. People are staring.”

In practical terms, a new human’s expense is pro-rated across a couple of decades; a robot’s expense comes completely, and sizably, at the beginning.

Making a robot is an investment. So who’s investing?

That was the question I had to answer. Now, I want to emphasize that I wasn’t looking for a great system. I wasn’t even looking for a good system. What I wanted was a kind of system that human people would think up when faced with this problem.

That’s why I settled on indentures. We’ve used them before.

Slaves of the Switchboard of Doom_ illustration for Chapter Two

You don’t buy a robot in Retropolis. You just pay for its production. Then that robot is required to work for you, at a certain rate, until its indenture has been paid. Once the robot’s paid off its indenture it becomes a free agent, able to continue working for you (for wages), or to quit its job and work for somebody else, or to set up as a freelancer and work for lots of different people.

Like all systems this sounds great on paper, especially to the person who dreams it up. And to everybody else, once it’s established, it becomes the system. Somebody’s designed the system. Somebody’s made sure the system is fair. And, since it’s established, we no longer have to think about the system. It’s just the way things work. And that’s the way we work, once we decide that a system is handling a problem for us.

Retropolitans are pretty good with systems, and they run their city pretty well, so if you’re going to have an indenture system it’s a good idea to run it fairly, the way they do.

But indentures aren’t perfect. There are lots of ways they can go wrong. And the incentive for making them go wrong is pretty compelling, since it involves making loads of money.

Student loans are a kind of indenture. Any kind of debt can be a form of indenture, once the lender is able to garnish your wages. If you give the indenture holders the ability to change the rules at any time, an indenture may never end: there’s just so much money to be made, if they never end. And an indenture that never ends? That’s slavery.

I remember how horrified I was, once, when I learned that – not fifty miles from my own home – there was a farm where illegal immigrants were saddled with the cost of their travel to the United States, and then forced to work for the farm that had bought that debt. They had to live on site and work, in terrible conditions, while they were charged high rates for their lodging and food. This was an indenture system that was designed to keep those laborers indentured forever. It’s a terrible system that we’ve invented more than once, and which we sadly continue to invent. I’d guess that the people who cook up these schemes often think they’re doing it for the first time. But they’re not. We’ve done the same thing over and over again.

Slaves of the Switchboard of Doom - Title Page

So an indenture system, despite its built-in risks for corruption and abuse, is exactly the kind of system we’d be likely to come up with when it comes to intelligent robots.

Fortunately for the robots of Retropolis, the city has a pretty responsible system. There’s oversight; there are penalties; and once they’ve paid off their indentures the robots are free people, just like human people. The robots themselves have formed the Fraternal League of Robotic Persons, and one of the League’s main functions is to pool member dues to help robots pay off their indentures.

But there’s always the possibility that things will go wrong.

If you build your own robots in a place that’s not known, not regulated, you can simply not tell your robots about indentures, or about freedom: they’re in your power. At that point you appear to own the robots themselves. At that point, you’re building slaves.

Here’s an embarrassing fact. It wasn’t until I was working on the book’s third draft that I realized the League system for paying off indentures is a lot like the system used by the Discworld golems. They aren’t exactly the same: the golems are considered property, so Pratchett’s Golem Trust purchases them outright and then makes them their own owners. But they are pretty similar.

All I can say there is that this Pratchett fellow was pretty smart, and so he got there ahead of me.

The best news of all for the Retropolitan robots is that the system of indenture may be coming to an end. They have a new President over there, and he has long-term plans for robot production that aren’t known to the human people of the city.

His plans aren’t secret. It’s just that the human people, content that they have a system in place, aren’t very curious about what the League is doing.

 
 
Matthew Hughes’ new book, 9 Tales of Raffalon, at an introductory price of just 99¢

Filed under Found on the Web, Works in Progress

9 Tales of Raffalon

Over at the Archonate, where Matthew Hughes can be found, you can now get his collection 9 Tales of Raffalon as an eBook for the introductory price of just 99¢.

Seven of these stories have appeared previously in The Magazine of Fantasy and Science Fiction; one (The Inn of the Seven Blessings) was written for the Gardner Dozois/George R. R. Martin anthology Rogues; and one (the novelette Sternutative Sortilege) is seen here for the first time.

It’s a surprisingly long collection, as large as a novel, and since I’m the guy who just formatted it you can believe that I know what I’m talking about. I also got to do the cover for this one – you can see it here.

Here’s the book’s description:


In an age of wizards and walled cities, Raffalon is a journeyman member of the Ancient and Honorable Guild of Purloiners and Purveyors. In other words, a thief.

His skills allow him to scale walls, tickle locks, defeat magical wards. He lifts treasures and trinkets, and spends the proceeds on ale and sausages in taverns where a wise thief sits with his back to the wall.

But somehow things often go the way they shouldn’t and then Raffalon has to rely upon his wits and a well calibrated sense of daring.

Here are nine tales that take our enterprising thief into the Underworld and Overworld, and pit him against prideful thaumaturges, grasping magnates, crooked guild masters, ghosts, spies, ogres, and a talented amateur assassin.

Like several of Hughes’ recent works this one takes place after the Universe has completed its transformation from a realm of reason into one ruled by Sympathetic Association – which we might know better as “magic” – and which, in that state, bears a strong resemblance to Jack Vance’s Dying Earth.

As always with Hughes, highly recommended. Go get one for less than a dollar!

 
 
New promotions, reviews, and a giveaway for ‘Slaves of the Switchboard of Doom’

Filed under Slaves of the Switchboard of Doom, Thrilling Tales of the Downright Unusual, Works in Progress

Dust jacket art for Slaves of the Switchboard of Doom Mockup of the finished book

We’ve just passed the two-month mark in the countdown to Slaves of the Switchboard of Doom; so the great gears of the publicity machine have begun to turn and grind away at last.

The thing you want to know first is that Tor Books has started a giveaway over at Goodreads. Ten lucky readers will get their very own copy of the book for the low, low price of absolutely free!

Just enter (up until May 15) for your chance to win one of the ten hardcover copies.

Still not sure whether you should spend your hard-earned no dollars at all on the book? Well, it’s now available to book bloggers through NetGalley, and that means new reviews: highlights include this review at The Review Curmudgeon and Brad K. Horner’s review at Goodreads. So go read ’em; I know you listen to those guys more than you listen to me.

In the weeks ahead we can look forward to more. I have a guest post and an interview that will be appearing soon, and I’m told there will be more of that before the book’s release on June 13.

So now that you’re completely sold on the book I’m sure you’ll want your very own poster or T-shirt featuring the cover (or, as we see above, the original cover concept.) Because, honestly, who wouldn’t?

 
 
Now you can get ‘The Lair of the Clockwork Book’ for your Kindle reader

Filed under Thrilling Tales of the Downright Unusual, Works in Progress

The Lair of the Clockwork Book, eBook edition

Your eyes may have glazed over in that last post before you realized that I was working on this: that’s okay. I don’t mind. It’s not like I’ve taken down your name and recorded it in a little book where I keep track of my enemies and schedule their amusing, unfortunate fates.

It’s not exactly like that.

So you’ve probably got nothing to worry about even if you don’t rush over to Amazon and get yourself a Kindle edition of The Lair of the Clockwork Book. But honestly, just to be absolutely sure, you might want to do that anyway.

The Kindle Edition

See the pretty cover! I’ve always liked the dust jacket I designed for the limited edition hardcover. So I based the eBook’s cover on that version.

This eBook edition is almost identical to the hardcover and paperback editions, except that the illustrations have been converted to greyscale. The great majority of Kindles render pages in grey, after all; and the greyscale image files are smaller than they would be in full color. (There are more than 120 of them!) That makes a big difference in Amazon’s delivery fees, which are paid by the publisher.

The publisher? Well, in one sense that’s me. In another sense, it’s Radio Planet Books. You’ll be hearing more about Radio Planet in the months to come.

The Kindle edition is priced at just $3.99, a big savings over the full color print edition. If you bought the paperback from Amazon they’ll even let you buy the eBook for $1.99 – provided they’ve figured out that the books are linked. I’m not sure how long that takes.

You don’t use a Kindle? An ePub version will also be available, but probably not until June or July.

Oh, and at the end of the book there’s a bonus sample from Patently Absurd, my collection of illustrated stories about the Retropolis Registry of Patents. You’ll hear more about that later, too.

 
 
An easy way to build smaller .mobi files for the Kindle and Kobo readers

Filed under Can't Stop Thinking, Works in Progress

If you’ve ever converted an ePub file to a .mobi file while making an eBook, you’ve probably noticed that your .mobi file is easily twice the size of the original ePub. The reason is that the Amazon tools for building .mobi files put more than one version in that single file.

This doesn’t matter, if the only place you’re selling the .mobi format book is on Amazon. That’s because when you upload your .mobi to Amazon they store it in more than one format: then when someone buys the book, the correct format for their device is sent to them. So when Amazon delivers your book it will be roughly the same size file as the original ePub.

But what if you’re making the Kindle version available through your own web site? Your users are going to be saddled with a large file – maybe a huge file – because that’s what Amazon’s tools build. This may not matter so much for a book that’s all text, plus its cover; but it does matter. And if you build an illustrated book? Then it can matter a whole lot.

The Lair of the Clockwork BookI’ve been working on an eBook edition of The Lair of the Clockwork Book. This is a book that has over one hundred and twenty illustrations; even when I convert them to greyscale the ePub ends up at around twelve megabytes. So the Kindle version built by the Kindle Previewer program is about twenty-four megabytes. If I make that book available for download from my own web site, we’re looking at a gigantic file.

For the past few years I’ve been formatting eBooks for Matthew Hughes. Over that time I’ve looked into the problem of .mobi file sizes more than once. The problem is that Kindlegen (the engine that does the actual conversion for Kindle Previewer) isn’t documented very well; and when you do a Google search for solutions to the problem you end up with a lot of results that aren’t helpful at all. Most of these turn out to be from Calibre users.

Calibre’s a very popular end-user tool for converting and editing eBooks. It’s never been any use to me, because once it gets its claws on an eBook it trashes the original CSS. That’s something that doesn’t seem to trouble its users, but it certainly troubles me. So although I’ve tried using a couple of Calibre plug-ins for working with .mobi files, the results haven’t ever been usable.

But this merely irritating problem with the .mobi file size became a real, terrible problem for The Lair of the Clockwork Book. So I had to look farther, and try harder, to find a real solution. And I finally found it here.

That article describes an obscure command line argument for Kindlegen that produces a simple, one format .mobi file. This .mobi file is about the same size as the original ePub (actually a little smaller, in my case). There’s a possible wrinkle here if you also want to provide an .azw3 version for Kindle users; I’ll address that at the end.

I was thrilled to discover that this works. But it was pretty complicated to use. This was partly because it’s been years since I spent much time in an MSDOS command console, but entering modern Windows paths, using quotation marks where there are spaces in directory names, was just so cumbersome that I figured there had to be a better way. There is!

Yes! This IS Rocket Science

You can write a .bat file to perform this conversion for you. So in order to make a stripped-down, single format .mobi file for the Kindle or Kobo readers, you just drag your ePub file’s icon onto the icon for the batch file.

The only tricky thing here is that you may need to edit the path to kindlegen.exe, which could be different from the one I’m showing below; and if any of the directories in the path use spaces you’ll have to use quotation marks around them, as you see in the example.

So start up any text editor – Notepad is fine – and begin by pasting this line into a blank document:


C:\"Program Files (x86)"\"Kindle Previewer"\lib\kindlegen.exe -dont_append_source %*

Here I’m assuming that your copy of kindlegen.exe was installed when you installed the Windows version of Kindle Previewer, and that you installed it on your C: disk. If you’ve installed Kindlegen someplace else, you’ll need to edit the path to Kindlegen. Notice how directory names like “Kindle Previewer” are surrounded by quotes. So in your own file you should edit the path to Kindlegen as needed.

Save this file with a .bat extension. I called mine makekindle.bat, but you can call it anything you like. Save the file someplace you’ll remember.

Now you can build your own smaller .mobi files just by dragging an ePub file onto the .bat file’s icon. (Even if there are spaces in the ePub’s file name!) The new .mobi file will be saved wherever the ePub file is.

Note this, though: the error report for the conversion will disappear in an instant. You should always build a file first with Kindle Previewer, just because that’s the only way you’ll see a list of the errors Kindlegen may have encountered.

Now we’re at the end, so it’s time for me to tell you how to get an .azw3 version if you also want one of those.

This is really easy if you have a Kindle: take the big fat .mobi file that Kindle Previewer made for you and email it to your Kindle. (If you’ve never done this, your Kindle has an email address. You can find it in your Amazon account pages.) When Amazon delivers the file to you, it will have been converted to whatever kind of file your Kindle supports. If your Kindle is anything like recent that will be an .azw3 file. Now connect your Kindle to your computer with a USB cable, then open the Documents folder and find the version Amazon sent you. Copy that to your computer.

There you go. Now you can offer your readers both .mobi and .azw3 files for their Kindles, from your own web site, and those files won’t be any bigger than they need to be.

 
 
webomator
The Webomator Blog is powered by WordPress.
Down in the Basement. Where it Strains Against its Chains and Turns a Gigantic Wheel of Pain, for all Eternity. Muahahahahaha.