The more things change…

…the more they stay the same. Well, hopefully so.

I’ve been making some changes to the web pages – moving stuff around, rewriting php, that whole deal – mostly centered on making sure things continue to work. I’ve been chasing down 404 errors (“Page Not Found”) which either mean that I moved something and someone later asked for it, or someone for some reason asked for something that didn’t exist. The latter being harder to discover – I don’t know whether I had a bad link on one of my pages, or someone manually typed in a bad link. Sometimes they (y’all) are trying to get to directories manually – for example, so they can see all the pictures in the pix directories. Or trying to exploit Windows vulnerabilities (as the High School saying went, “psyche!”, or something to that effect…)

All I see on my end are their IP address and the pages they were trying to get to (as well as some browser info and other crap). Sometimes I think it’s really too bad you can’t track users back to an email address; on the other hand, I don’t really want the people whose pages I’m visiting to be able to track me down, either.

Pictures, Pictures Everywhere

I notice I’ve got a lot of pictures online – some are available from this site, some not; several different methods of viewing them. Bah. Photos also seem to be in the more popular items on my pages. Need to unify and organizize.

justfred/pictures.php (new php)
pictures.php (just an index to pix)
pix (old manually created pages)

I think I like the interface for the justfred/pictures.php page – it saves the picture information in a database (as opposed to just sitting in an html, or in a text or excel file – and I can edit the titles and descriptions – there’s still some work to be done, since (as you may have noticed) the next/previous buttons don’t do anything.

I’m also still not sure of some things, like should I allow picures to be in multiple albums? It makes programming harder, but it’s easier to tell a story – of course I could also just have multiple copies of pictures if and as necessary. Goes against the database designer’s ethic (AKA Nth normal form) but will probably work better.

Repetitive Motion Disorder

Seems like every time I restart my (Windows) computer, then restart Internet Explorer, it decides to re-add all the standard links I deleted: Customize Links, Free Hotmail, Windows Media, Windows. As well as a host of other unwanted links in my “Favorites” menu.

The only possible explanation for this, is that the computer has realized that removing these links pleases me, so it wants to give me the opportunity over and over again. (More likely it isn’t saving settings when I exit – but somehow it manages to keep bookmarks I add…)

If they want to put these links in the first time, fine – but once I’ve deleted them they should stay gone.

Even worse is webpages that try (either asking or not) to change your default (“home”) page. My home page is either www.obtainium.org, or my.yahoo.com – do not try to change this, don’t even ask.

Basically, don’t do intrusive crap that I don’t want – and especially don’t do it more than once!

IIS Insanity

(fair warning)Once again I’m going to complain about a Microsoft product.(/fair warning)

I’m working on asp pages (for work – the pages here are php, which is much friendlier), and for the past day I’ve been fighting some strange problems where included pages weren’t being updated when I’d made changes to them. Included pages let you do things like write the top-of-page stuff, headers, database connections, styles – and then just include them in any new pages you create. But the problem was, when I made a change, nothing would happen!

Somewhere on the web (can’t find it now, of course) I read that if you resave the (unmodified) page that includes the modified page, it would work. And it did – but then I had to keep saving ALL the pages any time I made a change to an included page – sorta defeats the purpose.

Tried all sorts of things I found on the web, settings in the IIS Webserver, trying to get it to work. Nothing. So finally I restarted the webserver – when in doubt, restart.

Now ALL of my web pages are failing. Including the ones customer support people need to do their job. Much hilarity ensued in the form of people coming in to tell me, “do you know the web pages are down?” and me jumping up and down and screaming. Lucky I have no hair to pull out.

I won’t keep you in suspense – turns out one of the settings I changed, tho it had an Apply button, didn’t actually get applied till I restarted the webserver. And it’s a setting that should not be changed if you want your ASP pages to keep working. And it’s typically three levels down in webpage setup/configure…/advanced… Fortunately, I found this answer on the web – “If you get this error, try this”.

Kids, don’t try this at home. Save yourself, get an OSX server and PHP.

Math Question

Today’s Math Question:

Von’s has one pound of apples for $1.00 (* ValueClub members only!). There are five apples in a pound. How much is a single apple? A: around 50c. For extra credit, explain how schoolchildren will ever gain an understanding of basic math.

Bonus question:

It’s the day before Halloween. Half a dozen eggs cost $1.50. 18 eggs cost $1.00. Explain the social ramifications of a special on eggs at this time of the year.