Linux drone arrives on Mars, a website that runs on solar power and how to avoid npm substitution attacks | Front End News #018
Tags: frontendnews, news
Published: 2021-02-23 05:37:09

> **NOTE:** This is issue #018 of my newsletter, which went live on Monday, February 22nd. If you find this information useful and interesting and you want to receive future issues as they are published, ahead of everyone else, I invite you to join the subscriber list at [frontendnexus.com](https://frontendnexus.com/).

***

The biggest tech event last week was, without a doubt, the successful landing of the Perseverance rover on Mars. It is also the first time NASA used Linux in a piece of equipment delivered to another planet. We can now safely say there are more computers on Mars running Linux than there are running Windows.

***

## NASA's Linux-powered helicopter reports in from Mars

On February 18th, the Perseverance rover landed safely on Mars. Tucked on its belly was Ingenuity, a Linux-powered helicopter. The first status report received from the craft indicates everything is within expected parameters.

Should all go to plan, Ingenuity will be the first aircraft to fly on another planet. What's more interesting is that most of the components are off-the-shelf ones. Batteries are similar to the ones in smartphones or laptops, and it runs on a Snapdragon 801 CPU (the same one as in the Samsung Galaxy S5 or the LG G3 smartphones). And everything runs on Linux.

- [How NASA Designed a Helicopter That Could Fly Autonomously on Mars](https://spectrum.ieee.org/automaton/aerospace/robotic-exploration/nasa-designed-perseverance-helicopter-rover-fly-autonomously-mars)
- [Linux Is Now on Mars, Thanks to NASA's Perseverance Rover](https://www.pcmag.com/news/linux-is-now-on-mars-thanks-to-nasas-perseverance-rover)

This story comes after the successful use of Chromium and JavaScript in the UI for the Dragon 2 capsule that delivered two astronauts on the ISS last year. There is even a simulator for docking with the ISS (linked below) that everyone can try. It all proves that open-source technologies can find use in industries at the very edge of human progress.

- [Dragon 2 UI powered by Chromium and JavaScript](https://twitter.com/jason_mayes/status/1267227834096861184)
- [ISS Docking Simulator](https://iss-sim.spacex.com/)

And we can all say that, after JavaScript became "rocket science", Linux is now literally "out of this world".

***

## Low Tech Magazine - the website running on solar power

I'm keeping the trend of extreme efficiency with the next topic - a website hosted and delivered using solar power only. And yes, that means it goes down if the weather is bad for a long time. I especially love how the background color of the page shows the charge level of the battery that runs everything during the night.

- [About Low Tech Magazine](https://solar.lowtechmagazine.com/about.html)

***

## Avoiding npm substitution attacks

Nowadays it's very common to develop projects that have hundreds of dependencies. And each link of this "supply chain" is a potential target for malware to infect your code. That's where this article on code security from GitHub can help. There is a lot of actionable advice there (even for a complete noob like me), and it includes links to even more resources.

- [Avoiding npm substitution attacks](https://github.blog/2021-02-12-avoiding-npm-substitution-attacks/)

***

## Browser news

### Microsoft Edge

Everything is competing for our attention nowadays. That's why the Microsoft Edge team is exploring new ways to handle notifications. Their declared end goal is to have websites that engage with users without annoying them, and for users to not miss anything important to them.

- [Introducing adaptive notification requests in Microsoft Edge](https://blogs.windows.com/msedgedev/2021/02/16/introducing-adaptive-notification-requests-in-microsoft-edge/)

***

## Software updates and Releases

- **[ESLint v7.20.0](https://eslint.org/blog/2021/02/eslint-v7.20.0-released)** - find and fix problems in your JavaScript code
- **[GitHub Enterprise Server 3.0](https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.0)**
- **[Gutenberg v10.0.0](https://github.com/WordPress/gutenberg/releases/tag/v10.0.0)** - the Block Editor project for WordPress
- **[Node v15.9.0](https://nodejs.org/en/blog/release/v15.9.0/)** - JavaScript runtime
- **[nuxt.js v2.15.0](https://github.com/nuxt/nuxt.js/releases/tag/v2.15.0)** - the intuitive Vue framework
- **[riot v5.3.0](https://github.com/riot/riot/releases/tag/v5.3.0)** - simple and elegant component-based UI library
- **[Vite 2.0](https://dev.to/yyx990803/announcing-vite-2-0-2f0a)** - next generation frontend tooling


***

## Wrapping things up

That's all I have prepared for this issue. Have a great and productive week, keep yourselves safe, and I will see you next time!