Programming Done

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.

I added a slew of new features and capabilities to my standard "Simple" theme, and I think I'm done ( except for the inevitable bug fixes. ). It is still simple to use, but actually pretty sophisticated behind the scenes. The major additions:

  • The ability to store custom css in the database and use it to override the built-in css in the theme. This goes well beyond just changing the colors. For this site, I have pushed the whole layout out of shape to match the old hand-made site. I can also store all the special styles of the old site, without altering the theme files.

  • The ability to cut off the sidebar menus at a specific depth. This site has hundreds of pages, and the sidebar menus would blow up if they listed everything. By pushing most of the pages below the cutoff level, I can keep them out of the menus. I can then construct index pages to list all the pages I have suppressed. The menus are essentially the "tree" without the "leaves".

  • Enhanced navigation structures, to handle very large numbers of pages. I can now specify the number of columns for the output. All lists are now formatted the same, regardless of the source. Also, enhanced caching of all these structures to maintain performance.

I stubbed-in blank pages for almost 400 dive sites, and arranged them together with the charts. A lot of exceptions that were handled by hand-coding are now handled automatically by the database. This is the biggest part of the website and the worst job. So I decided to do it first. If I failed to make a satisfactory solution, then the rest would be a waste of time. But I think this is going to work, and the rest will be easy ( or easier. ) Of course, transferring everything from the old site to fill in the blanks will be a huge task. I may not live long enough to finish it!

I stubbed in 32 artificial reefs and worked out how to integrate the artificial reefs with the rest of the dive sites. I may even put the image maps back in some day.


From way back when in 1996 ...

NJ Scuba
Diving Myths
by Dr. Jolie Bookspan, author of Diving Physiology in Plain English

Myth 1 - The Dive Reflex Protects You

diving myths

In the dive reflex, heart rate and limb blood flow decrease. Careful science ( that means we didn't accidentally step on the thermisters ) shows time and again that the dive reflex does not reduce the need for oxygen underwater as it does in marine mammals. Field studies ( where you're allowed to step on the thermisters ) indicate that the dive reflex does not extend breath-holding time. Occasional cases of human survival after very cold water near-drowning are not due to the dive reflex. Cold is the likely mechanism behind the reduced metabolism that permits survival.

Printed from njscuba.net