Ehren the Brave


My cousin Lt. Ehren Watada is facing a rough road ahead as he sacrifices himself in an effort to wake up the United States government and the silent majority of this nation.

Ehren is a brave man to choose this path when so many before him could have but didn’t. Most people our age are thinking about starting a family, buying a house, settling down. Ehren is trying to change the course of history.

But he can’t do it alone. After all, a democracy isn’t about Ehren and what he says as an individual. It’s about a nation participating as a whole to systematically determine its future course. It’s about electing moral and strong leaders who accept responsibility for their mistakes and look forward.

Ehren is doing this because our nation should have done better, could have done better when deciding to wage an all out war on another country under false pretenses. He’s doing what our leaders haven’t. He’s doing what we haven’t done.

He is saying this war is wrong and it needs to end. It’d be nice if the rest of us could do the same.

Send Ehren your support, he needs every last bit.

Enum to Int Conversion in MySQL


Thought I’d post this since it was interesting. If you convert an enum to an int (don’t ask) be aware of the following conversion:

mysql> create table foo ( bar enum('0','1') not null default '0' );
Query OK, 0 rows affected (0.01 sec)

mysql> insert into foo values('0');
Query OK, 1 row affected (0.00 sec)

mysql> insert into foo values('1');
Query OK, 1 row affected (0.00 sec)

mysql> select * from foo;
| bar |
| 0   |
| 1   |
2 rows in set (0.00 sec)

mysql> alter table foo change bar bar tinyint(1) not null default 0;
Query OK, 2 rows affected (0.01 sec)
Records: 2  Duplicates: 0  Warnings: 0

mysql> select * from foo;
| bar |
|   1 |
|   2 |
2 rows in set (0.00 sec)

MySQL will assign int values corresponding to the non-zero-index of the enum. So, after the migration/conversion you can then use:

mysql> update foo set bar=bar-1;

Or, if you had a more complex enum you could update all corresponding indexes with their correct int values. At least they remain unique so you can adjust.

SQL is fun. For me to poop on.

Drugs Rule


If you don’t live with me, you wouldn’t know that I’ve been pretty messed up lately by allergies. This year has been a particularly bad year, and I’ve been pretty much taken out by hay fever and sinus problems.

So I broke down and went to an allergist and they put me on:

  • prednisone
  • allegra-d
  • patanol
  • mometasone

And I have to say – man these are awesome. Less than two hours after my first dosages I feel normal again. No side effects (yet).

Anyway, just wanted to give props to allergy meds. They do actually make a big difference to a lot of people.

(allergy) Drugs are great!

Election Drives New Legislation


Why has our legislature magically started to show up to work?

I think a quote from my favorite over-inflated gas bag in a recent article on sums it up best:

In the closing moments of Senate floor debate last week, Specter looked ahead to the conference committee meetings and reminded fellow Republicans that midterm elections are looming.

“There is an important issue, political issue, about the ability of Republicans to govern,” the Judiciary Committee chairman said. “There is an election in November, and our leadership positions as Republicans is on the line. And I think that will weigh heavily in the conference.”

–, Bush calls for House, Senate compromise on immigration

Has white noise in the media gotten so loud that the head of the senate judiciary committee — a group dedicated to fairness and lack of bias — can openly declare that legislative decisions for the people are being decided based on personal agendas of officials elected to represent them?

Have we grown so numb that we don’t even care?

If the new bills and the timing of immigration reform, tax breaks for the rich and anti-abortion legislation around the nation, and anti-gay bills backed by conservatives isn’t enough — this should serve as at least a little warning to those of you who blindly support anything people like Specter and Frist spoon-feed you.

Please, please, try to listen and understand what is really going on, and while you’re at it, vote for anybody (from either party) who won’t be thinking of themselves when they are voting and discussing these important issues.

These laws and others like them should be decided solely based on what is right and just for the American people. They shouldn’t be stepping stones for prolonging the political careers of people with questionable motives and secret agendas.

Election-driven legislation represents the core of what plagues our government. It is another external influence injected into a once honorable profession, and threatens our freedom more than any terrorist.