a tumblelog
week 47, 2019

Salvation Lost: Excellent

After midnight I finished Salvation Lost, The Salvation Sequence Book 2 by Peter F. Hamilton. In my opinion this book is as good as the first one in the sequence: Salvation. Recommended.

Stop using Bootstrap

In this article, I’m going to walk you through the creation of a Bootstrap-style, responsive, 12 column grid template for component-based UIs — using just CSS Grid, simple semantic HTML and SASS. In the end, we’ll put our template to the test by recreating the front page with it!

Source: Stop using Bootstrap — create a practical CSS Grid template for your component based UI, an article by Alex Tsirozidis.

A quick primer on dig

Dig is a DNS lookup utility developed by BIND which helps a lot while troubleshooting DNS issues (which are more common than you probably think #hugops). I use dig fairly often and thought to write an introductory guide on how you can use dig with some practical examples that’ll help you dig through DNS issues faster (sorry for the lame pun, couldn’t resist.)

Source: A quick primer on dig, an article by Karan Sharma.

What makes a programming exercise good?

I’ve been thinking about programming exercises lately, because I want to move into teaching people skills. But what makes a good programming exercise?

Source: What makes a programming exercise good?, an article by Julia Evans.

Go’s features of last resort

A “Feature of Last Resort” (FOLR) is a useful feature which solves certain otherwise hard-to-solve problems, but are often best avoided.

Source: Go’s features of last resort, an article by Martin Tournoij.

The Haskell Development Environment

In this chapter, we’re going to learn about the main tools that you’ll be using for developing programs in Haskell. The three components we’ll be discussing are the Glasgow Haskell Compiler, otherwise known as GHC, Cabal, and Stack.

Source: The Haskell Development Environment, an article by Levi Notik.

More Kudos

In the morning I got an email from Monitor Backlinks that a new backlink had been found. I signed up for a free trial recently in order to keep track of backlinks to Plurrrr.

A new backlink as reported by Monitor Backlinks (excerpt)
A new backlink as reported by Monitor Backlinks (excerpt).

The new backlink was a link made by Jeff Juliard in his Link Dumpin blog:

This guy has written a static tumblelog generator. I’m so interested in this. Maybe its a function of being old enough to remember the pre-GAFA internet, but the idea of a home-brewed, bespoke, microblog disconnected from the larger social bullshit factory really appeals to me. I’m not a coder by any stretch, but I can work within a simple framework that is well documented. I would very much like to find the time to dig into this.

Wow, thanks Jeff!

Excerpt of Jeff Juliard's Link Dumpin article
Excerpt of Jeff Juliard's Link Dumpin article.

Go: Goroutine, OS Thread and CPU Management

Creating an OS Thread or switching from one to another can be costly for your programs in terms of memory and performance. Go aims to get advantages as much as possible from the cores. It has been designed with concurrency in mind from the beginning.

Source: Go: Goroutine, OS Thread and CPU Management, an article by Vincent Blanchon.

A Practical Guide to State Machines

In this article, we’ll examine some examples of real-world problems that can be expressed and solved using finite state machines. We’ll take the opportunity to explore some of the C#’s pattern matching capabilities an see how they come handy for implementing them. In the second part, we’ll see how to combine multiple state machines to form a cohesive workflow.

Source: A Practical Guide to State Machines · Denis Kyashif's Blog, an article by Denis Kyashif.

Pandas Groupby Tutorial

I was recently working on the Pandas Groupby and found there are lot of useful features which can be used to explore the data and this triggered me to write this post so that anyone with a SQL groupby knowledge can learn the Pandas group by within no time.

Source: Pandas Groupby Tutorial.

Pipenv and Poetry: Benchmarks & Ergonomics II

Let's take a look at how Pipenv and Poetry stack up after eight months of development, first at their current versions, then ergonomic enhancements, and finally benchmarks.

Source: Pipenv and Poetry: Benchmarks & Ergonomics II, an article by John Franey.

6 steps to writing better CSS

The goal of good CSS should be to write simple, modular and, most importantly, easily maintainable rules. Here we give you some simple and smart rules to help you create and maintain a healthy codebase.

Source: 6 steps to writing better CSS, an article by Kyle Tranel.

How to port an awk script to Python

Before porting an awk script to Python, it is often worthwhile to consider its original context. For example, because of awk's limitations, the awk code is commonly called from a Bash script and includes some calls to other command-line favorites like sed, sort, and the gang. It's best to convert all of it into one coherent Python program. Other times, the script makes overly broad assumptions; for example, the code might allow for any number of files, even though it's run with only one in practice.

After carefully considering the context and determining the thing to substitute with Python, it is time to write code.

Source: How to port an awk script to Python, an article by Moshe Zadka.

Let's Go: Object-Oriented Programming in Golang

In this tutorial you'll learn about all the intricacies of object-oriented design in Go, how the pillars of object-oriented programming like encapsulation, inheritance, and polymorphism are expressed in Go, and how Go compares to other languages.

Source: Let's Go: Object-Oriented Programming in Golang, a tutorial by Gigi Sayfan.

Why office noise bothers some people more than others

No one likes an office whistler or pen clicker – but for some people, these noises aren’t just a nuisance, they’re a full-blown aural assault. Why?

Source: Why office noise bothers some people more than others, an article by Zaria Gorvett.

Pandas GroupBy: Your Guide to Grouping Data in Python

Whether you’ve just started working with Pandas and want to master one of its core facilities, or you’re looking to fill in some gaps in your understanding about .groupby(), this tutorial will help you to break down and visualize a Pandas GroupBy operation from start to finish.

Source: Pandas GroupBy: Your Guide to Grouping Data in Python, an article by Brad Solomon.

How containers work: overlayfs

I wrote a comic about overlay filesystems for a potential future container zine this morning, and then I got excited about the topic and wanted to write a blog post with more details.

Source: How containers work: overlayfs, an article by Julia Evans.

The Value in Go's Simplicity

After using Go for a couple years, I’ve really come to appreciate its simplicity. I started writing Go at work a couple months ago, and have found it really easy to iterate on – much more so than Python and Java.

Source: The Value in Go's Simplicity, an article by Benjamin Congdon.

Autism And Intelligence: Much More Than You Wanted To Know

Several studies have shown a genetic link between autism and intelligence; genes that contribute to autism risk also contribute to high IQ. But studies show autistic people generally have lower intelligence than neurotypical controls, often much lower. What is going on?

Source: Autism And Intelligence: Much More Than You Wanted To Know, an article by Scott Alexander.

When to use pointers in Go

One of my pet peeves is finding places in Go code where pointers are being used, when it’d be better if they weren’t. I think one of the major misconceptions of where you want to use pointers comes from the idea that a pointer in Go is pretty much like a pointer in C.

Source: When to use pointers in Go, an article by Dylan Meeus.