Categories
JavaScript Writing

Future. Perfect.

I finished copy edits on my JavaScript Cookbook, which now enters the production process.

The first half of the book focuses on the basic components of JavaScript, while the latter half gets into the more complex material. I touch on the basic JavaScript objects, such as String and Number, but also spend a considerable amount of time covering new ECMAScript 5 and HTML5 scripting features: HTML5 drag and drop, postMessage, the Files API, worker threads, the wonderful new object methods, and so on.

I devoted one chapter to covering ARIA, Accessible Rich Internet Applications, as well as some other accessibility features. The more I work with ARIA, the more I view it as more of a rendering semantics than something purely for screen readers. For a data person like myself, ARIA is a very comfortable technology to use. I’ll have more on ARIA in later writings at MyTech.

Speaking of which, I’ve added ARIA landmarks to my web sites. Use View->Source to look for the role attribute, which is how ARIA landmarks are added. It was easy to update the Drupal templates to incorporate the new material. Unfortunately, the pages don’t validate, but I no longer care about validation. Frankly, the days of trying to code your pages to meet some validation criteria are over. Nowadays, pragmatism is the word in web development.

I am at work on my next book, but it’s not going to be for O’Reilly. Instead, I’m going to try my hand at self-publication, which is why I’m spending so much time working with ePub and other eBook formats. I’m also trying to strengthen my self-editing skills. After 18 books, I’ve become dependent on copy editors—my writing has become sloppy, and full of typos. Speaking of which, I strongly recommend, Paula LaRocque’s “The Book on Writing: The Ultimate Guide to Writing Well.” LaRocque’s book has proven invaluable as I root out my bad writing habits.

Categories
Just Shelley

Thirty years ago: Mount St. Helens

Thirty years ago I was living at my Dad’s in Yakima, going to college. That Sunday was a beautiful day, and Dad was outside in the garden as I was getting ready to go to work. I worked for a photographer, who had a studio in the Yakima Mall. I liked working Sundays. Sundays were always quiet, especially when the weather was nice.

I heard a loud boom, but didn’t think much of it. Yakima was right next to a military training center, and it wasn’t too unusual to have a hot dog pilot break the sound barrier. Some minutes later, my Dad yelled for me to come outside. I ran out and saw this ugly dark brown/black cloud rolling towards the town. We knew that Mount St. Helen’s had erupted.

We ran inside and quickly shut everything up, as fast as we could. My boss called to jokingly tell me that I didn’t have to go into work. Little did we both know that the Mall didn’t shut down the air intake system quickly enough, and when we were able to get into the studio three days later, all of my employer’s cameras would be ruined.

The day suddenly begin to turn into night. The ash started falling all around us. It was quiet, except for the ash, which made a slight hissing sound when it fell—like a snake who is only going through the motions. We turned the TV on, finding it interesting to see our quiet little town being the top story for most of the major networks. The President flew by. We waved.

My cat was still outside. Well, I say “my” cat, but Bonzo was really Dad’s cat—a case of love at first sight between those two. I thought he would come back when he saw the cloud, but evidently, the ash must have panicked him. I told my Dad I had to go find him. Dad was torn between wanting to keep me inside, and being worried about Bonzo. Go find him, Baby Doll, he said, But don’t stay out too long.

Yes, he called me Baby Doll. Dad’s been dead a few years now—I don’t mind telling you he used to call me Baby Doll.

I put on a plastic rain coat I bought on a lark, once, and never wore. It ended up being a perfect cover for the ash fall. I wet a handkerchief to wrap around my nose and mouth, though it didn’t work as well as I hoped.

Walking through the streets, looking for my cat, was like walking on the moon. The ash was very fine, but so persistent. It covered everything, though it slithered off the plastic of my coat. After about half an hour, I couldn’t handle the ash anymore and came home— hoping Bonzo would be smart enough to find cover.

During the day, the ash cloud would sometimes thin out, leading us to hope the worst was over. Then the ash would thicken, the day darken again. I must admit to being more than a little worried about how long the ash would fall. Would we be evacuated if it fell for days?

Were we in danger?

Towards evening, we heard a faint meow at the back door. I opened it, and there on the step was a mound of ash with two brilliantly blue, and really pissed off eyes. Bonzo had made it home.

The ash fell throughout the day and into the evening. The darkness was oppressive, the acrid smell overwhelming at times. Sometime during the night, though, it finally stopped. When we woke the next day, we woke to another world. Ash covered everything.

I used to smoke in those days. I had run out of cigarettes, and we also needed milk and some other odds and ends. We couldn’t drive because of the ash, but there was a neighborhood store a couple of blocks away. I knew the store would be open—you’d have to bury that store under lava for it not to open—so I again donned my plastic coat and set off.

If the walk during the ash fall was unnerving, the walk the next day was surreal. You could see tracks of animals, including that of a bee that had become so weighted down, all it could do was squiggle along the sidewalk. Bird tracks, cat tracks, other small critters—no people though.

People were out and about, primarily shoveling ash off roofs, because the weight was enough to cause some real concerns. Others, seemingly indifferent to the effects of mixing ash and engine, were out driving, and their cars would send up clouds of acrid dust. Some of our more enterprising neighbors built a speed bump of ash mixed with water, which worked pretty good, until the street crews knocked it down.

For the next three months we cleaned up ash. In the beginning we wore a lot of masks, and some folks took off for ashless climes. Silly, really, because bad stuff happens everywhere. If you’re going to leave a place, you leave it before the bad stuff happens. Otherwise, you’re just moving from bad stuff to bad stuff, like a ball in a pinball machine.

My Dad used some of the ash from around our place to mix into cement for a new sidewalk. Other people created souvenir statues from the ash. I bought a t-shirt that said something about the mountain and Yakima, but I can’t remember the words now. Probably something that seemed clever then, but would be stupid, now.

A day by day account at the Yakima Herald Republic.

The Boston.com Mount St.Helen’s photo essay.

Categories
Just Shelley

Car advice

OK, time to ask the auto gurus among you for some help.

My car has had a relay clicking sound in the dash for some time (driver’s side, left of steering column, bottom part of dash). It occurs erratically, though lately it’s become much more frequent. The sound only occurs when I’m driving, and seems to be related to the position of the RPM indicator. I swear it occurs more frequently when the weather is warmer, too, but that could be my imagination.

In the last week, I’ve had my dashboard instruments (tachometer, speedometer, and fuel indicator) peg out a couple of times, and go zero once, but they always return to normal. The battery light sometimes comes on when the problem happens, but turns off almost immediately.

The car runs fine, and the battery and alternator are both new. The repair shop couldn’t see any short when the car was in for some fairly major work a few weeks ago, but I’m not sure how good this shop is when it comes to wiring problems.

I should probably take it into a Ford dealer, but I just spent a massive amount of money on it a couple of weeks ago. I really hope to have a good idea of what’s happened before I take it into the repair shop again, because it seems that every time I take the car in for a fix, something gets fixed, but this problem isn’t it.

The car is a 2002 Ford Focus, with 80,000 miles on it.

If anyone has any suggestions, please send me an email, or maybe tweet something. I’m really afraid to take the car out on the open road, but I just don’t have money to keep taking it into the repair shop.

Categories
Burningbird Just Shelley

Misfeed

Just realized that my redirected feed was no longer being redirected. Though I haven’t been writing much, I have been writing at some of my sites. I’m also redesigning again, based on the work I’m doing creating an ePub theme and application for Drupal. Needless to say, the design is clean. Very, very clean. One could even go so far as to say stark.

I have linked all my writings in this space, except for my more personal site, Just Shelley. I haven’t written at that site since Just a Cat. When I do, I’ll link the stories here, too. I promise: no more sending you all over hell and gone trying to find what I’m doing.

Haven’t been taking many photos, either. What pictures I have taken I’ve uploaded to my newly renamed MyGreen site (formerly MissouriGreen). Some new Spring flowers, new orchid shots, but nothing that makes me want to go, “Hey, look at this!” Photographically, I’m in a rut.

It’s been a quiet winter, focused on the new book and my work with the HTML5 working group. Now that I’m done with both, I hope to be a little more active here.

Categories
SVG Technology Writing

Snowing

I’ve not been the best at keeping up with my writing at my various sites. I have been writing, though.

I have a two-part article up at A List Apart: Using SVG for Flexible, Scalable, and Fun Backgrounds, Part 1 and Part 2. Though Microsoft still hasn’t implemented SVG in IE, with the company’s new membership in the SVG Working Group, there’s new hope for the future. And I cover how to use a JavaScript library, SVGWeb, to work around the lack.

I’m also finishing a new book for O’Reilly: the JavaScript Cookbook. It promises to be a big book, which isn’t surprising, considering how much JavaScript has advanced. I’m also incorporating the relevant bits from the HTML5 specification, though I have to be careful, as we don’t know which bits will remain, and which removed before Last Call.

Speaking of which, I’ve been spending an inordinate amount of time with the HTML WG. I have about a dozen Change Proposals coming up in March, which I’ll write about here, when finished. Among them is one to remove one of the more recent additions, the iframe srcdoc attribute. This example for this new attribute is the following, for weblog comments (the use case for the new attribute):

<article>
 <h1>I got my own magazine!</h1>
 <p>After much effort, I've finally found a publisher, and so now I
 have my own magazine! Isn't that awesome?! The first issue will come
 out in September, and we have articles about getting food, and about
 getting in boxes, it's going to be great!</p>
 <footer>
  <p>Written by <a href="/users/cap">cap</a>.
  <time pubdate>2009-08-21T23:32Z</time></p>
 </footer>
 <article>
  <footer> At <time pubdate>2009-08-21T23:35Z</time>, <a href="/users/ch">ch</a> writes: </footer>
  <iframe seamless sandbox="allow-same-origin" srcdoc="<p>did you get a cover picture yet?"></iframe>
 </article>
 <article>
  <footer> At <time pubdate>2009-08-21T23:44Z</time>, <a href="/users/cap">cap</a> writes: </footer>
  <iframe seamless sandbox="allow-same-origin" srcdoc="<p>Yeah, you can see it <a href=&quot;/gallery/cover/1&quot;>in my gallery</a>."></iframe>
 </article>
 <article>
  <footer> At <time pubdate>2009-08-21T23:58Z</time>, <a href="/users/ch">ch</a> writes: </footer>
  <iframe seamless sandbox="allow-same-origin" srcdoc="<p>hey that's earl's table.
<p>you should get earl&amp;amp;me on the next cover."></iframe>
 </article>

Just in case you’re curious, no, I’m not particularly fond of weblog comments as escaped HTML within an attribute on an iFrame.

I’ve also been playing with the new Drupal 7 alpha in my copious spare time. I won’t be moving my sites over to Drupal 7 until a stable release, but I do have a “play” site. I like the new release, though I wasn’t terribly fond of the admin overlay. However, the new admin overlay can be turned off. In addition, I re-posted all of the pages, and comments, from my older WordPress weblog. It takes up little room, and ensures I can find, and link, some of my older work. Plus, folks can find their comments. I was impressed with the fact that WordPress was able to upgrade my old site, without a hitch.

So much to write, so little time. Today, though, it’s snowing, and I haven’t had a walk outside since the weekend. Enjoy the articles at A List Apart, and more writing here, soon.