Kev Quirk kevq.uk

Is dark mode such a good idea?

Kev Quirk shares his thoughts on dark mode and links to various research on the science behind it.

I’ve decided to stop using dark mode across all of my devices, because research suggests that going to the dark side ain’t all that. … But after doing some research on dark vs light, I’ve made the decision to stop using dark mode everywhere. Here’s why…

Is dark mode such a good idea?

Rust github.com

A guide to writing a DNS Server from scratch in Rust

With the combined goal of gaining a deep understanding of DNS, of doing something interesting with Rust, and of scratching some of my own itches, I originally set out to implement my own DNS server. This document is not a truthful chronicle of that journey, but rather an idealized version of it, without all the detours I ended up taking. We’ll gradually implement a full DNS server, starting from first principles.

5 Chapters short.

Y Combinator Icon Y Combinator

How does your company manage its encryption keys?

This was a great question asked this week on Hacker News – 232 comments and counting…

We just had an interesting data loss at work, that was due to data being encrypted at rest. We somehow managed to delete the encryption keys (still figuring out how), which became an obvious problem once our main database instance was rebooted.

Luckily we were able to restore the data, but now I (we) really want to learn what a proper setup would look like.

Productivity github.com

Super Productivity – To-do list & time tracker for programmers

Organize your daily tasks at one place while making time tracking a lot less annoying. Super Productivity is a ToDo List / Time Tracker / Personal Jira Task Manager for Linux, MacOS and Windows aimed at reducing the time you spend with repetitive tasks and to provide you with a place to collect all the information you need to do your job.

This is a bit too much engineering for me, but perhaps you’ll like it.

Super Productivity – To-do list & time tracker for programmers

Command line interface prithu.xyz

The beauty of Unix pipelines

I would like to show some examples of this philosophy in action – of how one can use different unix tools together to accomplish something powerful.

This post takes you step-by-step through printing a leaderboard of authors based on number of commits to a git repo, browsing memes on reddit, setting your desktop wallpaper, and getting a random movie from an IMDB list.

Will Schreiber secondbreakfast.co

Google blew a ten-year lead

Will Schreiber:

I watched then-PM Sundar Pichai announce Chrome OS. My heart raced. It was perfect.

I got my email through Gmail, I wrote documents on Docs, I listened to Pandora, I viewed photos on TheFacebook. Why did I need all of Windows Vista?

In 2010, I predicted that by 2020 Chrome OS would be the most popular desktop OS in the world. It was fast, lightweight, and $0.

Will isn’t the only one that thought Chrome OS would change the game. 10 years later his usage patterns tell a much different story.

Nikita Prokopov tonsky.me

Time to upgrade your monitor

According to my research among programmers, 43% are still using monitors with pixel per inch density less than 150…

Why is this a problem? Because the only way to get good letters is by spending more pixels per letter. That simple. In the past, the displays’ pixel count was small, so we learned to live with that and even invented some very clever tricks to make our lives better.

Nikita goes on to share more details of how text looks on a low-resolution display vs a retina display. I’d love to see a follow up poll of the 43% using 150 PPI or less monitors on “why” they haven’t made the move to retina yet.

Kubernetes github.com

Kubernetes multi-cluster deployment automation service

Application deployment and management should be automated, auditable, and easy to understand and that’s what beetle tries to achieve in a simple manner. Beetle automates the deployment and rollback of your applications in a multi-cluster, multi-namespaces kubernetes environments. Easy to integrate with through API endpoints & webhooks to fit a variety of workflows.

Kubernetes multi-cluster deployment automation service

Victor Zhou victorzhou.com

An interactive CSRF demo

A unique take on explaining Cross-Site Request Forgery (CSRF).

You’re a responsible, hardworking person. You’ve saved up your money over the years at Definitely Secure Bank®. You love Definitely Secure Bank - they’ve always been good to you, plus they make it easy to transfer money via their website. Sweet, right?

You can probably guess where this is headed…

Kabir Nazir altcampus.io

How to write good Git commit messages

From Kabir Nazir on the AltCampus blog:

One of the things a lot of newbie developers overlook often is the format of their commit messages. Properly formatted commit messages can do so much more than just looking neat…

Use the imperative mood(present tense) when framing messages … Think of each commit in your code as a change that is being applied to your codebase.

PHP github.com

A completely open source ngrok alternative

Expose is a beautiful, open source, tunnel application that allows you to share your local websites with others via the internet.

Since you can host the server yourself, you have full control over the domains that your shared sites will be available at. You can extend expose with additional features and middleware classes on the server and client side, to make it suit your specific needs.

Alan Shreve closed ngrok’s source code years ago, and every now-and-again an open source alternative pops on the scene. Add Expose to the list. It’s written in PHP and has a nice shine on it. But which of these SSH tunneling tools is best in class?

A completely open source ngrok alternative

Brian Malehorn bmalehorn.com

ARM Mac: Why I'm worried about virtualization

Docker is expected about 5x slower…

Docker on a Mac utilizes a hypervisor. Hypervisors rely on running the same architecture on the host as the guest, and are about about 1x - 2x as slow as running natively. Since you’re running ARM Mac, these hypervisors can only run ARM Linux. They can’t run x86_64 Linux.

And, “VirtualBox won’t work.”

VirtualBox is a hypervisor. Therefore, it won’t be able to run x86 Windows or x86 Linux.

And, “Boot Camp won’t work.”

Boot Camp is an Apple-approved way to dual-boot Mac OS and Windows. Boot Camp will definitely not be available on ARM Macs. It might be added later with the ability to run ARM Windows, though Microsoft would have to approve.

0:00 / 0:00