Programming

Singapore's Prime Minister Shares His C++ Sudoku Solver Code 230

itwbennett writes: Several weeks ago, during a speech at the Founders Forum Smart Nation Singapore Reception, Singapore's prime minister Lee Hsien Loong said that he used to enjoy programming, and that the last program he wrote was a Sudoku solver in C++. To back that up, earlier today he announced (on Facebook and Twitter) that his code is available to download. He wrote on Facebook that he wrote the program 'several years ago' and that the code does 'a backtrack search, choosing the next cell to guess which minimises the fanout.'
Businesses

Recruiters Use 'Digital Native' As Code For 'No Old Folks' 553

bizwriter writes: Companies are trying to get around Equal Employment Opportunity Commission restrictions on age-discriminatory language (like "recent college graduate") by saying that they want "digital natives." So far, no one has complained to the EEOC, but that could change. "Since the 1990s dotcom boom, many employers have openly sought to hire young, tech savvy talent, believing that was necessary to succeed in the new digital economy. At the same time, age discrimination complaints have spiraled upward, according to the Equal Employment Opportunity Commission, with 15,785 claims filed in 1997 compared to 20,588 filed in 2014.

Out of the 121 charges filed last year by the EEOC for alleged discriminatory advertising, 111 of them claimed the job postings discriminated against older applicants. The EEOC has said that using phrases like 'college student,' 'recent college graduate,' or 'young blood' violate the Age Discrimination in Employment Act of 1966. That federal law protects individuals who are 40 years of age or older from employment discrimination based on age."
AI

AI Experts In High Demand 78

An anonymous reader writes: The field of artificial intelligence is getting hotter by the moment as Google, Facebook, Amazon, Microsoft and other tech companies snap up experts and pour funding into university research. Commercial uses for AI are still limited. Predictive text and Siri, the iPhone's voice-recognition feature, are early manifestations. But AI's potential has exploded as the cost of computing power drops and as the ability to collect and process data soars. Big tech companies like Facebook and Google now vacuum up the huge amount of data that needs to be processed to help machines make "intelligent" decisions. The relationship between tech giants and academia can be difficult to navigate. Some faculty members complain tech companies aren't doing enough in the many collaborative efforts now under way. One big gripe: Companies aren't willing to share the vast data they are able to collect.
Businesses

How Silicon Valley Got That Way -- and Why It Will Continue To Rule 123

An anonymous reader writes: Lots of places want to be 'the next Silicon Valley.' But the Valley's top historian looks back (even talks to Steve Jobs about his respect for the past!) to explain why SV is unique. While there are threats to continued dominance, she thinks it's just too hard for another region to challenge SV's supremacy.
Programming

Bill Gates Owes His Career To Steven Spielberg's Dad; You May, Too 171

theodp writes: On the 51st birthday of the BASIC programing language, GE Reports decided it was finally time to give-credit-where-credit-was-long-overdue, reporting that Arnold Spielberg, the 98-year-old father of Hollywood director Steven Spielberg, helped revolutionize computing when he designed the GE-225 mainframe computer. The machine allowed a team of Dartmouth University students and researchers to develop BASIC, which quickly spread and ushered in the era of personal computers. BASIC helped kickstart many computing careers, include those of Bill Gates and Paul Allen, as well as Steve Wozniak and Steve Jobs.
Crime

In Second Trial, Ex-Goldman Sachs Programmer Convicted of Code Theft 84

Ars Technica reports that A former Goldman Sachs programmer—featured in the book Flash Boys—was convicted on Friday for stealing high-speed trading code from the bank. Sergey Aleynikov, 45, was also acquitted on one count of unlawful duplication, according to Reuters. The New York state jury could not come to a verdict on another count of unlawful use of secret scientific material. Sergey Aleynikov was also acquitted of unlawful duplication. This was the second trial for Aleynikov in five years. He could face up to four years in prison.
Graphics

My High School CS Homework Is the Centerfold 628

theodp writes: To paraphrase the J. Geils Band, Maddie Zug's high school computer science homework is the centerfold. In a Washington Post op-ed, Zug, a student at the top-ranked Thomas Jefferson High School for Science and Technology, argues that a centerfold does not belong in the classroom. "I first saw a picture of Playboy magazine's Miss November 1972 a year ago as a junior at TJ," Zug explains. "My artificial intelligence teacher told our class to search Google for Lena Soderberg (not the full image, though!) and use her picture to test our latest coding assignment...Soderberg has a history with computer science. In the 1970s, male programmers at the University of Southern California needed to test their image-processing algorithm. They scanned what they had handy: the centerfold of a Playboy magazine. Before long, the image became a convention in industry and academia." (Wikipedia has a nice background, too.)
Programming

Should Developers Still Pay For Game Engines? 125

Nerval's Lobster writes: Game developers no longer have to pay for the software they need to make great video games, because the tools used by some of the biggest and most successful studios in the world are available to everyone, for free. Among the existing major engines, there is one holdout that does not offer a free version: Crytek continues to charge everyone for CryEngine, and is intent on continuing to do so. That's not to say Crytek is being unreasonable. The company introduced a $10-per-month subscription last year, making it accessible to indie developers who can't afford the higher-priced package that includes full source code. "With CryEngine, Crytek is going to the high-end," Crytek co-founder Faruk Yerli recently told Develop, a news site for developers. Unity3D is going for the low-end while Unreal is aiming for everything from low- to high-end, he added. But according to some developers queried by Dice, there is little reality to the idea that the big three engines are divided between low, mid-end, and high-end capabilities. If you're a developer, is it still worth paying for a game engine?
Microsoft

Microsoft Releases Visual Studio Code Preview For Linux, OS X, and Windows 72

ClockEndGooner writes: Microsoft is still extending its efforts into cross platform development with the release of a preview edition of Visual Studio Code, "a lightweight cross-platform code editor for writing modern web and cloud applications that will run on OS X, Linux and Windows." Derived from its Monaco editor for Visual Studio Online, the initial release includes rich code assistance and navigation for JavaScript, TypeScript, Node.js, ASP.NET 5, C# and many others.
Open Source

How an Open Standard API Could Revolutionize Banking 72

An anonymous reader writes: Open bank data will give us the freedom to access all banks in real time and from a single view, automatically calculating the best deals in complete transparency, which will be a significant step forward for social good and give people more control over their finances. Meanwhile, financial tech incubators, accelerators, and startups are creating a more experienced talent pool of developers ready to act upon these newly available assets. From the article: "The United Kingdom government has commissioned a study of the feasibility of UK banks giving customers the ability to share their transactional data with third parties via an open standard API. First mentioned alongside the autumn statement back in December, the chancellor has now outlined plans for a mandatory open banking API standard during the recent budget in March."
Windows

Microsoft Announces Windows Holographic Platform 99

An anonymous reader writes: At its Build 2015 developer conference [Wednesday], Microsoft announced the Windows Holographic Platform. In short, the company will let developers turn Windows 10 apps into holograms for HoloLens. On stage, Microsoft showed a Windows video app that you can simply control with your voice: Just say "follow me" and the video app moves along as you walk around a room. "Every single universal Windows app has these capabilities," said Alex Kipman, technical fellow for the operating system group at Microsoft. Apps can look like little windows, or they can be more than that. The demo included a photos app, a browser, Skype, a holographic Start Menu, and even a dog on the floor.
Security

New Zero Day Disclosed In WordPress Core Engine 89

Trailrunner7 writes: WordPress security issues have for the most part involved a vulnerable plug-in, but a Finnish researcher has disclosed some details on a zero-day vulnerability he discovered in the WordPress 4.2 and earlier core engine that could lead to remote code execution on the webserver. Juoko Pynnonen of Klikki Oy reported a new and unpatched stored cross-site scripting vulnerability in the platform; a similar bug was patched this week by WordPress developers, but only 14 months after it was reported. The vulnerability allows an attacker to inject JavaScript in the WordPress comment field; the comment has to be at least 66,000 characters long and it will be triggered when the comment is viewed, Pynnonen said.

"An unauthenticated attacker can store JavaScript on WordPress pages and blog posts. If triggered by an administrator, this leads to server-side code execution under default settings," Pynnonen said. "A usable comment form is required. It looks like the script is not executed in the admin Dashboard, but only when viewing the post/page where the comment was entered. If comment moderation is enabled (the default setting) then the comment won't appear on the page until it has been approved by an admin/moderator. Under default settings, after one 'harmless' comment is approved, the attacker is free from subsequent moderation and can inject the exploit to several pages and blog posts."
Java

JavaScript Devs: Is It Still Worth Learning jQuery? 218

Nerval's Lobster writes: If you're learning JavaScript and Web development, you might be wondering whether to learn jQuery. After nearly a decade of existence, jQuery has grown into a fundamental part of JavaScript coding in Web development. But now we're at a point where many of the missing pieces (and additional features) jQuery filled in are present in browsers. So do you need to learn jQuery anymore? Some developers don't think so. The official jQuery blog, meanwhile, is pushing a separate jQuery version for modern browsers, in an attempt to keep people involved. And there are still a few key reasons to keep learning jQuery: Legacy code. If you're going to go to work at a company that already has JavaScript browser code, there's a strong possibility it has jQuery throughout its code. There's also a matter of preference: People still like jQuery and its elegance, and they're going to continue using it, even though they might not have to.
Programming

Has the Native Vs. HTML5 Mobile Debate Changed? 161

itwbennett writes: The tools available to developers who need to build an application once and deploy everywhere have exploded. Frameworks like famo.us, Ionic, PhoneGap, Sencha Touch, Appcelerator, Xamarin, and others are reducing the grunt work and improving the overall quality of web based mobile applications dramatically. The benefits of a build once, deploy everywhere platform are pretty obvious, but are they enough to make up for the hits to user experience?
Input Devices

Linux 4.1 Bringing Many Changes, But No KDBUS 232

An anonymous reader writes: The first release candidate of Linux 4.1 is now available. Linus noted, "The merge window is pretty normal in terms of what got merged too. Just eyeballing the size, it looks like this is going to fit right in — while 4.0 was a bit smaller than usual, 4.1 seems to be smack dab in the middle of the normal range for the last couple of years." There are numerous new features in Linux 4.1, like Xbox One controller force feedback support, better Wacom tablet support, Intel Atom SoC performance improvements, Radeon DisplayPort MST support, EXT4 file-system encryption, ChromeOS Lightbar support, and ACPI for 64-bit ARM, among other additions. However, KDBUS wasn't accepted for Linux 4.1.
Government

Think Tanks: How a Bill [Gates Agenda] Becomes a Law 165

theodp writes: The NY Times' Eric Lipton was just awarded a 2015 Pulitzer Prize for investigative reporting that shed light on how foreign powers buy influence at think tanks. So, it probably bears mentioning that Microsoft's 'two-pronged' National Talent Strategy (PDF) to increase K-12 CS education and the number of H-1B visas — which is on the verge of being codified into laws — was hatched at an influential Microsoft and Gates Foundation-backed think tank mentioned in Lipton's reporting, the Brookings Institution. In 2012, the Center for Technology Innovation at Brookings hosted a forum on STEM education and immigration reforms, where fabricating a crisis was discussed as a strategy to succeed with Microsoft's agenda after earlier lobbying attempts by Bill Gates and Microsoft had failed. "So, Brad [Microsoft General Counsel Brad Smith]," asked the Brookings Institution's Darrell West at the event, "you're the only [one] who mentioned this topic of making the problem bigger. So, we galvanize action by really producing a crisis, I take it?" "Yeah," Smith replied (video). And, with the help of nonprofit organizations like Code.org and FWD.us that were founded shortly thereafter, a national K-12 CS and tech immigration crisis was indeed created.
GUI

Qt Creator 3.4.0 Released 20

jones_supa writes: Qt Creator 3.4.0 has been released with many new features. Qt Creator is a C/C++ IDE with specialized tools for developing Qt applications, and it works great for general-purpose projects as well. The new version comes with a C++ refactoring option to move function definitions out of a class declaration, auto-completion for signals and slots in Qt5-style connects, experimental Qt Test and Qt Quick Tests support in the Professional and Enterprise edition, support for 64-bit Android toolchains, and various other improvements. More details on the new version can be found in the official announcement and the changelog.
Apple

Apple Offers Expedited Apple Watch Order Lottery To Developers 74

An anonymous reader writes: Apple is sending out invites to random registered developers, giving them the chance to buy an Apple Watch with guaranteed delivery by the end of the month. "Special Opportunity for an Expedited Apple Watch Order," the invite email states. "We want to help give Apple developers the opportunity to test their WatchKit apps on Apple Watch as soon as it is available. You have the chance to purchase one (1) Apple Watch Sport with 42mm Silver Aluminum Case and Blue Sport Band that's guaranteed to ship by April 28, 2015."
Security

New Javascript Attack Lets Websites Spy On the CPU's Cache 134

An anonymous reader writes: Bruce Upbin at Forbes reports on a new and insidious way for a malicious website to spy on a computer. Any computer running a late-model Intel microprocessor and a Web browser using HTML5 (i.e., 80% of all PCs in the world) is vulnerable to this attack. The exploit, which the researchers are calling "the spy in the sandbox," is a form of side-channel attack. Side channel attacks were previously used to break into cars, steal encryption keys and ride the subway for free, but this is the first time they're targeted at innocent web users. The attack requires little in the way of cost or time on the part of the attacker; there's nothing to install and no need to break into hardened systems. All a hacker has to do is lure a victim to an untrusted web page with content controlled by the attacker.

Slashdot Top Deals