Programming

The Most Expensive One-Byte Mistake 594

An anonymous reader writes "Poul-Henning Kamp looks back at some of the bad decisions made in language design, specifically the C/Unix/Posix use of NUL-terminated text strings. 'The choice was really simple: Should the C language represent strings as an address + length tuple or just as the address with a magic character (NUL) marking the end? ... Using an address + length format would cost one more byte of overhead than an address + magic_marker format, and their PDP computer had limited core memory. In other words, this could have been a perfectly typical and rational IT or CS decision, like the many similar decisions we all make every day; but this one had quite atypical economic consequences.'"
Android

Amazon App Store 'Rotten To the Core,' Says Dev 346

suraj.sun sends an excerpt from this post made by a developer who decided to try out Amazon's App Store, only to be disappointed with the experience: "Amazon's biggest feature by far, has been their Free App Of The Day promotion. Publicly their terms say that they pay developers 20% of the asking price of an app, even when they give it away free. To both consumers and naive developers alike, this seems like a big chance to make something rare in the Android world: real money. But here's the dirty secret Amazon don't want you to know, they don't pay developers a single cent. ... Amazon is being predatory here, and asking developers (who are often desperate for exposure) to give away their app, in order to promote Amazon. In the end we agreed that we had entered the world of Android development as an experiment, and it would seem silly not to add more data to the experiment we were conducting. The day of our promotion came: ... Amazon gave away 101,491 copies of our app! At this point, we had a few seconds of excitement as well; had we mis-read the email and really earned $54,800 in one day? We would have done if our public agreement was in place, but we can now confirm that thanks to Amazon's secret back-door deals, we made $0 on that day. That's right, over 100,000 apps given away, $0 made."
Software

DARPA Developing Video Parser 29

coondoggie writes with an article in Networkworld about a disconcerting DARPA project. From the article: "If a picture is worth a thousand words, the scientists at the Defense Advanced Research Projects Agency would like to make that about a billion with a new software intelligent program. DARPA this month said it will detail a new system it would like to see built known as the Visual Media Reasoning (PDF) program. The main idea is to develop an advanced software program that can 'turn 'dumb' unstructured, ad hoc photos and video into true visual intelligence.'"
Programming

Escaping Infinite Loops 204

twocentplain writes in with an MIT news release about Jolt, a research project designed to unfreeze software stuck in an infinite loop (for a subset of infinite loops). It uses a combination of static instrumentation (using LLVM) and a run time watchdog that checks the program state during loop iteration; when a duplicate state is detected it permits the user to take one a few actions to escape the loop. The authors claim it works well enough that the program can often continue operating properly. The original paper contains detailed case studies.
Google

Email In Oracle-Google Case Will Remain Public 114

itwbennett writes "When last we left the Oracle/Google patent infringement saga, Oracle had been ordered by Judge William Alsup to lower its claim for damages to $100 million, give or take. Today Judge Alsup denied Google's attempt to get a potentially damaging e-mail redacted. 'What we've actually been asked to do by Larry and Sergey is to investigate what technology alternatives exist to Java for Android and Chrome,' Google engineer Tim Lindholm wrote in the Aug. 2010 e-mail. 'We've been over a hundred of these and think they all suck. We conclude that we need to negotiate a license for Java.'"
Patents

Ask Slashdot: Using Code With an Expired Patent? 139

kruhft writes "I was recently doing some research into Genetic Programming and found a library through a blog post that looks to be useful. After looking over the code and license, I found that this was the first piece of code I had seen that was protected by a patent, issued on June 19, 1990. I read that patents last for 20 years, meaning that the patent that this code refers to is expired. Is there any way for me to be sure that using this code is safe from any patent troll attacks if I choose to use it? Would rewriting the code keep me from violating any other patents that the author might have regarding the use of such an algorithm? Does the code pass into the public domain after the patent expires?" Note to Chrome users: the above link ("a library") works for me in Firefox, but not in Chrome on Linux; YMMV.
Businesses

How and Why Wall Street Programmers Earn Top Salaries 791

msmoriarty writes "Given the level of interest in the recent highest-paid programmers discussion, our reporter decided to do a follow-up looking into the languages and skills needed to work on high-frequency trading systems. There's actually a pretty wide range of languages/tools used, but Linux is the 'default' OS and, not surprisingly, the 'ability to work under pressure when the traders are screaming at you' is a must-have skill."
China

Chinese Firm Launches Cloud-Based Mobile OS 33

An anonymous reader writes "China-based company Alibaba looks to take on the might of Apple and Google with a cloud-based operating system. According to the company, its Aliyun OS will be based on the Linux kernel, and will also be compatible with Android apps. Launched alongside the K-Touch Cloud-Smart Phone W700, Alibaba is hoping that a 0% slice of developer profits will encourage adoption, and says it hopes manufacturers will take the platform to global markets."
Java

Java 7 Ships With Severe Bug 180

Lisandro writes "Lucid Imagination just posted an announcement about a severe bug in the recently released Java 7. Apparently some loops are mis-compiled due to errors in the HotSpot compiler optimizations, which causes programs to fail. This bug affects several Apache projects directly — Apache Lucene Core and Apache Solr have already raised a warning, noting that the bug might be present in Java 6 as well."
GNU is Not Unix

Emacs Has Been Violating the GPL Since 2009 295

Digana writes "Emacs, one of GNU's flagship products and the most famous software creation of Richard Stallman, has been discovered to be violating the GPL since 2009-09-28 by distributing binaries that were missing source. The CEDET package, a set of contributed files for giving certain IDE functionality related to static code analysis, has distributed files generated from bison grammars without distributing the grammar itself. This happened for Emacs versions 23.2 and 23.3, released during late 2009, and has just been discovered."
Education

Girls Go Geek Again 378

nessus42 writes "Computer science has always been a male-dominated field, right? Wrong. In 1987, 42% of the software developers in America were women. And 34% of the systems analysts in America were women. Women had started to flock to computer science in the mid-1960s, during the early days of computing, when men were already dominating other technical professions but had yet to dominate the world of computing. For about two decades, the percentages of women who earned Computer Science degrees rose steadily, peaking at 37% in 1984.... And then the women left. In droves. ...it looks like women are now returning to computer science."
Programming

The Rise of Git 442

snydeq writes "InfoWorld takes a look at the rise of Git, the use of which has increased sixfold in the past three years. Buoyed in large part by interest among the Ruby community and younger developers, Git has been gaining share for open source development largely because of its distributed architecture, analysts note. And the version control system stands to gain further traction on Subversion in the years ahead, as Eclipse is making Git its preferred version control system, a move inspired by developers and members."
Android

Sun CEO Explicitly Endorsed Java's Use In Android 204

An anonymous reader writes "ZDNet writes: 'If you believe Oracle's patent lawsuits against Google for its use of Java in Android, Google has stolen not just patented ideas but directly copied Java code. In short, Google is a red-handed thief and should pay Oracle over a billion in damages. There's just one little problem with this portrayal of Google as an intellectual property (IP) bandit. When Android first came out, Sun CEO Jonathan Schwartz, then Java's owner, greeted the news with 'heartfelt congratulations.' Whoops.'"
Programming

'The Code Has Already Been Written' 253

theodp writes "John D. Cook points out there's a major divide between the way scientists and programmers view the software they write. Scientists see their software as a kind of exoskeleton, an extension of themselves. Programmers, on the other hand, see their software as something they will hand over to someone else, more like building a robot. To a scientist, the software soup's done when they get what they want out of it, while professional programmers give more thought to reproducibility, maintainability, and correctness. So what happens when the twain meet? 'The real tension,' says Cook, 'comes when a piece of research software is suddenly expected to be ready for production. The scientist will say 'the code has already been written' and can't imagine it would take much work, if any, to prepare the software for its new responsibilities. They don't understand how hard it is for an engineer to turn an exoskeleton into a self-sufficient robot.'"
Medicine

FDA To Scrutinize Mobile Medical Apps 142

mikejuk writes "It looks like 'first do no harm' is coming to an app near you. The US Food and Drug Administration (FDA) is seeking input on its proposed oversight of some health-related mobile phone apps. It is almost too easy to create an app that aims to help people detect or manage some condition or other — but should programmers play the role of doctor even in seemingly harmless areas?"
Android

Oracle Ordered To Lower Damages Claim On Google 204

CWmike writes "Oracle has been ordered to lower its multibillion-dollar claim for damages in its patent infringement lawsuit against Google and its Android operating system, court papers show. Oracle's expert 'overreached' in concluding that Google owed up to $6.1 billion in damages for alleged infringement of Oracle's Java patents, U.S. District Court Judge William Alsup said Friday in a sternly written order. The 'starting point' for Oracle's damages claim should be $100 million, adjusted up and down for various factors, he said. At the same time, Google was wrong to assert that its advertising revenue is not related to the value of Android and should therefore not be a part of Oracle's damages, the judge wrote. He also warned Google, 'there is a substantial possibility that a permanent injunction will be granted' if it is found guilty of infringement."
Google

Google: Sun Offered To License Java For $100M 173

alphadogg writes "Sun Microsystems offered to license its Java technology to Google for $100 million, a Google attorney said Thursday, attempting to show that Oracle is out of touch as it seeks billions from Google for patent infringement. Oracle and Google were in court for a hearing in Oracle's lawsuit accusing Google of patent infringement in its Android OS. Judge William Alsup was in a feisty mood, warning Oracle that 'this court is not a wholly-owned subsidiary of Oracle Corporation' and telling Google that Andy Rubin, who runs its Android business, will be 'on the hot-seat' at trial. He also criticized both parties for taking unreasonable positions regarding the amount of damages owed for the alleged infringement."

Slashdot Top Deals