Hacks
Life tips not only for geeks.
Still using browser as default "browser"?
When managing multiple browsers on your device, it's advisable not to set a default browser. Instead, consider leveraging specialized apps that automate the process of opening links in your preferred browser. These apps can seamlessly handle link management or prompt you to choose the browser that suits your needs for each link.
Desktop 2023: An Evolution of Two and a Half Years.
Two and a half years ago, I shared my initial desk setup on this site (yeah, first post), accompanied by a few thoughts on the significance of customising your workspace to fit your specific requirements. Since then, my desk has undergone a remarkable transformation, with each change serving as a testament to the power of continuous improvement.
Change your default browser!
Are you a tech-savvy Mac user? Then you'll love this solution: change your default browser to an app that's not even a browser at all! Let me explain the problem: when you receive incoming messages with links, you want to be able to open them easily by clicking, but sometimes you'd like certain links to open in Chrome (like Google Meet) and others in Safari (like Medium.com). Read further to learn how to do this.
Playwright, end to end testing tool done right.
End-to-end testing is essential, especially when considering regression tests. All the platforms I've used in the past feel dated, as though I'm using Windows 95. Recently, while experimenting with Svelte, I came across Playwright. It's amazing! There's hardly any learning curve, and it's all integrated into my IDE. Give it a try - you won't regret it!
Prompt engineering.
AI is revolutionising the way code is written. With the use of AI-based coding tools like GitHub's Copilot, we can rapidly and effortlessly generate intricate algorithms that would ordinarily take an extended amount of time to compose manually. However, these are just blocks of code; soon it will be the entire application. The requisite skill of today is not another framework or programming language; we need to effectively prompt AI to write what we desire.
Turborepo is a good thing.
I was initially hesitant to embrace monorepos, as I preferred the clean and organised structure of my individual project folders. The only downside was the difficulty of reusing design systems across multiple applications. However, Turborepo has changed my opinion; give it a try!