The head monkey at Paris puts on a traveller's cap, and all the monkeys in America do the same. -Emerson on fashion
 
May 31st, 2002

Puzzler

OK, a puzzler for you webmaster types (spoiler below).

So I get a call from my a client that two of their people were having trouble logging into the alumni database. I tested these people’s logins in every browser I had handy and they worked fine. No one else was having problems logging in. I went to the job site and sure enough, I couldn’t log in as anyone from two machines, both running IE6. Javascript was enabled. Cookies were enabled. What the heck was going on?

The site uses HTML hosted on a virtual domain at earthlink and database data coming from phpwebhosting.com, all married together in a frameset. Login authentication is handled via PHP sessions.

So why weren’t any logins working from IE6? Give up? This one took quite a while to figure out.

[ ... spoiler ... ]

First of all, PHP sessions are really just a simplified wrapper for a specialized form of cookie. So start with the realization that cookies aren’t getting planted even though cookies are enabled in the browser.

IE6 has a cookie tolerance slider that defaults to Medium. On the Medium setting,

“Internet Explorer prevents Web sites from storing third-party cookies that do not have a compact privacy policy or that use personally identifiable information without your explicit consent. The browser also prevents Web sites from storing first-party cookies that use personally identifiable information without your implicit consent.”

Compact Privacy Policy:

http://www.microsoft.com/windows/ie/using/howto/privacy/config.asp

Ah. So now I have to find out how to implement a compact privacy policy. Jeezis christ. See also:

http://www.w3.org/P3P/

and

http://news.com.com/2100-1023-268478.html?legacy=cnet

And finally, I find the deployment answer in a PHP forum. This affects me because the site is pulling HTML and PHP/data from two different sources:

“MSIE 6 has an inaccurate definition of third party cookies. If your domain is hosted on one server and your PHP stuff is on another, the IE6 P3P implementation considers any cookies sent from the second machine “third party”. Third party cookies will be blocked automatically in most privacy settings if not accompanied by what MS considers “an appropriate Compact Policy”. In order to make this new piece of tweakable garbage happy I’d suggest you’d par exemple send

header(‘P3P: CP=”NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM”‘);

before sending your cookie from your second machine. This header enables your cookie to survive any privacy setting.

So in the end I went to privacycouncil.com, filled in the wizard, which generated a CPC similar to the one above, and started sending it in the header of auth.php.

What a huge hassle. And I shudder to think how many sites this going to affect. There’s a good intention behind it, but it’s virtually useless, since you can virtually make up the privacy policy (it doesn’t have any necessary bearing on ACTUAL privacy) and meanwhile, it’s going to make a hell of a lot of sites inaccessible.

May 31st, 2002

A.V. Club

Re: credibility of the Tom Waits interview below – theonionavclub doesn’t appear to be satirical at all – rather an offshoot of theonion. My theory is that they’re just expanding on the brand – reaching for the same audience with more than just humor. Seems like a pretty good site. Smaht kiddies.

May 30th, 2002

Soviet Propaganda

Ack packet via : Fantastic Tom Waits interview.

May 29th, 2002

Chicken Head

Give a man a chicken head and he eats for a lifetime.

chickenhead
as he appeared with the rubber chicken head I made him wear for his starring role in Visit To A Sad Planet.

chickenhelmet
With principal shooting complete, the chicken head had nowhere to go and nothing to do. So our hero cut it in half and gummed the business end to his motorcycle helmet.

Ladies, admit it – you want to date this man. Serious inquiries to .

May 28th, 2002

Gracenote Database

There’s so much conflicting data out there on whether or not MP3s and digital music distribution affect CD sales, but this is a first : Eminem’s as-yet-unreleased CD is currently the 2nd most popular CD being stuck into CD players, according to Gracenote. Also interesting that Gracenote can track popularity of CDs being played regionally (presumably by mapping IP addresses to geography). Not that I feel sorry for Eminem, mind you, but anyone who insists that digital music means more record sales has to take this picture into account.

May 28th, 2002

Momovelo

Came across the most unusual bicycle shop today – a little hole in the wall in a hallway mall that connects Bancroft and Channing. Outside was a bright orange road bike with that really “straightforward” style like the bikes in Holland. Turns out it was Swedish – Europeans right now are apparently going nuts over mid-century bicycles, or resurrections of them. Next to that bike was a grayish purple Japanese road bike – again super “normal” looking, but also really clean in a form follows function sort of way.

Turns out the proprietor had this vision of filling Berkeley with thousands of used Japanese and European road bicycles. The bikes have really long lifespans, but most Europeans and Japanese want to replace their bike every couple of years just for the hell of it, like computer upgrades. So zillions of these things sit around in landfills, available so cheap they’re almost free.

The guy had a good job at IBM and had saved up a bunch of money. He didn’t need any more money. He needed to see Berkeley have access to good bikes for cheap. So he started up this business importing used road bikes and selling them for less than it cost to import them. What a cool guy – his name is Kai, the place is called Momovelo. Wish there were more Kais in the world.

May 25th, 2002

Thunderbirds Are Go!

Stayed home sick Thursday – clogged head, cloudy thoughts, generally achy. Found “Thunderbirds Are Go!” videos at the video store, rented a few. Wow wow wow! These are so good. Sci-fi stop-motion puppet supercharged rescue action, filmed in “Supermarionation.” Tremendous attention to detail, super-stiff dialogue:

Stewardess: “It’s the maiden flight of the new atomic-powered Fireflash.”
Passenger: “Isn’t that the new aircraft that flies six times the speed of sound?”
Stewardess: “That’s right, but don’t worry: it’s perfectly safe.”
[Cut to: interior, Fireflash landing gear, a device clearly labeled "Auto-Bomb Detonator Unit"]
Sinister bad guy (talking to himself for no readily apparent reason): “Perfect. Enough explosives to smash the Atomic Reactor.”

This stuff was made in ‘64, I should have seen it as a boy but didn’t – we didn’t have TV through most of my childhood. Don’t want to deprive our kid of this though – want to buy all 36 episodes, but the DVDs are expensive. Amy loved watching these as much as I did – they’re visually gorgeous.

May 21st, 2002

Windows a Threat to National Security?

eWeek reports: “A senior Microsoft Corp. executive told a federal court last week that sharing information with competitors could damage national security and even threaten the U.S. war effort in Afghanistan. He later acknowledged that some Microsoft code was so flawed it could not be safely disclosed.”

I also loved how Allchin tried to make the point that Sun, by encouraging Java use, is discouraging interoperability. Orwell would be proud.

May 21st, 2002

Boonga Boonga

I have no words for Pokey Man. Or the accompanying Chimgam.

May 21st, 2002

Marker

Remember when audiophiles went nuts about the fact (or claim?) that you could improve the fidelity of audio CDs by drawing a ring around the outer track with a green marking pen? The practice has returned, but for different reasons. Now it’s being used to defeat CD copy protection.

May 21st, 2002

Head Cold

A small sub-group split off one of my mailing lists recently — half a dozen people talking about music. Within a few hours we found this chemistry between us. By the end of the first day we had generated more than 100 messages between us. On the second day there were even more. It turned into this flood of rants on music, culture, collections, old girlfriends, having kids, lives of obscure musicians, computing arcana, server configuration…. Can’t stop reading or writing. Don’t have time to, but can’t pull myself away. It can’t go on like this. It’s like an explosion of words from all of us simultaneously – we just struck a vein with each other for some reason. Exhausting.

Almost finished with the SKSM database. Need to wrap up the final freelance obligations in the next month or so so we can start prepping the baba’s room. Also wrapping up the Alumni database at work – has been on the back burner for a long time, but making huge headway lately. Feels good. And finally got Cecilia’s Win2K install squared away (though I missed the SF Documentary Film Fest last night because of it).

Hilarious: Things my girlfriend and I have argued about. The thing that occurred to me after reading this for a while is the fact that the two of them are actually very much in love. It’s a screwed up dysfunctional kind of love, but I really don’t think they hate each other. Note: Amy and I argue like anyone, but we are *not* like this couple.

Birdhouse just got a really favorable mention in the Utne Reader’s Web Watch.

Surprise May rainstorms over the past couple of days – kind of nice.

Uh oh – feeling the beginnings of a head cold this morning.

May 19th, 2002

Motörhead

Friday afternoon decided last minute to go with Mike and Cleve to see Motörhead in the city. I’ve never been a metal-head at all, but this is a band I’ve somehow learned to respect without ever owning any of their records. They’re like the progenitors of the entire speed / metal / thrash / lineage. Even though I haven’t heard much, I’ve always known that theirs is very pure music – absolute rock with no silly metal trappings or pretense. The weird thing is that Motörhead sits in the middle of this sea of bands that are all about pretense – big hair, satanic or christian mumbo jumbo, really bad lyrics, really bad cover art … the whole Spinal Tap trip, but without the irony.

We show up at 3rd and Townsend and the place is swarming with black leather and chipped black fingernail polish. Pop a few vics and get in line, get frisked, get inside. The smell of hair care products and stale beer fills the air. Righteous. T-shirt vendors everywhere. The whole metal scene is all about the t-shirt – hardly anyone there not wearing some band’s shirt – and it’s uncool to wear the shirt of the band you’re there to see – it’s got to be the shirt of the band that the lead singer of the band you’re there to see was in in the early 80s or something. So there are all these shirts of obscure, half-baked metal outfits from 15 years ago. And every stand has like 10 designs. Found a Motörhead shirt that says in big gothic letters on the back, “Everything Louder Than Everything Else.” The classic original Motörhead design on the front. Can’t resist, buy one, now part of the machine.

Four bands on tonight. “Speed Demon” are clearly lying – half of them are too huge to be speed freaks. And they sound like parodies of themselves – close your eyes and you really are at a Spinal Tap show. Next up “Today Is the Day,” which sounds all nice and rosy until you realize they basically mean “today is a good day for an apocalypse.” So they’ve got something in common with your Revelations-reading grandmother, except your grandmother probably isn’t wearing a shirt that says “Kill or be killed” across the front. The singer shrieked relentlessly, totally unintelligible. The drummer defined new levels of posession – played with his eyes rolled back in his head (freaky), throwing his entire weight onto the kit, sweat splashing everywhere. Seemed like he would take a drumstick and start stabbing the heads at any moment. Amazing, but kind of pathetic too.

“Morbid Angel” was the next band – what an idiotic name. Total reliance on that double-bass drum sound Metallica pioneered – 30 minutes of hammering 1/64th notes. Vocals over that were all a single low note – lame attempt to sound satanic. Gimme a break. So much intensity from these bands, but so much of it doesn’t seem sincere. Well, this is the day’s sounded kind of sincere, but the other bands didn’t – more about the shtick. Popped another vicodan, bought another beer. If we’re going to be here, better get into the right frame of mind for it.

A total relief when Motörhead came on. All the pretenses ditched – still a super-high level of intensity, but – my god – there were actual songs buried in there somewhere. And – shocking – some actual pyschic communication between the players – cohesion, kung fu. Sounded so fscking great, totally exhilarating. To enjoy this, you have to just drop all your associations about the metal scene and all of its negative associations, and give yourself over to the purity of it. It’s like racing through the hills on a motorcycle, playing with the edge, hanging on but just. In total control, but knowing that if they took it one level higher the whole thing could fall apart. Incredible.

Lemmy is in his 60s – beautiful to see a man that age up there rocking that hard. Best cockney accent: “I’m not just a little deaf, I’m totally f*cking deaf! Is it loud enough for you out there?” I wore earplugs through the whole thing, but removed them for their unbelievable cover of the Sex Pistols “God Save the Queen” and again for their Ramones cover (forget which song). And again for “Ace of Spades.” Ears ringing pretty badly today. Not sure if that’s because I took the plugs out a few times or whether it was just loud enough to do ear damage right through the plugs. Hard to say.

Motörhead rocks. Great to see Cleve again too (lived with him in the early 90s). We should hang more often.

Kind of hung over today, but went to breakfast in Point Richmond with Chris and Amy, then kicked around on Solano ave. Checked out some birthing classes – we’ll get started on those soon. In the afternoon went to a matinee of Lantana, which was very good but not what we had expected. Ah well. Rented “Made” (by makers of “Swingers”) and watched in the evening. Down-time day. Tomorrow back on track with all the crap piling up.

May 15th, 2002

Propaganda

Some Apple reps came to campus to talk to departments about OSX rollouts over the summer. Looks like Jaguar is going to make a lot of the things we want to do a lot easier (e.g. integration with active directory, windows file sharing, etc.). But it’s also probably going to come later than we want/need — we want to start our OSX upgrade in the next few weeks, but Jaguar probably won’t be ready until the students are almost back. They didn’t give exact dates – just floating hints.

Watched the QuickTime stream of Job’s introduction of Xserve for the rest of the afternoon. Maybe it’s just as well that I got strong-armed into hosting the jschool site on a Windows box six months ago. Now if the topic ever comes up again I can lobby to do it on an Xserver.

Nothing like shooting an entire afternoon guzzling the sweet nectar of apple propaganda ;)

May 15th, 2002

Mesh

To add a unique password to every record in a 2,000 row database:

- generate list of random passwords (posted about that a few weeks ago)

Write short script that:

- reads every ID in database into an array
- reads every row in the password list into an array
- for every item in the ID array, do a SQL UPDATE with a corresponding element in the password array

The gears of two tables mesh like clockwork. Two thousand rows update in less than a second. I smile and go home.

May 14th, 2002

tshirts

Recently discovered that my original Meat Puppets tshirt from around 82 or 83 is still intact. Too tight to wear now, but that’s okay. Guess I’ll just have to keep it around forever ;)

I only have two of the shacker tshirts. Should probably have more.

Some pretty interesting / inspiring words on gumptionology.

Spending a lot of time helping out students with their final web projects over the past few days. End of semester panic mode. I’m actually enjoying that.