Digests » 276

sponsor

Build Fast and Secure Systems with Practical Training From the Best in Tech

How would you like to learn about the hottest topics, straight from the experts? At the O'Reilly Velocity Conference (Sep 30-Oct 3 in New York), you'll learn about SRE from Google, Kubernetes from Microsoft, the advantages or disadvantages of running containers at production from Github, and much more. The Velocity program helps you get the training you need to stay ahead of the trends that impact your professional development, including systems performance, scalability, cloud-based infrastructure, security, and leadership. As a Programming Digest reader, Velocity is giving you 20% off Gold, Silver, and Bronze passes! Grab your pass before Early Price ends on August 17 to save up to $599. Just use code PDIG20 at checkout.

programming

Where Vim Came From

Vim is everywhere. It is used by so many people that something like HEX file support shouldn’t be a surprise. Vim comes pre-installed on Mac OS and has a large constituency in the Linux world. It is familiar even to people that hate it, because enough popular command line tools will throw users into Vim by default that the uninitiated getting trapped in Vim has become a meme.

Literary Clock Made From E-reader

The way I made this, the Kindle can still be used as a normal e-reader. If the clock is turned on though, as an added bonus, it doubles as a literary quiz. The clock shows the quotation without the title and author of the book, so you can guess. If you want to know the answers, pressing the buttons on the side (normally used to advance pages of e-books) will reveal them.

The Holloway Guide to Equity Compensation

Stock options, RSUs, job offers, and taxes—a detailed reference, including hundreds of resources, explained from the ground up and made to be improved over time.

Page Lifecycle API

Modern browsers today will sometimes suspend pages or discard them entirely when system resources are constrained. In the future, browsers want to do this proactively, so they consume less power and memory. The Page Lifecycle API, shipping in Chrome 68, provides lifecycle hooks so your pages can safely handle these browser interventions without affecting the user experience. Take a look at the API to see whether you should be implementing these features in your application.

How I slashed a SQL query runtime from 380 hours to 12 with two Unix commands

I was trying to run a simple join query on MariaDB (MySQL) and its performance was horrendous. Here's how I cut down the query's run time from over 380 hours to under 12 hours by executing part of it with two simple Unix commands.