Noticed that new version 22.08.1 of helix is now available. See this Upgrade via your preferred package manager.
After the upgrade, used hx after a long time.
I also signed up for the matrix channel. Turns out that is where all the action is.
I’m member of (almost-dead-but-not-quite) Telegram group for a while. But matrix channel seems active.
I got immediate reply to my query. Nice!
My query was : How do I go to the last line of the buffer ?
Continue Reading »
If you are reading my posts, you would have realized that I had switched to nvim and went down the rabbit hole with different configurations etc. I think I got it to a stable state, and then I stopped tinkering.
But when I recently started coding again in Ruby, I realized that nvim is good as an editor, but at least I was not able to configure it as IDE. It has all the right tools (lsp, syntax highlighting, packages) yet something didn’t work 😞
Continue Reading »
I had written about Telekasten earlier, but in the context that I was unable to get it working with NVChad.
But I must confess, I almost forgot about it.
I should use it daily (as intended) to capture things I’m doing, where am I blocked, what unblocked me, make it as part of my daily workflow.
I have seen my colleague keeping a simple daily.txt file open in Sublime, and it works for them (I hope)
Continue Reading »
I had installed Wezterm long time ago. I think when I started looking for alternatives to Alacritty. But I settled on kitty (I think I could not get wezterm to work)
Few days ago, I stumbled upon it again, and I wanted to give it a try. So these days, I’m using wezterm as terminal. I specifically liked the built-in multiplexing feature. I haven’t tried it yet 🤷
When working on large(ish) code files, sometimes it is easier to fold rest of the code from that file and focus on one “block” at a time.
I use the word “block” because based on the context, it means different things. It could be as big as a class (if the file contains multiple classes) or as small as a if-else block.
But this functionality is not always turned on.
Continue Reading »
NvChad is yet another neovim starter kit.
Creator of NvChad is on the VimUser’s Telegram Group. So I was intrigued to try NvChad. (I had tried it a while ago, but decided to visit it later. That “later” is now)
One of the plugin I use is Telekasten. It reminds me of Dendron, another tool I used to use (requires VSCode, which I consider too heavy. But Dendron now works without VScode as well.
Continue Reading »
Earlier I imported the data to locally running Elastic (via Docker)
But others in my team could not run Docker on their machines, so we decided to use a hosted Elastic server.
The steps to import the data were the same. Well, almost. Because this was a hosted instance, it would not allow operations without authentication. I got the following error:
dump ended with error (get phase) => UNAUTHORIZED: {"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401} It took me a while to figure it out, but I did.
Continue Reading »
Some time ago, I started using kitty terminal emulator. I used Alacritty for a long time. But Alacritty is meant to be minimalistic in a sense it does not even have concept of having different tabs.
The suggestion/solution is to use tmux (or like) to manage different shell instances.
And I did that.
And learnt a great deal about tmux in the process.
I don’t regret it one bit.
But sometimes, tmux gets in a way of how terminal based programs look (and behave) when executed inside tmux.
Continue Reading »
Official instructions are here but it did not work for me.
I did not understand Drag kitty.icns onto the application icon in the kitty info pane part. I tried dragging the icon, but could not make it work.
I gave up. I can live with the default icon.
But then I came across the following instructions here.
Clear instructions that I can execute from inside kitty 😄
cp /tmp/kitty.icns /Applications/kitty.app/Contents/Resources/kitty.icns rm /var/folders/*/*/*/com.
Continue Reading »
This is the first time I’m setting up elasticsearch
While one can set it up natively via brew I have learnt longtime ago to use docker for complex, server type applications.
Elastic search’s official document also suggests the docker in their Getting Started.
I’ve made summary of the steps on my PKM. Search elastic on the site, since URLs are likely to change.
Important thing : Create a local user (I called it dev) and make it superuser
Continue Reading »