It feels so good to “Do the right thing even if you don’t feel like doing it”

Hal Elrod (Miracle Morning fame) defines Habit as

Doing what needs to be done whether you feel like it not.

I did my MM SAVERS for 50 days, and then fell off the bandwagon.

Till I picked it up yesterday.

Today was the second day, and I didn’t feel like getting up.

But I did.

Once I was up, rest was easy 😄

Initial resistance needs to be overcome.

Maybe use 5-second rule ? (I didn’t. Today. Just sayin)

Firebase Studio : It is not ready yet

I read Addy Osmani’s announcement on LinkedIn, and wanted to give it a try myself.

Coming from Google, I had high hopes.

As per Google, it is improved version of, and will replace Project IDX.

While I have not used Project IDX in past, Firebase Studio looks like hosted VS Code.

Continue Reading »

Is GenAI biased toward a specific region ?

I came across a LinkedIn post here where the author asked ChatGPT to create a fake Aadhar card, and a fake US Green Card.

For later, ChatGPT added “For Fictional Use only” in the image, and wouldn’t remove it when asked to.

So such “security concern” for the Aadhar Card.

Here is my take on it.

Continue Reading »

Rust : How to use `match` to replace nested if/else

When solving errors4.rs exercise of rustlings, I initially used nested if/else. It helps with readability.

While the solution was correct, clippy suggested following:

help: consider rewriting the if chain with match: match value.cmp(&0) {...}

I had used match only with various possible values (mostly from Enum) and thus was unfamiliar with value.cmp(&0) approach.

Continue Reading »

Eight must have pre-commit hooks for #python code

Recently there was an article on LinkedIn about how debugger statement was left in the production code (front end javascript) and thus user could not move forward. People commented about the code review. But why invest manual efforts when such things can be automated ? See #4 in the list below. pre-commit hook is an under appreciated (dare I say, unknown) feature of git As the name suggests, set of commands/scripts can be executed before git commit

Continue Reading »

Announcing my rust project: snb

After learning (and I’m still learning) basics of Rust, I decided that I need to work on real world project to get better understanding of the language and face real problems 😄

Introducing snb 1 - Superfast notes from the terminal 🎉

Continue Reading »

Linux Mint may be it

I’ve been using Linux Mint for a while now.

I started using linux because my machine stopped getting macOS updates.

But I always wanted something as stable as macOS

Initially I tried Tuxedo OS.

While it looked nice, there were tiny issues that I couldn’t ignore.

Continue Reading »

Adding alias to CLI built in #rust

Turns out it is very easy if using clap

Continue Reading »

My PR related to Rust project got merged 🎉

I’m so happy that my PR 1 to a new and upcoming #rust framework called Cot was merged yesterday.

@m4tx - Thanks for accepting my contribution 🙏

Continue Reading »

Linux Mint

I’ve been using Linux on my old MBP since November of last year. I started with OpenSUSE After using it for a month or so, I switched to Tuxedo OS 4 It is based on Ubuntu 24.04 LTS but ships with latest KDE Plasma 6. I meant to write about it, but didn’t ¯_(ツ)_/¯ I used it for 3+ months. It was more mainstream than OpenSUSE (because of its Ubuntu base)

Continue Reading »