From: Ruben Beltran del Rio Date: Sun, 10 Mar 2024 11:24:34 +0000 (+0100) Subject: Update files from notes X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/4b678bee90d50050745332a42a375883bf2ec00d?ds=inline;hp=--cc Update files from notes --- 4b678bee90d50050745332a42a375883bf2ec00d diff --git a/.plan b/.plan index bd7ba48..75d9211 100644 --- a/.plan +++ b/.plan @@ -1,11 +1,7 @@ # My plan for now, roughly -- Add the task labeling and rescheduling functionality to nota.nvim +- Package blog and page for fedora, arch, and debian. - [2024-03-03] This is done. Adding scheduling was mostly a matter of text manipulation. Since I only use YYYY-MM-DD it works quite well. If people ever adopt it, I would consider adding flexibility. +- Add gopher functionality (geomyidae) to page. -- Finalize the template parser for blog 7.0.0 - - [2024-03-08] The template parser is finished! I ended up caving and using dependencies for serializing, but mostly to generate a timestamp. Up next will be to generate the archive. I reckon publish and remote will be easy as i use existing tools. - -[2024-03-02] +[2024-03-10] diff --git a/learning.txt b/learning.txt index e46de4e..ea937d7 100644 --- a/learning.txt +++ b/learning.txt @@ -1,3 +1,4 @@ +2024-03-09: I misunderstood how expect() works in rust. In a Result it won't return Err, it'll panic. .map_err() and ok_or_else() are a closer way to offer the same result. 2024-03-06: The definition of the first week in the ISO standard is the one that contains january 4th. 2024-03-06: In lua os.time() if you pass month 13 or month -1, it correctly calculates the next or previous year, so you don't have to manually do that math. 2024-03-03: The string methods in lua are attached to the metatable so you can run them with :, but the table ones aren't so you always need table.method().