April 27th 2026 - Reading Summary

The Hobbit

The golden ring

Bilbo asks Gollum to guess what is in his pocket. Gollum asks for 3 attempts but, of course, is not able to guess correctly. Bilbo then tells him to keep his end of the bargain so Gollum says he needs go grab some things that will help them on their way out.

Gollum searches for a golden ring that is able to turn him invisible. He uses it for hunting sometimes too. But then Gollum starts to yell.

The Eye of the World

Who is this Dragon

They question the peddler about the identity of the Dragon. He says he was told this Dragon can wield the One Power, make walls fall with a shout, control lightning. We learn that the Aes Sedai are the only ones powerful enough to defeat him.

The Council takes the peddler into the inn, away from the crowd, to question him some more.

Atomic Habits

Finding where to stack habits

An idea for figuring out where to stack habits is to make two lists.

The first list is things you do every day without fail:

  • Wake up
  • Open your laptop for work
  • Brush your teeth

And things that happen without fail:

  • Your alarm rings
  • The episode you were watching ends
  • The sun sets

You can then insert habits after these triggers.

Prot's Elisp Book

Chapter 11 - Hooks and the advice mechanism

  • What are hooks

    A hook is a list of functions that run for major and minor modes when the hook is run. Most of these functions are called without parameters.

  • How to add hooks

    Example of how to add a hook. t is used as a local flag:

    ;; Add globally
    (add-hook 'text-mode-hook #'visual-line-mode)
    
    ;; Add locally
    (add-hook 'text-mode-hook #'some-function nil t)
    
  • How to remove hooks

    Example of how to remove a hook. t is used as a local flag:

    ;; Remove globally
    (remove-hook 'hl-line-mode-hook #'some-function)
    
    ;; Remove locally
    (remove-hook 'hl-line-mode-hook #'some-function t)
    
  • Hooks with parameters

    Some hooks, called abnormal hooks, take parameters. We can call these with:

    (run-hook-with-args 'hook-functions param1 param2...)