Sunday, April 27, 2014

Orbiter 2014 (Beta)

While I'm still quite interested in all sorts of "space stuff," it's been a very long time since I did anything with the Orbiter space flight simulator. When I first discovered Orbiter in 2005, I was pretty excited. I was always interested in space, in flight simulators, and in physics, and Orbiter combined all those interests into one very cool piece of (free!) software. As part of the process of teaching myself how to use Orbiter, I wrote a tutorial manual called Go Play In Space, and I did a substantial update for the 2006 version of Orbiter. In late 2010, I started to work on an update for the 2010 version, but I got sidetracked by other interests and priorities, and never finished that project.

Last week I noticed a YouTube video by David Courtney called called "Orbiter 2014 Beta - A Quick Look" (David has recorded a large number of excellent tutorial videos on Orbiter 2010).  Wow, it's alive! Orbiter creator Martin Schweiger has released an early beta of a new version that includes 3D terrain (with high-res data so far for most of Earth as well as Mars and the Moon), along with various improvements in the physics engine and user interface. I read some of the discussions at the Orbiter Forum and decided to at least check it out.

The terrain for the new version must be downloaded and installed separately from the Orbiter beta itself (there are instructions and also a beta installation video by David Courtney). I installed the high-res terrain tiles for the US west coast, since I'm familiar with the Los Angeles area, which has some interesting mountain and valley terrain. I flew the default Deltaglider around for a while, and the general impression is similar to Microsoft Flight Simulator, though it's not quite as detailed.

You might question why 3D terrain is even necessary in a space flight simulator, since most of the time you are too far from any planet's surface for this to make any difference. I guess it comes down to realism, and "because you can." I have spent a lot of time with the wonderful AMSO add-on for Orbiter, simulating Apollo missions in great detail, and it is certainly cool to land in the great lunar terrain that is supplied with that add-on (check out this AMSO Apollo 17 video, complete with real mission audio - skip to 9:00 or so to see the mountainous terrain up close).

I'm happy to see Orbiter development continuing, and I hope to do something with the 2014 version. Updating Go Play In Space is a lot of work (it's a 181 page book), but it really needs a 2010-2014 update, so maybe that will happen, time and energy permitting!

Saturday, April 26, 2014

Crab Communicado

I've read a number of alien contact stories over the years, and I just finished one that I thought was well-written and especially inventive in terms of alien behavior and culture, A Darkling Sea by James L. Cambias. It takes place in an unspecified not-too-distant future, after interstellar travel (involving something called "gimelspace") has been developed and contact made with at least one other high-technology species, the Sholen. They and the "Terrans" have established some agreements regarding non-interference with other alien worlds. Humans in a small research station are exploring the under-ice ocean of a Europa-like moon orbiting a gas giant in another star system (not the home system of either the Terrans or the Sholen).

Beneath this dark ocean, many forms of life have evolved, all based on energy and chemicals coming from thermal vents, similar to those found in parts of the Earth's deep-ocean seabed. But in addition to simple worm-like and fish-like creatures,  the thermal vents of Ilmatar also support a crab-like intelligent species who navigate and communicate with sound (no light, so vision has not evolved here), and who seem to possess social structures and simple technology, including a form of agriculture. In compliance with the non-contact treaty, the humans have studied the Ilmatarans from afar, but some of the researchers want to get much closer, and this leads to a tragic incident that provokes conflict with the Sholen.

I won't give away more of the story, which is told in alternating points of view of human, Ilmataran, and Sholen characters. The Ilmatarans have a very old culture (millions of years), and although their technology is quite limited (no deep-water electronics!), they have language (including a writing system based on knots tied in fibers), agriculture (cultivating various plant-like species in settlements built around active thermal vents), the ability to build various structures, and a social and legal system. Landowners have apprentices and servants, and markets exist to make use of surpluses and division of labor. There is an education system of sorts (though child welfare is in a sorry state, with many of the very young apt to be eaten by adults or other young), and there is even a tradition of science, mostly focused on the study of life forms and thermal vent systems.

The Ilmataran scientists are very curious, though they cannot imagine that there are other intelligent life forms in the universe, or indeed that there is a "universe" beyond the thick ice layer above them (which they assume extends to infinity). There ultimately is contact and communication among the three species, and quite a bit of conflict and action. Although there are aspects that require substantial suspension of disbelief (e.g., gimelspace is barely mentioned, but it must provide a path through spacetime that allows faster-than-light travel), it's a well-constructed hard-SF world with no annoying "magic" stuff -- a very engaging and satisfying first novel.

Sunday, April 13, 2014

My Mozart-Mac 80's Mashup

In the pre-web days of the 1980's and early 1990's, I went through a couple of serial obsessions (hobbies, I guess) that I once attempted to merge. I was reminded of this today when I discovered a cool Spotify playlist, "Mozart - Complete Chronological Catalogue."

I bought an early Mac a few months after Apple announced it, around March 1984. It was expensive - the Mac (128 KB RAM!), external floppy drive (no hard drive!), and dot-matrix printer cost about $3500, and a few months later I spent another $900 to upgrade to a "Fat Mac" with a whopping 512K of RAM (yes, KB, not MB)! That $4400 would be about $10,000 in 2014 dollars, but I loved that goofy little computer. I was a complete Mac fanatic until 1994 when I bought my first PC, for work-related reasons, and I haven't had a Mac since (though I have drunk deeply of Saint Jobs' i-device Kool-Aid).

In 1987, Apple came out with a program called HyperCard that allowed Mac users to create "stacks" of hyperlinked "cards" that could contain text, data, and images, with a scripting language that would let you turn these stacks into interactive graphical databases and other sorts of programs (here's an interesting look back at HyperCard from 2012). These were very much like web sites, except that all the data and images had to reside on the Mac itself (around the same time, there started to be hard drives and local networks for Macs, but it was still basically a single-user, single-computer program).

I loved HyperCard, and was always looking around for things to do with it (in the mid 90's, I would use the much more powerful HyperCard 2.0 to create a working prototype for a graphical user interface for a software project at my company, but that's another story). Around the same time (fall 1984 actually), the movie Amadeus was released, but I didn't actually see it until sometime in 1985, oddly enough in Japan. I had long been aware of Mozart's music, but I didn't become a big fan until I saw Amadeus and bought the soundtrack album.

I started reading about Mozart, and buying and listening to more of his music. When I later looked up the meaning of the "K numbers" (K.201, etc.) and realized that there were some 626 Köchel-cataloged works by Mozart, I got an idea for a HyperCard project (I'm guessing this was in 1988-89, so I had already been collecting Mozart CD's for a few years). I could use it to build a linked and illustrated database of all of Mozart's works. I didn't realize at first how big a project this might be, in part because there are really more than 626 individual pieces of music, and in part because in those pre-web days, all of the information I would need was in books, and I would need to enter it all by hand. I'm not sure what I intended to do about graphics beyond the limited clip-art of the day (and I never got far enough to worry about copyright).

I must have worked on this for several months, and I had the structure and logic pretty well worked out, for perhaps 100 pieces or so (probably the ones I had on CD). But researching and creating the "content" for hundreds of additional Mozart works was an overwhelming task, pretty much like writing a book. Around the same time, the brief era of CD-ROM "multimedia" software was starting, with titles such as "Multimedia Mozart: The Dissonance Quartet" (actually that was on the Mac in 1991, and I didn't have it until I got an early Windows PC with CD-ROM in 1994). Although multimedia was becoming a big deal, I realized that creating a full Mozart catalog as a HyperCard stack was too big a project for me, and I never finished it.

Now of course we have the web, with all the information you could want on Mozart and everything in the world at our fingertips. Zillions of people have created databases, websites, blogs, music streaming sites, YouTube, Facebook, and all the rest of the time-sucking internet. Today I was updating some of my Spotify playlists with favorite classical music, and I decided to look around at what others may have done for Mozart. That's when I discovered the complete Mozart playlist. Its author "Ulysses" (perhaps not an individual, since there's a Spotify app called "Ulysses' Classical") also has "complete works" playlists for Debussy, Wagner, Brahms, and others. Pretty freaking amazing. Of course these playlists only include one version of each work, but Spotify contains any number of alternate performances you can quickly find if those are not to your liking (I immediate checked out Symphony No. 25, K.183, and I don't especially like the Bruno Walter version the list maker chose - though I'm sure it's a classic, I remain a Neville Marriner man on that piece).

While 25 years ago I dreamed of having an interactive database of information to read about Mozart's works, now you can find any sort of information on the web, and find and stream any of Mozart's music (and millions of others') in seconds. The Ulysses playlist for Mozart's works has 2,805 "songs" (works, movements, and sections of works), with a play time of 127 hours, 17 minutes. I will have to block out some time. So far I am up to K.12.

UPDATE: After I wrote this, I clicked around a bit more and discovered that there is a modern programming environment inspired by and quite similar to HyperCard. It's called LiveCode and with the help of a KickStarter campaign (the videos give you a good idea of what it can do), it was recently turned into an open source project, with the goal of greatly expanding the community of users and developers. The software is now free (with certain restrictions) for non-commercial use. I downloaded and played briefly with a "hello world" test project, and it is amazingly similar to the HyperCard I remember, except that it supports multiple platforms (Mac, Windows, Linux, and even app creation for mobile devices running iOS or Android). If I had time for another infinite time sink in my life, I would totally be playing with this. I probably will anyway! If I wanted use it to develop an iOS app, I would have a slight problem in that the Apple tools for porting and testing iOS code only runs on Macs (not Windows). Good thing I don't have any app ideas! Oh, wait...

Monday, April 07, 2014

Salieri and Me

One of the things that has always annoyed me about myself is my lack of fluency in most of the things I do. By fluency, I mean the seemingly effortless way that many Europeans switch among 3-5 languages (while I struggle to follow a simple conversation in French or Japanese), or the way Paul Simon writes a song, or Eric Clapton plays guitar.  Back when I was still flying, I spent some time (in 2011!) with an instructor working on a tail-wheel rating that I never quite finished. Although I managed to do things safely, I was frustrated that I could never come close to the smoothness and consistency with which my instructor handled the airplane.

Closer to my professional life, I discovered in college that my brain’s “math engine” didn’t work very well beyond matrix algebra and calculus. I was the only science or engineering major I knew whose verbal SAT scores were higher than the math scores. I always felt that my “real” science major friends could “think in math,” while I somehow had to emulate the math in my verbal brain, a trick that didn’t work very well for abstract subjects like quantum mechanics. When I did software development early in my career, it was similar. Basic algorithm development, coding, and debugging were all OK – but despite my physics and optics background, I just could not get my head around complex optical analysis algorithms (or invent new ones, as I was expected to do). Is this why I eventually ended up in marketing and sales (albeit for some highly technical software products for optical science and engineering)?

While this is only a partial list, right away you might spot a problem: too many interests. If you dabble in a lot of different things, how can you expect to be an expert in any of them? That is a good point, but my interests are my interests, and I have trouble just dropping something I love (though I have pretty much done this with flying, a demanding hobby where dabbling is dangerous). Other conclusions might follow. Things that seem effortless seldom really are. You have probably heard about the 10,000 hour rule. I’m not sure it’s exactly a rule, but the idea is that you need to do something for 10,000 hours or more before you can expect to be really fluent or expert in it. My most recent flight instructor probably has 10,000 hours of flight time (I have about 125). Paul Simon has probably written 1000 or more songs – I have written maybe 200. I almost never practice playing the guitar (when I try, I usually end up writing a song fragment instead – or if I’m lucky, maybe a complete song). Although I can still recall chord progressions and lyrics for songs I learned in my teens or twenties, I can hardly remember new songs I learned or practiced a couple of months ago (including my own songs!).  Fortunately I am quite good at making and playing from lyric/chord sheets!

I love Mozart’s music, and I’m a big fan of the movie Amadeus, even though it is only loosely based on Mozart’s life, with many aspects exaggerated for dramatic effect. One of these is Salieri’s extreme jealousy of  Mozart’s musical talent, even to the point of working to sabotage Mozart’s career. The evidence suggests otherwise, but it makes for a good story, and for some good lines for Salieri. In the movie and in real life, Salieri did very well as the court composer for Emperor Joseph II. But in the movie, he compares his own musical gifts to those of Mozart, and comes up short: “All I wanted was to sing to God. He gave me that longing... and then made me mute. Why? Tell me that. If He didn't want me to praise him with music, why implant the desire? Like a lust in my body! And then deny me the talent?”

Forget Mozart, I can hardly compare myself musically to Salieri, a professional who wrote more than 40 popular operas and who enjoyed status, fame and fortune until his death in 1825 at the ripe (for the time) old age of 75.  But I sometimes share his frustration in seeing what is possible in a Mozart, Paul Simon, or Eric Clapton, even though I have not begun to put in the time or effort (not to mention the prerequisite talent) to create or achieve at such a sublime level. There’s a character in The Hotel New Hampshire by John Irving (no relation) who says, “You've got to get obsessed and stay obsessed.”  I don’t think I have really done even that – if I had, surely I would be working on songwriting, Japanese, higher math, guitar, something, every single day. But many days I just go to work, or if I’m home, I hang out, I read a book, watch a movie, or play around with apps on my iPad. And check Facebook five or six times. Or 10. Of course I do have the serial obsession thing going on – when I do lock onto a well-defined project (like getting my pilot’s license or recording an album), I manage to focus on that pretty tenaciously for weeks or months at a time (which is not always a good thing).

But aside from English (speaking, reading, and maybe writing), I have achieved fluency in one important skill: rationalization! After beating myself up (rather gently) for a few paragraphs, I can turn around and think things like “lifelong learning is fun” or “creativity is its own reward” (as argued in this lovely letter from Kurt Vonnegut), and congratulate myself for at least trying to speak foreign languages, create music, understand general relativity, or fly airplanes (despite my relatively poor sense of direction and lousy parallel parking skills).

Finally, I cannot end this blog post without acknowledging that to a high level of approximation, I’m whining here. Anyone who has had a chance to write, play, and record music with amazing friends and musicians, learn to fly with dedicated and talented flight instructors, and travel enough to have found French and Japanese worth studying – shouldn’t be complaining!  But hey, it's a blog.