Skip to content

Karantan's blog

  • Home
  • Contact
  • About me

Tag: Lessons learned

Jayden StewardDecember 3, 2020December 3, 2020

Tips on reading the systemd journal logs

When looking at logs, you should almost always add the –utc flag or check server’s local time (timedatectl status). It should always be UTC (timedatectl set-timezone UTC). Why? Because when…

Continue reading
Jayden StewardOctober 30, 2019October 30, 2019

[NixCon 2019] Reading Nix expressions (notes)

This are my notes from the Reading Nix expressions talk in NixCon 2019. Nix package language has a similar syntax to the "JSON meets functional language concepts". E.g. you have…

Continue reading
Jayden StewardDecember 13, 2016

Python3 strings

A bit of background on unicode and UTF-8: Unicode has a different way of thinking about characters. In Unicode, the letter “A“ is a platonic ideal. It’s just floating in…

Continue reading
Jayden StewardNovember 14, 2016

Python PDB

Last month I attended PyMunich conference and in this blog post I want to highlight a talk by Philip Bauer (“Debug like a pro. How to become a better programmer through…

Continue reading
Jayden StewardSeptember 28, 2016September 28, 2016

Releasing Python Packages

When you need to fix a bug, add feature or change existing functionality in a library that you are using there are several ways to do this. Here I will…

Continue reading
Jayden StewardAugust 2, 2016September 28, 2016

Lessons learned from EuroPython 2016

This was my first EuroPython conference and I had high expectations because I heard a lot of good things about it. I must say that overall it didn’t let me…

Continue reading
Jayden StewardJanuary 30, 2016January 30, 2016

Unit testing in Python with mock

Before we start writing tests let’s make sure that we understand why do we want to write unit tests and the concept of unit testing. Here are a few reasons (from my…

Continue reading
Jayden StewardJanuary 24, 2016

MongoDB not starting up

A few days ago I had a problem where mongodb crashed and I couldn’t start it up. I realized that this problem occurred because the disk was full. So I  rm…

Continue reading


Archives

Tag Cloud

AI conda Git Go Lessons learned logs Magento Mock Mongodb nix nixops nixos PostgreSQL Python Python3 Rsync systemd tmux Unit testing
Proudly powered by WordPress | Theme: Gently by MusterThemes.