Categories
Writing

Curly brackets or braces

This one came up during the tech edit and now during the copy edit on my last book: the use of “curly bracket” as compared to “curly braces” or “brace”.

I have used the term “curly bracket” for decades, and have seen the term used in other programming contexts. Wikipedia, though not the definitive source of information on a topic, also seems to promote curly bracket over curly brace. In addition, Wikipedia and other sources also point out that the curly part of “curly braces” is redundant, because there are no other braces but curly ones.

So which is the proper term? When you see “curly bracket” do you itch to take editing pencil to “bracket”, to replace with “brace”? Are you confused when you see the word “brace” used in a programming context? Or paired with the “curly”?

Categories
JavaScript Political Writing

Finis

The draft for Learning JavaScript, second edition, has entered production, and that’s more or less it for my tech book writing career. I don’t want to say I’ll never write another tech book, because never is a long time. However, I have no intentions of writing another tech book in the foreseeable future.

I hope to revive my moribund tech contracting/consulting career, but first I need a break from spending so much time on the computer: walk in the woods; enjoy the fall color; watch the pretty birds; see if my legs still work. I have authored and co-authored 18 books in 12 years—a fact I’ve really felt it in the last few months. I’m tired.

Tired and stressed, with the latter primarily because of the US election. I don’t think I’ve ever been this stressed about an election. I’ve also never been more desperate for my candidate (Obama) to win. No, not even when Bush was running for the office in 2000 and 2004. Frankly— and I never thought the circumstances could ever get to the point where I would say this—I’d rather have another four years of Bush/Cheney, then have four years of McCain/Palin.

I don’t want to write too much about the election, specifically because of the stress. I also agree with Dave Rogers about Sarah Palin being used to draw attention away from Obama. Continuing to write about her only aids and abets her cause, as well as adds to my already overly uptight frame of mind.

I think what I’ll do is spend some time considering the election, take a deep breath, and write once more on the topic. In the meantime, I’ll post links to what others have written, as I struggle to re-establish an essential objectivity. After all, I want to live long enough to get that universal health insurance Obama will bring us.

Speaking of which, I have been getting into some debates, mainly about universal health care over at Blogher. It would be an understatement to say how disappointed I am in the so-called “libertarian” element in the US, right now.

Politics aside, my 18th book is on its way. Go book. Live long, and prosper.

Categories
Weather Writing

Storm surges

Luckily Gustav calmed down before landfall, because I don’t think the New Orleans levees would have held if the surge was 18 feet as originally predicted.

It’s important, now, for Nagin et al to let people back into the city as soon as possible. If the city management continues to keep the citizens out, but let the business owners in, the next time the city officials call for an evacuation, people are going to say, “No”. Frankly, I wouldn’t blame them.

Gustav is still not through giving, though. We in St. Louis are getting tropical depression warnings, as we expect the storm to drop 8 inches, or more, on us on Friday.

In the meantime…how about that Atlantic, eh? If McCain and Obama continue their practice to discontinue campaigning every time we get hit with a hurricane, this may be the quietest presidential race, ever.

But then there’s Sarah. I could wish that we would spend more time on issues important to women, than one specific woman and her family challenges. This election is too important to continue to get distracted by the Palin sideshow.


PS Can you tell I’m half way through my book edits, and feeling more than a wee bit irritable?

Categories
JavaScript Writing

Future proofing books

The downside of the recent flurry of activity regarding JavaScript/ECMAScript is that I’m in the middle of tech editing Learning JavaScript, second edition, and not sure what to include.

On the one hand, it’s extremely important to me that the book be accurate, so my inclination is not to including anything that isn’t implemented in all four of my target test browsers (IE8, Firefox 3.x, Safari 3.x, and Opera 9.x). However, we plan on the book having a two year shelf life, and the discussion around Harmony notes implementations of ES 3.1 as early as next spring.

It used to be, at one time, companies and organizations would work with tech book companies and authors in order to ensure the accurate representation of information. What’s happened, though, is that many of the people working these issues on the committees are now writing their own books, and don’t particularly care about the accurate dissemination of information in other books. This in addition to everyone and their brother (rarely sister) having their own weblog, wiki, email list, Twitter, ad nauseum and if books like mine have inaccurate information, they can just publish The Truth in their own spaces.

So, now I’m left with a decision: don’t include anything at all on ES 3.1, and face emails and book criticisms about why I didn’t include coverage of such and such; or try to decipher what will eventually be implemented from this new effort, and run the risk of the pundits carefully pointing out everything wrong with the book, and how can O’Reilly publish a book by an author who is too stupid to know what she’s talking about.

Categories
Books

Grumbles in Kindletown

I have written before about my satisfaction with my Kindle, and even hope to write a couple of book reviews on new discoveries. However, not all is well in Kindletown at the moment, and reason is prices for Kindle editions.

I’ve been wanting the second book in Mercedes Lackey’s Obsidian trilogy, but Amazon only offered the first and third books. A few days ago, I noticed that the second book, To Light a Candle was available…for $22.63, which was equivalent to about 300% the price of the paperback (currently at $7.99).

I was astonished and more than a little peeved at the price, and posted a note about it in the Kindle forums. Not long after my note, another reader noticed that another Tor book by Mercedes Lackey, The Phoenix Unchained was also set to a price more expensive than the paperback ($16.61 as compared to $7.99). What’s even more odd about The Phoenix Unchained, it was originally set to a discounted paperback price of $6.29, and the price only jumped in the last week or so.

Today, To Light a Candle was reduced to $7.19, which compared to $7.99 for the paperback was an acceptable value. However, The Phoenix Unchained is still set to $16.61, effectively 150% the cost of a paperback. Though incidental to this discussion on books prices, I also noticed that the third volume in the Obsidian trilogy has vanished from the Kindle lists, which is odd considering that it makes no sense to “sell out” a digital book.

What seems to be happening with The Phoenix Unchained is that the Kindle volume is being offered at a discounted value…discounted from the hard cover price, not the paperback. Not for all of the books, either, but enough to generate some concerns.

In addition, I noticed my own Painting the Web has a discount of about 9% for the Kindle version, which is different from O’Reilly’s 20% discount it offers for the eBook bundle at the O’Reilly site. However, my paper book is discounted by Amazon, while the Kindle book is given less of a discount, so again, we’re talking about difficult to understand variations in Kindle pricing.

Another reader mentioned wanting to read the Janis Ian Autobiography, but the Kindle price is $16.01, while the hard cover is $17.79. Both are discounted from the retail cost of the book, which is $26.95. However, what happens when the paperback of the book is offered? Will the Kindle then become discounted from the paperback cost? Or discounted from the original hard cover?

Chances are, the pricing issues we noticed with the Tor books are related to Amazon being a bit overwhelmed with trying to load books, and making mistakes in the pricing. I can’t see how a publisher would expect to charge more for a Kindle book than a paperback, though I’m not sure I should make this assumption. Without any understanding of how the pricing schemes work, with books appearing, disappearing, and then appearing again, as prices vary significantly between publishers, we readers have become the ebook version of a Wall Street trader: forced to continuously check book prices, and be ready to scream out “Buy!” when the books we want hit that sweet spot (as O’Reilly has defined it).

I never knew book buying could be such an adventure. Or so stressful.