Tag: Site issues

Occam's Razor Applies to Coding, Too

In the previous post I mentioned temporarily frakking up the comments here aboard StarshipTim.com, done while testing a feature I was putting together for a different project, and thought that since I'd solved the issue over there, fixing it over here would take all of five minutes.

Three nights later, I finally have it working. I still don't know quite why it broke in the first place; a compatibility issue with PHP versions and software updates and associated whooziwhatsises, to be sure, but specifically...still beats me.

However, I still could have fixed it in maybe half an hour instead of three days if I'd remembered the Holmesian credo to respect the simpler solution in the face of more complicated ones. I wanted my code to work within the bounds of nested PHP and MySql tables and cooperate with the database-oriented CMS. But the conflicts were making me tear my hair out (which is thinning enough on its own, thank you very much) and it finally occurred to me that I could accomplish the same goal with two lines of Javascript.

If you don't need the whiz-bang goodies and fancy whatsises, then—revelation—you don't have to use them. Go figure.

Anyway, the comments work now.

No Comments yet

New Year, New Blog


Happy New Year. 2015 was less than stellar, so I'm ready to turn the page on it. What better time, then, to revamp the old blog? It's been underutilized in recent months and years, so perhaps a little facelift will encourage more blogging. If nothing else, it's a good excuse to try out some new code and play with things under the hood.

It is, obviously, a work in progress, and will be fiddled with and added to when I have time for such things. I've been working on what you see here for a few weeks during off moments, though there are other things that should probably have greater priority.

Anyway, still to come are the importing of the old sketchbook feature (with, perhaps, different sketch contents), something to chronicle my reading list, and links to important things down the right-hand column. The feedbox has been pared down, but I welcome suggestions for more sites to include in that mini-portal.

For now, I am still sick with a nasty cold, so will stop here. Come back later to see if any new tweaks get implemented.

No Comments yet