Categories
Technology Writing

Hacking Computer Books

I’m in the middle of ‘proofs’ for Adding Ajax, which is never a terribly fun experience. You can only fix errors during proofs, because the layout of the book and the indexing can’t change. You don’t have time for anything major; to spend a lot of time rewording phrases you might not be as happy about. It’s also typically the time when a computer book author will see ‘content editing’, whereby someone in the publisher has ‘polished’ up the writing –a process that can leave you feeling disconcerted. Even a little down.

It’s discouraging, at times, being a computer book writer because we’re not really treated as ‘authors’. Someone like David Weinberger will take 2 years to write Everything is Miscellaneous, get a nice advance for doing so, have a rollout party, and then lots of people will write reviews. The publisher will send him around to places to talk to folks and typically pay the tab. The only time computer book authors get ‘sent’ to a place to talk is if we pick up the tab, and usually we have to have another reason for being at an event–such as doing a presentation, if we’re so lucky as to have our proposals accepted. Being an author is no guarantee of acceptance.

As for the tech community, I’ve had so many people ask me what open source projects I’ve been involved with. What have I done to give back to the community, I’m asked. I point to my books, many of which are on open source technologies. Writing isn’t the same, I’m told. The code we lay down in the book isn’t ‘really’ code, and therefore we don’t garner any ‘street cred’ for writing about technology–only creating something.

Ask all but the ‘star’ computer book authors, of which I am not one, and I bet they’ll all say the same thing: typically, we’re not taken seriously. One link to an application is worth more than five links to books written. But in the book community, we’re just ‘hack’ writers, writing to a formula.

Yet for all that we’re writing to a so-called formula, it’s an enormous amount of work to write a computer book. We not only have to write, we also have to create little mini-applications all throughout the book. We have to second guess what our readers are going to want to see; balance the use of word and code so that neither is too much; use the right amount of bullets and figures; and basically try to mix in enough of the human element to keep the writing active and entertaining, without compromising its quality. Our code must be error free and innovative. Once finished with the code, we’re faced with other problems related to syntax: would that be better as a colon? Comma? Period? Sentence too long? Sentence too short?

All of this gets packed into 3-5 months, depending on the size of the book. This for a book that is effectively double the size of David’s Everything is Miscellaneous.

People will say that David’s book is ‘different’. Somehow, his writing is more creative, his ideas broader, his reach further. More people will be impacted by his book. It is somehow grander in the scheme of things. This is highlighted at every facet at the book publication process, and when the computer book author rolls a book out–other than reviews at a few sites, a note at the publisher, and comments at Amazon–there is no major drum roll to announce the book. No rollout parties. No press. It’s just another computer book.

Then, from time to time, you get a note in your email. Someone will tell you how much your book helped them. These notes are our champagne bottles, our corks going off. I guess everything is relevant in addition to being miscellaneous.

Enough of such maundering. Back to the proofs.

Categories
JavaScript

Ajax is dead. Not it’s not.

I love how the marketing folks put a spin on things every time there’s an announcement from one of the Players. This time it’s Java’s turn for the RIA space with the introduction of JavaFX. Immediately people are talking about ‘Ajax killer’. It’s no more an Ajax killer than Flash was (actually, Ajax and Flash are quite compatible), or Silverlight.

This one cracked me up:

The advantage Java-connected scripting language has over others, such as Ruby, PHP or Python, is that Java programmers can easily transfer their skills and knowledge. Moving from Java to another language like JavaScript, which is often used for Ajax applications, “is like moving to another foreign land,” Monson-Haefel said.

I used to program in Java before Sun et al bloated it out of recognition. I had no problem working with JavaScript. I guess today’s crop of Java developers isn’t very versatile.

Sun has also said it will open source JavaFX. What does that mean? Microsoft and Adobe are also talking about ‘open sourcing’ select pieces of their infrastructures. Seems to me there’s as many variations of ‘open source’ in this market as there is ice cream flavors at Baskin’s & Robbins.

JavaFX does seem to have a head start into the mobile market, but it’s behind the other players, which are at least on the street. However, it also has a built-in audience, as there is a lot of Java developers. Of course, same could be said about Silverlight and Adobe’s Flex.

I’ve not found, though, that companies that use Java for their applications are the most forward looking and ‘on the edge’ development environments. In my opinion (note I said, ‘in my opinion’), Java is the most conservative web development environment. Web Sphere, nuff said.

One thing for sure: RIA is the hot market this year. Adjust your resumes accordingly.

Categories
Web

A succinct look at web generations

Web 0.0

brink

Web 1.0

blink

Web 2.0

link

Web 3.0

think

Categories
Internet

Amazon S3 pricing

Amazon just sent a letter detailing price changes for the S3 service. They’re as follows:

Current bandwidth price (through May 31, 2007)
$0.20 / GB – uploaded
$0.20 / GB – downloaded

New bandwidth price (effective June 1, 2007)
$0.10 per GB – all data uploaded

$0.18 per GB – first 10 TB / month data downloaded
$0.16 per GB – next 40 TB / month data downloaded
$0.13 per GB – data downloaded / month over 50 TB
Data transferred between Amazon S3 and Amazon EC2 will remain free of charge

New request-based price (effective June 1, 2007)
$0.01 per 1,000 PUT or LIST requests
$0.01 per 10,000 GET and all other requests*
* No charge for delete requests

Storage will continue to be charged at $0.15 / GB-month used.

The reason for the change is also given in the email:

There are two primary costs associated with uploading and downloading files: the cost of the bandwidth itself, and the fixed cost of processing a request. Consistent with our cost-following pricing philosophy, we determined that the best solution for our customers, overall, is to equitably charge for the resources being used – and therefore disaggregate request costs from bandwidth costs.

As regards to who is going to be impacted the most, sites which host against S3 that have a lot of RESTful activity are going to be seeing new charges, and it will be interesting to see what happens in this regard. This change also encourages such sites to look at using EC2 for their processing, as well as S3 for their storage.

I don’t have detailed information about how many PUT and LIST requests I chalk up a month, but this will most likely impact positively on me–I should be paying less, because most of my bandwidth costs are associated with serving up the images, an activity which doesn’t use a PUT or a LIST. Hard to say, though.

This is the risk you take when you use a centralized service: changes in terms of service. This is the main reason I avoid it–that and issues of reliability. Chances are, it’s still cheaper to host at S3 rather than locally, but we’ll see. Again, though, I’m small peanuts to the service.

Categories
Technology

MIX

It’s difficult to miss what’s happening with MIX, there’s so much discussion about the announcements and technologies released.

Danny Ayers was able to discuss what he was shown on his recent trip to Microsoft: Astoria, a RESTful interface to data services through the web. The data can be returned as XML, JSON, or a subset of RDF/XML, which is a little surprising. I’ve not had much chance to look around–I hit ADO.NET and bounced back. I’ll have more on this later.

The second one was all things Silverlight. You would think that Microsoft invented, well, Flash. Mary Jo Foley covered the new Silverlight Streaming and quotes Ray Ozzie saying it …will let you post your media to the Microsoft storage service in the cloud. Posting to Microsoft’s centralized server is not ‘posting to the cloud’, from a distributed point of view.

I was more interested in the new Dynamic Language Runtime (DLR) and the cross-platform CLR, but I’m still trying to find the real bits from the marketing. Sure a lot of marketing folks at MIX. Why in all that is holy, was Michael Arrington interviewing Ray Ozzie? You need to sell to the developers Microsoft–you don’t need VC money. Sucking up to the wrong crowd. Oh, there we go.

Between MS and Adobe, Rich Internet Application developers (that’s ‘Ajax’ for you not in the know, do try to keep up with the changing terminology, or be marked as passè) will be inundated with a barrage of new tools in the next year. Competition is good for the developers…as long as you can survive the corporate love.