→ New PKM Site

Finally migrated my PKM from Dendron to Obsidian-Zola

Things I needed to do were :

  1. Remove Dendron specific frontmatter
  2. [In Progress] Restructure flat file names that were like Dev.DB.mysql.md to Development/Databases/mysql.md
  3. Pushed this branch as main
  4. Make main as default and protected branch
  5. Unprotect master
  6. Renamed old master as dendron (just in case)- without unprotecting old master I could not rename it.
  7. Remove Dendron specific settings from netlify. Since this time there is netlify.toml so no additional settings needed.

I would say it was pretty smooth transition 😄

Considering migrating PKM Site

My PKM is currently based on Dendron

Main appeal of Dendron was local-first. At the same time, it indeed was loosely tied to VSCode editor.

Over the years, they had a command line tool to create new notes. Still, its strength always was as a VSCode plugin

Then today, I came across Obsidian-Zola

It splits the task of taking notes and publishing it.

  • Obsidian for note taking
  • Zola for publishing

What I liked about it is Search functionality (To be fair, my current PKM build on Dendron also has it)

Continue Reading »

Emacs Glasses Mode

Now that I’m working on .NET and C#, I enabled csharp-mode in Doom Emacs. While exploring minor modes related to csharp-mode, I came across Glasses minor mode.

Here is the EmacsWiki page.

TL;DR:

The default setting is to separate the Capped bits with an underscore, so EmacsIsStudly shows as Emacs_Is_Studly.

I too, prefer to see the code as-is, but it is good to know that Glasses mode exists. I can see it being useful.

.NET Package Management

I recently started writing C# code at work. While I can read and understand the sample code (and modify partially per my requirement) I still trip up by new-ness (to me) of the ecosystem.

So while I intuitively understand that using is equivalent of require in Ruby (or import in python), I didn’t know which ones are “standard library” and which ones are not.

The sample code worked with standard library, but writing to Azure Service bus requires external library. Just adding using Azure.Messaging.ServiceBus is not enough. One also needs to install the package.

Continue Reading »

Microsoft's Confusing (or Incorrect?) Documentation

At work, I’ve been using REST API to connect to Azure Service Bus because officially Microsoft does not support Ruby SDK (It is retired since 2015)

The documentation related to accessing Azure Service Bus via REST API is very limited, and at time difficult to use.

e.g. This documentation about How to unlock a message in the (Azure Service Bus) queue mentions this URL pattern to be used for the REST API call :

Continue Reading »

Changing Emacs Look-N-Feel

I’ve been using nano emacs theme with minemacs I got bored today, and wanted to try something new.

  • I’m trying circadian.el
    • modus-operandi during the day
    • doom-tokyo-night during the night
  • Iosevka font (Have not settled on exact variation)
  • Also trying org-modern but I use denote - so I’m not sure whether it matters

Language Before Framework

Several years ago, I came across a quote1 about how learning python via Django. The author said that if you don’t properly know python, you may not understand what is Django specific and what is not.

FWIW, even after working with python, I never used Django in any of my main project. But I did learn python first before the frameworks.

Fast forward to few days ago. I am working on Ruby code to read from Azure Service Bus.

Continue Reading »

Ameba: Rubocop for Crystal Language

Ameba seems like quite mature linter for Crystal language. As I start my first real world code in Crystal language, the real tools are very useful. (Side note: I didn’t write any non-real-world crystal code. I’m not sure it helps. REPL sessions are not code. they don’t count)

It automatically uses built-in formatter in the --fix mode.

There is also awesome emacs integration as well. Check ameba.el

AMQP Versions

As I had mentioned earlier, at work I was “strongly encouraged” to use Azure Service Bus, instead of RabbitMQ (which was the technology I had suggested.)

RabbitMQ has good Ruby support. I had chosen Sneakers (Which uses bunny under the hood)

Since Azure Service Bus also supports AMQP, I was trying to see if we can use these libraries with Azure Service Bus.

But connection itself wouldn’t work. I kept getting FrameTypeError

After a lot of head-scratching and searching, a colleague pointed me to this discusion

Continue Reading »

Devnagari

ह्याच्या आधी मी एक micropost देवनागरीत लिहिली होती, नेहेमीप्रमाणे मी ती हेलिक्स मधे लिहीली पण त्यात थोड्या चुका झाल्या होत्या.

हेलिक्स टर्मीनल एडिटर असल्यामुळे असेल कदाचित 🤔

नंतर मी ती मार्कडाउन फाइल bbedit मधे उघडून दुरुस्त केली.

macOS मधे देवनागरी लिहिण्यासाठी मराठी keyboard च्या ऐवजी Devnagari - QWERTY वापरा. मराठी keyboard शिकण्यापेक्षा transliteration सोपे आहे.