Microblog Posts

1763127234

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)
        
read more →

1760213248

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.

read more →

1759668366

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

read more →

1759417306

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.

read more →