Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:decadv:2023 [2023/12/09 21:38] – add Dec 9: exceptions, docs, 0.2 rc2 pfmprojects:decadv:2023 [2023/12/30 00:44] (current) – add Dec 29: rust cont. pfm
Line 42: Line 42:
   * Updated admin CLI documentation to include info about ''import'' command and its ''-r'' option.   * Updated admin CLI documentation to include info about ''import'' command and its ''-r'' option.
   * Tagged 0.2 RC2.   * Tagged 0.2 RC2.
 +  * Started working on Rust re-implementation of the Lacre admin's CLI tool. Started by trying to connect to sqlite.
 +
 +===== December 10th =====
 +
 +  * Fixed misbehaviour when Lacre would bounce messages upon database exception. Now we let admin decide if they want cleartext to be delivered.
 +
 +===== December 12th =====
 +
 +  * Experimented with [[https://crates.io/crates/clap|clap]], a Rust //Command Line Argument Parser//. Also learned about [[https://doc.rust-lang.org/rust-by-example/custom_types/constants.html|constants]].
 +
 +===== December 13th =====
 +
 +  * I had a little morning warm-up with Rust. Rust's compiler gives very helpful and detailed error messages!
 +
 +===== December 16th =====
 +
 +  * I've added 3 new configuration parameters to Lacre's config file, controlling database connection pool. (Read more in [[https://docs.sqlalchemy.org/en/20/core/pooling.html#dealing-with-disconnects|Dealing with disconnects]] section of SQLAlchemy documentation.)
 +
 +===== December 17th =====
 +
 +  * Learned more about [[https://docs.python.org/3/library/enum.html|enum]] Python module, then used it in Lacre.
 +  * Provided a configuration parameter in Lacre to choose optimistic or pessimistic handling of database connections.
 +
 +===== December 19th =====
 +
 +  * Added more logging while hunting a bug reported by Muppeth.
 +  * Lacre admin CLI tool: added ''-D'' (''--delete'') option to ''queue'' sub-command.
 +
 +===== December 29th =====
 +
 +  * Continued learning Rust, this time trying to implement a [[wp>Brainfuck]] interpreter.