Ankit Gadiya

Microblog Posts

Happy New Year 🎉

New year, new instance. I'm changing the base domain for my single-user GoToSocial instance (by migration). If it worked, you shouldn't notice it.

social.argp.in → social.argp.org.

I use the org-pomodoro package for focused sessions at work. But Slack notifications can easily break my flow, so I added the simple hooks to disable visible notifications on GNOME desktop.

(defun arg-disable-gnome-notifications ()
  (shell-command "gsettings set org.gnome.desktop.notifications show-banners false"))
(defun arg-enable-gnome-notifications () (shell-command "gsettings set org.gnome.desktop.notifications show-banners true"))

(add-hook 'org-pomodoro-started-hook #'arg-disable-gnome-notifications)
(add-hook 'org-pomodoro-finished-hook #'arg-enable-gnome-notifications)
(add-hook 'org-pomodoro-break-finished-hook #'arg-enable-gnome-notifications)
(add-hook 'org-pomodoro-killed-hook #'arg-enable-gnome-notifications)

I found a couple of videos exploring the concept of refractive index — why light seems to slow down in different mediums.

In the first, the creator reasoned intuitively that light doesn't really slow down. She built a simple home experiment to prove it, but the results showed the opposite. In the second, she set out to understand why those observations actually made sense.

I'm learning about lambda calculus, the mathematical foundation of Lisp. It defines an incredibly expressive system. The Church encodings finally clicked for me.

TIL that in Magit buffers, pressing \ (or M-x evil-collection-magit-toggle-text-mode) activates text-mode. This mode enables standard visual motions that are unavailable in Magit buffers.