Bigger Than I Thought

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!


Sandbar (Brown) Shark

Carcharhinus plumbeus

Size:
to 6 ft

The Sandbar Shark is the commonest inshore shark in New Jersey waters.

Sandbar (Brown) Shark

Most people are familiar with Peter Benchley's thrilling novel Jaws or one of the movies it has inspired. The image of a giant shark terrorizing a small resort community is hard to forget. After all, the idea of predators ( in this case, people ) becoming prey realizes one of our most primal fears. It also makes for exciting reading or viewing.