How to write a Constrained Identity Function (CIF) in TypeScript
A guide to using a Constrained Identity Function (CIF) in TypeScript to improve type safety for objects like a calculator's operations.
A guide to using a Constrained Identity Function (CIF) in TypeScript to improve type safety for objects like a calculator's operations.
Explains why TypeScript restricts catch clause variable types and demonstrates the correct way to narrow error types using checks.
Guide to integrating Azure App Service with Azure Front Door Premium using Private Link for secure, private connectivity without complex DNS or endpoint management.
A developer shares a workaround to detect if VS Code is using a dark or light theme, as there's no official API for extensions to access theme colors.
Explains how to fix TypeScript module resolution errors for submodules in multi-entry packages using typesVersions.
A tutorial on building a full CRUD REST API using only Django's core features, without the Django Rest Framework.
A guide to optimizing React context value for performance, recommending state/dispatch separation and warning against premature optimization.
Announcing the launch of 'Labs', a collection of free IT tools and utilities for Azure cost analysis and WordPress version checking.
A guide to the most valuable Microsoft Ignite March 2021 sessions for Australian developers, covering .NET, Azure, AI, and career growth.
Explains how to use Cypress's .clock() and .tick() commands to control time in tests, making them faster by skipping delays.
A technical guide on deploying and connecting to a SQL Managed Instance using Azure Arc enabled Data Services on Kubernetes.
An interview with iOS developer Lee Kah Seng discussing his journey from .NET to iOS, challenges with Objective-C and Swift, and the iOS job market in Malaysia.
Explains how to use JavaScript RegExp with backreferences to accurately match strings with single, double, or backtick quotes.
Explains why boolean function parameters are often a code smell and suggests better design alternatives.
A data scientist explains the 'Why, What, How' framework for writing effective technical documents like one-pagers, design docs, and after-action reviews.
A tutorial on implementing distributed caching in ASP.NET Core using Redis to improve scalability and performance.
Proposes making tests a reusable part of Python applications, using Django and deal library examples to illustrate sharing test logic.
colin@colinfay.me:~$ cat ~/blog/post-request-shiny-app-brochure.md [Disclaimer] The package presented in this blog post is still experimental at the t
Explains how to implement reversible data masking in MongoDB using an idempotent pattern to protect sensitive data while enabling authorized recovery.
An in-depth look at Git's internal mechanics, including its object model and core workflow, with a guide to building a simplified version.