Cloister bell alert notification from Dunst in Guix

Intro In Guix with EXWM I use Dunst for a system alert system. I got my Dunst to have a default audio alert so that when alerts fire, regardless of which of my three monitors I am looking at, I can hear a modest alert noise. I chose the Tardis cloister bell1, a favorite audio of mine. 1. Acquire the sound I located the sound I want on Soundcloud1 and then used one of the several online SoundCloud downloaders2 to grab the file, which came down as an mp3.

project local PostGres on GUIX with Clojure JDBC (2022)

Intro 🖼1 There are several copy-pasted articles2 out there on setting up project-local postgres instances. Which one came first or whether they are both copies of another, I don’t know; but in any case, I found the goals good, and was enlightened by the concept. There are several technical errors, but they served to get the juices flowing. I am using the Postgres software version I got from GUIX, which is postgres 14.

Apache websocket setup

Intro The need was to make sure that our apache was able to communicate with our Sente1 Apache config To the apacheconfig, under the :443 section (https) # Trying websockets here, c/o RewriteEngine On RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteRule /(.*) ws://127.0.0.1:8080/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket [NC] RewriteRule /(.*) http://127.0.0.1:8080/$1 [P,L] # END websockets Server shell, enabling the apache modules /sudo:root@devflats:/ $> a2enmod proxy_wstunnel # Considering dependency proxy for proxy_wstunnel: # Module proxy already enabled # Enabling module proxy_wstunnel.

Why does this command not print sometimes?

Problem: emacs isn’t passing on the command output My command doesn’t write when it’s executed by a keystroke or by `M-x`, but it does when I just evaluate it with `C-x C-e`. Nonetheless, both command actually WORK – they just don’t print. Why? (defun tsa/change-volume (amount-str) (interactive) (shell-command (concat "pactl set-sink-volume 0 " amount-str)) (shell-command-to-string "pactl get-sink-volume 0") ; "Volume: front-left: 55865 / 85% / -4.16 dB, front-right: 55865 / 85% / -4.

mcron stops and then insufficient permissions?

Problem: my MCRON process stops and I don’t know how to check/restart it Sometimes, usually after coming back from suspend or starting a new session without rebooting, my “check mail every 5 minutes” mcron has stopped running and I have to execute the script manually. Does anyone know why it might stop, and how I can check if it’s running right now? I attempted to start it as follows, but I get a strange cannot read error.

REST is better data-oriented

How Did REST Come To Mean The Opposite of REST In the essay “How Did REST Come To Mean The Opposite of REST?“1 the author advocates for what he explains as the original notion of REST output, as distinct from HTTP requests. He probably favors XML, too, for its self-documenting features. This article immediately ran counter to my principles, though: in particular, by combining data and display he runs counter to the separation of content and display that has made CSS good.

How to iterate through all alphabet letters in ClojureScript?

Problem: JavaScript doesn’t have “chars” EDIT [2022-07-19 Tue] no-interop solution from In languages with an integer-based Char datatype, such as C and Java and probably by inheritance JVM Clojure, you could iterate through characters by the equivalent of (+ \A 1). JS doesn’t have chars though; only strings. Is there a nice way out-of-the-box to iterate through the characters of the alphabet, perhaps just in one case? I mean, obviously we could create a collection that contains all the letters we want, but is that already done somewhere?

Stop find-file from ignoring .git

Intro This wasn’t always the case, but I find that now emacs is ignoring some files when I do find-file. The most annoying example is .git not appearing, although I can navigate through it if I type it fully. This seems to happen whether I am using my vertico for find-file, or if I disable vertico and try using tab-completion in a raw find-files. How can I find out what is being ignored, and change/disable it?

auctex on guix

File mode specification error: (error Autoloading file ~/emacs/.emacs.d/straight/build/auctex/tex.elc failed to define function tex) Based on attempts I made to copy solutions from other examples in issues on the github repo1, I had this (which seems to have worked fine in older versions of straight) (use-package tex :straight `(auctex :local-repo ,(tsa/wrap-guix-profile "auctex-13.1.3")) ;; this just says to use the version I downloaded from guix, since it did all the system config :mode "\\.

pdflatex not an option anymore in TeX-command-list

Problem: in .tex files the pdflatex compile option was gone For years I built tex into pdf with pdflatex; I just hit C-c C-c and there it was. But now having just rebuilt my system with Guix, I find that pdflatex isn’t on the list of compilation commands. This is despite the fact that the command pdflatex works from the commandline. Does anyone know where it went in auctex, and how to get it back?