ups and downs
Month summary · Issue of July 2020

Month summary — July 2020

Fri 31 Jul 20203 min read18 links

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.

Quoted from the source

01Some thoughts

This month I made a few improvements in the release process of Apache Beam Python SDK and its CI/CD. I connected building source distribution and wheels on GitHub Action with existing release scripts to work in cooperation now. This allowed for the separate repository used for package preparation to be deprecated. I spent a lot of time working with GitHub Action, therefore I released my own action called github-forks-sync-action. It can be used to synchronise forked repositories with upstream. I also made a contribution to apache/airflow related to REST API by implementing DagSource endpoint.

02Articles

4 links
redislabs.com

Beyond the Cache with Python and Redis

A look at using Redis for caching, sub/pub events, data streaming, as a search engine, and even a primary database.

git-tower.com

Git Interview Questions

The essential list of frequently asked questions around Git and Version Control, including answers.

diogomonica.com

Why you shouldn’t use ENV variables for secret data

The twelve-factor app manifesto recommends that you pass application configs as ENV variables. However, if your application requires a password, SSH private key, TLS Certificate, or any other kind of sensitive data, you shouldn’t pass it alongside your configs.

blog.pythonlibrary.org

PyDev of the Week: Philip James

Philip James (@phildini) has spoken at various PyCons and DjangoCons and is the PyDev of the Week!

03Python

1 link
nedbatchelder.com

Pickle’s nine flaws

Python’s pickle module is a very convenient way to serialize and de-serialize objects. It needs no schema, and can handle arbitrary Python objects. But it has problems. This post briefly explains the problems.

04Django

4 links
borfast.com

Invalid HTTP_HOST header errors in Django and Nginx

An overview and fix for the common issue of Invalid HTTP_HOST header errors when running behind Nginx.

runninginproduction.com

Running in Production: A Site to View 3D Scans of Cars with Twinner

Jesse Hunt talks about building a site with Django that lets you view 3D scans of cars with Twinner. It’s hosted on 2 Heroku hobby Dynos and has been up and running in production since January 2020.

dev.to

Pure serverless Django with django-gcloud-connectors

Katie McLaughlin on configuring Django with the non-relational Google Datastore.

learndjango.com

Django Log In with Email not Username

Update the default username/email/password pattern on login/signup with just email/password using a custom user model and django-allauth.

05Python libraries

1 link
github.com

tuna

Performance analysis for Python.

06Tools

2 links
github.com

Awesome Actions

A curated list of awesome things related to GitHub Actions.

edwardthomson.com

GitHub Actions Advent Calendar

During the December 2019 Edward Thomson published an advent calendar of top tips for GitHub Actions.

07Other stuff

4 links
samizdat.dev

Help message for shell scripts

Yeah, there is always a way to show a message using cat (meow) or a bunch of echo calls. But there is a neat trick.

perell.com

50 ideas that changed my life

These are my guiding principles and the light of intellectual life of the author. All of them will help you think better, and I hope they inspire curiosity.

stefanjudis.com

git commit accepts several message flags (-m) to allow multiline commits

When you use git on the command line you might have used the message flag (-m). It allows developers to define commit messages inline when calling git commit.

heroku.com

gRPC → Episode 75 - Heroku Podcast codeish

We’ll explore the capabilities of gRPC, a modern way for clients and servers to reliably communicate.

08Videos

2 videos · play right here · tap to play