aboutsummaryrefslogtreecommitdiff
path: root/TODOs.md
blob: d2f60f22086076ea6581178639729040c1203efd (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# Tasks

## TODO Improve workflow when adding media/breaking build with Git Annex symlink {#task-d3300610-6c8e-4681-8ccb-a516b0f57d2a}
- TODO in 2021-02-07

## TODO Add "view source" link to pages {#task-335bf01c-5549-4a5a-9ad1-7e5b68f12cb6}
- TODO in 2021-02-05

---

Point to the source code on the Git repository.

## TODO Update "remembering" link {#task-b60b2559-e1e1-4f60-8e20-b919ebf1da43}
- TODO in 2021-01-26

## TODO Move to LilyPond 2.22.0 {#task-34d239aa-8984-4b34-9c6e-1cc2ca8d49fc}
- TODO in 2021-01-12

## DONE `dengoso.ly` [9/9] {#task-95ac1eec-1a56-47cb-b7ad-8cadf5737323}
- DONE in 2021-01-03
- TODO in 2021-01-01

---

- [X] use "<quarter> = 100" over "Andante moderato for `meter`
- [X] turn `cWithSlash` into a function
- [X] move `pestana=` into shared `pestana.ly`
- [X] ~~use fret-number over roman string on `pestana #"II" { }`~~
- [X] `6 to D` on beginning of the song
- [X] share notes between voices
- [X] add string markers
- [X] pestana over rests (measure 42)
- [X] handle optional sharp on measure 77

## TODO `choro-da-saudade.ly` [0/2] {#task-04afbdc0-4e2c-4176-b7c3-0c04087c09a8}
- TODO in 2021-01-03

---

- [ ] Make `D.S. al Coda` appear in MIDI

  ```lilypond
  bar ".."^markup { D.S. al Coda }
  cadenzaOn
  stopStaff
  once override TextScript.extra-offset = #'(0 . -3)
  <>^markup { D.S. al Coda }
  repeat unfold 3 {
    s1
    bar ""
  }
  cadenzaOff
  startStaff
  ```

## TODO `marcha-dos-marinheiros.ly` {#task-bbc19f19-ca4f-4cbf-bc4d-e119ad06deef}
- TODO in 2021-01-03

## DONE Embed LilyPond source code in PDF and audio {#task-340da973-622c-45d6-8d3c-7db839586517}
- DONE in 2021-01-03

  Done in 
	[`bff2b07922272fd4c8f9ee0a7129d0a7c134dd38`](https://git.euandreh.xyz/website/commit/?id=bff2b07922272fd4c8f9ee0a7129d0a7c134dd38).
- TODO in 2021-01-03

---

Use the `embed-source-code` options:

```scheme
#(ly:set-option 'embed-source-code #t)
```

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

---

Torrent for PDF, too?

## 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 Generate `favicon.ico` from `favicon.svg` {#task-720e79b4-9e38-41c6-9958-cdadd67d2298}
- DONE in 2021-01-03

  Done in 
	[`433428cf6b4ef8a653f349e0a0d1fa0d10aab1e7`](https://git.euandreh.xyz/website/commit/?id=bff2b07922272fd4c8f9ee0a7129d0a7c134dd38).
- TODO in 2021-01-01

## DONE Move `assert-content.sh` to Ruby {#task-a7b6b371-100c-48f4-a448-bfa39f88efce}
- DONE in 2020-12-24
- TODO in 2020-12-23

---

Asserts will be faster since things will be already in memory.

Should the generator for the torrents put the torrent files in the
source tree? Are torrents source files or build artifacts?

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

## DONE Add "web" Git Annex remote support {#task-c41d11b0-4235-4e8c-8e2b-bbbec7ee5c0b}
- DONE in 2020-12-27

  Done in 
	[`56da1a73ac0c211fbb14447b9175660d6757e795`](https://git.euandreh.xyz/website/commit/?id=56da1a73ac0c211fbb14447b9175660d6757e795).
- 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 Create screencasts collection {#task-fb8e4ad8-7c8b-4b62-a4f2-5f16f84ec7e6}
- DONE in 2020-12-24
- TODO in 2020-12-24

## 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 Simplify `link-listing.html` by not requiring `entries` {#task-28dd5b16-1e32-42d4-960e-27a8725fe0b9}
- DONE in 2020-12-24
- TODO in 2020-12-24

## DONE Use `.mkv` over `.webm` for embedding subtitles {#task-6587304c-ee0d-4f40-b046-48de94d00629}
- DONE in 2020-12-28

  I didn't find the issues with web browsers easier to deal with
  using WebM files. I'll keep MKV and investigate further later.

  See also 
	[`#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0`](#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0).

- CANCELLED in 2020-12-28

  WebM is more web friendly than MKV. Right now there is no support
  for subtitles, only translated screencasts.

- DONE in 2020-12-24
- TODO in 2020-12-24

## DONE Make media path the same as the show notes path {#task-7535169e-715e-409b-88c3-78c4bb482d95}
- DONE in 2020-12-28

  Done in
	[`4d7a8207ee0931a157904cc58255d1950fa46178`](https://git.euandreh.xyz/website/commit/?id=4d7a8207ee0931a157904cc58255d1950fa46178).
- TODO in 2020-12-27

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

  Audio done in
	[`e07ff2a1928be00bb7f7eb7fc82c8447a581c58f`](https://git.euandreh.xyz/website/commit/?id=e07ff2a1928be00bb7f7eb7fc82c8447a581c58f),
	and video done in 
	[`9bd53de5a956c34f9ef41695e878bdd4b3df1697`](https://git.euandreh.xyz/website/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
```

# Bugs

# Improvements

## TODO `dengoso.ly` [0/1] {#improvement-fd989cc2-b638-4943-8109-b8e3cac0aae1}
- TODO in 2021-01-03

---

- [ ] measures 21~24: map previous notes, removing fingering notation instead of repeating notes

## TODO Music sources {#improvement-610ed926-cc5e-418a-b046-27f4c4862d0d}
- TODO in 2021-01-04

[Barrios](https://imslp.org/wiki/Category:Barrios_Mangor%C3%A9,_Agust%C3%ADn)
(public domain),
[Villa-Lobos](https://imslp.org/wiki/Category:Villa-Lobos,_Heitor)
(public domain in 2030) and Garoto (public domain in 2026)

# Questions

## DONE Why insist on having `.ogg` files, but not the same for video? {#question-8203fbce-be76-4cc3-a62a-15f91bf22051}
- DONE in 2020-12-24
- TODO in 2020-12-24

---

Because of subtitle embedding.

# Resources

## For bitmat images compression:

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

# Scratch

generate pdf of slides 
generate opus for podcast 
podcast metadata: copy GNU World Order

Add assert-todos.sh to tests.sh