Voters Bill of Rights

Gail Collins says, among other things:

Maybe the citizenry should demand a Voter Bill of Rights.

Article One: Freedom from being forced to choose between two dreadful candidates when the temperature is higher than 90 degrees.

Article Two: Candidates cannot talk about their childhood beyond attesting that they had one.

Article Three: Candidates are required to list all the really serious issue disagreements they have with their party. If they reach six, they should find a different ticket.

Article Four: Less talking about mosques.

Article Five: More cat stories.

Reason vs fear in Daily Kos by Mark Sumner

Mark Sumner had an interesting post today in the Daily Kos. He makes some points that I’ve thought about for some time, that the current “right wing” in the US has become the party of anti-reason demagogues that do not necessarily even believe what they are saying.

I’ve thought this for some time. I’ve read quite a bit in history and although the reasons that the Roman Republic gave way to the Empire are not exactly analogous to our situation, there are nevertheless similarities.

Rome had a government designed to prevent tyranny and to govern a city state. It worked well enough as they dominated Latium and later the whole of Italy, but it began to break down as they ended up conquering the entire Mediterranean region and beyond. (I won’t comment on the lack of a city police force in the Republican period, but it’s amazing that a city that size lacked one.)

What Augustus did was to reorganize the government, preserving the forms of the Republic while gutting its substance. He basically turned Rome into a monarchy, with a civil service responsible to him rather than to the Senate. At the time, that may have been the best that could be done with an empire, and not all that dissimilar to what the Persians had done centuries earlier.

This “principate” phase of the Empire lasted for a couple hundred years and then began breaking down because of other pressures, both internal and external, and was replaced with a “dominate” phase under the Diocletian reforms in the late third century CE.

I’ve been thinking for the last decade or so that the US is doing much the same thing. We have a government designed for the late eighteenth century to handle the fears of a group of newly independent states of any one region or person dominating the government. Our constitution, designed at a time when the population was just under 4 million people, was almost immediately amended to fix some glaring issues, but in the main, lasted until the civil war, when we then got the 13th and 14th amendments, fixing some civil rights issues, though we still have some problems there.

But our population is now over 300 million. Instead of 13 states we have 50. Instead of being a largely agrarian nation hugging the coast of a continent, we are now an empire occupying a large swath of a continent and economically and militarily dominating the planet.

Leaving aside the question of whether these are reasonable things for us to be, our form of government doesn’t seem to be working all that well at addressing the issues of the decade.

I’m not in favor of a revolution, because lots of people suffer during them and I and those I care about would likely be among them. I’m not in favor of a new constitutional convention because I don’t think we have the statesmen that we were damned lucky to have in 1787. We would end up with an even worse system than we have now, I fear.

I don’t know what the solution is, but I would suggest that we could start with a reformation of Senate rules to make it more responsive. The House of Representatives has gone through periods of being dysfunctional and has come out of them with rules changes. I think the same could be said of the Senate.

But a deeper problem is that we have no way currently to handle informing the public. Our current news media including the Internet, aren’t serving us well. Information gets out, possibly better than it ever has, but it is drowned in a sea of hogwash. How do we get a media that actually informs people so that decisions are made based on reason instead of inflamed emotions?

I don’t know. I could go on, but I’m tired.

Dithering about phones and tablets

Those who know me know that I’ve been dithering about mobile phones and internet tablets for some months now. I’d like a larger screen than my iPhone 3G has, but I consider the iPad a bit large. And it doesn’t make calls.

I was rather hoping for an ideal Android tablet to come out with a screen size around 7 inches and that had phone functionality. (The size of the phone doesn’t matter as much when you carry a bag and have a headset.)

I was hoping that the Dell Streak at 5″ or its announced sibling, the Looking Glass at 7″ would be the solution, but it seems that Dell has crapped up Android in ways that I don’t care for.

Since I’m a developer, I want both an iPhone type device and an Android device in the house, and I had pretty much decided that it would either be an iPhone 4 and some as yet unreleased Android tablet, or an Android phone and an iPad.

I just tried the Samsung Captivate from AT&T, a Galaxy-S phone. (I’m rather locked to AT&T because of family plans. I hate Sprint and would not use it if it were the only cell carrier in North America. I have no anger towards Verizon or T-Mobile, though. I might switch if it weren’t for carrying my mother’s phone on my plan.)

I really like the Captivate, and I’m sure I’d like its siblings at the other carriers, too. Unless I change my mind in the next month or so, I’m going with a Captivate for my phone and an iPad, probably without a data plan. (When traveling, I can use my GF’s wifi hotspot. She has a CradlePoint.)

Arduino is fun

So I have long been irritated at the lack of flexibility of the sort of programmable thermostats you can get through the retail market, e.g. Home Depot, Lowe’s, etc. I’ve wanted to make my own.

Now, thanks to the Arduino platform I can do it with a minimum of soldering!

Behold:

Thermostat project

And some detail on the LCD:

LCD Detail

At the moment, it just tells the temperature. The tiny pushbutton on the right of the breadboard turns on the backlight for the LCD. It stays lit for 10 seconds after you release the button. The little snaky-wired thing at the top-right is a thermistor, which has a resistance that varies based on the temperature. The processor detects this and uses the Steinhart–Hart equation to determine the temperature.

I also have a running clock, which will be necessary to figure out when to change the temperature when I actually attach this as a thermostat.

It’s a bit different programming a processor this simple from my usual work. This system has no operating system, 32KB of system memory, and runs at 16MHz. My development laptop, on the other hand, has 4GB of system memory and runs at 2.5GHz with two processor cores. It runs an advanced operating system.

But I’ve spent about $70 on the parts, so it’s not terribly expensive. And it’s kind of fun!

Eugene Robinson justifies the WaPo op-ed page

Eugene Robinson is one of the few good op-ed writers at the Washington Post. (I’m talking about the print edition. Ezra Klein and Greg Sargent are good on the blogs.)

He hits it out of the park today with his Obama needs to stand up to ‘reverse racism’ ploy article.

He and Rachel Maddow talked about this on her show last night.

Good stuff!

Newt Gingrich vs. The United States of America

Jonathan Chait of The New Republic has a good post here on Newt Gingrich’s recent statements about the proposed “Cordoba House” Muslim community center in lower Manhattan (aka the ground zero mosque). My favorite part was:

Newt Gingrich writes:

There should be no mosque near Ground Zero in New York so long as there are no churches or synagogues in Saudi Arabia. The time for double standards that allow Islamists to behave aggressively toward us while they demand our weakness and submission is over.

In this context, “double standards” means that the United States maintains a more pluralistic attitude toward religious minorities than Saudi Arabia does. Now, you could make the same kind of argument about any repressive policy in a place like Saudi Arabia. If women are not allowed to walk around freely in Saudi Arabia, then men should not be allowed to walk around freely in the United States!

I love it!

Chait goes on to make more points following this, and the post is worth reading in full. (Gingrich’s original comments are also worth reading just because they are so typically Newt and so typically absurd.

BTW, I’ll just say that I’m no fan of Islam or, indeed, any organized religion, but Cordoba House is a very good name. The heyday of Muslim Spain is a good example of a time and place where, for a brief time, Islam was a tolerant religion.

Interesting post about privacy from James Fallows

So James Fallows posted “Avatar” Life in the Digital Age on his Atlantic blog. He quoted a college student (“Will S.”) he knows as saying:

My existence on the internet might be with my real name, but my suspicion is that the vast majority of people are creating Avatars of themselves on the internet, untagging Facebook photos and writing blog posts to fit the image they wish to project. Weigel is jobless because he chose not to maintain the avatar.

There is probably quite a bit of truth to this. I have chosen not to use names other than my own and not to have any avatars of myself on the web. If you find “khuxtable”, “kahuxtable”, “Kathryn Huxtable”, etc., it’s either me, or someone else with my name or initials. (There are several Kathryn Huxtables online. I was the first, since I was working at a university when the internet expanded.) If you find a different sort of name, it is not me.

I’m unlikely to pay for this in any real way unless we turn into the Republic of Gilead, in which case I’m heading for Canada.

I’ve chosen not to tag photos or to join lots of groups online, but that’s more because I find the associations resulting from them to be annoying.

Against iPhone Framework

I’ve gotten past my general disgust at the look of the Objective-C language. After all, I programmed a lot of Perl over the years.

But no garbage collection on the iPhone? This is 2010! You’ve got to be kidding me!

“Hiya developers, hiya, hiya, hiya. We’ve got this device with seriously limited memory, so we’re going to force you to manually manage the memory on it. If you mess up, your app will bog the device down and probably eventually cause it to restart. Ya got a problem with that?”

Well, yes, now that you ask, I do.

I am not of the opinion that any computer language is perfect, or that any framework is perfect. But Java, in my opinion, comes close. I’m not endorsing any particular framework, and the standard Java API has its issues, but it threads a nice balance between usefulness and simplicity.

IOS 4 (formerly iPhone OS 4)

The Gold Master of IOS 4 was released to developers this week. I downloaded it and installed it on my iPhone 3G, which is the oldest hardware it will run on. It runs a bit slowly, but that’s to be expected.

There are features such as the multitasking that are advertised not to work on the 3G, but everything that’s supposed to work works. (Are wallpapers supposed to work on the 3G? They don’t.)

I’m particularly impressed with the email client. It now has a unified Inbox, so incoming mail from all of your accounts is aggregated into a virtual folder and presented to you as one. You can still see each Inbox individually if you desire. Also, we finally have threaded messages.

Unfortunately, they’re not using the In-reply-to header, but rather by matching subject lines. This method is common, but rather stupid, since any messages with subjects like “Re: Tonight” will be threaded, even when they are completely separate messages about scheduling, possibly separated by months or years in the Inbox. Mac Mail on OS X also uses the subject line, which is stupid, in my not so humble opinion.

But it’s still a great feature. I’ve been missing it.

The other big user-visible change is folders for apps. You can now group apps into folders on your screen. Pressing the folder brings up a list of the apps in the folder, allowing you to select one. Pressing the Home button or pressing off of the list of apps returns you to the screen you were on. They can’t be nested, but who’d want to do that on a phone?

I haven’t tried tethering, because it changes my contract with AT&T, and I don’t really need it at this point.

So far as I can tell, connecting a Bluetooth keyboard does not work on the 3G.

Faces and places in the photo app and photo pickers works great! It imports the faces from iPhoto on my Mac just fine.

And creating playlists in the iPod app works fine.

All in all, this is a good update to the operating system. If I were using a 3GS I might just stick with it. Since my phone will be two years old this fall, I have been considering a new phone.

I’m still dithering between a simple phone with network-based tethering plus an internet tablet with just WiFi vs a new iPhone. If I go the former route I’m dithering between an iPad and an as yet unreleased 7″ Android tablet.

DTerm is a great app for the Mac

I’ve been using git for awhile now and I also use Eclipse as my IDE. Eclipse doesn’t yet have good support for git, though they’re working on it. So I do a lot of command line git commands.

I found the DTerm app and it’s great! Basically, you just press Cmd-Shift-Enter and a command line window pops up with the directory set to the directory of whatever window was on top. So if you’re editing a file in Eclipse, the DTerm window comes up in the directory containing that file. You can do your git command and get the results, then just press Escape and the window goes away. It remembers the last several commands and their results.

Pretty clever!