Monday, December 19, 2011

Writing a book....

When I tell people I'm writing a book, I'm often asked how I like it. The process is long and can be frustrating, but it can be exciting too. I'm writing a new book now, on Oracle GoldenGate. I'm somewhat new to Oracle GoldenGate, but I've collected a number of contributors and I have also brought on a great technical editor to work with me. In the end, I know this is going to be an awesome book!

I thought I'd blog a little bit along the way as I write the book. I'll also blog about some things related to GoldenGate as I come across them. I'll share my writing moments, and the things I learn and experience along the way.

Before you start writing a book, there are a few hoops you have to go through. First, you put together the proposal for the book. The proposal tells the publisher about the book, who the audience it, why the book will sell, how big the book will be and so on. Along with the proposal, you also submit an outline that includes a table of contents, title and length of each chapter, and so on. The publisher takes all of this information, does a quick calculation to determine if they think they can make any money on the book and then decide if they will publish. This process may take 2-3 weeks if  your an established author, with a book idea that clearly makes sense. If you are a new author or the book idea is not as straight forward then the process may take longer as the publishing world wants to make sure they are not going to loose money on the deal.

Having agreed to the basic terms of the book, the publisher will then have you sign a contract for delivery of the book. Typically this outlines how many pages and general content that will be in the book. It also will outline payment of advances and royalties that you can expect to be paid on your book. Once you sign the contract, you are on the writing trail.

I strongly advise prospective authors not to start writing until you have a contract unless your plan is to self-publish if you can't get someone to do it for you. I've seen what seemed like certain deals fall through at the last minute, and I've seen other authors start writing and then regret it because the deal fell through. So, if your going to write, make sure you have the contract signed.

When you start writing, the publisher is going to want you to write to a specific template/format. Generally they will send you a Word template (or whatever editor they want you to use) that will have specific formats for various parts of your book. With Oracle Press, I have a MS Word template they sent me. I simply plug it into my Word document and I'm off to the races.

I've written a couple of chapters in the book so far. As I said, GoldenGate is a fairly new product for me, but I actually think that makes my writing better. First, as I write the chapters, I see this material from the point of view of my reader, typically someone who is new to the product. I think this helps me write content that helps the new person, and I also think that it helps me see the pitfalls that might beset them.

For example.... when you are using GoldenGate, you need to enable what Oracle calls supplemental logging. Supplemental logging causes Oracle to record additional information about a transaction in the redo stream. GoldenGate needs this additional information to properly replicate data changes over to target databases. Now, to enable supplemental logging you can use the GoldenGate interface called GGSCI, log into the database and then use the command add trandata to enable supplemental logging for a specific table or set of tables. If you look in the documentation it seems as easy as doing that once everything is setup. However, there is a bit of a gottya it seems in that the documentation (in as far as I've been able to find) is missing one bit of crucial information. This has to do with permissions. It does not seem to note anywhere that the GoldenGate administrator account that you log into needs to have the alter table privilege.

Oh, maybe it's hidden in there somewhere and I have not found it yet, but that is just my point. I had a hard time finding it. Now, if I was an old GoldenGate expert, like my technical editor is, then I might have missed that subtle point. Because I'm somewhat new to it, I catch things like this and actually put them in the book... as notes or as a part of the overall text, they are in there. I think that is part of what makes my books good (I say this with all humility). 

I also realize that by being new, I do miss out on some points-of-view that someone with more experience in the product might have. I try to deal with this in several ways. First, like I said, I have an awesome technical editor. He and I work hand in hand during the process, and truthfully, I use him more that most people use their technical editors. He catches things I might have missed, things I might have mis-understood and is there to help me with answers to questions. 

I also bring on experts as contributing authors. I really do like to share in the success of a book and give others opportunities to be a part of the process. Writing a technical book will not make you rich, but it does give you credentials in the professional world. It looks good on a resume and can certainly help your career.  As a leader and mentor, I like the people who work for me, or with me, to come with me on writing adventures so they can benefit from the experience. I also like having people I know on projects, because I know who they are and their work ethic. I also will bring on an expert or two, as a contributing author, for more advanced chapters either as the sole author of those chapters or as a major contributing author to those chapters. This way, the advanced chapters get the instant experience of someone who has a few hours of experience with the product and some time in the trenches.

In the end, this approach to book writing seems to work really well. I hope it will work as well with the GoldenGate book.

Next time I'll blog more about the writing process and the editing process. Sometimes the editing process is the hardest part of writing....

Yes... I have something nice to say about the TSA - Trusted Traveler

So, I live in the Las Vegas area. I travel allot too. I've complained a lot about the TSA here and privately because government bureaucracy, inefficiency and (how shall I say it nicely) some of the people involved in the government who are less than helpful, drive me crazy. I want things to be common sense. I want people to follow their own rules and respect people. More often than not the folks at TSA are quite nice and semi-efficient, but I've seen and blogged about cases where they acted in a manner less than professional in my opinion. Also, I hate it when someones web site stated policies do not match those actually enforced on the ground, and I've seen that with TSA in spades.

But now, for this moment, I'm going to give the TSA and Delta Airlines kudo's for the "Trusted Traveler" program. You can find information on the trusted traveler program here. The experience was great... no taking off shoes, no taking out laptops, no removing liquids for screening... I just put my bags on the belt, took my wallet and phone out of my pockets and walked through the metal detector. That was it. The line was short (mostly because the screening is for Delta frequent fliers and you have to sign-up for it (I seem to recall signing up for it a month or two ago). Also if you are signed up for CBP's trusted traveler program you can use the new line.

At any rate, it was a great experience. The lines at the Las Vegas airport are quite long, even the frequent flyer line.... anything that can shave time off there is well worth it. This time I was through security in 5 minutes. Amazing!

Happy holidays all...

Wednesday, September 21, 2011

The jack booted thugs of TSA...

Today I was traveling from my new hometown, Las Vegas, to San Antonio.

Anyone that knows me understands that I find the TSA to be a bunch of clowns. There are a number of reasons for this, the least of which is that they just can't seem to be consistent, and they just can't seem to get things right.

First, I just renewed my license in the State of Utah. It expires on my birthday (the 30th of this month) and I was not sure I'd have time to get a new Nevada license before it expired. When you renew (or loose)  your license in Utah, you get a temporary paper license that is good for 6 months. They mail you the permanent license a month or two down the road.

About 6 months ago I lost my license and had a temporary paper license for almost 3 months before I got my good license. During that time, I traveled all over the place including really sensitive airports like Washington, D.C., Orlando and L.A. I used my paper license (which has my picture on it) at every TSA checkpoint without a problem.

Today, I walked up to the agent/officer/whatever who was checking drivers licenses with my temporary license in hand. The jack booted thug in uniform (sorry, it just irritates me) looks at my temporary license and says "Sir, I can't take this".

Mouth agape, I ask the obvious question, "Why not?"

"Because it's paper", she replied.

"Yes, but it's a government issued ID. It has my photo on it." I said.

"Sorry. Our SOP says it can't be paper.", she replies.

Now, what do the TSA guidelines say about ID requirements? This is the main tag line:

“Adult passengers (18 and over) are required to show a U.S. federal or state-issued photo ID in order to be allowed to go through the checkpoint and onto their flight.” (see http://www.tsa.gov/travelers/airtravel/acceptable_documents.shtm). Now, this web site goes on to list, as an acceptable form of ID the following:

* Drivers Licenses or other state photo identity cards issued by Department of Motor Vehicles (or equivalent)

So to me, this clearly implies that my temporary drivers license, with a photograph, is acceptable based on the requirements states on the web site.

I engaged the agent further and asked for a supervisor. To me, this is a major issue. First, it's clearly an inconsistency issue within the TSA. In my mind, they have gone loco, deciding to enforce one set of rules in one place and a second set of rules in a second place.

Second, what happens to the normal traveler who is carrying a temporary, state issued, drivers license and they don't have an alternate form of ID? The TSA web-site says:

"We understand passengers occasionally arrive at the airport without an ID, due to lost items or inadvertently leaving them at home. Not having an ID, does not necessarily mean a passenger won’t be allowed to fly. If passengers are willing to provide additional information, we have other means of substantiating someone’s identity, like using publicly available databases."

So it seems they will give us a hard time but if we can provide some other means of identification that they might, if they are feeling giving, let us get on our plane and fly. Of course, who knows what kinds of humiliation we will need to go through (pat downs, etc) in the process.

So the bottom line is that our friends at the TSA need to get their act together. They need to start doing their jobs and stop hassling the normal traveling public and concentrate on finding the bad guys. It's all a sham anyway. While I agree that the introduction of security measures such as metal detectors in the 70's went a long way to stop hijackings, I think it has done little to prevent terror except to terrorize and inconvenience the innocent citizen.
 
Subscribe in a reader