Articles
Loosely coupling with Typescript
#typescriptAdjusting slightly how you use types, you can get code that's easier to maintain, test and reason about.
Use a custom data folder on Flatpak apps
#linux #flatpak #tipsYou can run Flatpak apps on a separate data folder to allow separate instances of the same app, better isolation of personal/work data, and more. Here's how...
Handle Javascript errors like in Go
#javascript #intermediate #experimentI've experimented with error handling for Javascript async code. You'll see the usual, the not very common, and something unconventional. Hopefully this may be of use to someone.
Running unverified apps on Mac
#mac #gatekeeper #workaround #tipsIf you're trying to run a binary/app on your Mac and you don't seem to be able to because of a missing verification, this tip may help you.
Safer types on TypeScript
#typescript #types #intermediateYou can use slightly different types than you would normally use to get stricter assurances on your data.
Introduction to testing with Python
#python #testing #beginnersChecking that your program works is essential, in this post I'll show you how you can make sure that your app behaves as expected writing tests that will run in a blink instead of having to manually test the app trying every use case.