Click covers for info. Copyright (C) Rudy Rucker 2021.


Archive for the ‘Rudy’s Blog’ Category

Reading “The 57th Franz Kafka” Friday Night

Friday, October 14th, 2011

Tonight, Friday, I’ll be reading my weird old SF story, “The 57th Franz Kafka,” under the auspices of the SF in SF group, who have arranged a Kafkaesque reading for the annual San Francisco Litquake festival. Doors (and drinks) at 6 pm, Readings start at 7 pm. Terry Bisson and Carter Scholz will be reading as well as me.

And here’s an R. Crumb-illustrated plug for our reading in the Huffington Post.

My story will be reprinted soon in Kafkaesque: Stories inspired by Franz Kafka, edited by John Kessel & James Patrick Kelly. Here’s part of the story note that I wrote for this new anthology.

I wrote “The 57th Franz Kafka near the start of my literary career, in the spring of 1980. My wife and I were in Heidelberg for two years—I had a grant to do research on infinity at the Mathematics Institute of the university. During this period I read and reread the Penguin Modern Classics edition of The Diaries of Franz Kafka several times, drinking in Kafka’s vibes and chuckling over the crazy letters he’d write to his relatives and to the family of his lady friend.

One aspect of Kafka’s writing that’s perhaps not as well-known as it could be is that Kafka himself considered his stories to be funny. His friend Max Brod reports that Kafka once fell out of his chair from laughing so hard while reading aloud from one of his works, perhaps from Die Verwandlung, that is, The Metamorphosis. Our puritanical and self-aggrandizing American culture tends to make out Kafka’s work to be solemn and portentous. But it’s funny in somewhat the same way as Donald Duck comics…

And here, just as a teaser, are the first two paragraphs of my dark tale:

Pain again, deep in the left side of my face. At some point in the night I gave up pretending to sleep and sat by the window, staring down at the blind land-street and the deaf river.

The impossibility of connected thought. Several times I thought I heard the new body moving in the long basin.

Here’s a photo taken at the event—me, Terry Bisson, and Carter Scholz. There’s also some video of the event on YouTube, there’s a link to the video segment with me reading “The 57th Franz Kafka.” Thanks to Litquake, Evan Karp, and Stellar Cassidy for making and posting the video.

Journals: Alienation & Enlightenment.

Monday, October 10th, 2011

As I mentioned in an earlier post, I’m combining and polishing my collected journals for the twenty-one year period 1990 to 2011. I might publish them in some form next year, perhaps only as print-on-demand and as e-book. It’ll be two volumes, one 1990-2002, the other 2002-2011. Here’s a cool passage that I happened to be editing today. Today’s illos are recent ones, from Los Gatos, Santa Cruz, and Ardenwood Farm.

It’s early April, 2002, and I’m in Torino, Italy, to give some kind of talk. I’m now sitting on my bed in the City Hotel in Torino. The sound of opera singing from across the hall is very loud, I guess it’s on their radio? Or maybe it’s some live person or persons rehearsing opera? Bellowing. Cute, in a way. Just the thing to remind me I’m in Italy.

I go outside and do my my initial Mars Rover number, trundling around the streets. It’s cold and raining. The streets are so Italian. It’s so wonderful, so amazing that this parallel un-iverse is now and ever ongoing, and that all I have to do is to get in a plane and take a lengthy but not really all that difficult eighteen hour journey to access this plane of existence.

I see a nice café on a side street full of women in pairs and threes and fours, sitting at tables drinking coffee and eating pastries, all of them talking to each other, all of them using their hands to talk, and the quick visual effect of looking in through the tinted glass was of a tide pool of anemones with their tendrils waving.

Now it’s 2 am and I’m having this jet-lag insomnia Camper Van Beethoven Eyes of Fatima interlude.

“Take the hands off the clock—you’re gonna be here for a whiiiiile.”

(Camper Van plays this with warpy, snit-snit, down-the-wormhole bad-acid guitar licks in the background, you understand.)

I open the door to the night balcony and it’s raining outside. I’ve been looking forward to this moment. There’s nothing like jet-lag when you’re traveling alone and you can turn the light on and fire up the lap-top, my drug of choice these days.

So now I’ll work on my current novel. Or maybe on a journal entry.

What if I didn’t have my books to define myself by? It would be tough—to just live in the light of day and not to have my daily scene lit by the footlights of the literary stage. It would mean going back to life at degree zero, like my life was when I was a young Nobody from Nowhere.

Yet even back then I had my portable footlight with me, its generator pooting along. What fuel was the footlight generator running on back then? Irony, viewing things at a remove. Drinking or getting high used to help with that. My concomitant physical malaise acted as objective correlatives for an artist’s neurasthenic alienation.

An artist feels emotionally different from his or her fellows. But, just to deconstruct that old trope—from listening to people talk about themselves over the years, I’ve found that most people feel different from others. Even the seemingly bland dummies are alienated, it’s just that the bland dummies don’t have the talent for making a geschrei about it. A raucous tumult.

And, second deconstruction, it is occasionally possible to be, or at least to feign to be, a Whitmanesque yea-saying artist who fully embraces the daily things, like Jack K. going, “Wow, what great apple pie! With ice-cream on it! Yes!”

I had a little moment of that joy-with-the-given at the San Francisco airport, simply enjoying the architecture, the awesome height of the vaulted hall, the light glancing off the shiny stone floors and rendering everything in shades of greenish gray, and us travelers scattered about like the stylized figures in a maquette.

And I got another hit of that while changing planes in Amsterdam, simply looking out at the friggin’ light poles around the airfield, enjoying how they were grouped. And here and now, for that matter, I take a simple, non-alienated joy in being awake alone at night in Italy, with the sound of rain outside, at the leading edge of spring, me here with my fingers and my words and my hard-drive, sketching, sketching, sketching.

“What a sweet thing is perspective,” as Paolo Ucello used to say.

Ding dong goes the elevator, bringing my opera-singing neighbors back to their room. 3 am. I’m gonna be here for awhile.

4D Ducks. Ideas for Strange Games.

Friday, September 30th, 2011

A new painting today. Four-dimensional Ducks. I started with an abstract painting with seven globs. I made efforts to make the globs look different from each other, and to have intricate, three-dimensional forms.


“Four-dimensional Ducks,” by Rudy Rucker, 30 x 40 inches, October, 2011, Oil on canvas. Click for a larger version of the picture.

And then I started thinking of the globs as cross-sections of four-dimensional creatures. And then I realized they should be Carl Barks ducks, rotating in and out of our space. Four-dimensional ducks. I may yet tweak this painting a bit more.

As always, you can find more info on my art at my Paintings page.

I’ve been editing a volume of my electronic journals that runs from 1990 – 2002. Interest-ing and nostalgic. So many things have sunk into my deep memory, but, now, when jogged, they come back up. Nice to be editing these hundreds of thousands of words, and in some sense improving my past. Eventually I’ll publish some volumes of journals in small press and/or as ebook.

Here’s six game ideas from 2001 I came across today, some a bit stale, some still unused…

(1) Cellular automata. A surfing game with non-linear continuous-valued cellular automata to emulate the waves. Stanislaw Ulam worked on continuous-valued CAs for simulating partial differential equations. See my CAPOW program for surfable CAs.

(2) Artificial life. We haven’t pushed hard enough on having the phenome, or body shape, mirror the genome, or parameter strings. That is, the appearance the creature should directly emerge from the parameter-string “genes” that your program is evolving. I was trying to do this with my old Boppers program.

(3) Chaos. Chaotic motion is the most beautiful. You can easily get it by hav-ing a few counter-acting forces, such as 3D pendulum with a few virtual magnets. Forget about pre-programmed motion paths and let your game characters move chaotically. Trust the gnarl. See for instance, the Magnets module of the Autodesk Chaos program.

(4) The Fourth Dimension. It’s time for more four-dimensional games. After all, Doom was like a 3D version of the old 2D game Pac-man. Let’s go up another level. A 4D maze of tunnels. And the lovely, higher-dimensional polyhedra—and the globby cross-sections of hyperspace beings.

(5) Fractals. Simple idea: hide a gem in the Mandelbrot set let the game player look for it. Zoom into the right spot—are you hot or cold. Interesting scenery on the way. Would be even more interesting to work with a 3D version of the Mandelbrot set, with the 4D Cubic Connectedness Map, or with other far-out variations. Way gnarly.

(6) Space curves. I once spent some time working on smooth and twisty “kappa-tau” space curves defined in terms of smoothly varying curvature and torsion parameters. The goal is to have virtual reality with real-feeling flight. This hasn’t been nailed yet. I want to fly, and I’ve never been able to do it except in dreams. The right way to fly might be to use curvature and torsion. Your controls adjust these parameters, rather than the mere direction of flight. That could be how actual birds do it. Also consider Craig Reynolds’s still-unsurpassed Boids as an approach to flight simulation. Swooping in a wheeling flock.

Making Your Own Ebooks, Feb 21, 2012 Update

Friday, September 23rd, 2011

This is a February 21, 2012 revision of this post, which originally appeared September, 23, 2011.

This is one of those posts where I describe something mind-breakingly complex that I did with my computer. The reason I want to post it is so I can find the description after I’ve totally forgotten all the details in six months. Computer knowledge has such a short half-life.

Over time, I’ll also be revising this post directly, as well adding links and ideas to the comments section as the information filters through my head—and as I continue making mistakes. Let the learning process begin!

[As I often do, I’ll be using photo illos with absolutely no connection to the subject at hand. I took these photos at Nick Herbert’s house in Boulder Creek, on a dude ranch in Wyoming, and in the park at Wilder Ranch in Santa Cruz.]

Plan
So suppose I have a document and I want to make it into an ebook.

Amazon will let you submit a DOC, but you are more likely to get the formatting you want if you submit an HTML. Amazon won’t take an EPUB. In practice it seems to work better to send HTML to Amazon, some files I’ve tried had bad indents when I sent DOC, but looked okay in HTML.

Barnes and Noble PubIt will take an HTML or an EPUB. You can convert HTML to EPUB with the Calibre or the Sigil tool.

Lulu will get you on iBook, and they take EPUB.

We’ll need HTML and EPUB versions of our book. So our workflow is to go from DOC to HTML, and then from HTML to EPUB.

[Supposedly Smashwords takes DOC only, but they seem to be becoming a little irrelevant. And, for that matter, they don’t seem to be processing their requests for new accounts. To hell with them.]

Setup

Tools I’m going to use: Microsoft Word, Adobe Dreamweaver, the free Calibre ebook software, the free Sigil epub software, and the free Epubcheck software.

I make a directory for my project and put my Word document in there. It’s important at this point to format all of your chapter or section headings with a Header style such as Header 1, Header 2, etc. The EPUB file is going to want to make a table of contents, and it will build them by finding Header-formatted lines. And you’ll want an internal table of contents that Word generates from headers.

Regarding the images you want to include, even if you inserted them into your Word DOC from somewhere else on your hard drive, put copies of all the images that in a subdirectory of your project directory and name the subdirectory images. Use some photo editing software to adjust the sizes of these images to be, let’s say, 800 pixels across so they can fill up an iPad reader page. This way you have control of what images get used.

Word Formatting

You can adjust font in the ereader, but I go with a default font size of 12 to start with. Don’t use any font larger than about 18 points for titles or sections, or it’ll look too big on a smartphone.

The fonts available in ereaders vary widely. I myself like to go to Georgia. There’s a setting you can do to make the ereader use a similar font if Georgia’s not available. More on this point below.

The Amazon guidelines, and others, suggest that you justify your text, that is, choose the justified paragraph style so that both the left and right edges of the text are in straight columns. I feel your ebook is easier to read if you forget about straight right edges and choose the Flush Left option. Then the spacing between words will be uniform. This said, many ereaders will ignore your format and will justify the text anyway.

Set your paragraph first-line indent fairly small, like 0.2 inches. What you’ll see on the readers again varies. Kindle always puts a huge indent, doesn’t skip a line between paragraphs. Kindle Fire does no indent, skips a line between paragraphs. iPhone does a small indent if you asked for that, doesn’t skip a line. Etc.

Put a Table of Contents into the DOC using the Word automatic TOC. If you’re planning to send an HTML to Amazon, you’ll need the Table of Contents in there, as the Amazon processor won’t build one for you.

If you are heading for EPUB, you’ll be building a Table of Contents from the headers in Calibre or Sigil, but it’s good to have a Table of Contents inside your document anyway. The thing is, some ereaders are unable to show the hidden EPUB table of contents.

Once you have your Word-made TOC, also apply a header style to the title of your book at the beginning, as this will make the EPUB-built TOC more useful. Or you can do this later in Sigil.

Cover

For the cover of your Ebook, use an external photo editor to create a cover.jpg file which is about 600 pixels by 800 pixels high. The cover obviously should show your name and the title of the book. Save it in your images mages subdirectory. In World use Insert|Picture to insert this image at the very start of your DOC.

If you want you can have a bigger version of your cover as well. When you upload to Amazon or B&N, they’ll as for a cover image, and you can upload the same one you use in the book or you can upload the bigger one.

Converting DOC to HTML

In Word, I save the Word file as a “Web Page, Filtered” or filtered HTML file. Filtered means there’s less Word crap in the file. And I open this file in Dreamweaver and use Commands | Clean Up Word HTML… to get rid of more Word crap. When I save the “Filtered HTML” file, Word makes a directory of extra files in my directory, but there’s actually nothing in that directory that matters, and you can delete it.

While you’re in HTML, look at the image links, and make sure they all point to file-names to the images subdirectory that you made. You may need to use the Edit | Find and Replace dialog to get things set.

You’ll have at least one image, your cover. It’s better not have the size of the images hardcoded. That way you’re free to force in larger images if you want. Use the Edit | Find and Replace dialog and for the Search: field select Specific Tag and set to img, then for the Action: field select Remove Attribute and set to width. Then do the same for height. Then do the same for border.

Fill in the Title field for your HTML in Dreamweaver.

Now we need a few more tweaks so that the HTML can be used to build an EPUB.
*Delete the body attributes link and vlink.
*Remove all the align attributes of the p tags
*Remove all the clear attributes of the br tags
*Search and replace to change every occurrence of a name= to a id= . These are the anchor tags that make your Word-built Table of contents work. The Epub standard likes the id attribute but not the name attribute, and either one works.

Your probably want to add some separators between your sections, especially at the start of the book. HTML runs all the pages together. To make a separator, at the top of your HTML file, inside the style block of definitions, add this line
hr {page-break-after:always;}

And then, wherever you want a break in your document, insert the symbol < then the letters hr then the symbol >, and you get a nice looking line like below, which plays the role of a page break. I can’t write out what you actually put, because then you just get the pagebreak line!

Cautionary note: Once you get your HTML file all tweaked, you’d better not save it from Word again, as Word may put in some of the crap that you just removed. I’m not positive about this, but at some point it seems safer to do any further edits in Dreamweaver.

Sending HTML to Amazon

I won’t go into the details about getting a KDP (Kindle Direct Publishing) account, and filling out all the dialogs. Let’s talk about how you send the file to Amazon. You’ll have an HTML file and a directory with some files, in particular with the image files (Word makes some files, but they don’t matter). In order to upload, I put my main HTML file and the directory with the images into a single zipped directory file and uploaded that and the Kindle meat grinder eats that fine. To zip the file and directory in my Windows machine I I highlighted them and right clicked and selected Send To and sent to a Compressed File.


Tweaking HTML and EPUB in Sigil

So now you’ve made an HTML file and cleaned it up. Open the HTML in Sigil. As soon as you open you file in Sigil, it’s converted into an EPUB file that you can save and distribute. But first do some tweaks.

Use the menu item View to put check marks on Book Browser and Table of Contents.
The Book Browser shows all the different components that are hidden inside your EPUB file.

The Table of Contents window should show a Table of Contents. You can create a Table of Con-tents by clicking Generate TOC from Headings, and then clicking OK in the Heading Selector. You can see if it worked by double clicking on some of the items in the Table of Contents box.

If you didn’t format your book title as a header in Word, you can still do that here in Sigil. Select the title and use the drop-down menu on the upper left corner of the Sigil window and apply a format such as Heading1.

Use the menu item Tools|MetaEditor… to fill in names for the Title, Author, and Language of your EPUB file.

In the Book Browser window in the left hand side of your Sigil window, find the Images directory and look for contents.jpg in there. Right click on it, select Add Semantics, and check Cover Image.

Now before you save and distribute your EPUB, use the Sigil Tools|Validate EPUB selection to see if you get errors. If you click on the error messages, you’ll see source code for the HTML, showing where the error lies.

If you don’t understand an error message paste it into the Google search box.

Fix all the changes, but do the fixes over in Dreamweaver, and then save the HTML and reload it in Sigil. You need the roundabout approach, as Sigil won’t save HTML for you. And it’s good to have the fixed HTML as a kind of base code file.

Once you get past the errors, save your EPUB file with a name with no spaces.

Validating with Epubcheck.
Install the Epubcheck ware on your computer, it probably ends up in Program Files\Epubcheck. Make a sample subdirectory of the Epubcheck directory and put a copy of your current EPUB file there. Suppose it’s called betterworlds.epub.

Then go to the Command Line interface for your computer, navigate into the directory where epubcheck lives, like to Program Files\Epubcheck. Now run a command like this:
java -jar epubcheck-3.0b2.jar sample/betterworlds1.epub

Of course the letters and numbers after epubcheck depend on which version of the software you have. And the name of the epub file depends on what file you’re checking.

If all goes well, epubcheck will either print a “No Errors Found” message, or it will spew out a lot of error messages. You can scroll up and down to see them all. Most common causes of errors are (1) you forgot to build a table of contents using the Sigil Table of Contents window, or (2) you didn’t fill in the Name, Title and Language fields using Sigil Meta tool, or (3) the Epub ware is confused because you gave your epub file a name with spaces in it. If you see an error you can’t understand, try copying into the Google search bar to see what other people say about it.

As before, do the fixes in Dreamweaver, save the fixed HTML, reload in Sigil, save off a fresh PUB and try epubcheck again.

Publish on Amazon and B&N

And maybe Lulu, as a way to get to iBook. And if Smashwords ever starts working again, maybe try that…if you care about being listed on the smaller distribuor sites like Diesel.


Rudy's Blog is powered by WordPress