AnuRockThe garden of Anurag Bhandari the developer.https://anurock.dev/Relational queries in Drizzle ORMhttps://anurock.dev/posts/drizzle-relational-queries/https://anurock.dev/posts/drizzle-relational-queries/A highly addictive goodie to fetch deeply nested entities that's as easy as spreading butter on a toast.Wed, 03 Dec 2025 03:43:51 GMTAsync functions inside loops in JavaScripthttps://anurock.dev/posts/dangerous-promises-javascript/https://anurock.dev/posts/dangerous-promises-javascript/Not all async-await patterns are created equal. I learned it the hard way.Wed, 26 Nov 2025 05:28:08 GMTAuto-pause music on inactivity in macOShttps://anurock.dev/posts/auto-pause-music/https://anurock.dev/posts/auto-pause-music/Because who's listening to your music behind you... right?Tue, 04 Nov 2025 00:00:00 GMTStorage engines in MySQLhttps://anurock.dev/posts/mysql-engines/https://anurock.dev/posts/mysql-engines/Support for multiple storage engines makes MySQL more versatile than you think it is.Fri, 31 Oct 2025 00:00:00 GMTIf you want to finish fast, go slowhttps://anurock.dev/posts/slow-is-fast/https://anurock.dev/posts/slow-is-fast/Sometimes, taking your sweet time is the best way to speed up the process.Wed, 29 Oct 2025 00:00:00 GMTLocks using Redishttps://anurock.dev/posts/redis-locks/https://anurock.dev/posts/redis-locks/Have you ever wondered how movie ticket booking systems prevent double bookings? Here's a damn simple method.Fri, 24 Oct 2025 00:00:00 GMTEasy RAGhttps://anurock.dev/posts/easy-rag/https://anurock.dev/posts/easy-rag/I built a containerized Retrieval-Augmented Generation (RAG) system to teach myself about LLMs and RAG. You can too.Mon, 13 Oct 2025 00:00:00 GMTOllama in Colimahttps://anurock.dev/posts/ollama-in-colima/https://anurock.dev/posts/ollama-in-colima/Running Ollama in a Colima container might require adjusting memory limits. Here's how to do it.Sat, 11 Oct 2025 00:00:00 GMTStreaming progress updates in long-running API requestshttps://anurock.dev/posts/api-progress-updates/https://anurock.dev/posts/api-progress-updates/A ridiculously simple method to run a long-running task synchronously via an API while streaming updates to client.Fri, 10 Oct 2025 00:00:00 GMTClient-side data fetching paradigms in React Server Componentshttps://anurock.dev/posts/react-19-client-data-fetching/https://anurock.dev/posts/react-19-client-data-fetching/Sat, 20 Sep 2025 00:00:00 GMTHow to get `docker compose` command working in macOShttps://anurock.dev/posts/docker-compose-macos/https://anurock.dev/posts/docker-compose-macos/Tweaking the docker-compose command installed via homebrew.Sat, 26 Jul 2025 00:00:00 GMTHow to Add a Bookmark Content Collection in Astrohttps://anurock.dev/posts/astro-content-collection/https://anurock.dev/posts/astro-content-collection/A beginner-friendly tutorial on creating a bookmark content collection in Astro.Wed, 23 Jul 2025 00:00:00 GMTPerformance metrics driven by impacthttps://anurock.dev/posts/performance-metrics/https://anurock.dev/posts/performance-metrics/Wed, 14 May 2025 00:00:00 GMTPreventing KeyError in Python dictionarieshttps://anurock.dev/posts/python-defaultdict/https://anurock.dev/posts/python-defaultdict/Python comes with something called defaultdict that will help you avoid KeyErrors.Fri, 02 May 2025 00:00:00 GMTLeetcode as a means to practice coding minimalismhttps://anurock.dev/posts/leetcode-minimalism/https://anurock.dev/posts/leetcode-minimalism/Using minimum number of data structures and leveraging built-in defaults.Fri, 02 May 2025 00:00:00 GMTError saving emoji in WordPresshttps://anurock.dev/posts/wordpress-unicode/https://anurock.dev/posts/wordpress-unicode/Fixing the 'Could not update post in database' error in WordPressSat, 26 Apr 2025 00:00:00 GMTPrerequisites - The right way to start codinghttps://anurock.dev/posts/prerequisites/https://anurock.dev/posts/prerequisites/While it’s best to dive right into coding to sustain the initial excitement, learning basic concepts and fundamentals is as important to build a strong foundation.Wed, 12 Jul 2023 00:00:00 GMTCareer Pathshttps://anurock.dev/posts/career-paths/https://anurock.dev/posts/career-paths/Understand the career options available to a software developer to see what appeals to you the most.Mon, 01 May 2023 00:00:00 GMTIs Coding For You?https://anurock.dev/posts/is-coding-for-you/https://anurock.dev/posts/is-coding-for-you/Before you jump into it, it's important to weigh the pros and cons and understand the reality of what it takes to become a successful programmer.Tue, 18 Apr 2023 00:00:00 GMTDeno, a better Node.js?https://anurock.dev/posts/deno-better-nodejs/https://anurock.dev/posts/deno-better-nodejs/Deno is a relatively new runtime for JavaScript. It was created by Ryan Dahl, the same person who also created Node.js.Sat, 01 Apr 2023 00:00:00 GMTHow Ubuntu Linux got its name?https://anurock.dev/posts/ubuntu-unique-name/https://anurock.dev/posts/ubuntu-unique-name/The history of Ubuntu dates back to 2004 when it was first released by Canonical, a UK-based software company.Sat, 25 Mar 2023 00:00:00 GMTSimplified - Prototypes in JavaScripthttps://anurock.dev/posts/prototypes-in-js/https://anurock.dev/posts/prototypes-in-js/Unlike a class, which is a template for creating objects, a prototype is an instantiated object with functions and properties that can be copied to other objects.Wed, 22 Mar 2023 00:00:00 GMTWhy do arrays begin with index 0?https://anurock.dev/posts/array-indexing/https://anurock.dev/posts/array-indexing/While the use of zero-based numbering may seem counterintuitive at first, it has become a widely accepted convention in programming and has proven to be a helpful tool for simplifying code, avoiding errors, and improving readability.Fri, 17 Mar 2023 00:00:00 GMTWordPress was created by a Jazz musicianhttps://anurock.dev/posts/wordpress-and-jazz/https://anurock.dev/posts/wordpress-and-jazz/The story of WordPress is an interesting case study of how passion and grit can help change the world, no matter your background or qualification.Sun, 29 Jan 2023 00:00:00 GMTFirst programming languagehttps://anurock.dev/posts/first-programming-language/https://anurock.dev/posts/first-programming-language/So, which was the first programming language? Was it Fortran? Was it Assembly? Or was it something even older? As with most things in the history of computers, the answer is not straightforward.Fri, 20 Jan 2023 00:00:00 GMTgit was created by this famous personhttps://anurock.dev/posts/git-origin-story/https://anurock.dev/posts/git-origin-story/Did you know that git was created by a famous software engineer... as geek stories usually go... to solve his own problem?Sat, 14 Jan 2023 00:00:00 GMTYoda conditionshttps://anurock.dev/posts/yoda-conditions/https://anurock.dev/posts/yoda-conditions/Yoda notation is a style of writing conditions, especially equality checks, in reverse order.Fri, 06 Jan 2023 00:00:00 GMTJava originally had another namehttps://anurock.dev/posts/java-original-name/https://anurock.dev/posts/java-original-name/Coffee had nothing to do with its original name.Thu, 29 Dec 2022 00:00:00 GMTBook Review - The Pragmatic Programmerhttps://anurock.dev/posts/pragmatic-programmer-book-review/https://anurock.dev/posts/pragmatic-programmer-book-review/The Pragmatic Programmer is one book that can accelerate your coming out of the valley of disappointment and into the sublime world of first-rate programmers.Tue, 16 Aug 2022 00:00:00 GMTTo merge or to squash on GitHubhttps://anurock.dev/posts/squash-vs-merge/https://anurock.dev/posts/squash-vs-merge/Using the "squash and merge" option offers some benefits over the "merge commit" option while closing your pull requests.Sat, 30 Jul 2022 00:00:00 GMT