Programming

On the Humble Default 339

Hugh Pickens sends along Kevin Kelly's paean to the default. "One of the greatest unappreciated inventions of modern life is the default. 'Default' is a technical concept first used in computer science in the 1960s to indicate a preset standard. ... Today the notion of a default has spread beyond computer science to the culture at large. It seems such a small thing, but the idea of the default is fundamental... It's hard to remember a time when defaults were not part of life. But defaults only arose as computing spread; they are an attribute of complex technological systems. There were no defaults in the industrial age. ... The hallmark of flexible technological systems is the ease by which they can be rewired, modified, reprogrammed, adapted, and changed to suit new uses and new users. Many (not all) of their assumptions can be altered. The upside to endless flexibility and multiple defaults lies in the genuine choice that an individual now has, if one wants it. ... Choices materialize when summoned. But these abundant choices never appeared in fixed designs. ... In properly designed default system, I always have my full freedoms, yet my choices are presented to me in a way that encourages taking those choices in time — in an incremental and educated manner. Defaults are a tool that tame expanding choice."
Programming

An Experiment In BlackBerry Development 207

ballwall writes "We've all read the stories about how lucrative selling apps on the iPhone can be (or not), but what about other platforms? BlackBerry accounts for twice as many handsets shipped as Apple, according to Gartner, so I decided to find out. I wrote about my experiences developing my first BlackBerry application including sales, platform issues, and a bunch of other things I thought new mobile developers might want to know about."
Oracle

Oracle Kills Virtual Iron 189

rhathar writes in with news that Oracle is killing off the products of Virtual Iron, a month after purchasing the company. Reports say that all but 10 to 15 staff were let go. The Reg article speculates that Oracle bought VI for its technology and considers its customers and partners expendable. When the Sun purchase finalizes, Oracle will be in possession of three separate virtualization technologies all based on Xen. "In a letter to Virtual Iron's sales partners, Oracle says it 'will suspend development of existing Virtual Iron products and will suspend delivery of orders to new customers.' One partner said, 'So basically, anyone that built their hosting infrastructure on VI... is now totally in the s–.'"
Programming

State of Sound Development On Linux Not So Sorry After All 427

An anonymous reader writes "There have been past claims by Adobe and others that development on Linux is a jungle, particularly with regards to audio. However today, the author of the popular 'The Sorry State of Sound in Linux' has posted a follow up showing Adobe's claims to be FUD, as well as being a good update on where OSS and ALSA are holding today, and why PulseAudio isn't a good idea."
Security

New PHP Interpreter Finds XSS, Injection Holes 66

rkrishardy writes "A group of researchers from MIT, Stanford, and Syracuse has developed a new program, named 'Ardilla,' which can analyze PHP code for cross-site scripting (XSS) and SQL injection attack vulnerabilities. (Here is the paper, in PDF, and a table of results from scanning six PHP applications.) Ardilla uses a modified Zend interpreter to analyze the code, trace the data, and determine whether the threat is real or not, significantly decreasing false positives." Unfortunately, license issues prevent the tool in its current form from being released as open source.
Programming

The "Doctor Who" Model of Open Source 116

Glyn Moody writes "Open source projects are generally fine when there's a long-term leader like Linus; but what happens when nobody is able or willing to run things for extended periods? Peter Murray-Rust explains how the open chemistry group known as the Blue Obelisk has evolved what he calls the 'Doctor Who Model of Open Source': 'You'll recall that every few years something fatal happens to the Doctor and you think he is going to die and there will never be another series. Then he regenerates. The new Doctor has a different personality, a different philosophy (though always on the side of good). It is never clear how long any Doctor will remain unregenerated or who will come after him. And this is a common theme in the Blue Obelisk.' Could other open source projects learn from this experience as long-term leaders start to move on?"
Games

Defining an Indie Game Developer 99

NinjaBee Games writes "A continual debate rages about the nature of making independent games. 'What is Indie game development?' This argument endures throughout the year, but it's almost never heard louder than right after the announcement of finalists or winners of an Indie game development contest. The debate currently is in full swing after Microsoft's recent announcement that they will be changing the name of the Xbox Live Community Games section to Xbox Live Indie Games. In light of this important debate, Brent Fox of Indie developer NinjaBee has written a blog post in which he claims he has finally found the 'clear and undeniable' definition of Indie."
Programming

HTML 5 Takes Aim At Flash and Silverlight 500

snydeq writes "While Adobe, Microsoft, and Sun duke it out with proprietary technologies for implementing multimedia on the Web, HTML 5 has the potential to eat these vendors' lunches, offering Web experiences based on an industry standard. In fact, one expressed goal of the standard is to move the Web away from proprietary technologies such as Flash, Silverlight, and JavaFX. 'It would be a terrible step backward if humanity's major development platform [the Web] was controlled by a single vendor the way that previous platforms such as Windows have been,' says HTML 5 co-editor Ian Hickson, a Google employee. But whether HTML 5 and its Canvas technology will displace proprietary plug-ins 'really depends on what developers do,' says Firefox technical lead Vlad Vukicevic. It also depends on Microsoft, the only company involved in the HTML 5 effort that is both a browser developer and an RIA tool developer. 'That's a big elephant in the room for them because you can imagine the Silverlight team [whose] whole existence is to add [this] functionality in. [But] if Internet Explorer puts it already in there, why do we have Silverlight?' asks Mozilla's Dion Almaer." The RIA guys are quoted as saying they're not worried, because HTML 5 + CSS 3 is 10 years out. Are they just whistling in the dark?
Programming

Erlang's Creator Speaks About Its History and Prospects 48

Seal writes "Erlang, originally created at Ericsson in 1986, is a functional programming language which was released as open source around 10 years ago and flourished ever since. In this Q&A, Erlang creator Joe Armstrong talks about its beginnings as a control program for a telephone exchange, its flexibility and its modern day usage in open source programs. 'In the Erlang world we have over twenty years of experience with designing and implementing parallel algorithms. What we lose in sequential processing speed we win back in parallel performance and fault-tolerance,' Armstrong said. He also mentions how multi-core processors pushed the development of Erlang and the advantages of hot swapping."
Sun Microsystems

Sun Kills Rock CPU, Says NYT Report 190

BBCWatcher writes "Despite Oracle CEO Larry Ellison's recent statement that his company will continue Sun's hardware business, it won't be with Sun processors (and associated engineering jobs). The New York Times reports that Sun has canceled its long-delayed Rock processor, the next generation SPARC CPU. Instead, the Times says Sun/Oracle will have to rely on Fujitsu for SPARCs (and Intel otherwise). Unfortunately Fujitsu is decreasing its R&D budget and is unprofitable at present. Sun's cancellation of Rock comes just after Intel announced yet another delay for Tukwila, the next generation Itanium, now pushed to 2010. HP is the sole major Itanium vendor. Primary beneficiaries of this CPU turmoil: IBM and Intel's Nehalem X86 CPU business."
Security

Apple Finally Patches Java Vulnerability 177

macs4all writes "Apple has finally addressed the Java vulnerability that nearly everyone else patched months ago. Available now for OS X 10.4 and 10.5, and through Apple's Software Update service, this update patches a flaw in the Java Virtual Machine that could potentially allow a malicious Java applet to execute arbitrary code on the machine. Apple had previously advised users to turn off Java temporarily in their Web browsers."

Are Code Reviews Worth It? 345

JamaicaBay writes "I'm a development manager, and the other day my boss and I got into an argument over whether it's worth doing code reviews. In my shop we've done both code reviews and design reviews. They are all programmer-led. What we've found is that code reviews take forever and tend to reveal less than good UI-level testing would. The payback on design reviews, meanwhile, is tremendous. Our code is intended for desktop, non-critical use, so I asked my boss to consider whether it was worth spending so much time on examining built code, given our experience not getting much out of it. I'm wondering whether the Slashdot crowd's experience has been similar."
Education

Student Who Released Code From Assignments Accused of Cheating 333

Death Metal sends in a story about Kyle Brady, a computer science major at San Jose State University, who recently ran into trouble over publishing the source code to his programming assignments after their due dates. One of Brady's professors contacted him and threatened to fail him if he did not take down the code. Brady took the matter to the Computer Science Department Chair, who consulted with others and decided that releasing the code was not an ethical violation. Quoting Cory Doctorow at Boing Boing: "There's a lot of meat on the bones of this story. The most important lesson from it for me is that students want to produce meaningful output from their course-assignments, things that have intrinsic value apart from their usefulness for assessing their progress in the course. Profs — including me, at times — fall into the lazy trap of wanting to assign rotework that can be endlessly recycled as work for new students, a model that fails when the students treat their work as useful in and of itself and therefore worthy of making public for their peers and other interested parties who find them through search results, links, etc. But the convenience of profs must be secondary to the pedagogical value of the university experience — especially now, with universities ratcheting up their tuition fees and trying to justify an education that can put students into debt for the majority of their working lives."
Databases

Oracle Beware — Google Tests Cloud-Based Database 123

narramissic writes "On Tuesday, the same day Google held a press event to launch its Google Apps Sync for Microsoft Outlook, the company quietly announced in its research team blog a new online database called Fusion Tables. Under the hood of Fusion Tables is data-spaces technology, which would 'allow Google to add to the conventional two-dimensional database tables a third coordinate with elements like product reviews, blog posts, Twitter messages and the like, as well as a fourth dimension of real-time updates,' according to Stephen E. Arnold, a technology and financial analyst. 'So now we have an n-cube, a four-dimensional space, and in that space we can now do new kinds of queries which create new kinds of products and new market opportunities,' said Arnold, whose research about this topic includes a study done for IDC last August. 'If you're IBM, Microsoft and Oracle, your worst nightmare is now visible.'"
Security

New Exploit Uses JavaScript To Compromise Intranets, VPNs 87

redsoxh8r writes "Security researcher Robert Hansen, known as Rsnake, has developed a new class of attack that abuses a weakness in many corporate intranets and most browsers to compromise remote machines with persistent JavaScript backdoors. Threatpost reports: 'The attacks rely on the long-term caching policies of some browsers and take advantage of the collisions that can occur when two different networks use the same non-routable IP address space, which happens fairly often because the amount of address space is quite small. The bottom line is that even a moderately skilled attacker has the ability to compromise remote machines without the use of any vulnerability or weakness in the client software.'"
Programming

Should Undergraduates Be Taught Fortran? 794

Mike Croucher writes "Despite the fact that it is over 40 years old, Fortran is still taught at many Universities to students of Physics, Chemistry, Engineering and more as their first ever formal introduction to programming. According to this article that shouldn't be happening anymore, since there are much better alternatives, such as Python, that would serve a physical science undergraduate much better. There may come a time in some researchers' lives where they need Fortran, but this time isn't in 'programming for chemists 101.' What do people in the Slashdot community think?"
Programming

How To Sponsor an Open Source Sprint 58

Esther Schindler writes "Does your favorite open source project need just a little extra functionality? As Esther Schindler explains in this IT World article, your company can encourage the developers to add the features you've been yearning for — for far, far less money than you imagine. She interviews companies who have sponsored 'code-a-thons' for Drupal, Plone, simwiddy, and a set of applications for British Telecom, and provides specific pointers. From the article: 'To ensure that the event happens and that it meets its goals, you must connect with the right members of the community and motivate them to work with you. "It's not like these people are paid to work for your interests," points out Brightcove's Whatcott. If your business already has project committers on its staff, then it's just a matter of leveraging existing relationships. But, says Stahl, "Someone less 'core' in the community might well have a harder time.'"'
Programming

Yahoo Releases Open Source Hadoop Distribution 49

ruphus13 writes "Yahoo has been a vociferous Apache Hadoop user and supporter for several years now, and uses it extensively within its Search technologies. Hadoop has been gaining popularity in the Cloud Computing space, with companies like the NYTimes converting 4TB and 11 million articles to PDFs in under 24 hours using Hadoop and EC2 in late 2007. Hadoop has been made available in Amazon's cloud and Yahoo has now released its own Hadoop version. From the article: 'At today's Hadoop Summit in Silicon Valley, Yahoo! announced the availability of the Yahoo! Distribution of Hadoop, a source-only version of Apache Hadoop that Yahoo! uses within its own search engine. [Hadoop] is an open source software framework that helps process very large data sets, and is widely used in large-scale data mining applications as well as in search tools at sites like Facebook and many others. For developers and users interested in Hadoop, it's worth noting that the Yahoo! Distribution of Hadoop has been widely tested and developed at Yahoo! for years now.'"
PlayStation (Games)

Developer Panel Gives Its Verdict On Sony's PSP Go 55

An anonymous reader writes "A panel of games industry veterans have given their final verdict on Sony's PSP Go. David Perry thinks the handheld is an excellent step in the right direction, though he wants it to include free-to-play games. Andrew Oliver of Blitz Games Studios was also optimistic: 'The iPod has demonstrated that, given a nice small device and a good interface and easy buying process, people are happy to download content. I think this will work and move gamers to accepting legal digital downloads, which is the way we want the market to go.' In total, a panel of eight developers discussed four key issues surrounding the handheld, including whether or not they will develop for it."
Programming

New Languages Vs. Old For Parallel Programming 321

joabj writes "Getting the most from multicore processors is becoming an increasingly difficult task for programmers. DARPA has commissioned a number of new programming languages, notably X10 and Chapel, written especially for developing programs that can be run across multiple processors, though others see them as too much of a departure to ever gain widespread usage among coders."

Slashdot Top Deals