A brand new WordPress website — Image by author

I’ve recently switched from Grav CMS to WordPress on one of my sites, Python Land. I jotted down some lessons learned and some advanced tips while setting up this WordPress site that I’d like to share with anyone interested.

I’m not new to WordPress, and I’m certainly not new to running websites. I’ve been doing it for 25 years. My first sites used tables to structure the pages, CSS wasn’t invented yet, and SEO didn’t exist either. Yeah… I guess I’m that old (and wise, hopefully).

Anyways... without further ado, here we go!

1. Pick a good WordPress theme

Picking the right theme is hard; don’t…

Say goodbye to those hard-to-build software projects by containerizing them

Photo by Lucas van Oort on Unsplash

More often than not, software projects are difficult to build from source. This can have multiple reasons, here are just a few:

  • The project requires lots of dependencies.
  • The project requires outdated libraries. Once you install those, other projects might break in turn.
  • You’re running Windows or a Mac, but the software is designed to build and run on Linux.

For similar reasons, it can also be hard to run your software in production!

If you’re facing these problems, it’s good to know that there’s an easy fix. It doesn’t require virtualization but instead uses a principle called containerization.

What is a container?


Please put down your coffee, just to be sure

Photo by Frank Busch on Unsplash

Here’s a collection of the funniest programming quotes I heard on the work floor, mixed with some history and best practices as well. Let’s go!

1. Java is to Javascript like car is to carpet

I love this one because it summarizes the Java vs. JavaScript story perfectly. Most of you know that Java and Javascript are two entirely different things, despite their names, but many beginners get confused by it.

So why are they named this way?

From an interview with its creator Brendan Eich:

InfoWorld: As I understand it, JavaScript started out as Mocha, then became LiveScript and then became JavaScript when Netscape and Sun got together. …

Now is the time to plant that new seed

Photo by Micheile Henderson on Unsplash

Nobody knows when this pandemic will be over. It could be weeks, months, or years before life returns to what we called normal only a short while ago. But even though the physical world has come to a grinding halt, the digital world flourishes:

The digital world does not suffer from pandemics and other disasters as much as the physical…

If you have trouble learning a new subject, try this method for a change

Photo by Lacie Slezak on Unsplash

You really, REALLY should learn about this one thing that guarantees you a better position on the job market. But learning about things that are new to us can be incredibly difficult. We’ve all been there. We’ve all had the struggle.

If you want to learn, there’s a method I recommend heartily. It’s by no means a trick or a way to learn quicker. But it does allow you to get a much deeper, lasting understanding of a topic.

Write about it!

I write technical articles. I do this for multiple reasons, but one of them is to learn. By teaching others through…

Spoiler alert: you can, and I’ll show you how. But it’s not always advisable.

Image by Tumisu from Pixabay

You want a terrific search engine, and store your data in it too? Elasticsearch will happily do it, even though some insist that it’s not a document store, let alone a data store!

Don’t listen to them, because Elasticsearch is very capable and reliable and will store your data as well as making it searchable. This is advice from someone who’s been using Elasticsearch for close to ten years.

There are two types of data you might want to store in Elasticsearch:

  1. Your JSON documents, containing numbers, lists, text, geo coordinates, and all the other formats Elasticsearch supports.
  2. Binary data

This tutorial gets you started using Elasticsearch. You’ll learn how to create and delete an index, how to load data into it and perform basic queries.

Visualizing data in Kibana, image created by myself

This is not just a quick how-to guide. Although it can be used as such, I also did my best to explain some history and the internals of Elasticsearch in this tutorial. I believe it’s worth your time to invest in knowing why a product works and how it came to be. Such fundamental knowledge will help you make smarter choices that you won’t regret later on.

In this tutorial, I will use curl commands to talk to the Elasticsearch REST API. You can easily copy and paste them, but you can use any other tool you like. …

Become more productive with these need to know tips and tricks for your Mac.

Photo by dhe haivan on Unsplash

I’ve been using MacOS as a professional software engineer for about 12 years. After all those years of intensive Mac use, I have some tricks up my sleeve that I want to share! These are all free, as in beer, and are easy to use and set up.

1. Use ⌘+space to search with Spotlight

Lots of time on your Mac is lost on finding stuff. When starting apps, you first have to locate the icon either in the Dock or in the list of applications. Finding that email your boss has sent you last week can take a while too. Looking for that document you want…

It’s free and it’s easy.

source: brew.sh

MacOS has an app store, but does that contain all the software you need? No. Especially when you’re an advanced user, like a developer or a scientist, you’ll find that MacOS lacks a good package manager. You want something like yum, or apt-get. Something with which you can install anything with a single command. No downloading and extracting. No manual compiling. That’s where Homebrew comes in!

What is Homebrew?

Homebrew is the missing package manager for macOS. That’s their slogan… and it’s so true. Homebrew allows you to install the stuff that Apple doesn’t offer you. …

And it’s called the Progressive Web App. Let me explain what a PWA is, how it came to be, what it can do, and why they are the future of the web.

Source: Google PWA site

You won’t find one single definition of a PWA, so I will define it in my own words:

A Progressive Web App is a web application running inside a browser, build using common web technologies. It will progressively adapt to the browser features it’s given. A PWA often provides a native look and feel and can be installed without the need for an app store. It is a top-level activity in the OS’s application switcher.

The term Progressive Web App was coined by Frances Berriman and Alex Russell. Alex Russel first wrote about it on his blog and in a…

Programming with Erik

Understandable, practical and useful advice and tutorials for programmers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store