×
Programming

Interview With Ward Cunningham 31

CowboyRobot writes "Ward Cunningham developed the first wiki, wrote the Fit test framework, is the co-inventor of CRC cards, and is now promoting the concept of technical debt. He recently won the Dr. Dobb's Excellence in Programming Award and was interviewed by that publication. 'The creator of the Wiki dishes on the Wiki, Wikipedia's policies, OO design, technical debt, CoffeeScript and Perl, how to survive as a veteran programmer, and doing the simplest thing that could possibly work.' Cunningham is given the chance to explain his philosophy of coding: 'I like the picture and I like the look of the code. It's only 40 lines, but every line carried some careful thought. There was a learning curve there that surprised me because the programs looked short. The most rewarding work I've done this year is digging through that code and understanding what it does and understanding what it didn't do, and how to approach the problem.'"
Databases

Moving From CouchDB To MySQL 283

itwbennett writes "Sauce Labs had outgrown CouchDB and too much unplanned downtime made them switch to MySQL. With 20-20 hindsight they wrote about their CouchDB experience. But Sauce certainly isn't the first organization to switch databases. Back in 2009, Till Klampaeckel wrote a series of blog posts about moving in the opposite direction — from MySQL to CouchDB. Klampaeckel said the decision was about 'using the right tool for the job.' But the real story may be that programmers are never satisfied with the tool they have." Of course, then they say things like: "We have a TEXT column on all our tables that holds JSON, which our model layer silently treats the same as real columns for most purposes. The idea is the same as Rails' ActiveRecord::Store. It’s not super well integrated with MySQL's feature set — MySQL can’t really operate on those JSON fields at all — but it’s still a great idea that gets us close to the joy of schemaless DBs."
GNU is Not Unix

FreeBSD 10 To Use Clang Compiler, Deprecate GCC 711

An anonymous reader writes "Shared in last quarter's FreeBSD status report are developer plans to have LLVM/Clang become the default compiler and to deprecate GCC. Clang can now build most packages and suit well for their BSD needs. They also plan to have a full BSD-licensed C++11 stack in FreeBSD 10." Says the article, too: "Some vendors have also been playing around with the idea of using Clang to build the Linux kernel (it's possible to do with certain kernel configurations, patches, and other headaches)."
Businesses

Ask Slashdot: Best Degree For a Late Career Boost? 234

Qbertino writes "I'm in my early 40s, and after a little more than 10 years of web, scripting and software development as a freelancer and some gigs as a regular, full-time employee, I'm seriously considering giving my IT career a boost by getting a degree. I'm your regular 1980s computer kid and made a career switch to IT during the dot-bomb days. I have quite a bit of programming and project experience, but no degree. I find myself hitting somewhat of a glass ceiling (with maybe a little age discrimination thrown in there). Since I'm in Germany, degrees count for a lot (70% of IT staff have a degree) so getting one seems fitting and a nice addition to my portfolio. However, I'm pondering wether I should go for Computer Science or Business Informatics. I'd like to move into Project Management or Technical Account Management, which causes my dilemma: CS gives me the pro credibility and proves my knowledge with low-level and technical stuff, and I'd be honing my C/C++ and *nix skills. Business Informatics would teach me some bean-counting skills; I'd be doing modelling, ERP with Java or .NET all day. It would give me some BA cred, but I'd lose karma with the T-shirt wearing crew and the decision-makers in that camp. I'm leaning toward Business Informatics because I suspect that's where the money is, but I'm not quite sure wether a classic CS degree wouldn't still be better — even if I'm wearing a suit. Any suggestions?"
Android

Oracle Not Satisfied With Potential $150,000; Goes Against Judge's Warning 234

bobwrit writes with news about how the monetary damages in the Google v. Oracle case might shake out. On Thursday, Judge Alsup told Oracle the most it could expect for statutory damages was a flat $150,000, a far cry from the $6.1 billion Oracle wanted in 2011, or even the $2.8 million offered by Google as a settlement. However, Oracle still thinks it can go after infringed profits, even though Judge Alsup specifically warned its lawyers they were making a mistake. He said, "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions." Groklaw has a detailed post about today's events.
Programming

Objective-C Comes of Age 437

New submitter IdleThoughts writes "Sometimes it takes a long time to spark a revolution. Long the ugly duckling of programming languages, iOS' Objective-C passed C# in the 'TIOBE Programming Community Index this month and seems on a trajectory to overtake C++ in the next few. It was invented in the early 1980s by Brad Cox and Tom Love, with the idea of creating 'Software Integrated Circuits' and heavily influenced by Smalltalk — yet another legacy from Xerox PARC, along with desktop GUIs, ethernet and laser printers. It was adopted early on by Steve Jobs' NeXTStep, the grand-daddy of all that is now OS X. It had to wait, however, for the mobile device revolution to have its day, being ideally suited to the limited resources on portable devices. It's still being actively developed by Apple and others, sporting the new automatic reference counting and static analysis in the Clang compiler. It turns out it has supported dynamic patching of code in applications all along. What more surprises does this venerable language have up its sleeve?"
Government

US Metaphor-Recognizing Software System Starts Humming 105

coondoggie writes "An innovative project, called Autonomous Dynamic Analysis of Metaphor and Analogy, or ADAMA, aims to build a software system that can automatically analyze metaphorical speech in five different languages by analyzing huge quantities of online data got off the ground this week when the U.S. Army Research Laboratory awarded a $1.4 million contract to the team conducting the research. The research is backed by the US Intelligence Advanced Research Projects Activity (IARPA), which develops high-risk, reward research projects for the government, and is intended to build a repository of speech metaphors from American/English Iranian Farsi, Mexican Spanish and Russian speakers. ADAMA could have immediate applications in forensics, intelligence analysis, business intelligence, sociological research and communication studies, researchers stated."
Ubuntu

Dell Designing Developer Oriented Laptop 399

jones_supa writes "Barton George, director of marketing for Dell's Web vertical reveals information about 'Project Sputnik', a laptop tailored for developer needs in web companies. 'We want to find ways to make the developer experience as powerful and simple as possible. And what better way to do that than beginning with a laptop that is both highly mobile and extremely stylish, running the 12.04 LTS release of Ubuntu Linux,' George ponders. He also gives a quick list of packages that the default installation could include. The machine will base on the XPS13, assessing a couple of its main hardware deficiencies along the way." According to the article, this is a "6 month project to investigate an Ubuntu laptop. If successful, we have big plans for the effort." It's unclear how closely they are working with upstream, but there's mention of Canonical as a commercial partner so this may mean Dell is working to ensure some of their hardware Just Works (tm) with Ubuntu. The software side is so far just a customized install with developer tools preinstalled. Ars remains skeptical about Dell's strategy for GNU/Linux support, which may be warranted given their track record.
Ruby

SciRuby: Science and Matrix Libraries For Ruby 138

Aciel writes "Ruby has long been popular in the web/business community, while Python dominates the scientific community. One new project seeks to bring balance to the force: SciRuby. We've already introduced a linear algebra library called NMatrix (currently alpha status). There's at least one fellowship available for students interested in working on the project this summer."
Java

Why You Can't Dump Java (Even Though You Want To) 402

snydeq writes "Since so many recent exploits have used Java as their attack vector, you might conclude Java should be shown the exit, but the reality is that Java is not the problem, writes Security Advisor's Roger Grimes. 'Sure, I could opt not to use those Java-enabled services or install Java and uninstall when I'm finished. But the core problem isn't necessarily Java's exploitability; nearly all software is exploitable. It's unpatched Java. Few successful Java-related attacks are related to zero-day exploits. Almost all are related to Java security bugs that have been patched for months (or longer),' Grimes writes. 'The bottom line is that we aren't addressing the real problems. It isn't a security bug here and there in a particular piece of software; that's a problem we'll never get rid of. Instead, we allow almost all cyber criminals to get away with their Internet crime without any penalty. They almost never get caught and punished. Until we solve the problem of accountability, we will never get rid of the underlying problem.'"
Google

The Patent Mafia and What You Can Do To Break It Up 205

colinneagle sends this quote from an article about the ever-growing patent racket in the tech industry: "The lawsuits are raging all across the tech world. Oracle sues Google, Yahoo sues Facebook, they counter-sue. Others threaten, others buy more patents and the circle goes round and round. Don't be fooled by the lawsuits between these tech titans though. The real cost that the patent mafia extracts from the tech world is on the smaller companies who can't afford to battle the Apples and Microsofts of the world. Their choices are far simpler. They can abandon their innovations or they can choose to pay and allow the Mafiosos to wet their beaks. Also, don't be fooled about who the real losers are here. The the real losers are you and me. ... So what do do? Here is my opinion. I would make it just as expensive for the offensive patent prosecutors. Just as the government put in the RICO act to combat organized crime, I would put a similar law in place on patents. RICO calls for treble damages. I would have treble awards of costs and legal fees. If a patent holder sues another entity for patent violation and that suit fails, the plaintiff who brought the suit should pay treble damages to the defendant. Three times what the defendant paid to defend."
Google

Jury Rules Google Violated Java Copyright, Google Moves For Mistrial 475

eldavojohn writes "Details are thin, but the long-covered Oracle v. Google trial has at least partially been decided in favor of Oracle. The jury says Google violated copyrights with Android when it used Java APIs to design the system. Google moved for a mistrial after hearing the incomplete decision. The patent infringement accusations have yet to be ruled upon."
Programming

Ask Slashdot: What Language Should a Former Coder Dig Into? 530

An anonymous reader writes "I was a consultant for nearly 20 years and I got into projects where I had to work with a huge variety of software, operating systems, hardware, programming languages, and other assorted technologies. After retiring from that I have spent the last 10 years in a completely different sector. Now I find myself wanting to really focus on coding for personal reasons. You can imagine how out-of-touch I am since I never really was more than a hack to begin with. I can learn syntax and basics in a weekend, question is, what Language should I become native to? Never liked anything 'lower-level' than C, and I don't have the funds to 'buy' my development environment....help me Slashdot, you're my only hope."
Bug

Recently Exposed PHP Hole's Official Fix Ineffective 240

wiredmikey writes "On Wednesday, a remote code execution vulnerability in PHP was accidentally exposed to the Web, prompting fears that it may be used to target vulnerable websites on a massive scale. The bug itself was traced back to 2004, and came to light during a recent CTF competition. 'When PHP is used in a CGI-based setup (such as Apache's mod_cgid), the php-cgi receives a processed query string parameter as command line arguments which allows command-line switches, such as -s, -d or -c to be passed to the php-cgi binary, which can be exploited to disclose source code and obtain arbitrary code execution,' a CERT advisory explains. PHP developers pushed a fix for the flaw, resulting in the release of PHP 5.3.12 and 5.4.2, but as it turns out it didn't actually remove the vulnerability."
Android

Jury May Be Deadlocked In Oracle-Google Trial 110

angry tapir writes "The jury may have reached a deadlock in the copyright phase of Oracle's intellectual property lawsuit against Google, although the judge cautioned against jumping to any conclusions. 'What happens if we can't reach a unanimous decision and people are not budging?' one of the jurors asked in a written note sent to the judge. The 12 jurors have been deliberating the copyright phase of Oracle's lawsuit against Google since Monday, and they need to be unanimous in any verdict they reach." According to Groklaw, Judge Alsup raised the possibility of a partial verdict — accepting the issues the jury can agree on and then retrying the rest. Google was less amenable to that than Oracle. Update: 05/04 21:05 GMT by S : The jury has reached a verdict on all claims but one. However, the judge sent them home for the weekend. On Monday they'll vote again and see if they can resolve the last claim.
Android

Oracle Vs. Google and the Right To Use APIs 155

jfruh writes "Even as an EU court rules that APIs can't be copyrighted, tech observers are waiting for the Oracle v. Google trial jury to rule on the same question under U.S. law. Blogger Brian Proffitt spoke with Groklaw's Pamela Jones on the issue, and her take is that a victory for Oracle would be bad news for developers. Essentially, Oracle is claiming that, while an individual API might not be copyrightable, the collection of APIs needed to use a language is. Such a decision would, among other things, make Java's open source nature essentially meaningless, and would have lots of implications for any programming language you can name."
Java

JavaFX Runs On Raspberry Pi 147

mikejuk writes "Oracle seem to be concerned that the Raspberry Pi manages to run Java properly and they are actively working on the problem. To prove that it more than just works, what better than to get a JavaFX app up and running — what could be more cutting edge? Unfortunately the trick was performed using a commercial version of the JDK with JIT support and some private code, but it is still early days yet. Java and JavaFX on Raspberry Pi takes us into a whole new ball game." Watch the video at the linked report to see it in action.
EU

EU Court Rules APIs, Programming Languages Not Copyrightable 215

itwbennett writes "The European Court of Justice ruled on Wednesday that the functionality of a computer program and the programming language it is written in cannot be protected by copyright. In its ruling on a case brought by SAS Institute against World Programming Limited (WPL), the court said that 'the purchaser of a license for a program is entitled, as a rule, to observe, study or test its functioning so as to determine the ideas and principles which underlie that program.'"
GNU is Not Unix

GNU Media Goblin 0.3.0 Released 43

A mere year since the Mediagoblin photo/video sharing project was started, the project has hit version 0.3.0. Release highlights include: a rewrite of the database from MongoDB to SQL (via SQLAlchemy, making it much easier to install), audio support (using the HTML5 <audio> tag), a first take on a mobile interface, and smarter video buffering. Not content to sit idle, the developers are starting work on Salmon protocol support to federate with software like Diaspora in the next release.
IOS

Apple Blocks iOS Apps Using Dropbox SDK 356

Barence writes with an excerpt from PC Pro: "Dropbox's latest SDK has incurred the wrath of Apple, because users who don't have the Dropbox app installed on their iPhone/iPad are instead pushed to Dropbox's website via the Safari browser. Here, they can click a link to the desktop version of the service, which allows them to buy extra Dropbox storage without Apple taking its usual 30% cut." Reportedly, Dropbox is attempting to strike a deal to resolve the problem.

Slashdot Top Deals