Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/capsule into odin

This commit is contained in:
Nathan Fisher 2023-06-05 00:35:03 -04:00
commit 0632fdceab
3 changed files with 14 additions and 1 deletions

View file

@ -8,6 +8,11 @@ build:
upload: build upload: build
rsync -rP public/* nathan@hitchhiker-linux.org:/srv/gemini rsync -rP public/* nathan@hitchhiker-linux.org:/srv/gemini
tinylog:
zond tinylog
zond build
scp public/tinylog.gmi nathan@hitchhiker-linux.org:/srv/gemini/
publish: publish:
echo "$(submit_url)" | eval openssl s_client -connect warmedal.se:1965 -crlf \ echo "$(submit_url)" | eval openssl s_client -connect warmedal.se:1965 -crlf \
-ign_eof -quiet -ign_eof -quiet

View file

@ -15,5 +15,5 @@
Welcome to my capsule. I'm a recovering jack of all trades trying to focus more on software development and music while attempting to stop collecting more hobbies. Welcome to my capsule. I'm a recovering jack of all trades trying to focus more on software development and music while attempting to stop collecting more hobbies.
{% posts %} {% posts %}
=> software Some software I develop => software Some software I develop
=> tinlylog.gmi My Tinylog => tinylog.gmi My Tinylog

View file

@ -14,9 +14,17 @@ Meta(
], ],
) )
--- ---
Some shorter thoughts and updates that might not warrant a full gemlog entry. I'll probably be using this to post updates on my various projects in a much more regular fashion.
=> .. Home
## 2023-06-05 04:25 UTC ## 2023-06-05 04:25 UTC
Rust 1.70 came out this past week. One of the highlights of this release was the stabilization of the OnceCell and OnceLock types. OnceLock in particular is a big deal because it has the potential to replace the `lazy-static` and `once-cell` crates, for those times when you want to have a lazily evaluated static data structure. Rust 1.70 came out this past week. One of the highlights of this release was the stabilization of the OnceCell and OnceLock types. OnceLock in particular is a big deal because it has the potential to replace the `lazy-static` and `once-cell` crates, for those times when you want to have a lazily evaluated static data structure.
I just finished a short while ago changing Zond to use the new interface and so far so good. It's nice and simple, with good documentation. I just finished a short while ago changing Zond to use the new interface and so far so good. It's nice and simple, with good documentation.
## 2023-06-04 22:48 UTC
I wasn't completely happy with how I had previously setup the workflow for this log, so I did a bit more coding to automate things in a better way than before. I created a small Rust crate for working with Tinylogs and incorporated that into Zond. Now, when you type `zond tinylog` with no other arguments, an editor window will pop up for you to type your thoughts. So long as the temporary file thus created is not empty, the text is added as a new post. This also allows the log to contain a header, which was not possible before.
## 2023-06-03 14:58 UTC ## 2023-06-03 14:58 UTC
First tinylog post! First tinylog post!