# HG changeset patch # User Richard Westhaver # Date 1718590634 14400 # Node ID 4ee259bdc42acd0eac6f12002739c1cb20951f26 # Parent 812feca5a8747958732603f024b8affa3c3e4409 demo-notes diff -r 812feca5a874 -r 4ee259bdc42a demo-notes.org --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/demo-notes.org Sun Jun 16 22:17:14 2024 -0400 @@ -0,0 +1,41 @@ +* ideas +** use branches for separate levels of expansion +- or perhaps some other VC feature.. although I don't want any + parallel to time, as if expansions occur in sequence. Thus things + like tags don't feel quite right. +* research +for libraries, always prefer [[https://common-lisp-libraries.readthedocs.io/][defacto libs]] +** [[https://github.com/screenshotbot/screenshotbot-oss][screenshotbot-oss]] +- monolithic repo, includes third-party dependencies + - full quicklisp source + - asdf, etc +- addresses many of my concerns about running CL in prod +- the repo is too heavy for my liking though +- I do like the idea of having many systems though +** DB +*** CLIENT +**** [[https://github.com/fukamachi/mito][mito]] +ORM, sqlite, postgres, mysql support +**** [[https://github.com/fukamachi/cl-dbi][cl-dbi]] +database independent interface +**** [[https://github.com/fukamachi/sxql][sxql]] +SQL generator +*** SERVICE +**** [[https://github.com/launchbadge/sqlx][sqlx]] +- supports rustls, tokio +- we should write the service queries using a common-lisp DSL! + #+begin_src toml + sqlx = { version = "0.7", features = [ "runtime-tokio", "tls-rustls", "any", "chrono" ] } + #+end_src +** LOGGING +*** CLIENT +**** [[https://github.com/sharplispers/log4cl/][log4cl]] +supports slime well +*** SERVICE +**** [[https://crates.io/crates/tracing][tracing]] +**** [[https://crates.io/crates/tokio-console][tokio-console]] - monitoring tool +works with tracing using the [[https://crates.io/crates/console-subscriber][console-subscriber]] crate +** UI +[[https://mcclim.common-lisp.dev/][mcclim]] +[[https://slint-ui.com/][slint-ui]] +[[https://github.com/rabbibotton/clog][clog]]