Month summary - August 2022

Posted by Tobiasz Kedzierski on 30.08.2022

August 2022

I am aggregating here some more or less interesting stuff of various IT related materials which I came across this month. Some of them are strictly related to the things I did or am currently doing.

Some thoughts

I set up the deployment of Saleor on Google Kubernetes Engine with Terraform. Additionally, I learnt and used Terragrunt (wrapper for terraform). Saleor is an open-source e-commerce platform. It consists of three services: Core, Dashboard and Storefront. The Core is written in Python (Django) and exposes GraphQL API which is consumed by Dashboard and Storefront (both written in React).

Articles

Protestware on the rise: Why developers are sabotaging their own code

A developer can, on a whim, change their mind and do whatever they want with their open source code that, most of the time anyway, comes “as is” without any warranty. Or, as seen by a growing trend this year, developers deliberately sabotaging their own software libraries as a means of protest — turning software into “protestware.”

How to support open-source software and stay sane

Releasing lab-built open-source software often involves a mountain of unforeseen work for the developers.

7 Github Actions Tricks I Wish I Knew Before I Started

Here are 7 tricks with github actions that changed my life (or at least my CI/CD pipeline). These tricks helped me create a more maintainable workflows code as well as boosted performance of the whole CI/CD process.

Introducing GitFlow

GitFlow is a branching model for Git, created by Vincent Driessen. It has attracted a lot of attention because it is very well suited to collaboration and scaling the development team.

Python

Everything you need to know about involuntary borgs in Python

Python, in general, is a pass-by-reference language. What does that mean, and what do you need to look out for?

Building an authenticated Python CLI

We are going to be building an interactive, authenticated Python CLI that uses the Twitter API to fetch the top Machine Learning tweets of the week!

7 things I've learned building a modern TUI framework

I've be working on Textual for over a year now. Here's a few things I've discovered (or re-discovered) regarding terminals in Python, and software development in general.

— Will McGugan (CEO / Founder) @willmcgugan

Uncommon Uses of Python in Commonly Used Libraries

To learn how to build more maintainable and usable Python libraries, I’ve been reading some of the most widely used Python packages. Along the way, I learned some things about Python that are off the beaten path. Here are a few things I didn’t know before.

Understanding async Python for the web

But this raises a lot of questions, like: just what is “async” Python? Why do people care about it so much? And is it really that useful for building web apps? What are all these new frameworks and other tools about?

Python F-Strings Number Formatting Cheat Sheet

Contains formulas, tables, and examples showing patterns and options focused on number formatting for Python's Formatted String Literals -- i.e., F-Strings.

Django

How to use elided pagination in Django and solve too many pages problem

Since Django 3.2 there is a way to handle big pagination with large number of pages.

Django Hosting & Deployment Options

Django websites can be deployed on any number of hosting providers. The first choice is deciding whether to use a Platform-as-a-service (PaaS) option or a virtual private server (VPS). A PaaS is an easier albeit more expensive option that can handle many deployment issues with minimal configuration. A VPS is less expensive and provides total control but requires more knowledge and effort to setup.

How to Test Django Models (with Examples)

Learn how to test Django models.

Django: How to let user download a file

Creating file download links with the help of a FileResponse.

Python libraries

lowbar

The simplest no-nonsense progress bar for python.

Django libraries

django-q

A multiprocessing distributed task queue for Django

Tools

MonitorControl

Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.

pls

'pls' is a prettier and powerful 'ls' for the pros.

musikcube

a cross-platform, terminal-based audio engine, library, player and server written in c++.

firefox-csshacks

Collection of random CSS hacks for Firefox

hidden

An ultra-light MacOS utility that helps hide menu bar icons.

Cloud

Kubernetes Components Simplified for Beginners

In this article we are going to understand the main Kubernetes Components that we as Kubernetes Administrators or users will be working with most of the time.

Exposing GKE applications leveraging the built-in ingress

Today I decided to play a bit with GKE and see how to expose a simple demo application through the default GKE ingress.

Analysing Git repository activities with BigQuery SQL

Reports generated from git platforms are great, but what if we need more flexibility towards creating git log reports? In this article we explore exporting logs from a git repository into BigQuery and apply some analysis queries with SQL.

Preparing for the Google Cloud Professional Cloud DevOps Engineer Exam

Site reliability Engineer is an interesting topic and taking time to learn about it would definitely be a valuable experience. The saying goes class SRE implements DevOps.

Podcasts

POIT #165: Jak hostować aplikacje w GCP

Dziś moim gościem jest Piotr Gocłowski – w branży technologii od 10 lat, początkowo związany z automatyką przemysłową, a konkretnie sieciami, IoT i komunikacją szeregową. Cloud Architekt w GCP, posiadacz kilku certyfikatów GCP, na co dzień doradza i pomaga klientom rozwiązywać problemy związane z chmurą GCP. Fan Raspberry PI, Nintendo a prywatnie szczęśliwy mąż i ojciec 2 żywiołowych córek.