Hey, I'm Petr

I am an software engineer with a focus on full-stack TypeScript web app development. I am founding software engineer at StockStory (acquired by Versant/CNBC) and I teach students how to create web apps at Czech Technical University.
In my free time, I like to contribute to open-source on GitHub, write about interesting stuff on this blog or on X, do rock climbing, or read about economics, architecture and investing.
Links
Articles
- 2026
- Simple website monitoring with just a CI job
- Our ex-analyst described what it was like to build StockStory
- We at StockStory were acquired by Versant
- People often criticise Tim Cook, but he delivered
- Prague
- A pnpm setting to prevent supply-chain attacks
- Box slop architecture
- Gold outperforming the S&P 500 in 20 of the last 25 years
- Architecture decision cascading through multiple rooms
- How to make eggs on a stainless steel pan
- Dumb lightbulb with brightness settings
- Alternative web authentication methods
- pnpm monorepo CI that runs only for packages with code changes
- 2025
- Customer feedback on my wife's Instagram
- My wife beating the S&P 500 with a 50/50 gold/S&P 500 mix
- Professional deformation: creating Excel models for apartment hunting
- Home office in Croatia
- Never measure your net worth in BTC
- Using Deno for new projects
- Bachelor's degree thesis by my student comparing multi-platform React-based solutions
- Cybercab wheels
- A few cheap interior changes that completely transformed an ugly bathroom
- Back in the game 2025 edition
- Bachelor's degree thesis by my student on detecting used and unused React props
- Responsive SVGs
- 2024
- 2023
- 2022
- TypeScript's asserts keyword and type narrowing in tests
- The easiest way to enforce architecture patterns
- Periodically check broken URLs
- 50/50 S&P 500 and gold portfolio
- #BadUXChallenge (regularly updated thread)
- Tracking workarounds in your codebase
- Bitcoin and Ethereum code complexity analysis
- Is TypeScript really 5x less energy efficient compared to JavaScript?
- 2021
- A brief look at the new Roc programming language
- Absolute path imports in JavaScript without custom tooling
- URL parts
- How to deal with vague promises
- Why I love poker and what it can teach you in life
- Deno vs Node
- Real estate prices in gold
- Walking treadmill with a standing desk
- Coming back to Windows as a web developer, 6 months later
- The most interesting thing about Bitcoin energy consumption
- Stubbing blocked/missing modules with JavaScript proxies
- 2020
- 2019
- 2017