×
Programming

Apple Made ProtonMail Add In-App Purchases, Even Though it Had Been Free For Years (theverge.com) 56

An anonymous reader shares a report: On Tuesday, Congress revealed whether it thinks Amazon, Apple, Facebook, and Google are sitting on monopolies. In some cases, the answer was yes. But also, one app developer revealed to Congress that it -- just like WordPress -- had been forced to monetize a largely free app. That developer testified that Apple had demanded in-app purchases (IAP), even though Apple had approved its app without them two years earlier -- and that when the dev dared send an email to customers notifying them of the change, Apple threatened to remove the app and blocked all updates. That developer was ProtonMail, makers of an encrypted email app, and CEO Andy Yen had some fiery words for Apple in an interview with The Verge this week. We've known for months that WordPress and Hey weren't alone in being strong-armed by the most valuable company in the world, ever since Stratechery's Ben Thompson reported that 21 different app developers quietly told him they'd been pushed to retroactively add IAP in the wake of those two controversies. But until now, we hadn't heard of many devs willing to publicly admit it. They were scared.

And they're still scared, says Yen. Even though Apple changed its rules on September 11th to exempt "free apps acting as a stand-alone companion to a paid web based tool" from the IAP requirement -- Apple explicitly said email apps are exempt -- ProtonMail still hasn't removed its own in-app purchases because it fears retaliation from Apple, he says. He claims other developers feel the same way: "There's a lot of fear in the space right now; people are completely petrified to say anything." [...] "For the first two years we were in the App Store, that was fine, no issues there," he says. (They'd launched on iOS in 2016.) "But a common practice we see ... as you start getting significant uptake in uploads and downloads, they start looking at your situation more carefully, and then as any good Mafia extortion goes, they come to shake you down for some money."

Google

Google Gets Mixed Reception in High Court Clash With Oracle (bloomberg.com) 74

Alphabet's Google got a mixed reception at the U.S. Supreme Court as it sought to overturn a ruling that could force the company to pay billions of dollars for improperly using Oracle's copyrighted code in the Android operating system. From a report: Holding a low-tech telephone session in one of the biggest software fights in American history, the justices on Wednesday questioned Google's contention that it had no way to replicate the code without forcing millions of software developers to learn a new programming language. Justice Neil Gorsuch told Google's lawyer that Apple and other companies have "come up with phones that work just fine without engaging in this kind of copying." But Gorsuch also raised the possibility of returning the case to a federal appeals court for another look at Google's contention that it engaged in legitimate "fair use" of Oracle's Java programming language. Oracle says it's entitled to at least $8.8 billion in damages. A jury found that Google's code copying was a legitimate fair use, but a federal appeals court reversed that finding.
Programming

51% of Developers Say They're Managing 100 Times More Code Than a Decade Ago (arstechnica.com) 99

An anonymous reader quotes Ars Technica: Sourcegraph, a company specializing in universal code search, polled more than 500 North American software developers to identify issues in code complexity and management. Its general findings are probably no surprise to most Ars readers — software has gotten bigger, more complex, and much more important in the past ten years — but the sheer scope can be surprising... When asked how the size of the codebase across their entire company, measured in megabytes and the number of repositories, has changed in the past decade, over half (51%) of software development stakeholders reported they have more than 100 times the volume of code they had 10 years ago. And a staggering 18% say they have 500 times more code.
Ars also reports another surprising finding: 91% of the surveyed developers said their non-technology company "functions more like a technology company than it did ten years ago.

"This won't surprise anyone who has noticed firms like Walmart Labs sponsoring open source technology conferences and delivering presentations."
NASA

Microsoft and NASA Create a Space-Themed Site Teaching Python Programming (techrepublic.com) 24

"To teach the next generation of computer scientists the basics of Python programming, Microsoft recently announced a partnership with NASA to create a series of lessons based on space exploration efforts," reports TechRepublic: Overall, the project includes three different NASA-inspired lessons... The Introduction to Python for Space Exploration lesson will provide students with "an introduction to the types of space exploration problems that Python and data science can influence." Made up of eight units in total, this module also details the upcoming Artemis lunar exploration mission.

In another learning path, students will learn to design an AI model capable of classifying different types of space rocks depicted in random photos, according to Microsoft. However, the company recommends a "basic understanding of Python for Data Science" as a prerequisite for this particular lesson. The last of the three learning paths serves as an introduction to machine learning and demonstrates ways these technologies can help assist with space exploration operations.

Students are presented real-world NASA challenges, particularly rocket launch delays, and learn how the agency can leverage machine learning to resolve the issues... Microsoft also announced partnerships with Wonder Woman 1984 and Smithsonian Learning Labs to curate five additional programming lessons for students.

Java

The World's Largest Concentrations of Java Programmers are in Asia and Germany (jetbrains.com) 34

"To celebrate Java's 25th anniversary this year and the latest release of Java 15, JetBrains has compiled data from multiple sources to look at what the current state of the language," reports SD Times: The largest concentration of Java developers is in Asia, where 2.5 million developers use it as their primary language. JetBrains believes this may be due to the fact that it is common to hire offshore developers in countries like China and India to build Android apps. "We might have expected the USA to have a high percentage of Java users, but it also makes a lot of sense that they don't. There is a big technology stack to choose from and often a lot of the tech companies are at the forefront of that stack, so it could be that developers there don't need the power or stability of Java and are using languages that allow them to build and test quickly," JetBrains wrote in a post.
The post on JetBrains notes that the six countries with the highest percentage of developers using Java as their primary language are: China, South Korea, India, Germany, Spain, and Brazil: The reasons Java is most likely so popular in the first 6 countries include the free use of Java, governmental support, and open-source... Germany is also very high which could be attributed to Java being the most popular language in Germany for software engineers as it is used to build highly scalable applications for a multitude of industries. Most enterprise services rely on Java to power the applications that enable the day-to-day running of businesses, such as payroll, inventory management, reporting, and so on. Germany also has a big financial sector that uses Java heavily for their homegrown tech, such as trading bots, retail banking systems, and other applications that the finance industry requires in order to remain competitive...

According to the State of the Developer Ecosystem Survey 2020, more than a third of professional developers use Java as a primary language and Java remains the second primary language among professional developers after JavaScript. Expert analysis: It is not surprising to see JavaScript and Java taking the leading positions as they are kind of paired together; developers who work with Java often write their frontend and any quick scripts in JavaScript. Python is probably third place due to the spread of machine learning. In general, we expect the web to be a big part of the developer ecosystem and so JavaScript, HTML and CSS, and PHP will always have solid standing. SQL is also always going to be around as there isn't much that doesn't require databases in some capacity. C++ is also kind of a solid language in that it is used for a lot of embedded applications, so it won't be disappearing off the charts any time soon. C# though seems to be losing ground, and I guess if Java is high then C# will be low, as they are both very similar in terms of capabilities.

As to why I think Java is so high in the sphere of professional development — it's similar to what was mentioned about Germany. Most enterprise business services rely on Java to make them tick along. It's not just the IT sector either — almost every company, be it in distribution, manufacturing, or banking, has IT services as part of their infrastructure, and these services, such as payroll or inventory management, are generally built with Java in the backend. So Java is used a lot by professional developers who work for these companies.

Programming

Swift System is Now Open Source and Supports Linux (swift.org) 21

Michael Ilseman, an engineer on the Swift Standard Library team at Apple, writes: In June, Apple introduced Swift System, a new library for Apple platforms that provides idiomatic interfaces to system calls and low-level currency types. Today, I'm excited to announce that we're open-sourcing System and adding Linux support! Our vision is for System to eventually act as the single home for low-level system interfaces for all supported Swift platforms.
Programming

Google Expands its Flutter Development Kit To Windows Apps (venturebeat.com) 41

Google has announced that Flutter, its open source UI development kit for building cross-platform software from the same codebase, is finally available for Windows apps in alpha. From a report:For the world's leading desktop operating system with some 1 billion installations of Windows 10 alone, this has been a long time coming. Flutter's alpha incarnation was initially launched at Google's I/O developer conference back in 2017, before arriving in beta less than a year later. In its original guise, Flutter was designed for Android and iOS app development, but it has since expanded to cover the web, MacOS, and Linux, which are currently available in various alpha or beta iterations. Developers have had to consider unique platform-specific factors when designing for the desktop or mobile phones, such as different screen sizes and how people interact with their devices. On smartphones, people typically use touch and swipe-based gestures, while keyboards and mice are commonly used on PCs and laptops. This means Flutter has had to expand its support to cover the additional inputs.
Businesses

Tim Cook on Antitrust Investigations: 'There is No Monopoly Here' (imore.com) 151

In an interview, Apple CEO Tim Cook said that big companies deserve scrutiny and that he has no issue with Apple being investigated for antitrust issues stating. But at Apple, he said, "there is no monopoly here." From a report: In an interview, Cook stated that he had "no issue" with Apple's being put under investigation, but fervently stated that he believed that once lawmakers heard Apple's story, they would see that the company did not have a monopoly. "I think that big companies deserve scrutiny. And I think that's not only fair but important for the system that we have in America. And so I have no issue at all in Apple being put underneath the microscope and people looking and probing. My hope is that as people heard our story and as they continue to hear our story that it will become as apparent to them as it is to us that we have no monopoly. There is no monopoly here," he said.
China

Trump Says ByteDance Can't Keep Control of TikTok in Oracle Deal (bloomberg.com) 93

President Donald Trump said he might rescind his tentative blessing for a deal between Oracle and ByteDance to create a new U.S.-based TikTok service, casting doubt on the agreement as Chinese state media signaled reluctance in Beijing. From a report: Speaking in an interview on Fox News on Monday, Trump said he wouldn't approve the deal if the Chinese company retains control of TikTok. However, he also indicated that he expected Chinese influence to be diluted by a future public offering of the new company. "They will have nothing to do with it, and if they do, we just won't make the deal," Trump said, referring to ByteDance, which owns TikTok. "It's going to be controlled, totally controlled by Oracle, and I guess they're going public and they're buying out the rest of it -- they're buying out a lot, and if we find that they don't have total control then we're not going to approve the deal." Shortly after Trump's comments, Hu Xijin, editor-in-chief of the China state-affiliated Global Times, tweeted that Beijing would likely reject the deal "because the agreement would endanger China's national security, interests and dignity."
Java

Oracle's Plan to Keep Java Developers from Leaving for Rust and Kotlin (zdnet.com) 90

ZDNet reports: Oracle has released version 15 of Java, the language created 25 years ago by James Gosling at Sun Microsystems, which Oracle snapped up in 2009 for about $7.4bn to gain what it said was the "most important software Oracle has ever acquired". Java 15, or Oracle Java Development Kit (JDK) 15, brings the Edwards-Curve digital signature algorithm, hidden classes, and former preview features that have been finalized, including text blocks, and the Z Garbage Collector, while the sealed-classes feature arrives and pattern matching and records emerge as a second preview...

In July, Java fell out of RedMonk's top two positions for the first time since 2012 and now resides behind JavaScript and Python in terms of popularity. Tiobe in September ranked Java in second position, behind C and ahead of Python.... But Java is still hugely popular and widely used in the enterprise, according to Oracle, which notes it is used by over 69% of full-time developers worldwide... It counts Arm, Amazon, IBM, Intel, NTT Data, Red Hat, SAP and Tencent among its list of notable contributors to JDK 15. Oracle also gave a special mention to Microsoft and cloud system monitoring service DataDog for fixes...

As part of Java's 25th anniversary, Oracle commissioned analyst firm Omdia to assess its six-month release strategy for Java and whether it would be enough to keep millions of Java developers away from memory-safe alternatives such as Kotlin, the language Google has endorsed for Android development, and Rust, a system programming language that was created at Mozilla. "In Omdia's opinion, the work Oracle began a few years ago in moving to a six-month update cycle and introducing a new level of modularity, puts the vendor in good stead with its constituency of approximately 12 million developers," Oracle said in its report on Omdia's analysis.

"However, Oracle and the Java programming language need an ongoing series of innovative, must-have, and 'delightful' features that make the language even more user friendly and cloud capable. These will keep existing Java developers happy while steering potential Java developers away from newer languages like Rust and Kotlin."

IOS

Developers Frustrated at Apple for Just One Day's Notice To Submit Apps Ahead of iOS 14 Release Today (mashable.com) 31

While developers have had access to beta versions of the software updates since June, many were caught off guard by Apple's much shorter notice of the final releases. By comparison, Apple started accepting apps built for iOS 13 on September 10 last year, over one week before the software update was released on September 19. From a story yesterday: "I think a lot of developers won't be sleeping tonight or will instead just give up and opt to release [their app] when they want to, instead of alongside the new OS," said iOS developer Shihab Mehboob in a message. "Apple has seemingly out of the blue decided to surprise developers with no real warning or care." [...] "Without advance warning like this, nothing is ready," a developer at High Caffeine Content, Steve Troughton-Smith, told me. "Developers aren't ready, the App Store is't ready, and everybody is rushing to react instead of having the chance to finish their apps properly." Steve ran through the normal iOS release process with me. Apple usually gives third-party app developers a heads up of about a week before the official public release of a new iOS. The company puts out a "Golden Master" copy of the new iOS and Xcode developer tool before the latest operating system is officially released to the public. This gives iPhone app developers the time they need to make sure the apps they've been building for the beta releases of the new iOS actually work on the final version. Sometimes there are critical bugs that are only revealed or could only be fixed at this point in the process.

The extra time can also be used to add new features for any new devices announced at the Apple Event. Apple's approval process for apps also takes some time, so developers have that week to make sure they submit in time to guarantee their work will be in the App Store for the iOS release. "Gone are the hopes of being on the store by the time users install the new iOS 14 and are looking for new apps. Gone is the chance to get some last-minute fixes into your existing apps to make sure they don't stop working outright by the time users get to upgrade their OS," explained Steve. "There are some developers who have spent all summer working on something new, using the latest technologies, hoping to be there on day one and participate in the excitement (and press coverage) of the new iOS," he continued. "For many of them, they'll be incredibly upset to have it end like this instead of a triumphant launch, and it can dramatically decrease the amount of coverage or sales they receive."

Oracle

TikTok Picks Oracle Over Microsoft In Trump-forced Sales Bid (www.cbc.ca) 137

Dave Knott quotes the CBC: The owner of TikTok has chosen Oracle over Microsoft as its preferred suitor to buy the popular video-sharing app, according to a source familiar with the deal.

Microsoft announced Sunday that its bid to buy TikTok was rejected, removing a leading suitor for the Chinese-owned app a week before President Donald Trump promises to follow through with a plan to ban it in the U.S.

The Trump administration has threatened to ban TikTok by mid-September and ordered ByteDance to sell its U.S. business, claiming national-security risks due to its Chinese ownership. The U.S. government worries about user data being funnelled to Chinese authorities.

Programming

Did You Know Today Is 'The Day of the Programmer'? (wikipedia.org) 62

Long-time Slashdot reader destinyland shares Wikipedia's entry reminding us that this year's "Day of the Programmer" falls on September 13: The Day of the Programmer is an international professional day that is celebrated on the 256th (hexadecimal 100th, or the 2**8th) day of each year (September 13 during common years and on September 12 in leap years). It is officially recognized in Russia.

The number 256 (2**8) was chosen because it is the number of distinct values that can be represented with a byte, a value well known to programmers...

In China, the programmer's day is October 24, which has been established for many years. The date was chosen because it can also be written as 1024, which is equal to 210. It is also consistent regardless of leap years.

The original submission suggests we celebrate with "this delightful acoustic version of Code Monkey, which songwriter Jonathan Coulton describes as "how it feels to write software for a living."

But did any Slashdot readers even know today was The Day of the Programmer?
Programming

C++ is About To Get a Huge Update (zdnet.com) 217

ZDNet reports: The International Organization for Standardization's (ISO) C++ group, Working Group 21 (WG21), has agreed upon the finalized version of 'C++20', the first major update to the 35 year-old programming language since C++17 from 2017... The 2020 release of C++ is huge by historical standards. Herb Sutter, a Microsoft engineer and long-time chair of WG21 C++ ISO committee, said it "will be C++'s largest release since C++11", meaning it's bigger than any of the past three releases, which happen every three years. It's also the first version that has been standardized....

Two of the most important features coming to C++20 are "modules" and "coroutines". Modules, which was led by Google's Richard Smith, stands in for header files and helps isolate the effects of macros while supporting larger builds. As Sutter noted recently, C++20 marks the "first time in about 35 years that C++ has added a new feature where users can define a named encapsulation boundary...."

Coroutines represents a generalization of a function. "Regular functions always start at the beginning and exit at the end, whereas coroutines can also suspend the execution to be resumed later at the point where they were left off," C++ contributors explain in a proposal for coroutines.

"We expect it to be formally published toward the end of 2020," Sutter said said in an announcement.

Interestingly, the year C++ was first released in 1985, Microsoft used it to build Windows 1.0, ZDNet points out. "These days Microsoft is exploring Mozilla-developed Rust to replace legacy Windows code written in C and C++ because of Rust's memory safety qualities."
Businesses

Apple Loosens App Store Rules That Hurt Streaming Games, Classes (bloomberg.com) 13

Apple adjusted its App Store review guidelines to loosen restrictions on iPhone and iPad games that stream directly from the internet and in-app purchase rules that have frustrated developers. From a report: The changes mean Apple will approve games that stream from the web, versus from content installed on a device, for the first time. That reverses a rule that frustrated companies including Microsoft. The new rules will still require games to be submitted individually. That means companies still won't be able to launch all-you-can-eat streaming game services on Apple's platform. However, these services can now offer a catalog that directs users to other streaming games from the same developer. But that catalog must point players to the App Store to download those other games individually. Apple is also no longer imposing its in-app purchase requirements on online teaching apps, such as tutoring or workout offerings.
China

In China, GitHub Is a Free Speech Zone for Covid Information (wired.com) 28

As coronavirus news was increasingly trapped behind the Great Firewall, the programming platform became a refuge from censorship. It may not last long. From a report: When the coronavirus first spread through China in January, Chinese PhD student Weilei Zeng watched the pandemic unfold online from his apartment in Riverside, California. Thousands of miles from home, he frantically tried to keep up with news of the crisis, following the rare outpouring of discontent that flooded Chinese social media: lockdown diaries penned by anxious patients; video footage of overcrowded hospitals; tributes to Li Wenliang, the young doctor who was reprimanded for "rumor-mongering" when he first warned the public about the virus (and would die of Covid-19 only a month later). Then, inevitably, as Chinese censors stepped in to scrub the internet clean, Zeng would return to a link he'd visited just a few days earlier to find only the familiar 404 error message -- indicating that the page had vanished. Zeng soon discovered that these posts were not gone. Many had been preserved and quietly tucked away in an unexpected corner of the internet: GitHub, the world's largest open source software site. Founded in 2008 and acquired by Microsoft in 2018, GitHub is popular among developers and programmers, who use the platform mostly to share and crowdsource code. Zeng often used it as a way to collaborate with his university peers on research projects. But after the pandemic hit, he stumbled on thousands of Chinese internet users repurposing GitHub as a Covid-19 archive, racing against censors to document the outbreak in the form of news articles, medical journals, and personal accounts.

One collaborative project, known as a "repository," was named #2020nCovMemory. Founded by seven volunteers from around the world, it included everything from investigative reports published by Chinese news magazine Caixin to the diary entries of Wuhan writer Fang Fang, who criticized the local government's suppression of information and initial failure to warn the public about the virus. Another repository, called Terminus2049 -- named after a planet in Isaac Asimov's Foundation series -- collected sensitive articles that were otherwise inaccessible behind China's Great Firewall, such as an interview with Ai Fen, the doctor who first discovered the virus in December. In February, Zeng joined a repository called 2020nCov_individual_archives, to crowdsource online diary entries and citizens' accounts of everyday life during the pandemic. "It made me feel much more at peace, knowing that these stories were being saved somewhere," Zeng says. On the Chinese internet, global social media platforms like Facebook and Twitter are banned, and domestic platforms like WeChat and Weibo are strictly monitored. But GitHub, known to some Chinese internet users as the "last land of free speech in China," remains accessible. Chinese authorities cannot censor individual projects, because GitHub uses the HTTPS protocol, which encrypts all traffic.

Apple

Epic Games Accounts Won't Be Able To Use Apple's Sign-in System as Soon as September 11th (theverge.com) 36

Apple's "Sign In with Apple" login system will no longer work with Epic Games accounts as soon as September 11th, Epic said today. The new restriction is another casualty of Apple and Epic's ongoing spat. From a report: If you currently use "Sign In with Apple" for your Epic account, Epic says you'll need to update your account with new login credentials before September 11th to retain access. Epic has put together a guide on how to make that update if you need to do so. Epic also says that it may be able to recover your account manually after the "Sign in with Apple" option goes away, but you'll have to contact the studio directly. Apple requires developers to use its single sign-on system if they offer any other third-party options and want their apps in the App Store -- presumably a driving factor behind Epic offering the service as a sign-in factor in the first place.
Businesses

Ten Years Ago, Epic Helped To Legitimize iOS as a Gaming Platform With a Small Demo (theverge.com) 46

An anonymous reader shares a report: On September 1st, 2010, Epic Games released its Citadel tech demo in the Apple App Store. It was a boring thing to actually play -- you simply walked around a medieval town in first-person perspective, taking in the sights with no objectives -- but this calm debut marked a big moment for iOS, the App Store, and Epic Games. It proved that developers could fit gigantic, richly detailed set pieces running on a smartphone and do it while utilizing Unreal Engine 3, the same engine that powered some of the most popular games in the Xbox 360 and PS3 era of consoles. The devices of choice, if you wanted to get access to mobile games with impressive graphics, were suddenly just the iPhone, iPad, and iPod touch. The Citadel demo didn't come to Android until almost two and a half years later in 2013.

The Citadel demo was groundbreaking at the time, and it possibly helped to kickstart the trend of bringing console-like experiences to the nascent mobile gaming platform. When I first saw it, I remember feeling like I immediately needed to throw my HTC Droid Eris out the window and buy an iPhone instead. I eventually got to try it out on an iPad at the gadget store where I was employed at the time, and it was stunning to see high-fidelity textures that had dimension and lighting that dynamically shifted when you walked into a building. There were even reflections at a certain point. I had played better-looking games on PC at that point, but something about the experience of being packed into a tiny device made for a magical proof of concept that left an impact on me, even as the fun of walking around Citadel lost its appeal. Ten years later, things are very different. Right now, Epic Games and Apple are in the midst of a high-profile legal battle that will likely have a serious impact on their relationship moving forward.

IOS

How App Developers Manipulate Your Mood To Boost Ranking? (ft.com) 41

Higher ratings are the 'lifeblood' of the smartphone app world but what if they are inflated? From a report: Rating an iPhone app takes just a second, maybe two. "Enjoying Skype?" a prompt will ask, and you click on a 1-5 star rating. Millions of people respond to these requests, giving little thought to their fleeting whim. Behind the scenes, though, an entire industry has spent countless hours and lines of code to craft this moment. The prompt, seemingly random, can be orchestrated to hit your glowing screen only at times when you are most likely to leave a five star review. Gaming apps will solicit a rating just after you reach a high score. Banking apps will ask when they know it's payday. Gambling apps will prompt users after they are dealt the perfect Blackjack hand. A sporting app will give the nudge only when a user's team is winning.

Apple has for a decade clamped down on "ratings farms" and "download bots" that companies use to fraudulently garner five-star scores and manipulate App Store rankings. And it has had some success. But these are blunt instruments trying to cheat the system in clear violation of Apple's rules. The more sophisticated techniques stay within the rules but draw on behavioural psychology to understand your mood, emotions and behaviour -- they are not hacking the system; they are hacking your brain. "The algorithms that are used are very hush-hush," says Saoud Khalifah, chief executive of Fakespot, a service that analyses the authenticity of reviews on the web. "They can target you when you are euphoric, when you have a lot of dopamine. They can use machine learning to determine [when] a user will be more inclined to leave positive reviews."

China

China Bans Scratch, MIT's Programming Language for Kids (techcrunch.com) 85

China's enthusiasm for teaching children to code is facing a new roadblock as organizations and students lose an essential tool: the Scratch programming language developed by the Lifelong Kindergarten Group at the MIT Media Lab. From a report: China-based internet users can no longer access Scratch's website. Greatfire.org, an organization that monitors internet censorship in China, shows that the website was 100% blocked as early as August 20, while a Scratch user flagged the ban on August 14. Nearly 60 million children around the world have used Scratch's visual programming language to make games, animations, stories and the likes. That includes students in China, which is seeing a gold rush to early coding as the country tries to turn its 200 million kids into world-class tech talents. At last count, 5.65% or 3 million of Scratch's registered users are based in China, though its reach is greater than the figure suggests as many Chinese developers have built derivatives based on Scratch, an open-source software.

Slashdot Top Deals