Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
PHP

Submission + - Creating and using Phar archives in PHP V5.3

An anonymous reader writes: This article takes a close look at the new PHP5.3 feature called Phar, which is an archive format that can be used within PHP. Phar can be used to not only archive files but also to deliver and run an entire PHP application from a single file. Unlike JAR archives, Phar archives can be processed by PHP itself and don't require an external tool to create or use them.
Software

30th Anniversary of the (No Good) Spreadsheet 407

theodp writes "PC Magazine's John C. Dvorak offers his curmudgeonly take on the 30th anniversary of the spreadsheet, which Dvorak blames for elevating once lowly bean counters to the executive suite and enabling them to make some truly horrible decisions. But even if you believe that VisiCalc was the root-of-all-evil, as Dvorak claims, your geek side still has to admire it for the programming tour-de-force that it was, implemented in 32KB memory using the look-Ma-no-multiply-or-divide instruction set of the 1MHz 8-bit 6502 processor that powered the Apple II." On the brighter side, one of my favorite things about Visicalc is the widely repeated story that it was snuck into businesses on Apple machines bought under the guise of word processors, but covertly used for accounting instead.
Transportation

First Flight of Jet Powered By Algae-Fuel 255

s31523 writes "Today a US airline carrier conducted a 90 minute test flight with one of its engines powered by a 50/50 blend of biofuel and normal aircraft fuel. This was the first flight by a US carrier after other airlines have reported trying similar flights. In February 2008, a Virgin 747 flew from London to Amsterdam partly using a fuel derived from a blend of Brazilian babassu nuts and coconuts. At the end of December, one engine of an Air New Zealand 747 was powered by a 50/50 blend of jatropha plant oil and standard A1 jet fuel."
Classic Games (Games)

The Return of (Old) PC Graphic Adventures 93

KingofGnG writes "Though they belong to a genre already considered defunct and inadequate for the mainstream video game market, adventure games have a glorious past, a past that deserves to be remembered, and, of course, replayed. At the center of a good part of this effort of collective memory, there is ScummVM, the virtual machine which acts like an interface between the feelings and the puzzles from the good old times and the modern operating systems. As already highlighted before, the ScummVM target has grown immensely over time, going from the simple support of the 'classic' adventure games par excellence published by Lucasfilm/Lucasarts, to a range that includes virtually any single puzzle-solving game developed from the beginning of time up to the advent of the (Windows) NT platform. The last video game engine added to ScummVM within the past few days is Groovie, created by the software house Trilobyte for its first title released in 1993, The 7th Guest ."
Image

World's Oldest Marijuana Stash Found Screenshot-sm 108

jage2 writes "Researchers say they have located the world's oldest stash of marijuana in a tomb in a remote part of China. The cache of cannabis is about 2,700 years old and was clearly 'cultivated for psychoactive purposes,' rather than as fibre for clothing, or as food, says a research paper in the Journal of Experimental Botany. The 789 grams of dried cannabis was buried alongside a light-haired, blue-eyed Caucasian man, likely a shaman of the Gushi culture, near Turpan in northwestern China."
Programming

Solving the Knight's Tour Puzzle In 60 Lines of Python 311

ttsiod writes "When I was a kid, I used to play the Knight's Tour puzzle with pen and paper: you simply had to pass once from every square of a chess board, moving like a Knight. Nowadays, I no longer play chess; but somehow I remembered this nice little puzzle and coded a 60-line Python solver that can tackle even 100x100 boards in less than a second. Try beating this, fellow coders!"
Editorial

Proprietary Blobs and the Pursuit of a Free Kernel 405

jammag writes "Ever since the GNewSense team pointed out that the Linux kernel contains proprietary firmware blobs, the question of whether a given distro is truly free software has gotten messier, notes Linux pundit Bruce Byfield. The FSF changed the definition of a free distribution, and a search for how to respond to this new definition is now well underway. Who wins and what solutions are implemented could have a major effect on the future of free and open source software. Debian has its own solution (by allowing users to choose their download), as do Ubuntu and Fedora (they include the offending firmware by default but make it possible to remove it). Meanwhile, the debate over firmware rages on. What resolves this issue?"
Google

Google Sorts 1 Petabyte In 6 Hours 166

krewemaynard writes "Google has announced that they were able to sort one petabyte of data in 6 hours and 2 minutes across 4,000 computers. According to the Google Blog, '... to put this amount in perspective, it is 12 times the amount of archived web data in the US Library of Congress as of May 2008. In comparison, consider that the aggregate size of data processed by all instances of MapReduce at Google was on average 20PB per day in January 2008.' The technology making this possible is MapReduce 'a programming model and an associated implementation for processing and generating large data sets.' We discussed it a few months ago. Google has also posted a video from their Technology RoundTable discussing MapReduce."
Image

The Science of the Lightsaber Screenshot-sm 197

Smartcowboy writes "Chances are that you have seen a lightsaber at one time or another, whether on the evening news or down at the local cantina. Therefore you know that a lightsaber is an amazing and versatile device that is able to cut through nearly anything in a matter of milliseconds. Have you ever wondered how these remarkable weapons work? Where does the energy come from, and how are they able to contain that energy in a rod-like column of glowing power? In this article, you will have a chance to look inside a lightsaber and discover the source of its incredible characteristics." I was sure the blade was made from the focused hate and disappointment of the last three movies.
Programming

(Useful) Stupid Regex Tricks? 516

careysb writes to mention that in the same vein as '*nix tricks' and 'VIM tricks', it would be nice to see one on regular expressions and the programs that use them. What amazingly cool tricks have people discovered with respect to regular expressions in everyday life as a developer or power user?"

Microsoft Embraces AMQP Open Middleware Standard 122

AlexGr writes to tell us that Microsoft apparently has plans to embrace a little known messaging standard called AMQP (Advanced Message Queuing Protocol). Red Hat, a founding member of the AMQP working group, was very excited about the news and wrote to welcome Microsoft to the party. "Suffice it is to say that AMQP is to high-value, reliable business messaging what SMTP is to e-mail. The proprietary message oriented middleware (MOM) products on the market today like IBM's MQ or Tibco's Rendezvous fulfill the same function as AMQP. But they operate exclusively in single-vendor fashion and utterly fail to interoperate with each other. They are also — perhaps not by coincidence — burdensomely expensive. As a result their use is mostly limited to wealthy organizations such as Wall Street banks (at least the ones who are still in business) that need to exchange huge volumes of business messages very reliably and very quickly. But AMQP's supporters feel the market for such reliable messaging could be much larger if a less expensive and truly open solution became available."
It's funny.  Laugh.

The Greatest Scientific Hoaxes? 496

Ponca City, We love you writes "The New Scientist has an amusing story about the seven greatest scientific hoaxes of all time. Of course, there have been serious cases of scientific fraud, such as the stem cell researchers recently found guilty of falsifying data, and the South Korean cloning fraud, but the hoaxes selected point more to human gullibility than malevolence and include the Piltdown Man (constructed from a medieval human cranium); a ten-foot "petrified man" dug up on a small farm in Cardiff; fossils 'found' in Wurzburg, Germany depicting comets, moons and suns, Alan Sokal's paper loaded with nonsensical jargon that was accepted by the journal Social Text; the claim of the Upas tree on the island of Java so poisonous that it killed everything within a 15-mile radius; and Johann Heinrich Cohausen's claim of an elixir produced by collecting the breath of young women in bottles that produced immortality. Our favorite: BBC's broadcast in 1957 about the spaghetti tree in Switzerland that showed a family harvesting pasta that hung from the branches of the tree. After watching the program, hundreds of people phoned in asking how they could grow their own tree but, alas, the program turned out to be an April Fools' Day joke." What massive scientific hoaxes/jokes have other people witnessed?
Science

Fictional Town "Eureka" To Become Real? 337

Zarath writes "The fictional town of Eureka (from the TV series by the same name) is going to potentially become a real life town as the University of Queensland, in Australia, plans to build a multibillion-dollar 'brain city' dedicated to science and research. The city, hoping to hold at least 10,000 people, is looking to attract 4,500 of the brightest scientists from around the world to live and work there. The city is planned to be built west of the city of Brisbane, in Queensland. While not funded by the Department of Defense (like the [city of the] TV series), the potential for such a community is very interesting and exciting."
The Internet

The Future of XML 273

An anonymous reader writes "How will you use XML in years to come? The wheels of progress turn slowly, but turn they do. The outline of XML's future is becoming clear. The exact timeline is a tad uncertain, but where XML is going isn't. XML's future lies with the Web, and more specifically with Web publishing. 'Word processors, spreadsheets, games, diagramming tools, and more are all migrating into the browser. This trend will only accelerate in the coming year as local storage in Web browsers makes it increasingly possible to work offline. But XML is still firmly grounded in Web 1.0 publishing, and that's still very important.'"

Slashdot Top Deals

Any given program will expand to fill available memory.

Working...