May 08

JavaScript Ruminations

I have used JavaScript of and on for many years but in the last three years I have used it seri­ous­ly for build­ing a large client-​side web appli­ca­tion. During that time I have push many of the bound­aries of JavaScript and uncov­ered some fun­da­men­tal issues with the lan­guage.

One of the most com­mon com­plaints about JavaScript is that its object sys­tem is bro­ken. This is almost always becuase of a mis­un­der­stand­ing of what the lan­guage is. JavaScript is not an object-​oriented lan­guage, it is a pro­to­type lan­guage. What does this mean? It means that I can change the “object hier­ar­chy” of an exist­ing object at run­time by chang­ing the objec­t’s pro­to­type. This is by design and isn’t one of the real problems–it just requires a dif­fer­ent way of think­ing.

Continue read­ing

May 07

New Job

I guess that I’m now start­ing up this blog again I should state that I have a new job since the last time.

Because of the volatil­i­ty of the tech indus­try my pri­or com­pa­ny, RockYou let go about half of their staff and being one of the last ones hired I end­ed up being one of the ones laid off. I end­ed up with my new com­pa­ny VMware short­ly after. I’ve been here for a lit­tle over three years work­ing in the Cloud Automation Engineering group.

The spe­cif­ic group that I work for works on a prod­uct that basi­cal­ly installs appli­ca­tions into a cloud. Seems sim­ple but when you con­sid­er that most cloud appli­ca­tions are run­ning mul­ti­ple parts in mul­ti­ple vir­tu­al machines and that each one needs to be con­nect­ed to the oth­ers, instal­la­tion quick­ly gets com­pli­cat­ed. It may require installing one part up to a cer­tain point to get its con­nec­tion infor­ma­tion, paus­ing it, installing anoth­er part giv­ing it the con­nec­tion infor­ma­tion of the fist part, and then resum­ing the first part again with more infor­ma­tion. Multiply that sce­nario by 10 dif­fer­ent parts and things get tricky fast. But if it were easy then I would­n’t have a job. 😉

The prod­uct is vCloud Automation Center or vCAC.

May 05

Back Again

A while back my blog died. I had no idea what went wrong and I had no wish to spend what would most like­ly be days of time fig­ur­ing it out. Instead, I just let it lan­guish. Over the years I tried half-​heartedly to fix it but to no avail.

Things in my life have changed and I thought that I would at least try to extract the old posts and maybe move to anoth­er sys­tem. So I start­ed the long process of get­ting into the data­base that holds the blog and after reset­ting sev­er­al pass­words and installing a new SSL cer­tifi­cate man­aged to get into the data­base. I found the right table and man­aged to extract the post data into an XML file. Now that I had the old posts I could start to cre­ate a new blog.

However, while I was there I fig­ured I would try one more time to fix the exist­ing one. I start­ed by try­ing to update WordPress but that failed because of a pass­word prob­lem. I fig­ured out how to get past that one and was able to upgrade to ver­sion 3.9 and then sud­den­ly every­thing start­ed work­ing again. I still have no idea what went wrong or what upgrad­ing did to fix it but at least I don’t have to start over.

Everything appears to be back the way it was and I was even able to acti­vate some of the new­er fea­tures that WordPress has added. The look-​and-​feel of the pages may change over the next cou­ple of weeks as I adjust those new fea­tures and even play with a new theme (the one I’m using was called Classic sev­er­al years ago).

At this point I do not real­ly no where I’m going to go with this blog and I may give it up again–we’ll just have to see.