On Kindle Create

I tried using Kindle Create on Illegal Aliens – you can, from pdf, include all sorts of neat fonts and things like that.

Don’t.

I repeat, don’t.


You’ll get a non-reflowable book and one that is too large to set to 0.99 (and thus misses promo’s).

The only solution is to republish as a second edition. The kindle creator, starting from docx, etc files, can handle text dividers and things like that easily. It does a surprisingly good job of formatting and is worth using.

Illegal Aliens XVIII

wewriwa
Welcome to weekend writing warriors. Many fine authors, and me, contribute short snippets for your delectation. This is the start of a new work, Illegal Aliens. It is something of a cross between a horror story, a science fiction tale, and a romance.

Roland awoke after bringing an attractive young woman home, alone. Something of a surprise, and in some ways a shock. His mobile chirruped into life and the works manager – where he’d been called to examine a mysterious block of Roman concrete – told him the “bloody German bomb, it went.” A knock on the door interrupts their conversation just after Mr Shah explains that one of his workers couldn’t even stand the firecrackers on Guy Fawkes.

One of a somewhat menacing pair of visitors finished last week with “that is irrelevant.” Maybe for them.  The visitors found a mysterious note in what looks vaguely like Arabic, in a somewhat illegal search. Roland, in a mixture of embarrassment and pride read it (or at least its summary) last week. Another element from Roland’s past and a cat show up. The cat isn’t in today’s post, but hasn’t gone away (yet).


 

Roland sighed, Welchmann wasn’t his favourite person, not since that time when he was a post-doc and the professor had made a pass at Janet; more than a pass in fact, but the police hadn’t been very enthusiastic about pressing charges; not against an eminent and well-connected scholar when the charges were based on the word of a grubby post-doc and his wife.

He took the phone, “Yes,”

“Ah, Roland, I hear you’re reading Demotic now; quite fluently if you translated that – fairly obscure.”

“Yes.”

“Not a lot of call for that in Roman Britain, so I’d think.”

“You’d be surprised, besides I was thinking of a trip, need a change of scene.”

“No news about the lovely Janet … or your boy, whatshisname, then.”

“No.”

“Sorry, anyway there are a few cryptic inscriptions I’d like you to look at,”  Roland looked at his male guest; the man’s mobile buzzed and he jumped.  Welchmann continued, “I’ve sent them to our mutual acquaintance.”


My sincere apologies for abusing semi-colons.

It’s a little difficult to type them in wordpress, but you can get the appropriate fonts for hieroglyphics from psifer.com.  Hieroglyphic writing is an interesting mixture of more or less alphabetic approaches, combined with determinatives (shades of meaning) that make it something like a rebus. A reed might be the symbol for ‘i’ and a cup for “i’b” – but a cup could also mean that this word is an offering and not be part of the sound of the word at all. The Semetic people who developed the ancestor of our alphabet took the idea of pictures for sounds, but (fortunately) left the determinatives behind.

The hieroglyphs for Bastet (Bst) show how this works. The unsealed olive oil jar (Gardiner sign w2) is ‘Bs’ and the loaf of bread (it looks like a rising sun to me, but it’s a loaf) is ‘t’.  Sometimes you’ll see it with two ‘t’s to make it clear that it is bstt. The final sign is a determinative for a female god. Just for the heck of it the sealed olive oil jar (Gardiner sign w1) has a different sound.

Illegal aliens is up for order on Amazon. I tried using kindle creator on it to control dividers and formatting, and worked from a pdf file. The results are not as good as I’d hoped, but Amazon – in its wisdom won’t let me change it now that the kindle create program actually works from word files. It has, as usual, laid an egg.

You can get a copy of the first four chapters on instafreebie.

You can find my, well our, works here.

The Art of Deception, first in a series of late Georgian/early Regency spy novels is available for preorder. You can get the first part here.

Illegal Aliens XVII

wewriwa
Welcome to weekend writing warriors. Many fine authors, and me, contribute short snippets for your delectation. This is the start of a new work, Illegal Aliens. It is something of a cross between a horror story, a science fiction tale, and a romance.

Roland awoke after bringing an attractive young woman home, alone. Something of a surprise, and in some ways a shock. His mobile chirruped into life and the works manager – where he’d been called to examine a mysterious block of Roman concrete – told him the “bloody German bomb, it went.” A knock on the door interrupts their conversation just after Mr Shah explains that one of his workers couldn’t even stand the firecrackers on Guy Fawkes.

One of a somewhat menacing pair of visitors finished last week with “that is irrelevant.” Maybe for them.  The visitors found a mysterious note in what looks vaguely like Arabic, in a somewhat illegal search. Roland, in a mixture of embarrassment and pride read it (or at least its summary) last week. Another element from Roland’s past gets introduced this week.


A cat scratching at the outside door interrupted them;  the woman rose, “I’ll get it,” and let an animal in; a sleek, dark black animal, with glossy clean fur shot in and jumped into Roland’s lap; she, for it wasn’t a tom, purred; after inspecting the room as if she owned it, she turned and hissed at his two visitors.

“Did you own a cat … it’s not in your files, and I don’t see any cat dishes.”

“I guess I do now,” Roland stroked the cat, which had resumed purring and nuzzling him; he asked his uninvited guests “Are you done with me?”

The woman said, “Not yet;” then her mobile chittered away, playing ‘Rule Britannia’ as a ringtone.

“Not exactly subtle,” Roland said.

The man replied, “We’re not undercover.”

Roland and the man both listened to half of the conversation.

“So it really is Demotic.”

“A love note … that’s what he said too; read it to us.”

“No … it’s to Roland Stevens, he’s a lecturer at the local,” She handed the phone to Roland, “I’d sent a copy to our specialist, at Oxford. Professor Welchmann.”


My sincere apologies for abusing semi-colons.

Illegal aliens is up for order on Amazon. I tried using kindle creator on it to control dividers and formatting, and worked from a pdf file. The results are not as good as I’d hoped, but Amazon – in its wisdom won’t let me change it now that the kindle create program actually works from word files. It has, as usual, laid an egg.

You can get a copy of the first four chapters on instafreebie.

You can find my, well our, works here.

The Art of Deception, first in a series of late Georgian/early Regency spy novels is available for preorder. You can get the first part here.

A Little Wizardry, A Lot of Security.

fsck_itMy close collaborator wears one of these (in a men’s size and cut). Usually it means he’s a bit PO’ed, but he claims it’s to show his unix wizardry. Still, at least he looks the part – which I don’t. (At least he doesn’t smell the part.)

That said, I’m going to earn my right to wear this shirt with today’s post.

The problem:

Too many people want to look at your laptop and it may become difficult to stop them. Especially in those bulwarks of personal liberty – the USA and the UK. Not to mention other places which don’t even give lip service to the idea of freedom.

A solution:

You need to be able to show the spooks a machine that is clean. Even better, a machine that has links to the collected wisdom of Ms May or Mr Trump and a background set to an appropriate image. However, you want to use your machine to do other things and you don’t want traces left on it. Even more important the media that stores the data should be disposable.

You can get a cheap, solid-state, laptop such as a lenovo ns-10 for $100-$200 on Amazon. These have long battery lifetimes, but limited storage. They’re bullet-proof (figuratively speaking).

It turns out windows 10 will easily boot from a usb stick. There may be an event in the log files, but it’s not hard to do and it does not leave a tell-tale boot sequence.

It does mean, however, that you need to construct a persistent linux boot image on a device.

  • micro-sdhc cards can be put in a usb adapter and work like normal usb memory.
  • micro-sdhc cards are easy to destroy. A few seconds with a cigarette lighter and they’re toast. NSA-grade toast as far as recovery is concerned.
  • micro-sdhc cards are not terribly expensive, and can be sent by second channels such as regular mail, or inside of a camera or phone.

patriot_sdhc

So in many ways they’re a spy’s dream.

Making a persistent boot device.

  1. Acquire the software. Download your favorite linux distribution and make sure that gparted and unetbootin are installed.  (sudo apt-get install will usually do the trick. There are windows versions of these, but if you are installing a linux operating system bite the bullet and learn to use it.)
  2. Repartition the media.  I used gparted because it’s graphical and cute. parted will work too, but you have to be a little more careful about typos.  Windows will only boot from a fat32 partition (fat 16 is ok, but NTFS is right out). This will cause some complications, but nothing too hard to deal with.  I set up a 7 gig  fat 32 primary partition and labeled it bootable. (Two steps with gparted, make the partition (execute the commands), and then after it’s made set the bootable flag.) The rest of my disk (which will be invisible under windows anyway) was made into an ext3 partition. I could have used NTFS too. By the way, you’ll need to be root or sudoer to do this.
  3. Use unetbootin to install the software. It can read from an disk image (ISO) that you’ve downloaded. You’ll need enough space to install the software (about 3gig for linux mint 18) and 4 more gig.  At the bottom of the unetbootin menu is a line about creating a persistence file.  I made it 4 gig, which is as large as fat32 can take, by entering 4000.  Don’t accept unetbootin’s offer to reboot.
  4. So far these instructions have been more or less standard, and you have a bootable disk. But only 4 gig. WTF!  It used to be that you could have a casper-rw partition and it would mount that, but that actually took advantage of a security hole. So now for the magic.  With your disk mounted, cd to the other partition and create a whopping big file.   dd if=/dev/zero of=casper-rw bs=1M count=23300 will create a 24G file. It will take about an hour. Make a cup of tea. There’s probably a faster way to do this with the QEMU suite, but that’s another post.  The next step is to make that file into a filesystem itself.  mkfs.ext3 -F casper-rw will do the trick.
  5. Now you can boot the disk. But we’re not done. Casper files are mounted as loop-back files which means we have to mount them to proceed. The easiest way to do this is to just use the device. In windows 10, use the settings icon (that gear shaped thing), go to update & security and click on the recovery menu. Under advanced startup there is a restart now button. Click on it. Tell the machine to reboot from a device and then select the appropriate usb device. A grub menu should appear.

And it didn’t work. Well it did, sort of, booting without persistence. ARRGH! Now for the wizardry.

It turns out that the kernel needs to be passed a parameter to boot in a persistent mode.  This is literally the word ‘persistent’ and it’s appended after the ‘- -‘ in the configuration.  (i.e. it looks like stuff – – persistent with a space).  The configuration file was right. It just wasn’t the right configuration file.

So back on unix, we mount the drive and look at the boot/grub.cfg file. There’s no persistent passed to the kernel. So we add it. (Actually we copy the 5 lines and add it so we have both options.)  Now it works.

On with the show.

The casper-rw file is a virtual file system. It’s mounted as a loopback file system (mount casper-rw /other -o loop).  So we create a directory /other and a short script to mount the other casper file as a loop back.

#!/bin/sh
mount /media/mint/<a big funny string>/casper-rw /other -o loop

The <big funny string> is a UUID for the disk. One of those security things. I’m still working on how to get it to run automagically, but it works.

Why did I have to do this?

This is actually a feature. Most OS’s won’t let you run programs from a USB device because you could very easily make a virus that ran from disk to disk. The partitions on the disk are recognized as USB partitions, but once mounted in loopback mode are not and so files run. There were a set of instructions which involved making a casper-rw partition and which seemed to magically stop working. I suspect, and one of these days will check, that was an error in the grub configuration.

By the way, you’re the system user on this installation – so installing a useful utility like nmap might be an idea.

Illegal Aliens XVI

wewriwa
Welcome to weekend writing warriors. Many fine authors, and me, contribute short snippets for your delectation. This is the start of a new work, Illegal Aliens. It is something of a cross between a horror story, a science fiction tale, and a romance.

Roland awoke after bringing an attractive young woman home, alone. Something of a surprise, and in some ways a shock. His mobile chirruped into life and the works manager – where he’d been called to examine a mysterious block of Roman concrete – told him the “bloody German bomb, it went.” A knock on the door interrupts their conversation just after Mr Shah explains that one of his workers couldn’t even stand the firecrackers on Guy Fawkes.

One of a somewhat menacing pair of visitors finished last week with “that is irrelevant.” Maybe for them.  The visitors found a mysterious note in what looks vaguely like Arabic last week, in a somewhat illegal search.


 

“It’s a note from my … I don’t know; she was here last night … it’s just I’ve never had a note left for me in Demotic before.”

She asked, “Can you translate it?”

“Am I a specialist in Roman Britain?”

The woman glared at him, “Yes; we know that already; the Romans didn’t use Demotic.”

“I’ve studied it in the last couple of years – to keep my mind off … Janet.”

The man demanded, “What does it say?”

Roland blushed, “It’s sort of personal.”

“Translate it, or we’ll take you in and hold you while someone else does it.”

“Oh … well … here goes,” He cleared his throat and started, “Dearest love, thank you for last night, it was wonderful. It was so good that I’ll have to sleep it off; by all the Gods, even if it risks his revenge, even Zeus wasn’t that good, nor Jason.”


My sincere apologies for abusing semi-colons.

Illegal aliens is up for preorder on Amazon.
You can get a copy of the first four chapters on instafreebie.

You can find my, well our, works here.

Since Roland is a specialist in Roman Britain, and it is memorial day, a bit about Roman Armour.

Reenactors in Lorica Segmentata

The Romans didn’t actually use the breastplate and Mohawk-like Greek helmet so beloved in epic movies. The lorica segmentata (segmented armour) was much more practical. It was lighter, easier to make, easier to repair (if you survived) and easier to adjust to a new soldier. The plates are basically flat steel that is bent and strapped together. The overlapping segments provide decent protection, especially with your scutum (shield) and in a disciplined cohort. These reenactors are carrying pila (pilums) which are lances designed to break off once they hit. (Later on they used a shorter lawn-dart like construction – a plumbata –  an individual could carry 5-6 of them.)  Not shown are the gladius (sword) or the pugio (dagger). This reenactor wears chain mail (lorica hamata), which was worn mostly by auxiliaries.

The featured image shows a reconstruction of a Draco – dragon standard – similar to what the legions in Britain would have used. That and a Welsh flag which bears a striking remembrance of it.

Illegal Aliens XV

wewriwa
Welcome to weekend writing warriors. Many fine authors, and me, contribute short snippets for your delectation. This is the start of a new work, Illegal Aliens. It is something of a cross between a horror story, a science fiction tale, and a romance.

Roland awoke after bringing an attractive young woman home, alone. Something of a surprise, and in some ways a shock. His mobile chirruped into life and the works manager – where he’d been called to examine a mysterious block of Roman concrete – told him the “bloody German bomb, it went.” A knock on the door interrupts their conversation just after Mr Shah explains that one of his workers couldn’t even stand the firecrackers on Guy Fawkes.

One of a somewhat menacing pair of visitors finished last week with “that is irrelevant.” Maybe for them.


The man pulled a warrant card from inside his jacket and showed it to him, “It’s better if you don’t know the details.” The card identified the bearer as an agent from MI6 and little else.

“For me or for you?”

“Very funny, Dr Stevens; may we come in?” Neither of them seemed to have much of a sense of humour.

“I suppose; not like I have much of a choice, is there; I need to shower; do you mind waiting?”

“Not at all.”

The man followed Roland upstairs and waited outside the bathroom while he showered. The woman used the time to search the downstairs rooms; she found a letter, written in an obscure script, one that looked suspiciously like Arabic or maybe Farsi, on the kitchen table; after sending a picture of it to the office, she pulled a chair from the breakfast table and sat. Satisfied with her efforts, she’d await the outcome.


My sincere apologies for abusing semi-colons.

Illegal aliens is up for preorder on Amazon.
You can get a copy of the first four chapters on instafreebie.

Bastet had an important role in Egyptian mythology. One of the several gods of evil, Apep, would attack the Sun God Ra in the evening. He or it would attempt to eat the sun and place the Earth in eternal darkness. (Though as a snake he’d freeze first, but then logic was never a strong part of mythology.) Bastet would routinely defeat Apep and slice his head from his body with a flint knife. Thus the sun would be available for the new day.

The featured image shows the asteroid Ida and her satellite Dactyl. 99942 Apophis or Apep (a synonym) was supposed to crash into Earth in 2029 or 2036, but NASA has shown that it won’t. This image is often labeled as Apep, but it isn’t.

You can find my, well our, works here.

Illegal Aliens XIV

wewriwa
Welcome to weekend writing warriors. Many fine authors, and me, contribute short snippets for your delectation. This is the start of a new work, Illegal Aliens. It is something of a cross between a horror story, a science fiction tale, and a romance.

Last week Roland awoke, alone. Something of a surprise, and in some ways a shock. His mobile chirruped into life and the works manager – where he’d been called to examine a mysterious block of Roman concrete – told him the “bloody German bomb, it went.” A knock on the door interrupts their conversation just after Mr Shah explains that one of his workers couldn’t even stand the firecrackers on Guy Fawkes.


A loud knock on the front door interrupted their conversation; Roland said, “There’s someone at the door … I’ll need.”

“May the Gods smile on you, Dr Stevens. I think you’ll need them,” Mr Shah hung up.

Roland grabbed one of his wife’s old aprons and wrapped it around him in a semblance of decency; he hadn’t been able to face clearing them away; dressed, sort of, he answered the door.

A man and a woman, dressed in conservative suits, suits that signally failed to hide the bulges under their shoulders, waited outside.

“Yes?”

The man said, “Dr Stevens?”

“Yes, I am he.”

The woman added, “Good; may we talk to you?”

“Who are you?”

“That is irrelevant.”


My sincere apologies for abusing semi-colons.

Illegal aliens is up for preorder on Amazon.
You can get a copy of the first four chapters on instafreebie.

I was hunting for an image of the Goddess and found this. However, black and green eyed is more the way I imagined her. Bastet was not just some “piece of fluff.” It would have been terrifying to be occupied by her.

One of the duties of parenthood is encroaching on the weekend. We’re moving our youngest to his new digs at Auburn.
You can find my, well our, works here.

Illegal Aliens is alive

Maybe not well, but it’s up for preorder

You can get a copy of the first bit on instafreebie.

We (I had a fair bit of help from my collaborating author on this) used Amazon’s kindle create on this.

There are good things:

  • Fonts, images, and special formatting are preserved if you export to pdf first. So you can have drop characters for leading pages and pretty section dividers without a lot of bother.

Well, that’s about it.

It’s not too hard to use. Except it’s really hard to create a functional table of contents.

There are, however, bad things too. When you export to pdf it is tricky to save the links from the document – i.e. the table of contents.  Make sure you tell word to save the internal bookmarks.  Check that they’re there with a pdf reader. Then when you get to importing it into the kindle create you should see a table of contents entry. It will be blank, but as you page through the document you should see it light up (there’s a box that will get checked) when you get to a chapter break.  You’ll see whatever symbol you used for the internal bookmark displayed below that. If like my collaborator, you’re a computer scientist, it will be a hexadecimal number. Who in their right mind wants to see that? Replace it with the chapter title.

If you don’t have a functional table of contents you’ll get a well-documented  error at the end of the publication process. It will say, “an unexpected error occurred.” The amazon people don’t know what that means either. It took us a couple of days to figure that one out.

Illegal Aliens XIII

wewriwa
Welcome to weekend writing warriors. Many fine authors, and me, contribute short snippets for your delectation. This is the start of a new work, Illegal Aliens. It is something of a cross between a horror story, a science fiction tale, and a romance.

Last week Roland awoke, alone. Something of a surprise, and in some ways a shock. His mobile chirruped into life and the works manager – where he’d been called to examine a mysterious block of Roman concrete – told him the “bloody German bomb, it went.”


Mr Shah clicked his tongue, “Captain Carter examined the area before the blast – there wasn’t any bomb.”
“He must have missed it; that was Roman concrete, and you know as well as I do that the Romans didn’t even have gunpowder, let alone high explosives; what does he say about it?”
“Nothing; can’t; he caught it.”
“Oh … I’m sorry.”
“Well. Just a heads up mate; expect you’ll get a call;  they’re thorough bastards.”
“Who?”
“MI6  … there’s a chance it wasn’t a German bomb.”
“Shit.”
“All I can say is it’s a good thing I’m Indian, Hindu. They’ve already interviewed Na’el … gave it to him; put him through the ringer, poor lad; not that there’s anything he’d have to do with a bomb; can’t even stand the firecrackers on Guy Fawkes.”


My sincere apologies for abusing semi-colons.

One of the things I’m proud about this selection is that it brings to life the poly-cultural nature of the south of England. They, like the land of the free and home of the brave, have tensions between rural and homogenous urban regions (mostly Wales, the West and the Midlands) and the diverse urban areas (concentrated around London).  However, there is a reason curry is the national dish. The diversity brings a vibrancy to the country that is undeniable. The header image, which I stole from ITV, shows one of the bands in the Notting Hill carnival – Mardi Gras on Thames (except it’s not on Shrove Tuesday).

I had hoped to announce that pre-order was finally available, but Amazon is giving me “an unexpected error occurred try again later” error. Oh well.

You can find my, well our, works here.

Illegal Aliens – blurb drafts.

We’ve been working on blurbs.

Here are a couple:

Buried, forgotten, something is stirring, awakening the old gods, restarting the old feuds. Called in as a working archaeologist to examine a block of Roman mortar found while digging the new underground, Roland Stevens is soon in the thick of it, buried in a tangled web of deception almost as deep as the ruins he studies. Still mourning his missing wife and son, disappeared into the wilds of Wales, he meets a mysterious young woman and the sparks fly. The fire they light changes the world.

 

Gods, Aliens, or merely Human? A rip in time and space awakens something forgotten and buried. Something best left alone. Left buried in the block of Roman concrete from the works on the new underground line. Consulting archaeologist Roland Stevens, called to examine, finds it the least of his troubles. Pulled into a tangled web of deception by a mysterious young woman, can he solve the mystery in time?

Any thoughts?