Blog
Buying the Kinesis Advantage 360 keyboard was a mistake
Why this beast of a keyboard did not work for me and what I ended up using instead.
How to work with XML documents in Elixir using xmerl
I want to parse an XML document, find an element by id, add an attribute, and export the document back to a string.
Keep this in mind when changing scrollbar colors
TL;DR: always choose a scrollbar thumb color that makes it visible both against the container background and the scrollbar track.
The implications of Astro's HTML streaming
Read this if you care about accurate HTTP response status codes.
How to set up unit tests for Astro components
Improve your Astro unit testing experience by adding happy-dom and DOM Testing Library to your setup.
How to clamp the lightness of a relative color in CSS
Let's say we have a color in a CSS variable and want to modify its lightness, but only if it's too dark or too light.
Dependencies vs. devDependencies for JavaScript apps
Whenever I'm adding a new dependency to a JavaScript app, or setting up the build process of a new app, I ask myself: what exactly are devDependencies? It's time to answer that question in depth.
How to add CSS rules only in the test env in your Phoenix app
Certain CSS styles might cause problems in your browser-based tests, so you might want to add some CSS rules that turn off those styles, but only in the test environment.
Rewriting a Vue app to Astro
I rewrote my hobby project to Astro and its JavaScript bundle size shrank 3x.
Automated accessibility testing for Elixir web applications
Integrate Axe into your Elixir browser tests with my new library, A11yAudit.
How to change your local timezone on a mac to debug date-related JavaScript tests
My date-related JavaScript tests were passing locally, but failing on CI. Changing my local timezone helped me find the bugs.
9 signs your frontend code has quality issues that affect your users
Check if your project is displaying any of them.
How to prevent WebStorm from removing trailing spaces from one specific file?
I love WebStorm's "on save" formatting options, but from time to time, they get in my way.
How to format Elixir doctests?
I wrote a doctest formatter plugin to help you with that.
How to format Elixir code in Markdown code blocks?
I wrote a Markdown code block formatter plugin to help you with that.
Do not run `mix test || mix test --failed`
This popular way of retrying flaky tests on CI is a trap.
How to ask for help with your code online
Do you often get ignored when you ask people online to help you with your coding problems? Make sure you're not breaking any of those 7 rules.
Side project: The Nonvisual Website
A few words of explanation about an unusual creation.
5 bugs that HTML validation caught for me
Are you running your website through an HTML validator? No? Here's a list of 5 bugs that HTML validation caught for me before I released them to production.
My 2023 job search
In July 2023 I applied for web development jobs for the first time in the last 5 years. Here's what happened.