Tales From The Sysadmin: Impending Hard Drive Doom

It should have been another fine day, but not all was well in paradise. Few things bring a creeping feeling of doom like a computer that hardlocks and then refuses to boot. The clicking sound coming from the tower probably isn’t a good sign either. Those backups are up to date, right? Right?

There are some legends and old stories about hard drive repair. One of my favorites is the official solution to stiction for old drives: Smack it with a mallet. Another trick I’ve heard repeatedly is to freeze a hard drive before trying to read data off of it. This could actually be useful in a couple instances. The temperature change can help with stiction, and freezing the drive could potentially help an overheating drive last a bit longer. The downside is the potential for condensation inside the drive. Don’t turn to one of these questionable fixes unless you’ve exhausted the safer options.

For the purpose of this article, we’ll assume the problem is the hard drive, and not another component like a power supply or SATA cable causing problems. A truly dead drive is a topic for another time, but if the drive is alive enough to show up as a block device when plugged in, then there’s hope for recovering the data. One of the USB to SATA cables available on your favorite online store is a great way to recover data. Another option is booting off a Linux DVD or flash drive, and accessing the drive in place. If you’re lucky, you can just copy your files and call it a day. If the file transfer fails because of the dying drive, or you need a full disk image, it’s time to pull out some tools and get to work. Continue reading “Tales From The Sysadmin: Impending Hard Drive Doom”

Changing System Architectures And The Complexities Of Apple’s Butterfly Approach To ISAs

Apple computers will be moving away from Intel chips to its own ARM-based design. An interesting thing about Apple as a company is that it has never felt the need to tie itself to a particular system architecture or ISA. Whereas a company like Microsoft mostly tied its fortunes to Intel’s x86 architecture, and IBM, Sun, HP and other giants preferred vertical integration, Apple is currently moving towards its fifth system architecture for its computers since the company was formed.

What makes this latest change possibly unique, however, is that instead of Apple relying on an external supplier for CPUs and peripheral ICs, they are now targeting a vertical integration approach. Although the ARM ISA is licensed to Apple by Arm Holdings, the ‘Apple Silicon’ design that is used in Apple’s ARM processors is their own, produced by Apple’s own engineers and produced by foundries at the behest of Apple.

In this article I would like to take a look back at Apple’s architectural decisions over the decades and how they made Apple’s move towards vertical integration practically a certainty.

Continue reading “Changing System Architectures And The Complexities Of Apple’s Butterfly Approach To ISAs”

Not Just GPS: New Options For Global Positioning

A few weeks ago, China launched the final satellite in its BeiDou-3 satellite positioning system. Didn’t know that China had its own GPS? How about Europe’s Galileo, Russia’s GLONASS, or Japan’s QZSS? There’s a whole world of GPS-alikes out there. Let’s take a look.

Continue reading “Not Just GPS: New Options For Global Positioning”

The ISS Is Getting A New WC

Every home needs renovations after a few decades, and the International Space Station is no different. This fall, they’ll be getting a new Universal Waste Management System (UWMS), aka a new toilet.

Though the news coincides with increased traffic to the ISS, this move stems from a more serious issue with bacterial contamination during longer-term space travel. Today’s ISS toilets already recycle urine back into potable water and scrub the air reclaimed from solid waste as it gets compacted and stored. The new UWMS will act more like a food dehydrator, reducing the water content as much as possible to save on space, and petrifying the poo to inactivate the bacteria.

The current commode on the American side of the ISS was designed in the 1990s and is based on the Space Shuttle’s facilities. It has a funnel with a hose for urine and a bag-lined canister with a seat for solid waste, both of which are heavily vacuum-assisted.

Though the current toilet still does everything it’s supposed to do, there is room for improvement. For instance, women find it difficult to engage both parts of the system at the same time, and almost everyone prefers the toe bars on the Russian toilet to the more encumbering thigh bars on the American throne. Also, the current commode’s interface is more complicated than it needs to be, which takes up valuable crew time. Continue reading “The ISS Is Getting A New WC”

What’s The Deal With Snap Packages?

Who would have thought that software packaging software would cause such a hubbub? But such is the case with snap. Developed by Canonical as a faster and easier way to get the latest versions of software installed on Ubuntu systems, the software has ended up starting a fiery debate in the larger Linux community. For the more casual user, snap is just a way to get the software they want as quickly as possible. But for users concerned with the ideology of free and open source software, it’s seen a dangerous step towards the types of proprietary “walled gardens” that may have drove them to Linux in the first place.

Perhaps the most vocal opponent of snap, and certainly the one that’s got the most media attention, is Linux Mint. In a June 1st post on the distribution’s official blog, Mint founder Clement Lefebvre made it very clear that the Ubuntu spin-off does not approve of the new package format and wouldn’t include it on base installs. Further, he announced that Mint 20 would actively block users from installing the snap framework through the package manager. It can still be installed manually, but this move is seen as a way to prevent it from being added to the system without the user’s explicit consent.

The short version of Clement’s complaint is that the snap packager installs from a proprietary Canonical-specific source. If you want to distribute snaps, you have to set up an account with Canonical and host it there. While the underlying software is still open source, the snap packager breaks with long tradition of having the distribution of the software also being open and free. This undoubtedly makes the install simple for naive users, and easier to maintain for Canonical maintainers, but it also takes away freedom of choice and diversity of package sources.

Continue reading “What’s The Deal With Snap Packages?”

USB-C Is Taking Over… When, Exactly?

USB is one of the most beloved computer interfaces of all time. Developed in the mid-1990s, it undertook a slow but steady march to the top. Offering an interface with good speeds and a compact connector, it became the standard for hooking up interface devices, storage, and even became the de-facto way to talk old-school serial, too.

In late 2014, the USB Implementers Forum finalised the standard for the USB-C plug. Its first major application was on smartphones like the Nexus 5X, and it has come to dominate the smartphone market, at least if you leave aside the iPhone. However, it’s yet to truly send USB-A packing, especially on the desktop. What gives? Continue reading “USB-C Is Taking Over… When, Exactly?”

Hunting Neutrinos In The Antarctic

Neutrinos are some of the strangest particles we have encountered so far. About 100 billion of them are going through every square centimeter on Earth per second but their interaction rate is so low that they can easily zip through the entire planet. This is how they earned the popular name ‘ghost particle’. Neutrinos are part of many unsolved questions in physics. We still do not know their mass and they might even be there own anti-particles while their siblings could make up the dark matter in our Universe. In addition, they are valuable messengers from the most extreme astrophysical phenomena like supernovae, and supermassive black holes.

The neutrinos on earth have different origins: there are solar neutrinos produced in the fusion processes of our sun, atmospheric neutrinos produced by cosmic rays hitting our atmosphere, manmade reactor neutrinos created in the radioactive decays of nuclear reactors, geoneutrinos which stem from similar processes naturally occurring inside the earth, and astrophysical neutrinos produced outside of our solar system during supernovae and other extreme processes most of which are still unknown. Continue reading “Hunting Neutrinos In The Antarctic”