Today was my last day at stck.me (Formerly Scrollstack.com) I spent more than a year working with the wonderful engineering team there. I learnt a lot from everyone on the team, and made some new friends (I already knew a lot of folks from this team before I joined) during my stay.
I will continue to cheer stck.me from the sidelines
Some of my contributions during my time with scrollstack:
Those who know me, probably already know that Doom Emacs has been my daily driver for a last years now.
and that recently neovim has piqued my interest.
I already wrote about Lunar NVim
Today I discovered Doom-Nvim
Port of (sorta) Doom emacs to neovim ecosystem.
What is not to like ? 😄
As I wrote in Lunar NVim post, I am happy with Doom emacs. But this might make me switch back to (n)vim 😄
I started this blog using indiefeed theme. But soon realized that the original creator has moved on. They have marked the repo as read-only on github. I had already started tweaking it to my liking, but now changes are more than tweaks. e.g. The original theme did not have good image support. i.e. only images used were in the Author profile image, and it has rounded corners/circular shape, which does not work when image is part of the post itself.
Continuing with my Ruby language learning journey, I wanted to use it for more than Hello world.
So I decided to try python’s request equivalent.
Since I didn’t know where to begin, I just searched for requests on RubyGems
Turns out Gem by the exact name exists and with description Because Requests for Python is awesome 🤗 But it isn’t updated in close to 5 years now.
I also wanted to use something native (i.
I published my new sketch This appeared on the back of one of the children’s books. I think tinkle
It took me less than 5 minutes, but makes for a good break from work, and lets me keep practicing my art.
The girl appears so happy showing off her new dress (I think) or she is just happy and frolicking. In either case, it is adorable.
If you haven’t, you can check my older sketches here
While there are multiple ways to use Ruby debugger, for my first Ruby script (?) I found starting the script via rdbg to be the easiest.
Like rdbg myscript.rb
Debugger has all the basic command I have used elsewhere.
n for next pp for pretty print q for quit For subsequent times, using require 'debug' followed by binding.break may be better.
This README has all the details.
If I were to explain bundler to pythonista (like myself) I would say
Bundler in Ruby land is like poetry in python land, except it does not create sandbox environment
To explain it a little more. It tracks dependencies in a Gemfile (and Gemfile.lock) which then goes in your repo. Other engineers sharing your code would then run bundle install, and they get exact same Gems (including versions) on their machines.
As I mentioned earlier, I’m trying Lunar nvim starter kit. Latest version of nvim comes with LSP support, and while learning a new language LSP could be really helpful (I think)
I had heard of solargraph. Running :LspInstall in nvim gave me option of sorbet as well. But I decided to stick with solargraph.
nvim was successful in installing solargraph, or so it told me. But it did not work. LspInfo told me that it did not find solargraph Just to be sure I gem install solargraph from the terminal, before I tried to install LSP from nvim again
I came across some starter kits for nvim. Earlier I tried adding individual plugins and learning all the nvim basics, but since I’m pretty happy with Doom Emacs 1
But Lunar nvim seems stable and provides a lot of functionality out of the box. 👍
prerequisite page asks to ensure that I have cargo. I knew it a package manager(?) for rust, but didn’t know whether I could install it standalone.
Start clean I created an alias irb=irb --sample-book-mode
This removes the complex prompt like irb(main):001:0> and gives plain and simple >> instead.
Get Help! When programming in Python, even today I use dir in Python REPL. So I was looking for the equivalent in Ruby land.
Turns out I was comparing apples and oranges (so to speak)
As of early 2022, irb has awesome help built-in. It has good autocompletion. So just typing .