• 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,…

  • Ignoring files and folders in Subversion with propset

    Before committing code to the Subversion repository we always set the svn:ignore property on the directory to prevent some files and directories to be checked in. You would usually want to exclude the IDE project files and the target/ directory. It’s useful to put all the ignored files and directories into a file: .svnignore… Jatka…

  • Monthly notes 42

    Monthly notes 42

    Midsummer is couple of days away and it’s time to take a short break from work and enjoy the Summer nights and nature. And if you have time here is a short list of articles to read and videos from React Finland 2019 conference to watch. Issue 42, 20.6.2019 Software Development Consulting or con-$ultingA theory…

  • Monthly Notes 41

    Issue 41, 31.5.2019 Software development GitmojiIf not considering the issue on Bamboo with this (thread), Using Emojis in Git commit messages is a nice idea. There’s even cool emoji guide for your commit messages. Going to take this into use 😊 (from walokra) Happy Friday, Don’t push to production?… Jatka lukemista →

  • Best Practices for Version Control in 8 steps

    Best Practices for Version Control in 8 steps

    Using version control is an essential part of modern software development and using it efficiently should be part of every developer’s tool kit. Knowing the basic rules makes it even more useful. Here are some best practices that help you on your way. tl; dr; Commit logical changesets (atomic commits)Commit Early, Commit OftenWrite Reasonable Commit…

  • Restore single table from full MySQL database dump

    Restore single table from full MySQL database dump

    Playing with data in databases is sometimes tricky but when you get down to it it’s just couple of lines on the command line. Sometime ago we switched from Piwik PRO to Matomo and of course we wanted to migrate logs. We couldn’t just use the full MySQL / MariaDB database dump and go with…

  • Monthly notes 40

    Refactoring, computer science concepts on day job, doing better code reviews, battling CSS and watching cat videos. That’s Monthly notes for April. Not much so enjoy slowly :) Issue 40, 4.2019 Learning Refactoring.GuruRefactoring.Guru makes it easy for you to discover everything you need to know about refactoring, design patterns, SOLID principles and other smart programming…

  • Code quality metrics for Kotlin project on SonarQube

    Code quality metrics for Kotlin project on SonarQube

    Code quality in software development projects is important and a good metric to follow. Code coverage, technical debt, vulnerabilities in dependencies and conforming to code style rules are couple of things you should follow. There are some de facto tools you can use to visualize things and one of them is SonarQube.… Jatka lukemista →