First impression people have is that Emacs is an editor. So in an editor one should just save as to different name/path. 1
But save as is different from renaming a file. save as creates a copy of the file with a different name/path. So one has two files with old and new paths.
But rename leaves just one file at thenew path.
Older versions of Emacs (< Emacs 26) did not have this functionality built-in So either one had to use dired or people wrote their own functions.
As mentioned in the earlier post,
at work I was “strongly encouraged” to use Azure Service Bus, instead of RabbitMQ Unfortunately
SDK has FormatDeadLetterPath functionality but it is not available to HTTP REST API 1
Append /$DeadLetterQueue to the queue name.2
Refer to this SO comment
Readers would remember that since Ruby is not officially supported by MS, we had to resort to using REST API to access the Azure Service Bus functionality.
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)
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.
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.
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 :
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
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.
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