• Reset Hasura migrations and squash files

    Reset Hasura migrations and squash files

    Using GraphQL for creating REST APIs is nowadays popular and there are different tools you can use. One of them is Hasura which is an open-source engine that gives you realtime GraphQL APIs on new or existing Postgres databases. Hasura is quite easy to work with but if your GraphQL schemas change a lot it creates…

  • Monthly notes 47

    Monthly notes 47

    Issue 47: 30.1.2020 War Stories #Y2038 problem. “It’s *already here*. Fix your stuff.”In many systems time is represented as number of seconds passed since 00:00:00 UTC on 1 Jan 1970 and stored as signed 32-bit integer. Such implementations can’t encode times after 03:14:07 UTC on 19 January 2038. (from @walokra) Ops Lessons We All Learn…

  • Tracking vulnerabilities and keeping Node.js packages up to date

    Tracking vulnerabilities and keeping Node.js packages up to date

    Software evolves quickly and new versions of libraries are released but how do you keep track of updated dependencies and vulnerable libraries? Managing dependencies has always been somewhat a pain point but an important part of software development as it’s better to be tracking vulnerabilities and running fresh packages than being pwned.… Jatka lukemista →

  • Notes from security in the age of Docker & Kubernetes

    Notes from security in the age of Docker & Kubernetes

    Security is always the more obscure part of software development and while container runtimes provide good isolation from the host operating system when using Docker and running containers in Kubernetes, you should not assume to be free from exploits. Remember to use the best practices when you were not using containers.… Jatka lukemista →

  • Notes of Best Practices for writing Cypress tests

    Notes of Best Practices for writing Cypress tests

    Cypress is a nice tool for end-to-end tests and it has good documentation also for Best Practices including “Cypress Best Practices” talk by Brian Mann at Assert(JS) 2018. Here are my notes from the talk combined with the Cypress documentation. This article assumes you know and have Cypress running.… Jatka lukemista →

  • Monthly notes 46

    December is full Christmas carrols and hassle before holidays. So, take a short break and learn to master Kubernetes, become better human and developer and make remote (working) a success. Also think about privacy. Good reading and happy holidays! Issue 46, 17.12.2019 Cloud Mastering the KUBECONFIG fileGood tips like Auto-$KUBECONFIG based on directory with direnv;…

  • Monthly notes 45

    Snow is covering the ground and hibernation period starts? Or more time inside reading and learning new things? Here’s monthly notes for Octorber. Issue 45, 30.10.2019 Software Development What qualities make up a 1x engineer?I can relate to this. My favourite Git commitGood example how git commit messages should be done especially if the change…

  • Automate validating code changes with Git hooks

    What could be more annoying than committing code changes to repository and noticing afterwards that formatting isn’t right or tests are failing? Your automated tests on Continuous Integration shows rain clouds and you need to get back to the code and fix minor issues with extra commits polluting the git history?… Jatka lukemista →

  • Monthly notes 44

    Monthly notes 44

    Summer holidays are over and it’s time to get back to work and monthly notes. I spent almost whole August enjoying nature, mountain biking, hiking and coaching young mountainbikers. Less computers, more relaxing. This month’s notes are about writing great Docker images, validate code using git hooks, log management, story about npm registry, working remotely…

  • Monthly notes 43

    Monthly notes 43

    Issue 43, 25.7.2019 Microservices How to write great container imagesArticle shows the principles of what writes consider “Dockerfile best practices”, and simultaneously walks through them with a real example. I would add that use small base image like Alpine Linux if possible. Micro FrontendsThe article describes breaking up frontend monoliths into many smaller, more manageable pieces,…