Mozilla

Firefox To Mandate Extension Signing 196

First time accepted submitter x0ra writes In a recent blog post, Mozilla announced its intention to require extensions to be signed in Firefox, without any possible user override. From the post: "For developers hosting their add-ons on AMO, this means that they will have to either test on Developer Edition, Nightly, or one of the unbranded builds. The rest of the submission and review process will remain unchanged, except that extensions will be automatically signed once they pass review. For other developers, this is a larger change. For testing development versions, they’ll have the same options available as AMO add-on developers. For release versions, however, we’re introducing the required step of uploading the extension file to AMO for signing. For most cases, this step will be automatic, but in cases where the extension doesn’t pass these tests, there will be the option to request a manual code review."
Open Source

Elementary OS: Why We Make You Type "$0" 208

jones_supa writes Open source software can always be acquired without charge, but can still incur significant development costs. Elementary OS wants to make people aware of this, and have changed their website to suggest donating when downloading, and make users explicitly enter "$0" if they want a free download. This is the same strategy Canonical has used when offering Ubuntu. The Elementary OS blog explains: "Developing software has a huge cost. Some companies offset that cost by charging hundreds of dollars for their software, making manufacturers pay them to license the software, or selling expensive hardware with the OS included. Others offset it by mining user data and charging companies to target ads to their users. [...] If we want to see the world of open source software grow, we should encourage users to pay for its development; otherwise it'll be underfunded or developers will have to resort to backdoor deals and advertising. And nobody wants that future." Currently the only people who have received money for working on Elementary OS have been community members through their bounty program.
Java

Your Java Code Is Mostly Fluff, New Research Finds 411

itwbennett writes In a new paper (PDF), researchers from the University of California, Davis, Southeast University in China, and University College London theorized that, just as with natural languages, some — and probably, most — written code isn't necessary to convey the point of what it does. The code and data used in the study are available for download from Bitbucket. But here's the bottom line: Only about 5% of written Java code captures the core functionality.
Input Devices

Building the Developer's Dream Keyboard 146

New submitter mondalaci writes: This article is about building the Ultimate Hacking Keyboard step by step, starting with an Arduino. Lots of pictures and nerd talk included. It's a mechanical keyboard that can split down the middle and re-merge, and it has four layers of keymappings to keep the design compact. It will support custom keymaps as well. They're planning to release the firmware and design files under the GPLv3, and they're working on repair instructions, too.
Businesses

Which Freelance Developer Sites Are Worth Your Time? 55

Nerval's Lobster writes: Many websites allow you to look for freelance programming jobs or Web development work. (Hongkiat.com, for example, offers links to several dozen.) The problem for developers in the European Union and the United States is that competition from rivals in developing countries is crushing fees for everybody, as the latter can often undercut on price. (This isn't a situation unique to software development; look at how globalization has compelled manufacturing jobs to move offshore, for example.) With all that in mind, developer David Bolton surveyed some freelance developer marketplaces, especially the ones that catered to Western developers, who typically need to operate at price-points higher than that of their counterparts in many developing nations. His conclusion? "It's my impression that the bottom has already been reached, in terms of contractor pricing; to compete these days, it's not just a question of price, but also quality and speed." Do you agree?
Education

Arkansas Declares a High School CS Education State of Emergency 120

theodp writes: Aiming to deliver on Governor Asa Hutchinson's inspired-by-Code.org-and-others Plan For Job Creation Through Technology Education, the Arkansas House voted 99-0 last week to require high schools to offer [but not require] a course in computer science, either in a traditional or online setting, starting this fall. Hutchinson learned last December that the state has only 6 qualified instructors to teach CS to high school students, so it's envisioned that the courses will be offered online through Virtual Arkansas ("where AR kids are Our kids").

Interestingly, House Bill 1183 includes a pretty dire-sounding Emergency Clause: "It is found and determined by the General Assembly of the State of Arkansas that computer science and technology skills are of vital importance to meet the growing needs of the workforce; that public school students need opportunities to develop computer science and technology skills in order to be competitive in the future; and that this act is immediately necessary to ensure that the Department of Education has the time necessary to develop and modify academic standards for computer science courses before beginning of the 2015-2016 school year. Therefore, an emergency is declared to exist, and this act being immediately necessary for the preservation of the public peace, health, and safety shall become effective on: (1) The date of its approval by the Governor."
Education

Will Elementary School Teachers Take the Rap For Tech's Diversity Problem? 493

theodp (442580) writes "Citing a new study published by the National Bureau of Economic Research (free to Federal employees), the NY Times reports on how elementary school teachers' pro-boy biases can discourage girls from math and science. "The pipeline for women to enter math and science occupations narrows at many points between kindergarten and a career choice," writes Claire Cain Miller, "but elementary school seems to be a critical juncture. Reversing bias among teachers could increase the number of women who enter fields like computer science and engineering, which are some of the fastest growing and highest paying. 'It goes a long way to showing it's not the students or the home, but the classroom teacher's behavior that explains part of the differences over time between boys and girls,' said Victor Lavy, an economist at University of Warwick in England and a co-author of the paper." Although the study took place in Israel, Lavy said that similar research had been conducted in several European countries and that he expected the results were applicable in the United States."
Wikipedia

The Bizarre and Complex Story of a Failed Wikipedia Software Extension 94

metasonix writes Originally developed by Wikia coders, "Liquid Threads" was intended to be a better comment system for use on MediaWiki talkpages. When applied to Wikipedia, then each Wikipedia talkpage or noticeboard would become something resembling a more modernized bulletin board, hopefully easier to use. Unfortunately, the project was renamed "Flow" and taken over by the Wikimedia Foundation's developers. And as documented in this very long Wikipediocracy post, the result was "less than optimal." After seven years and millions of dollars spent, even WMF Director Lila Tretikov admits "As such it is not ready for 'prime time' for us."
Education

AP Test's Recursion Examples: An Exercise In Awkwardness 252

theodp writes "Yet another example of how AP exams are loaded with poor coding practices," quipped Alfred Thompson, referring to a recursive code example that prints the numbers 0 to 6, which was posted to the (closed) AP Computer Science Facebook group. "We are often forced to use code examples that are not ideal coding practice," Thompson notes. "We do that to make things clear and to demonstrate specific concepts in a sort of isolation that we might not normally use. We seem to do that a lot with recursion because the examples that require recursion tend to be fairly complex." So, while asking students to use recursion instead of a loop to print '0123456' serves the purpose of teaching recursion, Thompson opines that it's also a poor example of code practice. "Someone raised on functional programming where recursion is a pretty standard way of doing looping might disagree of course," he adds. "There is a saying that when all you have is a hammer all your problems look like nails. This seems, in a way, to be the case with recursion and loops. If your first tool of choice (or what you have learned first) for iteration is loops you tend not to think of recursion as a solution. Similarly if you start with recursion (as is common with functional programming) you are a lot more likely to look at recursion as a tool for iteration." So, do you tend to embrace or eschew recursion in your programming?
Programming

Ask Slashdot: Is There a Web Development Linux Distro? 136

Qbertino writes I've been a linux user for more than 15 years now and in the last ten I've done basically all my non-trivial web development on Linux. SuSE in the early days, after that either Debian or, more recently, Ubuntu, if I want something to click on. What really bugs me is, that every time I make a new setup, either as a virtual machine, on concrete hardware or a remote host, I go through 1-2 hours of getting the basics of a web-centric system up and running. That includes setting PHP config options to usable things, setting up vhosts on Apache (always an adventure), configging mod_rewrite, installing extra CLI stuff like Emacs (yeah, I'm from that camp) walking through the basic 10-15 steps of setting up MySQL or some other DB, etc. ... You get the picture.

What has me wondering is this: Since Linux is deeply entrenched in the field of server-side web, with LAMP being it's powerhouse, I was wondering if there aren't any distros that cover exactly this sort of thing. You know, automatic allocation of memory in the runtime settings, ready-made Apache http/https/sftp/ftp setup, PHP all ready to go, etc. What are your experiences and is there something that covers this? Would you think there's a need for this sort of thing and would you base it of Debian or something else? If you do web-dev, how do you do it? Prepareted scripts for setup? Anything else? ... Ideas, unkown LAMP distros and opinions please."
Debian

CrunchBang Linux Halts Development 129

An anonymous reader writes: Philip Newborough, the developer behind CrunchBang Linux, has put an end to work on the distro. CrunchBang was built as a layer on top of Debian using the Openbox window manager that focused on performance and customization. Newborough says the changing landscape of Linux over the past decade has obviated the need for a distro like CrunchBang. "Whilst some things have stayed exactly the same, others have changed beyond all recognition. It's called progress, and for the most part, progress is a good thing. That said, when progress happens, some things get left behind, and for me, CrunchBang is something that I need to leave behind. I'm leaving it behind because I honestly believe that it no longer holds any value, and whilst I could hold on to it for sentimental reasons, I don't believe that would be in the best interest of its users, who would benefit from using vanilla Debian."
Programming

Google-Advised Disney Cartoon Aims To Convince Preschool Girls Coding's Cool 254

theodp writes: Cereal and fast food companies found cartoons an effective way to market to children. Google is apparently hoping to find the same, as it teams with Disney Junior on a cartoon to help solve its computer science "pipeline" problem. The LA Times reports the tech giant worked with the children's channel on the new animated preschool series Miles From Tomorrowland, in an effort to get kids — particularly girls — interested in computer science. The program, which premieres Friday, introduces the preschool crowd to Miles Callisto, a young space adventurer, and his family — big sister (and coder extraordinaire) Loretta and their scientist parents Phoebe and Leo. Google engineers served as consultants (YouTube video) on the show. "When we did our computer science research, we found the No. 2 reason why girls in particular are not pursuing it as a career is because their perception was fairly negative and they associated it as a field for boys," said Julie Ann Crommett, Google's program manager for computer science in media. Can't wait for the episode where Google and Disney conspire to suppress Loretta's wages!
Facebook

Facebook Brings React Native To Native Mobile Development 78

the_insult_dog writes Despite a lack of dev tools, samples, tutorials, documentation or even a blog post or press release, Facebook's announcement that it's bringing the popular React.js JavaScript library to iOS and Android native mobile development stirred up comments like "groundbreaking" and "game changing." In a series of videos from the recent React.js Conference 2015, Facebook engineers said they're rejecting the "write-once, run-anywhere pipe dream" in favor of a "learn-once, write-anywhere" paradigm. All efforts to duplicate native performance and look-and-feel actually feel like "s__t", an engineer said in explaining the company's new approach to native development in a conference keynote video. Yet to be proven, with tools in the works, it's supposedly a huge success internally at Facebook and experts said the new approach could shake up the whole mobile dev industry.
Programming

Ask Slashdot: What Tools To Clean Up a Large C/C++ Project? 233

An anonymous reader writes I find myself in the uncomfortable position of having to clean up a relatively large C/C++ project. We are talking ~200 files, 11MB of source code, 220K lines of code. A superficial glance shows that there are a lot of functions that seem to be doing the same things, a lot of 'unused' stuff, and a lot of inconsistency between what is declared in .h files and what is implemented in the corresponding .cpp files. Are there any tools that will help me catalog this mess and make it easier for me to locate/erase unused things, clean up .h files, and find functions with similar names?
Education

Washington May Count CS As Foreign Language For College Admission 259

theodp writes On Wednesday, Washington State held a public hearing on House Bill 1445, which proposes a study "to allow two years of computer sciences to count as two years of world languages for the purposes of admission into a four-year institution of higher education." Among the questions posed by the House Higher Education Committee to a UW rep at the hearing was the following: "What's the case for...not just world language is good, world language is well-rounded, but world language is so super-duper-duper good that you should spend two years of your life doing them and specifically better than something else like coding?" The promise of programming jobs, promoted by Microsoft execs and other MS folks like ex-Program Manager Audrey Sniezek (ironically laid off last summer), has prompted Kentucky to ponder a similar measure.
Hardware Hacking

You Can Now Clone Samsung's Gear VR and Test Your Virtual Reality Apps 32

An anonymous reader writes While Samsung's Gear VR headset launched in early December in the U.S., folks abroad didn't have any official means of buying the headset to test their in-development applications. Only recently has Gear VR begun making its way to countries around the world, and it's doing so slowly. For developers who don't want to wait (or DIYers who don't want to buy), some smart folks have figured out how to emulate the headset using a development board with an IMU that's been flashed with the same firmware found on the Oculus Rift DK1 headset. Plugging the board into the Note 4 (the smartphone that powers Gear VR), results in the phone recognizing the IMU as the Gear VR headset, allowing developers to test their applications and even launch the "Oculus Home" environment, allowing access to official applications and content.
Programming

JavaScript, PHP Top Most Popular Languages, With Apple's Swift Rising Fast 192

Nerval's Lobster writes Developers assume that Swift, Apple's newish programming language for iOS and Mac OS X apps, will become extremely popular over the next few years. According to new data from RedMonk, a tech-industry analyst firm, Swift could reach that apex of popularity sooner rather than later. While the usual stalwarts—including JavaScript, Java, PHP, Python, C#, C++, and Ruby—top RedMonk's list of the most-used languages, Swift has, well, swiftly ascended 46 spots in the six months since the firm's last update, from 68th to 22nd. RedMonk pulls data from GitHub and Stack Overflow to create its rankings, due to those sites' respective sizes and the public nature of their data. While its top-ranked languages don't trade positions much between reports, there's a fair amount of churn at the lower end of the rankings. Among those "smaller" languages, R has enjoyed stable popularity over the past six months, Rust and Julia continue to climb, and Go has exploded upwards—although CoffeeScript, often cited as a language to watch, has seen its support crumble a bit.
Businesses

Study Predicts 9% Drop In Salaries of New CS Grads This Year 170

Jim_Austin writes: The first report on the class of 2015 from the respected National Association of Colleges and Employers (NACE), which conducts surveys of employers' hiring intentions throughout the year, projects a 9% drop in the salaries of new computer science bachelor's degree graduates, from $67,300 in 2014 to $61,287 this year. Reader phantomfive sends this news on a related subject: The Brookings Institute has released a report showing where the tech jobs are in the United States. Of course, San Jose comes in first, but Kansas is high up in the list. Michigan and Utah also were surprisingly high. On the other hand, if you live in Minnesota and you think there are no tech jobs, you are probably right.
Books

Book Review: Core HTML5 2D Game Programming 50

eldavojohn writes Core HTML5 2D Game Programming details a journey through creating Snail Bait in well defined steps. This simple two dimensional platform game works as a great starting point for anyone interested in making their very first game targeting many desktop and mobile platforms. This incremental process is expertly segmented into logical lessons with the only prerequisite being fluency in JavaScript. One of the most attractive aspects of this book is that the core concepts of this book don't rely on some flavor of the week JavaScript library or framework. Read below for the rest of eldavojohn's review.
Businesses

Building a Good Engineering Team In a Competitive Market 101

Nerval's Lobster writes It's a pretty good market out there for tech professionals, at least on a statistical level. That can make it difficult for companies (both large ones and startups) to find good talent for their developer and engineering ranks. According to Ron Pragides, who rode the wave of IPOs at Salesforce and Twitter before joining Bigcommerce, the trick to hiring good tech people isn't necessarily a matter of offering the best perks, or the most money, or even an office with all sorts of fun stuff (although those can help). Instead, it's often a matter of selling them on a vision of the company's future. "It is about presenting the opportunity and the potential of what it could be if we have the right attitude, the right focus, the right work ethic," he said in an interview, "It's about making people feel like this is your company and making them understand they are going to help the culture and will have a big direction in how the office develops. I tell them, 'This is your company, this is your startup.'" But even that might not be enough in places like Silicon Valley, where lots of companies offer that "vision thing." So what does it take to pull in good people to work on your projects? Or does it really just come down to money in the end?

Slashdot Top Deals