Recent blog posts
Synchronizing timers in React
Sometimes we need to have two synchronized clocks in our app. In this blog post I show implementation and usage of useSynchronizedInterval hook.
Please use TypeScript enums
TypeScript enums are not harmful or terrible. String value enums are completely fine. I am questioning if POJOs are the silver bullet (they are not) and I am debunking your favourite TikTok (YouTube) influencers!
Implementing hold to confirm button in React
This blog post delves into the creation of a "hold to confirm" button using vanilla React, addressing its potential advantages and drawbacks. It highlights concerns related to user familiarity, accessibility challenges, and suggests considering alternative UX patterns.
My 14 Days Long Story About Upgrading React
My review of React upgrade journey in my project. Explored problems with React.FC, userEvent, Redux types and massive number of almost one thousand failing tests to fix.
Code reviews taking too long? Here are 7 ideas for preventing PRs from getting stuck
In this blog post, I'll explore 7 ways to prevent code reviews from getting stuck and speed up the process, including limiting work in progress, making pull requests easy to review, and effective communication with reviewers.
Running old Ruby on Rails application with Docker
Post explaining how I've managed to run old (5+ years old) web application with Docker without much hassle.
Automatically Restarting Heroku App With Cronjob
In this blog post, I describe the solution for automatically restarting the Heroku application. Restarting is done with the use of Heroku API and the dedicated NodeJS script. However, this problem can be also solved without writing any line of code.
Football Data Visualizations - Passing Networks
During Euro 2020 I've seen a lot of good-looking visualizations on Twitter (see those created by Maram AlBaharna and Matteo Pilotto. There's also plenty of other data scientist, some professional and some amateur, who create soccer data visualizations.
Disabling captions in LaTeX subfigures and dividing figures between multiple pages
While writing my thesis paper I have encountered problem with subfigure captions. I wanted to get rid off subfigure numbers, i.e. "(a)" or "(b)". I didn't want to disable subcaptions in entire document but do this locally.