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."
Programming

First Browser-Based Quantum Computer Simulator Released 61

greg65535 (1209048) writes "Following the trend of on-line coding playgrounds like JSFiddle or CodePen, Google researchers unveiled the first browser-based, GPU-powered Quantum Computing Playground. With a typical GPU card you can simulate up to 22 qubits, write, debug, and share your programs, visualize the quantum state in 2D and 3D, see quantum factorization and quantum search in action, and even... execute your code backwards."
Hardware Hacking

LegoTechno -- Making Music With Lego Bricks, Python, OpenCV and a Groovebox 5

bauhausinteraction writes "A team from the Bauhaus-University and Native Instruments Developers built and programmed a fully functional interactive Lego Sequencer / Tangible Groove Machine that sends control data to the Maschine drum sequencer to make music. The thing was built within 24 hours as an unofficial weekend collaboration between bauhausinteraction and NI at the MidiHack 2014 in Stockholm. A standard webcam is mounted underneath the baseplate. The image is processed by a Python Script using the OpenCV Library to track the bricks. The tricky bit was to not track the user's hand, but we succeeded at that as well.

The information about brick color, position, and orientation is derived from the image and then converted into OpenSoundControl (OSC) messages. Those are sent over a network connection to a computer running Native Instruments Maschine to play back the sounds. Of course, this would work with other sound generators as well, since the whole thing simply spits out OSC-Messages and MIDI — but hey: if the guys from Native are there, you'd better use their Maschine stuff. Being real Masterbuilders, of course we used only unmodified, standard Lego Parts and no Kragle* for the construction. (*see the Lego Movie for reference.)"
Mozilla

Mozilla Launches Student Coding Program "Winter of Security" 40

First time accepted submitter NotInHere (3654617) writes "Mozilla has introduced a new program called MWoS, or 'Mozilla Winter of Security,' to involve university students in security projects. The attending students will write code for a Mozilla security tool during (northern hemisphere) winter. Unlike GSoC, attending it involves no monetary payment, but the student's universities are expected to actively cooperate and to give the students a credit for their work. From the article: 'MWoS is a win for all. Students get a chance to work on real-world security projects, under the guidance of an experienced security engineer. Professors get to implement cutting-edge security projects into their programs. Mozilla and the community get better security tools, which that we would not have the resources to build or improve ourselves.'"
Programming

Grace Hopper, UNIVAC, and the First Programming Language 137

M-Saunders (706738) writes "It weighed 13 tons, had 5,200 vacuum tubes, and took up a whole garage, but the UNIVAC I was an incredible machine for its time. Memory was provided by tanks of liquid mercury, while the clock speed was a whopping 2.25 MHz. The UNIVAC I was one of the first commercial general-purpose computers produced, with 46 shipped, and Linux Voice has taken an in-depth look at it. Learn its fascinating instruction set, and also check out FLOW-MATIC, the first English-language data processing language created by American computing pioneer Grace Hopper."
Programming

Fixing the Pain of Programming 294

An anonymous reader writes "Light Table is a Kickstarted, open source IDE that's been trying to integrate real-time feedback into code creation. Part of their process has been figuring out how to improve the practice of programming, from top to bottom. They've put up a post about the troublesome aspects of programming that we've learned to deal with and take for granted, but which need solving if programming is to be made accessible for more people. 'Surprisingly, one of the most common difficulties we have heard from beginners is just running code. Even if we were to hand [a new programmer the whole source code] they would likely still struggle to actually use it. They have to install dependencies, compile code, start servers and open ports. At each step the errors are difficult to diagnose and time-consuming to fix.' But these problems extend to experienced coders, too: 'The simplest question we could ask about our application is "what is the current state." Bizarrely, very few programming environments give you any help on this front. Many programmers get by with nothing but print statements.' It's interesting to see somebody working on these issues, instead of accepting that they're the status quo and just part of the experience of programming."
PlayStation (Games)

The Technical Difficulty In Porting a PS3 Game To the PS4 152

An anonymous reader writes "The Last of Us was one of the last major projects for the PlayStation 3. The code optimization done by development studio Naughty Dog was a real technical achievement — making graphics look modern and impressive on a 7-year-old piece of hardware. Now, they're in the process of porting it to the much more capable PS4, which will end up being a technical accomplishment in its own right. Creative director Neil Druckmann said, 'Just getting an image onscreen, even an inferior one with the shadows broken, lighting broken and with it crashing every 30 seconds that took a long time. These engineers are some of the best in the industry and they optimized the game so much for the PS3's SPUs specifically. It was optimized on a binary level, but after shifting those things over [to PS4] you have to go back to the high level, make sure the [game] systems are intact, and optimize it again. I can't describe how difficult a task that is. And once it's running well, you're running the [versions] side by side to make sure you didn't screw something up in the process, like physics being slightly off, which throws the game off, or lighting being shifted and all of a sudden it's a drastically different look. That's not 'improved' any more; that's different. We want to stay faithful while being better.'"
Programming

Programmers: It's OK To Grow Up 232

Nemo the Magnificent writes: " Everybody knows software development is a young man's game, right? Here's a guy who hires and manages programmers, and he says it's not about age at all — it's about skills, period. 'It's each individual's responsibility to stay fresh in the field and maintain a modern-day skillset that gives any 28-year-old a run for his or her money. ... Although the ability to learn those skills is usually unlimited, the available time to learn often is not. "Little" things like family dinners, Little League, and home improvement projects often get in the way. As a result, we do find that we face a shortage of older, more seasoned developers. And it's not because we don't want older candidates. It's often because the older candidates haven't successfully modernized their developer skills.' A company that actively works to offer all employees the chance to learn and to engage with modern technologies is a company that good people are going to work for, and to stay at."
Bug

Finding More Than One Worm In the Apple 116

davecb (6526) writes "At Guido von Rossum's urging, Mike Bland has a look at detecting and fixing the "goto fail" bug at ACM Queue. He finds the same underlying problem in both in the Apple and Heartbleed bugs, and explains how to not suffer it again." An excerpt: "WHY DIDN'T A TEST CATCH IT? Several articles have attempted to explain why the Apple SSL vulnerability made it past whatever tests, tools, and processes Apple may have had in place, but these explanations are not sound, especially given the above demonstration to the contrary in working code. The ultimate responsibility for the failure to detect this vulnerability prior to release lies not with any individual programmer but with the culture in which the code was produced. Let's review a sample of the most prominent explanations and specify why they fall short. Adam Langley's oft-quoted blog post13 discusses the exact technical ramifications of the bug but pulls back on asserting that automated testing would have caught it: "A test case could have caught this, but it's difficult because it's so deep into the handshake. One needs to write a completely separate TLS stack, with lots of options for sending invalid handshakes.""
Data Storage

New PostgreSQL Guns For NoSQL Market 162

angry tapir (1463043) writes "Embracing the widely used JSON data-exchange format, the new version of the PostgreSQL open-source database takes aim at the growing NoSQL market of nonrelational data stores, notably the popular MongoDB. The first beta version of PostgreSQL 9.4, released Thursday, includes a number of new features that address the rapidly growing market for Web applications, many of which require fast storage and retrieval of large amounts of user data."

Slashdot Top Deals