2022-10-13

Published: Nov 01, 2022Last modified: Apr 05, 2023
Word count: 539

it'd be cool to add org-blog to clerk garden

(does this note trip b/c of the single quote?)

DONE clawe feature: open github for any workspace repo

Key win: m-x for opening any of your repos on github/gitlab

I already have m-x for creating, opening, introspecting workspaces It should include more workspace-specific options.

ex: open this repo on github.com

idea: impl 1 hour caching for neil latest-dep checks

I have a pretty close model in clawe/src/chess/core.clj

Seems like the important feature is making it easy to bust the cache, which seems fair enough to make easy, or even accidental.

we could even print that we're using the cache in the usual `neil` output

works, maybe?

adding a file watcher, yet again

tried rads/watch, but i need something in my repl

maybe it should be easier to call a fun in a running repl?

emacs can do it.

> emacs is repl-native

clerk/recompute! might have been exactly what i wanted in clawe-doctor's clerk impl

sometimes you find some code...

Came across this in clawe today. It's not really right, but it's worked for me for years!

(defn add-tz [inst]
  ;; TODO this is not really right...
  (if (t/instant inst)
    (t/in inst "America/New_York")
    inst))

clawe commit: 3b9b0a093a7e7fef6bc8e06dbd857b1639868348

nice lil bit of clojure with perhaps too much punctuation

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; export-mode
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defonce !export-mode (atom nil))
(defn export-mode? [] @!export-mode)
(defn toggle-export-mode [] (swap! !export-mode not))

(comment
  (not nil)
  (export-mode?)
  (toggle-export-mode))