Programming

Most Popular Programming Languages: C++ Knocks Python Out of Top Three in New Study (techrepublic.com) 161

C++ has knocked machine-learning favorite Python out of the top 3 in the TIOBE Index of popular programming languages. From a report: It marks a reversal of fortune for C++, which, after years of occupying third place in the index, was pushed down to fourth place by Python in September last year. First and second place in the list remain unchanged, with Java in pole position and C at number two. The TIOBE Index attempts to estimate the popularity of languages worldwide based on results from major search engines. The index is sometimes criticized for being a rather blunt measure, likely to be influenced by a range of factors beyond a language's popularity, but its rankings are broadly in line with others, with a similar mix of languages albeit arranged in a different order.

In an analysis alongside the latest figures, TIOBE attributes the comeback of C++ to a surge in its popularity, rather than a fall in the use of Python. "This is certainly not because Python is in decline: Python is scoring all time highs almost every month. It is just that C++ is also getting more and more popular," it writes. The report credits this growing interest in C++ to C++11, the version of the language released in 2011 that TIOBE said made C++ "much simpler, safer and more expressive."

Television

Apple TV+ Includes A Muppet Who Codes (deadline.com) 80

Long-time Slashdot reader theodp writes: While Apple CEO Tim Cook may not be able to force schoolchildren to code, there's no law against Cook and Apple using Sesame Street to make preschoolers want to code. Among the original Apple TV+ shows Cook announced at Apple's March Event was Helpsters, an "incredible new preschool show" about coding from "the peeps at Sesame Workshop and Apple."

In a skit on stage at the Steve Jobs Theater [available on YouTube], a Helpster monster from the new show named "Cody" (get it!) explains to Big Bird, "See, coding fosters collaboration, critical-thinking skills, and is an essential language that every child can learn. By teaching preschoolers about coding, we are giving them the opportunity to change the world."

One site described Cody as "a sociopathic tech recruiter muppet," complaining that "Teaching kids about technology is fine. But this is just creepy." They also objected to the show's targeting of pre-schoolers.

"From a developmental point of view, most experts agree very young children should be working on figuring out how to share their toys, not thinking about how to program them."
Microsoft

Microsoft and Canonical Launch Visual Studio Code Snap For Linux (betanews.com) 61

Following the release of Visual Studio 2019 for Windows and Mac platforms, Microsoft today is releasing a snap version of Visual Studio Code. A report adds: No, the source-code editor is not the Windows-maker's first snap -- it also released one for Skype, for instance. "As of today, Visual Studio Code is available for Linux as a snap, providing seamless auto-updates for its users. Visual Studio Code, a free, lightweight code editor, has redefined editors for building modern web and cloud applications, with built-in support for debugging, task running, and version control for a variety of languages and frameworks," says Canonical. Joao Moreno, Software Development Engineer, Microsoft Visual Studio Code offers the following statement: "The automatic update functionality of snaps is a major benefit. It is clear there is a thriving community around snaps and that it is moving forward at great pace. The backing of Canonical ensures our confidence in its ongoing development and long-term future."
Open Source

Goldman Sachs Will Open-Source Some Of Its Trading Software (wsj.com) 51

According to the Wall Street Journal, Goldman Sachs is planning to release on GitHub some of the code that its traders and engineers use to price securities and analyze and manage risk. "The bank also is offering $100,000 in annual funding for engineers to build new applications using the bank's code," the report adds. "Goldman will own the resulting intellectual property, plus get an early look to invest in promising technology." From the report: It is Goldman's latest move to shed some of its trademark secrecy and share its once closely guarded technology. It is part of a broader shift at Wall Street firms to emulate Silicon Valley giants like Google and Facebook, which have opened up their technology to a community of enthusiastic developers. By letting outsiders tinker with its code, Goldman hopes to crowdsource new uses for it and earn the loyalty of computer-driven "quant" traders who have taken the investing world by storm.

Goldman's proprietary trading engine, known as SecDB, once made its traders the smartest on Wall Street. It is credited with helping the firm weather the 2008 financial meltdown better than rivals. But a postcrisis ban on proprietary trading has made it more valuable as a service offered to clients than an in-house moneymaker. Over the past five years, Goldman has been building SecDB's capabilities into a web application called Marquee, which now has about 13,000 users roughly split between Goldman employees and clients. The code coming to GitHub will allow users to interact directly with Marquee's data feeds, pricing engines and other tools.

Android

Google's Second Android Q Beta Brings Us 'Bubbles' Multitasking (arstechnica.com) 42

An anonymous reader quotes a report from Ars Technica: Google is releasing the second Android Q Beta today. As we learned with the first release, Android Q is bringing support for foldable smartphones, better privacy and permissions controls, and a grab bag of other features. We've yet to install the second beta on one of our own devices, but Google's release blog post promises "bug fixes, optimizations, and API updates," as well as a crazy new multitasking feature and an emulator for foldables. Android loves multitasking. So far we've had split screens and floating windows, and Android Q Beta 1 even had a hidden desktop mode. Beta 2 brings us a new multitasking feature called "Bubbles." Bubbles let you minimize an app into a little circle, which floats around on the screen above all your other apps. Tapping on a bubble will open a small UI. The only demo Google shows is one for a messaging app. Each bubble is a contact, and tapping on the bubble shows a small chat UI. If you remember Facebook's "Chat Head" UI for Messenger, Bubbles is that, but built into the OS. "Bubbles are great for messaging because they let users keep important conversations within easy reach," Google said in their blog post. "They also provide a convenient view over ongoing tasks and updates, like phone calls or arrival times. They can provide quick access to portable UI, like notes or translations, and can be visual reminders of tasks too."
Education

Lego Education's Newest Spike Prime Programmable Robots Aim For the Classroom (cnet.com) 18

Lego Education, the education-focused arm of the veteran Denmark company, is making its biggest product debut in three years, unveiling Spike Prime, a new kit that aims to mix the company's familiar bricks with motors, sensors and introductory coding lessons. The company is targeting kids aged between 11 to 14. From a report: Lego Mindstorms have been around for years. The Mindstorms EV3 robotics kit remains a staple of many learning centers and robotics classrooms. Lego's newest kit looks more like Lego Boost, a programmable kit that aimed to win over families in 2017 and was compatible with regular Lego bricks. It's compatible with Lego Boost, Lego Technic sets and classic Lego pieces, but not with Lego's previous Mindstorms accessories. Lego Mindstorms EV3 is remaining alongside Lego Spike Prime in Lego Education's lineup, and looks like it's aiming more at the high school crowd, while Lego Spike Prime could bridge to that higher-end projects.

The Spike Prime set is created specifically for grades six to eight. It uses an app that uses visual Scratch programming and aims to adopt the Python programming language by the end of the year, according to Lego Education executives. The robots made by Spike Prime look cute, and Lego Boost-like, but not necessarily as complicated as some Mindstorm kits. The central processing hub that drives the Lego Spike Prime robotics creations has six input and output ports, and connects with sensors including an RGB color and light sensor, a force-sensitive touch sensor, and an ultrasonic distance sensor for measurement and navigation.

Microsoft

Microsoft Launches Visual Studio 2019 For Windows and Mac (venturebeat.com) 93

An anonymous reader writes: Microsoft today announced that Visual Studio 2019 for Windows and Mac has hit general availability — you can download it now from visualstudio.microsoft.com/downloads. Visual Studio 2019 includes AI-assisted code completion with Visual Studio IntelliCode. Separately, real-time collaboration tool Visual Studio Live Share has also hit general availability, and is now included with Visual Studio 2019.
Operating Systems

Linux Mint 19.2 'Tina' is On the Way, But the Developers Seem Defeated and Depressed (betanews.com) 269

Brian Fagioli, reporting for BetaNews: Today should be happy times for the Linux Mint community, as we finally learn some new details about the upcoming version 19.2! It will be based on Ubuntu 18.04 and once again feature three desktop environments -- Xfce, Mate, and Cinnamon. We even found out the code name for Linux Mint 19.2 -- "Tina." And yet, it is hard to celebrate. Why? Because the developers seem to be depressed and defeated. They even appear to be a bit disenchanted with Free Software development overall. Clement Lefebvre, leader of the Linux Mint project, shared a very lengthy blog post today, and it really made me sad.

He wrote, "For a team to work, developers need to feel like heroes. They want the same things as users, they are users, they were 'only' users to start with. At some stage they decide to get involved and they start investing time, efforts and emotions into improving our project. What they're looking for the most is support and happiness. They need feedback and information to understand bugs or feature requests and when they're done implementing something, they need to feel like heroes, they literally do, that's part of the reason they're here really."
Upon publication of the article, Jason Hicks, Muffin maintainer and member of the Linux Mint team, corroborated the claims made by others.
AI

LA County Is Using An Algorithm To Clear 50,000 Pot Convictions Faster (engadget.com) 89

Los Angeles and San Joaquin counties have teamed up with Code for America to help clear around 54,000 marijuana convictions. "The nonprofit's algorithm will aid prosecutors by automatically evaluating whether a case is eligible for dismissal or resentencing," reports Engadget. From the report: The two counties have been working with Code for America since July to examine marijuana conviction data, as automating the process should help them clear cases much more quickly than through entirely manual processes. There are an estimated 50,000 eligible cases in Los Angeles County and 4,000 in San Joaquin County. Code for America's Clear My Record system also helped San Francisco clear more than 8,000 marijuana convictions.

"As technology advances and the criminal justice system evolves, we as prosecutors must do our part to pursue innovative justice procedures on behalf of our constituents," Los Angeles County DA Jackie Lacey said. "This collaboration will improve people's lives by erasing the mistakes of their past and hopefully lead them on a path to a better future. Helping to clear that path by reducing or dismissing cannabis convictions can result in someone securing a job or benefitting from other programs that may have been unavailable to them in the past."
Last year's passage of Assembly Bill 1793 gave district attorneys until July 1st, 2020 to review convictions eligible for downgrading or expungement and act accordingly.
Programming

Continuing Progress On Babbage Analytical Engine (plan28.org) 27

Slashdot reader RockDoctor writes: The project to actually construct Babbage's Analytical Engine, the first design for a general purpose computing machine, continues with the documentation phase of the programme. Since Babbage continued to refine his design almost until the day of his death, working out what he actually wanted to build is quite a task. The last year's work is reported to includes work on a batch of previously unknown and uncatalogued materials discovered since the project's inception in 2011.

These decades, people don't think much of producing a new programming language to suit particular tasks — to "scratch an itch" in the vernacular. As with so many things, Babbage was a pioneer, according to the Plan 28 blog: :

There have already been significant finds. The Notations for Difference Engine 1, dating from 1834, thought to exist, had never come to light. These have now been found and represent a crucial piece in the puzzle of the developmental trajectory of the symbolic language Babbage developed as a design aid, to describe and specify his engine, and used extensively in the development of the Analytical Engine.

RockDoctor adds, "Anyone who has been tasked with taking over a project from someone else (retired, sacked, beheaded, whatever) will recognise this feeling..."

The survey so far has identified mis-titled drawings, single drawings that have two unrelated catalogue entries, and drawings known to exist from earlier scholarly work but not located.

"The hope of the project is to have a working machine in time for Babbages sesquicentenary in 2021."


Java

Minecraft Creator Markus 'Notch' Persson Eradicated From Splash Text (arstechnica.com) 342

An anonymous reader quotes a report from Ars Technica: Microsoft has removed a trio of references to Markus "Notch" Persson, the creator of Minecraft, from the game's opening menu screen. Random messages known as "splash text" are printed in yellow on this screen, and they used to include "Made by Notch!", "The Work of Notch", and "110813!" (a reference to the day Persson got married), but now all three mentions are gone. Notch is still included in the game's credits, but the change means that Minecraft players will no longer be randomly referenced.

Persson first released the blocky building game in 2009. Five years later, after the game had become a global smash hit, he sold his company Mojang to Microsoft for $2.5 billion, giving Redmond ownership of Minecraft. The references to Notch have remained a feature until their removal in this latest patch. They're reported to have been removed both from the original Java edition played on PCs and the legacy console edition used on PlayStation 4. No official rationale has been offered for the change, but Persson has become something of a polarizing figure on Twitter...

Businesses

Startup Coding Bootcamp Modern Labor Says It Will Pay You $2,000 a Month For 5 Months To Learn To Code, and Take Roughly 15% of Your Salary For 2 Years Later (vice.com) 161

Modern Labor promises to teach you to code in five months and help find you a job when you graduate -- but you're on the hook for the next two years. From a report: Most coding bootcamps almost sound like get-rich-quick schemes: Devote a few months to learning a new skill from home, and walk into a job that could pay you $70,000 a year to start. For the most immersive programs, you'll need to put your life on hold while you learn full-time. Usually, students pay for those coding bootcamps upfront while they take time off their jobs to learn.

Startup coding bootcamp Modern Labor pays people $2,000 a month for five months while they learn to code, following a curriculum remotely from wherever they live for at least 30 hours every week (working out to roughly minimum wage). After graduation, if they land a job that pays at least $40,000, Modern Labor takes 15 percent of their salary for the next two years. For example, if they find a job that pays $80,000, they'll pay Modern Labor $24,000 over two years. [...] Modern Labor's business model is an example of an "income sharing agreement," a scheme that's on-trend for Wall Street and Silicon Valley entrepreneurs looking to disrupt education.

Google

Oracle Tells Supreme Court Google Copyright Breach Knocked It Out Of Smartphone Market (crn.com) 290

Joseph Tsidulko, writing for CRN: Oracle asked the U.S. Supreme Court on Wednesday to not review an appellate court's decision finding Google violated Oracle's copyright of the Java platform when building the Android mobile operating system. In that opposition brief, Oracle's attorneys said Google's copyright violation shut Oracle, the Java platform owner, out of the emerging smartphone market, causing incalculable harm to its business. The complex case pitting two Silicon Valley giants against each other has raged on since 2010, and already saw many twists in turns before a circuit court last year reversed a jury decision in favor of Oracle. That prompted Google's appeal to the nation's highest court. Oracle notes Google had previously asked for a writ of certiorari -- the legal term for review by the high court -- in 2015 without success in an earlier phase of the case, and the company argues nothing has changed in the time since.

Oracle believes Google destroyed its hopes of competing as a smartphone platform developer with the Java platform, which enables development and execution of software written in Java, including through APIs that access a vast software library. The lawsuit alleged Google copied those APIs without a proper license. Java was developed at Sun Microsystems, which Oracle acquired in 2010. "Google's theory is that, having invested all those resources to create a program popular with platform developers and app programmers alike, Oracle should be required to let a competitor copy its code so that it can coopt the fan base to create its own best-selling sequel," Oracle's brief states.

Businesses

Once Again, Apple Isn't Following Its Own Advertising Rules (theverge.com) 44

Apple News Plus, the company's new magazine (and news) subscription service, is the latest offender because of how easy Apple makes it to subscribe. From a report: Just tap that "Try it Free" button, confirm your payment, and you're off to the races. Thing is, Apple forbids developers from making things seem quite this simple. Typically, Apple protects users from recurring fees by requiring developers to make those numbers so large on the screen that it's painfully obvious what you're getting into, how often you'll pay, and how to cancel if you decide you're not interested anymore. Here are some screenshots from Apple's dev website so you can see just how crystal-clear the developer "guidelines" are. For whatever reason, Apple decided that a cleaner, more attractive layout, one that hides some of the information it asks of developers, was the right choice for Apple News Plus.
Programming

Swift 5 Released (swift.org) 56

Ted Kremenek, a manager of the Languages and Runtimes team at Apple, writes: Swift 5 is now officially released! Swift 5 is a major milestone in the evolution of the language. Thanks to ABI stability, the Swift runtime is now included in current and future versions of Apple's platform operating systems: macOS, iOS, tvOS and watchOS. Swift 5 also introduces new capabilities that are building blocks for future versions, including a reimplementation of String, enforcement of exclusive access to memory during runtime, new data types, and support for dynamically callable types.
Programming

Which Programming Language Has The Most Security Vulnerabilities? (techrepublic.com) 330

A new report from the open source security company WhiteSource asks the question, "Is one programming language more secure than the rest?"

An anonymous reader quotes TechRepublic: To answer this question, the report compiled information from WhiteSource's database, which aggregates information on open source vulnerabilities from sources including the National Vulnerability Database, security advisories, GitHub issue trackers, and popular open source projects issue trackers. Researchers focused in on open source security vulnerabilities in the seven most widely-used languages of the past 10 years to learn which are most secure, and which vulnerability types are most common in each...

The most common vulnerabilities across most of these languages are Cross-SiteScripting (XSS); Input Validation; Permissions, Privileges, and Access Control; and Information Leak / Disclosure, according to the report.

Across the seven most widely-used programming languages, here's how the vulnerabilities were distributed:
  • C (47%)
  • PHP (17%)
  • Java (11%)
  • JavaScript (10%)
  • Python (5%)
  • C++ (5%)
  • Ruby (4%)

But the results are full of disclaimers -- for example, that C tops the list because it's the oldest language with "the highest volume of written code" and "is also one of the languages behind major infrastructure like Open SSL and the Linux kernel."

The report also notes a "substantial rise" across all languages for known open source security vulnerabilities over the last two years, attributing this to more awareness about vulnerable components -- thanks to more research, automated security tools, and "the growing investment in bug bounty programs" -- as well as the increasing popularity of open source software. And it also reports a drop in the percentage of critical vulnerabilities for most languages -- except JavaScript and PHP.

The report then concludes that "the Winner Of Most Secure Programming Language is...no one and everyone...! It is not about the language itself that makes it any more or less secure, but how you use it. If you are mitigating your vulnerabilities throughout the software development lifecycle with the proper management approach, then you are far more likely to stay secure."

Coincidentally, WhiteSource sells software which monitors open source components throughout the software development lifecycle to provide alerts about security (and licensing) issues.


Programming

82-Year-Old Pope Francis Is 'First Pope To Write a Line of Code' (geekwire.com) 97

Long-time Slashdot reader theodp writes: After seeing to it that UK Prime Minister David Cameron, US President Barack Obama, and Canadian Prime Minister Justin Trudeau all received (widely-publicized) coding lessons, Code.org CEO Hadi Partovi noted in late 2016 that he was "still working on Pope Francis." GeekWire reports that Partovi was able to cross that one off his bucket list Thursday, as he helped Pope Francis become 'the first Pope to write a line of code' at a 'Programming for Peace' event organized by the Pope's foundation, Scholas Occurrentes, in Vatican City (not ready for Twitch.TV video).

"In the 21st century, computer science is a fundamental subject that all students should learn," said Partovi, whose tech-bankrolled nonprofit has entered a partnership with Scholas to introduce children to computer science. "Schools should teach computer science to prepare students for the future, empower children with creativity and teach how to harness technology and creativity." The Pontiff's programming lesson comes a month after Partovi's next-door neighbor, Microsoft President and Code.org Board member Brad Smith, had a sit-down with the Pope to discuss the ethical use of AI and ways to bridge the digital divide between rich and poor nations.

Oracle

Oracle's Surprise Unannounced Layoffs 'Clear-Cut Teams of Engineers' (ieee.org) 180

Oracle "swung the layoff axe" Thursday, reports IEEE Spectrum, saying that the move "clear-cut teams of engineers." The exact numbers of employees cut and their specific roles have not been reported by the company, but the layoffs are clearly significant. Fifty in Mexico, 50 in New Hampshire, 100 in India, at least that many in Silicon Valley -- the numbers, according to anecdotal reports on theLayoff.com and from internal chatter, are adding up quickly....

Oracle's layoff day started at 5 a.m. Pacific Time, when an email from Oracle executive vice president Don Johnson with the subject line "Organizational Restructuring" arrived in employee inboxes. The email informed staff members that, going forward, everything in the company would revolve around the Oracle Cloud Infrastructure (OCI) operation... Then the email continued with a perky sentence that made some employees furious: "OCI's business is stronger than ever, and this team's future is bright." At approximately 10 a.m., I'm told, just five hours after that email, the layoffs began -- and according to anecdotal reports included significant cuts within at least part of that stronger-than-ever, bright-future cloud business.

Those affected were given 30 minutes to turn in company assets and leave the building, and were told that Friday (today) would their last official day. "The morning felt like a slaughter," one Oracle employee told me. "One person after another...." And, that employee said, the layoff process was handled very badly, with entire teams being ushered into conference rooms as groups and told that they no longer had jobs. This employee indicated that technical teams, particularly those involved in product development and focused on software development, data science, and engineering, seemed to take the biggest hit.

Business Insider reports that Oracle hasn't formally announced the number of people laid off, but adds that "One source we spoke to was told by his manager that 1,500 people worldwide were cut."
Programming

Researchers Created Reprogrammable Molecular Algorithms For DNA Computers (wired.com) 22

dmoberhaus writes: In a major breakthrough for DNA computing, researchers from UC Davis, Caltech and Maynooth University developed a technique for creating molecular algorithms that can be reprogrammed. Prior to this research, molecular algorithms had to be painstakingly designed for specific purposes, which is "like having to build a new computer out of new hardware just to run a new piece of software," according to the researchers. This new technique could blow open the door for a host of futuristic DNA computing applications -- nanofactories, light-based computers, etc. -- that would've been impossible before. The paper was published this week in Nature.
Microsoft

TypeScript's Quiet, Steady Rise Among Programming Languages (wired.com) 138

Microsoft's programming language TypeScript has become one of the most popular languages among developers, at least according to a report published by the analyst firm RedMonk this week. Wired: TypeScript jumped from number 16 to number 12, just behind Apple's programming language Swift in RedMonk's semiannual rankings, which were last published in August. Microsoft unveiled TypeScript in 2012, and while it hasn't grown as quickly as Swift -- which has grown faster than any other language, ever since RedMonk started compiling the rankings in 2011 -- TypeScript's own ascendance is impressive, given the sheer number of available programming languages.

More and more applications these days use TypeScript. Google's programming framework Angular, the second most popular tool of its type according to data released last year by the startup NPM, is written in TypeScript. So is Vue, an increasingly popular framework finding a home both among smaller companies and tech giants like Alibaba. But RedMonk doesn't look at how many jobs are available for people skilled in a particular language, nor how many companies actually use the language. Instead, the firm tries to spot trends in developer interest by looking at how many projects on GitHub use certain languages, and how many questions are asked about those languages on the programmer Q&A site Stack Overflow. The idea is to get a sense of where the software development profession is heading.

Slashdot Top Deals