Monthly Archive:: June 2021
For as long as Android has been around, Android apps have been launched in the APK format (which stands for Android Package). However, in 2018, Google introduced a new format called Android App Bundles, or AAB (with the filename *.aab). Google touted that this new format would result in smaller app file sizes and easier ways to control various aspects of apps. Of the millions of apps on the Google Play Store, thousands of them already use the AAB system. Today, Google announced that the AAB format will now officially replace Android APKs. This means that starting in August of this year, all new apps submitted to the Google Play Store must come in the AAB format. Apps that are currently APKs can stay that way — at least for now. Alright, where’s the catch? There’s going to be a catch, right? Unlike APKs, Android App Bundles cannot exist outside of Google Play and cannot be distributed outside of it. This means that developers switching from APK to App Bundles can no longer provide the exact same package or experience on other app sources unless they opt to maintain a separate APK version. This naturally puts third-party app stores at a disadvantage, but Google will most likely play up the Play Store’s security as a major reason to avoid those sources anyway. There it is! Of course any technological step forward in the modern monopolised world of technology has to come with anti-consumer features or limitations that take control away from users. It’s like a law.
Today, we are launching a technical preview of GitHub Copilot, a new AI pair programmer that helps you write better code. GitHub Copilot draws context from the code you’re working on, suggesting whole lines or entire functions. It helps you quickly discover alternative ways to solve problems, write tests, and explore new APIs without having to tediously tailor a search for answers on the internet. As you type, it adapts to the way you write code—to help you complete your work faster. Sounds like a cool and useful feature, but this does raise some interesting questions about the code it generates. Sure, generated code might be entirely new, but what about possible cases where the code it “generates” is just taken from the existing projects the AI was trained on? The AI was trained on open source code available on GitHub, including a lot of code licensed under, for instance, the GPL. GitHub says in the Copilot FAQ: GitHub Copilot is a code synthesizer, not a search engine: the vast majority of the code that it suggests is uniquely generated and has never been seen before. We found that about 0.1% of the time, the suggestion may contain some snippets that are verbatim from the training set. Here is an in-depth study on the model’s behavior. Many of these cases happen when you don’t provide sufficient context (in particular, when editing an empty file), or when there is a common, perhaps even universal, solution to the problem. We are building an origin tracker to help detect the rare instances of code that is repeated from the training set, to help you make good real-time decisions about GitHub Copilot’s suggestions. That 0.1% may not sound like a lot, but that’s misleading – another way to put it is that out of every 1000 suggestions Copilot makes, 1 is copy/pasted code someone has written and selected a license for, and that license must, of course, be respected. On top of that, it’s hard to argue that code generated from a set of existing open source code doesn’t constitute a derivative work, and is thus covered by the copyright open source licenses are based on. I am not a lawyer, so I’m not going to argue Copilot is definitively a massive GPL violation, but as a layman, on the face of it, it definitely feels like a tool that’s going to strip a lot of code from their licenses – without consent and permission of the code’s authors.
Microsoft gave its digital imprimatur to a rootkit that decrypted encrypted communications and sent them to attacker-controlled servers, the company and outside researchers said. The blunder allowed the malware to be installed on Windows machines without users receiving a security warning or needing to take additional steps. For the past 13 years, Microsoft has required third-party drivers and other code that runs in the Windows kernel to be tested and digitally signed by the OS maker to ensure stability and security. Without a Microsoft certificate, these types of programs can’t be installed by default. One of the reasons Windows 11’s hardware requirements are so stringent is because Microsoft wants to force Trusted Platform Modules and Secure Boot down everyone’s throat, in the name of security. This way, Windows users can feel secure in knowing Microsoft looks out for them, and will prevent malware and viruses from… I can’t keep writing this with a straight face.
With Canonical announcing Ubuntu support for so much new hardware, the announcement of Ubuntu ported to a new architecture can go unnoticed. But today, we have a big one. Working with the leading RISC-V core IP designer and development board manufacturer, SiFive, we are proud to announce the first Ubuntu release for two of the most prominent SiFive boards, Unmatched and Unleashed. This is great news for RISC-V and open source hardware in general. Of course, Linux on RISC-V moves forward with or without the support or major distributions, but having Ubuntu, probably the most popular Linux distribution in the world, on board is a major boon for the architecture.
ARM64EC is a new application binary interface (ABI) for Windows 11 on ARM that runs with native speed and is interoperable with x64. An app, process, or even a module can freely mix and match ARM64EC and x64 as needed. The ARM64EC code in the app will run natively while any x64 code will run using Windows 11 on ARM’s built-in emulation. The ARM64EC ABI differs slightly from the existing ARM64 ABI in ways that make it binary compatible with x64 code. Specifically, the ARM64EC ABI follows x64 software conventions including calling convention, stack usage, and data alignment, making ARM64EC and x64 interoperable. Apps built as ARM64EC may contain x64 code but do not have to, since ARM64EC is its own complete, first-class ABI for Windows. Another tool in the toolbox for Windows developers who wish to treat ARM64 as a first-class citizen.
Microsoft has published a blog post, trying to dispel some of the confusion around Windows 11’s system requirements. First and foremost, the company makes it clear that TPM 2.0 and 8th generation Intel and 2nd generation Ryzen are hard floors. Microsoft adds that based on the feedback during Windows 11’s testing process, support for 7th generation Intel and 1st generation Ryzen processors might be added. Using the principles above, we are confident that devices running on Intel 8th generation processors and AMD Zen 2 as well as Qualcomm 7 and 8 Series will meet our principles around security and reliability and minimum system requirements for Windows 11. As we release to Windows Insiders and partner with our OEMs, we will test to identify devices running on Intel 7th generation and AMD Zen 1 that may meet our principles. There are ways around these hard floors, through registry hacks and custom Windows 11 ISOs, but updates might break those, and who knows if Microsoft will plug those holes.
A federal court on Monday dismissed the Federal Trade Commission’s antitrust complaint against Facebook, as well as a parallel case brought by 48 state attorneys general, dealing a major setback to the agency’s complaint, which could have resulted in Facebook divesting Instagram and WhatsApp. However, the court ruled Monday that the FTC failed to prove its main contention and the cornerstone of the case: that Facebook holds monopoly power in the U.S. personal social networking market. I mean, I hear Friendster and MySpace are the bomb.
One example of this was the parallel universe of FireWire hubs. If you think of FireWire as “a big USB” then a hub wouldn’t seem so strange, but FireWire was actually meant to replace SCSI. SCSI and FireWire are peer-to-peer: any device on the bus can talk to any other device, unlike USB where each bus has at most one host and the host does all the initiation of data transfer. (USB On-The-Go still has one host and one host only; it just allows certain devices like your mobile phone to swing both ways.) The point-to-point capabilities of USB 3 notwithstanding, a USB hub has one upstream port for the host and multiple downstream ports for the devices. A FireWire hub, however, is like getting a longer internal SCSI cable; more devices simply exist on the same bus. Connecting multiple FireWire hubs just makes a bigger bus because all the ports are the same. Everything you ever wanted to know about FireWire hubs, with lots of examples.
In my first story on the unveiling of Windows 11, I remarked that the system requirements remained largely unchanged from Windows 10. Well, as it turns out, I couldn’t have been more wrong. Since the announcement, Microsoft has been incredibly obtuse and back-and-forth about the system requirements for Windows 11, and at this point, it seems like nobody has any clue anymore what’s true and what isn’t. Windows 11 is arriving later this year as a free upgrade for Windows 10 users, but many are discovering that their hardware isn’t compatible. Microsoft has altered its minimum hardware requirements, and it’s the CPU changes that are most surprising here. Windows 11 will only officially support 8th Gen and newer Intel Core processors, alongside Apollo Lake and newer Pentium and Celeron processors. Windows 11 will also only officially support AMD Ryzen 2000 and newer processors, and 2nd Gen or newer EPYC chips. That’s one hell of a hard cutoff, and one that seems entirely arbitrary. There’s nothing in Windows 11 that a first generation Ryzen or 6th or 7th generation Intel Core processor cannot handle, so why rule them out? A lot of people just assume Windows 11 will work on older processors than those listed, but there’s no confirmation from Microsoft that this is the case. Aside from processor support, there’s another aspect that Microsoft is vague about: does Windows 11 require TPM 2.0 or TPM 1.2? Do you need a hardware TPM, or will a firmware TPM, available in about every modern x86 processor but turned off by default, suffice? Nobody seems to have the answers, and it’s leading to a lot of speculation ad uncertainty. The same applies to Secure Boot and UEFI – Microsoft lists both of them as requirements, but most news stories online just assume Microsoft doesn’t truly think of them as requirements, more as suggestions. There’s a lot of uncertainty in the air here for Windows users.
Let’s take a step back from Windows 11 and go back in time – to 22 years ago, to be exact. Alpha on Windows NT is dead. As far as NT goes, it’s an Intel world. Last week, Compaq announced that it was laying off more than 100 of its Alpha/NT employees in its DECwest facility located near the Microsoft campus. This group of developers was tasked with making Alpha on NT a technical reality. Citing Compaq’s decision and the strength of Intel’s architecture and systems, Microsoft says it will discontinue development of future 32-bit and 64-bit Alpha products across its existing product line. Windows NT on PowerPC, Alpha, MIPS, and Itanium have always been deeply fascinating to me, and at some point, I want to get my hands on some supported hardware, just for the fun of it.
Let’s step away from Windows 11 for a second, and spend some time with DragonFlyBSD. Software running on DragonFlyBSD and making use of pthreads is set to see better performance around low-level locks when heavily contested. This commit has the details on the change by DragonFlyBSD founder Matthew Dillon. But long story short pthreads-using software should benefit from this low-level lock performance improvement.
Next up, an important detail regarding Windows 11’s support for running Android applications. While there’s no Google Play Services or Play Store, you can sideload any APK you want. Microsoft has now confirmed that it will allow users to install any Android APK on Windows 11 devices. Yes, you can download a 3rd party Android APK file and install it on your Windows 11 device. This is a great decision by Microsoft as it enables consumers to install their favorite Android apps from various sources. This is good news, and I’m sure it will take about four days for XDA to hack Play Services and the Play Store onto Windows 11.
With Windows 11 just having been unveiled, there’s quite a few tidbits to go through – news that has come out after the actual event. First, Windows 11 will spell the official end of Internet Explorer shipping as part of Windows. At one point in Windows 10’s lifetime, you could have had Internet Explorer, the legacy version of Microsoft Edge, and the new Chromium-powered Edge all installed. This trio of browsers was the perfect illustration of Microsoft’s struggles with the web over the past decade, but now that Internet Explorer is being laid to rest in 2022, it’s disappearing from Windows 11, too. About time.
Today, we’re sharing the latest on the Privacy Sandbox initiative including a timeline for Chrome’s plan to phase out support for third-party cookies. While there’s considerable progress with this initiative, it’s become clear that more time is needed across the ecosystem to get this right. We plan to continue to work with the web community to create more private approaches to key areas, including ad measurement, delivering relevant ads and content, and fraud detection. Today, Chrome and others have offered more than 30 proposals, and four of those proposals are available in origin trials. For Chrome, specifically, our goal is to have the key technologies deployed by late 2022 for the developer community to start adopting them. Subject to our engagement with the United Kingdom’s Competition and Markets Authority (CMA) and in line with the commitments we have offered, Chrome could then phase out third-party cookies over a three month period, starting in mid-2023 and ending in late 2023. Chrome is, for some reason, the most popular browser in the world, and it sucks that Google has to delay ending support for third-party cookies. This is the price they pay for being as big and powerful as they are, since while cutting off third-party cookies won’t harm Google’s advertising business all that much, it certainly will harm the very few remaining competitors it still has. I won’t shed a single tear for any online advertising company, but I will shed a tear for the masses who still believe they’re hogtied by Chrome.
At an online event today, Microsoft officially announced Windows 11, the next major version of Windows. Windows 11 comes with several new features and improvements for end users. Microsoft highlighted the below features during the event today. Aside from the visual nip and tuck that we were already aware of, there’s a new Windows Store experience, a shift to a yearly update schedule, lots of new features for gaming, and the biggest new feature of all: Android applications are coming to Windows. Android applications on Windows have a few asterisks, though, the biggest of which is that Microsoft is collaborating with Amazon on bringing Android applications to Windows – after installing or upgrading to Windows 11, you first have to install the Amazon App Store from within the Windows Store, after which you can install Android applications, but only those found in the Amazon App Store. There’s no Google Play Store here, and no Google Play Services. My guess is that Google wasn’t going to play ball on this one, so Microsoft had to settle for this. Microsoft also showed off a revamped Settings app, redesigned versions of Notepad and Paint, and teased a UI overhaul for Windows Explorer, merely replacing its ribbon with a few buttons, so there’s no truly new, improved Explorer here. There’s more, but these are definitely the highlights. Windows 11 will come out later this year, and will be a free upgrade for Windows 10 users. The hardware requirements are roughly the same as Windows 10.
Starting today, online users have a new independent option for search which gives them unmatched privacy. Whether they are already Brave browser users, looking to expand their online privacy protection with the all-in-one, integrated Brave Search in the Brave browser, or users of other browsers looking for the best-in-breed privacy-preserving search engine, they can all use the newly released Brave Search beta that puts users first, and fully in control of their online experience. Brave Search is built on top of a completely independent index, and doesn’t track users, their searches, or their clicks. Brave Search is available in beta release globally on all Brave browsers (desktop, Android, and iOS) as one of the search options alongside other search engines, and will become the default search in the Brave browser later this year. It is also available from any other browser at search.brave.com. I’m going to give Brave an honest try, since I’ve been quite unhappy with DuckDuckGo lately, and Google’s search engine has been going down the drain for years now. Being in search engine limbo is not a fun place to be, so I’m genuinely hoping Brave Search can fill this void.
Rocky Linux, a fork of CentOS and a replacement set up by one of the founders of the original CentOS project, has unveiled its first final release. Rocky Linux is a community enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux 8.4. Since this is the first Release of Rocky Linux, the release notes below reflect only changes in upstream functionality between point releases. CentOS needed a replacement since the project shifted focus towards CentOS Stream.
In this post I’ll try to explain PipeWire in the most simple way possible, to make it accessible to others that want to start following this cool new project but that don’t know where to start. It’s especially important to do this to open the door for more people to join in and follow the current development, which is happening at a fast pace. PipeWire is making its way into the generic Linux desktop market, so now is as good a time as ever to gain a better understanding of what it is and how it works.
It seems the big technology companies are running scared. According to a report by The New York Times, they have ramped up their lobbying efforts into the stratosphere at all levels of government, and Tim Cook is even personally calling politicians – most prominently, Nancy Pelosi. The calls by Mr. Cook are part of a forceful and wide-ranging pushback by the tech industry since the proposals were announced this month. Executives, lobbyists, and more than a dozen think tanks and advocacy groups paid by tech companies have swarmed Capitol offices, called and emailed lawmakers and their staff members, and written letters arguing there will be dire consequences for the industry and the country if the ideas become law. The bills, the most sweeping set of antitrust legislation in generations, take aim at Amazon, Apple, Facebook and Google by trying to undo their dominance in online commerce, advertising, media and entertainment. There are six bills in total, and if passed, they would empower regulators, make it harder for the tech giants to acquire start-ups and prevent the companies from using their strength in one area to form a grip in another. Apple also published a 16 page PR document today, warning that the world will end if Apple is forced to allow sideloading or third party application stores on iOS. Of course, this is all nonsense, as the only thing Apple worries about is the protection money it extracts that makes up the vast majority of its services push that it uses to please investors. Nobody is going to break into iOS users’ homes and force them to sideload – don’t sideload if you don’t want to, but the rest of us should be allowed to do whatever we want with the devices we paid money for. Another major reason Apple is running is scared is that if it has to allow sideloading, the company will lose the control over its platform that is so coveted by Apple’s closest friends and allies, the totalitarian governments of this world. China, Saudi-Arabia, Russia, and others are weaponising Apple’s walled garden, and if that wall is cracked open, Apple is suddenly no longer as valuable to totalitarian governments. This would hurt Apple’s bottom line significantly. Amazon and Google also have a lot to lose, of course. Google controls most of the advertising market and any measures to lessen that control will be a major blow to the company’s bottom line. Amazon, for its part, abuses the data it collects about buyers and sellers to create their own products and delist their competitors, which has become a cornerstone of the company’s strategy. The fact they are running scared bodes well for the contents of these proposed bills, but at the same time, it also means a lot of bribes are flowing towards Washington, and American politicians are nothing if not deeply, systematically corrupt and easily bought.
Today, RISC-V CPU design company SiFive launched a new processor family with two core designs: P270 (a Linux-capable CPU with full support for RISC-V’s vector extension 1.0 release candidate) and P550 (the highest-performing RISC-V CPU to date). There’s quite a bit to unpack here today. Not only did SiFive announce these two new core designs, it also partnered with Intel. Intel will be the main development partner on the P550 core on Intel’s 7nm process, and most likely, Intel will also build its own SoCs using these P550 cores. In other words, there’s a lot of IP sharing going on here. This is a big step for both RISV-V and SiFive, and bodes well for the open source ISA as a whole.