Learning DSA, Day 001: Recursion Basics

Using Abdul Bari’s, Mastering Data Structures & Algorithms using C and C++ to grok the basics. Now that I grok programming, understanding DSA should help me write and think better. And writing rough notes or thoughts to myself here, keeps me accountable and on track.1 Today’s topic? The Basics of Recursion Types of Recursion Tail Recursion Head Recursion Tree Recursion Indirect Recursion Nested Recursion Tail Recursion When a recursive call, is the last statement in a recursive function, that’s tail recursion func(n) { if (n>0) { blah … ; blah … ; blah … ; func(n-1); } } All the operations in the examples above happen at call time....

August 8, 2022 · Mario Jason Braganza

Focus on How Long You Read, Not How Much

Alternate Subtitle: The Best Advice I Could Give You About Reading Lots of Books. via a Tom Gauld Book1 Ever so often, after one of my reading updates on social media, some of my young friends ask me how I get so much reading done. So, I decided to answer it here for posterity and then just point folk here. You are not me. a. I am a book worm....

August 7, 2022 · Mario Jason Braganza

Tomorrow is Another Date

Org mode is slowly spreading its tentacles increasingly becoming something, I cannot live without, to manage my day. And I’m getting pretty consistent with it too! Like you see above, I use dates as my headlines, below which I list the various tasks for the day.1 And that’s where I run into my current itch to scratch. I don’t want to keep typing out the date daily. The computer can do that for me....

July 31, 2022 · Mario Jason Braganza

Emacsclient Does Not Recognise Compose Key Sequences

Originally published 2021/10/27. Updated to include the .xssessionsrc point I run pretty often into this issue, so this is a checklist for me. Issue being, that I cannot use Compose key sequences to type out the characters I need. Case in point being, the apostrophe ’ and the quote marks “” , ‘’ that I use, all the live long day. Make sure that emacs is running as a service. It runs in your user, so check status with systemctl --user status emacs....

July 31, 2022 · Mario Jason Braganza

FOSS.training / DGPLUG Summer Training 2022 Begins

Let’s get the important bits out of the way first. I have been both, busy and lazy. Mea culpa. But the new FOSS.training’s aka DGPLUG Summer Training cohort begins tomorrow, the 25th of July, 2022 (6.30pm IST). Come, join! Join the mailing list, here. Come join the #dgplug irc channel on Libera, because that’s where the training will be conducted. So, what is it? The summer training is short-ish, couple of months-ish long, series of meetups on irc....

July 24, 2022 · Mario Jason Braganza