×
Java

Interviews: Ask James Gosling About Java and Ocean Exploring Robots 87

James Gosling is probably best known for creating the Java programming language while working at Sun Microsystems. Currently, he is the chief software architect at Liquid Robotics. Among other projects, Liquid Robotics makes the Wave Glider, an autonomous, environmentally powered marine robot. James has agreed to take a little time from the oceangoing robots and answer any questions you have. As usual, ask as many as you'd like, but please, one question per post.
Programming

No US College In Top 10 For ACM International Programming Contest 2013 199

michaelmalak writes "The annual ACM International Collegiate Programming Contest finished up last week for 2013, but for the first time since its inception in the 1970s, no U.S. college placed in the top 10. Through 1989, a U.S. college won first place every year, but there hasn't been one in first place since 1997. The U.S. college that has won most frequently throughout the contest's history, Stanford, hasn't won since 1991. The 2013 top 10 consists entirely of colleges from Eastern Europe, East Asia, and India."
Cloud

Dropbox Wants To Replace Your Hard Disk 445

Barence writes "Dropbox has kicked off its first developer conference with the stated goal of replacing the hard disk. 'We are replacing the hard drive,' said Dropbox CEO Drew Houston. 'I don't mean that you're going to unscrew your MacBook and find a Dropbox inside, but the spiritual successor to the hard drive is what we're launching.' The new Dropbox Platform includes tools for developers that will allow them to use Dropbox to sync app data between devices. The company's new APIs will also make it easier for app developers to include plugins that save to Dropbox, or choose files stored in the service for use within apps."
Programming

Why JavaScript On Mobile Is Slow 407

An anonymous reader writes "Drew Crawford has a good write up of the current state of JavaScript in mobile development, and why the lack of explicit memory handling (and a design philosophy that ignores memory issues) leads to massive garbage collection overhead, which prevents HTML5/JS from being deployed for anything besides light duty mobile web development. Quoting: 'Here’s the point: memory management is hard on mobile. iOS has formed a culture around doing most things manually and trying to make the compiler do some of the easy parts. Android has formed a culture around improving a garbage collector that they try very hard not to use in practice. But either way, everybody spends a lot of time thinking about memory management when they write mobile applications. There’s just no substitute for thinking about memory. Like, a lot. When JavaScript people or Ruby people or Python people hear "garbage collector," they understand it to mean "silver bullet garbage collector." They mean "garbage collector that frees me from thinking about managing memory." But there’s no silver bullet on mobile devices. Everybody thinks about memory on mobile, whether they have a garbage collector or not. The only way to get "silver bullet" memory management is the same way we do it on the desktop–by having 10x more memory than your program really needs.'"
Government

The Pentagon's Seven Million Lines of Cobol 345

MrMetlHed writes "A portion of this Reuters article about the Pentagon's inability to manage paying soldiers properly mentions that their payroll program has 'seven million lines of Cobol code that hasn't been updated.' It goes on to mention that the documentation has been lost, and no one really knows how to update it well. In trying to replace the program, the Pentagon spent a billion dollars and wasn't successful."
Businesses

Ask Slashdot: Development Requirements Change But Deadlines Do Not? 221

cyclomedia writes "Over a number of years my company has managed to slowly shift from a free-for-all (pick a developer at random and get them to do what you want) to something resembling Agile development with weekly builds. But we still have to deal with constant incoming feature changes and requests that are expected to be included in this week's package. The upshot is that builds are usually late, not properly tested and developers get the flak when things go wrong. I suspect the answer is political, but how do we make things better? One idea I had was that every time a new request comes in — no matter how small — the build gets pushed back by 24 or even 48 hours. I'd love to hear your ideas or success stories. (Unfortunately, quitting is not an option)"
Businesses

India To Overtake US On Number of Developers By 2017 157

dcblogs writes "There are about 18.2 million software developers worldwide, a number that is due to rise to 26.4 million by 2019, a 45% increase, says Evans Data Corp. in its latest Global Developer Population and Demographic Study. Today, the U.S. leads the world in software developers, with about 3.6 million. India has about 2.75 million. But by 2018, India will have 5.2 million developers, a nearly 90% increase, versus 4.5 million in the U.S., a 25% increase though that period, Evans Data projects. India's software development growth rate is attributed, in part, to its population size, 1.2 billion, and relative youth, with about half the population under 25 years of age. Rapid economic growth is fueling interest in development. India's services firms hire, in many cases, thousands of new employees each quarter. Consequently, IT and software work is seen as clear path to the middle class for many of the nation's young. For instance, in one quarter this year, Tata Consultancy Services added more than 17,000 employees, gross, bringing its total headcount to 263,600. In the same quarter of 2010, the company had about 150,000 workers."
Bug

Study Finds Bug Bounty Programs Extremely Cost-Effective 95

itwbennett writes "U.C. Berkeley researchers have determined that crowdsourcing bug-finding is a far better investment than hiring employees to do the job. Here's the math: Over the last three years, Google has paid $580,000 and Mozilla has paid $570,000 for bugs found in their Chrome and Firefox browsers — and hundreds of vulnerabilities have been fixed. Compare that to the average annual cost of a single North American developer (about $100,000, plus 50% overhead), 'we see that the cost of either of these VRPs (vulnerability reward programs) is comparable to the cost of just one member of the browser security team,' the researchers wrote (PDF). And the crowdsourcing also uncovered more bugs than a single full-time developer could find."
Programming

Ask Slashdot: Node.js vs. JEE/C/C++/.NET In the Enterprise? 304

theshowmecanuck writes "I'm working at a small- to medium-sized company that creates software for mobile devices, but came from a 'large enterprise' world before. I see node.js being used increasingly in smaller companies (including ours) or in web/mobile related software. Meanwhile we see languages like Java/JEE, C/C++, and .NET continue to be used for medium-to-large enterprise corporate software. Compared to the status quo in the enterprise (JEE/C/C++/.NET ... and yes, maybe even COBOL) maybe Slashdotters can chime in on how they see Node.js in this role. I'm thinking of things like complexity of business logic (dependencies, workflows, linear processes, etc), transaction support (for processes in general and database support), messaging services, etc. Also, what is the state of Node.js in terms of paradigms like application containers, where much of the 'plumbing' is already set up for you (one of the main benefits of JEE application containers)? But there is also the question of maintainability, deployment, and ongoing operations. What say you, Slashdot?"
Education

Deus Ex Creator On How a Video-Game Academy Could Fix the Industry 132

Nerval's Lobster writes "In the fall of 2014, 20 promising video game developers will begin a yearlong (and free) program at the University of Texas at Austin, where they will study under some of the gaming industry's most successful executives. 'The idea is to get the best of the best of the best, run them through a Navy Seals boot camp of sorts and not force them to worry about "how do I pay the rent and buy groceries,"' said program leader Warren Spector, who is responsible for creating well-known games such as Deus Ex. 'Fingers crossed, when we start delivering graduates who can contribute in major ways to the development of future games, that philanthropy will continue.' In a wide-ranging interview, Spector also talked about how his future students will be graduating into an industry in which 'every business model is broken, which is either terrifying or an opportunity depending on how you look at it.' Focus groups, analysis of historical trends, and aggregated game review scores may be comforting to number crunchers, but the majority of game projects still end up as commercial failures. Spector ultimately believes the people who actually make the games are going to make better decisions than the number crunchers. 'We've got to be looking forward and any time you start bringing data into it, you're not," Spector said. "I pitched a Lego construction game in 1989, and guess what: Minecraft is basically a Lego construction game. But at the time I was told "no, that won't work." I pitched a western game and the response was "westerns don't sell." And then Red Dead Redemption came out. Stuff doesn't sell until someone makes one that sells, and no amount of data can reveal what new thing is going to sell. The metrics and data guys, and the publishing guys will never come up with the next big thing.'""
The Almighty Buck

The Dangers of Beating Your Kickstarter Goal 168

jfruh writes "In March of 2012 legendary game designers Tim Schafer and Ron Gilbert ran a Kickstarter to design a new adventure game, asked for $400,000, and came away with more than $3.3 million. Their promised delivery date was October 2012. Now it's July 2013, and the project still needs cash, which they plan to raise by selling an 'early release' version on Steam in January 2014. One possible lesson: radically overshooting your crowdfunding goal can cause you to wildly expand your ambitions, leading to a project that can't be tamed."
Books

Book Review: Programming PHP 3rd Edition 155

Michael Ross writes "As a hugely popular scripting language with an 18-year history, PHP has been the topic of countless computer language books. One of the most comprehensive offerings has been Programming PHP, published by O'Reilly Media. The first edition appeared in March 2002, and was written by Rasmus Lerdorf (the original developer of PHP) and Kevin Tatroe. A second edition was released in May 2006, and saw the addition of another co-author, Peter MacIntyre. With the many changes to the language during the past seven years, the book has again been updated, to cover all of the major new features made available in version 5 of PHP." Keep reading for the rest of Michael's review.
Businesses

Silicon Valley In 2013 Resembles Logan's Run In 2274 432

theodp writes "The 1976 science fiction film Logan's Run depicts a dystopian future society where life must end at the age of 30. So, it's a world that kind of resembles today's Silicon Valley, where the NY Times reports that the median age of workers is 29 years old at Google and 28 years old at Facebook. The report that technology workers are young — really young — comes on the heels of other presumably-unrelated stories that Silicon Valley execs can't find enough skilled workers and no one would fund Doug Engelbart in the last four decades of his life. On the bright side, at least old techies don't die in Silicon Valley — they just can't get hired."
Programming

Modeling How Programmers Read Code 115

An anonymous reader writes "Following up on an experiment from December, Michael Hansen has recorded video of programmers of varying skill levels as the read and evaluate short programs written in Python. An eye tracker checks 300 times per second to show what they look at as they mentally digest the script. You can see some interesting differences between experts and beginners: 'First, Eric's eye movements are precise and directed from the beginning. He quickly finds the first print statement and jumps back to comprehend the between function. The novice, on the other hand, spends time skimming the whole program first before tackling the first print. This is in line with expectations, of course, but it's cool to see it come out in the data. Another thing that stands out is the pronounced effect of learning in both videos. As Eric pointed out, it appears that he "compiled" the between function in his head, since his second encounter with it doesn't require a lengthy stop back at the definition. The novice received an inline version of the same program, where the functions were not present. Nevertheless, we can see a sharp transition in reading style around 1:30 when the pattern has been recognized.'"
Oracle

Oracle Quietly Switches BerkeleyDB To AGPL 219

WebMink writes "A discussion in the Debian community reveals that last month Oracle quietly disclosed a change for the embedded BerkeleyDB database from the quirky Sleepycat License to the Affero General Public License (AGPL) in future versions. AGPL is only compatible with GPLv3 and treats web deployment as a trigger to license compliance, so developers using BerkeleyDB will need to check their code is still legally licensed. Even if they had made the switch in the interests of advancing software freedom it would be questionable to force so many developers into a new license compatibility crisis. But it seems likely their only motivation is to scare more people into buying proprietary licenses. Oracle are well within their rights, but developers are likely to treat this as a betrayal. As a poster in the Debian thread says, "Oracle move just sent the Berkeley DB to oblivion" because there are some great alternatives, like OpenLDAP's LMDB."
Programming

Who Will Teach U.S. Kids To Code? Rupert Murdoch 138

theodp writes "For all of their handwaving at Code.org about U.S. kids not being taught Computer Science, tech execs from Microsoft, Google, and Facebook seem more focused lately on Plan B of their 'two-pronged' National Talent Strategy. So, who's going to teach your children CompSci? Enter friend-of-the-Gates-Foundation Rupert Murdoch. Murdoch's Amplify Education is launching an AP Computer Science MOOC this fall (Java will be covered), taught by an experienced AP CS high school teacher (video). An added option, called MOOC Local, will provide additional resources to schools with students in the CS MOOC. MOOC Local will eventually cost $200 per student, but is free for the first year."
Programming

Harlan: a Language That Simplifies GPU Programming 195

hypnosec writes "Harlan – a declarative programming language that simplifies development of applications running on GPU has been released by a researcher at Indiana University. Erik Holk released his work publicly after working on it for two years. Harlan's syntax is based on Scheme – a dialect of LISP programming language. The language aims to help developers make productive and efficient use of GPUs by enabling them to carry out their actual work while it takes care of the routine GPU programming tasks. The language has been designed to support GPU programming and it works much closer to the hardware." Also worth a mention is Haskell's GPipe interface to programmable GPUs.
Android

Digia Releases Qt 5.1 With Preliminary Support For Android and iOS 86

An anonymous reader writes "Finnish software and services firm Digia, which bought Qt from Nokia back in August, has released version 5.1 of the cross-platform application framework. Among the changes are 'significant improvements' to Qt Quick and preliminary support for Android and iOS. The latter means Qt on Android and iOS are both considered Technology Previews, letting developers start building for the two mobile operating systems and porting apps from other platforms by reusing the same code base. Although most of the Qt functionality and tool integration is already in place to start developing mobile apps, Digia promises complete ports to Android and iOS will come with the release of Qt 5.2 'later this year.'"
Businesses

BART Strike Provides Stark Contrast To Tech's Non-Union World 467

dcblogs writes "The strike by San Francisco Bay Area Rapid Transit (BART) workers this week is a clear and naked display of union power, something that's probably completely alien to tech professionals. Tech workers aren't organized in any significant way except through professional associations. They don't strike. But the tech industry is highly organized, and getting more so. Industry lobbying spending has been steadily rising, reaching $135 million last year, almost as much as the oil and gas industry. But in just one day of striking, BART workers have cost the local economy about $73 million in lost productivity due to delays in traffic and commuting. Software developers aren't likely to unionize. As with a lot of professionals, they view themselves as people with special skills, capable of individually bargaining for themselves, and believe they have enough power in the industry to get what they want, said Victor Devinatz, a professor of management and quantitative methods at Illinois State University College of Business. For unions to get off the ground with software workers, Devinatz said, 'They have to believe that collective action would be possible vehicle to get the kinds of things that they want and that they deserve.'"
Programming

Things That Scare the Bejeezus Out of Programmers 641

itwbennett writes "Software developers are, by and large, a cool and analytical bunch, but there are a handful of things that strike terror in their hearts. Phil Johnson scoured developer forums looking for an answer to the question: What's your biggest fear as a programmer? The answers clustered into 5 broad groups ranging from being forced to learn or use a specific technology to working for and with incompetents. What's your biggest fear?"

Slashdot Top Deals