Read more of this story at Slashdot.
Archive for July, 2010
Police Stop Journalists From Photographing Metrorail System
Police Stop Journalists From Photographing Metrorail System
Read more of this story at Slashdot.
The hidden, invisible, and private web
Everyone knows that Google and the other search engines between them crawl, spider, and slurp up the whole internet, right? Wrong! The millions of websites that are obviously available on the internet are readily searchable, Google Bing, Yahoo, and their ilk have seen to that, we can usually find documents, pages, digital images, videos, music, and public scientific datasets at low cost, rapidly and accurately. But, that’s just the surface, there are countless resources that are simply inaccessible to search engine bots, not least emails, FTP sites, IRC, and IM.
Then there is the Invisible Web, something about which I first wrote way back in the mid-1990s. The Invisible Web is the term used to describe the contents of publicly accessible databases that are revealed on a per-user basis on demand and mostly off-limits to search engines, with a few exceptions.
Definitely off-limits to all public search engines and all members of the public for that matter are private databases, corporate and institutional sites that are locked behind firewalls, passwords, and protective scripts.
However, some owners of chunks of the private web might be amenable to letting trusted users access their private parts, it’s just that the users don’t know the private data is there and the owners don’t know who to trust. Now, Peter Mork and colleagues at the Mitre Corporation in McLean, Virginia, have come up with a way to bring the two parties together. They have developed a way to publicize the existence of private web resources that draws on various summarization strategies and demonstrates a way to create a database summary, which they call a digest, that then becomes part of the announcement. They have then looked at the trade-off between the data owners’ desires to minimize disclosure of sensitive information and the searchers’ desires to maximize the accuracy of their searches.
As an example of the kind of private web Mork and colleagues are alluding to. Imagine a specialist in the spread of flu during an epidemic hoping to trawl medical records to figure out how many people might become infected, these are strictly off-limits to the general public and to most researchers for that matter? Or, what about an economist hoping to spot trends in stock market dealings to help warn of another credit crunch well before it happens? Again private deals, are…private, so they will have no access to that information. On the other, anonymized data might be available to help the specialist find data sources relevant to current research. Similarly, summarized data can point the economist to data relevant to his inquiry. But, these data can only be utilized if they can be found.
Mork and colleagues’ digest approach allows data owners to publish less sensitive versions of their data so that searchers can determine with which data owners they should negotiate access. In this way, the private web maintains its privacy, while becoming a little more searchable, thereby allowing researchers to spend more time doing research and less time struggling to find data.
Peter Mork, Ken Smith, Barbara Blaustein, Christopher Wolf, Ken Samuel, Keri Sarver, & Irina Vayndiner (2010). Facilitating discovery on the private web using dataset digests International Journal of Metadata, Semantics and Ontologies, 5 (3), 170-183
Related Posts:
The hidden, invisible, and private web is a post from: Sciencebase Science Blog
Zeughaus Museum: The Worlds Most Extensive Collection of Historical Weaponry
Home to close to 30,000 pieces of historical weaponry, the Zeughaus Museum in Graz Austria represents the area’s rich military heritage. The museum’s collection includes guns, swords, and armor, including this complete set of armor for a horse.
From the Upcoming ueue, submitted by lannaxe96.
How do we measure gravitational waves? [Mad Science]
Saving Bandwidth and Improving Site Speed Using CSS Sprites
As a site owner, possibly the worst experience that you could serve upon your visitors is a frustrating wait whilst the clock spins and the page loads. In most cases, most of your potential customers would have pressed the back button in their browser and headed off somewhere else; this inevitably means a loss of potential business.
Site speed is predicted to become one of Google’s next ranking factors, although as per normal, the company tends to keep the nitty-gritty close to its chest.
In a presentation in Las Vegas, when pressed on the subject of site speed integration into the Google search ranking algorithm, Matt Cutts, member of the Search Quality group at Google and a highly-regarded person in the SEO community, described this as one of his "what to expect in 2010" bullet points. He went on to explain that the company wanted search to be "real fast, as if you are flipping through a magazine."
What all of this should tell us is that if you wish your site to be user-friendly and well-positioned within the ranks of the major search engines, then you should be looking at ways to improve your web page performance. Apart from the myriad of options displayed in Google Webmaster Tools, including consolidating and compression of external files, and checking for broken links on your website, I would recommend looking at the way you use images. One of the best web design techniques out there is the use of CSS sprites.
What are CSS Sprites?
It may be a common misconception that a sprite implies a series of small images. The opposite, in fact, is the truth — a CSS sprite is one large image.
You may be aware of the CSS technique of displaying an "on/off" state for a button which is contained within a single image and positioned using the background-position
CSS attribute on :hover
(see the tutorial on a button that uses CSS sprites). CSS sprites are basically the same concept: The image is displayed on the page using the coordinates specified in your CSS, and only this area will be visible.
It is easy to believe that a number of small images are likely to be less heavy in total file size than one containing all of the images positioned together. But even if you may have images that are only a few bytes in size, each one is giving your web server unnecessary work to do by sending an HTTP request. Each request contains a portion of overhead information that uses valuable site bandwidth.
Using CSS sprites can reduce the number HTTP requests and can make the web page seem more responsive because all interface elements are already downloaded before the user handles them. This technique can be very effective for improving site performance, particularly in situations where many small images, such as menu icons, are used.
Building a Basic CSS Image Background Sprite
Let’s discuss this topic using an example. Using Photoshop, I created a document with a series of images (logos of companies) and divided the area into chunks of 100 pixels (see the images below). I saved the file and named it logos.jpg
.
I used 100-pixel measurements between logos for the purposes of illustrating the concept in this article and because this was a convenient distance to move the position of the CSS background image each time when manipulating the coordinates in my CSS (you should be more accurate when actually applying CSS sprites to reduce its file size further).
The CSS background image is focused on displaying only the first logo as defined by the green border — the coordinates of which are y = 0 and x = 0.
To position them, we use the background-position
attribute.
To display the second image alongside the first, all that is necessary is to adjust the coordinates on the x-axis.
Because of the way we have constructed the image (at 100-pixel intervals), all we need do is add a line of CSS advancing the x-axis by 100 pixels to display each logo.
CSS for the CSS Background Sprite
#logos {height: 64px; margin: 0; padding: 0; position: relative;} #logos li {background: url(/logos.jpg) no-repeat top left; margin: 0; padding: 0; list-style: none; position: absolute; top: 0;} #logos a {height: 64px; display: block;} // First logo #logos li a.jaz {background-position: 0 0} // Second logo #logos li a.iberotel {background-position: 0 -100px;} // Third logo #logos li a.solymar {background-position: 0 -200px;} // Fourth logo #logos li a.travcotels {background-position: 0 -300px;} // Fifth logo #logos li a.intercity {background-position: 0 -400px;}
The Results of Using CSS Sprites
In the example above, it was possible to reduce the file size from 52kb to 22kb and the number of HTTP requests from 5 to 1. This represents a good saving, and is only one small section of a web page!
Our new CSS sprite method tests well in most modern browsers. The notable exception is Opera 6 (all Opera versions, not just Opera 6, comprise 1.98% of all web browser usage[1]), which doesn’t apply a background image on link hover states. The links still do work, and if they’ve been labeled properly, the net result will be a static — but usable — image map in Opera 6. This could be an acceptable price to pay, especially now that Opera 7 has been around for a while.
Further Reading on CSS Sprites
Here is a list of suggested reading resources about CSS sprites.
- CSS Sprites: Image Slicing’s Kiss of Death
- CSS Sprites: What They Are, Why They’re Cool, and How To Use Them
- The Mystery Of CSS Sprites: Techniques, Tools And Tutorials – Smashing Magazine
References
- Usage share of web browsers (May 2010)
Related Content
- 10 Ways to Improve Your Web Page Performance
- Five Ways to Speed Up Page Response Times
- 30 Exceptional CSS Navigation Techniques
- Related categories: Web Development and Web Design
About the Author
Peter Richards is a SEO engineer based near Brighton in the UK. He has also spent time as web designer and front-end developer (HTML, CSS, JavaScript). If you wish to connect with him, you can follow Peter on Twitter as @pgrichards.
What Is This? (Spoiler: A Complex List) [Infographics]
Business - Arts - Specialized - Technical and Infographics - Illustration
The Laptop Theater
The way people talk about the movie business these days, you might expect Hollywood itself to show up in the death montage at next year's Oscar ceremony. Heavily hyped films are fizzling. Online filesharing is cutting into box office receipts. The city's reliance on sequels and remakes has gotten so intense that it is now the conventional wisdom to say the studios are out of ideas.
The conventional wisdom is a little overwrought—surely it means something that one of the most critically and commercially popular films of the year, Toy Story 3, is not just a sequel but a sequel to a sequel—but the larger indictment isn't far off. Hollywood is undeniably in an unhealthy state. But the state of Hollywood should not be confused with the state of motion pictures, just as the state of the dominant record companies should not be confused with the state of American music, the state of the Big Three should not be confused with the state of automobile manufacturing, the state of newspapers should not be confused with the state of journalism, and the state of public schools should not be confused with the state of public knowledge. The last decade has seen movies breaking free of traditional Hollywood shackles and finding new creators, venues, and formats, some of which stretch the conventional conception of what a movie can be.
The number of films produced by U.S. companies has been sliding over the last few years, from 928 in 2006 down to 677 in 2009. The number of films released in American theaters actually increased slightly over part of that period, from 594 in 2006 to 633 in 2008, but in 2009 it descended to 558, the first decline since 2003. These drops are partly a reflection of the recession, and in part they reflect the effects of the Writers Guild strike.
At the same time, though, there was a surge in movies that never made it to standard American theaters at all. The Internet Movie Database reports that 9,591 features were created last year—a number that excludes documentaries, direct-to-video and made-for-TV movies, and a substantial number of the pictures that never got past the festival circuit. In 1999, by contrast, there were just 3,275. That isn't necessarily an apples-to-apples comparison, as small and foreign filmmakers today might be more likely to make an effort to get listed in the IMDb. But I doubt such a change in practices would be enough to account for a nearly threefold increase. Over the same time period, meanwhile, the number of documentaries more than doubled. Chris Hyams—chief operating officer of Slated, a New York-based company that does market research for movie producers and distributors—estimates that the number of new features playing at festivals worldwide last year was even higher than the IMDb allows, perhaps as many as 30,000.
And don't forget the movies that aren't feature length. The most important figure here may be the amount of footage uploaded to the Internet, which keeps climbing. YouTube, for example, revealed in March that 24 hours of content were being uploaded to the site every minute, up from 15 hours per minute in the middle of 2008 and six hours per minute in the middle of 2007. There are no reliable figures on how much of that is excerpted without alterations from commercial films or television and how much was created explicitly for the Web. But speaking anecdotally, there seems to have been a sharp increase in both kinds of content. Thanks to YouTube, Vimeo, and similar sites, there's a larger audience than ever before for independently produced motion pictures.
It's a safe bet that most of those movies are mediocre or worse. But as Brian Newman writes in The Wrap, "I never walk into the record store and think there are too many bands out there, too many albums to pick from. Instead, I value the diversity of artists available for my listening pleasure." When the cost of filmmaking falls and more people, in more places, from more social backgrounds, learn to shoot and edit, the results may include an increase in crap, but there will also be an increase in creativity, variety, and verve.
For decades, cineastes bemoaned the death of the short, a form exiled from mainstream theaters and abandoned to the marginal worlds of film schools and film festivals. Now there's a sudden increase not just in the production of shorts but in the size of their audience. Small, bizarre, formula-busting movies can actually become hits, though we don't call them hits; we say they've "gone viral." And if some of those hits involve nothing more profound than a dramatic chipmunk or a well-choreographed wedding march, that merely means the usual art-to-trivia ratio is still in place. At least this trivia is content to deliver its single joke and then end, which is more than can be said for the typical Saturday Night Live movie. (Or, for that matter, the typical Saturday Night Live sketch.)
Moving pictures aren't just getting shorter and simpler. They're getting longer and more complex. American television is arguably in its most creatively rich period ever, and one strand of that richness is the rise of tightly woven, season- or series-long story arcs. Such extended narratives were riskier undertakings in the past, back when it was easier to miss an episode altogether and impossible to hit "rewind" while you were watching. Those aren't problems anymore, thanks to DVDs, DVRs, and online streaming, so executives are willing to embrace more narrative complexity. And with smaller outfits such as HBO in the TV production business, those executives are ever more willing to serve niche audiences as well. Not every long-term story arc is actually good, of course, but that's true of traditional films and TV shows as well; the important point is that masterpieces like The Wire, a 60-hour megamovie released in weekly installments, are now possible at all.
It is also now possible to gorge on such shows in a handful of sittings, and to do so on the same devices we use to watch YouTube shorts and mainstream features. That's one of the reasons I'm comfortable discussing all three categories as though they represent the same art. They're all moving pictures; it's just that more and more of them aren't limited to the constraint of being "feature length."
One last thought about those sequels and remakes. Are they really more likely to be lousy than other movies? Most films are based on well-worn plot formulas and character types, even if they don't explicitly borrow a story or a character from an earlier picture. I suspect that sequels and remakes aren't worse than other releases so much as we're much more likely to resent them when they fail, lest they stain our memories of the originals.
But that resentment hasn't been a problem for online shorts, a great deal of which consist of remixes, mash-ups, parody trailers, and other reimaginings of well-known movies. No one mistakes the ASCII version of Star Wars for an official Star Wars product, so even if you dislike it the Star Wars brand name won't suffer any damage. (The prequels, on the other hand...) When it comes to making something new out of something old, the termite artists in the YouTube hive have a better track record than the studios that actually own the rights to the material.
"Film," Jean Cocteau once said, "will only become art when its materials are as inexpensive as pencil and paper." I don't know if we'll ever literally reach that day, but if nothing else we've come to the point when the pencil-and-paper wing of filmmaking can make far more artful use of the same raw materials that fuel the established movie studios. If that's a sign of decline in Hollywood, it's also an indication that there's no shortage of creative energy in the culture at large.
Managing Editor Jesse Walker is the author of Rebels on the Air: An Alternative History of Radio in America (NYU Press).
The Laptop Theater
The way people talk about the movie business these days, you might expect Hollywood itself to show up in the death montage at next year's Oscar ceremony. Heavily hyped films are fizzling. Online filesharing is cutting into box office receipts. The city's reliance on sequels and remakes has gotten so intense that it is now the conventional wisdom to say the studios are out of ideas.
The conventional wisdom is a little overwrought—surely it means something that one of the most critically and commercially popular films of the year, Toy Story 3, is not just a sequel but a sequel to a sequel—but the larger indictment isn't far off. Hollywood is undeniably in an unhealthy state. But the state of Hollywood should not be confused with the state of motion pictures, just as the state of the dominant record companies should not be confused with the state of American music, the state of the Big Three should not be confused with the state of automobile manufacturing, the state of newspapers should not be confused with the state of journalism, and the state of public schools should not be confused with the state of public knowledge. The last decade has seen movies breaking free of traditional Hollywood shackles and finding new creators, venues, and formats, some of which stretch the conventional conception of what a movie can be.
The number of films produced by U.S. companies has been sliding over the last few years, from 928 in 2006 down to 677 in 2009. The number of films released in American theaters actually increased slightly over part of that period, from 594 in 2006 to 633 in 2008, but in 2009 it descended to 558, the first decline since 2003. These drops are partly a reflection of the recession, and in part they reflect the effects of the Writers Guild strike.
At the same time, though, there was a surge in movies that never made it to standard American theaters at all. The Internet Movie Database reports that 9,591 features were created last year—a number that excludes documentaries, direct-to-video and made-for-TV movies, and a substantial number of the pictures that never got past the festival circuit. In 1999, by contrast, there were just 3,275. That isn't necessarily an apples-to-apples comparison, as small and foreign filmmakers today might be more likely to make an effort to get listed in the IMDb. But I doubt such a change in practices would be enough to account for a nearly threefold increase. Over the same time period, meanwhile, the number of documentaries more than doubled. Chris Hyams—chief operating officer of Slated, a New York-based company that does market research for movie producers and distributors—estimates that the number of new features playing at festivals worldwide last year was even higher than the IMDb allows, perhaps as many as 30,000.
And don't forget the movies that aren't feature length. The most important figure here may be the amount of footage uploaded to the Internet, which keeps climbing. YouTube, for example, revealed in March that 24 hours of content were being uploaded to the site every minute, up from 15 hours per minute in the middle of 2008 and six hours per minute in the middle of 2007. There are no reliable figures on how much of that is excerpted without alterations from commercial films or television and how much was created explicitly for the Web. But speaking anecdotally, there seems to have been a sharp increase in both kinds of content. Thanks to YouTube, Vimeo, and similar sites, there's a larger audience than ever before for independently produced motion pictures.
It's a safe bet that most of those movies are mediocre or worse. But as Brian Newman writes in The Wrap, "I never walk into the record store and think there are too many bands out there, too many albums to pick from. Instead, I value the diversity of artists available for my listening pleasure." When the cost of filmmaking falls and more people, in more places, from more social backgrounds, learn to shoot and edit, the results may include an increase in crap, but there will also be an increase in creativity, variety, and verve.
For decades, cineastes bemoaned the death of the short, a form exiled from mainstream theaters and abandoned to the marginal worlds of film schools and film festivals. Now there's a sudden increase not just in the production of shorts but in the size of their audience. Small, bizarre, formula-busting movies can actually become hits, though we don't call them hits; we say they've "gone viral." And if some of those hits involve nothing more profound than a dramatic chipmunk or a well-choreographed wedding march, that merely means the usual art-to-trivia ratio is still in place. At least this trivia is content to deliver its single joke and then end, which is more than can be said for the typical Saturday Night Live movie. (Or, for that matter, the typical Saturday Night Live sketch.)
Moving pictures aren't just getting shorter and simpler. They're getting longer and more complex. American television is arguably in its most creatively rich period ever, and one strand of that richness is the rise of tightly woven, season- or series-long story arcs. Such extended narratives were riskier undertakings in the past, back when it was easier to miss an episode altogether and impossible to hit "rewind" while you were watching. Those aren't problems anymore, thanks to DVDs, DVRs, and online streaming, so executives are willing to embrace more narrative complexity. And with smaller outfits such as HBO in the TV production business, those executives are ever more willing to serve niche audiences as well. Not every long-term story arc is actually good, of course, but that's true of traditional films and TV shows as well; the important point is that masterpieces like The Wire, a 60-hour megamovie released in weekly installments, are now possible at all.
It is also now possible to gorge on such shows in a handful of sittings, and to do so on the same devices we use to watch YouTube shorts and mainstream features. That's one of the reasons I'm comfortable discussing all three categories as though they represent the same art. They're all moving pictures; it's just that more and more of them aren't limited to the constraint of being "feature length."
One last thought about those sequels and remakes. Are they really more likely to be lousy than other movies? Most films are based on well-worn plot formulas and character types, even if they don't explicitly borrow a story or a character from an earlier picture. I suspect that sequels and remakes aren't worse than other releases so much as we're much more likely to resent them when they fail, lest they stain our memories of the originals.
But that resentment hasn't been a problem for online shorts, a great deal of which consist of remixes, mash-ups, parody trailers, and other reimaginings of well-known movies. No one mistakes the ASCII version of Star Wars for an official Star Wars product, so even if you dislike it the Star Wars brand name won't suffer any damage. (The prequels, on the other hand...) When it comes to making something new out of something old, the termite artists in the YouTube hive have a better track record than the studios that actually own the rights to the material.
"Film," Jean Cocteau once said, "will only become art when its materials are as inexpensive as pencil and paper." I don't know if we'll ever literally reach that day, but if nothing else we've come to the point when the pencil-and-paper wing of filmmaking can make far more artful use of the same raw materials that fuel the established movie studios. If that's a sign of decline in Hollywood, it's also an indication that there's no shortage of creative energy in the culture at large.
Managing Editor Jesse Walker is the author of Rebels on the Air: An Alternative History of Radio in America (NYU Press).
Mathematician turns down $1 million prize
The Interfax news agency quoted Perelman as saying he believed the (Millennium) prize was unfair. Perelman told Interfax he considered his contribution to solving the Poincare conjecture no greater than that of Columbia University mathematician Richard Hamilton.Russian mathematician rejects $1 million prize (Thanks, Marina Gorbis!)"To put it short, the main reason is my disagreement with the organized mathematical community," Perelman, 43, told Interfax. "I don't like their decisions, I consider them unjust."