Scripting News

Scripting News, the weblog started in 1997 that bootstrapped the blogging revolution...

A classic example of gender humor

A picture named hisAndHer.gif

8/24/2013; 6:00:44 PM

More Breaking Bad

Spoilers spoilers spoilers we got spoilers! Do not read if you've not watched all of Breaking Bad! You have been warned.

I'm continuing to work my way through all of Breaking Bad, it's so much better than I remember, though there are sections that are just incredibly tedious. I mean why don't they just kill Walter already and cut their losses. The guy is such a huge paranoid pain in the ass. But he does get Gustavo Fring, better than anyone else.

I identify with Walter in some ways. For example, I think I had a great meth lab going at Berkman in 2003 and 2004. (An analogy of course.) I wonder what would have happened if instead of cutting out after two years, we had doubled-down and built the academic development organization I hoped to create with grants from the tech industry.

Anyway, it's great to watch with the cliffhangers voided of their power since I know how everything is going to turn out.

8/24/2013; 10:20:06 AM

Redirecting from an S3 file

Update: Problem solved in the comments. Thanks!!

I'm having no luck trying to redirect from a file stored in an S3-hosted website.

I've tried doing it through the website interface, but I get a dialog saying Sorry you were denied access to do that.

I'm pretty sure I have the permissions set to allow me to do anything I want to the file in question. That appears to be a dead-end.

Then I tried doing it with a script.

I set the metadata for the file.

The attribute I set was this: x-amz-website-redirect-location.

I set it to point to

It worked, as you can see in this screen shot.

However when I try to access the file, it does not redirect.

The docs, as usual with Amazon, tell you everything in a weird order and use foreign (to me) terminology. As usual I try to muddle along. I read all the discussion threads I can find, and see that other people are confused, but they seem to eventually get it to work, but don't leave behind anything useful to me. When I get to this point I usually write a blog post and ask if Scripting News readers have any ideas for me to try out.

Here's a test file. As far as I can see it should redirect.

Now the usual question -- wtf am I doing wrong?

8/24/2013; 9:09:36 AM

It's even worse than it appears. © 1997-2013 Scripting News, Inc.