Thursday, January 19, 2012

Do the 99 percent pay more taxes than Mitt Romney?

kw: taxes, politicians

It is all over the news: Mitt Romney pays 15% of his income in income taxes. Commentators everywhere are complaining that many people who make less income are paying 28%-35% tax rates. Really???

Let's see. I am firmly in the 99% who make less than $200,000 yearly. Of my total gross income, I paid 8% in Federal income tax. Now, some of my income is in the 28% bracket, but I have a mortgage deduction, I tithe to my church, and I have a tuition credit for a son in graduate school, plus I am putting tax-deferred income into a 401(k). All this means that my taxable income is about half of the gross.

It was also reported not long ago, not nearly with so much fanfare, that 47% of the U.S. population pays no Federal income tax at all, and it wasn't even mentioned that a few million people take the "Earned Income Tax Credit", which gives them a "refund" when they have had nothing withheld. It is a kind of welfare payment without the name.

So let's see, 99-47 leaves 52% of the American public making between $20,000 and $200,000, and thus paying income taxes. Let's look at a couple scenarios, courtesy of the HR Block 2011 Tax Estimator.
  1. A 25-year-old married couple with no children eking it out on $20,000, with no deductible expenses. Their total tax for the year is $100.
  2. A 25-year-old single person who earns $48,000 and has $120 in interest income (a saver!), who also gives $1,200 to charity. The total tax bill is $5,780 (ouch), or 12% of gross income. Single people have the highest rates.
  3. Let's take the same person, now married, five years later, with three kids. No advancement, so the income and giving are the same, but now the tax bill is only $408, less than one percent.
  4. A middle-aged couple earning $100,000 with $1,000 of interest income and $5,000 of long-term capital gains (they got lucky in the market). They pay $10,000 in mortgage interest, and almost tithe, giving $10,000 to their church. Total income $106,000. Total tax $12,000, or 11.3%.
  5. Finally, a couple approaching the "1% level", who have combined earned income of %140,000, $1,000 of interest income, and $20,000 in long-term capital gains. They give less, $5,000, but have a McMansion that has mortgage interest of $30,000. Total income 161,000. Total tax $19,100 or 11.9%.
There you have it. Reasonable scenarios that show how the 15% Mitt Romney paid is by no means "unfair". In fact, he is paying more than most.

There is a second issue. That 15% is a second tax; to make the investments from which he is earning capital gains, he had to first earn money and pay taxes on it (perhaps at 15%, perhaps at 28 or 35%). Then when his investment earns money, he pays tax on the new earnings. If you make an investment that loses money, you don't get 15% back from the government for your losses, though you can use losses to offset gains, but if you have a net loss for the year, you are just out the money.

Let's pick some real issues to heckle the candidates with. This one is a phony issue.

Wednesday, January 18, 2012

Running out

kw: inflation, retirement, finance, analysis

My wife and I are at such an age that we think about retirement a lot. Can we afford to retire yet? Will our IRA's and other funds last long enough? Will there be anything left for our heirs?

We have reached one milestone I had set for myself: The sum of my company pension and the Social Security for the two of us will match our expected needs when my next birthday arrives. That's a good place to be, because it means that at least for a few years we won't need to touch the tax-deferred funds. How soon will we need them?

Inflation has been about 2.5% on average for a few years, but it has ranged between 1% and 4% in various months just in the past two years. Longer term it is more stable, averaged over a year at a time. While I hope it stays at 2.5% or less, it is wiser to plan for at least some periods of higher inflation rates, such as one caused by a real hit to energy prices (such as war with Iran).

Here are two measures that help my planning, without revealing specifics. Firstly, the doubling period. When prices double, the buying power of money has been cut in half. Secondly, we have a joint life expectancy of about thirty more years, so the 30th power of one minus the inflation rate (e.g., 0.975 for 2.5% inflation) yields the amount of buying power left in your fixed income. Of course, Social Security presently has COLA adjustments, but there is no guarantee that these will continue. These two measures produce this table:
Rate, 30y, Dbl
2.5% 0.468 28y
3.0% 0.401 23½y
3.5% 0.343 20y
4.0% 0.294 17½y
While it would be nice if the inflation-based doubling rate really lasted 28 years, I think it wisest to plan for 20 years or less.

Tuesday, January 17, 2012

A standing O at a debate?

kw: politics, debates

I like Juan Williams, but he was at his smarmy worst last evening, trying to trip up Newt Gingrich. To his leading question, whether the Speaker's suggestions about working might constitute an insult to the poor and the blacks, Gingrich simply said, "No, I don't." The next question was booed, and Newt's answer received a standing ovation. Williams was down for the count, rhetorically speaking, though he didn't seem to notice.

Give him time to figure it out; he'll get the point. As the author of Muzzled, he ought to know better. The public is tired of people dancing around troubling issues. They want straight talk, and that want was amply satisfied by the Speaker.

By the way, all the candidates did well, even very well, but if you are looking for a clear winner, go with the "applause meter" and award it to Newt.

Monday, January 16, 2012

Casinos everywhere

kw: gambling, gaming

In the local paper yesterday, I read an article about plans to build new casinos near here and in surrounding States. It seems Philadelphia will soon surpass Atlantic City as the #2 gambling destination in the country. But one after another the States are passing laws allowing gaming and casino construction, and the trend bids fair to fill the country with casinos. I suppose some folks' goal is to have everywhere in the country within a half hour's drive of a casino.

This trend will eventually be self-defeating. Everywhere, the same arguments are being issued in favor of casino construction, and the primary one is tourist dollars. But if people don't need to travel to gamble, most will choose to keep it local. The tourist dollars will dry up, and the local dollars will usually not make up the difference, because all the calculations are based on there being a small number of casinos compared to the demand. Once there is such an overabundance of supply, casinos will begin to fail.

Notwithstanding the fact that gambling is stupid, it is certainly very popular. The twenty-two states that permit gaming reported total revenues near $35 billion in 2011 (see here for more details). If twice as many gaming venues are opened, how likely is it that revenues will double? What is the total market for gaming likely to be if everyone can gamble locally?

Who knows, maybe we'll one day spend as much for gaming as we do for medicine (about $2.5 trillion); I can just hear gaming proponents salivating over that! Not likely, though. The market for entertainment is finite, and totals just over $100 billion for movies plus cable TV (90% of that is cable: see this summary). With those out of the way, gaming exceeds everything else. I don't see this as a good time to invest in the stock of casino operators!

Friday, January 13, 2012

Overconcentrated

kw: technology

I have read a number of articles recently on phones as the new electronic wallet, that will soon replace everything except maybe the large-screen TV (watching Avatar on a 3.6-inch screen is less than impressive). One title was "The End of Cash?", in which people said (on cue), "Oh, my life is on this little phone".

A few million phones are stolen in the U.S. yearly. A wise thief will attempt to snatch the phone either without your knowledge, or when you are far from help, so the race against time (the thief trying to crack your phone and get to your data before you call, on someone else's phone, to suspend service) is in his favor. And until you get a new phone and configure it, you're like an old-time traveler who has lost his Traveler's Checks and is 100 miles from the nearest embassy or AmEx office.

Meantime, paranoid that I am, I am quite happy with my flip phone from the days before smart phones. It makes phone calls, and it can do text. Period. If it gets stolen, the SIM card will contain nothing but a bunch of phone numbers. No apps that link to my banker and stock broker; no access to my retirement plan, or even my medical records. I don't mind the "delays" inherent in doing my banking and such in the same way I have since the 1960s. The only use I have for "online banking" is to make sure I have enough balance before writing a big check, like for a major auto repair. Some "conveniences" come with risks I am not willing to take.

Thursday, January 12, 2012

Planets probably outnumber stars

kw: analysis, extrasolar planets

Microlensing has paid off. This technique is a most powerful method for finding planets of every size about a target star. An international team has reported recent results of several years of searching. This BBC News report summarizes very well the report and many of the implications. One is the bold statement that every star that is not part of a multiple star system is certain to harbor at least one planet. This may be coupled with the discovery by other methods (transits and gravitational perturbations) that at least some multiple star systems also harbor planets. About half the stars are part of multiple systems, so this implies that the minimum number of planets in our Galaxy is greater than half the number of stars in the Galaxy.

The Galaxy is composed of at least 200 billion stars. If, then, there are 100 billion or more planets in the Galaxy, how many of these are similar to Earth? In size, at least, the report cited above claims this number is about 10 billion. This is a very conservative estimate, and I think it it likely that there are many more than this. I base my reasoning on the principle of mediocrity: Our solar system is most likely to be close to average. Can that be quantified?

Let's make a few rough estimates, based on what we know:
  1. Our Solar System has 8 planets.
  2. It contains at least three bodies, including Earth, that are expected to have large amounts of liquid water over great spans of time: Earth, Mars (for its first 2 billion years), and Europa (under a thick ice layer).
  3. There is one Earth, with life and even (somewhat) intelligent life.
I'll use a Poisson Distribution as a model of the likely distribution of the number of planets, and of possible Earths, around other stars. The process is simple: Find the range of mean values that have at least a 50% chance that there are 8 planets per star. Then use those Poisson distributions to glean some measure of the likely range of planetary numbers.

Firstly, we find that if the mean value of a Poisson distribution is 5, the normalized distribution's height at 8 is 0.37, while if the mean is 6, the height at 8 is 0.64, so we'll use 6 as a lower bound. Secondly, if the mean is 12, the height at 8 is 0.57, and if the mean is 13, the height is 0.42, so we'll use 12 as an upper bound. That means that the most likely number of planets, for stars somewhat similar to the Sun, is between 6 and 12, and a further analysis indicates that most such stars will have a number of planets between the "sideboard" values of 3 and 17.

By a star "somewhat similar to the Sun" I mean a star of spectral type F, G or K that is not a member of a multiple star system. That is about 10% of all stars. The "sideboards" above indicate that there are at least 3 planets each, which multiplies out to 60 billion planets in the Galaxy about such stars, with a more likely number of 150-180 billion planets, and the potential for trillion or so.

Among these, how many might have liquid water for at least a couple of billion years? Repeating the process using 3, we get a range of mean values between 2 and 6, with "sideboards" of 1 and 8. Thus there are at least 20 billion planets holding liquid water, and more likely about 60 billion.

Finally, how many sister Earths? When your sample is 1, it is better to use an aggregation technique, and say, suppose that among ten stars, we were to find five sisters to Earth, what could we conclude? A similar analysis shows that a random group of ten stars might have a mean value in the range 4-8, with "sideboards" of 1-11. This works out to a per-star range of 0.4-0.8 with "sideboards" of 0.1-1.1. These seem reasonable. Thus, I conclude sister Earths number at least 8 billion, with 10+ billion even more likely.

Then why, above, did I state that I think there are many more than 10 billion? There are two sources of more Earths. One is the warmer half of the M stars, M0-M5, which outnumber all the F, G and K stars two-to-one. The other is large satellites of super-Jupiters that may be a little outside the habitable zone of the parent star, but who add heat to the satellite by tidal flexing. This is much more speculative, but is not likely to be zero, so it is more probable that there are millions or a few billions of these also (In the Sci-Fi film Avatar the "planet" Pandora is a giant satellite of a super-Jupiter, though you only see this in an early sequence).

I am encouraged that my very rough "mediocrity" estimates are in the same range as that of the scientists who have given this much more thought than I have. The next breakthrough to await is the ability to get a spectrum from an exoplanet. An atmosphere with water and oxygen will fairly shout "LIFE!" to the Universe.

Wednesday, January 11, 2012

A boon to day traders

kw: investing

I stumbled across this chart in Yahoo Finance some months ago. It expands the "compare to" function to include up to five stocks and indices. To generate this particular chart, for the current day and time, click here. Click on the chart to see a full size version.

These stocks are a portion of a portfolio I follow, of dividend-paying stocks. I had used the stock screener to find stocks with high dividends, then the history function to find out which of those has had stable dividends for the past decade or more. Then a tool like this allows me to pick a momentary low spot, which boosts the effective dividend yield.

I am not a day trader, but I do try to time my entry into an equity. Almost any stock will vary by 5% over a few weeks' time. Suppose I am interested in one that is very stable, and is currently yielding 5%; not only that, it has very seldom reduced its dividend despite large variations in the overall market. This makes it a good income stock. If the day the screener program showed its yield as 5.1% it was selling at $25, and has a very steady $0.32 per quarter, I'll watch it for a few days. A downturn in the market could drag it down to $22, at which point I might purchase it. The dividend isn't likely to change, but now the effective yield is 5.8%. And the company's underlying value is the same, so it'll be back at $25 before long, and may grow substantially from there.

Whether it does or not, every 100 shares purchased gains nearly 6 shares a year in reinvested dividends. Give it ten years, and I'll have 176 shares where I had 100. If the stock has also risen, that's an added bonus when I am ready to sell. By the way, I only trade stocks inside my IRA, so I don't pay ongoing taxes. The tax bill will be high enough when I take money out of the IRA anyway!

Tuesday, January 10, 2012

Outliving myself

kw: longevity

If you have one clock, you know what time it is. If you have two or more, you are never sure. Prompted by a visit to the Social Security office, I ran their Life Expectancy Calculator, which uses only age and gender. It stated that, for my age cohort, I could expect to live to age 83.6, and when I am seventy, that will be pushed out to age 85.3. Fair enough. Then I got a wild hair…

I went to the Wharton How Long Will I Live page. The entry form has about forty questions. Their results are in the form of quartiles (they have a "Your Life Expectancy" value, but it is always very nearly the same as the median):
  • First Quartile: 79.0
  • Median: 86.9
  • Third Quartile: 94.0
A third site of interest is the Living to 100 Life Expectancy Calculator. This site spreads a larger number of questions over several pages. It produced three items:
  1. A calculated longevity, 90 in my case, with the note "You could live to 99."
  2. A couple of pages of suggestions and how much each can impact life span. For example, I might add a year to my life by taking an aspirin a day (I currently take none).
  3. Personalized recommendations by the doctor who runs the site, Dr. Perls. This came to about eight pages.
Finally, I went to one more web site, which turned out to be quite interesting: Peter Russell's Virtual Age Calculator. This has about twenty items, each a drag-bar. As you drag the bar, you see your virtual age and your expected longevity change. This makes it more tempting to cheat than usual! The upshot for me was that my virtual age is 48.6 (Funny, I don't look a day under 50), and my expected life span is 95.4. That sounds a bit optimistic. The biggest single factor is that my father is 89 and his grandparents lived into their late 80s and 90s. I suspect if I backed off a few years on that drag-bar (my mother lived only 81 years), the figures would change accordingly.

None of these asked the single most significant question that affects my life: Have you had or do you have cancer? I had colorectal cancer eleven years ago, lost 40 pounds during the period when I could not eat at all, and had half my colon removed. I suspect somebody somewhere has tables that would modify these four predictions, probably in the direction of about a decade downward!

So, what'll it be: 84, 87, 90 or 95? I won't expect more than another twenty years (85 total), but I'm basing my retirement planning on the 95 figure, just so I won't go broke. And I plan to get more of the fun stuff accomplished prior to age 75; it makes for fewer regrets. P.S. I suppose your local amateur shrink will tell you I'm in my third mid-life crisis, and I'd agree!

Monday, January 09, 2012

Screech owl or barn owl, take your pick

kw: book reviews, nonfiction, birds, natural history, photography

This barn owl was photographed in Surrey, England by Peter Trimming; the photo is available in Wikimedia Commons.

I have seen only one owl in the wild, and it wasn't a barn owl, AKA screech owl. I have heard them, and they make quite unearthly shrieks, not at all like the gentle "Hoo" sound of other owls. Therefore, I took great pleasure in reading and viewing Barn Owl by David Chandler, with its many pictures taken by Nigel Blake.

The book is a small volume (127 pages, including index), though the pages are largeish (18.5x24.5 cm), and half the space is photos, which places it in a genre I call "small coffee-table". It is thus a quick read, but very informative. Each chapter covers a different phase of owl life or natural history.

The most significant thing I didn't know before was that over half the area that harbors barn owls, there is a single species, Tyto alba (shown above in its whitest phase). This species is the only one in North America and most of Europe, but more than a dozen other species populate areas throughout the rest of the world. Some species are locally called grass owls for their habit of nesting on the ground in tall grass. T. alba nests in cavities, usually rather high off the ground, 2-3 meters or higher. Nooks in barns and other outbuildings are thus ideal, thus leading to the common name.

All owls are predators, and barn owls are perhaps the most efficient. A pair with growing young might take 30-100 small mammals daily! That's a lot of field mice, voles, and shrews (and some rats) that would overrun us if not for owls. One owl can hunt down about ten times as many mice as the hungriest house cat.

Barn owls cough up bone-and-hair-laden pellets, as many other owls do, which makes it rather simple to determine their eating habits. Interestingly, it has been said that, if the owl's hunting range is marshy, it may take a lot of frogs, and a pellet of frog remains looks more like a golf ball than like the cigar-shaped pellet formed of small mammal remains.

Quick as the read was, it was a great pleasure to read this book, and an even greater pleasure just looking through the pictures. It appears to be pitched to ages from late middle school through high school.

Sunday, January 08, 2012

Countdown to New Hampshire

kw: observations, politics, debates

I watched the televised debate from New Hampshire last evening, among the Republican candidates. There are now six contenders, Michelle Bachmann having bowed out of the race: John Huntsman, Ron Paul, Mitt Romney, Rick Santorum, Newt Gingrich and Rick Perry. Although Romney, Santorum and Paul are the "front runners", in my view nobody is really out of the running yet.

I would not say there was a clear winner last evening. This was much closer to a real debate than the prior ones, with plenty of back-and-forth among men who had both good and bad things to say about one another. I would say, though, that these candidates are primarily laying the groundwork for most of them (perhaps all) to support whomever is nominated. At least three of them stated that any one of the six would do a better job as President than Barack Obama has been doing.

It is still early days. My own State's primary is not until April 24, by which time 34 States and Territories will have held their primaries or caucuses. Even at that point, I suspect there will be some fluidity and uncertainty about the eventual nominee.

Some have said or written that it might be best to replace this six-month mess with a single primary election date, to be shortly followed by the nominating conventions. I disagree. The present process may be a grueling multiple marathon, but it gives voters a much greater opportunity to get to know the candidates, most of whom visit nearly every State. Our remarkable democratic process probably engages more people than any other known. A single-day primary would force much greater reliance on media advertising, a detriment. There is too much already.

I initially favored Ms Bachmann, but now that she is out, I am still confident that the Republicans will nominate someone who can beat the incumbent, because I am pretty sure any of the remaining six can make a better case for becoming our President, than Mr. Obama can for remaining in his failed Presidency.

Friday, January 06, 2012

The silenced majority

kw: book reviews, nonfiction, politics, free speech, polemics

As polemical writing goes, Muzzled: The Assault on Honest Debate by Juan Williams is rather mild. This is not because he lacks passion, but because he is a gentleman, a very rare breed in modern political discourse. Mild and gentlemanly he may be, but here are a few things he has to say:
"…what happened to me … was an assault on journalism and honest debate. Ne need to protect a free-flowing, respectful national conversation in our country. Today, such honest debate about the issues becomes collateral damage in an undeclared war by those who make accusations of racism and bigotry whenever their political positions are challenged." (p27)

"Political correctness has grown so thick that, like an untended garden, it is now less about the flowers than it is about the weeds. Too much of American politics has become an exercise in institutional madness, hampering our nation's ability to solve urgent problems." (p91)

"…these professional rude boys (and girls) [political commentators and talk show hosts at both ends of the spectrum] thrive on arousing people's passions. They make money by making our problems even worse. The more bitter the divide over an issue, the more intractable the problem, the brighter they shine." (p213)
As most folks know, just over a year ago (October 2010) he was fired by NPR for stating that he felt uncomfortable boarding an airplane if there were people in Muslim clothing on the same plane. I suspect elements of this book had been percolating around in his mind for a long time, but it took a blatant collision with Political Correctness to push him to actually write it.

Ah, good old PC, the source of such neologisms as "mentally challenged", "person of color" and "man-caused disaster". It makes us pretzelize our language until we're like an octopus playing Twister®. In modern political discourse, offending someone is the greatest sin, more heinous than embezzlement or adultery, more to be despised than sloth or gluttony.

Mr. Williams happens to be a liberal. I happen to be a conservative. There is nothing in his book that rankles me. He is honest, forthright, and quite correct in his assessment that the noisy fringes of the political spectrum have taken over all the platforms of debate. I remember the first televised debate, the one between Nixon and Kennedy. It was an actual debate. Even the Reagan-Mondale debate was a genuine exchange of views with few ad hominem moments. But since the League of Women Voters was kicked out of the debate business in favor of news anchors, the so-called debates have been a joke. I watched a portion of one of last year's debates, then went off and read a book.

If I have a criticism of the book, it would be that it is longer than it needs to be, or perhaps much, much too short. In a series of well-researched chapters, the author exposes the breakdown of communications related to the past decade's wars, to taxation and entitlements and military spending, to health care legislation and immigration and abortion—a laundry list of the hot button issues of our time. The trouble is, on one hand, two or three examples would be enough, while on the other, there are no "warm" button issues, no issues at all that can be fairly debated in this political climate. A book five times as long could have been filled with examples of issues, that just their mention is likely to get you called names, intimidated and shouted down.

Nobody is willing to admit the slightest possibility that their tiniest opinion might not be 100% correct. This is why I find genuine Christian faith so salutary. To be a true Christian requires that, at least once in your life, you admit you were wrong, ask for forgiveness, and pray for divine guidance and correction. To walk a Christian walk requires frequent repentance. Now, the churches are as full of bigoted fools as the rest of society, but those who are actually serious about their faith are capable of admitting fault, of learning better, of growing and becoming ever more loving and caring and respectful in a way that is simply not possible to a person who has never said, "I repent."

In a joking way, sometimes someone will say, "Oh, I made a mistake once. I thought I was wrong about something but it turned out I was right." For far too many people, that isn't a joke but a way of life. They cannot imagine that their political opposite number might have a valid point about anything. They forget Churchill's maxim, "Even a fool is right once in a while."

I find it refreshing that the author has no call to legislative action, no demand for "something to be done" by the powers that be. The powers that be are the problem, actually. All are too timid to say what they mean, mean what they say, and demand to be treated with the respect they afford others by doing so. He instead trusts the American people to take his points to heart and learn to talk things over without rancor. There is one area in which Mr. Williams does make a suggestion; he is in favor of defunding NPR. He may be the first liberal journalist to take this conservative position. He makes a very good case for this in a portion of his last chapter; it boils down to this, that firstly, no other news organization needs a subsidy to survive, and secondly, for the government to subsidize any news organization is actually a hindrance to free speech and a free press.

He talks about how people who recognize him tend to say three things: they appreciate his work, they don't quite agree with everything he says, and finally tell him their name. I don't expect ever to run into him, but if I do, he'll get my name first, a big hug (or handshake) for writing this book, and, "I don't care if we agree or disagree, if we can keep from being disagreeable about it."

Thursday, January 05, 2012

Is twelve bytes enough?

kw: computers, hacking, passwords

Following up on an earlier post: There are two things a cybercriminal needs to obtain to begin cracking a bunch of passwords from their encrypted record (hashes). Firstly, the file of the hashes themselves, and secondly, knowledge of the hashing algorithm. DES is quite popular, but is by no means the only one in use. The best feature of a good hashing algorithm is that it does not reveal the length of the original password. Heaven help you if your online bank uses a weak hash or doesn't hash at all!

So, having somehow stolen a file of passwords, the cracker proceeds by trying character strings in some logical sequence, producing the hash, and seeing if it matches any of the hashes in the file. This matching step can be very fast, but I suspect it takes a while if you have a million hashes to check.

The record speed of a special-purpose cracking machine is just under 1011 tests per second, when attacking a single hash. Obviously, it is much more efficient to sort the file of hashes using the hash as a key, then use a binary search to check a generated hash. A million hashes can be checked with only ten lookups. Not knowing how long those ten lookups might take, though, I'll continue the analysis by considering a hacker who is determined to get me, and has only one hash to test each iteration, at that 1011/sec rate. What do I need to do to hold off the attack for at least a year? Simply put, since a year has 3.156x107 seconds, I need a password long enough and complex enough to be a member of a universe with at least 3.156x1018 members. To push that out by a factor of a thousand, you need 3.156x1021 members.

Let us assume the perpetrator uses a logical series of steps, based on human nature. Shorter passwords are still most common; lower-case letters only and UPPER-case letters only are very common; adding a numeric digit, or a few, is getting more popular; MiXeD-case is somewhat rarer; mixed case plus digits is very rare, and the addition of special characters is done only if someone forces you to do it, or you are very, very paranoid. Someone having a super-cracker machine won't bother with a dictionary hack, but will just use all combinations.

Here is what it takes, for now, and for ten years from now when a cracking box might be 1,000 times as fast:
  • UPPER- or lower-case only. N = 26L. For L = 13, N = 2.48x1018, not quite enough, so go with 14 letters, where N = 6.45x1019, for now. For later, you need 16 letters
  • Either case plus some digits. N = 36L. For L = 12, N = 4.74x1018, OK for now. For later, L = 14.
  • MixEd-cASe letters. N = 52L. For L = 11, N = 7.52x1018, good for now. For later, L = 13.
  • Now add digits. N = 62L. You still need L=11 for now, because 6210 = 8.39x1017. For later, 12 is enough.
  • Finally, if the full ASCII set is allowed, N = 95L. For L = 10, N = 5.99x1019, more than good enough for now. For later, 11 characters is sufficient.
Of course, as one progresses down this list, it gets harder to remember the password unless you are quite clever creating it. If fourteenletter or FOURTEENLETTER is as hard to crack as M#nE3pa$5w, though, which one is the better choice? And for the future, dEEPsnowINspring, at 16 letters of mixed case, is from a universe of 2.86x1027; probably good for the rest of your life.

Wednesday, January 04, 2012

Chill is like vegetables

kw: observations, weather, temperature

I don't like it, but it is better to have it. Cold weather. As I've gotten older, I have found I have less tolerance for the cold. But I am glad to live somewhere that has a real winter, nearly every year. Over all, it is healthier.

Firstly, it stimulates me and my immune system. I find that I am more susceptible to colds in warm weather. Now that I am in my mid-sixties, I've probably had most of the cold viruses out there, both rhinovirus and adenovirus varieties, so I am immune to them. Yet I still catch a new cold every few years, and it seems to occur in the Spring or Fall.

Secondly, it eliminates pests. The worst years for mosquitoes are after mild winters. The overwintering adults can only hide under the bark or in leaf litter, so a deep enough chill will kill more of them. Any overwintering larvae (of certain varieties only) need pretty deep water to hide in, and if it freezes over wholly, they cannot breathe. The privet rust mites that plague my hedge plants hide under bark or leaf litter also. It can take a week of below 20°F weather to kill them. But I'll still spray with oil in May even if we get a hard few weeks.

Finally, the best fruit trees, apples, pears and cherries, bear better fruit after a long, hard winter, as long as the roots in the ground don't freeze. A deep-rooted apple tree can even do well after a North Dakota winter. The trick is to keep it alive for ten years until the roots get at least six feet deep! That takes a heavy layer of mulch, renewed every Spring and Fall. At this latitude, however, hardly any mulch is needed. We had a cold, snowy winter a year ago, and this year I had a very good harvest of excellent apples.

As much as I may grumble about cold weather, it is like having your vegetables, or getting exercise—better for me and better for my yard and garden.

Tuesday, January 03, 2012

A day here, a day there - pretty soon it adds up

kw: calendars, analysis

In the wake of the holidays, I was thinking about the origin of "Twelve Days of Christmas." It got me to thinking about the changes to the calendar that led to the 12 days, and the manipulations of the year that led to that. In the Science Q&A section of eNotes.com I find the following, posted by fact-finder:
The longest year on record was 46 B.C., when Julius Caesar (100-44 B.C.) introduced his Julian calendar. In order to make up for the difference between the calendar date and the season (determined by the position of the Earth in its yearly journey around the sun), Caesar inserted 2 extra months and added 23 extra days to February. Thus, 46 B.C. was 455 days long.

The shortest year on record was 1582, when Pope Gregory XIII (1502-1585) introduced his calendar, the Gregorian calendar. He decreed that October 5 would be October 15, eliminating 10 days, to make up for the accumulated error in the Julian calendar.

The world only gradually changed over to the Gregorian calendar. Catholic Europe adopted it by the year 1584. Many Protestant continental countries did so between 1699 and 1700; England imposed it on its colonies in 1752 and Sweden adopted it in 1753. Many non-European countries adopted it in the nineteenth century, with China doing so in 1912, Turkey in 1917, and Russia in 1918.

Sources: Famighetti, Robert, ed. The World Almanac and Book of Facts 1995, p. 288; Trefil, James. 1001 Things Everyone Should Know About Science, p. 138.

Based on the entire Gregorian correction, the year 1600 was a leap year, while 1700, 1800 and 1900 were not. In the late 1700s, there were some in England who went along with the calendar change and some who did not. The former practiced Christmas Day on December 25, according to the Gregorian Calendar. Those who stuck with the Julian calendar used their December 25, which fell on January 5. Over time, neighbors accommodated neighbors, and many began to celebrate the whole twelve days as the Christmas Season. Sometime thereafter, the familiar song was written (or perhaps it accumulated).

Since that time, the loss of two leap days in 1800 and 1900, followed by 2000 having a leap day, has shifted "Old Christmas Day" to January 7. It would be humorous to coin a new song of the fourteen days of Christmas!

All this takes care of making the average calendar year work out to a length of 365.2425 days, by mixing 365- and 366-day years. Since 1582, all the years have been of one of these two lengths. But there is more. The actual Tropical Year has a length of 365.2422 days (in 2000: 365.242189). This difference of 0.000311 days yearly means an extra leap year needs to be skipped about every 3,215 years. 3215+1582=4797. That is long enough that the gradual change in the length of the tropical year must be taken into account; the date we need to skip a leap year will be a year or two later, like in about the year 4799 or maybe 4800. 4800 has a nice ring to it. Let's use that.

Monday, January 02, 2012

Running a day behind

kw: holidays

This is January second, but it feels more like the real New Year's Day to me. I return to work tomorrow after just over a week off. Yesterday, being a Sunday, was a busy day. Of course, church activities take up half the day, until 1:00 or 2:00 PM. Our son was home for the weekend, and he and some of the other college kids decided to go skating. After they had left (they went right from the meeting place), on the way home, my wife suggested we go there also.

Neither one of us has skated in more than ten years. It soon became evident that our workouts at the YMCA hadn't kept us in "skating shape". My wife hugged the wall and its handrail for most of the hour we were there, though a couple of the college girls were nice enough to entice her further out on the ice a time or two. I skated slowly and a bit tentatively. The only time I bent over and tried to put on some speed, I soon felt quite unstable, and skidded myself back to a more sedate pace!

After the skating, the kids came over for a little while. We had some pumpkin pie left over. Then they left, our son returned to his college digs, and we wrapped things up and turned in early.

Today was a much more quiet day. I made breakfast quite late. We cooked up the rest of a ham we'd been using up slowly, had some of that in sandwiches for lunch, and froze the rest. I napped a while. Read a while. Now I'm blogging. We'll probably have leftovers for dinner in another hour or two. For now, I'm going to go watch the News.

Saturday, December 31, 2011

Ghettoizing the internet

kw: book reviews, nonfiction, technology, internet, privacy, polemics

Try this sometime, on a computer that you don't use for your banking or paying bills online (maybe at the public library...): Delete all cookies, go to a search web site of your choice and make a search. Then open the privacy window that lets you read all your cookies and see how many have appeared, all from a single action. There may be very few, or even none, but the top "cookie monster" that I've heard about so far was looking up "depression" on dictionary.com. The harvest? 233 tracking cookies!

Another interesting experiment: Call a friend in the phone, then both of you do the same simple search on Google or Yahoo! or Bing, and tell each other what are the top ten hits. Also take note of how many hits there are (it will probably be in the millions). Or you can make a game of it. Collaborate with five or ten friends to do several searches, chosen beforehand, and see who can collect the most hits, or the fewest (these friends all have to be honest!). It is important that everyone do this from their own home, because search personalization depends on your location, and whether you are logged in or searching anonymously.

Why should there be such differences? That is the subject of The Filter Bubble: What the Internet is Hiding From You by Eli Pariser. The book is a polemic, in the better sense of the word, exposing and decrying practices that disturb the author, and ought to be of concern to all of us. Yet it is not shrill. The 233 cookies example comes from page 6 of the book.

Just looking at my cookie collection, after a run by AdAware that removed a couple dozen tracking cookies, reveals nearly 260 domains that have cookies stored on my computer. Spot checking shows that my e-mail account server keeps 34 cookies; findagrave.com, where I do genealogical research, has 9; and my online bank keeps 8. Even this blog has one cookie stored there. It is safe to say there are at least a few thousand cookies on my computer, and for most of them I don't know whether I really need them.

Cookies are just the tip of the iceberg. Google stores everything we do through its web site, whether we are logged in or not. Google usually knows who we are even when we are not logged in. But our searching and clicking activities are aggregated into a great many categories that are said to be for purposes of "personalization": the company uses our preferences, as evidenced by what we look for and what we look at, to raise or lower the ranking of search results. The days of pure PageRank are long gone. The data about you that Google or Yahoo! or Bing or Amazon have gathered is stored on their own computers. I've even noticed that, when I finish a blog post and publish it, the next screen usually includes one or two ads that are pertinent to the blog post's subject (in case you didn't know, Blogger is a Google product).

What is the danger of personalization? How harmful can it be? That depends on the personality of each of us. I happen to be rather easy to influence when confronted by an authority figure. This is why I gave up live debating many years ago. It is also why I have learned to hang up quickly (even if it is rude) when a telemarketer or pollster calls. Sometimes I am kind enough to say, "No, sorry" before I hang up; sometimes not. Psst! Did you know that many "polls" over the telephone are actually attempts to influence the way you are likely to vote, or a product you might soon buy? Online marketers of both the commercial and political variety are experts at discerning the levers that influence what you will do next. They vary their approach by time of day, by the mood you seem to be in as seen in how you write, and the various profiles about you, such as your FaceBook account.

Here is a FaceBook experiment: Check your News feed, and sort it by time. Then go to the wall of someone with whom you almost never interact, and find something to "Like", or leave a comment or two. Return to News and see if that person's updates have magically appeared. Sometimes it takes leaving several tracks to get this to work. P.S. If you have more than 100 FaceBook friends, keeping up with all of them is quite arduous. Let's all suggest that FB make available a sorted list of interactions so we can figure out a few people to UnFriend.

In eight chapters, Pariser makes his case, that all this personalization has the effect of isolating us, with the technology that was supposed to make us more connected. I have often said that, if two people have all the same opinions, one of them is redundant. We need variety in our lives, but too much personalization removes a great source of variety. If you only see search results that square with your past interests, how will you ever develop new interests? How can we grow? Serendipity, and the matching of diverse topics, drive our creativity. Personalization is a great creativity killer.

The author and others, including the authors of this USA Today article, mention products like Ghostery, AdBlock Plus, TrackerBlock and Do Not Track Plus, as means to cut out part of the tracking. Nothing will eliminate it all. Thus the author suggests political solutions, legislative solutions, in his last two chapters. I am skeptical of the approach. Like dealing with a home invader at 3:00 AM, sometimes the 38 caliber "solution" is the only effective one; the police can only do something after a crime has been committed. Too late.

I have, instead, a suggestion that is in keeping with the way Google and other search sites already work. I suggest prefixes that influence the filters temporarily. I suppose you know if you put "define:jejune" in the search box, the first hit will be a definition. Google has other prefix words. Here are some it needs to add:
  • all or every: Results only filtered by the PageRank algorithm that got Google started in the first place.
  • serendipity or ser for short: Results deliberately scattered among topical interests.
  • anti: Results from an interest set that is the opposite of my own. If I'm liberal, a bunch of right-wing rants; if I'm literary, some scientific and engineering stuff; if I like rock music, some old Roy Rogers or folk music or swing; and so forth.
  • statistical or stat: Results based solely on Bayesian statistical ranking, defeating even PageRank.
I am sure some more could be determined. This would shine a light on just what personalized ranking is doing, and we could make better choices as a result.

The other political solution is a series of high-profile lawsuits. To avoid such suits, Google needs to provide a tool to show you what it has on you; FaceBook needs a tool to show you whom it is filtering in and filtering out of your News Feed; and the other aggregating companies out there need to make available to all of us the data that exist about us, and allow us to correct mistakes, of which there are billions I am sure. Otherwise, our entire history will dog us forever, not taking proper account of changes in marital status, religious conversions, or the change in lifestyle that would result from a sudden windfall or its converse, loss of occupational income. How ironic is it if the homeless woman using a library computer is besieged by ads based on her former status as a corporate VP?

The book's website has a "10 Things You Can Do" section that can help us all partially alleviate the effects of the Filter Bubble as it currently exists. On this last day of 2011, I wonder what the coming decade will bring?

Thursday, December 29, 2011

Are royals obsolete?

kw: current events, royal families

My wife has been reading the online Japanese newspapers, and recently informed me of the controversies surrounding the succession to the Chrysanthemum Throne of Japan. There are miles of ink on this, nearly all of it in Japanese, but this Wikipedia Article is a good starting point for the English-language reader.

To put it briefly, Crown Prince Naruhito married a bit late, and his wife Masako was just twenty-nine and a half on their wedding day. Then it took eight years before they had a child, a girl who is now ten years old, Princess Toshi (Aiko). They have no other children. The prince's brother Akishino is second in line to the throne, and Akishino's five-year-old son is third in line. Aiko is presently out of the loop.

Controversy one: Discussions have been going on for years whether to allow Aiko to succeed to the throne after her father, effectively putting her second in line. The negative opinion of the current Prime Minister indicates there is little chance of a new law to that effect. It is said, but seldom printed, that the problem is the added support needed for a larger royal family into the future: money problems.

Controversy two: The failure of Crown Princess Masako to produce further children led to a nervous breakdown and several years of psychotherapy. Her father-in-law, the Emperor, has been less than supportive, such that she declined to visit him during a recent hospital stay of nineteen days. The Crown Prince and his family live on the palace compound, but in isolation. The little cousins apparently nearly never meet.

To be short about it, if these "royals" are genuinely noble, both Princes ought, upon the death of the Emperor, to abdicate and declare the Chrysanthemum Throne to be vacant forever. Let most of the royal properties become museums and other tourist attractions. The families will need national support for this generation, but succeeding generations would need to get a job.

On our walk today, my wife and I had a long talk along these lines. I have similar opinions about the royal families of Europe. It seems the only one that brings in enough tourist money to "pay for itself" is the British royal family of Queen Elizabeth. This is unlikely to continue much longer, unless Prince William turns into a real whiz-bang of a popular king a few decades from now. But in my opinion, history has left royalty behind.

And it is dangerous to have monarchical leaders. Most current governments are dictatorships, and the reason we hear little about most of those are that they are poor. Dictatorship equates with a poor economy. Republics and even socialist republics simply do better.

Wednesday, December 28, 2011

A bee and a catcher

kw: photographs, nature, bees, spider webs

Of the "nature photos" I took around the yard this year, these are my favorites. Click on either image for an 800x533 version. Both pictures were taken July 16, 2011.


I was a member of the Great Sunflower Project for a second summer this year. That means I spent 15 minutes at a time, a few times weekly, standing around waiting for bees to visit my sunflower blooms. Of course, when the nearby Hydrangea was in bloom, it got all the attention (it has nectar, and sunflowers don't). Among the visitors was this large bumblebee, and I got this great shot of it.


The same day that I took the picture of the bumblebee, I noticed this orb web attached to blackberry canes and fern stems, blocking my way to the faucet. I took several photos, including this one that shows the whole web in reflected sunlight. My best photo ever of an orb web. I waited until the next day to remove the web; didn't have the heart while it was still nearly perfect!

Tuesday, December 27, 2011

Pixie dust

kw: musings, words, proverbs

On occasion my grandmother would say, "Everybody is a bit pixillated, except me and thee; and sometimes I think thee is also pixillated." She claimed it was an old Quaker saying, in which "pixillated", from "pixie", is a nice way of saying "crazy". Though she was a Methodist, her grandmother was a Quaker. She would say it to one of us boys who was being silly.

These days you can't repeat this saying and be understood. The word "pixelated" has been coined along with digital imagery, to mean "low resolution so the pixels show", or "deliberately exaggerated pixels" as in this image.

A pixel is nowhere near as wonderful a concept as a pixie. A perfectly beautiful word has been superseded by technology.

Monday, December 26, 2011

Nature calms my heart

kw: nature, astronomy, photographs

I suppose I ought to have a label for naked-eye astronomy. As dusk deepened into night this evening, my wife and I took a walk along and through a small patch of woods near our house. The Moon and Venus made a pretty pair as we got far enough from the trees to see them clearly. I was glad I had a camera with me.

You can just barely see "Old Moon in New Moon's arms", or earthshine off the Moon. In a darker sky it will be quite evident.

Just having the walk together makes us both feel good, and having a bit of relatively natural landscape nearby in which to walk is all the better.