Wednesday, December 26, 2007

Earmarks

Aviation Week reports that the 3400 page omnibus appropriations bill has enough earmarks to choke a pig.

Troublesome Young Men by Lynne Olson

An account of how the British dumped Neville Chamberlain and called upon Winston Churchill to fight WWII. A crucial turning point in history. Chamberlain represented a sizable group in the British establishment who were as anti war as the America Firster's over here. These people were sympathetic to the Nazis, closet anti-semitics, and upholders of class privileges. Their war policy was that of a turtle, keep your head down, wait for it to blow over. Had this happened, history would be all different.
Hitler came very close to winning WWII. Had Britain withdrawn from the war in 1940, it would have freed up a lot of German military power which would have been added to the assault on Russia in June 1941. That offensive reached the outskirts of Moscow. Just a tiny bit more fighting power and Guderian's panzers would have taken the Soviet capital. It is unlikely that the Soviets would have survived that blow, leaving Hitler master of Europe all the way to the Urals. Following the Pearl Harbor attack, the Americans would have turned all their force upon Japan. Why intervene in Europe when the British had given up?
After smashing Japan, the United States would have then used nuclear weapons to deal with any back talk from the 3rd Reich.

Monday, December 24, 2007

Chevy Volt

Long story about Volt development. Has lots of interesting things but says nothing about the battery. Chevy is hoping for "triple digit" fuel mileage. Battery mileage is more of interest. Car batteries here and now last 4 winters and then need replacement for 50 bucks. Lithium ion laptop battery life is not well established, but they cost 50 bucks to replace. If a laptop lithium battery costs that much, how much does a car sized lithium battery cost? And how long will it last?
And what about the fire hazard? There is some neat video floating around of a lithium battery laptop bursting into flames on a conference room table. What's that chances of a Chevy Volt doing the same? Especially after hitting a pothole at speed?
Electric cars aren't difficult to make, it's just they are low performance. Golf cart is about the best anyone has managed so far. Better batteries are needed to exceed the golf cart level of performance. Without better batteries, for get it.
Question, are the better lithium batteries going to be available?

Sunday, December 23, 2007

The many panes of Windows, Pt 4, The Registry

In the beginning was a frill. Windows 95 "enriched the user interface" by permitting every file to display a custom file icon, something that Windows 3.1 did not support. For Explorer to paint the file icons, it needs to find each icon on disk, and suck it up to the screen. It was decided to create a fast, ram resident database to hold all the needed file pointers. Such a data base, dubbed "the registry" was troublesome to create, so it was generalized to support any program's need to remember things while running. For instance, Windows programs want to remember the size and position of their window (full screen or something less), what files they had open, and what options the users had set, and where the home directory was. Provisions were made to hold patches to the code, and user authorizations, and to start programs.
The major attraction of using the registry is copy protection. The application's install program writes the needed keys into the registry. The program checks for the presence of these keys in the registry as evidence that the program hasn't been pirated. You cannot get MS Office to run on another machine by the simple trick of copying all the MS Office files to the other computer.
The copied program will note the absence of registry keys and refuse to run. Writing the needed keys into the registry by hand is theoretically possible, but in practice it is just too hard. Presto, instant copy protect for programs. The utility of this copy protection became obvious to every programmer and every Windows application uses it now.
Downside. Every program or virus running on the machine can change the registry, and the changes stick, making the damage permanent. The registry is very powerful, it can run anything on the hard drive, alter the code in any program, and change many important windows defaults, such as the default web site web browsers visit upon startup. Coding errors in ordinary applications can do things to the registry that break windows, windows applications , drivers and hardware. The S32EVNT1.dll bug was caused by a faulty registry key. The opportunities for malware to damage the system thru registry modifications are enormous. The registry is one humungous security hole waiting for a place to bite.
And we are stuck with it forever. Changing the powers of the registry would break many programs. For good commercial reasons Microsoft works hard to make each new version of windows run last year's programs, so the registry security hole is with us forever.

Christmas Pageant, mission accomplished

It took three weeks of rehearsals, two dozen costumes, but it worked. We had every small child in the church (and a few who aren't members yet) . Numbers of children kept growing at each rehearsal. The whole thing came together this morning, the parents and the congregation were charmed, the church was full and everyone had a good time. Plenty of non speaking parts (sheep, shepherds and angels) for the preschool set, a fine solo of Silent Night from a teenager.

Saturday, December 22, 2007

Lead in Toys causes Chinese factory manager suicide

It is not known how dangerous lead containing toys are to US children, but they can be fatal to Chinese workers. The factory involved in the first Mattel recalls, Foshan Lee Der Toy Co. has shut down entirely. The plant office is secured with a yellow bicycle lock. Boxes of Fisher Price toys for toddlers can be seen stacked in the warehouse. The factory's owner committed suicide after the recall. The company laid off their workers, the concrete company dormitory stands empty.

Fixing broken Windows

Daughter's brand new HP XP laptop started acting up after three days. HP XP means HP's brand name on the laptop with factory installed XP rather than Vista. A clueful software whine (C:/blahblah/yaddayadda/symantec/S32EVNT1.dll has failed to initialize) started to appear when ever Fprot antivirus, Civilization, or Simcity was launched. Since daughter and laptop are scheduled to depart for Krygystan in a week (Peace Corps) I decided to see what was what.
Googling for "Symantec" and "S32ENVT1.dll" and "failure" brought up a world of hits. Apparently this problem is widespread. After reading a bunch of hits, the story begins to unfold.
Laptop had come from the factory with a "free trial version" of Norton Anti virus. Due to a bad rep, extreme sluggishness and irritating cost we had uninstalled Norton and put in AVG.
Turns out that Norton Antivirus doesn't uninstall properly. It leaves some trash in the registry that causes the S32EVNT1.dll error. Going to this helpful website: http://www.majorgeeks.com/Norton_Removal_Tool_SymNRT_d4749.html
guided us to a special Symantec written cleaner-upper program that swept the trash from the registry and all Symantec software right off the computer. It then plead for us to re install Symantec products but we didn't fall for that pitch.
Laptop now works perfectly.
Why do I have to troubleshoot brand new Windows XP systems? Why is Windows so damn tender that it needs antivirus kludges to exist, and is so additionally tender that said anti virus kludge breaks Windows?