Links 19-03-09

Dev

  • Python: Understanding virtual environments – Have you ever had a program crash when you tried to run it on a different machine? Has installing Python packages lead to incompatibility issues? If you’re new to Python, or never used virtual environments, this tutorial will walk you through the steps to properly set these up for each new project, and hopefully save you a headache along the way.

  • How to distribute Python applications with PyInstaller – “Wouldn’t it be great if your users could run your application without installing anything? That is the dream, and PyInstaller is one way to get there in the Python ecosystem.” This tutorial by Luke Lee will get you up and running.

  • How to use GraphQL with Go – Ridham Tarpara walks you through using GraphQL with Go by employing gqlgen—“a Go library for building GraphQL servers without any fuss.” You’ll learn the basics—configuration, mutations, queries, and subscription—before covering advanced topics like authentication, dataloaders, and query complexity.

Ops

  • Infrastructure monitoring: Defense against surprise downtime – Get a, um, crash course on the hallmarks of a good monitoring system and find out how you can implement them in your organization.

  • Do Linux distributions still matter with containers? – “Some people say Linux distributions no longer matter with containers. Alternative approaches, like distroless and scratch containers, seem to be all the rage. It appears we are considering and making technology decisions based more on fashion sense and immediate emotional gratification than thinking through the secondary effects of our choices,” says Scott McCarty. “We should be asking questions like: How will these choices affect maintenance six months down the road? What are the engineering tradeoffs? How does this paradigm shift affect our build systems at scale?”

tail -f/dev/newsletter

  • 10 years of remote working. This is what I have learned so far. – great advice for anyone considering remote work.

  • Resources For New Devs Looking For Work! – resources for portfolio building, interviewing, and starting a new DEV job.

  • A surprisingly arcane little Unix shell pipeline example – “The following shell command has indeterminate output:

    (echo red; echo green 1>&2) | echo blue

    This can output any of ‘blue green’ (with a newline between them), ‘green blue,’ or ‘blue’; the usual case is ‘blue green.’ Fully explaining this requires surprisingly arcane Unix knowledge.” In this succinct blog post, Chris Siebenmann elucidates.

  • Bernoulli numbers algorithm – Diagram the algorithm for the computation of Bernoulli numbers created by Ada Lovelace in 1843. This algorithm was developed for Charles Babbage’s Analytical Engine and is considered to be the first “non-trivial” computer program.

Copyright © 2017-2019 Stanislav Gobunov