Introduction I wrote this summary of Grokking Concurrency to take notes and help me remember the main ideas about parallel programming. The book covers things like multitasking and synchronization with examples and explanations that I want to understand better. It’s a way for me to keep track of what I’m learning so I can use […]
Author: Lukasz
Setting up MySQL replication with Docker
Introduction Setting up MySQL replication is a powerful way to enhance the reliability, scalability, and performance of your database system. In simple terms, MySQL replication is a process where data from one MySQL database server (known as the primary or master) is automatically copied to one or more additional servers (called replicas or slaves). This […]
Thoughts on software architecture and decision-making
Recently, I read the book Software Architecture and Decision-Making by Srinath Perera. It contains a lot of content that is available in other software architecture books but offers some unique angles on certain topics. I think the author is right to point out that you need to design deeply things that are hard to change, […]
Removing bloatware from Android phones
Most Android phones come with many preinstalled apps that you might not ever use, but they do take up valuable space and clutter the interface. If you try to uninstall them the way you would any other apps you will find that it’s not possible. So is there a way to get rid of them? […]
Overview of PHP code quality tools
General Below tools provide a comprehensive set of rules and analyse the code from different angles. PHPStan PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the […]
How does browser fingerprinting work?
What is browser fingerprinting? Nowadays, most people are familiar with cookies – information stored in browsers that helps websites keep track of our settings and track our actions online. Many users know how to delete cookies or navigate in private mode hoping that this will grant them privacy and prevent companies from following their actions […]
Difference between virtual machines and containers
Definition Virtualization and containerization might seek to achieve the same goals but they are different concepts. The virtual machine loads an OS on its own it can be any type of OS that you would like. The virtual machine has its own hard drive, network interfaces etc. that are then mapped to the physical hardware […]
Coding trivia 1
Random interesting stuff that I learned last week ER diagrams Entity Relationship diagrams are important concept in database design. They help to conceptualize the relationship between tables in a database. I was looking for a quick refresher on the ER diagrams. These two videos did the job: Part 1 and Part 2 Unix sockets You […]
Creating a custom keyboard layout in Linux
Sometimes you might want to modify the keyboard layout, for example to add non standard characters that you’re often using or if you’re writing in 2 different languages you might combine all their special characters in one keyboard layout. In my case I bought a keyboard that had the escape key mapped by default to […]
Setting up the fixture in PHPUnit
When running our tests we should begin with a know stage, called the fixture, and for that we might need to initialize variables etc. And after we finish the tests we might have some cleaning up to do. If you need to have custom code run before you execute them. PHPUnit allows you to configure […]