I have several portable devices I want to copy files to periodically – usually before a trip. I have a mobile phone, a Kindle, and a couple of USB thumb drives I use for computer repairs.

I keep some data files on all of them – phone numbers and things like that. On the thumb drives, I have about 4 GB of utility programs and boot images.

It has always been a big chore to keep these in synch.  Most of the time they were all out of synch. Invariably I would have to update them before each use. And that kind of defeats their usefulness.

Yesterday I started thinking about writing a program to manage all of that. I wanted to update each thumb drive each time it was plugged into my desktop. But I did not want to use auto-run scripts. Auto-run is a common source of computer viruses. I always disable auto-run on Windows computers.

I knew that Windows stores ID’s on each USB device that connects to it. So I figured there had to be a way to hook into that. I could not find anything built into Windows that served my needs. But I came across a shareware program that is awesome.

It is called USBDLM. USBDLM runs as a Windows service (32-bit or 64-bit) and handles all kinds of things automatically each time you plug in a USB device. It manages drive letter assignments, caching configuration, popup bubble text, and most important — runs a program of your choice. All of this is under your control through an INI file.

Now I have Command Scripts run for specific devices each time they plug in. The scripts use XCOPY or Microsoft’s SynchToy to automatically update the data stored on the device.

Here is a little snippet from my USBDLM.INI file:

   [OnArrival1]
   deviceid1=USBSTOR\DISK&VEN_KINDLE&MYOB
   open=c:\temp\syncKindle.cmd %DriveLetter%

This runs the batch file, syncKindle.cmd each time my kindle is plugged into a USB port. If a different Kindle is plugged in, nothing will happen.

USBDLM is perfect. It is free for private use. Commercial use requires a license for $13.50.

It was written by a guy named Uwe Sieber. Give him some money. He has done a great job on USBDLM.

“All the Devils Are Here,” by Bethany McLean and Joe Nocera is full of interesting information about the financial crisis of 2008. The book presents the information somewhat scientifically, although they clearly hold a position on the guilt or innocence of the participants. That, and the scarcity of hard data available on the subject, gives the book a bit of a gossip column tone. Even so, it makes a fascinating read.

I am writing this only to clarify my own thoughts on the subject. If you are interested, this might make a good synopsis, but there are better sources on this subject elsewhere – starting with the book itself.

In the fall of 2008 I was working out of the country on a business trip. My customer asked me what I thought about the US bailout of the financial markets. Ideologically, I was strongly against it. But I told him I didn’t know enough to have a strong opinion. It seemed necessary at the time. Having read this book, I still believe that, but I wish it had been done a little differently.

For years prior to 2008 (can’t remember how long — 3 or 4 years), I had been convinced the housing market would see a correction. The stories of bay area dual-income professional couples having to take balloon loans on houses got me started.

It was common to hear people say that real estate would always go up. But how could it – especially if nobody could buy their first house? I soon learned that 40 to 60% of Northern California mortgages were balloon loans or negative amortizations!

At the time, I could not believe that anyone would issue these loans. In shopping for my own house in 1998, my wife and I were encouraged to exaggerate and even be deceptive on one mortgage application that turned out to be a bit of a stretch (we found a different house and a different mortgage broker). So I knew the brokers were not all straight shooters. But I assumed the people doling out the cash were prudent and cautious.

At first, I believed this was a regional problem – in California and Nevada. But the willingness of lenders to play crazy games with loans gave me pause. I soon learned enough to become convinced this was nationwide.

Facts

A few facts can be stated about the cause:

  1. If the individuals who borrowed more money than they could ever have paid on mortgages had had more character, this could never have happened. The book is full of stories of 500K mortgages granted to people with no income at all. Surely most of them understood what they were doing.
  2. If the Glass-Steagal Act had not been repealed in 1980, this could not have happened. The repeal allowed banks, investment banks, traders, and insurance companies to mix their businesses in a way that became unregulatable (sic?).  If the retail banks had not been at risk, a bailout could probably have been avoided.
  3. If the ratings agencies (Moody’s, Standard & Poor’s, and Fitch) had not lied with their ratings, this could never have happened. Packaged securities based on mortgages like the one above were treated as if they carried no risk of default. All of the major players were surprised when their AAA-rated debt packages began to show high rates of default.
  4. If the U.S. government had not taken action, we would now be in a severe situation on a par with the Great Depression.
  5. The financial markets became complex with new products so fast, that the big financial companies lost track of their risk.
  6. A large part of the massive bad debt that precipitated all of this is now on the books of the US government. We will pay for this for generations.
  7. The price of a house today – even after the big correction — is artificially high. If you are buying a new house, you are paying a higher price because your government is financing the buyers and discounting the interest (through tax deductions).  This was completely overlooked in the book and continues to be overlooked in the press. 

    Without those influences, I wonder what a new house would cost today? Certainly a lot less. We would not have to live our lives in debt in order to own a house. It strikes me as a mild kind of indentured servitude.

Home Ownership & Free Markets

Why did all of this come about? The ideals involved were the belief that free market self-interest would protect against this and the goal of increasing home ownership in the US.

It was believed that the players in a free market would not buy loan packages that contained bad loans. They would not over-extend themselves without the proper hedges against risk. This failed primarily because the ratings agencies lost all scruples – gradually, but truly they did. Personally, I will never again regard a rating from such an agency as anything but nonsense. I am still a free market believer, but this story gives me pause.

A high rate of home ownership has long been advocated as a good thing for the US. I remember an advocate for the poor ranting on NPR in 2006 that lower income people were locked out of home ownership. Her arguments completely ignored the debt that those people would have to carry. No doubt many of the sub-prime sharks were licking their chops when she got on the air. In any case, she got her way. 

That was the drum beat in Washington any time someone questioned the validity of Fannie Mae – a corporation tacitly guaranteed by the US government. Similar arguments were trotted out any time someone wanted to regulate sub-prime loans.

Note to self: When opposing idealists agree on something, look out!

Anyway, both types of idealists were wrong. Home ownership had grown only 1.5% from 2000 to 2008. Most of the financing went into refi’s for cash or real estate speculation. And we have all seen what happened with the free financial market.

The complexity of these markets grew from the idea that one could insure against the risk exposure in mortgage-backed securities.  If you were a big bank and wanted to package a bunch of securities to sell to others, you would end up with some of the worst quality debt left unsold – and on your books. To hedge against that, they would buy insurance against the debt going bad. AIG was the big player in that arena.

When the shit hit the fan, they all realized that the value of derivatives depends on market confidence as much as the value of the loans on which they were based — even more, in fact.

Worse than that, some such insurance was not based on anything real – it just referenced real packages of mortgages like an index. So a single loan default could result in losses that were 15 times the value of the loan – very much like a house of cards.

Sleaze-Balls

The stories in this book about the sub-prime loan originators are disgusting. Ultimately, I believe it should be, “Buyer Beware.” Never-the-less, the behavior of companies like Ameriquest (and most other companies owned by Roland Arnall), New Century, and even Countrywide was despicable.

Applicants were routinely encouraged to lie. Appraisers were literally bribed into over-pricing houses by double (or more ?). And the loan originators did all of this in order to charge outrageous fees – as high as 20% of the loan value. The loans were usually short term balloon loans – some with negative amortization. A lot of hapless borrowers were taken to the cleaners.

How could they get away with it? Apparently, the subprime mortgage companies had the blind trust of the applicants – who, for their own part, were taking cash out of the house they owned. Was it blind trust or tacit conspiracy? It would be interesting to hear hard-ball interviews with some of those individuals.

At the same time, the sub-prime guys had the big financial companies begging them to bring in more loans. Big financial companies like Merrill Lynch, Salomon Bros., et. al. were making a fortune off of the mortgage backed securities – especially those based on sub-prime loans. Packaging mortgages into securities had made them rich. And they had to keep growing. So any loans could be sold to them.

My Conclusion

I used to trust bankers to act prudently, investment companies to have some scruples about what they sold, and – most of all – ratings companies to have standards.

I no longer do. In the end, my take is that a fool and his money are easily parted. Any one of those guys could easily be a con artist. I got lucky on this one – no huge losses thanks to a broker who put me in something safe. I will remember this history the next time I have investment decisions to make. Buyer beware!

This is an open letter to New York City from the rest of North America.

We heard you had a terrible snow storm. Sounds like it was kind of rough! It was such a big storm you were not equipped to handle it.

We’re sorry. We know what that’s like. We’ll send you some canned food.

One little thing, though. In the nicest possible way … um … we really don’t want to hear about it anymore.

Yes, we understand it is your way to find fault after every calamity. That’s the way you are. (In fact, we were secretly hoping you would use the new Yankee stadium for public floggings. You have lots of public officials. And you seem to like roasting them, at least figuratively. So, why not take it to the next level?)

Don’t get us wrong — we like you. You are one of our “interesting” friends. But these kinds of things can become a little embarrassing for your neighbors. Better to take them off of our web sites and televisions. The storm aftermath is not national news. And it’s over now.

BTW — You might want to spend more of your energy behind a shovel and less on yelling at each other over the weather. That’s just a friendly suggestion. But it’s really none of our business. Knock yourselves out.

– Your kind-of-boring friend,
    The Rest of North America

A few weeks ago I did an update to the main server. I log all of my builds here in case someone is searching the net for problems that I encountered. So here are my notes.

I added a video card to my server so we could connect it to the TV. I got an XFX 5770 ATI card. It plays video at 1080p just great. I installed Boxee and we’re now playing music and movies and internet shows from my server any time we want. The shows on Revision3 and TWIT look incredible on my big screen!

It turns out that video cards with HDMI ports also have audio capability. They supply both the video and audio hardware. The weird thing is that the vendors don’t mention this in the specs. You’re just supposed to know. It wasn’t obvious too me so I am noting it here. I am not an audiophile. So I cannot provide useful comments on the quality of the sound – just that it sounds good to me.

I installed Boxee because Windows Media Center is just no good. I have tried using Media Center a number of different ways but it is unable too playback video reliably. Also the menus are far to complex for most people. Boxee is better. I will try some others as well.

This server solves my media serving needs for now. My TV has built-in internet capability but it is hard to use and it does not connect to my server for movie playback. The connection can be made, but keeps dropping. This is the same behavior I got from the WDTV device I tried last fall.

I have no problems playing video or music on PC’s. To diagnose the problems, I cabled the TV (and the WDTV) directly to my switch to make sure it wasn’t wiring. It wasn’t. I wonder if all of these use the same tcp/ip firmware or hardware. The problem is either that, or my network is faulty. I don’t think it’s my network.

I might look at Google TV when it is released. The demos are very impressive. But I will check on the networking hardware and compare it to WDTV before I buy.

image

If you can stand the sad tone, I wrote Curly’s life story. I had to do something.

Jim, Joe, and I went back to Mammoth for the Fourth of July. I skied only the one day. But Jim skied for three days and Joe got two to make his 90-day season!

It was a pretty good spring skiing day, if a little crowded at a few choke points. Mammoth probably had 2,000 skiers that day. We started at 8:00 AM and were able to ski until noon.

The snow was very slushy at the bottom so we stayed on Chair Three and the upper gondola all day. Climax bowl was excellent in the early hours.

Click the photo for high-res version.

My nephew, Ben is home on leave after a tour in Afghanistan. My brother and sister-in-law threw a welcome home party. Here is a picture of the guys just after a toast to Ben’s 21st birthday. I don’t remember why we’re pointing at Tom.

Tom(realistic)2

We did it again. We did another one-day run to Mammoth yesterday. It was my fourth day there this spring. The snow is still good. We skied until about 1:00. We’re going back on July 4. Joe needs two more days to hit 90 for the year. And Joe’s days are “days” – he doesn’t believe in my one-run-at-lunch-counts-as-one-day rule.

I took a video with my phone on Mambo at about 12:30:

I updated my Windows utility, DJKeepAlive. The purpose of this program is to simulate keystrokes to the operating system to prevent it from starting the screen saver. This is necessary on some systems where the system policies prevent users from turning off the screen saver. It is useful when you are doing presentations.

The new version behaves differently when it is launched multiple times. It now adds additional time to the total run duration for the program. The updated time is shown in a balloon on the system tray icon.

image

If you hover the mouse pointer over the task bar icon, a tooltip appears showing the time at which the program will stop. After that time, the screensaver will activate as usual.

You can get it here:

   http://danjeffrey.com/files/DJKeepAlive.exe

It is a single executable. There is no installation program. Just save it to disk and run it.

I updated my screen pixel measuring utility, DJRuler, to make the ruler resizable. It now has an area on the end that users can grab and drag to resize the ruler.

Screen position and size are saved for each user between sessions. Position is limited to screen extent (multi-monitor setups are accommodated).

image

The newest version is 3.1. You can get it here:

   http://danjeffrey.com/files/DJRuler/publish.htm

To-Do: I want to re-write this in WPF to improve the graphics. The 3D shading is a little pixilated in the existing Windows Forms app.