.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.

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

Continue Reading »

Devnagari

ह्याच्या आधी मी एक micropost देवनागरीत लिहिली होती, नेहेमीप्रमाणे मी ती हेलिक्स मधे लिहीली पण त्यात थोड्या चुका झाल्या होत्या. हेलिक्स टर्मीनल एडिटर असल्यामुळे असेल कदाचित 🤔 नंतर मी ती मार्कडाउन फाइल bbedit मधे उघडून दुरुस्त केली. macOS मधे देवनागरी लिहिण्यासाठी मराठी keyboard च्या ऐवजी Devnagari - QWERTY वापरा. मराठी keyboard शिकण्यापेक्षा transliteration सोपे आहे.

Used Python After Long Time

Today I wrote (OK, copy/pasted sample code and modified) python after more than a year. (Is it a year or an year - confusing. I think either works) I had to start from installing python. Why did I use python ? At work, we are trying to connect to Azure Service Bus over AMQP. Ruby is not officially supported by MS anymore. Python is. But we wanted to try non-azure client.

Continue Reading »

How to track subtasks in Org

Continuing from previous post .. Turns out there is a specific way to handle subtasks in org-mode. I used something like following - which did not work * TODO Main task [0/3] - [x] Subtask 1 - [ ] Subtask 2 - [ ] Subtask 3 As we can see, I expected to see [1/3] but I continue getting [0/3] Correct way to do this is : * TODO Main task [1/3] ** DONE Subtask 1 ** TODO Subtask 2 ** TODO Subtask 3 With the correct syntax, I don’t even need to C-c C-c to update / in the main task.

Continue Reading »

Org for TODOs

Yesterday, I started using org-mode for tracking my TODO items. I had tried it a long time ago. Org is very powerful, and it can list the TODO items across multiple files. But that gets (at least in past) overwhelming. So I started simple. I started with setting org-agenda-file to ~/org/work.todo That is the only file I’m tracking my work items. Then I use org-agenda to list all the open items.

Continue Reading »