Skip to main content

Posts

Showing posts from June, 2025

A Magical Weekend at Akshayakalpa Farm, Tiptur – A Journey into Organic Living

Just a three-hour drive and around 160 km from our home, tucked away in the peaceful green stretches of Tiptur, lies a gem of a place — Akshayakalpa Organic Farm . We had been planning a short weekend getaway, and this one-night, two-day trip turned out to be so much more than just a break from routine. It was an experience — wholesome, inspiring, and refreshing in every sense. Before the Visit: Thoughts & Expectations Before setting off, I had a few ideas in mind. I imagined fresh organic food, a serene countryside escape, and a chance to learn something new about sustainable farming. I expected to enjoy nature, perhaps interact with a few animals, and understand how organic dairy products are made. But what I got was far beyond expectations — it was immersive, educational, and joyful. From start to finish, it felt like a beautiful blend of eco-conscious living, learning, and community bonding. Day 1: Arrival & First Impressions We reached the farm around 10:45 am. Upon a...

JavaScript (ES6+) topics

🔁 1. Callbacks Goal : Understand how functions can be passed and executed later. Study Plan : Write a function that takes a callback (e.g., simulate an API call). Understand callback hell and how it leads to Promises. function fetchData ( callback ) { setTimeout ( () => { callback ( "Data loaded" ); }, 1000 ); } fetchData ( ( data ) => console . log (data)); 🔄 2. Promises Goal : Handle async operations cleanly. Study Plan : Create basic promises using new Promise() . Learn .then() , .catch() , and .finally() chaining. function fetchData ( ) { return new Promise ( ( resolve, reject ) => { setTimeout ( () => resolve ( "Data received" ), 1000 ); }); } fetchData (). then ( console . log ). catch ( console . error ); ⏳ 3. Async/Await Goal : Write cleaner async code. Study Plan : Convert a promise-based function to async/await . Handle errors using try...catch . async function l...