Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
Programming

Computational Thinking: AP Computer Science Vs AP Statistics? 155

Posted by Soulskill
from the literally-everyone-should-take-statistics dept.
theodp writes: "What if learning to code weren't actually the most important thing?" asks Mother Jones' Tasneem Raja. "Rather than increasing the number of kids who can crank out thousands of lines of JavaScript, we first need to boost the number who understand what code can do." Computational thinking, Raja explains, is what really matters. So, while Google is spending another $50 million (on top of an earlier $40 million) and pulling out all the stops in an effort to convince girls that code and AP Computer Science is a big deal, could AP Statistics actually be a better way to teach computational thinking to college credit-seeking high school students? Not only did AP Statistics enrollment surge as AP CS flat-lined, it was embraced equally by girls and boys. Statistics also offers plenty of coding opportunities to boot. And it teaches one how to correctly analyze AP CS enrollment data!
Technology

Age Discrimination In the Tech Industry 370

Posted by Soulskill
from the get-off-my-lawn dept.
Presto Vivace writes: Fortune has an article about increasingly overt age discrimination in the tech industry. Quoting: "It's a widely accepted reality within the technology industry that youth rules. But at least part of the extreme age imbalance can be traced back to advertisements for open positions that government regulators say may illegally discriminate against older applicants. Many tech companies post openings exclusively for new or recent college graduates, a pool of candidates that is overwhelmingly in its early twenties. ... 'In our view, it's illegal,' Raymond Peeler, senior attorney advisor at the Equal Employment Opportunity Commission, the federal agency that enforces workplace discrimination laws said about the use of 'new grad' and 'recent grad' in job notices. 'We think it deters older applicants from applying.'" Am I the only one who thinks many of the quality control issues and failed projects in the tech industry can be attributed to age discrimination?
Programming

Ask Slashdot: Best Way to Learn C# For Game Programming? 254

Posted by timothy
from the can't-sharpen-the-sea dept.
An anonymous reader writes So I, like many people, want to make my own game. Outside of MATLAB, Visual Basic, and LabVIEW I have no real programming experience. I initially started with Ruby, but after doing my homework decided that if I ever wanted to progress to a game that required some power, I would basically need to learn some form of C anyway. Further digging has led me to C#. The other parts of game design and theory I have covered: I have ~8 years of CAD modeling experience including Maya and Blender; I have a semiprofessional sound studio, an idie album on iTunes, and am adept at creating sound effects/music in a wide variety of programs; I'm familiar with the setbacks and frustration involved with game development — I beta tested DotA for 9ish years; I already have my game idea down on paper (RTS), including growth tables, unit types, unit states, story-lines, etc. I've been planning this out for a year or two; I will be doing this on my own time, by myself, and am prepared for it to take a couple years to finish. The reason for listing that stuff out, is that I want people to understand that I know what I'm getting myself in to, and I'm not trying to put out a not-so-subtle "help me make a game for free lol" type of post. With all of that said, where is a good place to start (i.e., recommended books) for learning C# for game programming? I am familiar with object oriented programming, so that's a little bit of help. I'm not necessarily looking for the syntax (that part is just memorization), but more for the methodology involved. If anyone also has any suggestions for other books or information that deal with game development, I would love to hear that too. I know enough to understand that I really don't know anything, but have a good foundation to build on.
Programming

Overeager Compilers Can Open Security Holes In Your Code 199

Posted by Soulskill
from the i-blame-the-schools dept.
jfruh writes: "Creators of compilers are in an arms race to improve performance. But according to a presentation at this week's annual USENIX conference, those performance boosts can undermine your code's security. For instance, a compiler might find a subroutine that checks a huge bound of memory beyond what's allocated to the program, decide it's an error, and eliminate it from the compiled machine code — even though it's a necessary defense against buffer overflow attacks."
Education

Girls Take All In $50 Million Google Learn-to-Code Initiative 548

Posted by Soulskill
from the more-good-coders-more-good-software dept.
theodp writes: On Thursday, Google announced a $50 million initiative to inspire girls to code called Made with Code. As part of the initiative, Google said it will also be "rewarding teachers who support girls who take CS courses on Codecademy or Khan Academy." The rewards are similar to earlier coding and STEM programs run by Code.org and Google that offered lower funding or no funding at all to teachers if participation by female students was deemed unacceptable to the sponsoring organizations. The announcement is all the more intriguing in light of a Google job posting seeking a K-12 Computer Science Education Outreach Program Manager to "work closely with external leaders and company executives to influence activities that drive toward collaborative efforts to achieve major 'moonshots' in education on a global scale." Perhaps towards that end, Google recently hired the Executive Director of the Computer Science Teachers Association (CSTA), who was coincidentally also a Code.org Advisory Board member. And Code.org — itself a Made With Code grantee — recently managed to lure away the ACM's Director of Public Policy to be its COO. So, are these kinds of private-public K-12 CS education initiatives (and associated NSF studies) a good idea? Some of the nation's leading CS educators sure seem to think so (video).
The Media

After 47 Years, Computerworld Ceases Print Publication 105

Posted by timothy
from the old-computer-magazines-never-die dept.
harrymcc (1641347) writes "In June 1967, a weekly newspaper called Computerworld launched. Almost exactly 47 years later, it's calling it quits in print form to focus on its website and other digital editions. The move isn't the least bit surprising, but it's also the end of an era--and I can' t think of any computing publication which had a longer run. Over at Technologizer, I shared some thoughts on what Computerworld meant to the world, to its publisher, IDG, and to me."
Google

Intel Adds SIMD Vectorization to JavaScript 1

Posted by timothy
from the frontiers-of-possibility dept.
Engineers at Intel have been working to modify the open source JavaScript engines used by Chrome and Firefox to support SIMD vectorization -- which will bring JavaScript one step closer to supporting near-native applications. Jeff Cogswell takes a look at some of the sample code and see if he can figure out what they’re doing. One particularly interesting aspect about this code is that it was written in part by a guy who works at Google and is active in Google’s Dart language. Dart was created to be a replacement to JavaScript as a browser language, but there has been some resistance.
Graphics

Adobe To Let Third Party Devs Incorporate Photoshop Features 39

Posted by samzenpus
from the open-to-the-public dept.
angry tapir (1463043) writes Third party developers will be able to build mobile applications that tap into the features of Adobe's Creative Cloud, including effects such as Photoshop's "content-aware fill" and PSD file manipulation, thanks to a new SDK the company is releasing as part of a major update to the suite of graphic design products. However, the company has been mum on important details such as how much (if anything) it will cost and what the license is likely to be (at the very least it seems end users will need to be Creative Cloud subscribers). The company has also made a foray into hardware releasing a pressure-sensitive stylus for tablets called Ink and a ruler called Slide.
Security

Code Spaces Hosting Shutting Down After Attacker Deletes All Data 387

Posted by Unknown Lamer
from the hackers-without-manners dept.
An anonymous reader writes Code Spaces [a code hosting service] has been under DDOS attacks since the beginning of the week, but a few hours ago, the attacker managed to delete all their hosted customer data and most of the backups. They have announced that they are shutting down business. From the announcement: An unauthorized person who at this point who is still unknown (All we can say is that we have no reason to think its anyone who is or was employed with Code Spaces) had gained access to our Amazon EC2 control panel and had left a number of messages for us to contact them using a Hotmail address. Reaching out to the address started a chain of events that revolved around the person trying to extort a large fee in order to resolve the DDOS.

At this point we took action to take control back of our panel by changing passwords, however the intruder had prepared for this and had already created a number of backup logins to the panel and upon seeing us make the attempted recovery of the account he proceeded to randomly delete artifacts from the panel.
Android

Android Needs a Simulator, Not an Emulator 167

Posted by Soulskill
from the simulated-grass-is-greener dept.
An anonymous reader writes Jake Wharton, Android Engineer at Square, has written an article about one of the big problems with building apps for Android: developers need a simulator for testing their software, rather than an emulator. He provides an interesting, technical explanation of the difference between them, and why the status quo is not working. Here are the basics of his article: "A simulator is a shim that sits between the Android operating system runtime and the computer's running operating system. It bridges the two into a single unit which behaves closely to how a real device or full emulator would at a fraction of the overhead. The most well known simulator to any Android developer is probably (and ironically) the one that iOS developers use from Apple. The iPhone and iPad simulators allow quick, easy, and lightweight execution of in-development apps. ... There always will be a need for a proper emulator for acceptance testing your application in an environment that behaves exactly like a device. For day-to-day development this is simply not needed. Developer productivity will rise dramatically and the simplicity through which testing can now be done will encourage their use and with any luck improve overall app quality. Android actually already has two simulators which are each powerful in different ways, but nowhere near powerful enough."
Internet Explorer

Microsoft Releases Early IE12 Preview As Part of Its New Developer Channel 105

Posted by Unknown Lamer
from the now-just-gpl-the-code... dept.
DroidJason1 (3589319) writes "Microsoft is looking to create a more open dialog between the Internet Explorer team and the Web development community by announcing Internet Explorer Developer Channel. IE Dev Channel allows you to preview the next version of Internet Explorer (IE12) alongside and independently of IE11. Web developers can download and test drive the latest IE platform features, something developers were already able to do with Firefox and Chrome. This preview release even offers support of the emerging Gamepad API, allowing you to use your Xbox controller to play games in IE!"
Education

Average HS Student Given Little Chance of AP CS Success 293

Posted by timothy
from the inopportunity-for-all dept.
theodp (442580) writes AP Computer Science is taught in just 10% of our high schools," lamented The White House last December as President Obama kicked off CSEdWeek. "China teaches all of its students one year of computer science." And the U.S. Dept. of Education has made the AP CS exam its Poster Child for inequity in education (citing a viral-but-misinterpreted study). But ignored in all the hand-wringing over low AP CS enrollment is one huge barrier to the goal of AP-CS-for-all: College Board materials indicate that the average 11th grader's combined PSAT/NMSQT score of 96 in reading and math gives him/her only a 20%-30% probability of getting a score of '3' on the AP CS exam (a score '4' or '5' may be required for college credit). The College Board suggests schools tap a pool of students with a "60-100% likelihood of scoring 3 or higher", so it's probably no surprise that CS teachers are advised to turn to the College Board's AP Potential tool to identify students who are likely to succeed (sample Student Detail for an "average" kid) and send their parents recruitment letters — Georgia Tech even offers some gender-specific examples — to help fill class rosters.
Programming

Ask Slashdot: Best Rapid Development Language To Learn Today? 466

Posted by timothy
from the pronto-now-yesterday-or-else dept.
An anonymous reader writes "Many years ago, I was a coder—but I went through my computer science major when they were being taught in Lisp and C. These days I work in other areas, but often need to code up quick data processing solutions or interstitial applications. Doing this in C now feels archaic and overly difficult and text-based. Most of the time I now end up doing things in either Unix shell scripting (bash and grep/sed/awk/bc/etc.) or PHP. But these are showing significant age as well. I'm no longer the young hotshot that I once was—I don't think that I could pick up an entire language in a couple of hours with just a cursory reference work—yet I see lots of languages out there now that are much more popular and claim to offer various and sundry benefits I'm not looking to start a new career as a programmer—I already have a career—but I'd like to update my applied coding skills to take advantage of the best that software development now has to offer. (More, below.)
Businesses

Netflix Shutters Its Public API 59

Posted by timothy
from the seemed-so-promising dept.
esarjeant (100503) writes "I guess it shouldn't come as a total surprise, but Netflix has gone from not issuing new developer keys to announcing the entire [public API] program will be shut down. It's a real shame they are going to be taking this offline; it spurred quite a bit of innovation for the Netflix service. For major sites that have already gone live it sounds like Netflix will let them keep going, but if you're looking to build the next FeedFliks, then you better look elsewhere."
Programming

545-Person Programming War Declares a Winner 57

Posted by Soulskill
from the bring-me-the-severed-subroutine-of-your-fallen-foe dept.
An anonymous reader writes: A while back we discussed Code Combat, a multiplayer game that lets players program their way to victory. They recently launched a tournament called Greed, where coders had to write algorithms for competitively collecting coins. 545 programmers participated, submitting over 126,000 lines of code, which resulted in 390 billion statements being executed on a 673-core supercomputer. The winner, going by the name of "Wizard Dude," won 363 matches, tied 14, and lost none! He explains his strategy: "My coin-collecting algorithm uses a novel forces-based mechanism to control movement. Each coin on the map applies an attractive force on collectors (peasants/peons) proportional to its value over distance squared. Allied collectors and the arena edges apply a repulsive force, pushing other collectors away. The sum of these forces produces a vector indicating the direction in which the collector should move this turn. The result is that: 1) collectors naturally move towards clusters of coins that give the greatest overall payoff, 2) collectors spread out evenly to cover territory. Additionally, the value of each coin is scaled depending on its distance from the nearest enemy collector, weighting in favor of coins with an almost even distance. This encourages collectors not to chase lost coins, but to deprive the enemy of contested coins first and leave safer coins for later."
AI

The Profoundly Weird, Gender-Specific Roots of the Turing Test 136

Posted by Soulskill
from the i'm-sorry-dave,-these-shoes-are-half-off dept.
malachiorion writes: Alan Turing never wrote about the Turing Test, that legendary measure of machine intelligence that researchers claimed to have passed last weekend. He proposed something much stranger — a contest between men and machines, to see who was better at pretending to be a woman. The details of the Imitation Game aren't secret, or even hard to find, and yet no one seems to reference it. This article explains why they should — in part because it's so odd, but also because it might be a better test for 'machines that think' than the chatbot-infested, seemingly useless Turing Test.
Programming

Google Engineer: We Need More Web Programming Languages 309

Posted by timothy
from the ok-make-it-a-1001-flowers dept.
itwbennett (1594911) writes Web applications may one day surpass desktop applications in function and usability — if developers have more programming languages to choose from, according to a Google engineer. 'The Web is always available, except when it is not,' said Gilad Bracha, software engineer at Google and one of the authors of Google Dart, speaking to an audience of programmers Wednesday at the QCon developer conference in New York. 'It isn't always available in a way that you can always rely on it. You may have a network that is slow or flaky or someone may want to charge you.' Therefore any Web programming language, and its associated ecosystem, must have some way of storing a program for offline use, Bracha said. The Web programming language of the future must also make it easier for the programmer to build and test applications.
Software

Docker 1.0 Released 88

Posted by Soulskill
from the it's-done-for-arbitrary-values-of-done dept.
Graculus writes: "Docker, the company that sponsors the Docker.org open source project, is gaining allies in making its commercially supported Linux container format a de facto standard. Linux containers are a way of packaging up applications and related software for movement over the network or Internet. Once at their destination, they launch in a standard way and enable multiple containers to run under a single host operating system. 15 months and 8,741 commits after the earliest version was made public, Docker 1.0 has been released."
AI

Turing Test Passed 432

Posted by samzenpus
from the almost-human dept.
schwit1 (797399) writes "Eugene Goostman, a computer program pretending to be a young Ukrainian boy, successfully duped enough humans to pass the iconic test. The Turing Test which requires that computers are indistinguishable from humans — is considered a landmark in the development of artificial intelligence, but academics have warned that the technology could be used for cybercrime. Computing pioneer Alan Turing said that a computer could be understood to be thinking if it passed the test, which requires that a computer dupes 30 per cent of human interrogators in five-minute text conversations."
Education

Parents Mobilize Against States' Student Data Mining 139

Posted by Soulskill
from the you-can-trust-us dept.
theodp writes 'Politico reports that parents have mobilized into an unexpected political force to fight the data mining of their children, catapulting student privacy to prominence in statehouses. Having already torpedoed the $100 million, Bill Gates-funded inBloom database project, which could have made it easier for schools to share confidential student records with private companies, the amateur activists are now rallying against another perceived threat: huge state databases being built to track children for more than two decades, from as early as infancy through the start of their careers. "The Education Department," writes Stephanie Simon, "lists hundreds of questions that it urges states to answer about each child in the public school system: Did she make friends easily as a toddler? Was he disciplined for fighting as a teen? Did he take geometry? Does she suffer from mental illness? Did he go to college? Did he graduate? How much does he earn?" Leonie Haimson, a NY mother who is organizing a national Parent Coalition for Student Privacy says, "Every parent I've talked to has been horrified. We just don't want our kids tracked from cradle to grave." For their part, ed tech entrepreneurs and school reformers are both bewildered by and anxious about the backlash — and struggling to craft a response, having assumed parents would support their vision: to mine vast quantities of data for insights into what's working, and what's not, for individual students and for the education system as a whole. "People took for granted that parents would understand [the benefits], that it was self-evident," said Michael Horn, a co-founder an education think tank."
Intel

Intel Confronts a Big Mobile Challenge: Native Compatibility 230

Posted by Soulskill
from the write-once-run-nowhere dept.
smaxp writes: "Intel has solved the problem of ARM-native incompatibility. But will developers bite? App developers now frequently bypass Android's Dalvik VM for some parts of their apps in favor of the faster native C language. According to Intel, two thirds of the top 2,000 apps in the Google Play Store use natively compiled C code, the same language in which Android, the Dalvik VM, and the Android libraries are mostly written.

The natively compiled apps run faster and more efficiently, but at the cost of compatibility. The compiled code is targeted to a particular processor core's instruction set. In the Android universe, this instruction set is almost always the ARM instruction set. This is a compatibility problem for Intel because its Atom mobile processors use its X86 instruction set."
XBox (Games)

Microsoft Confirms Disconnecting Kinect Gives Devs 10% More GPU Horsepower 174

Posted by timothy
from the remove-airbags-install-rollcage dept.
MojoKid (1002251) writes 'Microsoft confirmed a development rumor that's been swirling around its next-generation console ever since it announced Kinect would become an optional add-on rather than a mandatory boat anchor. Lifting that requirement will give game developers 10 percent additional graphics power to play with and help close the gap between the Xbox One and PS4. The story kicked off when Xbox head Phil Spencer tweeted that June's Xbox One dev kit gave devs access to more GPU bandwidth. Further, another Microsoft representative then confirmed that the performance improvement coming in the next version of the Xbox SDK was the result of making Kinect an optional accessory. No matter how Microsoft may try to spin it, cancelling Kinect isn't just a matter of giving game developers freedom, it's a tacit admission that game developers have no significant projects in play that are expected to meaningfully tap Kinect to deliver a great game experience — and they need those GPU cycles back.' Also on the Xbox capabilities front: Reader BogenDorpher (2008682) writes 'In August of last year, a Microsoft spokesman confirmed that the Xbox One controller will be compatible for PC users sometime in 2014. That time has finally come. Windows gamers can now use the Xbox One controller to play games on their computer. If a game supports a USB gamepad or the Xbox 360 controller, it will also support the Xbox One controller.'
Programming

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

Posted by Soulskill
from the you-get-zero-points-if-you-answer-starbucks dept.
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

Posted by Soulskill
from the there-can-be-only-one-(or-more) dept.
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

Posted by Soulskill
from the cleaning-up-the-digital-streets dept.
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

Posted by timothy
from the congratulations-and-good-luck dept.
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

Posted by Unknown Lamer
from the everyone's-got-one dept.
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

Posted by samzenpus
from the bottom-of-the-barrel dept.
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

Posted by timothy
from the your-name-in-lights dept.
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

Posted by timothy
from the named-larry-ellison dept.
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

Posted by Soulskill
from the that-stupid-turtle dept.
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

Posted by Soulskill
from the also-ready-for-prime-time dept.
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

Posted by timothy
from the can-we-send-them-snacks? dept.
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

Posted by timothy
from the loyal-opposition dept.
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

Posted by Soulskill
from the but-somebody-on-the-teevee-said-so dept.
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

Posted by Soulskill
from the looking-forward-to-php-deep-space-nine dept.
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

Posted by Soulskill
from the they'll-throw-you-in-a-cell dept.
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

Posted by Soulskill
from the or-else dept.
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

Posted by Unknown Lamer
from the pizza-and-mountain-dew-considered-harmful dept.
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

Posted by timothy
from the not-all-colleges-are-created-equal dept.
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

Posted by timothy
from the if-you-pirate-it-so-much-the-better dept.
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

Posted by timothy
from the it's-just-respecting-their-character-class-as-gatekeepers dept.
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

Posted by samzenpus
from the give-it-a-try dept.
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

Posted by Soulskill
from the not-compatible-with-mega-bloks dept.
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

Posted by samzenpus
from the student-labor dept.
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

Posted by samzenpus
from the back-in-the-day dept.
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

Posted by Soulskill
from the advil-for-the-dependency-headaches dept.
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

Posted by Soulskill
from the more-than-you-bargained-for dept.
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

Posted by Soulskill
from the Peter-Pan-need-not-apply dept.
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

Posted by timothy
from the looking-deeper dept.
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.""