Lazerbahn

<< Back to Startpage

Blog

Welcome to my blog

Here, I share my thoughts, tips, and experiences on coding and software development. As a software developer, I am always learning and growing, and I use this blog as a way to document and reflect on the things that have helped me in my work. Whether you’re just starting out in the field or you’re a seasoned pro, I hope you find something useful here.

I decided to write here in English as it is the language of software engineers.

Thanks for stopping by!

No. Date Title
15 08.05.2025 Debugging Hyvä “Uncaught TypeError: hyva.alpineInitialized is not a function” DEV-TIPWhen I debugged a strange Hyvä error telling me that the basic JavaScript functions weren’t initialized (even though the code was clearly there) I went down a rabbit hole and found a surprising cause.
14 26.01.2025 How to solve Microsoft’s SSO error: Invalid STS Request (AADSTS90023) DEV-TIPWhile implementing Microsoft Entra SSO for a customer, I stumbled over this error. A real head-banger. Here’s how I solved it. Microsoft Entra troubleshooting. AADSTS90023 fix.
13 29.10.2024 upd. 11.11.2025 How to determine if a user is logged in without facing a PHPMD.CookieAndSessionMisuse in Magento2 DEV-TIPTo determine if a user is logged in I usually use the customer-session object. Yet, this leads to an error in PHP Mess Detector: CookieAndSessionMisuse. Here’s how to avoid that.
12 17.10.2024 How to stop LibreOffice windows from shrinking to a very small line on Linux PRODUCTIVITYWhen I drag LibreOffice windows from full-size view to another monitor, they frequently collapse to a small line and become almost invisible. I wrote a small script that makes sure they always remain clickable. Here it is:
11 15.10.2024 CLI-Script for creating Sitemap XML DEV-TIPHow to create Magento sitemap programmatically: The Magento2 sitemap can only be created through cron-jobs. I wrote a little script that makes it possible to start sitemap creation at will, which is very useful for debugging.
10 11.7.2024 Recovering mysql from ‘Database Page Corruption’ DEV-TIPMysql server crashed and would not restart. How can I fix the page corruption on startup?
09 28.6.2023 Exporting and Importing Magento 2 DBs DEV-TIPExporting and Importing Magento databases has its pitfalls. Here’s how you do it without falling into a trap. #dump #mysqldump
08 28.3.2023 Making varnish, Apache and Let’s Encrypt play nicely DEV-TIPAfter installing varnish you may experience problems with Let’s Encrypt renewal failures. Here’s what you need to do.
07 2.3.2023 Debugging and Customizing Order Success Page in Magento2 DEV-TIPAccessing the order success page requires a successful order. Here is a shortcut to skip the order process.
06 24.8.2022 Optimize a large amount of images on the command line. DEV-TIPAn oneliner can be used to easily optimize large image data on the command line with imagemagick.
05 6.7.2022 upd. 26.1.2026 Verifying data from an ElasticSearch instance working with Magento2 DEV-TIPWith a few simple curl calls in a bash, data can be extracted from an ElasticSearch instance.
04 24.1.2022 Deleting all tables in a mySQL database DEV-TIPA little while back I needed to reset a database and I did not want to mess with the uses and access rights. So, I made a script that gets rid of all content in the database.
03 9.1.2022 Strategies for the getting the most out of developer job interviews MANAGEMENT-TIPI did more job interviews than I am able to recall. Here is a list of things I that helped me find the right candidates.
02 12.12.2021 Debugging racing conditions in Magento2 in JavaScript DEV-TIPRacing conditions are hard to debug because they often cannot be recreated consistently. Here is how I tackled one of those cases.
01 4.11.2021 Magento development environment: Reload images from CMS and products from remote server. DEV-TIPIn the local development environment, all images from the live environment are usually missing. With a small hack you can solve this problem.