David Adams Archive

iPhone 12 dropped in canal, retrieved with magnet

I don’t know why I found this account so delightful. I guess it’s just the can-do spirit. I’ve had an iPhone 12 Pro for a while, and I’m a fan of the new MagSafe feature. I find it convenient for daily charging, and it eliminates the danger of failing to line up the phone just right on a Qi charger. I also have a handy 3rd party car mount that’s great for cars without CarPlay. The magnet on the iPhone is pretty strong, and now I know that if I ever drop my phone into a canal, I may be able to retrieve it by “magnet fishing.” When an unlucky Berliner dropped his phone into a mucky canal, his friend suggested using the MagSafe magnet to fish it out. After several hours of experimentation, they succeeded!

UnitySync: this week’s sponsor

We’re very grateful to this week’s sponsor: UnitySync®. For a unified GAL and more, UnitySync helps sync objects between LDAP and cloud directories with this highly scalable and customizable tool. Directory Wizards offers responsive technical support before and after your purchase, as well as other directory tools to simplify directory maintenance. A free evaluation available to test drive your solution. Please visit their website to learn more: https://www.dirwiz.com/unitysync .

Why terminals are 80×25 characters by default

A rollicking and surprisingly political blog post takes us through a fascinating history, connecting 1860-era US bank note presses to the 80×20 terminal standard, passing though the Civil War, the US census, mechanical computers, punch cards, IBM, early display technology, VT100, ANSI, CP/M, and DOS along the way.

CentOS Stream

The “stream” of development in the Red Hat Enterprise Linux ecosystem has been Fedora > RHEL > CentOS, but Red Hat is changing things up: The CentOS Stream project sits between the Fedora Project and RHEL in the RHEL Development process, providing a “rolling preview” of future RHEL kernels and features. This enables developers to stay one or two steps ahead of what’s coming in RHEL, which was not previously possible with traditional CentOS releases.

Apple announces iPadOS

The iPad’s device-specific features have been advancing for years, and Apple is finally making the divergence official. Though the first version seems to still be iOS with some iPad-specific components (not all that different from previous versions of iOS on the iPad), presumably this release signals that in the future the iPad and iPhone versions of the OS will diverge more radically. Personally, I hope to see it iPad become more Mac-like, rather than seeing the Mac become more iPad-like. I’d love to see iPadOS evolve to the point that Apple would release an iPad Pro keyboard with a trackpad. Crucially, the iPadOS will be compatible with devices going back to the five-year-old iPad Air 2.

Federal Trade Commission wins antitrust case against Qualcomm

One of the key points of this case is that “In numerous cases Qualcomm threatened with a disruption of chipset supplies unless OEMs accepted its patent licensing terms, and there were various agreements under which OEMs paid a higher patent royalty when using third-party modem chips than Qualcomm’s products.” The judge found that “Qualcomm’s licensing practices have strangled competition in the CDMA and premium LTE modem chip markets for years, and harmed rivals, OEMs, and end consumers in the process.” As a remedy, Qualcomm is ordered to take several steps which will reduce the amount of power it holds over its customers and will need to renegotiate new license terms without the threats that had accompanied previous negotiations.

Haiku switches system allocator to rpmalloc

As of hrev53136, we’ve finally replaced the aging hoard2 with a shiny new mmap-based allocator – mjansson’s rpmalloc. Thanks to @pulkomandy and @mmlr for helping out with that work! The main benefit here will be on 64-bit Haiku, as applications will now (finally) be able to use more than 1.5GB of RAM each, a limitation of the old allocator. But there are some pretty nice (10-15%) performance benefits over the old allocator, too. More of the technical details can be found in the commit message 5, but essentially the only thing to be concerned about is if things start suddenly crashing more often. It’s already known to exacerbate a few pre-existing WebKit crashes (mostly around Google Maps or the like, which were already so unstable as to be unusable anyway).

Why Linux on Desktop ‘Failed’: A discussion with Mark Shuttleworth

In an interesting video interview, Canonical founder Mark Shuttleworth shares his thoughts on desktop Linux. Some of his most prominent statements include: “I think the bigger challenge has been that we haven’t invented anything in the Linux that was like deeply, powerfully ahead of its time” and, “if in the free software community we only allow ourselves to talk about things that look like something that already exists, then we’re sort of defining ourselves as a series of forks and fragmentations.”

An alternative to garbage collection

An IEEE Spectrum article outlines some interesting new OS-related research. Martin Maas, a University of California, Berkeley, PhD student who is now at Google, designed “a new type of device that relieves the CPU from its garbage collection duties.” Maas notes that CPUs, which have traditionally been assigned garbage collection, were never specifically designed for the task. “CPUs are built to be flexible and run a wide range of applications. As a result, they are relatively large and can take up a significant amount of power,” he explains.Instead, Maas and his colleagues created a compact accelerator unit that requires a small amount of chip area and power. It can be added to the CPU, similar to how many modern processor chips are integrated into graphics processing units.“While the software application is running on the CPU, this unit sits on the side and performs garbage collection for the application,” says Maas. “In principle, this means that you could build a system where the software does not have to worry about garbage collection at all and just keeps using the available memory.”

All Chromebooks will also be Linux laptops going forward

At Google I/O, Google quietly announced that “all devices launched this year will be Linux-ready right out of the box.” A ZDNet article has more details. Earlier, you could run Debian, Ubuntu and Kali Linux on Chrome OS using the open-source Crouton program in a chroot container. Or, you could run Gallium OS, a third-party, Xubuntu Chromebook-specific Linux variant. But it wasn’t easy. Now? It’s as simple as simple can be. Just open the Chrome OS app switcher by pressing the Search/Launcher key and then type “Terminal”. This launches the Termina VM, which will start running a Debian 9.0 Stretch Linux container.

Comparing 21 sub-$1 microcontrollers

In 2017, we saw several new MCUs hit the market, as well as general trends continuing in the industry: the migration to open-source, cross-platform development environments and toolchains; new code-generator tools that integrate seamlessly (or not so seamlessly…) into IDEs; and, most notably, the continued invasion of ARM Cortex-M0+ parts into the 8-bit space. I wanted to take a quick pulse of the industry to see where everything is — and what I’ve been missing while backed into my corner of DigiKey’s web site. It’s time for a good ol’ microcontroller shoot-out.

GrapheneOS: an Android-based, security-hardened, open source OS

There’s a new(ish) smartphone operating system aimed at folks who want to be able to run Android apps, but want additional security and privacy features. It’s called GrapheneOS, and it comes from Daniel Micay, the former lead developer of another security-based Android fork called CopperheadOS. After the founders of Copperhead had a falling out last year, Micay turned his attention to the Android Hardening Project, which he recently renamed GrapheneOS to better reflect what the project has become. Official images are currently available for Google Pixel 2 and Pixel 3, but source code is available if you’re interested in installing it on another device with an unlocked bootloader.

Remembering Heartbleed

Colm MacCárthaigh, who was Principal Engineer for Amazon Web Services Elastic Load Balancer five years ago, posted an interesting recollection of his experience the day the Heartbleed bug went public. OpenSSL was in use widely across AWS, and the team there basically dropped everything to hot patch millions of deployments, then over the next hours and days took many other steps to mitigate the damage. It’s a fascinating story if you’re familiar with information security, or even just minimally familiar with the infrastructure that keeps the internet going.

Hammerhead: an operating system for bikes

The idea that a bicycle might need an OS might seem silly, but 30 years ago may gearheads wouldn’t have anticipated that cars would become rolling supercomputers. Hammerhead crowdfunded its first product, the H1, and subsequently built Karoo, a “cycling computer” that supports navigation and training. But Morgan told me his ambitions are bigger than that.After all, he sees a future where electric bikes need smart range projections, where bike-share fleets need to be managed, where social training programs like Strava can pull data from the bike itself and where any bicycle should come with theft and crash alerts. Calling it an OS is probably a stretch. It seems to be an Android OS with cycling-specific constellation of apps, originally designed specifically for their own hardware but eventually intended to be licensed to other vendors.

The Best Operating Systems for Anonymity

David Balaban says, “There are plenty of operating systems aimed at achieving online anonymity. But how many of them are really good?” He highlights five candidates: Tails OS, Whonix, Kodachi, Qubes, and Subgraph. He concludes that Kodachi is the best OS to preserve anonymity. Have any OSNews readers evaluated any of these OSes? Do you agree with his conclusion?

Purism’s PureOS is convergent

PureOS has laid the foundation for future applications to run on both the Librem 5 phone and Librem laptops, from the same PureOS release, in contrast, they say, to Google and Apple’s ecosystems which still have separate OSes for mobile and desktop. Now, Google and Apple seem to be intent on converging their mobile and desktop platforms, leading to fear and consternation from desktop OS power users, who assume that the move will dumb down desktop OSes. While this technical aspects of the PureOS team’s accomplishment are interesting and laudable, I’d suspect that the bigger challenge for any mainstream platform will actually be a user experience challenge, especially bridging familiar UI elements between mobile and desktop user environments.