Doing Things Wrong

Still Hacking

I have been satisfied with the overall look and feel of the site for a while now, so it became time to clean up the code. A lot of features and ideas were scabbed-on in whatever way worked, resulting in a lot of kludgy code and redundancy. Some things ( like the main navigation menu ) became so convoluted that it was hard to predict exactly what they would do.

So I re-wrote much of it in a much more streamlined and efficient way. WordPress offers lots of neat little functions that look trivial, but actually hide trips to the database, which are SLOW. I eliminated as many of those as I could. The result is a 25-50% improvement in run times on the server. That should translate into better speed ratings from Gargle, but alas, no.

Then I wrote a little script that takes all the individual css files and combines them into one big one on the server. So instead of all the individual files going out separately, they go as one big glob. With no other changes, and no change in the apparent load times, my speed ratings on Gargle immediately went from mediocre to excellent. I guess that's all they care about. Idiots.

I also fixed a pretty bad glitch in the system - none of the pages had html titles. That's not too noticeable to people - just the text that you pay no attention to in the tab bar - but it matters to search engines. Gargle crawls this site a lot, and I've seen some pretty good page ranks. Having proper page titles should only make things better. I'm seeing similar results at Bing.


image
Don't get caught in prison with one of these​

After making a muddle of things with a razor blade and several other implements that proved to be less than satisfactory, I decided I needed to have the right tool - something roughly pencil-sized that can be handled with precision and ease, with a proper scraper edge. I took a look at StewMac, and found their binding scraper - exactly what I was thinking of. But with shipping, it would cost $15, and I'd have to wait a week for it, and after all, it's just a piece of steel. So I started thinking and remembered I have some 1/2" steel binding strap material. This is the stuff that is used around very large heavy boxes. It is a fairly hard and springy type of steel that would probably make a good tool. So I got busy in the shop and made three scrapers.