Four More Years?

Barack Obama will be the president of the United States a year from now, and I think that’s great news. I’m happy about that.

Last night, Junglemonkey and I watched some of the live election coverage on the Beeb and they had a couple of American dipnuts on, I guess to explain U.S. politics to the British audience. The Republican they had was saying that, having lost the bid for the presidency, the Republican party needed to spend some time in introspection to figure out how they could reach out to more people. I think that’s true, but I’m a little doubtful. It feels to me as though the Republicans have become the Taliban. I’ve seen several people tweet comments along the lines of, “Okay, now we’ve finished with the election, can we please talk about climate change?” (or whatever issue they want to talk about that was ignored during the campaigns). I think that’s a little naive, as well. If the issue wasn’t something the candidates thought was important enough to get people to vote for them, how will the winners think it’s important enough to talk about now? This election seemed to be all about enfeebling (or not) the federal government, allowing (or not) women to control their own bodies, and giving (or not) medical care to Americans. What’s to be said about climate change? It’s real, it’s happening, and major campaign contributors don’t want the government to do anything about it. Nobody’s talking about it because, what is there to say?

For the last four years, the Republican strategy has been to oppose any legislation proposed or supported by any Democrat. This isn’t a secret; heck, Republicans started out Obama’s first presidency saying this exact thing to any news organization that would listen. The presidential election and the senatorial election look to me like a slap to the right wing crazy talk, but the house looks like it could be more of the same. I consider this Republican house and then I think about the crazy signs up and down the central valley of California claiming that it’s the government’s fault there’s not enough water, and I think about the scared old rich white people we’ve met. I worry that we’re still in the midst of a national temper tantrum and desperately need a time out.

Next Homework Program: Ratio Exercise

The Badb just had a couple of weeks of reviewing ratios. This was a good limbering-up exercise, since the problem sets were all about converting between different units and manipulating fractions. After all, ratios are just a different way of writing fractions. The general form of the problems wound up being, “Given that the ratio of thingumbob : doohickii is γ, how many doohickii are there if there are N thingumbobs?” She’d have to set up the equation and solve for the doohickii quantity.

In the evenings, this was really not a problem (until she got really tired) but first thing in the morning it was a tough job, converting from decimals to fractions, simplifying fractions, and doing other straightforward (at 4 in the afternoon) operations. So let’s think about fractions for a minute. There are really two major operations one performs on fractions: multiplication and addition. Multiplication is easy (numerator times numerator, denominator times denominator, simplify, done) but addition is kind of a pain; you have to have a common denominator. Finding any common denominator is easy (heck, just multiply each denominator by the other) but we would prefer to work with the smallest whole numbers we can get away with, because smaller numbers are easier to handle and because humans, at least the smart ones, are lazy and hate doing extra work. So what we want, given two denominators A and B, is to find the least common multiple (LCM) of the two numbers.

Let’s say we want a program that lets you input two fractions as four integers (numerator A, denominator A, numerator B, denominator B) and it will output the original fractions, the required multipliers, and the multiplied fractions which have common denominators. That is, it’ll take something like this:

5/6

7/10

and give you

5/6 * 5/5 = 25/30

7/10 * 3/3 = 21/30

It should accept improper fractions (but not decimals and not mixed numbers). We’ve already got code that will spit out the prime factors of a number; I bet it will be useful here.

I’m Worried about Truth

This morning I saw this headline: “Samaras advierte de que la situación de Grecia es similar a la que permitió el triunfo del nazismo en Alemania.” Hard on the heels of the presidential circus wherein Mitt Romney lied his way to “victory”, this has got me thinking about style versus substance. One of my friends tweeted in the aftermath, “Stop talking like fact-checks after the ‘big event’ are meaningful. Show up and play the game or go home.” He’s got a point as far as debates go, where the event is all about thinking on your feet and presenting a facile argument. I’m just not sure that it’s a good idea to set the fate of millions on a course determined by glib statements not founded in reality. I believe that “think” is an important component of “think fast. The love of my life reminded her Facebook friends that, “The Revolution Will Not Be Televised,” and when I said I thought it disingenuous for Republicans to claim Obama was not bipartisan after they refused to vote for anything he proposed, observed that all politics is disingenuous.

Back to Greece, then: the Greek government did not engage in a big war which they lost and were then forced to pay huge reparations for. The Greek government begged to be admitted to the EU and their economy has not been up to the task. The Greek people feel let down by their government and oppressed by the austerity measures, so if I were a Greek government minister, sure, I would probably look at the seething unrest, the horrible inflation, the massive debt, and think, “Man, I am one demagogue away from being thrown out of office and shot.” But I’m not at all sure that this is a real and valid parallel. I reckon that it’s important to call people on their bullshit. To that end, let’s invoke a corollary to Godwin’s law and say the Greek government has ended the discussion and lost.

Miscellany

A lot of things have been going on, but I don’t have a lot to say about any one of them.

On Saturday I played at the Dixon highland games. Dixon is about two hours away from Boulder Creek, so rather than driving out the night before and getting a hotel room, I figured I’d just get up at my normal time and drive out on Saturday morning. I didn’t know when I was supposed to compete but I saw that the games were supposed to open at 9. I got there at 8:30, only to discover that I was up at 8:45. Quick, warm up, tune up, then bang bang bang, slow air, 2/4 march, and piobaireachd. None were my best performances, (the less said about the 2/4 the better) but I was disappointed not even to have placed with the piob. or the slow air.

On Sunday Junglemonkey and I spent a lot of the day shopping and then watching movies. “Fargo,” “Hedwig and the Angry Inch,” “Breakfast at Tiffany’s” — these are movies that we can’t watch without remembering the early days of our relationship. Feeling nostalgic, I started thinking about the music we shared with each other. Junglemonkey gave me Cake and Pepe and the Bottle Blondes. I gave her Deep Forest and Afro Celt Sound System. We shared a lot of music, with occasional duplications but mostly different albums by the same artists. Now, many years later, she’s still discovering cool music that’s fun to listen to. I’m discovering cool music, too, but I feel ambivalent about sharing it. Take, for instance, this piobaireachd performance. These pipers are amazing and they make the music beautiful. I find Barnaby Brown’s performances particularly amazing. There’s this modern tradition of playing this music and the competition scene has really sidelined other piping traditions. And yet, as Brown demonstrates, these other traditions have some amazing and beautiful art to them. My neighbors say they love hearing me practice my pipes, and I love hearing these performances, but I still have a hard time believing that non-pipers want to hear this. Why? Probably because there’s not a single radio station within a hundred miles that will put bagpipe music into the rotation. That should totally change. Another album I recently found out about is “Drokk” — I also feel self-conscious sharing that, since ambient dystopia is really not the mood I want to evoke when I’m hanging out with the people I love.

With the Badb’s return to school, we’re once again doing arithmetic homework. She’s actually good at math even though she doesn’t like it. This year she’s going to be tackling some of the interesting bits of pre-algebra and dimensional analysis. This year may be the last time for a decade that my daughter will admit that I know anything, so I sure want to be available to help her out. She’s been reviewing exponents and roots, fractions, division, and factorization. The past couple of weeks have been full of her asking, “Daddy, can you help me with this…?” and me saying, “Sure, now here’s the process you can follow to get the right answer for this and any other problem like this, and you don’t need to worry about getting confused…” For my own sanity, I rewrote my BASIC prime factorization program in Java. I started doing that back in May but only did a command line version; now I stuck a GUI on it with validation and looping and so on. At the time, I set it up with a Mercurial repository. Last week I was looking once more at revision control systems and found this blog entry comparing git with Mercurial. Together with the work I did on dumbster this got me thinking about what I really want in a “how to use git” reference. I think I’m going to have to write it myself, so maybe that will be my winter software project this year.

Vacation Hallucination

We are vacationing in Phoenix. Nutjob politics, crazy heat and humidity, reminiscences of years past, and hidden object games are all giving me these weird waking dreams without even having to take drugs.

Junglemonkey remembered a feature on a kids radio show where the youthful host tried to explain the lyrics of pop songs. This morning I found myself wondering what the songwriter needed from Biggles last Saturday. A ride, maybe, or the key to his bike lock.

Also, there are grackles all over the place. These are the rattiest looking birds I’ve seen.

Trust Your Kid

Earlier today I tweeted this gem: “I don’t worry about my girls’ future boyfriends. I trust my daughters to be smart and capable.” I’d like to expand on that a little.

This was inspired by a quote I read on the Freakonomics blog:

“I want my girls’ potential boyfriends to think I’m a crazy lunatic,”Haley said.

I’ve heard this kind of thing before from my male friends who have daughters. They talk about getting all weird and scary with their daughters’ hypothetical boyfriends when those daughters are finally old enough to start dating. Just what are all these guys afraid of? Do they consider that their daughters are utterly helpless and are such bad decision-makers that they’ll be dating boys who won’t treat them well? I suppose I could be super uncharitable and guess that they extrapolate from their self-knowledge and think these hypothetical swains will be rapists who will nonetheless be deterred by the idea of a vengeful father. I bet, though, that it’s just that they don’t trust their daughters, and that makes me kind of sad.

Your kids are going to grow older whatever you do. I figure the best thing I can do for my kids is to teach them to be thoughtful and to value themselves. If they think of themselves as precious, they won’t put themselves in situations where they’ll get really hurt. All that remains, then, is to teach them enough to be able to recognize a bad situation, a bad idea, or a dangerous person. That’s hard, but not in the way that calculus is hard. It just requires a lot of time and engagement and trust. You can’t just wake up one morning and think, “Holy cow! My daughter, with whom I last interacted when she was five, is now old enough to be dating boys! I’d better teach her some stuff!” That won’t work. You have to be engaged all along; then when your daughter starts considering dating, she can bring up questions and you can offer insights and it won’t be all weird and fake.

And yeah, no matter what, if Mom or Dad says it, it’s probably wrong. So your daughter won’t believe you and will go make mistakes *anyway*. If she’s got a good sense of self-worth, though, she’ll come out okay. Just like you, right?

Doomed by History

I’ve probably mentioned this before somewhere, but from about five years after I got out of college I’ve felt acutely my lack of education. I got four years of Catholic school (an important four years, too) but otherwise I went to public schools in California. As a result of my time in private school, I can diagram a sentence, conjugate verbs, and use commas, semicolons, and apostrophes correctly. To that school I also owe my ability to perform well on SAT-type tests. To my public school education, I owe my knowledge of the geography of North America and western Europe. So far as my history and geography teachers were concerned, it was of passing interest that there existed some cultures somewhere east of Germany, but I swear, I learned more world geography from playing Risk. I suspect that the cold war had something to do with that, but I don’t see how, “We do not like communists,” translates into, “Our schoolchildren should not be shown maps of any communist country.” How can you be expected to drop a bomb on a country you can’t even find?

Since then, I’ve been eager to fill the void. I’ve read histories of China, of Persia, and of various African regions. I’m a sucker for maps and love trying to wrap my head around the geography of whatever story I’m reading. When I read histories of Alexander, I followed along on Google Earth and on the maps on Wikipedia. Of course, whenever I do this, with whatever region, I wind up with a temporary wish to go there and walk around in the area. It’s not just books, either: in 2009 Junglemonkey and I saw the Afghan gold exhibit when it was in New York. After that, I had to spend hours looking at maps of Afghanistan and its neighbors.

I just finished listening to Edward Gibbon’s “Decline and Fall of the Roman Empire, Volume 1” but, instead of going for the maps, I’ve been digesting it in terms of economics and politics. (Okay, I confess, there was my short investigation of when we stopped calling it the “Euxine Sea” as Herodotus and Gibbon did.) For instance, there’s “Why Nations Fail“, as well as “23 Things They Don’t Tell You about Capitalism“. The parallels between the politics of the Roman Empire around the time of Diocletian and the politics of the United States today are pretty obvious. Even more chilling is the thought that prosperity in the U.S. is not predicated on making stuff but on taking stuff from others. No wonder poker is so popular: this culture seems to be in love with zero-sum games.

 

Oh, hey, you know that phrase, “blood and treasure,” our military leaders use when they talk about what we’re spending on these conflicts in Iraq and Afghanistan? Yeah, that’s what Gibbon used to describe the expenses of Roman military expeditions on the borders of the empire (I bet he got it from the Romans). Since they’re likely going to be in charge of the country in a few decades, I’m glad that at least our military commanders have read some history. I just hope they have also read some economics.

Sometimes Continuity Sucks

Facetime stopped working on my laptop sometime this year. I don’t know anyone far away with whom I actually want to chat, so I only use it when Junglemonkey goes out of town. She’s out for a few days and today the Badb came back from camp and of course we all want to see one another. Junglemonkey called my cell phone and complained that we weren’t answering Facetime and we were pigs. It turns out that my iPod’s application was working okay (but we didn’t hear it beeping, in the other room, in my purse, etc.) but my laptop’s app wasn’t. It never rang. I should know, I was sitting at my computer while it was failing to connect.

Eventually, I got it sorted out. It turns out that this is a thing – some unspecified change gets made to an obscure security file and suddenly Facetime and other messaging clients Just Don’t Work. Thanks, Apple.

My computer is new. The operating system is new. However, I’ve had a Mac laptop since 2003 and whenever I upgrade I migrate my user. Some of the files on my hard drive still date back to those early days. In this case, the problem file dated from 2006. Holy cow, 2006! That was two computers ago!

Fallacies Everywhere

The thing that has got me motivated enough to write this as a post is this article on the BBC website. It’s got a provocative title, “Green food report favours home-grown curry,” so of course I checked it out. The real meat of the story is that a commission in the UK has just turned in their report on the food production infrastructure in that country and they’ve made some recommendations. Well done, good work, I’m sure the Department of Agriculture (or whatever it’s called in the UK) will be pleased and start publishing tracts and faxing flyers to farms all over England and Wales. But here’s an interesting line, down in the middle of the story:

The project consisted of five subgroups to look at particular areas within the food system – wheat, dairy, bread, curry and geographical areas [emphasis mine] – with the goal of consider ways to “reconcile how we will achieve our goals of improving the environment and increasing good production”.

A few ideas occurred to me when I read this:

  1. That’s a heck of a food pyramid. “I think I’ll only have one helping of Kent, I’m trying to stay slim.” “Oh, go on, you know it’s the midlands that have all the calories.”
  2. Wait a second, we’re gonna look at five different things, two of which are grain? No, I get it, bread is different from grain because bread is processed grain so we need to look at the whole supply and production chain. It’s not a boondoggle to get the commission to pay for junkets to France to look at “bakeries” there.
  3. Curry? Are we sure this wasn’t put in there to justify the lunch tab at every commission meeting?
  4. So, a commission starts out investigating how to increase production of curry (and by the way, are we talking hing, chiles, pepper, ginger, fenugreek, turmeric, and on and on? Really? That’s some amazing climate change y’all are expecting in England.) comes to the surprising conclusion that increasing production of curry would be a good thing! And this is so surprising that the Beeb makes that the headline!

It should be no surprise to anyone who’s ever eaten at a hotel or restaurant in the UK that fresh vegetables and fruits are not on that list. Oh hey, this is like in those Stieg Larsson books where the only thing anyone ever eats is white bread and cheese and all they drink is coffee with milk.

Hey, The Beeb, check this out! (Oh yeah, specifically, this.)

I Didn’t Geddit

I just got an email from Yammer announcing that Yammer has been acquired by Microsoft. I had a couple of Yammer accounts because some people I wanted to play nice with have Yammer accounts, but I confess: I just don’t get why Yammer is something I should want. It doesn’t solve any problems I have. It’s sort of like spam: in theory, some person might be sitting around the computer thinking, “Golly. I really wish I knew where I could get some Au)t}*h-entic Tablets. If only someone with a fake email address would send me an email with a link to a website where I could score that!” Similarly, there might possibly be someone sitting in an office somewhere thinking, “Dang, I’m getting too much work done. I wish there were some kind of website that would have the faint whiff of corporate approval but that would really amount to my wandering the halls and chatting with everyone.” Someone, somewhere, who gets paid not for working but just for being some special and precious snowflake. You might be that person (if so, check your spam folder, it’s got what you want).

So now Microsoft has acquired Yammer. This is all the signal anyone should really need, and now it explains why I didn’t get what the heck Yammer is good for. It isn’t. It’s got the smell of something that’s got a lot of people excited; it’s got the minimum feature set required to be written up in a trade magazine as being an exemplar of whatever the hell it is supposed to be; it’s got confused corporate IT departments paying for it; and it’s not a big enough player to be unpurchasable. So, it’s crapware that Microsoft will rebrand as some kind of productivity thing for groups but is fundamentally a waste of time. Got it.