Programming

Video Starcoder Uses a Multiplayer Game to Teach Programming (Video # 2) 11

We ran video # 1 about Starcoder yesterday and linked to the project's Kickstarter page. At that time, the project had raised $3221 out of a $4000 goal. Today they're up to $5836, which means they've reached their goal and then some, and they still have four days of Kickstarting to go. Nice! It looks like Starcoder will soon be available to a lot more students than are using it now, and that (hopefully) there will be enough server capacity to accommodate students who want to sign up and play on their own, not necessarily with help from their schools.

To learn more about Starcoder, you may want to check out these video clips on Vimeo that not only show you how the game was developed, but give you a look at how it's played. Note: this is video 2 of 2. The transcript covers both videos, plus some material we were forced to edit out of the videos due to length restrictions.)
Education

Video Starcoder Uses a Multiplayer Game to Teach Programming (Video # 1) 37

Starcoder, says the project's Kickstarter page, "is a multiplayer online space action game that teaches kids coding as they play." Their page also points out that it's easier to learn as a group than it is to learn alone. The Starcoder Kickstarter project has collected $3221 at this writing, out of a $4000 goal, and they have until June 17 to come up with the rest. So please take a look at Starcoder, see how it works and why it is unquestionably a more interesting way to learn programming basics than the traditional "highly theoretical and (frankly) boring manner."

Starcoder starts with Blockly. Then, as students advance to higher game levels, moves to JavaScript. Yes, there are levels. Also competitive play, since Starcoder is a massively multiplayer online game. In fact, a big reason for the Kickstarter project is to expand server capability so that kids can play from home, not just in school or during after-school computer classes. One more thing to note: The Win2Learn team behind Starcoders is composed of professional educators and designers. They've been working on STEM education for a while. Want to see some of the thinking behind Starcoder? They have some video clips on Vimeo that not only show you how the game was developed, but give you a good look at how it's played. Does it sound good? Do you want more kids to have access to an ever-improving Starcoder? Then you know what to do. (Note: This is video 1 of 2. The second one will run tomorrow. The transcript covers both videos, plus some material we were forced to edit out of the videos due to length restrictions.)
Python

How Much Python Do You Need To Know To Be Useful? 263

Nerval's Lobster writes: Since Python is a general-purpose language, it finds its way into a whole lot of different uses and industries. That means the industry in which you work has a way of determining what you actually need to know in terms of the language, as developer Jeff Cogswell explains in a new Dice piece. For example, if you're hired to write apps that interact with operating systems and monitor devices, you might not need to know how to use the Python modules for scientific and numerical programming. In a similar fashion, if you're hired to write Python code that interacts with a MySQL database, then you won't need to master how it works with CouchDB. The question is, how much do you need to know about Python's basics? Cogswell suggests there are three basic levels to learning Python: Learn the core language itself, such as the syntax and basic types (and the difference between Python 2 and Python 3); learn the commonly used modules, and familiarize yourself with other modules; learn the bigger picture of software development with Python, such as including Python in a build process, using the pip package manager, and so on. But is that enough?
PHP

PHP At 20: From Pet Project To Powerhouse 281

snydeq writes: Ben Ramsey provides a look at the rise of PHP, the one-time 'silly little project' that has transformed into a Web powerhouse, thanks to flexibility, pragmatism, and a vibrant community of Web devs. "Those early days speak volumes about PHP's impact on Web development. Back then, our options were limited when it came to server-side processing for Web apps. PHP stepped in to fill our need for a tool that would enable us to do dynamic things on the Web. That practical flexibility captured our imaginations, and PHP has since grown up with the Web. Now powering more than 80 percent of the Web, PHP has matured into a scripting language that is especially suited to solve the Web problem. Its unique pedigree tells a story of pragmatism over theory and problem solving over purity."
Education

WA Gov. Sides With Microsoft: Philanthropy-Funded K-12 CS Education Now the Law 166

theodp writes: During public hearings on WA State's House Bill 1813, which took aim at boys' historical over-representation in K-12 computer classes, the Office of the WA State Superintendent of Public Instruction voiced concerns that by relying on the generosity of corporations, wealthy individuals, and nonprofits to fund STEM, computer science, and technology programs, learning opportunities would be limited to a small group of students, creating disparity of opportunity. "If this is a real priority," pleaded Chris Vance, "fund it fully" (HB 1813, like the White House K-12 CS plan, counts on philanthropy to make up for tax shortfalls). But legislators in the WA House and Senate — apparently more swayed by the pro-HB 1813 testimony of representatives from Microsoft and Microsoft-backed TEALS and Code.org — overwhelmingly passed the bill, sending it to Governor Jay Inslee for his signature. Not to worry. On Wednesday, the bill was signed into law by Gov. Inslee, who was perhaps influenced by the we-need-to-pass-HB-1813 blogging of Microsoft General Counsel and Code.org Board member Brad Smith, who coincidentally is not only responsible for Microsoft's philanthropic work, but was also co-chair of Gov.-elect Inslee's transition team. The WA state legislative victory comes less than 24 hours after the San Francisco School Board voted to require CS instruction beginning with preschool.
Java

Ask Toolbar Now Considered Malware By Microsoft 212

AmiMoJo writes: Last month Microsoft changed its policy on protecting search settings to include any software that attempts to hijack searches as malware. As a result, this month the Ask Toolbar, which most people will probably recognize as being unwanted crapware bundled with Java, was marked as malware and will now be removed by Microsoft's security software built in to Windows 7 and above.
Open Source

Reactions To Apple's Plans To Open Source Swift 246

itwbennett writes: At Apple's WWDC 2015 event yesterday, Craig Federighi, Apple's senior vice president of software engineering, announced that the company planned to open source the Swift language. Reaction to this announcement so far has sounded more or less like this: Deafening applause with undertones of "we'll see." As a commenter on this Ars Technica story points out, "Their [Apple's] previous open-source efforts (Darwin, WebKit, etc) have generally tended to be far more towards the Google style of closed development followed by a public source dump." Simon Phipps, the former director of OSI, also expressed some reservations, saying, "While every additional piece of open source software extends the opportunities for software freedom, the critical question for a programming language is less whether it is itself open source and more whether it's feasible to make open source software with it. Programming languages are glue for SDKs, APIs and libraries. The real value of Swift will be whether it can realistically be used anywhere but Apple's walled garden."
Businesses

Stress Is Driving Developers From the Video Game Industry 336

Nerval's Lobster writes: For video game developers, life can be tough. The working hours are long, with vicious bursts of so-called "crunch time," in which developers may pull consecutive all-nighters in order to finish a project—all without overtime pay. According to the International Game Developers Association (IGDA) Developer Satisfaction Survey (PDF), many developers aren't enduring those work conditions for the money: Nearly 50 percent of respondents earned less than $50,000 annually. Faced with what many perceive as draconian working conditions, many developers are taking their skills and leaving video games for another technology sector. The hard and soft skills that go into producing video games—from knowledge of programming languages to aptitude for handling irate managers—will work just as well in many aspects of conventional software-building. Fortunately, leaving the video-game industry doesn't have to be a permanent exile; many developers find themselves pulled back in at some point, out of simple passion for the craft.
Businesses

Why Apple and Google Made Their Own Programming Languages 260

Gamoid writes: This Business Insider article looks into the state of Google Go and Apple Swift, highlighting what the two languages have in common — and why tech companies would bother involving themselves in the programming language holy wars. From the article: "One fringe benefit for Google and Apple is that making your own programming language makes recruitment easier — for instance, since it builds a lot of its own server applications in Go, Google is more likely to hire a developer who's already proficient in the language since she would need less training."
Programming

On Managing Developers 146

An anonymous reader writes: A columnist at TechCrunch takes a crack at advice on how to manage developers. He has some decent starting points. For example, "Basically a manager's job is to make other people more productive. What's one really good way to do that? Do the work that is getting in their way. Which means: find out what kind of important work your developers dislike the most, and do it for them." Also: "[D]on't bull$%^& anyone, ever. ... Speak the truth as you see it. Speak it diplomatically, don't get me wrong; but be trustworthy. Only then will you be able to trust others." But some of his statements are open enough to be nearly devoid of meaning: "Any particular process artifact is probably irrelevant. The finest tech team I ever worked on began every day with a daily standup; so did one of the worst, most dysfunctional teams I ever encountered. ... [T]he systems and processes you choose for any given project should be fluid, and flexible, and depend in large part on the team and the context." If you are or have been a developer, what qualities have made your managers good or poor? If you've been in position to do the managing, does you experience jive with this guy's?
Government

Cuba Forms a CS Professional Society -- It's No ACM 43

lpress writes: The formation of the Unión de Informáticos de Cuba (UIC) was announced at a Havana conference and a 7,500 person teleconference (no mean feat in Cuba). My first reaction was "cool — like a Cuban ACM," but there are significant differences between ACM and UIC. For example, one must apply to the Ministry of Communication to be accepted into the UIC and the application form asks about membership in political organizations like the Communist Party or Young Communists League along with technical qualifications. A CS degree is required (sorry Bill Gates). UIC members must be Cuban, while ACM has chapters in 57 nations. ACM has student chapters, but they are less needed in Cuba, which has over 600 youth computer clubs where kids take classes and play games and promising students are tracked and channeled into technical schools.
Java

Supreme Court May Decide the Fate of APIs (But Also Klingonese and Dothraki) 210

New submitter nerdpocalypse writes: In a larger battle than even Godzilla v. Mothra, Google v. Oracle threatens not only Japan but the entire nerd world. What is at stake is how a language can be [copyrighted]. This affects not just programming languages, APIs, and everything that runs ... well ... everything, but also the copyright status of new languages such as Klingon and Dothraki.
Programming

2014 Underhanded C Contest Winners Announced 27

Rei writes with a bit of news from earlier this week: It's that time of year again — the results of the 2014 Underhanded C Contest have been announced. Techniques used for secretly alerting a user to a NSA request include (among others) misleadingly long loop execution, replacing user #defines with system ones, K&R style function declarations to avoid type checking, and using system #includes to covertly change structure packing. The winning entry exploits a system-provided function that is implemented as a poorly protected macro, tricking it into executing a piece of code given as an argument multiple times.
Chrome

Ask Slashdot: Options After Google Chrome Discontinues NPAPI Support? 208

An anonymous reader writes: I've been using Google Chrome almost exclusively for more than 3 years. I stopped using Mozilla Firefox because it was becoming bloated and slow, and I migrated all my bookmarks etc. to Chrome. Now Chrome plans to end NPAPI support — which means that I will not be able to access any sites that use Java, and I need this for work. I tried going back to Firefox for a couple of days but it still seems slow — starting it takes time, even the time taken to load a page seems more than Chrome. So what are my options now? Export all my bookmarks and go back to Mozilla Firefox and just learn to live with the performance drop? Or can I tweak Firefox performance in any way? FWIW, I am on a Windows 7 machine at work.
EU

Microsoft Lets EU Governments Inspect Source Code For Security Issues 143

itwbennett writes: Microsoft has agreed to let European governments review the source code of its products to ensure that they don't contain security backdoors, at a transparency center in Brussels. The second of its kind, the new center follows on the heels of the first, built last June in Redmond, Washington. Part of Microsoft's Government Security Program, the company hopes the centers will create trust with governments that want to use Microsoft products. "Today's opening in Brussels will give governments in Europe, the Middle East and Africa a convenient location to experience our commitment to transparency and delivering products and services that are secure by principle and by design," said Matt Thomlinson, Vice President of Microsoft Security.
Security

Intel Security Scares Ransomware Script Kiddie Out of Business 117

tdog17 writes: A criminal coder wrote a kit for ransomware that made it easy for others to encrypt victims' hard drives and then extort money from them in order to get the decryption keys. But when Intel Security wrote about the kit — called Tox — the author got cold feet. Now he or she is trying to sell the whole business. “Plan A was to stay quiet and hidden. It's been funny, I felt alive, more than ever, but I don't want to be a criminal. The situation is also getting too hot for me to handle, and (sorry to ruin your expectations) I'm not a team of hard core hackers. I’m just a teenager student,” the coder wrote on the Tox malware site.
Open Source

Open Source Haxe/OpenFL Platform Will Support Home Game Consoles 20

lars_doucet writes: At last week's World Wide Haxe conference, a coalition of game developers announced that the open source platform Haxe/OpenFL is coming soon to home game consoles. The first three games that will ship using the technology are Yummy Circus, Defender's Quest (HD edition), and the award-winning Papers, Please. Haxe is a programming language that compiles to other programming languages (everything from C++ to Javascript to Python), has been around for about 10 years and is quite powerful. OpenFL is a hardware-accelerated cross-platform reimplementation of the Flash API, built on top of Haxe (but does not have the Flash player's performance and security limitations and has nothing to do with Adobe), and is built on a low-level cross-platform layer called Lime, which can be used separately for those who have no need for a Flash-like API. This could eventually lead to console compatibility for engines that are built on top of Haxe/OpenFL, such as Away3D, Stencyl, HaxeFlixel, and HaxePunk.

Six console targets are planned: Wii U, PS4, Xbox One, PS Vita, 3DS, and PS3; footage of demos running on the Wii U was presented at the talk and are included in the linked article.
Perl

Perl 5.22 Released 92

kthreadd writes: Version 5.22 of the Perl programming language has just been released. A major new feature in this release is the double diamond operator; like the regular diamond operator it allows you to quickly read through files specified on the command line but does this in a much safer way by not evaluating special characters in the file names. Other new features include hexadecimal floating point numbers, improved variable aliasing and a nicer syntax for repetition in list assignment. Also, historical Perl modules CGI.pm and Module::Build are removed from the core distribution.
Programming

Ask Slashdot: Best Test Case Manager Plugin For JIRA? 70

Bomarc writes: I've been working with software testing ... for a few years now. And there seems to be a serious lack of QA — Test Case Management (TCM) tools. The company that I'm working for needs a good test case manager. Currently JIRA is the tool of choice for other aspects of project management. I'm not asking to jump ship from JIRA, but the Atlassian TCM "Zephyr" has several problems, some of the key ones include: It does not have (any) matrix capabilities, no test case suite capabilities, if you change one test case (including assignments) the system changes all of the runs from that test case, the integration between the defect tracker and the TCM is archaic (at best), the number of actions to pass/fail a step (or test case) are annoying (way to many). Whoever designed it doesn't use it. If you watch the "Introduction" for Zephyr – it is amusing to see how the person performing he demo skips over and fumbles when dealing with the flaws I've mentioned above.

I have used the product "TestLog" which is a well-thought-out product; has test matrix capabilities (and other good features); however it does not have any integration with JIRA. (Hint, hint: Atlassian, this is what you need!).

Is there any company that makes a "plug-in" for JIRA with a similar features to TestLog – test case management that is well thought out, not just an afterthought?
Open Source

MinGW and MSVCRT Conflict Causes Floating-Point Value Corruption 98

jones_supa writes: If you are working on a C++ program where you need very accurate floating point numbers, you might have decided to use long double data type for the extra precision. After a few calculations, you happen to print your number. To your shock, instead of the number being 123.456789, it is printed out as -6.518427 × 10^264 (or 2.745563 depending on your computer). This is actually a bug in some versions of MinGW g++ 4.8.1 (MinGW is a port of GNU programming tools for Windows). Microsoft's C++ runtime library reserves 80 bits for double and long double. When MinGW uses the Microsoft DLL to print out the value, the number is interpreted as using only 64 bits. This discrepancy causes garbage results to be output.

Slashdot Top Deals