JSJimil Shahindev-diaries.hashnode.dev·Jun 16, 2024 · 9 min readIn-built memoization in Python with @functools.lru_cache()Memoization, in computer programming, is essentially an optimization technique wherein return values from a function are memorized/stored in a cache so that they don’t have to be computed again when required. Memoization makes your code faster and he...00
JSJimil Shahindev-diaries.hashnode.dev·Jan 14, 2024 · 4 min readAngular @ViewChild with DOM Elements and Asynchronous DataWhile working in Angular, it is safe to assume that most important pieces of data to be displayed would be loaded asynchronously via APIs. While most of this data will be displayed in structured/reusable components, there might be some niche use case...00
JSJimil Shahindev-diaries.hashnode.dev·Mar 26, 2023 · 3 min readUseful git commands to keep in your toolbelt - Part 1Often when working on projects, it’s always a good idea to have feature branches for each repository. As priorities change while working and bugs are reported, there is a possibility that you might have to work on something while some work was alread...00
JSJimil Shahindev-diaries.hashnode.dev·Jun 28, 2022 · 6 min readSpring Data MongoDB: Configuring Secure Connection Between Spring Boot and MongoDB over TLS using CertificatesMongoDB is a widely used NoSQL database for building modern web applications. While the autoconfiguration provided by Spring Boot and Spring Data MongoDB Starters are generous enough to establish connectivity between your microservice and the databas...00
JSJimil Shahindev-diaries.hashnode.dev·Jul 4, 2021 · 3 min readHow to use @RefreshScope with your Datasource for dynamic property updates at runtime?As directed by Spring Boot best practices, configuration properties for Spring Boot apps are externalized via Git, local file system, HashiCorp Vault, etc. However, when these properties are updated in the source itself, they must be delineated to th...00