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.


rat's nest

One of the fun things about building electric guitars is wiring them up. Factory wiring tends to be simple, minimizing the amount of fussy handwork required. Many manufacturers keep strictly to 'classic' designs, seldom if ever changing anything. These designs are generally simplistic, often crude or even stupid, and sometimes outright flawed. There is no need for you to do this. I don't. Here are some of the things I have done over the years. I don't claim to have invented any of this, although some of these schematics I have never seen anywhere else, and had to derive them myself.