100 Days of Rust : Day 1

Today I finished the Number guessing game

During the early part of the code, my mind started thinking “How will comparing string input from the user, work with a number? ๐Ÿค”” (๐Ÿ’ช of having gone through such issues numerous times over the years)

Of course, it was explained later.

I was a bit disappointed that the code paniced upon entering non-number ๐Ÿ˜ž especially after the expect clause.

Turns out that is expected behaviour.

Continue Reading »

100 Days of Rust : Day 0

In this new year, I have decided to learn rust

All my recent experience has been in dynamic languages (90% python, 10% ruby)

But I started my software development career in C, and did that for probably 10 years. So I’m not new to compiled languages.1 But things have changed a lot (for the better) in these years.

Additionally, rust is getting a lot of attention from bigwigs like MS.

Continue Reading »

Obsidian.nvim plugin

After using vim keybindings inside Obsidian, I came across obsidian.nvim plugin that makes working with Obsidian from inside Neovim pleasurable.

This is definitely better than vim keybindings in Obsidian 1

But I had not not used neovim in a long time. After I upgraded to Monterey, I had not installed neovim again.

So getting it (as in neovim) was a bit of work. But I had my old config saved, so at least I didn’t have to start from the ground floor. (On the other hand, having old/out dated config could be worse than starting from the ground floor ๐Ÿ˜„)

Continue Reading »

Obsidian has vim keybindings

Today I discovered that Obsidian supports vim style keybindings out of the box.

But it knows that vim is not for everyone.

So it checks whether you know what you are doing (when you enable the setting, which is OFF by default) by having you enter a command in a pop up ๐Ÿ˜„

TBH, one can easily find out that command and “cheat”. On the other hand, if you don’t know vim, and still want to turn on the setting (by cheating) - you deserve what you get ๐Ÿ˜„

Continue Reading »

Obsidian

Obsidian is not new to me. I come across it from time to time, but never paid much attention.

That changed when I migrated my PKM site to use Obsidian-zola.

Technically, it use Zola, and has nothing to do with Obsidian (for Publishing)

The “source” is maintained in Obsidian, but it is just collection of markdown files, which can easily be maintained outside.

But then I got Obsidian desktop installed. I used it for making minor edits to markdown files.

Continue Reading »

New Car

Today we purchased a new car!

Thank you (Here I assume you are congratulating me ๐Ÿ˜„)

It is a great feeling.

Some quick thoughts (in random order)

The process took about 2 hours, even though we were waiting just 10 minutes for our turn.

Tomorrow onward there will be a lot of rush due to Diwali

Kids got bored towards the end, when the executive was giving me the demo/explaning the features.

Continue Reading »

M-x butterfly

It started with a post on Emacs Stories Telegram group. Someone posted a pretty picture with Emacs-logo-on-a-butterfly and a comment M-x butterfly

But the actual command M-x butterfly is boring (to me at least)

I wanted the nice image.

Some nice soul on the group directed me to this page

First I changed the icon of my doom emacs to this image.

I followed these instructions.

No immediate success.

Because, I have Emacs installed from brew, so one in /Applications folder is a symlink to the actual file in /opt/..

Continue Reading »

Domain Expired : Moved to Netlify DNS

Last night when I wanted to check this site, but I started getting security error related to certificate. But it did not say domain expired.

I know Netlify automatically renews the cerificates, so I was confused.

But I was too sleepy to troubleshoot.

This morning, for some reason I checked my other email account which I almost never use except for domain registrar ๐Ÿ˜„

The Domain has expired email was smiling at me.

Continue Reading »

โ†’ Bruno: Local-first Postman Alternative โˆž

I think I came across this tool via Hacker News ๐Ÿค”. But may be not. Anyway, it does not matter.

Why it appealed to me ?

At work, we have a shared Postman workspace, which often breaks.

Because anyone and everyone can modify it (which is some times needed) But then people click the Save button, because it is easy to ๐Ÿ˜„

and now, it is broken for others.

OK, there is a concept of fork in Postman, but then everyone has their own fork.

Continue Reading »

Uninstalled Instagram

Few hours ago, I uninstalled Instagram from my phone.1

Ironically, earlier today I watched a reel on Instagram saying “Instagram is like Chakravyuh, and we are like Abhimanyu. We can go inside, but not come out”.2

I think that made to take this action.

I noticed that I had not written much in the entire month of August 2023, and hardly 2 entries in September. While some of it attributes to work pressure, my instagram addiction may be equally responsible.

Continue Reading »