aboutsummaryrefslogtreecommitdiff
path: root/TODOs.org
blob: fd014d5471809fe4948255cbb46e858bf0b6e6b1 (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
* Tasks
:PROPERTIES:
:CUSTOM_ID: tasks
:END:
** TODO Move to LilyPond 2.22.0
:PROPERTIES:
:CUSTOM_ID: 34d239aa-8984-4b34-9c6e-1cc2ca8d49fc
:END:
- State "TODO"       from              [2021-01-12 mar. 17:44]
** DONE =dengoso.ly= [9/10]
CLOSED: [2021-01-03 dim. 12:46]
:PROPERTIES:
:CUSTOM_ID: 95ac1eec-1a56-47cb-b7ad-8cadf5737323
:END:
- State "DONE"       from "TODO"       [2021-01-03 dim. 12:46]
- State "TODO"       from              [2021-01-01 ven. 22:23]

- [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]
:PROPERTIES:
:CUSTOM_ID: 04afbdc0-4e2c-4176-b7c3-0c04087c09a8
:END:
- State "TODO"       from              [2021-01-03 dim. 15:34]

- [ ] Make =D.S. al Coda= appear in MIDI
  #+BEGIN_SRC 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
  #+END_SRC
** TODO =marcha-dos-marinheiros.ly= [/]
:PROPERTIES:
:CUSTOM_ID: bbc19f19-ca4f-4cbf-bc4d-e119ad06deef
:END:
- State "TODO"       from              [2021-01-03 dim. 19:26]
** DONE Embed LilyPond source code in PDF and audio
CLOSED: [2021-01-03 dim. 21:49]
:PROPERTIES:
:CUSTOM_ID: 340da973-622c-45d6-8d3c-7db839586517
:END:
- State "DONE"       from "TODO"       [2021-01-03 dim. 21:49] \\
  Done in {{{commit(bff2b07922272fd4c8f9ee0a7129d0a7c134dd38)}}}.
- State "TODO"       from              [2021-01-03 dim. 12:46]

Use the =embed-source-code= options:
: #(ly:set-option 'embed-source-code #t)
** TODO Add torrent for audio in =music-listing.html=
:PROPERTIES:
:CUSTOM_ID: aa314475-6a19-48fe-a752-7c479ad26be2
:END:
- State "TODO"       from              [2021-01-03 dim. 12:46]

Torrent for PDF, too?
** TODO Investigate the ICE STUN/TURN servers used by WebTorrent
:PROPERTIES:
:CUSTOM_ID: c7e75b41-d86e-423b-b4a1-7d193c3a6ef1
:END:
- State "TODO"       from              [2021-01-07 jeu. 13:36]

Depending on the provider, maybe host my own, like [[https://github.com/coturn/coturn][coturn]].
** DONE Generate =favicon.ico= from =favicon.svg=
CLOSED: [2021-01-03 dim. 21:33]
:PROPERTIES:
:CUSTOM_ID: 720e79b4-9e38-41c6-9958-cdadd67d2298
:END:
- State "DONE"       from "TODO"       [2021-01-03 dim. 21:33] \\
  Done in {{{commit(433428cf6b4ef8a653f349e0a0d1fa0d10aab1e7)}}}.
- State "TODO"       from              [2021-01-01 ven. 22:38]
** DONE Move =assert-content.sh= to Ruby
CLOSED: [2020-12-24 jeu. 18:47]
:PROPERTIES:
:CUSTOM_ID: a7b6b371-100c-48f4-a448-bfa39f88efce
:END:
- State "DONE"       from "TODO"       [2020-12-24 jeu. 18:47]
- State "TODO"       from              [2020-12-23 mer. 01:30]

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
CLOSED: [2020-12-24 jeu. 14:10]
:PROPERTIES:
:CUSTOM_ID: e5d2be9d-6471-40ba-a2d3-c7bc482bfaba
:END:
- State "DONE"       from "TODO"       [2020-12-24 jeu. 14:10]
- State "TODO"       from              [2020-12-23 mer. 02:25]
** DONE Add "web" Git Annex remote support
CLOSED: [2020-12-27 dim. 22:04]
:PROPERTIES:
:CUSTOM_ID: c41d11b0-4235-4e8c-8e2b-bbbec7ee5c0b
:END:
- State "DONE"       from "TODO"       [2020-12-27 dim. 22:04] \\
  Done in {{{commit(56da1a73ac0c211fbb14447b9175660d6757e795)}}}.
- State "TODO"       from              [2020-12-23 mer. 02:26]
** DONE Use SVG favicon
CLOSED: [2020-12-27 dim. 14:00]
:PROPERTIES:
:CUSTOM_ID: 29f1bded-3a56-410b-933d-e6a11f47656a
:END:
- State "DONE"       from "TODO"       [2020-12-27 dim. 14:00] \\
  Link (with =<link />= tag) to SVG favicon inside of =<head>= isntead of
  converting from SVG to ICO.
- State "TODO"       from              [2020-12-24 jeu. 10:36]

Taken from https://news.ycombinator.com/item?id=25520655:
#+BEGIN_SRC shell
$ inkscape -o icon-48x48.png -w 48 -h 48 icon.svg
$ convert icon-48x48.png favicon.ico
#+END_SRC
** DONE Create screencasts collection
CLOSED: [2020-12-24 jeu. 14:13]
:PROPERTIES:
:CUSTOM_ID: fb8e4ad8-7c8b-4b62-a4f2-5f16f84ec7e6
:END:
- State "DONE"       from "TODO"       [2020-12-24 jeu. 14:13]
- State "TODO"       from              [2020-12-24 jeu. 10:37]
** DONE Add webtorrent-hybrid daemon
CLOSED: [2020-12-28 lun. 22:59]
:PROPERTIES:
:CUSTOM_ID: 1a2f5619-5d55-449f-a401-8c87afd5bea9
:END:
- State "DONE"       from "TODO"       [2020-12-28 lun. 22:59] \\
  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.
- State "TODO"       from              [2020-12-24 jeu. 10:38]
** DONE Simplify =link-listing.html= by not requiring =entries=
CLOSED: [2020-12-24 jeu. 14:25]
:PROPERTIES:
:CUSTOM_ID: 28dd5b16-1e32-42d4-960e-27a8725fe0b9
:END:
- State "DONE"       from "TODO"       [2020-12-24 jeu. 14:25]
- State "TODO"       from              [2020-12-24 jeu. 11:09]
** DONE Use =.mkv= over =.webm= for embedding subtitles
CLOSED: [2020-12-24 jeu. 18:49]
:PROPERTIES:
:CUSTOM_ID: 6587304c-ee0d-4f40-b046-48de94d00629
:END:
- State "DONE"       from "CANCELLED"  [2020-12-28 lun. 12:43] \\
  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 {{{bug(9d75fe3a-b7e5-4cc5-9300-1054c7e981c0)}}}.
- State "CANCELLED"  from "DONE"       [2020-12-28 lun. 11:01] \\
  WebM is more web friendly than MKV. Right now there is no support for subtitles,
  only translated screencasts.
- State "DONE"       from "TODO"       [2020-12-24 jeu. 18:49]
- State "TODO"       from              [2020-12-24 jeu. 13:15]
** DONE Make media path the same as the show notes path
CLOSED: [2020-12-28 lun. 16:18]
:PROPERTIES:
:CUSTOM_ID: 7535169e-715e-409b-88c3-78c4bb482d95
:END:
- State "DONE"       from "TODO"       [2020-12-28 lun. 16:18] \\
  Done in {{{commit(4d7a8207ee0931a157904cc58255d1950fa46178)}}}.
- State "TODO"       from              [2020-12-27 dim. 21:33]
** DONE Assert media files have metadata
CLOSED: [2020-12-28 lun. 14:18]
:PROPERTIES:
:CUSTOM_ID: 8d8a9202-97d4-4c43-b042-15fd5c95da65
:END:
- State "DONE"       from "TODO"       [2020-12-28 lun. 14:18] \\
  Audio done in {{{commit(e07ff2a1928be00bb7f7eb7fc82c8447a581c58f)}}}, and video
  done in {{{commit(9bd53de5a956c34f9ef41695e878bdd4b3df1697}}}.
- State "TODO"       from              [2020-12-27 dim. 22:58]
** DONE Fix play of videos with WebTorrent
CLOSED: [2020-12-28 lun. 19:16]
:PROPERTIES:
:CUSTOM_ID: 9d75fe3a-b7e5-4cc5-9300-1054c7e981c0
:END:
- State "DONE"       from "TODO"       [2020-12-28 lun. 19:16] \\
  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()=:
  #+BEGIN_SRC
  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
  #+END_SRC

  When loading with WebTorrent, Firefox says with =console.error()=:
  #+BEGIN_SRC
  Uncaught Error: XDR encoding failure
  #+END_SRC
- State "TODO"       from              [2020-12-28 lun. 12:44]

Ressurect the WebM file when experimenting with:
: $ git revert 2beab5441b4fcddc849cfc44b99547d49593691d
* Bugs
:PROPERTIES:
:CUSTOM_ID: bugs
:END:
* Improvements
** TODO =dengoso.ly= [0/1]
:PROPERTIES:
:CUSTOM_ID: fd989cc2-b638-4943-8109-b8e3cac0aae1
:END:
- State "TODO"       from              [2021-01-03 dim. 12:44]

- [ ] measures 21~24: map previous notes, removing fingering notation instead of
  repeating notes
** TODO Music sources
:PROPERTIES:
:CUSTOM_ID: 610ed926-cc5e-418a-b046-27f4c4862d0d
:END:
- State "TODO"       from              [2021-01-04 lun. 12:01]

[[https://imslp.org/wiki/Category:Barrios_Mangor%C3%A9,_Agust%C3%ADn][Barrios]] (public domain), [[https://imslp.org/wiki/Category:Villa-Lobos,_Heitor][Villa-Lobos]] (public domain in 2030) and Garoto (public
domain in 2026)
* Questions
** DONE Why insist on having =.ogg= files, but not the same for video?
CLOSED: [2020-12-24 jeu. 20:47]
- State "DONE"       from "TODO"       [2020-12-24 jeu. 20:47]
- State "TODO"       from              [2020-12-24 jeu. 13:19]
Because of subtitle embedding.
* Resources
* Scratch
For bitmat images compression:
- https://github.com/hbldh/hitherdither