# Tasks

## TODO Hand pick trackers for the generated torrents {#td-5cab66be-9f82-4d25-de87-fc6392c3b26f}
- TODO in 2022-06-04

## TODO Assert code blocks stick to atmost 80 columns {#td-75506021-884a-af77-ffbe-448816f70cc5}
- TODO in 2022-04-20

## TODO Detect linkrot {#td-dba2ff82-59b3-dd17-06a9-edbc9cffb264}
- TODO in 2022-04-13

## TODO Test robustness and responsiveness of HTML/CSS {#td-c76a7c83-20d2-a2cc-b48a-8499c6ca5b69}
- TODO in 2022-03-06

---

As described in <https://news.ycombinator.com/item?id=29519391>.

## TODO Serve over Gemini and/or Gopher too {#td-2fde23a6-1389-30fa-34ac-7d6750abf08a}
- TODO in 2022-03-06

## TODO Send patch to upstream `bmake` for bug on `$*` macro {#td-ca621da2-2e94-ae6f-0e3d-db744c00a656}
- TODO in 2021-11-21

---

From the standard:

```txt
$*      The $* macro shall evaluate to the current target name with its suf‐
        fix deleted. It shall be evaluated at least for inference rules.

        For example, in the .c.a inference rule, $*.o represents the out-of-
        date .o file that corresponds to the prerequisite .c file.
```

Given the Makefile:

```makefile
.POSIX:

.SUFFIXES: .x .y

.x.y:
        cp $< $*.y

all: a/b.y
```

`bmake` works correctly without flags, but behaves incorrectly with `-j1`:

```shell
$ mkdir a && touch a/b.x
$ make -j1
cp a/b.x b.y
$ make
cp a/b.x a/b.y
```

This impacts the upcoming `lilypond -o $name` command in the Makefile.

## TODO Remove `alt` from some icons {#td-d01a98aa-ef1e-cb21-8cba-7325d98b3db0}
- TODO in 2021-10-12

## TODO Use CSS validator {#td-bedfe310-4308-6160-0c63-78fa216b6ee1}
- TODO in 2021-10-12

---

<https://jigsaw.w3.org/css-validator/>

## TODO Add JID alongside email {#task-089dca19-14e2-e1c1-6a47-9af6ab8eb42a}
- TODO in 2021-09-05

## TODO Generate Opus for podcast {#task-93510453-111f-9b1f-575f-ca8c7c05883c}
- TODO in 2021-06-07

## TODO Podcast metadata: copy GNU World Order {#task-7b0aeb8d-282b-7ebf-4c5f-65c6cac1f0a1}
- TODO in 2021-06-07

## TODO Improve CSS of navigation bar {#task-ddd3795b-fd89-4d68-a78b-6adcb4702f92}
- TODO in 2021-02-21

---

It doesn't resize well for small screens, and links are too small and close to each other.

## TODO Screencasts: Use scriptreplay and asciinema {#task-98a68a93-1294-4283-a78f-9b7f1150c729}
- TODO in 2021-02-11

## TODO Add hunspell dictionaries {#task-67783646-ef33-488b-a1d2-3ecd0b12dbb3}
- TODO in 2021-02-11

## TODO Shrink size of links at the end of slides {#task-7a53af07-57bf-4684-97c5-af43279848c0}
- TODO in 2021-02-11

## TODO Add torrent for audio in `music-listing.html` {#task-aa314475-6a19-48fe-a752-7c479ad26be2}
- TODO in 2021-01-03

## TODO Investigate the ICE STUN/TURN servers used by WebTorrent {#task-c7e75b41-d86e-423b-b4a1-7d193c3a6ef1}
- TODO in 2021-01-07

---

Depending on the provider, maybe host my own, like
[coturn](https://github.com/coturn/coturn).

## DONE Add page to listen an watch files with WebTorrent {#task-e5d2be9d-6471-40ba-a2d3-c7bc482bfaba}
- TODO in 2020-12-23

## DONE Use SVG favicon {#task-29f1bded-3a56-410b-933d-e6a11f47656a}
- DONE in 2020-12-27

  Link (with `<link />` tag) to SVG favicon inside of `<head>` isntead
  of converting from SVG to ICO.
- TODO in 2020-12-24

---

Taken from <https://news.ycombinator.com/item?id=25520655>:

```shell
$ inkscape -o icon-48x48.png -w 48 -h 48 icon.svg
$ convert icon-48x48.png favicon.ico
```

## DONE Add webtorrent-hybrid daemon {#task-1a2f5619-5d55-449f-a401-8c87afd5bea9}
- DONE in 2020-12-28

  Instead of a daemon, added ~/archive/torrent/ as a watch directory
  to Transmission. It doesn't work with WebRTC (yet), so Transmission
  will only upload to other TCP nodes.
- TODO in 2020-12-24

## DONE Assert media files have metadata {#task-8d8a9202-97d4-4c43-b042-15fd5c95da65}
- DONE in 2020-12-28

  Audio done in
  [`e07ff2a1928be00bb7f7eb7fc82c8447a581c58f`](https://euandre.org/git/euandre.org/commit/?id=e07ff2a1928be00bb7f7eb7fc82c8447a581c58f),
  and video done in
  [`9bd53de5a956c34f9ef41695e878bdd4b3df1697`](https://euandre.org/git/euandre.org/commit/?id=9bd53de5a956c34f9ef41695e878bdd4b3df1697).

- TODO in 2020-12-27

## DONE Fix play of videos with WebTorrent {#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0}
- DONE in 2020-12-28

  Done when moved to WebM. Firefox gives an error when loading the
  file directly, and a different error when loading with WebTorrent.
  I'll call this a Firefox error, since Chromium was able to play the
  video on both, since both the file creation and serving are pretty
  straighforward.

  When loading the file directly, Firefox says with `console.warn()`:

  ```
  Media resource https://euandre.org/screencast/2020/12/24/sample-screencast.webm could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004)
  Details: virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<46465650>::DoDecode(mozilla::MediaRawData*, uint8_t*, int, bool*, mozilla::MediaDataDecoder::DecodedData&): avcodec_send_packet error: -1
  ```

  When loading with WebTorrent, Firefox says with `console.error()`:

  ```
  Uncaught Error: XDR encoding failure
  ```

- TODO in 2020-12-28

---

Ressurect the WebM file when experimenting with:

```shell
$ git revert 2beab5441b4fcddc849cfc44b99547d49593691d
```

## TODO Add test for duplicate IDs in the same HTML page {#b9661c53-6699-6e52-0541-77dd9a9face8}
- TODO in 2025-04-16

---

# Bugs

# Improvements

# Questions

# Resources

## For bitmat images compression:

- <https://github.com/hbldh/hitherdither>

# Scratch


Future-proof wesite (and also later software):
- commit directly most derived data, such as torrent files, ogg media, SVG from graphviz input, etc., so that the absence of those tools don't impede the generation of existing pages of the website.

FIXMEs:
- `date -d` isn't POSIX: simple replacement
- translation not coming from english (like pt -> fr)
- shrink CSS

Mobile-friendly tables:
https://many.pw/

https://news.ycombinator.com/item?id=36739920


CSS from https://news.ycombinator.com/item?id=32972004

add link to archived versions
