From f3e7c8c9d0cd0b10a5a97ead0dad6ed63d6aa5c3 Mon Sep 17 00:00:00 2001 From: la ninpre Date: Thu, 11 Dec 2025 09:40:16 +0300 Subject: day 10: converting to html journal yay more automation! --- build.sh | 5 ++ decadv-2025.html | 245 ++++++++++++++++++++++++++++++++----------------------- newlog.sh | 2 +- 3 files changed, 147 insertions(+), 105 deletions(-) diff --git a/build.sh b/build.sh index bd3b5bc..99db45b 100755 --- a/build.sh +++ b/build.sh @@ -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 @@
  • home
  • -
    -

    december adventure 2025

    -
    -

    december adventure - is a low key thingy by eli oat. the goal is to choose a project - and work on it in a relaxed pace.

    -

    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.

    -

    in particular, i want not only to document each writing - system, but to make a computer font for each one.

    -
    -

    the log

    -
    -

    here will be some log entries, in reverse chronological order.

    -
    - -

    2025-12-09

    -
    -

    +

    la ninpre's december adventure 2025

    +
    +

    december adventure + is a low key thingy by eli oat. the goal is to choose a project + and work on it in a relaxed pace.

    +

    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.

    +

    in particular, i want not only to document each writing + system, but to make a computer font for each one.

    +

    this log is an html journal. here is an atom feed of the log. +

    + +
    +

    2025-12-10

    +
    +

    +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 journal 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 tool 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. +

    +
    +
    +
    +

    2025-12-09

    +
    +

    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. -

    -
    -

    2025-12-08

    -
    -

    +

    +
    +
    +
    +

    2025-12-08

    +
    +

    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. -

    -
    -

    2025-12-07

    -
    -

    +

    +
    +
    +
    +

    2025-12-07

    +
    +

    another one that i've spent with friends. also i've learned about gaussian splatting and it got me attracted. i've tried to make a structure from motion in colmap, 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. -

    -
    -

    2025-12-06

    -
    -

    +

    +
    +
    +
    +

    2025-12-06

    +
    +

    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. -

    -
    -

    2025-12-05

    -
    -

    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. -

    -
    -

    2025-12-04

    -
    -

    no writing systems related stuff today, alas. - but i've worked on improving my websiting experience.

    -

    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.

    -

    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.

    -

    oh, by the way, the repo is available on my git: - site sources.

    -
    -

    2025-12-03

    -
    -

    added pictures for ukarpanghooth script. - i planned to do another one, but didn't manage to find this little trinket i've cut writings on. -

    -
    -

    2025-12-02

    -
    -

    today i mostly tweaked the website. decided to make it look - like acme window in which i'm currently writing this sentence :D

    -

    css is a bit questionable, but i'll tweak it more as i go.

    -

    as a sidenote, it's a bit challenging to work on something while also having - to go to a $dayjob...

    -
    -

    2025-12-01

    -
    -

    started working on ukarpanghooth description. couldn't do images today, sorry...

    -

    also came up with a rough scheme on how to make each font:

    -
      -
    1. draw each glyph and glyph variant (inkscape)
    2. -
    3. save glyphs as individual svg files
    4. -
    5. load glyphs (fontforge)
    6. -
    7. tweak position and size (fontforge)
    8. -
    9. export as ufo (fontforge)
    10. -
    11. add opentype fea
    12. -
    13. compile (fontmake/fontc)
    14. -
    15. test (browser, libreoffice, harfbuzz, pango), looping back to 1-7 as needed
    16. -
    17. verify metadata and upload
    18. -
    -
    -
    +

    + + +
    +

    2025-12-05

    +
    +

    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. +

    +
    +
    +
    +

    2025-12-04

    +
    +

    no writing systems related stuff today, alas. + but i've worked on improving my websiting experience.

    +

    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.

    +

    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.

    +

    oh, by the way, the repo is available on my git: + site sources.

    +
    +
    +
    +

    2025-12-03

    +
    +

    added pictures for ukarpanghooth script. + i planned to do another one, but didn't manage to find this little trinket i've cut writings on. +

    +
    +
    +
    +

    2025-12-02

    +
    +

    today i mostly tweaked the website. decided to make it look + like acme window in which i'm currently writing this sentence :D

    +

    css is a bit questionable, but i'll tweak it more as i go.

    +

    as a sidenote, it's a bit challenging to work on something while also having + to go to a $dayjob...

    +
    +
    +
    +

    2025-12-01

    +
    +

    started working on ukarpanghooth description. couldn't do images today, sorry...

    +

    also came up with a rough scheme on how to make each font:

    +
      +
    1. draw each glyph and glyph variant (inkscape)
    2. +
    3. save glyphs as individual svg files
    4. +
    5. load glyphs (fontforge)
    6. +
    7. tweak position and size (fontforge)
    8. +
    9. export as ufo (fontforge)
    10. +
    11. add opentype fea
    12. +
    13. compile (fontmake/fontc)
    14. +
    15. test (browser, libreoffice, harfbuzz, pango), looping back to 1-7 as needed
    16. +
    17. verify metadata and upload
    18. +
    +
    +
    diff --git a/newlog.sh b/newlog.sh index 8b24c64..e1645c7 100755 --- a/newlog.sh +++ b/newlog.sh @@ -26,7 +26,7 @@ ed "$tmpf" || { ed "$_log_file" << EOF //-t/-->/ -?h3?s/-xx/-$day/g +?h2?s/-xx/-$day/g /

    /r $tmpf w EOF -- cgit v1.2.3