Chambliss: Obama Better Show Humility In Speech To Congress | LiveWire
Archive for September, 2009
It’s not “playing the race card” when you say something is racist and it actually is.
Tuesday, September 15th, 2009Science and evidence and capital crime
Tuesday, September 15th, 2009Cameron Todd Willingham, Texas, and the death penalty : The New Yorker
Somebody linked to this a couple of weeks ago and I just got around to reading it. This is a fantastic piece of journalism. I feel guilty that I didn’t have to pay for it – it’s that good. I’m imagining the scheming going on to turn this into a movie and I’m not sure how I feel about that. Movies are generally terrible. And yet, everybody should know about this. Oh well, nevermind, read it now or save it for later like I did. And link to it.
The Bad Parts
Thursday, September 10th, 2009JavaScript: The Good Parts | O’Reilly Media
From the introduction:
“If you want to learn more about the bad parts and how to use them badly, consult any other JavaScript book.”
OK, then.
Sleep Is Wrong
Tuesday, September 8th, 2009Mind – Sleep May Be Nature’s Time Management Tool – NYTimes.com
Why do we sleep? From an evolutionary perspective there are two kinds of traits. The first is adaptive, traits that give a species abilities and behaviors that help individuals survive in order to pass along their genes. The second set of traits are side effects of the first. You get into a lot of interesting but fuzzy speculation here. For instance, did humans develop a belief in the supernatural because we dream? If so, it may be that those beliefs are a side effect of an adaptive behavior – sleeping, and dreaming – rather than adaptive in and of themselves.
The NYT gets in on the speculation in order to make use of the current buzz phrase “time management” and overachieving cult of getting-things-done (GTD). It’s kind of interesting anyway:
The answer may boil down to time management, according to a new paper in the August issue of the journal Nature Reviews Neuroscience. In the paper, Jerome Siegel, a professor of psychiatry at the University of California, Los Angeles, argues that sleep evolved to optimize animals’ use of time, keeping them safe and hidden when the hunting, fishing or scavenging was scarce and perhaps risky. In that view, differences in sleep quality, up to and including periods of insomnia, need not be seen as problems but as adaptations to the demands of the environment.
It seems obvious to me that conservation of energy during unproductive periods is the purpose of sleep. In my understanding, energy conservation is integral to evolution. Mutations have to engender really important new traits if they also result in increased energy usage. For instance, your brain requires an huge amount of energy. Because of this increased energy consumption, you need to find a lot more resources than you would otherwise. But it gives us humans a big enough advantage that the extra energy requirements make it worthwhile. It’s a trade-off. More energy requirements – think about the energy birds need to be able to fly – versus the ability to escape predators or devise solutions to feed yourself.
To be tongue-in-cheek about it – I went to bed after midnight and was awake at 5:30. That’s not a lot of sleep. But it can be explained by my need to code like a madman today to complete a task that will help me catch up on my bills. Doesn’t explain why I’ve spent the past 20 minutes writing this post. ;-)
CoC
Saturday, September 5th, 2009Speaking of symfony, I’ve found it’s “convention-over-configuration” approach a little maddening. There’s zillions of directories. Many of them have the same names but are along different paths. This one tripped me up today.
Configuration Principles in symfony
For many symfony configuration files, the same setting can be defined at different levels:
- The default configuration is located in the framework
- The global configuration for the project (in config/)
- The local configuration for an application (in apps/APP/config/)
- The local configuration restricted to a module (in apps/APP/modules/MODULE/config/)
Yes, three levels of config folders on top of the default (which is hidden deep inside of /lib where it belongs). That’s a good thing in that it allows for a lot of modularity and module-specific behaviors. But it’s a bad thing when you edit the file at the wrong place in the hierarchy as I did today. SVN helped me bail out of that particular fuck up.
I like the CoC approach – not being a trained programmer I do things intuitively and defining conventions is a very intuitive approach. Just takes a little pattern recognition to see what’s going on. Humans are good at that. The flip side is that convention over configuration is a my way or the highway proposition. If you don’t like it you may want to keep hacking your own code or maybe use Zend Framework which is not convention-driven.
So, I’m hanging in there with symfony after two days. It’ll probably take a month before I either jump all in or give it all up. We’ll see which.
Doctrine ORM
Saturday, September 5th, 2009Doctrine is an Object Relational Mapper for PHP. I’m new to this so correct me if I’m wrong – an ORM allows you to interact with databases on a purely objective level. I finished Day 5 of the 24 day symfony tutorial today and had my first exposure to this. Symfony is object-oriented through and through. Tying it to an ORM keeps everything in the realm of objects. That’s attractive but it also means, you know, a high level of abstraction. So it can be a little mind bending. But, I’m game. I’m tired of writing stuff that is just driven by constant data retrieval and iteration through records. It may be nice to have things more encapsulated and just sort of… always on.
Petition for the Public Option
Friday, September 4th, 2009My message to President Obama:
The public option isn’t a pie-in-the-sky proposal – it’s the most pragmatic approach we have to fixing the crisis in health care. It’s not about left or right, it’s about what works. The only way to introduce competition into the health care marketplace is through the public option.
I donated, volunteered, and voted for you because I believed in your ideals and in your ability to get things done. Let’s get this done.