diff options
| author | la ninpre <aaoth@aaoth.xyz> | 2025-12-11 09:40:16 +0300 |
|---|---|---|
| committer | la ninpre <aaoth@aaoth.xyz> | 2025-12-11 09:40:16 +0300 |
| commit | f3e7c8c9d0cd0b10a5a97ead0dad6ed63d6aa5c3 (patch) | |
| tree | 780b9c0f5d2a842abdec24d2eb58b590ebcec62a | |
| parent | a22fbf4e2582d4792dd386f1f679643914659cd0 (diff) | |
| download | aaothxyz-decadv-f3e7c8c9d0cd0b10a5a97ead0dad6ed63d6aa5c3.tar.gz aaothxyz-decadv-f3e7c8c9d0cd0b10a5a97ead0dad6ed63d6aa5c3.zip | |
day 10: converting to html journal
yay more automation!
| -rwxr-xr-x | build.sh | 5 | ||||
| -rw-r--r-- | decadv-2025.html | 245 | ||||
| -rwxr-xr-x | newlog.sh | 2 |
3 files changed, 147 insertions, 105 deletions
@@ -23,4 +23,9 @@ q EOF done +journal="decadv-2025" +[ -x "$(which html-journal)" ] && { + html-journal "${journal}.html" "https://aaoth.xyz/${journal}.html" > dist/"${journal}-atom.xml" +} + rm ./*-inc.htm diff --git a/decadv-2025.html b/decadv-2025.html index 3107e39..55c9840 100644 --- a/decadv-2025.html +++ b/decadv-2025.html @@ -12,36 +12,57 @@ <li><a href="/">home</a></li> </ul> </nav> - <section> - <h1>december adventure 2025</h1> - <div class="win"> - <p><a href="https://eli.li/december-adventure">december adventure</a> - is a <b>low key</b> thingy by eli oat. the goal is to choose a project - and work on it in a relaxed pace.</p> - <p>in this year's decadv i want to work on a project that - i've been postponing for too long now. i'm fascinated - by scripts and writing aystems, both natural and - constructed. over the years i've accumulated a few - writing systems of my own. sadly, i haven't found the - time to document them, but this year i want to try to - change this.</p> - <p>in particular, i want not only to document each writing - system, but to make a computer font for each one.</p> - </div> - <h2 id="log">the log</h2> - <div class="win"> - <p>here will be some log entries, in reverse chronological order.</p> - </div> - <!--newlog - <h3 id="2025-12-xx">2025-12-xx</h3> - <div class="win"> - <p> - </p> - </div> - --> - <h3 id="2025-12-09">2025-12-09</h3> - <div class="win"> - <p> + <h1>la ninpre's december adventure 2025</h1> + <div class="win"> + <p><a href="https://eli.li/december-adventure">december adventure</a> + is a <b>low key</b> thingy by eli oat. the goal is to choose a project + and work on it in a relaxed pace.</p> + <p>in this year's decadv i want to work on a project that + i've been postponing for too long now. i'm fascinated + by scripts and writing aystems, both natural and + constructed. over the years i've accumulated a few + writing systems of my own. sadly, i haven't found the + time to document them, but this year i want to try to + change this.</p> + <p>in particular, i want not only to document each writing + system, but to make a computer font for each one.</p> + <p>this log is an <a href="https://journal.miso.town">html journal</a>. here is an <a href="/decadv-2025-atom.xml">atom feed</a> of the log. + </div> + <!--newlog + <article> + <h2 id="2025-12-xx">2025-12-xx</h3> + <div class="win"> + <p> + </p> + </div> + </article> + --> + <article> + <h2 id="2025-12-10">2025-12-10</h3> + <div class="win"> + <p> +i've seen some posts on the fediverse that reminded me of something. +i refactored the html of this log so that it conforms to +the <a href="https://journal.miso.town/">journal</a> spec +by m15o. this means we can get atom feed for free! +i've also written a library for parsing html journals. why? i don't know, felt like it. +there is already original implementation, and i won't say it's inferior or something, +but i noticed that it behaves a bit differently than is +specified in the format. +i wrote a little <a href="https://git.aaoth.xyz/html-journal">tool</a> that can be used to make a feed from +html journal file. i've added it to my build script. +my library recognizes a subset of html journal formats, +i've tested it on some other people's journals, some of them don't work. +but i think that if it works with my library, it'll work +with the original as well. +anyway, it was fun. + </p> + </div> + </article> + <article> + <h2 id="2025-12-09">2025-12-09</h3> + <div class="win"> + <p> today is a little meta-day. i've added a little script to compose new log entries. see how i said no automation and here i am, writing ed scripts. @@ -52,11 +73,13 @@ every line entered could not be edited with backspace. once i wanted to write my own ed, but with more powerful regexes and with some features borrowed from sam(1), like, for example, ability to forget that line terminators exist and treat text as a one-dimensional array of bytes. but that's for another day maybe. - </p> - </div> - <h3 id="2025-12-08">2025-12-08</h3> - <div class="win"> - <p> + </p> + </div> + </article> + <article> + <h2 id="2025-12-08">2025-12-08</h3> + <div class="win"> + <p> this was a busy day at work, like all mondays are. day before i started automatic reconstruction in colmap, because i figured it would take some time. @@ -66,11 +89,13 @@ i stopped all daemons and closed display server so it could have all power it ne and it finished! but the results are quite roughh and noisy. and it took whooping 46GiB of space! didn't even get close to gaussian splatting. will try that on a lighter dataset. - </p> - </div> - <h3 id="2025-12-07">2025-12-07</h3> - <div class="win"> - <p> + </p> + </div> + </article> + <article> + <h2 id="2025-12-07">2025-12-07</h3> + <div class="win"> + <p> another one that i've spent with friends. also i've learned about <a href="https://en.wikipedia.org/wiki/Gaussian_splatting">gaussian splatting</a> and it got me attracted. i've tried to make a structure from motion in <a href="https://colmap.github.io">colmap</a>, but tinkered with it for a long time without any good results. @@ -79,75 +104,87 @@ we also tried to do our first linocuts. we've figured out how to cut, but not so much how to print, that's a thing to learn. in the evening we went to the swimming pool. i try to add something physical to my life, otherwise it's just computers and work. - </p> - </div> - <h3 id="2025-12-06">2025-12-06</h3> - <div class="win"> - <p> + </p> + </div> + </article> + <article> + <h2 id="2025-12-06">2025-12-06</h3> + <div class="win"> + <p> this day i spent time with friends. we went to a flower market (or a festival, i am not sure how these things are named, flower event). plants were nice, but the place they choose to host such event wasn't fit for it. there were narrow spaces between stands, and there were quite a lot of vizitors, so to see anything or even go through one had to push through people. - </p> - </div> - <h3 id="2025-12-05">2025-12-05</h3> - <div class="win"> - <p>i found the thing! - uploaded the picture of it, as well as inscription of what's been cut there. - been a pretty busy day at work, so that's all for today i guess. - </p> - </div> - <h3 id="2025-12-04">2025-12-04</h3> - <div class="win"> - <p>no writing systems related stuff today, alas. - but i've worked on improving my websiting experience.</p> - <p>i wanted to rebuild this website without any automation - (yeah, this is third time i redo this, but now i literally - write html by hand). - although, i thought, that maybe having cross-links displayed - at the bottom of pages is not that bad. so i added some - shell stuff so these lists could be generated. - i try not to worry too much about how well does it do.</p> - <p>initially, i went with straightforward O(n²) approach - (for each file, for each link, search each file for that link). - but then it occured to me that basically outgoing links, - which are much easier to find can be set as incoming links - to targeting pages.</p> - <p>oh, by the way, the repo is available on my git: - <a href="https://git.aaoth.xyz/aaothxyz-decadv">site sources</a>.</p> - </div> - <h3 id="2025-12-03">2025-12-03</h3> - <div class="win"> - <p>added pictures for <a href="ukarpanghooth.html">ukarpanghooth</a> script. - i planned to do another one, but didn't manage to find this little trinket i've cut writings on. - </p> - </div> - <h3 id="2025-12-02">2025-12-02</h3> - <div class="win"> - <p>today i mostly tweaked the website. decided to make it look - like <a href="http://acme.cat-v.org">acme</a> window in which i'm currently writing this sentence :D</p> - <p>css is a bit questionable, but i'll tweak it more as i go.</p> - <p>as a sidenote, it's a bit challenging to work on something while also having - to go to a $dayjob...</p> - </div> - <h3 id="2025-12-01">2025-12-01</h3> - <div class="win"> - <p>started working on <a href="ukarpanghooth.html">ukarpanghooth</a> description. couldn't do images today, sorry...</p> - <p>also came up with a rough scheme on how to make each font:</p> - <ol> - <li>draw each glyph and glyph variant (inkscape)</li> - <li>save glyphs as individual svg files</li> - <li>load glyphs (fontforge)</li> - <li>tweak position and size (fontforge)</li> - <li>export as ufo (fontforge)</li> - <li>add opentype fea</li> - <li>compile (fontmake/fontc)</li> - <li>test (browser, libreoffice, harfbuzz, pango), looping back to 1-7 as needed</li> - <li>verify metadata and upload</li> - </ol> - </div> - </section> + </p> + </div> + </article> + <article> + <h2 id="2025-12-05">2025-12-05</h3> + <div class="win"> + <p>i found the thing! + uploaded the picture of it, as well as inscription of what's been cut there. + been a pretty busy day at work, so that's all for today i guess. + </p> + </div> + </article> + <article> + <h2 id="2025-12-04">2025-12-04</h3> + <div class="win"> + <p>no writing systems related stuff today, alas. + but i've worked on improving my websiting experience.</p> + <p>i wanted to rebuild this website without any automation + (yeah, this is third time i redo this, but now i literally + write html by hand). + although, i thought, that maybe having cross-links displayed + at the bottom of pages is not that bad. so i added some + shell stuff so these lists could be generated. + i try not to worry too much about how well does it do.</p> + <p>initially, i went with straightforward O(n²) approach + (for each file, for each link, search each file for that link). + but then it occured to me that basically outgoing links, + which are much easier to find can be set as incoming links + to targeting pages.</p> + <p>oh, by the way, the repo is available on my git: + <a href="https://git.aaoth.xyz/aaothxyz-decadv">site sources</a>.</p> + </div> + </article> + <article> + <h2 id="2025-12-03">2025-12-03</h3> + <div class="win"> + <p>added pictures for <a href="ukarpanghooth.html">ukarpanghooth</a> script. + i planned to do another one, but didn't manage to find this little trinket i've cut writings on. + </p> + </div> + </article> + <article> + <h2 id="2025-12-02">2025-12-02</h3> + <div class="win"> + <p>today i mostly tweaked the website. decided to make it look + like <a href="http://acme.cat-v.org">acme</a> window in which i'm currently writing this sentence :D</p> + <p>css is a bit questionable, but i'll tweak it more as i go.</p> + <p>as a sidenote, it's a bit challenging to work on something while also having + to go to a $dayjob...</p> + </div> + </article> + <article> + <h2 id="2025-12-01">2025-12-01</h3> + <div class="win"> + <p>started working on <a href="ukarpanghooth.html">ukarpanghooth</a> description. couldn't do images today, sorry...</p> + <p>also came up with a rough scheme on how to make each font:</p> + <ol> + <li>draw each glyph and glyph variant (inkscape)</li> + <li>save glyphs as individual svg files</li> + <li>load glyphs (fontforge)</li> + <li>tweak position and size (fontforge)</li> + <li>export as ufo (fontforge)</li> + <li>add opentype fea</li> + <li>compile (fontmake/fontc)</li> + <li>test (browser, libreoffice, harfbuzz, pango), looping back to 1-7 as needed</li> + <li>verify metadata and upload</li> + </ol> + </div> + </article> </body> </html> @@ -26,7 +26,7 @@ ed "$tmpf" || { ed "$_log_file" << EOF /<!--newlog/ +,/-->/-t/-->/ -?h3?s/-xx/-$day/g +?h2?s/-xx/-$day/g /<p>/r $tmpf w EOF |
