RSSAmplifier

Blog

Arkadiusz Chmura

Recent content on Arkadiusz Chmura

arkadiuszchmura.comRSS feed ↗25 posts

Latest posts

Things I learned while building a yt-dlp wrapper

An opportunity to learn new things is a great reason to pursue side project.

Optimizing your workflow does matter in the long run

Having your environment tailored to you and the way you work can save you from context switching, losing focus, reaching for your mouse, or simply wasting time.

Accessing cheatsheets from the command line

The cheat.sh utility allows you to access a lot of comprehensive, community-driven cheatsheets for many popular tools.

Making the most of GitHub Code Search

The new search engine offers powerful code searching mechanisms we can leverage for quickly finding the code we need, as well as for exploration and learning.

Switching between apps using shortcuts on macOS

This is one of the most common activities when working on a computer. To make it as seamless as possible, I assigned a custom shortcut for every app I commonly use.

Stop perfecting your config

It’s never going to be perfect anyway. Learn to accept the “good enough” and move on to more meaningful things.

How to dynamically change UIStackView axis

Let’s see how we can change the axis from horizontal to vertical once the elements no longer fit the screen properly.

How to setup comments on your static blog

With a tool called utterances, it’s very easy to add comments to your website with minimal code and no need for a database.

How to make expandable text with a button in Jetpack Compose

In this post I will show you how to make an expandable text controlled by a button using Jetpack Compose.

How to create factories for models with polymorphic relationships in Laravel

Factories for these models are a bit trickier to implement than the standard ones.

Inline functions in Kotlin

A comprehensive guide to inline functions, covering their purpose, practical examples, and tips for when to use or avoid them.

How to fix the invalid JDK problem on Electric Eel

When updating Android Studio to Electric Eel, the location of the embedded JDK is changing.

Be careful when converting Flow to LiveData

LiveData created this way will only emit data when it has active observers.

Managing dotfiles with GitHub

This post will describe how I store and manage my dotfiles in a repository on GitHub.

How to draw content behind system bars in Jetpack Compose

It’s a typical use case, but it’s hard to find a concrete example in the documentation.

How to test intermediate steps in suspending functions

Testing the final result of a suspending function is easy, but what about verifying what happens inside it during the execution?

What is the difference between size and viewport size in vector drawables?

It always puzzled me so I decided to find out how are these things different.

How to change system bar colors using Jetpack Compose

System bar colors can be changed directly with Compose, without a need to modify any XML files.

How Twitter handled personalized timelines for their users

The approach described here might be useful to you if your application has some sort of a personalized feed for each user.

How to display responsive images from Laravel-medialibrary in Vue.js

It’s easy to do in a Blade file, but what about a Vue component?

How ViewModels survive configuration changes

Let’s explore their implementation details to see how they achieve this.

My key takeaways from The Pragmatic Programmer

In this blog post, I list things that resonate with me most after reading this book.

Do not change the package name or class name of your AppWidgetProvider

If you do this, widgets that were placed on the home screen by your users will simply disappear.

How to reliably update widgets on Android

The default solution with android:updatePeriodMillis doesn’t always work.

Beware of the order of operands in some Kotlin Collection operations

The order of operands can drastically affect the performance of your code.