From 283cdb92940db698b489b81ce1cd590cce7bd674 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 28 Nov 2026 22:34:14 -0500 Subject: dashboard thoughts --- 2026/organizers-notebook/index.org | 72 +++----------------------------------- 1 file changed, 4 insertions(+), 68 deletions(-) (limited to '2026/organizers-notebook/index.org') diff --git a/2026/organizers-notebook/index.org b/2026/organizers-notebook/index.org index d9281b8d..6ebcb1d9 100644 --- a/2026/organizers-notebook/index.org +++ b/2026/organizers-notebook/index.org @@ -1082,74 +1082,10 @@ emacsconf-publish-youtube-step-through-publishing - Monitoring stream health: gen, gen-480, dev, dev-480, YouTube gen, YouTube dev - https://live0.emacsconf.org/emacsconf/status-json.xsl - Should the monitoring live in Emacs, or be handled outside? Let's do it in Emacs for now. -[[ok:(shell-command "~/bin/focus-or-launch mpv-gen &")][gen 0/2]] [[ok:(shell-command "~/bin/focus-or-launch mpv-gen-480p &")][gen-480p 0/0]] [[error:(message "%s is not working" "dev")][dev]] [[error:(message "%s is not working" "dev-480p")][dev-480p]] -#+begin_src emacs-lisp -(with-eval-after-load 'org - (org-link-set-parameters "error" :face 'compilation-error :follow 'org-link--open-elisp) - (org-link-set-parameters "ok" :face 'org-agenda-dimmed-todo-face :follow 'org-link--open-elisp)) - -(defvar emacsconf-icecast-stats-url "https://live0.emacsconf.org/emacsconf/status-json.xsl") -(defvar emacsconf-icecast-stats nil) -(defvar emacsconf-icecast-streams - '("gen" - "gen-480p" - "dev" - "dev-480p") - "Streams expected.") - - -(defvar emacsconf-icecast-stats-frequency-seconds 60) -(defun emacsconf-icecast-format-stats () - "Format `emacsconf-icecast-stats'." - (if emacsconf-icecast-stats - (concat - (if (time-less-p (time-subtract (current-time) (car emacsconf-icecast-stats)) - (seconds-to-time (* 2 emacsconf-icecast-stats-frequency-seconds))) - "" - (concat - (org-link-make-string "error:(emacsconf-icecast-stats)" "STALE") - " ")) - (mapconcat - (lambda (id) - (if-let ((entry - (seq-find - (lambda (o) - (string= (file-name-base (alist-get 'listenurl o)) - id)) - (cdr emacsconf-icecast-stats)))) - (org-link-make-string - (format "ok:(shell-command \"~/bin/focus-or-launch mpv-%s &\")" - id) - (format "%s %d/%d" - id - (alist-get 'listener entry 0) - (alist-get 'listener_peak entry 0))) - (org-link-make-string - (format "error:(message \"%%s is not working\" \"%s\")" id) - id))) - emacsconf-icecast-streams - " ")) - (org-link-make-string "error:(emacsconf-icecast-stats)" "NO DATA"))) - -;; (insert (emacsconf-icecast-format-stats)) - -(defvar emacsconf-stats-sync nil) -(defun emacsconf-icecast-stats () - "Retrieve stats." - (interactive) - (let ((json-array-type 'alist) - (json-object-type 'alist)) - (request "https://live0.emacsconf.org/emacsconf/status-json.xsl" - :parser #'json-read - :sync emacsconf-stats-sync - :success - (cl-function - (lambda (&key data &allow-other-keys) - (setq emacsconf-icecast-stats - (cons (current-time) - (alist-get 'source (alist-get 'icestats data))))))))) -h -#+end_src + - seeing chat, jumping to chat + +[[emacsconf-el:emacsconf-dashboard.el]] + * Decisions :PROPERTIES: :CUSTOM_ID: decisions -- cgit v1.2.3