Skip to content

Commit

Permalink
post: journal entry week starting 22 December 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Dec 29, 2024
1 parent f9ee2bc commit d993c50
Showing 1 changed file with 230 additions and 0 deletions.
230 changes: 230 additions & 0 deletions docs/posts/2024/december/22.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
---
title: Holiday stuffing
date: 2024-12-22
authors:
- practicalli
categories:
- practicalli
tags:
- emacs
- neovim
---


Feeling a little sick so binging on movies and shows on Apple TV+. On Monday afternoon Apple TV+ would not stream content (the play button disappeared) although I could browse the catalogue of shows. After several hours the play button came back, although contacting Apple support was quite pointless.

![Mooless Moo Plant bases stake and ale pie](https://optimise2.assets-servd.host/political-lechwe/production/Mooless-info.jpg?w=1600&h=904&q=82&fm=webp&fit=crop&dm=1681290833&s=8fc234ed1acd070f99e0a7b3ef95079c){align=right loading=lazy style="width:360px"}

A relaxing week trying out some new vegetarian and vegan meals. [Pieminister Mooless Moo pie](https://shop.pieminister.co.uk/products/mooless-moo/) is a plant based stake and ale pie, using jackfruit for the stake pieces. The pastry was lovely and crispy and the pie was very filling. The only downside to the pie for me was it was the taste and texture was too much like beef and I've never really liked that even when I did eat meat.

New potatoes, Edamame, Spinach and Garden Peas complement the pie, along with some very thick [Bisto Best Vegetable Gravy](https://www.bisto.co.uk/products/bisto-best-vegetable-gravy-granules-230g/) (I add way too many granules to make the gravy nice and thick).


<!-- more -->

## Emacs

After reinstalling the operating system on a computer a few months ago and only just realised I had not installed Emacs. An interesting sign that I have become very comfortable with [:fontawesome-solid-book-open: Neovim](https://practical.li/neovim).

Debian testing includes the [latest 29.4 release of Emacs](https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html#Releases).

I followed the [:fontawesome-solid-book-open: Practicalli Spacemacs install guide](https://practical.li/spacemacs/install-spacemacs/) and confirmed it was still up to date.

!!! NOTE "Emacs package information"

```shell
root@gkar:~# apt show emacs
Package: emacs
Version: 1:29.4+1-4
Priority: optional
Section: editors
Maintainer: Rob Browning <rlb@defaultvalue.org>
Installed-Size: 54.3 kB
Depends: emacs-gtk (>= 1:27.1) | emacs-pgtk (>= 1:27.1) | emacs-lucid (>= 1:27.1) | emacs-nox (>= 1:27.1)
Homepage: https://www.gnu.org/software/emacs/
Tag: devel::editor, role::dummy, role::metapackage, role::program,
suite::emacs, suite::gnu, use::editing
Download-Size: 18.5 kB
APT-Sources: http://deb.debian.org/debian trixie/main amd64 Packages
Description: GNU Emacs editor (metapackage)
GNU Emacs is the extensible self-documenting text editor.
This is a metapackage that will always depend on the latest
recommended Emacs variant (currently emacs-gtk).
```

!!! NOTE "Install Emacs Debian package and dependencies"

```shell
root@gkar:~# apt install emacs
The following packages were automatically installed and are no longer required:
libpaper1 linux-image-6.11.7-amd64
Use 'apt autoremove' to remove them.

Installing:
emacs

Installing dependencies:
emacs-bin-common emacs-el gsasl-common install-info libgsasl18 libm17n-0 libntlm0 libtree-sitter0 m17n-db mailutils-common
emacs-common emacs-gtk guile-3.0-libs libgccjit0 libgssglue1 libmailutils9t64 libotf1 libwebpdecoder3 mailutils

Suggested packages:
emacs-common-non-dfsg emacs-editing-major-modes m17n-docs mailutils-mh mailutils-doc

Summary:
Upgrading: 0, Installing: 20, Removing: 0, Not Upgrading: 16
Download size: 63.6 MB
Space needed: 253 MB / 11.0 GB available
```

The Emacs package recommends other supporting packages

??? INFO "Emacs core documentation"
```shell
root@gkar:~# apt show emacs-common-non-dfsg
Package: emacs-common-non-dfsg
Version: 1:29.4+1-1
Priority: optional
Section: non-free/editors
Source: emacs-non-dfsg
Maintainer: Rob Browning <rlb@defaultvalue.org>
Installed-Size: 5,322 kB
Depends: dpkg (>= 1.15.4) | install-info
Conflicts: emacs21-common-non-dfsg, emacs22-common-non-dfsg, emacs23-common-non-dfsg, emacs24-common-non-dfsg, emacs25-common-non-dfsg
Breaks: texinfo-doc-nonfree (<< 6.1.0-1)
Replaces: texinfo-doc-nonfree (<< 6.1.0-1)
Download-Size: 5,251 kB
APT-Sources: http://deb.debian.org/debian trixie/non-free amd64 Packages
Description: GNU Emacs common non-DFSG items, including the core documentation
This package includes the core Emacs documentation: the Emacs Info
pages, the Emacs Lisp Reference Manual, and the Emacs Lisp Intro.
```


??? INFO "Emacs editing modes"

```shell
root@gkar:~# apt show emacs-editing-major-modes
Package: emacs-editing-major-modes
Version: 1.1
Priority: optional
Section: editors
Source: emacs-addons-metapackages
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Installed-Size: 10.2 kB
Recommends: elpa-agda2-mode, elpa-apache-mode, elpa-ats2-mode, elpa-bazel-mode, elpa-bison-mode, elpa-bpftrace-mode, elpa-caml, elpa-clojure-mode, elpa-cmake-mode, elpa-csv-mode, elpa-dart-mode, elpa-debian-el, elpa-dockerfile-mode, elpa-dpkg-dev-el, elpa-elm-mode, elpa-fountain-mode, elpa-git-modes, elpa-gitlab-ci-mode, elpa-gnuplot-mode, elpa-go-mode, elpa-graphviz-dot-mode, elpa-haskell-mode, elpa-inform-mode, elpa-jinja2-mode, elpa-js2-mode, elpa-kivy-mode, elpa-kotlin-mode, elpa-lua-mode, elpa-markdown-mode, elpa-matlab-mode, elpa-meson-mode, elpa-muttrc-mode, elpa-nginx-mode, elpa-org, elpa-php-mode, elpa-pip-requirements, elpa-protobuf-mode, elpa-puppet-mode, elpa-qml-mode, elpa-racket-mode, elpa-rust-mode, elpa-scala-mode, elpa-sml-mode, elpa-systemd, elpa-vala-mode, elpa-web-mode, elpa-yaml-mode, gettext-el
Download-Size: 2,608 B
APT-Sources: http://deb.debian.org/debian trixie/main amd64 Packages
Description: All editing major modes for Emacs
This is a metapackage that recommends all Emacs major modes including
programming modes, configuration file modes, etc. Installing this
package enables Emacs to handle most well-known file formats for
file-editing, while also providing the flexibility for a user to
choose which they do or do not need.
```


## Practicalli Astro

The 2024-12-17 release included configuration to use a locally installed Clojure LSP server, rather than allow mason to manage the install.

The [Mason Registry](https://mason-registry.dev/registry/list) was updated to use the latest Clojure LSP server version, via [PR7896](https://github.com/mason-org/mason-registry/pull/7896). Usually the versions are automatically updated via the [renovate GitHub action](https://docs.renovatebot.com/modules/manager/github-actions/), although this time the PR did not pass the tests so was not automatically merged.

The maintainer updated and merged the PR manually.

Practicalli Astro was updated to comment the configuration that was added to `lua/plugins/user-practicalli.lua` to use a local install of Clojure LSP.


## Debian Tracker

[Tracker service](https://wiki.ubuntu.com/Tracker) indexes many types of files to enable discovery of files by other Gnome services and applications.

- [desktop search](https://wiki.ubuntu.com/IntegratedDesktopSearch)
- Tag database for keyword tagging
- Extensible metadata database to add custom metadata to files, e.g. rhythmbox, gedit, etc.
- Store First Class Objects and the Gnome 3.0 Model

> NOTE: when actively using Gnome desktop and Gnome apps, disabling the tracker may reduce functionality

### Disable the tracker service

The tracker service can be a significant drain on computer resources as it indexes files, especially when there have been a log of changes or for a newly installed system.

The tracker has many dependencies, so its not easy to remove the `tracker-miner-fs-3` package when actively using the Gnome desktop.

The recommended approach is to edit the `.desktop` files and add `Hidden=true` at the end of each tracker related file and reboot the operating system.

```config title="/etc/xdg/autostart/tracker-miner-fs-3.desktop"
[Desktop Entry]
Name=Tracker File System Miner
Comment=Crawls and processes files on the file system
Exec=/usr/libexec/tracker-miner-fs-3
Terminal=false
Type=Application
Categories=Utility;
X-GNOME-Autostart-enabled=false
X-GNOME-HiddenUnderSystemd=false
# X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
X-KDE-UniqueApplet=true
NoDisplay=true
OnlyShowIn=GNOME;KDE;XFCE;X-IVI;Unity;
X-systemd-skip=true
Hidden=true
```

If adding "Hiddent=true" is not sufficient, then disable the services for all users by setting them to `/dev/null` using the `systemctl` command.

```shell
sudo systemctl --global mask tracker-miner-fs-3.service
sudo systemctl --global mask tracker-xdg-portal-3.service
```


Remove the database of indexed files from each user account on the system

```shell
rm -rf $HOME/.cache/tracker*
```


## Movie reviews this week


### Luck - 2022

![Luck - movie from 2022](https://upload.wikimedia.org/wikipedia/en/6/6e/Luck_%282022%29_poster.png){align=right loading=lazy }

[Luck](https://en.wikipedia.org/wiki/Luck_(2022_film)) is a fun animated film. Sam is a very unlucky human who meets a very cute and lucky black cat called Bob, voiced by Sean Pegg. I wish I was as lucky as Bob the cat.

Sam feeds Bob some food and finds Bob's lucky penny.

Includes a nod to the Japanese obsession with the cat.

Bob was sent to Section A113 which is an [easter egg](https://en.wikipedia.org/wiki/A113) referencing the class room number used for character animation students as the California Institute of the Arts, where some of the Pixar team used to study.

Apple TV+

### Wolfs

Brad Pitt and George Clooney bouncing off each other perfectly. I really enjoyed this film and could watch again.

Apple TV+


### Constellation

Naoomi Rapace leads a very intriguing space drama that centers around an experiment to find 'other states of matter' and the effectives of that experiment. Essentially what happens when your life splits and you start living in a world that is not quite your own.



---
Thank you.

[:globe_with_meridians: Practical.li Website](https://practical.li){target=_blank .md-button}

[:fontawesome-brands-github: Practical.li GitHub Org](https://github.com/practicalli){target=_blank .md-button}
[:fontawesome-brands-github: practicalli-johnny profile](https://github.com/practicalli-johnny){target=_blank .md-button}

[:fontawesome-brands-mastodon: @practicalli@clj.social](https://clj.social/@practicalli){target=_blank .md-button}
[:fontawesome-brands-twitter: @practical_li](https://twitter.com/practcial_li){tar get=_blank .md-button}

0 comments on commit d993c50

Please sign in to comment.