capsule/content/tinylog.gmi

39 lines
2.3 KiB
Text
Raw Normal View History

2023-06-03 10:58:41 -04:00
Meta(
2023-06-05 00:32:30 -04:00
title: "JeanG3nie\'s Tinylog",
2023-06-03 10:58:41 -04:00
summary: None,
published: Some(Time(
year: 2023,
month: 6,
2023-06-07 16:37:07 -04:00
day: 7,
hour: 20,
minute: 36,
second: 36,
2023-06-03 10:58:41 -04:00
)),
tags: [
"tinylog",
],
)
---
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-07 16:37:07 -04:00
## 2023-06-07 20:36 UTC
Today, after finishing a blog post, I wrote a parser to convert a `&str` to the `Message` struct in Dory. I also added a lot more test coverage, which revealed a few issues to fix.
2023-06-06 15:19:01 -04:00
## 2023-06-06 18:12 UTC
The `sendmsg` binary (using Dory as it's backend) is now able to send Misfin mail to the reference server. This required more debugging skill than it should have due to some issues with both rustls and a compiler issue. Might be good for a full post? Anyway, link to the repository below.
=>https://codeberg.org/jeang3nie/sendmsg
## 2023-06-05 14:55 UTC
Began a proof of concept binary project to test out sending Misfin mail using Dory. I should be able to commence testing for interop in the next couple of days. Watch this space for progress reports.
2023-06-05 00:32:30 -04:00
## 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.
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 10:58:41 -04:00
## 2023-06-03 14:58 UTC
First tinylog post!