Programming

Ask Slashdot: Where's the Most Unusual Place You've Written a Program From? 310

theodp writes: "Michael Raithel was polling the SAS crowd, but it'd be interesting to hear the answers to the programming questions he posed from a broader audience: 1. What is the most unusual location you have written a program from? 2. What is the most unusual circumstance under which you have written a program? 3. What is the most unusual computing platform that you wrote a program from? 4. What is the most unusual application program that you wrote?"
AMD

AMD, NVIDIA, and Developers Weigh In On GameWorks Controversy 80

Dputiger writes: "Since NVIDIA debuted its GameWorks libraries there's been allegations that they unfairly disadvantaged AMD users or prevented developers from optimizing code. We've taken these questions to developers themselves and asked them to weigh in on how games get optimized, why NVIDIA built this program, and whether its an attempt to harm AMD customers. 'The first thing to understand about [developer/GPU manufacturer] relations is that the process of game optimization is nuanced and complex. The reason AMD and NVIDIA are taking different positions on this topic isn't because one of them is lying, it’s because AMD genuinely tends to focus more on helping developers optimize their own engines, while NVIDIA puts more effort into performing tasks in-driver. This is a difference of degree — AMD absolutely can perform its own driver-side optimization and NVIDIA's Tony Tamasi acknowledged on the phone that there are some bugs that can only be fixed by looking at the source. ... Some of this difference in approach is cultural but much of it is driven by necessity. In 2012 (the last year before AMD's graphics revenue was rolled into the console business), AMD made about $1.4 billion off the Radeon division. For the same period, NVIDIA made more than $4.2 billion. Some of that was Tegra-related and it's a testament to AMD's hardware engineering that it competes effectively with Nvidia with a much smaller revenue share, but it also means that Team Green has far more money to spend on optimizing every aspect of the driver stack.'"
Programming

Machine Learning Used For JavaScript Code De-obfuscation 31

New submitter velco writes: "ETH Zurich Software Reliability Lab announced JSNice, a statistical de-obfuscation and de-minification tool for JavaScript. The interesting thing about JSNice is that it combines program analysis with machine learning techniques to build a database of name and type regularities from large amounts of available open source code on GitHub. Then, given new JavaScript code, JSNice tries to infer the most likely names and types for that code by basing its decision on the learned regularities in the training phase."
Red Hat Software

Matthew Miller Named New Fedora Linux Project Leader 24

darthcamaro (735685) writes "Barely a week after Robyn Bergeron announced her intention to step down, Red Hat today announced that Matthew Miller is now the new Fedora Project Leader. Miller is the guy that came up with the whole Fedora.next proposal which is now reshaping Red Hat's community Linux project. Miller has a clear view of how his leadership will work in the cat-herding world of open source: 'As the FPL, you've got the responsibility, but no actual authority to tell anyone to do things,' Miller said. 'So you have to find people that have an interest and are aligned with the direction you want to go.'"
Programming

Apple Announces New Programming Language Called Swift 636

jmcbain (1233044) writes "At WWDC 2014 today, Apple announced Swift, a new programming language. According to a report by Ars Technica: 'Swift seems to get rid of Objective C's reliance on defined pointers; instead, the compiler infers the variable type, just as many scripting languages do. ... The new language will rely on the automatic reference counting that Apple introduced to replace its garbage-collected version of Objective C. It will also be able to leverage the compiler technologies developed in LLVM for current development, such as autovectorization. ... Apple showed off a couple of cases where implementing the same algorithm in Swift provided a speedup of about 1.3X compared to the same code implemented in Objective C.'" Language basics, and a few worthwhile comments on LtU.
Businesses

A Measure of Your Team's Health: How You Treat Your "Idiot" 255

Esther Schindler (16185) writes "Every team has someone who at the bottom of its bell curve: an individual who has a hard time keeping up with other team members. How your team members treat that person is a significant indicator of your organization's health. That's especially true for open source projects, where you can't really reject someone's help. All you can do is encourage participation... including by the team "dummy.""
Movies

Grace Hopper Documentary Edges on Successful Crowdfunding 65

mikejuk (1801200) writes "Born With Curiosity is a proposed biopic about computer pioneer Grace Hopper. With a week to go before it closes on June 7, a crowdfunding campaign on Indigogo has so far raised 94% of its $45,000 target. Although there have been a couple of books devoted to Grace Hopper and she recently was the subject of a Google Doodle, her story hasn't made it to celluloid, which is something that Melissa Pierce finds anomalous, stating on the Born With Curiosity Indigogo page: 'Steve Jobs had 8 films made about him, with another in pre-production! Without Grace Hopper, Steve might have been a door to door calculator salesman! Even with that fact,there isn't one documentary about Grace and her legacy. It's time to change that.'"
Oracle

Oregon vs. Oracle: the Battle of Blame Heats Up 83

Rambo Tribble (1273454) writes "The ongoing efforts to assign responsibility for the disastrous attempts to create the Cover Oregon health exchange, the primary contractor for which was Oracle Corporation, have entered a new round, with Governor John Kitzhaber calling on State Attorney General Ellen Rosenblum to initiate legal action against the firm. Kitzhaber has also sought the help of Washington D.C. in sanctioning Oracle, though Oregon's own management of the project and the terms of their contract with Oracle muddy the waters, considerably. Although the AG's office hasn't committed to filing suit, yet, AG Rosenblum has said, 'I share your determination to recover every dollar to which Oregon is entitled.' Although the outcome of this is uncertain, it is likely heads, both corporate and political, will roll."
Hardware Hacking

Ask Slashdot: What Inspired You To Start Hacking? 153

An anonymous reader writes "What got you into hacking? This is a question that Jennifer Steffen, IOActive CEO, often asks hackers she meets on conferences around the world. More often than not, the answer is movies: War Games, Hackers, The Matrix, and so on. But today, it is the real life hacking that is inspiring the movies of tomorrow. 'Hackers are doing epic stuff,' she says, and they are now inspiring movies and comics. So, what got you started? And what makes a good hacker today?"
Perl

Perl 5.20 Released, and Mojolicious 5.0: the Very Modern Perl Web Framework 126

Kvorg writes: "Back in 2012 Slashdot noticed how at the time of Perl 5.16, the modern Perl projects, including Mojolicious, formed a new and expanding movement of a Perl Renaissance. With the release of Perl 5.20 and Mojolicious 5.0, the Modern Perl Renaissance is ever more striking. Faster, neater, sharper with its asynchronous APIs, Mojolicious is extremely flexible with its advanced request routing, plugin system, perl templating and hook API. Its adherence to the modern interfaces and standards and its implementation of advanced features in support tools, DOM and CSS selectors makes it easy to program with.

Mojolicious, with its philosophy of optimized code-generation (think metaprogramming), enabled-by-default support for encodings and UTF-8, zero dependency deployment with wide support for existing CPAN packages, zero downtime restarts and fully tested implementations, reminds us of how fun and flexible programming in scripting languages used to be. Of course, integrated documentation and a very supportive bundled development server don't hurt, either. The new Perl release with new postfix dereference syntax, subroutine signatures, new slice syntax and numerous optimizations makes it all even more fun."
Encryption

OpenSSL To Undergo Security Audit, Gets Cash For 2 Developers 132

Trailrunner7 (1100399) writes "Scarcely a month after announcing the formation of a group designed to help fund open source projects, the Core Infrastructure Initiative has decided to provide the OpenSSL Project with enough money to hire two full-time developers and also will fund an audit of OpenSSL by the Open Crypto Audit Project. The CII is backed by a who's who of tech companies, including Google, Microsoft, IBM, the Linux Foundation, Facebook and Amazon, and the group added a number of new members this week, as well. Adobe, Bloomberg, HP Huawei and Salesforce.com have joined the CII and will provide financial backing. Now, the OCAP team, which includes Johns Hopkins professor and cryptographer Matthew Green, will have the money to fund an audit of OpenSSL, as well. OpenSSL took a major hit earlier this year with the revelation of the Heartbleed vulnerability, which sent the Internet into a panic, as the software runs on more than 60 percent of SSL-protected sites."
Internet Explorer

Next IE Version Will Feature Web Audio, Media Capture, ES6 Promises, and HTTP/2 173

An anonymous reader writes "Microsoft [Wednesday] announced it is developing at least four new features for the next release of Internet Explorer (IE): Web Audio API, Media Capture and Streams, ES6 Promises, and HTTP/2. The company says this is not an exhaustive list of what to expect in the next version, but merely what it is currently confident that it will be able to deliver. For those who don't know, HTTP/2 is a faster protocol for transporting Web content. It is based on Google's SPDY open networking protocol and is currently being standardized by the IETF. Web Audio is a JavaScript API for processing and synthesizing audio in Web applications while Media Capture provides access to the user's local audio and video input/output devices. Promises is meant to help developers write cleaner asynchronous code."
Government

No, HealthCare.gov Doesn't Require 500 Million Lines of Code 142

itwbennett writes: "Half a billion lines of code for a transactional website — more than five times as much code as that behind OS X — just didn't pass the sniff test. But just how many lines of code does it take to generate HealthCare.gov? This question came up on Reddit again last week and it appears that we may now have an answer. One commenter who claimed to have worked on HealthCare.gov as part of the post launch clean-up crew at the end of 2013, provided counts of the lines of code behind HealthCare.gov, broken down by programming/markup language."
PHP

PHP Next Generation 213

An anonymous reader writes "The PHP Group has put up a post about the future of PHP. They say, 'Over the last year, some research into the possibility of introducing JIT compilation capabilities to PHP has been conducted. During this research, the realization was made that in order to achieve optimal performance from PHP, some internal API's should be changed. This necessitated the birth of the phpng branch, initially authored by Dmitry Stogov, Xinchen Hui, and Nikita Popov. This branch does not include JIT capabilities, but rather seeks to solve those problems that prohibit the current, and any future implementation of a JIT capable executor achieving optimal performance by improving memory usage and cleaning up some core API's. By making these improvements, the phpng branch gives us a considerable performance gain in real world applications, for example a 20% increase in throughput for Wordpress. The door may well now be open for a JIT capable compiler that can perform as we expect, but it's necessary to say that these changes stand strong on their own, without requiring a JIT capable compiler in the future to validate them.'"
Math

Why You Shouldn't Use Spreadsheets For Important Work 422

An anonymous reader writes "Computer science professor Daniel Lemire explains why spreadsheets shouldn't be used for important work, especially where dedicated software could do a better job. His post comes in response to evaluations of a new economics tome by Thomas Piketty, a book that is likely to be influential for years to come. Lemire writes, 'Unfortunately, like too many people, Piketty used spreadsheets instead of writing sane software. On the plus side, he published his code ... on the negative side, it appears that Piketty's code contains mistakes, fudging and other problems. ... Simply put, spreadsheets are good for quick and dirty work, but they are not designed for serious and reliable work. ... Spreadsheets make code review difficult. The code is hidden away in dozens if not hundreds of little cells If you are not reviewing your code carefully and if you make it difficult for others to review it, how do expect it to be reliable?'"
Programming

Become a Linux Kernel Hacker and Write Your Own Module 143

M-Saunders (706738) writes "It might sound daunting, but kernel hacking isn't a mysterious black art reserved for the geekiest of programmers. With a bit of background knowledge, anyone with a grounding in C can implement a new kernel module and understand how the kernel works internally. Linux Voice explains how to write a module that creates a new device node, /dev/reverse, that reverses a string when it's written to it. Sure, it's not the most practical example in the world, but it's a good starting point for your own projects, and gives you an insight into how it all fits together."
Education

Chelsea Clinton At NCWIT: More PE, Less Zuckerberg 255

theodp (442580) writes "Among the speakers at last week's National Center for Women & Information Technology (NCWIT) Summit was Chelsea Clinton, who spoke fondly of the Commodore she received as a kid on Christmas Day in 1987. During the Q&A, Clinton was asked (Vimeo), 'What do you see as some of the right policies that could help put Computer Science — which is undeniably the most important 21st Century skill — into our classrooms?' To which the former First Daughter responded, 'I won't quibble with the fact that I think it's very important. I also think other things admittedly are important.' Such as? Aligning Computer Science with Common Core, for one thing ('Ensure that Computer Science is part of the definition of science'). Using state budget surpluses to hire additional physical education teachers for elementary and middle school students, for another ('For Computer Science, as any subject, kids that are well-fed with healthy food and who have been activated in their bodies will able to learn and retain information in any subject better than if they're not'). And, last but not least, 'continuing to tell stories of people that are not...people who don't look like Mark Zuckerberg as successful in Computer Science and technology.' NCWIT, by the way, was listed as a "major partner" on last December's Hour of Code, which arguably made Mark Zuckerberg the face of Computer Science for K-12 students in the nationwide campaign embraced by President Obama during CSEdWeek."
Education

Ph.Ds From MIT, Berkeley, and a Few Others Dominate Top School's CS Faculties 155

An anonymous reader writes "A Brown University project collected the background information of over 2,000 computer science professors in 51 top universities. The data shows a skew in their doctoral degrees, "Over 20% of professors received their Ph.D. from MIT or Berkeley, while more than half of professors received their Ph.D. from the [top] 10 universities." For those professors, fewer work in theoretical computer science and there is a growing trend of recent hires in systems and applications. The original data is also publicly-editable and available to download."
Programming

R Throwdown Challenge 185

theodp (442580) writes "'R beats Python!' screams the headline at Prof. Norm Matloff's Mad (Data) Scientist blog. 'R beats Julia! Anyone else wanna challenge R?' Not that he has anything against Python, Matloff adds, but he just doesn't believe that Python or Julia will become 'the new R' anytime soon, or ever. Why? 'R is written by statisticians, for statisticians,' explains Matloff. 'It matters. An Argentinian chef, say, who wants to make Japanese sushi may get all the ingredients right, but likely it just won't work out quite the same. Similarly, a Pythonista could certainly cook up some code for some statistical procedure by reading a statistics book, but it wouldn't be quite same. It would likely be missing some things of interest to the practicing statistician. And R is Statistically Correct.'"
Education

Microsoft Office Mix: No-Teacher-Left-Behind Course Authoring 27

theodp (442580) writes "While they aim to democratize learning, the Massive Open Online Course (MOOC) movement has, for the most part, oddly left K-12 teachers out of the online content creation business. ZDNet's Simon Bisson reports on Office Mix, Microsoft's new PowerPoint plug-in and associated cloud service, which Bisson says makes it easy to create and distribute compelling educational content (screenshots). GeekWire's Frank Catalano also makes an interesting case for why Office Mix's choice of PowerPoint, "the poster child for delivering boring presentations in non-interactive settings," could still be a disrupter in the online content creation space. By the way, MOOC.org, the collaboration of edX and Google which also aims to help "teachers easily build and host courses for the world to take," is slated to go live in the first half of 2014. It'll be interesting to see how MOOC.org's authoring tools differ from Google Research's Course Builder effort."

Slashdot Top Deals