The Squeeze

March 7, 2011 10:29 am

I keep hearing on the radio and Internet about how the economy is recovering from the recession. The stock market is back up and high-end retail sales are up and unemployment numbers may, possibly, perhaps, might be starting to turn around. But I haven't seen any evidence that things are actually getting any better. In fact, all the evidence I've seen suggests things will only be getting worse.

For instance, in December 2010 the Secretary of Energy announced that DOE employees and DOE contractors (which I fall into) will have a pay freeze in effect until January 2013. That means my income is not likely to change. However, since December 2010 all of our expenses have gone up not insignificantly.

Gas prices here are nearing $4 a gallon and all expectations suggest that they will continue to rise. In December, they were around the $3 per gallon mark. So we have to absorb a 33% (and possibly higher) increase in gas prices with no possibility of wage increases.

We don't have cable or satellite television, but we do have a Netflix subscription. The price of the same Netflix plan increased from $9 to $11 per month—a 22% increase for the same service.

Our Internet connection increased by $5 per month with no upgrade in service—a 14% increase.

Food prices have been steadily increasing over the last several months. For instance, a head of lettuce used to be about $1.50. This week I decided not to buy it because the lettuce was up to $3 a head and the heads were probably about 2/3 the previous size. I understand there is apparently a nationwide lettuce problem, but in a more general nature we used to get by on about $80 per week in groceries, but the last several weeks have been closer to $100.

Now, this isn't to say that we're struggling. We're still very blessed to be able to put the same amount of money into savings each paycheck and contribute to our retirement account at the same level we have been. But we are having to make some adjustments to maintain the balance. We've been doing a lot better about not eating at Panda Express as often as we used to (within walking distance, so tasty, so hard to resist). And the Social Security payroll tax reduction that went into effect in January has also helped soften the blow of rising prices.

But all the pundits that keep pretending things are getting better don't seem to be living in the same world as us. We're not going to be increasing our spending on non-essentials so long as necessities keep going up in price. Of course, Netflix is a luxury we can live without (and we're paying for it out of our luxury spending), but Internet access is very close to essential these days, and I don't like having to sacrifice fresh produce (I like lettuce on my sandwiches and tacos!).

Book Reports - Non-Fiction

March 6, 2011 3:46 pm

I've been on another non-fiction kick lately. Here are the most recent books I've read:

The Man Who Lied to His Laptop - Clifford Nass:
I really enjoyed this one. Nass has spent his career studying human-computer interactions and then using computers to help him study human-human interactions. Very well written. One area he and his team researched was why everyone hates Clippy so much (that stupid paper clip in Microsoft Office that tries to help you). He also worked on a project to improve Clippy's image. He found the most effective way to get people to like Clippy was to have Clippy insult Microsoft anytime something went wrong. This put Clippy on the same side as the user instead of against the user. Users loved it, but Microsoft didn't end up using that idea. There are many other fascinating insights all backed up with extensive research.

Raving Fans - Ken Blanchard & Sheldon Bowles:
This one I didn't enjoy nearly as much. I was hoping for a similarly data-driven approach but was disappointed. Instead it's written as a matter-of-fact narrative. There are no cited studies to back up their claims. I like the ideas they present, but they simply provided no evidence that they're legit. It's about improving customer service but they never address the fact that all of their suggestions cost money and unless the better customer service brings in enough additional money to cover the costs it's not going to work. I can see it as the kind of book your stereotypical MBA would get excited over.

For Better - Tara Parker-Pope:
This book was recommended on the GeekDad Blog. I found it quite interesting. It follows my preferred model of heavily citing studies that back up the claims being made. It begins with an overview of current trends in marriage success. Namely, marriages are far more successful today than many people believe. People like to kick around "50% of marriages end in divorce," which ostensibly is still mostly true, but not nearly true for all demographics. When broken down by demographics you see that many common groups have a greatly reduced risk of divorce compared to others. The book goes over risk factors and warning signs and provides evidence-backed suggestions on changes that can improve your relationship.

One interesting point is that a lot of the troubles they cover stem from husbands and wives who expect to maintain the same life they had before marriage afterwards and when raising children. They both want to keep working full-time and going out at night and such and for a lot of people things completely fall apart when they have children and realize that they might have to adjust their lifestyles.

Another major trouble for many people is financial arguments. But the authors point out that financial arguments are rarely about finances and almost always about overall values and the financial arguments are just a symptom. You probably wouldn't be arguing about how money is spent if you both had the same goals in life.

How Risky is it, Really? - David Ropeik
I enjoyed this one too. Ropeik does a great job covering the neuroscience behind threat response. I found the discussion fascinating, though frustrating. He talks about the things that contribute to threat responses, but mainly admits defeat when people over/under-react. Ropeik suggests that once it comes down to it, someone who has over/under-reacted to a threat won't change their opinion unless they are honestly interested in adjusting their attitude to more closely match reality. Regardless, it still provided interesting insight into why Americans are still afraid of nuclear power despite the long safety history and other improvements compared to other fuel sources (and many other society-wide issues). He also provides some guidelines of steps you can take to better understand a threat to prevent yourself from over/under-reacting.

NurtureShock - Po Bronson & Ashely Merryman
This is probably my favorite out of this bunch of books. I also found it via the GeekDad Blog. It discusses a whole slew of aspects of the current understanding of child development. With 62 pages of citations at the end of the book, it's well documented and based on empirical studies. I definitely recommend it for anyone interested in the subject matter. I'll just go over a couple of the most interesting things.

One of the most interesting things was the studies of the effect of praise on children's motivation. It basically boils down to the idea that children who are unconditionally praised for being smart (or other inherent qualities) have their internal motivation destroyed. Because when they fail at a task it must be because they weren't smart enough (or other inherent quality). However, children who are praised on their effort and work ethic are far more likely to continue working on difficult (even impossible) tasks. They believe that their lack of success is due to a lack of effort rather than inherent failings which they can't control. This discussion all occurs in the context of the self-esteem society that was so popular in the 90's. An entire generation of children being told unconditionally how special and great they were, basically resulting in an entire generation of adults who don't like working on things that are hard. I guess growing up with a bunch of siblings who made sure you never thought too much of yourself has some benefits.

Another chapter that I found really interesting was about teenage sleep patterns. So, melatonin buildup is a big factor in what makes us feel sleepy. When it gets dark outside melatonin begins building up in our brains and we get sleepy. However, for teenagers, the melatonin buildup doesn't start until 90 minutes after it begins for adults and children. Meaning, chemically speaking, teenagers aren't tired until 90 minutes after adults. This is a major factor in why teenagers stay up later at night. The flip side is that the melatonin production continues later in the morning and is a factor in teenagers feeling sleepy in the mornings more than adults.

Here's where it gets more interesting. Several school districts in the country have used this information to guide their school start times. They've pushed back the high school start times by 90 minutes and the results were incredible. Truancy rates dropped, grades went up, SAT scores went up, the number of fights dropped, and aggressive behavior dropped. Basically, everything got better and has remained at those elevated rates ever since the start time change. Yet, most school districts still haven't adopted these changes.

I definitely recommend this book to anyone interested.

The Smart Swarm - Peter Miller
I didn't enjoy this one quite as much as I could have, but it still had a bunch of interesting things in it. The author makes a couple of dubious conclusions in some places, but overall it's a great discussion. I learned about how ants cooperate, how bees find new hives, how termites build their complicated mounds, why starling flocks and schools of fish move the ways they do. Those were all really interesting. The other aspect of the book is applying those studies to human behavior, computer/robot designs, and other places where large complex systems interact. It's interesting to read about how scientists and engineers have used these studies to improve telephone networks, industrial chemical production systems, delivery systems, traffic flow, and other complex problems.

Grails war error: codecOut.print(())

February 28, 2011 12:44 pm

Just stumbled upon this after upgrading to Grails 1.3.7. One of our gsp pages had an empty code block in it "${}" which was causing this error when trying to build the war. Running the app locally had no problems and Grails 1.3.4 had no errors when building a war with this empty code block, but Grails 1.3.7 did. Since there's nothing on the Internet about this little annoyance I'm putting it here so someone else seeing that error in their console knows what to look for.

Just to put the information in one clean place:

When trying to build a war, I got an error pointing to "codecOut.print(())" as failing. The culprit was an empty code block in one of the gsp files. That is, in one of the gsp files this occured: "${}". Clearly, someone forgot to fill in a value. I filled in the correct value and the war built without issue.

The Hunger Games Trilogy

February 22, 2011 8:54 pm

Jess got The Hunger Games trilogy for Christmas. She read them sometime last month and I read them this past week. I was quite impressed. I was a little skeptical at first since the series has been getting a lot of attention. And it seems that oftentimes things that are highly popular tend to pander or don't have any depth. For instance, the Harry Potter series was highly overrated in my opinion, especially since the writing was only mediocre until book 4 (when it improved dramatically).

Anyway, I thoroughly enjoyed the Hunger Games series. It definitely was not formulaic. The analogy I thought of was that the Hunger Games is to Harry Potter as the Daniel Craig Bond movies are to the Pierce Brosnan Bond movies. That is, when Pierce Brosnan was Bond he was basically untouchable. The perfect hero who can get through anything without so much as a scratch. While the Daniel Craig version takes a lot of damage. Sure, in Harry Potter there's plenty of trouble for side characters, but Harry, Ron, and Hermione all end up basically undamaged and triumphant in the end.

The characters in the Hunger Games series are definitely worse for wear by the end.

The storyline is excellent and really drew me in. I had no problem reading for several hours at at a time.

In short, I really enjoyed the series. So I recommend them to anyone who likes stories based in future dystopian societies.

Valentine's Day

February 21, 2011 11:17 pm

IMGP4219Valentine's Day this year was fairly standard. I always find it humorous to see the guys dressed like thugs trying to act tough while they're waiting in line with a bouquet of flowers and a box of chocolates at the grocery store.

Surprisingly, Livermore has more than 1 (and at least 3!) gourmet cupcake stores. I decided to give one of them a shot and ordered a half-dozen gourmet cupcakes for Jess. I brought them home at lunch, along with some flowers. There were 3 vanilla and 3 chocolate cupcakes. The chocolate ones had a cream filling. They were very tasty. Jess happened to like the vanilla more than chocolate and I liked the chocolate more than vanilla, so it worked out well.

IMGP4206For dinner we went to the Cheesecake Factory. We knew it was going to be busy, but it was busier than I expected. We got there around 6 and there was already a 2-hour wait. But, it's located at the mall, so we just spent the time wandering around the mall. The food was good and we, of course, each ordered a slice of cheesecake to take home and eat once we weren't completely full.