Skip to content

Instantly share code, notes, and snippets.

View jwiegley's full-sized avatar

John Wiegley jwiegley

View GitHub Profile
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
org-element--headline-deferred((headline ...))
apply(org-element--headline-deferred (headline ...) nil)
org-element--property(:deferred (headline ...) nil force-undefer)
org-element--property(:ID (headline ...) nil nil)
#<subr org-element--cache-verify-element>((headline ...))
apply(#<subr org-element--cache-verify-element> (headline ...))
org-element--cache-verify-element((headline ...))
org-element-at-point(nil cached)
org-before-first-heading-p()

HABIT ✶ Vacuum pool

PARA and the value of meaningful distinctions

There have been many trends in the data and task management world, from day planners, to GTD, to bullet journals, to the PARA method – and many more. This article takes a look at PARA in particular, but also pulls back a bit as to why these various systems keep popping up, what values they offer, and why we will keep seeing new such systems for a long time to come.

The starting point is the same for everyone: We have a sea of knowledge that we want to – or have to – work with, that quickly exceeds the capacities of

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
set-buffer(nil)
(save-current-buffer (set-buffer (let ((idx (or 14 14))) (let* ((parray (and t (and idx ...)))) (if parray (let* ((val ...)) (if (eq val ...) 'nil (let ... val))) (let* ((val ...)) (cond (... ...) (... ...) (t ...))))))) (save-excursion (save-restriction (widen) (let* ((value (let (... ...) (if contents-begin ...)))) (if (eq (org-element-type element t) 'plain-text) (org-add-props element nil :robust-begin value) (let ((parray ...)) (if parray (progn ...)) element))) (let* ((value (let (... ...) (if contents-end ...)))) (if (eq (org-element-type element t) 'plain-text) (org-add-props element nil :robust-end value) (let ((parray ...)) (if parray (progn ...)) element))) (if (let ((idx (or 12 12))) (let* ((parray ...)) (if parray (let* ... ...) (let* ... ...)))) nil (if (eq (org-element-type element t) 'plain-text) (org-add-props element nil :robust-begin nil) (let ((parray ...)) (if parray (progn ...)) element))) (goto-char (org
@jwiegley
jwiegley / OSS.org
Last active October 10, 2024 17:42

Description of SPI (service provider interface) methods:

API functionMeaning
org-habit-pIs the item at POS a habit?
org-habit-eventsList of all completions since TIMESTAMP
org-habit-successful-pNearest completion to TIMESTAMP, or nil
May be bounded within an implied time frame
org-habit-earliestWhat is the earliest “next completion” time?
org-habit-latestWhat is the latest “next completion” time?
/nix/store/jiljqs6ki27k1ps6895gp201aprrw35a-ghc-shell-for-packages-ghc-9.6.5-env/bin/ghc \
-v9 \
-dshow-passes \
-fbuilding-cabal-package \
-static \
-dynamic-too \
-outputdir /home/johnw/argument/chainweb-node/dist-newstyle/build/x86_64-linux/ghc-9.6.5/chainweb-2.25.1/build \
-odir /home/johnw/argument/chainweb-node/dist-newstyle/build/x86_64-linux/ghc-9.6.5/chainweb-2.25.1/build \
-hidir /home/johnw/argument/chainweb-node/dist-newstyle/build/x86_64-linux/ghc-9.6.5/chainweb-2.25.1/build \
-stubdir /home/johnw/argument/chainweb-node/dist-newstyle/build/x86_64-linux/ghc-9.6.5/chainweb-2.25.1/build \
(defun org-extra-columns--capture-view
(maxlevel match skip-empty exclude-tags format local)
(org-columns (not local) format)
(goto-char org-columns-top-level-marker)
(let ((columns (length org-columns-current-fmt-compiled))
(has-item (assoc "ITEM" org-columns-current-fmt-compiled))
table)
(org-map-entries
(lambda ()
(when (get-char-property (point) 'org-columns-key)
{
description = "A devShell example";
inputs = {
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
haskellNix.url = "github:input-output-hk/haskell.nix";
rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils";
};
# This Python code translates the Haskell code into idiomatic Python, using
# features like dataclasses, pattern matching (using the =match= statement
# introduced in Python 3.10), and type hints.
#
# The main changes made in the Python version are:
#
# 1. Using dataclasses instead of Haskell's record syntax for defining data
# types.
# 2. Implementing algebraic data types using Python's class inheritance and
# the =|= operator for union types.
Analysis of sampling IDimagerSU (pid 6745) every 1 millisecond
Process: IDimagerSU [6745]
Path: /Applications/Photo Supreme.app/Contents/MacOS/IDimagerSU
Load Address: 0x109fc0000
Identifier: com.idimager.idimagersu
Version: 2024.2.2 (6605)
Code Type: X86-64
Platform: macOS
Parent Process: ??? [1]