A blog about everything, by Jack Baty

Wednesday, January 24, 2024

Hooboy, what am I doing here?

Let’s face it, I’ll never be able to consolidate my stuff into a single (or even two) websites. Just this morning I’ve posted here in Blot, and at baty.net (Kirby), and at daily.baty.net (Tinderbox), and at wiki.baty.net (TiddlyWiki), and at my new unannounced WordPress blog. I like playing with the software related to blogging more so than actually writing. So be it.

Sometimes I just want to type stuff

Have you ever been blogging with some new tool or another and then almost accidentally visited one of your old ones? I just did that with my Blot blog, so I thought I’d make a quick new post just to blow the dust off.

This is an Org-mode file

Will it work? It’s a bold experiment

Creating Blot Journal entries using Emacs

Here’s the function I just wrote for creating new Journal entries in Blot:

;; Create Blot Journal post
(defun jab/blot-new-journal ()
  "Create and visit a new draft journal post in Blot"
  (let* ((default-directory (concat "~/Dropbox/Apps/Blot/[Journal]/"
                                    (format-time-string "%Y/%m-%B/")))
         (fpath (concat default-directory (format-time-string "%Y-%m-%d-") "journal.md")))
    ;; If folder doesn't exist, create it
    (make-directory default-directory)

    ;; I use YAML metadata in Blot, even though it's not required.
    (write-region (concat
                   "\ntitle: '" (format-time-string "%A, %B %d, %Y") "'"
                   "\ndate: " (format-time-string "%Y-%m-%d %H:%M:%S %z")
                   "\ntags: [\"\"]"
                   "\nsummary: "
                   "\ndraft: Yes"
           "# " (format-time-string "%A, %B %d, %Y"))
                  nil (expand-file-name fpath) nil nil nil t)
    (find-file (expand-file-name fpath))))

I could tidy and DRY that up, but it works.

Wednesday, October 04, 2023

I wrote a lisp function for creating Journal entries in Blot. You know, just in case.

The thing about using Tinderbox as my daily notes blog is that each entry becomes its own post. With other tools, each entry is just another paragraph for the day’s note. Everything is in one bucket…one RSS entry. If I publish early in the day, only part of that day’s notes are included in the feed. I don’t love this.

Oh cool, toilet has been leaking.

Leaky toilet falloutLeaky toilet fallout

Tuesday, October 3, 2023

Thinking about what it was like to do daily notes in Blot. Now I don’t remember why I stopped, but I’m sure it’ll come back to me.