Saturday, December 24, 2005
Mixmania! The Holiday Mix!
- Halloween - Dead Kennedys
- Thanksgiving In Reno - Too Much Joy
- The Twelve Gifts Of Christmas - Allan Sherman
- Christmas Blues - Big Joe Williams
- Christmas Time - Bill Cosby
- Merry Christmas Baby - Charles Brown
- Christmas In The Caribbean - Jimmy Buffett
- Father Christmas - The Kinks
- Christmas Morning - Lyle Lovett
- Merry Christmas (I Don't Wanna Fight Tonight) - The Ramones
- The Night Before Christmas (Hey Baby) - The Rave-Ups
- I'm Gonna Kill Myself For Christmas - Trout Fishing In America
- Santa Claus And His Old Lady - Cheech & Chong
- Santa Baby - Eartha Kitt
- Son of Santa - Mojo Nixon & Skid Roper
- Santa's Beard - They Might Be Giants
- Chanukah Song Pt 2 - Adam Sandler
- Happy Christmas (War Is Over) - John Lennon
- Christmas In Prison - John Prine
- Jolly Old Christmas Time - Weddings, Parties, Anything
- New Year's Eve - Nina Gordon
- New Year's Day - U2
- Happy New Year - Lightnin' Hopkins
Wednesday, December 21, 2005
Wednesday Kid Blogging
This is actually a test to see if I can make a post appear at a later time. I'm supposed to post my Mixmania! The Holiday Mix playlist on Christmas Eve, but I'll be away from the computainment center and won't be able to actually do the typing that day. Here's hoping it works. I'm going to try to have it post today (12/21) at 0950.
Update:OK, so that didn't work. All it did was fake out the posted time, without actually delaying the post itself. Dang.
Tuesday, December 20, 2005
Here's The Thing...
If we really want to fight terrorism (A debatable proposition for the current administration (Osama Who?)), then the last thing we need is even more worthless information decreasing the signal to noise ratio. We need people to act on the good information that pre-9/11 law is capable of producing.
Friday, December 16, 2005
Friday Random 10
- Bathtime/Hide And Seek Dumbo Soundtrack
- Intro - I Can't Believe That You're in Love with Me Keith Jarrett Trio
- Walks The Streets Clorox Girls
- Fourthly King Missile
- Get Your Shit Together Beth Hart
- One Of These Things First Nick Drake
- Holiday In My Head Smash Mouth
- Grohg: Dance of the Opium-eater Cleveland Orchestra, Oliver Knussen
- Born In The 50's The Police
- I Got You Dwight Yoakam
Thursday, December 15, 2005
Javascript Weirdness
var theButton = document.createElement("button");If you do that you get your button, assuming you remembered to add it to the DOM somewhere. But when you click on it. It just doesn't work. No matter what you do, the xmlHttp.status you get back when the server routine prints its output is always always always undefined. This makes no sense to me. If you look at the Javascript console in Firefox the error message starts with "Component returned failure code 0x80040111" with some other gobbledy gook after that. Safari just reports xmlHttp.status as undefined. Now here comes the weird part. If instead of creating your button on the fly, you hard code it into the HTML
theButton.appendChild(document.createTextNode("Click Here You Big Silly"));
theButton.onclick = function () { respondToTheClick() };
<input type = "button" value = "Click Here You Silly" onClick = "respondToTheClick();">(and since you obviously only want it available sometimes otherwise you wouldn't be wanting to create it on the fly in the first place) and put it in a div element that is set to display:none which you toggle to display:block when you want the User to see the button, the button works like a charm and the returned xmlHttp.status is 200 just like you want it to be. Weeeeee!
That was a large part of yesterday morning. Googling the Firefox error message fragment I quoted just gets you a bunch of people saying "hmm... it's a bug in Firefox. Maybe they'll fix it soon."
So there you go AJAX people, use hardcoded buttons and hide them until you need them.
Wednesday, December 14, 2005
Snort
Tuesday, December 13, 2005
Still Losing? Yup.
Lance Cpl. Jeremiah K. Barr of King, N.C., a fiscal clerk currently serving his country with Quick Reaction Force, Provisional Rifle Company, Headquarters and Service Battalion, 2nd Marine Logistics Group (Forward), sings and plays the guitar here during his spare time.For those of you wondering, the web site is United States Marine Corps Image Archive. It is a site that shows pictures taken and submitted by Marines to document what it's like being a Marine. But if you check the URL it's a usmc.mil address, so the pictures are approved by someone official before they get onto the site.
So why is this caption an indication that we're losing in Iraq? Well I'm glad you asked, Internets. Check out to what unit our friend fiscal clerk Lance Corporal Barr belongs. That's right it's the Quick Reaction Force, Provisional Rifle Company. The operative items are 'fiscal clerk' and 'Provisional'. That means that Lance Corporal Barr is supposed to spend most of his time in some HQ unit driving Excel spreadsheets. But instead of doing that he is assigned to a Provisional Rifle Company. A Provisional Rifle company is what you get when you're running short of infantry and you round up clerks and cooks and truck drivers and form them into a temporary (dare we say Provisional?) infantry unit. Now I admit that every Marine is a rifleman, it's part of their mythos, but giving fiscal clerks rifles is not the action of a military that is on the upswing in their operations.
Monday, December 12, 2005
Safari Weirdness
<input type = "button" value = "Get Sample Info" onClick = "doGetSampleInfo();">The one on the right was generated using Javascript manipulation of the DOM
var button = document.createElement("button")Do you notice anything strange about the pair of them? That's right, the first is a pretty Aqua button like you expect to see in Safari. The second is an ugly rectangle that looks goofy next to its sibling button. Firefox uses only ugly buttons so they match in that browser. Opera is smart enough to use the pretty button in both cases. C'mon Apple get with the program.
button.appendChild(document.createTextNode("Edit Sample"))
sampleDiv.appendChild(button);
Oh and you could also notice that the text on the pretty button is set via
value = "Get Sample Info"inside the button tag. The text on the Javascript-generated button is set something like this:
<button>Edit Sample</button>If you try
button.setAttribute("value", "Edit Sample");or
button.value = "Edit Sample";which seem like they should generate the same DOM entry as the vanilla HTML, you get a miniscule button with no text. Why is that internets?
Look! I'm being oppressed!
Here's the amazing part: the suit isn't about biology. The actual bones in contention are a humanities classes. I was completely unaware that the CHRISTian view of literature is fucked up too.
Friday, December 09, 2005
Friday Kid Blogging
YA loves him some oatmeal.
Friday Random 10
- Dancing Barefoot U2
- Walked Thin Wires Ed Kuepper
- Mary's A Grand Old Name Glenn Miller
- Summertime Janis Joplin
- Let's Do It Eartha Kitt
- White Light / White Heat The Velvet Underground
- Babelogue Patti Smith
- The Hypnotist Cross My Heart
- Alarm Call Björk
- Hell Of A Hat The Mighty Mighty Bosstones
Monday, December 05, 2005
Meme
- I'm a really good cook. I'm no chef, but I can follow a recipe and for certain categories of food (eg, bread) I can start with an idea of what I want and make said thing without reference to a recipe.
- I voted for Ronald Reagan. What can I say, in my misspent youth I was a nasty little bastard. I'm over that now.
- I like guns and the shooting thereof. It may cast doubt on my Yellow Dog Democrat cred, but I can't get behind much gun control.
- I was recently given advance notice that the money for my job at UC Santa Cruz runs out as of January 20. To rephrase, I've been laid off.
- When I was just a lad my mom wanted to encourage any musical talents I might have and so signed me up for accordian lessons. So for a while there in early 70's San Diego little Hank was a Polka machine. To this day I have a soft spot for any type of music that includes accordians.
Sunday, December 04, 2005
Sunday Kid Bloggging
Friday, December 02, 2005
Friday Random 10
- They Don't Dance Like Carmen No More Jimmy Buffett
- Mile End Pulp
- You're Kind Paul Simon
- Baby's Got The Car Keys Trout Fishing In America
- I Can't Give You Anything But Love Louis Armstrong and His Orchestra
- Wide Open Road Weddings, Parties, Anything
- Dollars & Cents Radiohead
- Don't Hold Back That Feeling Andrew Pendlebury
- Blinded By Rainbows The Rolling Stones
- The Ballad Of Tom Jones Space With Cerys Of Catatonia