Japan Relief Idea: Buy a folding saw

Walking around your yard and see a 3-4″ limb or entire tree trunk that needs to be cut through? The lightweight ARS Pruning Folding Turbocut Saw fits nicely in a coat pocket. It is infinitely superior to the Fiskars equivalent sold at Home Depot and not much more expensive. I own two already, so think that I will buy a slightly longer non-folder ARS saw: ARS Straight Blade Professional Arborist Saw. Also worth considering: ARS pruner.

[This is part of my personal scheme to help our Japanese brothers and sisters recover from the tsunami.]

Full post, including comments

Revitalizing the U.S. economy through government spending

As the U.S. economy’s growth continues to disappoint, various folks are calling for an increase in government spending. If U.S. businesses aren’t expanding then government should step in and do the spending and hiring itself. In the classical economic analysis of this process (see Keynesian economics) there is no adjustment made for the fact that government spending might not be as efficient as private business spending.

As the owner of a very small Boston-based helicopter charter company, I spent one morning this week with a very bright and experienced FAA safety inspector who drove out to my house in his government-issued car to inspect our records. This helicopter charter operator is licensed in the special “single pilot 135” category, which generally means that the owner is the pilot and nobody else can fly paying customers. The FAA inspector, however, was working from a checklist that applies to all 135 operators. We went through a bunch of questions relating to how familiar was I with the procedures for hiring additional pilots and making sure that I had checked with their previous employers to find out if they’d ever failed a drug test. The FAA inspector also looked at my monthly duty time records to make sure that I hadn’t flown more than 1400 hours in the preceding 12 months (FAR 135.67). No Boston helicopter charter company with a single helicopter has ever flown more than about 50 hours per year, but we went through page after page of reports showing either 0 hours flown or 0.5 hours flown. Finally, the FAA inspector looked at my random drug testing program to make sure that everything was in place. I’m subject to the same drug testing requirements as United Airlines. I am the drug testing coordinator for our company, so I am responsible for scheduling drug tests and surprising employees when it is their turn to be tested. As it happens, I’m also the only “safety-sensitive employee” subject to drug testing, so basically I’m responsible for periodically surprising myself with a random drug test. As a supervisor, I need to take training so that I can recognize when an employee is on drugs. But I’m also the only employee, so really this is training so that I can figure out if I myself am on drugs. As an employee, I need to take a second training course so that I learn about all of the ways that my employer might surprise me with a random drug test and find out about drug use. But I’m also the employer so really I’m learning about how I might trap myself.

Given the costs of this guy’s salary, pension, government-issued car, supervisor, and office space, I estimate that the records inspection cost the U.S. taxpayer $500. Just a handful of these inspections, therefore, would have paid for an online system that would eliminate the need for inspectors to drive around to folks’ hangars and houses.

Five minutes after the FAA inspector left, I received a phone call. “I’m from the FAA and we’d like to schedule an audit of your drug testing program.” I remarked that a fully qualified FAA inspector was barely out of the driveway and had just gone through every document that I had on the subject. “He was from the FSDO (Flight Standards District Office)? That’s a completely different department. We’re going to send two inspectors up from Atlanta next month.” Why two? “We always send them in pairs.” What did they want? “We’re going to fax you a detailed list of all of the information that we need and you should immediately contact your drug testing provider (Lexis/Nexis) to tell them that you’re being audited. There is a bunch of information that you can get only from them. As soon as you get the fax, you should re-fax it to Lexis/Nexis.” I said that I didn’t have a fax machine, so he promised to send the information via U.S. mail. It could not be emailed.

As we also deal with some separate FAA maintenance regulators, I think it is fairly likely that we will meet with more FAA employees this year than with paying charter customers (most of the business is sightseeing or flight instruction; those activities are regulated separately and by different FAA employees; we have a separate drug-testing program for the sightseeing operation).

The FAA performs a valuable service in conducting checkrides with charter pilots and looking at maintenance records, though what they do has considerable overlap with our insurance company, which employs its own check airmen. But the paperwork inspection and drug testing program audits (this is our second) are done at a cost that would bankrupt any private enterprise that was subject to competition. My interactions with other government agencies have been much more limited, but I don’t see why they would be different, on average, than the FAA. If so, government stimulus money is not a substitute for private spending because the government spends money in ways that no private business or individual would choose to spend money.

[Update: This posting read out loud in Congress by a U.S. Air Force veteran.]

Full post, including comments

Current book: Wealth, War, and Wisdom

I’ve started to read Wealth, War and Wisdom, a book that supposedly answers the question of what investments are best-suited to preserving value despite large-scale catastrophes. The author, Barton Biggs, is a former Morgan Stanley executive who now manages a $1 billion hedge fund. He’s also a World War II buff, apparently, and tries to correlate stock market performance with events that, in retrospect, were turning points in the war. Biggs claims that investors were much better at predicting the future of the war than were politicians, journalists, and military experts. So far it is not fully convincing but it is a unique look at World War II history in which battles are significant primarily for their effect on world markets!

Skimming ahead, I’m not sure how practical the book will prove to be as an investment guide. In Japan stocks and urban land proved to be good investments for investors who bought prior to the destruction of World War II. Farm land, on the other hand, did not do well. In France, by contrast, land and gold came through the war much better than stocks. In nearly every country afflicted by war, stocks outperformed bonds for the periods 1900-1949 and 1940-1949. One caveat that Biggs offers is that you can’t buy and hold individual stocks, since once-promising companies inevitably decay (computer nerds get branded as dullards by Biggs: “IBM and Intel were once great innovating companies, but now they are corporate research laboratories. Bill Gates was the innovator, not Microsoft”). How does Biggs, a professional money manager collecting fat fees, recommend to his readers that they maintain a diversified equities portfolio? Through low-cost index funds: “It pains me to write it, but professional investors don’t do much better [than individual investors picking stocks and underperforming the S&P] on a statistically significant, risk-adjusted basis.”

Biggs’s strongest recommendation is to avoid being Jewish, especially in Europe: “German Jews, brilliant cultured, and cosmopolitan as they were, were too complacent. They had been in Germany so long and were so well established, they simply couldn’t believe that there was going to be a program that would endanger them. … As a result the German Jews had relatively little wealth outside of Germany, and reacted sluggishly to the rise of Hitler…”. Other regions of the world get some coverage as well: “In Iraq the wealthy Iraqi Jews who had lived there for centuries misjudged how fast and ruthlessly Saddam Hussein … would move to expropriate their wealth. … The same calamity befell the Indonesian Chinese who failed to anticipate the rapidity of the fall of Sukarno. … No matter how safe and secure your home country appears, even if it’s the United States, every truly wealthy person should have some assets elsewhere. History suggests that nothing is forever. … New Zealand recently has become the Shangri-la of choice for paranoid American hedge-fund grand masters. Currently wealthy Russians are paying up for residential properties in London, New York, and the south of France.”

Given the fact that the U.S. has not experienced a war on its soil since 1865 and that he is writing mostly for an American audience, Biggs seems a little obsessed with war. On the other hand, being invaded and conquered has been the most dramatic cause of wealth destruction throughout human history. And the U.S. has been at war for much of the past 70 years (see http://en.wikipedia.org/wiki/Military_history_of_the_United_States for the full list). Who is to say that if we keep starting wars we won’t eventually lose one badly enough to find the enemy here in Boston?

[One thing that we can’t fault Biggs for is timing the market for readers of books about surviving financial crises. According to the Amazon reader reviews, the hardcover hit the streets in January 2008, just one month after the U.S. economy entered the Great Recession, and came out in paperback in October 2009, just a few months after the recession officially ended (July 2009).]

More: Read Wealth, War and Wisdom.

Full post, including comments

What kind of performance can one expect from Microsoft IIS/VB.NET?

Folks:

I’d like to spec out the required front-end server hardware for a database application with the following characteristics:

  • Oracle server in the back end with at least 30 CPUs (existing machine; not sure how many cores in each CPU) and a lot of RAM
  • Microsoft IIS/VB.NET Active Server Pages for the front-end computers (with load balancer)
  • typical user session includes roughly the following workflow (let’s say 6 pages total)
    1. authenticate
    2. query Oracle to get enough information to build a form
    3. upon receiving the submitted form, send as many as 30 insert statements to Oracle

During a peak period we could conceivably get as many as 45,000 users logging in during a 30 minute period so that’s 270,000 pages to be served within 30 minutes or roughly 150 pages per second (corresponding roughly, perhaps, to the peak load on a server handling 4.5 million pages per day with a slightly uneven demand).

Let’s assume that Oracle is sufficiently well tuned and supported by hardware that it responds to all of these queries and transactions very quickly and does not become a bottleneck. (I recognize that this is a big assumption, but I would like to treat any Oracle issues in a separate posting.)

Here are my questions:

  1. what is the best way to configure IIS/.NET to maximize database performance? The database won’t be doing much else during these peak periods and my assumption is that there is no advantage to having more simultaneously connected Oracle users than the number of CPU cores on the Oracle server. Does that make sense?
  2. what kind of load can a $2000 Windows server support? The real work in this application is being done by Oracle on the monster Unix box in the middle. So all that the Windows server would have to do is interpret the Active Server Pages, manage a pool of database connections, and send complete pages back to users via HTTPS (note the SSL component). How many SSL pages per second would you expect the machine to be able to deliver? [For concreteness, I priced up a Dell R510 with dual Intel Xeon E5630 (2.5 GHz; 8 cores total from the two chips) and 16 GB of RAM. It came out to $2000 (admittedly with no disk or OS, but I guess you can’t have everything for $2000!). Anyway, let’s assume 8 cores and 16 GB of RAM.]
  3. Is it easy to configure the latest version of IIS/.NET to open no more than, say, 8 connections to the DBMS?

Thanks in advance to the Windows/IIS/ASP.NET heroes who answer!

[Note: This was edited down from a posting that had some distracting stuff about tuning Java, which resulted in a very unfocused discussion. I have had the moderator remove the non-IIS/ASP comments and will save them for a later posting regarding Oracle/Java.]

Full post, including comments

What’s the best book for learning Cascading Style Sheets?

I just finished The Book of CSS3: A Developer’s Guide to the Future of Web Design and it gives a good survey of the capabilities of CSS3, e.g., a 1980s TV station-style flying logo in three dimensions (and, more usefully, capabilities for telling the browser to lay text out in multiple columns; see http://thebookofcss3.com/resources/chapter-7/ for examples (don’t seem to work that well in Chrome; the columns don’t resize when I adjust the browser window size)). It would also be a good reference. But the examples in the book seem contrived and overall I think it would be a lot easier to learn CSS3 with a book arranged project-by-project. Has anyone seen a good case study-oriented book on CSS? Or perhaps a Web site.

Full post, including comments

Bullets that we’ve dodged as a species

The Rational Optimist: How Prosperity Evolves gives an inspiring list of predicted catastrophes that have failed to occur. I’m going to limit the list to ones that have been predicted during my lifetime (born 1963).

Cancer. Rachel Carson predicted a big increase in cancer due to due to DDT, which would cause “practically 100 per cent of the human population to be wiped out from a cancer epidemic in one generation.” Paul Ehrlich, a MacArthur genius, also predicted doom from DDT: “The U.S. life expectancy will drop to forty-two years by 1980, due to cancer epidemics.”

(another) Nuclear War. It once seem inevitable that we would have a species-ending nuclear war with the Soviet Union.

Famine. Environmentalist Lester Brown predicted imminent famine in 1974, 1981, 1984, 1989, 1994, and 2007, in a 1967 book titled Famine, 1975!, and by MacArthur genius Paul Ehrlich in a 1968 book The Population Bomb (repeated, but without a predicted date, in a 2008 book, The Dominant Animal).

Exhaustion of minerals, oil, etc. We did indeed use up all of the known reserves of zinc, gold, tin, copper, oil and natural gas by 1992, just as predicted in the Club of Rome’s 1970s bestseller Limits to Growth. But then we found some more.

Air Pollution. Flying a small plane into the Lower 48 from Alaska or the Caribbean, I’m often amazed at how brown the air looks hanging over Washington State or Florida. On the other hand, it was supposed to be much worse. “In 1970, Life magazine promised its readers that scientists had ‘solid, experimental and theoretical evidence’ that ‘within a decade, urban dwellers will have to wear gas masks to survive air polluion… by 1985 air pollution will have reduced the amount of sunlight reaching earth by one half.'”

Plague (AIDS). “The number of deaths from [AIDS] has been falling since 2005.”

Plague (Flu). Ridley claims that the 1918 flu epidemic was unique due to the environment of soldiers in trenches. A successful modern flu needs its victims to be well enough to walk around, go to work, and spread the disease further.

Global cooling. If not for all of the dinosaur blood that we’ve pumped out of the ground and set on fire, we would in fact be going (slowly) into another ice age. This frightened journalists and their readers in the 1970s and a lot of ink was spent on dire warnings about climate change similar to today’s articles, except that the promised temperature trend was opposite.

Ridley suggests that we count our blessings. The last few years have seemed to offer a lot of lessons about human hubris. Here are some of the things that we’ve learned we can’t do safely: (a) drill for oil in mile-deep water (Deepwater Horizon), (b) build nuclear power plants on tsunami-prone coastlines (Fukushima), (c) build the world’s biggest airliner and engines (Qantas Flight 32), (d) protect cities that are below sea level from flooding (Katrina in New Orleans). On the other hand, none of this seems to stop the human population from expanding and, overall, from enjoying a better standard of living than previous generations.

[June 8 update: NYT carries a Thomas Friedman column “The Earth is Full” saying more or less the exact opposite of what Ridley wrote. They both have great credentials (Ridley has a doctorate in science; Friedman was smart enough to marry a billionaire heiress) so it is tough to know whom to believe.]

Full post, including comments

Apple iCloud service spawns imitators such as Dropbox.com and Google Docs

Steve Jobs unveiled the iCloud file syncing system only a few hours ago, yet already there are imitators who have managed to run with Apple’s ideas. The two copycats that come most readily to mind are Dropbox.com and Google Docs (like iCloud, a cloud-based service that stores files, but the Google programmers, apparently within just a few hours, also managed to develop a browser-based editing interface to some of those files).

Has anyone figured out what the original innovative Apple service does that these imitators haven’t yet managed to copy? I.e., what can I do with iCloud that I can’t do with Dropbox.com?

Full post, including comments

Should we send all of America’s economists away for a few years?

In reading opinions regarding the U.S. and state economies from professional economists and in talking to these folks face-to-face I’ve never heard any of them say anything clear enough for a voter to act upon. For example, suppose that the U.S. owed 800 percent of GDP, like Greece (see this NY Times article (the U.S. figure is around 500 percent, though we’re not as centralized as European countries and there is almost surely a lot of state-to-state variation)). An accountant would say “You’re spending more than you earn. You have to stop or you will run out of money.” After hearing that, voters and politicians might be able to get together and agree on some spending cuts (not the trivial ones that they’ve managed so far). Perhaps even Californians would be able to agree that their cities could be run into bankruptcy just as competently by managers who earned no more than the President of the United States earns, that a qualified fire chief could be hired for only the same salary as the U.S. Secretary of Defense, and that a police lieutenant need not receive 3X as much as a U.S. Army infantry lieutenant in combat in Afghanistan.

Instead of accountants in public discourse, however, we have economists. So our problems are not recognized as arithmetic challenges, e.g., “How can a society with a median wage of about $16 per hour afford to pay local and state government workers $100-200 per hour (and then pay them for another 50 years after they retire)?” or “How can teenagers who score lower than their Chinese counterparts on every measure of educational attainment be relied upon to pay for 130 million poor and older Americans to receive unlimited medical services in the world’s most expensive health care system?” (see this chart for how Medicare will have 80 million beneficiaries in 2030 (I added in another 50 million for Medicaid (chart)).

The problems are instead categorized as amenable to complex solutions that only someone with a Ph.D. in economics can understand. Or perhaps they are cast as political problems, e.g., “If not for the presence of a handful of heretics amongst voters and in the legislature, we could pass new laws that would magically double our wealth” (I have some extra faith in Massachusetts because one party has controlled our legislature for decades and when we run out of cash there is less chance that they will waste time trying to pin the blame on the handful of Republicans who show up to the State House every now and then to collect a paycheck (but do nothing else)). But oftentimes economists are politically oriented and contribute to the relabeling of “not enough cash” to “too many people in Party X”.

So instead of the sober accountant showing up on TV or in a news article saying “You aren’t rich enough to do stuff like this” or “All of your wealth was siphoned off by the following cronies of the current rulers” we have Economist A saying “Really the U.S. is in great shape if only we printed more money here, had one government agency issue some bonds there, had another government agency buy those bonds, and changed some assumptions in making projections about the costs of Programs X, Y, and Z”. That would be confusing enough except that Economist B then comes on and says “No, the government shouldn’t be printing money and we need these other assumptions in our projections.” The contradictory and complex opinions result in paralysis and inaction where the accountant’s simple warning would have been heeded. Perhaps worse, people hear what they want to hear, in which case a complex macroeconomic argument will register as “We can all be wealthier even if we’re studying less in school and then working fewer hours and fewer years.”

So could we increase our society’s wealth if we sent all of our economists off on a three-year holiday?

Full post, including comments