My Little Corner of the Net

Staging/Production switch for RIT websites

Sometimes I use this blog as a way for me to store tips and hints that are helpful to me in a place where I can always find them. My general feeling is that, if its useful to me, it might be useful to someone else, too, so I publish it. This is one of those times.

The RIT web hosting environment consists of four server environments (five if you count people.rit.edu): www, www-staging, apps, and apps-staging.

Developers use the two staging environments to build their sites and then use webman to move things to production when they’re ready to launch. When I’m working on a site (or troubleshooting someone else’s), I find myself having to switch between staging and production frequently. To assist, I created this bookmarklet that switches the current URL on www or www-staging or apps and apps-staging.

Staging <-> Prod

If you’re an RIT web developer, drag the above link to your bookmarks toolbar or right-click on it and select “Bookmark this link” (or whatever equivalent your browser of choice uses). Then just click the bookmark and watch. I use it frequently in IE 7 and Firefox 3.5. I believe I’ve also used it in Safari and Opera. If you find a browser it fails in, let me know and I’ll try to fix it.

Thanks to whomever at ETCwrote the original version of this that I stole improved upon.

Not at RIT? Feel free to modify the JavaScript to work with your servers. If you need a license to do so, then this code is licensed under the WTFPL or the MIT license. Your choice!

The Conedom

The recent Daily Show coverage of Rochester and the Toy Hall of Fame made me think of this classic story, also from Rochester.

It’s weird seeing the old local new coverage at the end, too. Channel 13’s old set looks so ancient compared with the one they have now.

Jon Stewart Looks at Children’s Things in his Windowless News Van

Jon Stewart lambasted the Strong Museum of Play‘s Toy Hall of Fame on The Daily Show last night for taking 11 years to induct the ball. We Rochesterians evidently have our heads stuck in our Garbage Plates.

The Daily Show With Jon Stewart Mon – Thurs 11p / 10c
Windowless News Van for Kids – The Ball
www.thedailyshow.com
Daily Show
Full Episodes
Political Humor Health Care Crisis

Gotta love The Daily Show!

Apparently you can get there from here…

One of our students in the lab mentioned today that Google Maps provides “driving” directions to Hawaii. My ADD kicked in and I, of course, had to try it out for myself. A search from Rochester to Honolulu gives me clear directions from somewhere on Main Street in Rochester to Beretania Street in Honolulu, by way of the Seatle, WA. The trip, it says, will take me a short 15 days, 22 hours.

Google Maps clearly shows that it is possible to drive from Rochester to Honolulu...or does it?

Google Maps clearly shows that it is possible to drive from Rochester to Honolulu...or does it?

How is this possible? Last I checked, there was no bridge and I’m not aware of a ferry service, though I suppose there could be one—but it would be an awfully slow boat give the 16 day trip Google reports.

A closer look at the actual directions reveals the answer. Just drive to Puget Sound, then jump into your kayak and paddle a reasonable 200 miles a day for the next two weeks. That’s only a little more than 8 miles an hour if you paddle non-stop, 24/7.

Google proclaims that we should  "Kayak across the Pacific Ocean" for 2,756 miles.

So why is Google doing this? Is this some kind of Easter Egg or is there some other significance? And why Puget Sound? I sure there are much more direct routes to Hawaii than going north through the sound before turning south in the ocean. I’ve tried searching Google to find out more, but nothing seems to be coming up.

Post Number 100

As I was doing some long-needed work on this blog, I noticed that the last post I made was number 99. So I decided I needed to post a celebratory 100th post.

The first post on this blog occurred on July 18, 2003. That means I’ve been blogging for just under 6 years. For the first year and a half of this blog I was using software I was developing myself, but I switched over to WordPress about 18 months later because it (even back then) was a million times better than what I had. Since then I haven’t looked back.

OK, I know you’re thinking it…100 posts in six years…that’s only 16-17 posts a year! Yep…I’m a pathetic blogger.

<