In a year that has been rocky for some members of the publishing industry, science and technology magazines seem to be carving a strong niche. Discover Magazine, for example, experienced a large jump in ad pages this year, and Bonnier Corp. announced earlier this month that it is resurrecting Science Illustrated in the United States.