OK, Now An Open Office Problem

So, I’m trying to import my Perl-generated file as a CSV into Open Office. Apparently, if the data coming into a cell is of the form “D.D.D” where “Ds” are digits, it obviously and absolutely must be a date, and it converts the incoming cell to that format.

Well, no. I wanted it to be (for example) literally “1.3.5.” Really. No kidding. It’s not 01/03/05. But it won’t let me do it.

I don’t want to have to manually go in and change the format for each cell where this happens, and even if I did, there’s no obvious way to do it and retain the original info without manually retyping the number with a single quote in front. Is there an Open Office guru out there?

BTW, I really appreciate the help with the Perl problem. It was invaluable (which means, it was very useful, but I don’t know how to pay for it, or what it was worth to those providing it).

What Do You Think?

OK, so we have a bill that has passed both the House and the Senate, both of which are controlled by the Democrats. In both houses, they were rushed through with little debate, and in the House, it was almost entirely crafted by the Democratic leadership, without even significant input from the Blue Dogs, let alone the Republicans. It is hundreds of pages, and totals close to a trillion dollars (a mind-numbing number that may necessitate updating the old Dirksen quote) in new spending, paid for with money that the nation doesn’t have. It has many items in it that are not obviously aimed at stimulating the economy, but rather in advancing various social and political goals, but it’s hard to be sure because few have had the opportunity to even read, let alone comprehend the whole thing.

Now which is the more likely scenario?

A. It is the output of a sober, long-debated process that was totally focused on improving the American economy, carefully considering the potential unintended consequences of every item in the bill, with associated committee hearings and qualified witnesses, or

B. It is an overnight cut’n’paste concatenation of every item on pent-up Democrats’ wish lists going back to 1994, when they lost control of the Congress, because everyone wants to get a ride on the late-Christmas tree that is sure to go through via fearmongering by a popular new president.

Come on, folks. William of Ockham had just the tool for this conundrum.

I know where my money is.

Perl Problem

I’m going crazy with a script. Here’s the code:

$parent = @line_elements[8];
$lower_req = @line_elements[1];
print DEBUG “BEGIN \$lower_req is $lower_req, \$parent is $parent, \$req_num is $req_num.\n”;
if ($req_num eq $parent) {
print DEBUG “\$req_num is $req_num, \$parent is $parent, got a match!\n”;
}

And here’s the output:

BEGIN $lower_req is “2.1.1”, $parent is “1.1”
, $req_num is “1.1”.
BEGIN $lower_req is “2.1.2”, $parent is “1.1”
, $req_num is “1.1”.
BEGIN $lower_req is “2.1.3”, $parent is “1.1”
, $req_num is “1.1”.
BEGIN $lower_req is “2.1.4”, $parent is “1.1”
, $req_num is “1.1”.
BEGIN $lower_req is “2.1.5”, $parent is “1.1”
, $req_num is “1.1”.

Note that in each case, that $req_num is equal to $parent, and the line should be repeated with the statement that a match was found. Can another pair of eyes tell me why it’s not?

Straw Men

I’m listening to the president, and on the verge of throwing something at the flat screen. I’m very tired of hearing him make the vague “argument” that we can’t get out of this situation with the “same failed policies of the past eight years.” This is apparently an argument against tax cuts in the “stimulus” bill, though it’s hard to know, because it’s vague. Why won’t some reporter ask him what in the hell he’s talking about? To actually put forth his supposed theory of how we got here, and what “failed policies” caused it? Because if he’s arguing that we’re in trouble because of tax rate cuts, that’s a ludicrous proposition. He seems desperate, and has fallen back on the only thing he seems to know how to do — campaign with vague and misleading rhetoric.

Charles Johnson has further commentary on these Obama strawmen.

[Update a few minutes later]

Some questions that the president should, but probably won’t be asked tonight.

[Update a few minutes later]

More thoughts from Victor Davis Hanson:

…things are upside down: The conservatives are mad that Bush over-spent, and suddenly when out of power want to restore fiscal sanity, while Obama says that the Bush borrowing brought on this mess and must be addressed by more borrowing. What is what? Conservatives suddenly are once again fiscal purists when out of power? Liberals blame Bush for reckless Keynesian spending and want to cure it by more of the same?

Few tell the truth: The conservatives should say ‘Mea culpa—our deficit spending and borrowing helped to get us into this mess, so we’ve seen the error of our ways, and want you liberals not to repeat our mistakes.’ And the liberals should say, ‘Bush on the budget was one of us in borrowing and spending and priming, so we can’t really trash the last eight years since we’re now advocating more of the same.’

Yes, few tell the truth. Including, foremost, the president.

[Update late morning]

“The worst bill since the 1930s.” An interview with economist Robert Barro.

[Evening update]

He’s doing the press conference now, and repeating the stupid, false history that we’ve done nothing in the past eight years except tax cuts. I want to throw a shoe at him.

[Bumped from this morning]

[Update a few minutes later]

He claims that he’s been “civil” and “respectable.” I don’t think that it’s either civil or respectable to set up strawman arguments based on a false history, and kick them down. And now he’s claiming that there are no earmarks in this package? Please.

Biting Commentary about Infinity…and Beyond!