Bigger Than I Thought

Well, it's that time of year again, time to renew the web hosting. And for those of you that don't know, that has become a lot more expensive than it used to be. Fifty dollars a year is now several hundred. Not to mention the price of domain names has gone up ten-fold.

And I just found out that the nice folks at PayPal disabled all my Support buttons, and I never got a notice (although that may be my fault.) In any case, it is all working again now, so if you would like to make a small donation to help defray these costs, it would be greatly appreciated.

After programming some really neat new features, I built the structure for the Marine Biology section. To my surprise, it ended up being larger by page count than the Artificial Reefs section, which I always thought was second after Dive Sites. So far, the total is 925 pages, including these blog posts.

After setting the Biology section, I found that the natural sidebar menu cutoff level for that section is one deeper than Dive Sites and Artificial Reefs. After applying my massive intellect ( ha ha ) to the problem for a while, I came up with a neat solution. It works on a per-page basis, can be used alongside the global setting, and took all of ten lines of new code. That's how I like to program !!!

I've seen a lot of foreign programmers who think that the best solution to any problem is to drown it in as much code as possible. That is so wrong, although it is an excellent way to fleece the client. Ten lines, that's all it took. And another ten minutes to make the necessary database entries. Then I set the global cutoff one deeper, and everything works great!


Shipwreck Pocopson
Mr. Eliassen is reasonably sure that this image is of the Pocopson, on which he sailed as a child when his father was Captain, 1922-1925.
Type:
shipwreck, schooner barge, USA
Built:
1906, Noank CT, USA
Specs:
( 177 x 35 ft ) 721 tons, 3 crew
Sunk:
Wednesday October 7, 1936
foundered in storm, no casualties
GPS:
40°12.204' -73°59.257' (AWOIS 1990)
Depth:
50 ft

Printed from njscuba.net