cron.weekly issue #126: Firefox, Ansible, iSH, jitsi, IMAP & more


cron.weekly is a newsletter about Linux, open source & webdevelopment. Want to get it in your inbox every Sunday? Subscribe below!

I respect your privacy and you won't get spam. Ever. Just a weekly-ish newsletter about Linux and open source.

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Image of Mattias Geniar

Mattias Geniar, March 22, 2020

Follow me on Twitter as @mattiasgeniar

Hi everyone! 👋

Welcome to cron.weekly issue #126.

There wasn’t a lot of news to spot this week, things have been a bit quiet. Odd isn’t it? It’s almost like a worldwide pandemic has taken over or something. I must be imagining things.

You’ll find a couple of open-source video conferencing/chat projects in this issue, if you find yourself working from home a lot these days, maybe they can be of use to you.

This weeks’ issue is sponsored by Datadog and ShiftLeft - thanks for the support!

As always, have fun reading & don’t forget to take a break from the news from time to time. ☕️

News & general 🗞

Firefox enables TLS 1.0 and 1.1 again

“We reverted the change for an undetermined amount of time to better enable access to critical government sites sharing COVID19 information."

Ugh.

Recent changes in Internet traffic

tl;dr: everyone stays home, they browse the internet more.

And on a more serious note: it’s interesting to see the graphs & the timings of bandwidth surges, I expect this to rise even more in the upcoming months.

curl write-out JSON

Pretty cool, curl now has a flag to output all its data as structured JSON!

Ansible for DevOps and Ansible for Kubernetes are now free

Jeff Geerling made his 2 books free for this month!

The ongoing Coronavirus/COVID-19 pandemic and bear market made me realize how beneficial it has been to be adaptable in the tech industry. There are no guarantees in life, and the ability to earn a livelihood is probably the most underrated important aspect of overall health.

If you were ever interested in learning Ansible, these seem like a good starting point.

HashiCorp Raises $175 Million

It’s more the exception, not the norm, but some open-source projects are bringing in big money from VCs.

npm is joining GitHub

And since Microsoft owns GitHub, a big part of the JavaScript ecosystem is now in the hands of Microsoft.

Tools & Projects 🛠

ShiftLeft Inspect: Code Analysis for Dev & Ops (Fast, Accurate & Free) sponsored

ShiftLeft Inspect is static code analysis (SAST), purpose-built to insert into developer workflows without slowing them down. Inspect is 40X faster and 3X more accurate than traditional code analysis vendors. Sign-up for a free account and see for yourself.

iSH

iSH is a project to get a Linux shell environment running locally on your iOS device, using a usermode x86 emulator. It runs Alpine & you have access to the Alpine package manager. You can install programs with apk add name.

zectl

zectl: a ZFS Boot Environment Manager for Linux. ZFS lets you create multiple filesystems which are known as datasets. Boot Environments take advantage of how low cost clones can be taken of a root dataset.

These boot environments can be integrated into the bootloader so that they can be selected at the boot menu, as if they are separate installs of an operating system.

Collect, visualize, and alert on Kubernetes metrics in minutes sponsored

Optimize high-scale Kubernetes environments and visualize key metrics from all your containers with Datadog. Easily manage Kubernetes pod status via the live container view and use high-granularity historical data to improve operational costs. Start your free trial today.

jitsi

A multi-platform open-source video conferencing system. We’ve been using this a lot during the Corona lockdown here in Belgium, promoting the use of simple video chat for non-techies via praatbox (Dutch).

bigbluebutton

BigBlueButton is an open source web conferencing system. It supports real-time sharing of audio, video, slides (with whiteboard controls), chat, and the screen.

OpenVidu

OpenVidu is an open-source project under Apache 2.0 license built on top of WebRTC.

hostctl

Manage your /etc/hosts like a pro. This tool gives you more control over the use of your hosts file. You can have multiple profiles and enable/disable as you need. Reminds me of hostess.

IMAP API

A self-hosted application to access IMAP accounts over a REST API. If you’ve ever dealt with IMAP directly, any alternate approach is a welcome one!

Guides & Tutorials 🎓

Understanding the bin, sbin, usr/bin , usr/sbin split

This got mentioned in the newsletter a few years ago and seems to make the round every now and then. Still a good bit of trivia on where the split of that filesystem came from.

When the operating system grew too big to fit on the first RK05 disk pack (their root filesystem) they let it leak into the second one, which is where all the user home directories lived (which is why the mount was called /usr). They replicated all the OS directories under there (/bin, /sbin, /lib, /tmp…) and wrote files to those new directories because their original disk was out of space.

When they got a third disk, they mounted it on /home and relocated all the user directories to there so the OS could consume all the space on both disks and grow to THREE WHOLE MEGABYTES (ooooh!).

An illustrated guide to using jq

This guide has some excellent examples of using jq to manipulate JSON from the command line. You can see the input & output in each step of a chain to clearly show how jq is used to filter the data.

The problem with thread^W event loops

I liked this post because it gave a good introduction on the difference between thread & event loops. Notably, Apache used thread loops when it first launched (1 new connection = 1 new process) whereas Nginx used event loops. The pro’s and con’s of each are described and a hybrid approach is probably the way to go.

What is fsck up to now?

This post contained more internal info on fsck than I hope to ever need! It’s cool reading about how fsk reads data from a source though and how complicated it is to get any feedback from a running fsck process.

Text processing in the shell

Lots of information on using CLI tools like head, tail, grep, awk, sed, …

Make Videochat available - installation of jitsi on Debian

A step-by-step guide on setting up your own Jitsi instance to get video-conferencing/calling up and running.

The Ultimate PCAP

You can load this PCAP file in Wireshark and get more than 50 network protocols available to look at, deep-dive or debug.

The most surprising Unix programs

Doug McIlroy, known for creating Unix Pipes, reminisces on some remarkable unix tools. He mentions dc, typo, eqn and a few others that I’ll have to Google to learn what they even do!



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.